/* =========================================================
   CreatinePro — homepage styles
   1. Tokens  2. Base  3. Components  4. Header  5. Hero
   6. Sections  7. Overlays  8. Responsive  9. Motion
   ========================================================= */

/* 1. Tokens ------------------------------------------------ */
:root {
  --bg: #07080A;
  --bg-2: #0C0D10;
  --surface: #111317;
  --surface-2: #171A1F;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F5F6F7;
  --text-2: #DADDE2;
  --muted: #9EA5B0;
  --accent: #14A9F2;          /* electric cyan — buttons, active states */
  --accent-hover: #3BB9F7;
  --accent-ink: #03121D;
  --blue: #1D63F2;            /* deeper end of the accent gradient */
  --grad: linear-gradient(100deg, #1C5CF0 0%, #168EF6 55%, #14B2F5 100%);
  --display: "Montserrat", "Arial Black", sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1760px;
  --gut: clamp(20px, 5.6vw, 96px);
  --strip-h: clamp(40px, 3.2vw, 56px);
  --header-h: clamp(72px, 5.66vw, 100px);
  --radius: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

/* 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 22px; height: 22px; flex-shrink: 0; }

/* 3. Components -------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 18px; font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-2); }
.eyebrow::after { content: ""; width: 72px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.08)); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.015em; margin-top: 16px; }
.lead { font-size: 17px; color: var(--muted); max-width: 520px; }
.lead strong { color: var(--text); font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 60px; padding: 0 28px; border-radius: var(--radius); font-weight: 700; font-size: 17px; letter-spacing: -.005em; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn .ic { width: 22px; height: 22px; }
.btn .arrow { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { background: #22313B; color: #7D8B96; cursor: not-allowed; }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, .78); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--bg); border-color: #fff; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.text-btn, .link-btn { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.25); transition: color .15s; }
.text-btn:hover, .link-btn:hover { color: var(--text); }
.link-btn { text-decoration: none; text-align: left; }

.icon-btn { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; position: relative; color: var(--text); transition: background-color .15s, color .15s; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); }
.count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.count.bump { transform: scale(1.3); }

.lang { display: flex; align-items: center; gap: 8px; color: #4C525C; font-size: 15px; }
.lang button { font-weight: 600; font-size: clamp(15px, 1.03vw, 18px); letter-spacing: .02em; color: var(--text-2); padding: 6px 2px; transition: color .15s; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { color: var(--accent); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-bolt { width: clamp(26px, 2.15vw, 38px); height: clamp(35px, 2.9vw, 51px); }
.logo-word { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(23px, 1.8vw, 32px); letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.logo-word b { font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

/* 4. Header ------------------------------------------------ */
.strip { height: var(--strip-h); background: var(--bg-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.strip-list { display: flex; align-items: center; }
.strip-list li { display: flex; align-items: center; gap: 12px; padding: 0 clamp(24px, 2.6vw, 46px); font-size: clamp(13.5px, .9vw, 15.5px); color: var(--text-2); white-space: nowrap; }
.strip-list li + li { border-left: 1px solid var(--line-2); }
.strip .ic { width: clamp(20px, 1.5vw, 26px); height: clamp(20px, 1.5vw, 26px); color: var(--text-2); }
.strip .ic-accent { color: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 8, 10, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; }
.main-nav { margin-left: clamp(40px, 6vw, 112px); }
.main-nav > ul { display: flex; align-items: center; gap: clamp(20px, 2.75vw, 48px); }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: var(--header-h); font-weight: 600; font-size: clamp(15px, 1.03vw, 18px); color: var(--text); transition: color .15s; }
.nav-link::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: calc(var(--header-h) * .27); height: 2.5px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link:not(.is-active):hover::after { background: rgba(255, 255, 255, .4); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.dropdown { position: absolute; top: calc(100% - 12px); left: -18px; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .8); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 8px; font-weight: 500; font-size: 15px; color: var(--text-2); }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; }
.dropdown .sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }

.header-tools { margin-left: auto; margin-right: calc(var(--gut) * -.22); display: flex; align-items: center; gap: clamp(8px, 1vw, 16px); }
.header-tools .icon-btn .ic { width: clamp(22px, 1.5vw, 26px); height: clamp(22px, 1.5vw, 26px); }
.search { position: relative; width: clamp(220px, 16.5vw, 300px); margin-right: clamp(8px, 1.6vw, 30px); }
.search input { width: 100%; height: 48px; border-radius: 99px; background: #0B0C0F; border: 1px solid #2A2E35; padding: 0 18px 0 50px; font-size: 15px; transition: border-color .15s, background-color .15s; }
.search input::placeholder { color: #8A919C; }
.search input:hover { border-color: #3A3F48; }
.search input:focus { outline: none; border-color: var(--accent); background: #0E1013; }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.search-ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; color: var(--text-2); pointer-events: none; }
.search-close, .search-open, .menu-btn { display: none; }
.search-results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; min-width: 320px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .85); z-index: 5; }
.result { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 10px; text-align: left; }
.result:hover, .result[aria-selected="true"] { background: rgba(255, 255, 255, .06); }
.result .th { width: 40px; height: 48px; display: grid; place-items: center; flex-shrink: 0; }
.result .th img { max-height: 48px; width: auto; }
.result b { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.result small { color: var(--muted); font-size: 12.5px; }
.no-results { padding: 18px 12px; color: var(--muted); font-size: 14px; text-align: center; }
.divider { width: 1px; height: 36px; background: var(--line-2); margin: 0 12px 0 10px; }

/* 5. Hero -------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); height: clamp(600px, calc(100svh - var(--strip-h) - var(--header-h)), 820px); display: flex; align-items: center; }
.hero-media { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 992 / 791; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 8, 10, .7) 9%, rgba(7, 8, 10, 0) 26%); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 10, 0) 16%); }
.hero-in { position: relative; }
.hero-copy { max-width: 760px; padding-left: 14px; margin-top: -40px; }
.eyebrow-hero { font-size: clamp(13px, 1.02vw, 16px); letter-spacing: .34em; margin-left: 12px; color: #E9EBEE; }
.eyebrow-hero::after { width: clamp(60px, 5.5vw, 92px); }
.hero-title { margin-top: clamp(22px, 2.4vw, 38px); font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 6.55vw, 124px); line-height: .95; letter-spacing: -.012em; }
.hero-title span { display: block; }
.hero-title .l1 { color: #fff; }
.hero-title .l2 { width: max-content; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .12em; margin-right: -.12em; }
.hero-text { margin-top: clamp(20px, 2.1vw, 36px); font-size: clamp(18px, 1.36vw, 23px); line-height: 1.45; color: #ECEEF1; max-width: 36em; }
.hero-text span { display: block; }
.hero-ctas { display: flex; gap: 20px; margin-top: clamp(30px, 2.9vw, 50px); }
.hero-ctas .btn .ic { width: clamp(22px, 1.6vw, 28px); height: clamp(22px, 1.6vw, 28px); }
.hero-ctas .btn .arrow { width: 22px; height: 22px; }
.hero-ctas .btn { height: clamp(58px, 4.2vw, 70px); font-size: clamp(16px, 1.2vw, 19px); }
.hero-ctas .btn-primary { min-width: clamp(240px, 17.5vw, 292px); }
.hero-ctas .btn-outline { min-width: clamp(220px, 15.4vw, 258px); }

/* 6. Sections ---------------------------------------------- */
.section { padding: clamp(72px, 7vw, 112px) 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }

/* A. Categories — editorial index + live product stage */
.cats { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.cats-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.cats-head .lead { margin-top: 18px; }
.cat-list { margin-top: 44px; border-top: 1px solid var(--line); counter-reset: cat; }
.cat-row { border-bottom: 1px solid var(--line); }
.cat-row a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding: 26px 4px; transition: padding .3s var(--ease); }
.cat-row .idx { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-row .name { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 2.6vw, 42px); line-height: 1; letter-spacing: -.02em; color: #5E646E; transition: color .25s; }
.cat-row .sub { display: block; margin-top: 10px; font-family: var(--ui); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.cat-row .meta { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.cat-row .go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .2s, border-color .2s, color .2s; }
.cat-row .go .ic { width: 20px; height: 20px; }
.cat-row .thumb { display: none; }
.cat-row.is-active .name, .cat-row a:hover .name, .cat-row a:focus-visible .name { color: #fff; }
.cat-row.is-active a { padding-left: 14px; }
.cat-row.is-active .go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.cat-stage { position: relative; aspect-ratio: 1 / .82; border-radius: 4px; overflow: hidden; background:
  radial-gradient(70% 60% at 50% 62%, #262B33 0%, rgba(38, 43, 51, 0) 70%),
  linear-gradient(180deg, #121419 0%, #0B0C0F 100%); }
.cat-stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, #16191E, #0E1013); border-top: 1px solid rgba(255, 255, 255, .07); }
.cat-scene { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 2%; padding: 0 6% 11%; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.cat-scene.is-on { opacity: 1; transform: none; }
.cat-scene img { height: auto; filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .6)); }
.cat-scene[data-c="creatine"] img:nth-child(1) { width: 46%; }
.cat-scene[data-c="creatine"] img:nth-child(2) { width: 43%; margin-left: -6%; position: relative; }
.cat-scene[data-c="protein"] img { width: 50%; }
.cat-scene[data-c="accessories"] img { width: 50%; }
.cat-stage .label { position: absolute; left: 24px; top: 22px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* B. Products */
.products { background: var(--bg-2); }
.filters { display: flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; }
.filter { height: 40px; padding: 0 18px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background-color .15s, color .15s; white-space: nowrap; }
.filter:hover { color: #fff; }
.filter[aria-selected="true"] { background: var(--text); color: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); }
.card.flash { border-color: var(--accent); }
.card-media { position: relative; aspect-ratio: 1 / 1.02; display: grid; place-items: center; background: radial-gradient(65% 55% at 50% 58%, #272C34 0%, rgba(39, 44, 52, 0) 72%), #0F1114; overflow: hidden; }
.card-media img { width: auto; height: 76%; max-width: 74%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease), opacity .3s; }
.card:hover .card-media img { transform: scale(1.04) translateY(-4px); }
.card-media img.swapping { opacity: 0; }
.card-brand { position: absolute; left: 16px; top: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.card-title { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.22; letter-spacing: -.01em; }
.card-details { font-size: 14px; color: var(--muted); }
.swatches { display: flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.swatch i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .25); transition: transform .15s; }
.swatch:hover i { transform: scale(1.15); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 1.5px var(--c); }
.swatch-name { font-size: 13px; color: var(--text-2); margin-left: 4px; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.price-tbd { font-size: 13.5px; color: var(--muted); }
.add-btn { height: 46px; border-radius: var(--radius); border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background-color .15s, border-color .15s, color .15s; }
.add-btn .ic { width: 18px; height: 18px; }
.add-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.add-btn.done { background: #1E2A22; border-color: #2F6B45; color: #9BE3B5; }

/* C. Bundle */
.bundle { background: var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
.bundle::before { content: ""; position: absolute; right: -12%; top: 10%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(20, 169, 242, .09), transparent 70%); pointer-events: none; }
.bundle-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 110px); align-items: center; position: relative; }
.bundle-offer { display: flex; align-items: baseline; gap: 18px; margin: 30px 0 22px; font-family: var(--display); font-style: italic; font-weight: 900; line-height: .9; }
.bundle-offer .n { font-size: clamp(72px, 7vw, 116px); color: #fff; }
.bundle-offer .x { font-size: clamp(40px, 3.6vw, 60px); color: #4B515B; font-style: normal; font-weight: 700; }
.bundle-offer .pct { font-size: clamp(72px, 7vw, 116px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.bundle-steps { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); max-width: 480px; }
.bundle-steps li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.bundle-steps .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; color: var(--muted); flex-shrink: 0; }
.fine { margin-top: 18px; font-size: 13.5px; color: var(--muted); max-width: 480px; }

.builder { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 2.4vw, 36px); outline: none; }
.builder:focus-visible { border-color: var(--accent); }
.tray { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.slot { position: relative; aspect-ratio: 1 / 1.06; border-radius: 4px; border: 1.5px dashed #2F343C; background: #0C0E11; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 10px 16px; text-align: center; transition: border-color .25s, background-color .25s; }
.slot .num { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6B727D; }
.slot .plus { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: #6B727D; }
.slot .plus .ic { width: 20px; height: 20px; }
.slot.filled { border-style: solid; border-color: #2D3540; background: radial-gradient(70% 60% at 50% 55%, #232831, #0E1013 75%); }
.slot.filled img { height: 64%; width: auto; max-width: 80%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .55)); animation: drop .45s var(--ease); }
.slot .sname { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--text-2); }
.slot .rm { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: var(--muted); }
.slot .rm:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.slot .rm .ic { width: 15px; height: 15px; }
.builder.complete .slot.filled { border-color: rgba(20, 169, 242, .55); }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.builder-status { margin-top: 22px; display: flex; align-items: center; gap: 16px; }
.meter { flex: 1; height: 4px; border-radius: 4px; background: #23272E; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.builder-status p { font-size: 14.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.builder.complete .builder-status p { color: var(--accent); }
.pick-label { margin-top: 26px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pick-list { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pick { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 12px; border-radius: 4px; border: 1px solid var(--line); background: #0E1013; text-align: center; transition: border-color .15s, background-color .15s; }
.pick:hover:not(:disabled) { border-color: var(--line-2); background: #14171B; }
.pick:disabled { opacity: .4; cursor: not-allowed; }
.pick img { height: 58px; width: auto; object-fit: contain; }
.pick span { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--text-2); }
.builder-actions { margin-top: 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* D. Flavours */
.flavours { background: var(--bg-2); border-top: 1px solid var(--line); }
.flavour-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flv { position: relative; display: flex; flex-direction: column; align-items: center; padding: 40px 18px 26px; border-left: 1px solid var(--line); overflow: hidden; }
.flv:first-child { border-left: 0; }
.flv::before { content: ""; position: absolute; left: 50%; top: 42%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 26%, transparent), transparent); opacity: 0; transition: opacity .4s; }
.flv:hover::before, .flv:focus-within::before { opacity: 1; }
.flv img { position: relative; width: 78%; max-width: 230px; height: auto; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .6)); transition: transform .5s var(--ease); }
.flv:hover img { transform: translateY(-8px) rotate(-1.5deg); }
.flv-meta { position: relative; width: 100%; margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.flv-name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; }
.flv-name i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.flv-add { height: 38px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: background-color .15s, border-color .15s, color .15s; }
.flv-add .ic { width: 16px; height: 16px; }
.flv-add:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* How to order */
.how { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0; }
.how-in { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.how-title { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.how-steps li { display: flex; gap: 18px; }
.how-steps .num { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; color: var(--accent); line-height: 1.2; }
.how-steps h3 { font-size: 17px; font-weight: 700; }
.how-steps p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 340px; }
.footer-col h3 { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col .link-btn { font-size: 15px; font-weight: 400; color: var(--text-2); transition: color .15s; }
.footer-col a:hover, .footer-col .link-btn:hover { color: var(--accent); }
.lang-footer { gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 99px; width: max-content; }
.lang-footer button { padding: 7px 14px; border-radius: 99px; font-size: 14px; letter-spacing: 0; }
.lang-footer button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.footer-facts { margin-top: 22px; }
.footer-facts li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.footer-facts .ic { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: #7D8490; }

/* 7. Overlays ---------------------------------------------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(3, 4, 6, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.cart { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); z-index: 90; background: var(--bg-2); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; animation: slide .4s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.cart-head { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 14px 0 24px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-family: var(--display); font-weight: 800; font-size: 22px; }
.cart-head small { font-family: var(--ui); font-weight: 500; font-size: 14px; color: var(--muted); margin-left: 6px; }
.cart-body { flex: 1; overflow: auto; padding: 6px 24px; }
.cart-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--muted); text-align: center; }
.cart-empty .ic { width: 40px; height: 40px; color: #4B515B; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .th { width: 64px; height: 72px; display: grid; place-items: center; background: #101215; border-radius: 4px; }
.line .th img { max-height: 60px; max-width: 52px; width: auto; }
.line b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.line small { color: var(--muted); font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 99px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: #fff; }
.qty .ic { width: 15px; height: 15px; }
.qty span { min-width: 20px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart-note { font-size: 13.5px; color: var(--text-2); padding: 12px 14px; border-radius: 6px; background: #0F1A22; border: 1px solid rgba(20, 169, 242, .25); }
.cart-note.muted { background: transparent; border-color: var(--line); color: var(--muted); }
.cart-foot .btn { width: 100%; }
.cart-foot .fine { margin: 0; text-align: center; }

/* Mobile menu styles live in mobile.css (full-screen menu). */

.dialog { margin: auto; width: min(460px, calc(100% - 32px)); background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 28px; }
.dialog::backdrop { background: rgba(3, 4, 6, .65); }
.dialog h2 { font-family: var(--display); font-weight: 800; font-size: 22px; }
.dialog p { margin-top: 12px; color: var(--text-2); font-size: 15px; }
.dialog-actions { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--text); color: var(--bg); padding: 13px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 600; max-width: calc(100% - 32px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); transition: transform .35s var(--ease), visibility .35s; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* 8. Responsive -------------------------------------------- */
@media (min-width: 2200px) {
  :root { --wrap: 1880px; }
  .hero { height: clamp(760px, calc(100svh - var(--strip-h) - var(--header-h)), 960px); }
}
@media (max-width: 1280px) {
  .main-nav { margin-left: 40px; }
  .search { width: 210px; margin-right: 6px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flavour-row { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: thin; }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .main-nav, .divider { display: none; }
  .menu-btn { display: grid; margin-left: -10px; margin-right: 8px; }
  .header-tools { gap: 4px; }
  .search { display: none; }
  .search-open { display: grid; }
  .header-tools .lang { display: none; }
  .strip-list li { padding: 0 22px; font-size: 13.5px; }
  .hero { height: auto; min-height: 0; display: block; padding: 0; }
  .hero-media { position: relative; height: auto; width: 100%; aspect-ratio: 16 / 10; }
  .hero-media img { object-position: 62% 50%; }
  .hero-media::before { background: linear-gradient(90deg, rgba(7, 8, 10, .55) 0%, rgba(7, 8, 10, 0) 30%); }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 10, .85) 14%, rgba(7, 8, 10, 0) 42%); }
  .hero-in { margin-top: -96px; padding-bottom: 72px; }
  .hero-copy { padding-left: 0; margin-top: 0; }
  .cats-in, .bundle-in { grid-template-columns: minmax(0, 1fr); }
  .cat-stage { display: none; }
  .cat-row a { grid-template-columns: 76px 1fr auto; }
  .cat-row .idx { display: none; }
  .cat-row .thumb { display: grid; place-items: center; width: 76px; height: 84px; background: #111317; border-radius: 4px; }
  .cat-row .thumb img { max-height: 70px; max-width: 60px; width: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }
  .cat-row .name { color: #fff; }
  .cat-row.is-active a { padding-left: 4px; }
  .cat-row.is-active .go { background: none; border-color: var(--line-2); color: var(--text); }
  .how-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  /* full-width search overlay */
  .search.open { display: block; position: fixed; inset: 0 0 auto 0; width: auto; margin: 0; z-index: 70; padding: 12px; background: var(--bg-2); border-bottom: 1px solid var(--line-2); }
  .search.open .search-ic { left: 30px; }
  .search.open input { padding-right: 56px; }
  .search.open .search-close { display: grid; position: absolute; right: 16px; top: 14px; }
  .search.open .search-results { position: static; margin-top: 10px; min-width: 0; box-shadow: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; --strip-h: 38px; }
  .strip-list li { display: none; padding: 0; font-size: 13px; border: 0 !important; }
  .strip-list li.is-on { display: flex; }
  .strip .ic { width: 18px; height: 18px; }
  .logo-word { font-size: 22px; }
  .logo-bolt { width: 24px; height: 32px; }
  .logo { gap: 8px; }
  .hero-media { aspect-ratio: 4 / 3.3; }
  .hero-media img { object-position: 58% 40%; }
  .hero-in { margin-top: -64px; padding-bottom: 56px; }
  .eyebrow-hero { font-size: 11.5px; letter-spacing: .26em; margin-left: 4px; gap: 12px; }
  .eyebrow-hero::after { width: 40px; }
  .flavours .eyebrow { letter-spacing: .16em; font-size: 12px; }
  .flavours .eyebrow::after { display: none; }
  .hero-title { font-size: clamp(50px, 15vw, 66px); margin-top: 16px; }
  .hero-text { font-size: 16.5px; margin-top: 18px; }
  .hero-text span { display: inline; }
  .hero-ctas { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; min-width: 0; height: 56px; font-size: 16.5px; }
  .section { padding: 72px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
  .filters { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { padding: 0 14px; font-size: 14px; }
  .cat-list { margin-top: 30px; }
  .cat-row a { grid-template-columns: 64px 1fr auto; padding: 16px 0; gap: 14px; }
  .cat-row .thumb { width: 64px; height: 72px; }
  .cat-row .thumb img { max-height: 60px; max-width: 50px; }
  .cat-row .name { font-size: 24px; }
  .cat-row .sub { margin-top: 6px; font-size: 13px; }
  .cat-row .meta .count-txt { display: none; }
  .cat-row .go { width: 40px; height: 40px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-media { padding-top: 22px; }
  .card-media img { height: 74%; max-width: 78%; }
  .card-brand { left: 10px; top: 10px; font-size: 10.5px; letter-spacing: .1em; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: 15px; }
  .card-details { font-size: 12.5px; }
  .swatches { gap: 2px; }
  .swatch { width: 26px; height: 26px; }
  .swatch i { width: 14px; height: 14px; }
  .swatch-name { display: none; }
  .add-btn { height: 44px; font-size: 14px; }
  .bundle-offer { margin: 22px 0 16px; gap: 12px; }
  .bundle-offer .n, .bundle-offer .pct { font-size: 64px; }
  .bundle-offer .x { font-size: 36px; }
  .builder { padding: 14px; }
  .tray { gap: 8px; }
  .slot { padding: 10px 6px 12px; }
  .slot .sname { font-size: 11.5px; }
  .slot .num { font-size: 10.5px; letter-spacing: .1em; }
  .slot .rm { width: 28px; height: 28px; top: 4px; right: 4px; }
  .pick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builder-status { flex-direction: column; align-items: stretch; gap: 10px; }
  .builder-status p { white-space: normal; }
  .builder-actions .btn { width: 100%; }
  .builder-actions { justify-content: center; }
  .flavour-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); border: 0; }
  .flavour-row::-webkit-scrollbar { display: none; }
  .flv { flex: 0 0 62%; scroll-snap-align: start; border: 1px solid var(--line); border-left-width: 0; padding: 28px 14px 18px; }
  .flv:first-child { border-left-width: 1px; }
  .how { padding: 52px 0; }
  .how-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 52px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* 9. Motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Hero buttons: lighter, still comfortable to tap (Stage 3 refinement) */
.hero-ctas { gap: 14px; }
.hero-ctas .btn { height: clamp(48px, 3.4vw, 56px); padding: 0 clamp(20px, 1.6vw, 26px); font-size: clamp(15px, 1vw, 16.5px); gap: 10px; border-radius: 8px; }
.hero-ctas .btn .ic { width: 20px; height: 20px; }
.hero-ctas .btn .arrow { width: 18px; height: 18px; }
.hero-ctas .btn-primary { min-width: clamp(196px, 14vw, 236px); }
.hero-ctas .btn-outline { min-width: clamp(180px, 12.6vw, 214px); }
@media (max-width: 760px) {
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { width: 100%; height: 50px; font-size: 15.5px; }
}

/* Official CreatinePro logo (image supplied by the company; white on transparent, 743 × 240 @2x) */
.logo { display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }
.logo-img { display: block; width: auto; height: auto; }
.logo-header { height: clamp(40px, 3.2vw, 50px); }
.logo-mnav { height: 40px; }
.logo-footer { height: clamp(48px, 4vw, 60px); }
@media (max-width: 760px) { .logo-header { height: 36px; } }
@media (max-width: 374px) { .logo-header { height: 32px; } }
