/* Integration layer for the 2026 redesign (public/gx/styles.css stays as
   delivered by the designer). Icons, live-store states and small fixes. */

/* Inline SVG icons (lib/gx/icons.js) sized by the icon's font-size */
i[class^="ph"] > svg,i[class*=" ph-"] > svg{display:block;width:1em;height:1em}
[aria-pressed="true"] .ph-heart svg{fill:currentColor}
.card__fav[aria-pressed="true"],.fav-btn[aria-pressed="true"]{color:var(--rose-deep)}

/* Live store states */
.card__badge.is-muted{color:var(--muted)}
.price-was{color:var(--muted);font-weight:400;margin-left:4px}
.price-row .price-was{font-size:15px}
.stock.out{color:var(--muted)}
.stock.out::before{background:var(--muted);box-shadow:none}
.buy-note{font-size:14px;color:var(--ink-2)}
.form-msg{font-size:14px;min-height:20px;color:var(--ink-2)}
.form-msg.is-err{color:#c4302b}
.btn[disabled]{opacity:.55;pointer-events:none}

/* Mobile menu: language buttons */
.mobile-langs{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0 4px}
.mobile-langs button{height:34px;min-width:44px;padding:0 10px;border-radius:999px;border:1.5px solid var(--line);font-size:13px;font-weight:600}
.mobile-langs button[aria-current="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}

/* Account page */
.account{display:grid;grid-template-columns:260px 1fr;gap:clamp(32px,5vw,72px);align-items:start;padding-bottom:16px}
.account__nav{display:grid;gap:4px;position:sticky;top:calc(var(--header-h) + 24px)}
.account__nav button,.account__nav a{display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border-radius:10px;font-weight:500;text-align:left}
.account__nav button.is-on{background:var(--card)}
.account__nav button:hover,.account__nav a:hover{background:var(--card)}
.account__nav i{font-size:19px}
.account__panel[hidden]{display:none}
.orders{display:grid;gap:12px}
.order{border:1px solid var(--line);padding:18px 20px;display:grid;gap:8px}
.order__top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-weight:600}
.order__meta{color:var(--muted);font-size:14px}
.order__items{font-size:14px;color:var(--ink-2)}
.pill.is-ok{background:#e7f3ec;color:var(--ok)}

/* Track order results */
.track-items{display:grid;gap:6px;font-size:14px;color:var(--ink-2);margin-top:6px}
.track-history{display:grid;gap:4px;font-size:13px;color:var(--muted);margin-top:8px}

/* Blog cards (articles from the content database) */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 12px}
.post{display:flex;flex-direction:column;gap:10px}
.post__img{aspect-ratio:4/3;overflow:hidden;background:var(--card)}
.post__img img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.post:hover .post__img img{transform:scale(1.03)}
.post__cat{font-size:13px;font-weight:500;color:var(--rose-deep)}
.post h3{font-size:20px;font-weight:500;line-height:1.25}
.post p{color:var(--muted);font-size:15px}
.article{max-width:760px;margin:0 auto}
.article__hero{aspect-ratio:16/9;overflow:hidden;background:var(--card);margin:24px 0 32px}
.article__hero img{width:100%;height:100%;object-fit:cover}
.article .prose h2{font-size:24px}
.article .prose h3{font-size:19px;font-weight:600;color:var(--ink);margin:24px 0 8px}
.article .prose img{margin:20px 0;max-width:100%;height:auto}
.article .prose ol{margin:0 0 14px 20px;display:grid;gap:4px}
.article .prose blockquote{border-left:3px solid var(--rose);padding-left:16px;color:var(--ink);margin:16px 0}
@media (max-width:960px){
  .posts{grid-template-columns:repeat(2,1fr)}
  .account{grid-template-columns:1fr}
  .account__nav{position:static;grid-auto-flow:column;overflow-x:auto}
}
@media (max-width:640px){
  .posts{grid-template-columns:1fr}
}

/* 404 */
.nf{display:grid;justify-items:center;text-align:center;gap:14px;padding:clamp(48px,10vw,140px) var(--pad)}
.nf .h-xl{font-size:clamp(72px,14vw,180px)}
.nf p{color:var(--ink-2);max-width:46ch}
.nf .hero__ctas{justify-content:center;margin-top:8px}

@media (max-width:640px){.buy-actions--full{grid-template-columns:1fr}}

/* Owner feedback: headlines in GAXEL pink; buttons and surfaces stay neutral
   (Nike / Lululemon style). */
:root{--headline:#BB6E93;--plum:#5D3045}
.display,.h-xl,.h-lg,.feature__title,.channel-card h2,.about-quote,.auth__box h1,.co-main h1,.nf .h-xl{color:var(--headline)!important}
.h-md,.plp-hero h1,.buybox h1,.step h3,.who h3,.why h3,.why-grid h3,.traits h3,.highlights h3,.contact__info h3,.summary h2,.drawer__head h3,.modal__body h2,.post h3,.footer h5{color:var(--plum)}
.hero__kicker,.story__kicker,.feature__kicker,.kicker{color:var(--rose-deep)}

/* Our Story: split hero so the founder's portrait is shown whole */
.about-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(24px,5vw,80px);max-width:var(--wrap);margin:0 auto;padding:clamp(24px,4vw,56px) var(--pad)}
.about-hero__text{display:grid;gap:16px}
.about-hero__text .h-xl{font-size:clamp(44px,6vw,92px)}
.about-hero__text p:not(.kicker){font-size:clamp(17px,1.4vw,20px);color:var(--ink-2);max-width:46ch}
.about-hero__text b{color:var(--plum)}
.about-hero__img{overflow:hidden;background:var(--card)}
.about-hero__img img{width:100%;aspect-ratio:4/5;max-height:760px;object-fit:cover;object-position:center 20%}
@media (max-width:960px){
  .about-hero{grid-template-columns:1fr}
  .about-hero__img{order:-1}
}
.compare{overflow-x:auto!important}.modal__box{overflow:auto!important}

/* Colour swatches on cards are buttons (switch colour in place) */
button.dot{border:0;padding:0;cursor:pointer;font:inherit}
.drawer:focus,.search:focus{outline:none}
.card__swatches{padding:4px 4px 4px 3px}

/* ---------- Country / region welcome (first visit) ---------- */
.region{position:fixed;inset:0;z-index:130;display:grid;place-items:center;padding:16px;background:rgba(32,20,28,.45);backdrop-filter:blur(6px);animation:rgIn .35s ease}
.region[hidden]{display:none}
@keyframes rgIn{from{opacity:0}to{opacity:1}}
.region__card{position:relative;width:min(440px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 40px 90px -30px rgba(0,0,0,.45);animation:rgUp .45s cubic-bezier(.2,.8,.2,1)}
@keyframes rgUp{from{transform:translateY(18px) scale(.98);opacity:0}to{transform:none;opacity:1}}
.region__top{position:relative;height:132px;display:grid;place-items:center;align-content:center;gap:10px;background:linear-gradient(135deg,#F6D3E2 0%,#EAD7F2 55%,#FBE6D4 100%);overflow:hidden}
.region__top::after{content:"";position:absolute;inset:auto -40px -60px auto;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.35)}
.region__logo{height:22px;width:auto;position:relative;z-index:1}
.region__hello{position:relative;z-index:1;height:30px;overflow:hidden;margin:0;font:800 24px/30px var(--display,inherit);letter-spacing:-.01em;color:var(--headline,#BB6E93);text-align:center}
.region__hello span{display:block;animation:rgHello 12s infinite}
@keyframes rgHello{0%,13%{transform:translateY(0)}16.6%,29.6%{transform:translateY(-30px)}33.3%,46.3%{transform:translateY(-60px)}50%,63%{transform:translateY(-90px)}66.6%,79.6%{transform:translateY(-120px)}83.3%,96.3%{transform:translateY(-150px)}100%{transform:translateY(0)}}
.region__x{position:absolute;top:10px;right:10px;z-index:2;background:rgba(255,255,255,.7)}
.region__body{padding:22px 24px 24px;display:grid;gap:10px}
.region__body h2{margin:0;font-size:22px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.region__body .muted{margin:0 0 6px;font-size:14px}
.region__label{margin:6px 0 0;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#71717a)}
.region__select{position:relative;display:flex;align-items:center}
.region__select > i{position:absolute;display:grid;place-items:center;pointer-events:none;color:var(--muted,#71717a);font-size:18px}
.region__select > i svg{width:18px;height:18px}
.region__select > i:first-child{left:14px}
.region__select > i:last-child{right:14px}
.region__select > i:last-child svg{width:14px;height:14px}
.region__select select{width:100%;appearance:none;-webkit-appearance:none;border:1px solid var(--line);border-radius:12px;background:#fff;padding:13px 38px 13px 42px;font:inherit;font-size:15px;color:var(--ink);cursor:pointer}
.region__select select:focus{outline:none;border-color:var(--ink)}
.region__langs{display:flex;flex-wrap:wrap;gap:8px}
.region__langs button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 14px;font:inherit;font-size:14px;color:var(--ink);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.region__langs button:hover{border-color:var(--ink)}
.region__langs button[aria-checked="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.region__note{margin:4px 0 0;padding:10px 12px;border-radius:10px;background:var(--card,#f6f6f6);font-size:13px;color:var(--ink-2,#52525b);line-height:1.45}
.region__go{width:100%;margin-top:6px}
.lang__region{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);margin-top:4px;padding-top:11px!important;color:var(--muted,#71717a)!important}
.lang__region i,.lang__region svg{width:16px;height:16px;display:inline-grid}
@media (prefers-reduced-motion:reduce){.region,.region__card,.region__hello span{animation:none}}
/* Product thumbnails: whole photo, less padding so landscape shots are not tiny */
.thumbs button img:not(.cover){padding:3%}
/* Studio photos in the product gallery: whole picture, soft edges, box painted
   with the photo's own background colour by the product script. */
.stage:has(img.photo.is-on){transition:background .3s}
.stage img.photo{position:absolute;inset:0;margin:auto;width:auto;height:auto;max-width:100%;max-height:100%;padding:0;object-fit:contain;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent);mask-composite:intersect}
.thumbs button:has(img.photo){position:relative}
.thumbs button img.photo{position:absolute;inset:0;margin:auto;width:auto;height:auto;max-width:100%;max-height:100%;padding:0;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}
.thumbs button img.photo.is-land{-webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent),linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent);mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent),linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent)}
.thumbs button img.photo.is-port{-webkit-mask-image:linear-gradient(to right,transparent,#000 22%,#000 78%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(to right,transparent,#000 22%,#000 78%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 96%,transparent)}
.stage img.photo.is-land{-webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent)}

/* Brand type: titles in Georgia, body text in Aptos (self-hosted in app/globals.css). */
:root{--display:Georgia,"Times New Roman",serif;--serif:Georgia,"Times New Roman",serif;--body:"Aptos","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif}
.gx-root :is(h1,h2,h3,h4,h5,h6),.display,.h-xl,.h-lg,.h-md{font-family:var(--display);font-stretch:normal}
.display,.h-xl,.h-lg{font-weight:700;letter-spacing:-.01em;line-height:.95}

/* #GaxelPadel: two campaign posts, shown whole (4:5) */
.ugc-duo{max-width:940px;margin-inline:auto}
.ugc-duo .ugc{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:600px){.ugc-duo .ugc{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72%;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;scrollbar-width:none}.ugc-duo .ugc a{scroll-snap-align:start}}
.ugc-duo .ugc a{aspect-ratio:4/5}

/* Story: brand collage (portrait, group photo, portrait) on a soft blush band,
   text centred below with a calmer title size */
.story--home{padding-top:clamp(48px,6vw,88px);background:var(--rose-soft,#F9EEF2)}
.story__collage{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.78fr) minmax(0,.75fr);gap:clamp(10px,1.2vw,18px);align-items:stretch}
.story__collage > div{overflow:hidden;background:var(--card)}
.story__collage img{width:100%;height:100%;object-fit:cover}
.story__collage .story__img{height:auto;width:auto;max-width:none;margin:0;aspect-ratio:16/9}
.story__side img{object-position:center 20%}
@media (max-width:760px){
  .story__collage{grid-template-columns:1fr}
  .story__side{display:none}
}
.story--home .story__text .h-lg{font-size:clamp(28px,3vw,44px);line-height:1.05}


/* Shop by Player: keep faces in frame, and show all three tiles whole on tablets
   and narrow windows (the swipe carousel only on phones). */
.tile img{object-position:center 15%}
@media (min-width:561px) and (max-width:960px){
  .tiles{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-columns:auto;overflow:visible;margin:0;padding:0}
  .tile__btn{left:12px;bottom:12px;height:34px;padding:0 14px;font-size:13px}
}

/* Hero video: full width at its real 16:9 shape, never cropped (no heads cut, no
   side bars). On short screens the bottom of the film sits just below the fold. */
.vhero__media{width:100%;max-height:none;aspect-ratio:16/9}
.vhero__media video{object-fit:cover}
/* "Tap for sound" sits bottom-left so it never covers the film's titles */
.vhero__unmute{left:clamp(14px,2vw,28px);top:auto;bottom:clamp(14px,2vw,28px);transform:none;height:46px;animation:pulse-corner 2.2s ease-in-out infinite}
@keyframes pulse-corner{50%{transform:scale(1.04)}}
/* Keep the video buttons inside the first screen even when the film runs past the fold */
.vhero__ctrls,.vhero__unmute{bottom:max(clamp(14px,2vw,28px), calc(100% - 100svh + 106px + 28px))}

/* Hero title: sized so "Through Sport" always fits in Georgia, plus an entrance:
   each word rises out of a mask, then a soft pink shine sweeps across once. */
.vhero__text .h-xl{font-size:clamp(40px,7.4vw,112px);line-height:1;max-width:100%}
.hero-anim .w{display:inline-block;overflow:hidden;vertical-align:top;padding:.04em .02em .1em;margin:-.04em 0 -.1em}
.hero-anim .w > span{display:inline-block;transform:translateY(105%);
  background:linear-gradient(100deg,currentColor 0 42%,#f6c9dc 50%,currentColor 58% 100%) 100% 0/260% 100% no-repeat;
  -webkit-background-clip:text;background-clip:text}
.hero-anim .hero__kicker,.hero-anim > p:not(.hero__kicker),.hero-anim .hero__ctas{opacity:0;transform:translateY(16px)}
.hero-anim.is-in .w > span{animation:hero-rise 1s cubic-bezier(.2,.8,.2,1) forwards,hero-shine 1.6s ease-in-out 1.3s}
.hero-anim.is-in .w:nth-of-type(2) > span{animation-delay:.12s,1.42s}
.hero-anim.is-in .w:nth-of-type(3) > span{animation-delay:.24s,1.54s}
.hero-anim.is-in .hero__kicker{animation:hero-fade .8s ease forwards}
.hero-anim.is-in > p:not(.hero__kicker){animation:hero-fade .8s ease .55s forwards}
.hero-anim.is-in .hero__ctas{animation:hero-fade .8s ease .75s forwards}
@keyframes hero-rise{to{transform:none}}
@keyframes hero-shine{0%{-webkit-text-fill-color:transparent;background-position:100% 0}100%{-webkit-text-fill-color:transparent;background-position:0 0}}
@keyframes hero-fade{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .hero-anim .w > span,.hero-anim .hero__kicker,.hero-anim > p:not(.hero__kicker),.hero-anim .hero__ctas{transform:none;opacity:1;animation:none!important}
}

/* Phones/tablets: the gallery is a swipe strip, so studio photos stay in the flow
   (the absolute centring above is for the desktop stage only). */
@media (max-width:960px){
  .stage img.photo,.stage img.photo.is-land{position:static;inset:auto;margin:0;width:100%;height:auto;max-width:none;max-height:none;aspect-ratio:4/5;object-fit:contain;-webkit-mask-image:none;mask-image:none}
}

/* Blog "coming soon" form: the status line wraps under the field instead of
   squashing the input and button into thin bars. */
.soon form{flex-wrap:wrap;justify-content:center}
.soon input{flex:1 1 auto;min-width:200px;height:48px}
.soon form .btn{flex:none;height:48px}
@media (max-width:600px){.soon input{flex:none;width:100%;min-width:0}.soon form .btn{width:100%}}

/* Georgia is much wider than the condensed face these headings were sized for,
   so big titles get scaled down to keep them to two or three lines. */
.h-lg{font-size:clamp(30px,4vw,58px)}
.h-xl{font-size:clamp(44px,7vw,108px)}
.about-quote{font-size:clamp(28px,3.6vw,52px)}
.about-intro .h-lg,.split .h-lg{font-size:clamp(28px,3.2vw,46px)}

/* About: the green-dress photo keeps her face in frame; the "moments" cards
   stand out from the grey section. */
.story:not(.story--home) .story__img img{object-position:center 12%}
.moments div{background:#fff}

/* Gaxel Channel: the three racket ads */
.ads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px}
.ad{margin:0;display:grid;gap:10px}
.ad video{width:100%;aspect-ratio:4/5;object-fit:cover;background:#000;display:block}
.ad figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:15px}
.ad figcaption span{font-family:var(--display);font-weight:700;color:var(--headline)}
@media (max-width:700px){.ads{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;scrollbar-width:none}.ad{scroll-snap-align:start}}
