:root {
  --ink: #111;
  --ink-2: #555;
  --line: #e7e7e7;
  --line-strong: #d6dee8;
  --bg: #fff;
  --surface: #fff;
  --tint-blue: #f4f8fd;
  color-scheme: light;
  --tint: #f2f5f9;
  /* JB Sports brand colours, sampled from the logo */
  --blue: #175893;
  --blue-dark: #0f3f6e;
  --navy: #0a2540;
  --orange: #ef7f2b;
  --orange-dark: #d96a17;
  --red: var(--orange); /* sale tags, highlights */
  --green: #12823b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* Dark mode: same brand blue/orange, deep navy surfaces. Set on <html data-mode="dark"> by fx.js */
[data-mode="dark"] {
  --ink: #eef3f9;
  --ink-2: #9fb0c4;
  --line: #22324a;
  --line-strong: #2e4262;
  --bg: #07111f;
  --surface: #0f1b2d;
  --tint: #132239;
  --tint-blue: #142a47;
  --blue: #2f7cc8; /* lifted so blue text/buttons keep contrast on navy */
  --blue-dark: #2569ad;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
/* the day logo is kept in dark mode; its black tagline needs a light backing on navy */
[data-mode="dark"] .header .brand, [data-mode="dark"] .drawer__logo, [data-mode="dark"] .checkout__logo { background: #fff; border-radius: 12px; }
[data-mode="dark"] .header .brand { padding: 4px 12px 4px 6px; }
[data-mode="dark"] .drawer__logo, [data-mode="dark"] .checkout__logo { padding: 4px 10px; box-sizing: content-box; }
[data-mode="dark"] .card__media, [data-mode="dark"] .sport__tile, [data-mode="dark"] .pdp__media { background: #1a2a42; }
[data-mode="dark"] .icon-btn.round { border-color: var(--line-strong); }
html { transition: background-color .4s; }
body, .header, .co-card, .drawer, .modal__panel { transition: background-color .4s, color .4s, border-color .4s; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Poppins", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-top: 32px; }

/* Announcement */
.announce { background: var(--blue); color: #fff; font-size: 13px; overflow: hidden; white-space: nowrap; }
.announce__track { display: inline-flex; gap: 80px; padding: 8px 0; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { position: relative; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand__emblem { height: 50px; width: auto; transition: transform .3s; }
.brand:hover .brand__emblem { transform: rotate(-6deg) scale(1.05); }
.brand__wordmark { height: 34px; width: auto; }
.brand--footer .brand__badge { width: 62px; height: 62px; border-radius: 16px; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.brand--footer .brand__emblem { height: 48px; }
.brand--footer .brand__wordmark { height: 40px; }
.drawer__logo { height: 30px; width: auto; }
h1, h2, .eyebrow { font-family: "Russo One", "Poppins", sans-serif; font-weight: 400; letter-spacing: .5px; }
.nav { display: flex; gap: 4px; margin: 0 auto; height: 100%; }
.nav__item { display: flex; align-items: center; }
.nav__item > a { padding: 8px 12px; font-size: 14px; font-weight: 500; border-radius: 8px; transition: background .15s; }
.nav__item > a:hover { background: var(--tint); }
.pill { padding: 4px 12px !important; border-radius: 999px !important; }
.pill--red { background: #fff0e4; color: var(--orange-dark); }
.nav__item > a:hover { color: var(--blue); }
.mega { position: absolute; left: 0; right: 0; top: 72px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: 32px max(24px, calc((100vw - 1272px) / 2)); display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 32px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-2); margin-bottom: 12px; }
.mega__col a { display: block; padding: 5px 0; font-size: 15px; }
.mega__col a:hover { color: var(--red); }
.mega__promo { background: var(--tint); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.mega__promo-art { height: 120px; }
.header__actions { display: flex; gap: 4px; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .15s; }
.icon-btn:hover { background: var(--tint); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.round { border: 1px solid var(--line); font-size: 22px; }
.badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; font-size: 11px; font-weight: 600; background: var(--orange); color: #fff; border-radius: 999px; display: grid; place-items: center; }
.badge:empty, .badge[data-zero] { display: none; }
.menu-toggle { display: none; }

/* Search */
.search { position: fixed; inset: 0; z-index: 80; background: var(--bg); padding-top: 24px; overflow: auto; }
.search__box { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.search__box > svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; }
.search__box input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 22px; background: none; }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding-top: 24px; padding-bottom: 40px; }
.search__empty { color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--dark { background: var(--blue); color: #fff; }
.btn--dark:hover { background: var(--blue-dark); }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(239, 127, 43, .35); }
.btn--accent:hover { background: var(--orange-dark); }
.btn--outline { border: 1.5px solid var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; font-size: 14px; }
.link-arrow:hover { color: var(--red); }

/* Hero */
/* Brand hero: navy-to-blue field with orange speed stripes echoing the logo's runner */
.hero { position: relative; height: min(76vh, 620px); min-height: 480px; overflow: hidden; color: #fff; background: radial-gradient(circle at 75% 45%, #1f6cb0 0, var(--blue) 35%, var(--navy) 80%); }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(255, 255, 255, .035) 60px 62px); pointer-events: none; }
.hero::after { content: "JB"; position: absolute; right: -2%; bottom: -14%; font-family: "Russo One", sans-serif; font-size: clamp(220px, 32vw, 460px); line-height: 1; color: rgba(255, 255, 255, .05); pointer-events: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; display: flex; align-items: center; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__content { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; width: 100%; }
.eyebrow { display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); background: rgba(239, 127, 43, .14); border: 1px solid rgba(239, 127, 43, .4); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; font-style: italic; text-transform: uppercase; }
.hero h1 em { color: var(--orange); }
.hero__sub { font-size: 18px; opacity: .85; margin: 16px 0 28px; max-width: 460px; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.hero__visual::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 28px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); transform: rotate(6deg); }
.hero__visual img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
/* entrance animation each time a slide becomes active */
.hero__slide.is-active .hero__text > * { animation: slideIn .7s both; }
.hero__slide.is-active .hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__text > :nth-child(4) { animation-delay: .3s; }
.hero__slide.is-active .hero__visual { animation: popIn .8s .15s both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } }
@keyframes popIn { from { opacity: 0; transform: scale(.85) rotate(-4deg); } }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; box-shadow: var(--shadow); }
/* arrows sit either side of the dots so they never cover the headline */
.hero__arrow { top: auto; bottom: 10px; transform: none; width: 36px; height: 36px; font-size: 22px; }
.hero__arrow--prev { left: calc(50% - 100px); }
.hero__arrow--next { left: calc(50% + 64px); }
.hero__dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.hero__dots button.is-active { width: 28px; background: #fff; }

/* Sections */
.section { padding: 64px 24px; }
.section.section--tint { background: var(--tint); padding-left: 0; padding-right: 0; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section__head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: .5px; }
.accent { color: var(--red); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: .15s; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Product grid */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; animation: fadeUp .4s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.card__media { position: relative; aspect-ratio: 1; background: var(--tint); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.section--tint .card__media { background: var(--surface); }
.card__media svg { width: 72%; height: auto; transition: transform .4s; }
.card:hover .card__media svg { transform: scale(1.07) rotate(-3deg); }
.card__tag { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface); text-transform: capitalize; }
.card__tag--sale { background: var(--red); color: #fff; }
.card__wish { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.card__wish svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; }
.card__wish.is-on svg { fill: var(--red); stroke: var(--red); }
.card__add { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(10px); transition: .2s; }
.card:hover .card__add, .card__add:focus-visible { opacity: 1; transform: none; }
.card__title { font-size: 15px; font-weight: 500; margin: 14px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__now { font-weight: 700; font-size: 16px; }
.price__mrp { color: var(--ink-2); text-decoration: line-through; font-size: 14px; }
.price__off { color: var(--green); font-weight: 600; font-size: 13px; }
.emi { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.emi b { color: var(--ink); }

/* Sports */
.sports { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.sport { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.sport__tile { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--tint); display: grid; place-items: center; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.sport__tile svg { width: 58%; height: auto; }
.sport:hover .sport__tile { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Countdown */
.countdown { display: flex; gap: 8px; }
.countdown div { background: var(--blue); color: #fff; border-radius: 10px; padding: 6px 10px; text-align: center; min-width: 54px; }
.countdown b { display: block; font-size: 18px; line-height: 1.1; }
.countdown small { font-size: 10px; opacity: .7; text-transform: uppercase; }

/* Collections */
.collections { position: relative; }
.collection { display: none; grid-template-columns: 1fr 2.6fr; gap: 24px; align-items: stretch; }
.collection.is-active { display: grid; animation: fadeUp .4s; }
.collection__banner { border-radius: var(--radius); padding: 32px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 360px; background: linear-gradient(160deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.collection__banner h3 { font-size: 32px; line-height: 1.1; }
.collection__banner .btn { align-self: flex-start; }
.collection__banner svg { position: absolute; top: 20px; right: -30px; width: 75%; opacity: .9; transform: rotate(-12deg); }
.collection .grid { grid-template-columns: repeat(4, 1fr); }
.collections__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; font-weight: 600; }

/* Best of */
.best { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.best__card { grid-column: span 2; position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; padding: 28px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, var(--c1), var(--c2)); }
.best__card:nth-child(4), .best__card:nth-child(5) { grid-column: span 3; }
.best__card svg { position: absolute; top: 16px; right: 16px; width: 55%; opacity: .95; transition: transform .4s; }
.best__card:hover svg { transform: scale(1.08) rotate(-6deg); }
.best__card h3 { font-size: 24px; font-weight: 800; position: relative; }
.best__card p { font-size: 14px; opacity: .85; margin: 6px 0 16px; max-width: 420px; position: relative; }
.best__card .btn { align-self: flex-start; padding: 9px 22px; position: relative; }

/* Community */
.community { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.community a { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.community a svg { width: 55%; height: auto; opacity: .9; transition: transform .3s; }
.community a:hover svg { transform: scale(1.12); }
.community a::after { content: "♥ " attr(data-likes); position: absolute; inset: auto 0 0; padding: 8px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .5)); opacity: 0; transition: .2s; }
.community a:hover::after { opacity: 1; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 8px; padding-bottom: 56px; }
.trust div { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.trust span { color: var(--ink-2); font-size: 14px; }

/* Newsletter */
.newsletter { background: linear-gradient(110deg, var(--blue), var(--navy)); color: #fff; padding: 48px 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter h2 { font-size: 28px; }
.newsletter .btn--dark { background: var(--orange); }
.newsletter .btn--dark:hover { background: var(--orange-dark); }
.newsletter__form { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.newsletter__form input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; }

/* Footer */
.footer { background: var(--navy); color: #b9c6d6; padding-top: 56px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer__grid a:not(.brand) { display: block; padding: 4px 0; }
.footer__grid a:not(.brand):hover { color: var(--orange); }
.footer__about { margin-top: 16px; max-width: 320px; }
.footer__bottom { border-top: 1px solid #222; padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Drawers */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 90; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 90vw); background: var(--surface); z-index: 100; display: flex; flex-direction: column; transition: transform .3s ease; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 18px; }
.drawer__body { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer__foot { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.mobile-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.cart-empty { text-align: center; color: var(--ink-2); padding: 48px 0; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item__img { width: 72px; height: 72px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; }
.cart-item__img svg { width: 80%; }
.cart-item h5 { font-size: 14px; font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; }
.qty span { min-width: 20px; text-align: center; font-size: 14px; }
.cart-item__remove { font-size: 12px; color: var(--ink-2); text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; }
.ship-bar { height: 6px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.ship-bar__fill { height: 100%; background: var(--green); width: 0; transition: width .3s; }
.ship-msg { font-size: 13px; color: var(--ink-2); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 120; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Photos: the drawing shows until the photo loads, then the photo replaces it */
.pic { display: contents; }
.pic > img { display: none; }
.pic.has-img > img { display: block; }
.pic.has-img > svg { display: none; }
.card__media img, .cart-item__img img, .sport__tile img, .community a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img, .community a:hover img { transform: scale(1.05); }
.cart-item__img { overflow: hidden; }
.sport__circle { overflow: hidden; }
.collection__banner img, .best__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.68); transition: transform .4s; }
.best__card:hover img { transform: scale(1.05); }
.collection__banner h3, .collection__banner .btn { position: relative; }
.mega__promo-art img { width: 100%; height: 100%; object-fit: contain; }

/* Settings menu */
.settings { position: relative; }
.settings__panel { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; z-index: 60; }
.settings__panel h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-2); margin-bottom: 10px; }
.theme-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-option { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.theme-option:has(input:checked) { border-color: var(--ink); }
.theme-option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-option input { position: absolute; opacity: 0; pointer-events: none; }
.theme-option__swatch { width: 100%; height: 30px; border-radius: 8px; }
.theme-option__swatch--normal { background: linear-gradient(90deg, var(--blue) 50%, var(--orange) 50%); }
.theme-option__swatch--xmas { background: linear-gradient(90deg, #c8102e 33%, #fff 33% 66%, #146b3a 66%); border: 1px solid var(--line); }
.switch-row { display: none; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 40px; height: 22px; border-radius: 999px; background: #ccc; position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch-row input:checked + .switch { background: var(--xmas-green, var(--green)); }
.switch-row input:checked + .switch::after { transform: translateX(18px); }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Christmas theme — everything below only applies while <html data-theme="xmas"> */
.xmas-banner { display: none; }
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; display: none; }
[data-theme="xmas"] {
  --xmas-red: #c8102e;
  --xmas-green: #146b3a;
  --red: var(--xmas-red);
  --tint: #f7f3ee;
}
[data-theme="xmas"] .switch-row { display: flex; }
[data-theme="xmas"] .snow.is-on { display: block; }
[data-theme="xmas"] .announce { background: var(--xmas-red); }
[data-theme="xmas"] .header { border-bottom: 0; }
[data-theme="xmas"] .header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: repeating-linear-gradient(-45deg, var(--xmas-red) 0 10px, #fff 10px 20px); }

[data-theme="xmas"] .btn--dark, [data-theme="xmas"] .card__add, [data-theme="xmas"] .tab.is-active, [data-theme="xmas"] .countdown div { background: var(--xmas-green); border-color: var(--xmas-green); }
[data-theme="xmas"] .btn--dark:hover { background: #0e5530; }
[data-theme="xmas"] .badge { background: var(--xmas-red); }
[data-theme="xmas"] .btn--outline { border-color: var(--xmas-red); color: var(--xmas-red); }
[data-theme="xmas"] .btn--outline:hover { background: var(--xmas-red); color: #fff; }
[data-theme="xmas"] .section__head h2::after { content: " ❄"; color: #7fb7d9; }
[data-theme="xmas"] .newsletter { background: var(--xmas-green); color: #fff; }
[data-theme="xmas"] .newsletter .btn--dark { background: var(--xmas-red); }
[data-theme="xmas"] .footer { background: #0b2a1a; }
[data-theme="xmas"] .xmas-banner { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding: 20px 24px; border-radius: var(--radius); color: #fff; background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .18) 0 2px, transparent 3px) 0 0 / 34px 34px, linear-gradient(120deg, var(--xmas-red), #8e0b20); }
.xmas-banner__icon { font-size: 40px; line-height: 1; }
.xmas-banner > div { flex: 1; display: flex; flex-direction: column; }
.xmas-banner strong { font-size: 20px; }
.xmas-banner > div span { opacity: .92; font-size: 14px; }
.xmas-banner .btn { flex-shrink: 0; }

/* ---------- Product page (modal) ---------- */
.card__media, .card__title { cursor: pointer; }
.card__title:hover { color: var(--blue); }
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px; }
.modal[hidden], .checkout[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 37, 64, .55); backdrop-filter: blur(3px); animation: fade .2s; }
.modal__panel { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--surface); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: popUp .25s ease; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface); }
@keyframes fade { from { opacity: 0; } }
@keyframes popUp { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.pdp { display: grid; grid-template-columns: 1fr 1fr; }
.pdp__media { background: var(--tint); display: grid; place-items: center; min-height: 420px; }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__media svg { width: 70%; }
.pdp__info { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.pdp__crumb { font-size: 12px; color: var(--ink-2); }
.pdp__info h2 { font-size: 26px; line-height: 1.15; }
.pdp__rating { font-size: 13px; color: var(--ink-2); }
.stars { color: var(--orange); letter-spacing: 1px; }
.pdp__price .price__now { font-size: 26px; }
.pdp__tax { font-size: 12px; color: var(--ink-2); margin-top: -6px; }
.pdp__label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-top: 8px; }
.pdp__label a { color: var(--blue); font-weight: 500; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 58px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; transition: .15s; }
.size:hover { border-color: var(--blue); }
.size[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qty--lg { align-self: flex-start; }
.qty--lg button { width: 38px; height: 38px; font-size: 18px; }
.qty--lg span { min-width: 30px; }
.pdp__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.pdp__actions .btn { padding: 14px; }
.pdp__pin { display: flex; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 4px 4px 14px; margin-top: 6px; }
.pdp__pin input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 14px; }
.pdp__pin button { padding: 8px 12px; color: var(--blue); }
.pdp__pinmsg { font-size: 13px; min-height: 1em; }
.pdp__perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.err, .field-error { color: #c62828; font-size: 12px; }
.cart-item__size { display: block; font-size: 12px; color: var(--ink-2); }
#checkoutBtn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Checkout ---------- */
.checkout { position: fixed; inset: 0; z-index: 105; overflow: auto; background: var(--tint); animation: fade .2s; }
.checkout__head { position: sticky; top: 0; z-index: 3; background: var(--surface); border-bottom: 1px solid var(--line); }
.checkout__head-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.checkout__logo { height: 32px; width: auto; }
.steps { display: flex; gap: 6px; list-style: none; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #9aa7b6; padding: 6px 10px; border-radius: 999px; }
.steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--line); color: #6b7a8c; }
.steps li + li::before { content: ""; width: 28px; height: 2px; background: var(--line); margin-right: 6px; }
.steps li.is-active { color: var(--blue); }
.steps li.is-active span { background: var(--blue); color: #fff; }
.steps li.is-done { color: var(--ink); cursor: pointer; }
.steps li.is-done span { background: var(--green); color: #fff; font-size: 0; }
.steps li.is-done span::after { content: "✓"; font-size: 13px; }
.checkout__body { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; padding-top: 28px; padding-bottom: 60px; }
.checkout.is-complete .checkout__body { grid-template-columns: 1fr 380px; }
.co-step { display: flex; flex-direction: column; gap: 16px; animation: fadeUp .35s; }
.co-step[hidden] { display: none; }
.co-step form { display: flex; flex-direction: column; gap: 16px; }
.co-card { background: var(--surface); border-radius: 16px; padding: 22px; box-shadow: 0 2px 10px rgba(10, 37, 64, .05); }
.co-card h3 { font-size: 17px; margin-bottom: 14px; }
.co-card h3 small { font-weight: 500; color: var(--ink-2); font-size: 13px; }
.co-card--row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.co-card--row h3 { margin-bottom: 6px; }
.co-card--row p { font-size: 14px; color: var(--ink-2); }
.co-card--row .link-arrow { color: var(--blue); }
.tag { display: inline-block; font-size: 11px; font-weight: 600; background: var(--tint); color: var(--blue); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field--wide { grid-column: 1 / -1; }
.field em { font-weight: 400; color: var(--ink-2); font-style: normal; }
.field input, .field select { font: inherit; font-size: 15px; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 88, 147, .15); }
.field.has-error input, .field.has-error select { border-color: #c62828; }
.field .field-error { font-weight: 500; }
.chip-group { display: flex; gap: 8px; }
.chip input, .option input, .paymethod > input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; font-weight: 500; cursor: pointer; }
.chip input:checked + span { border-color: var(--blue); background: var(--tint-blue); color: var(--blue); }
.chip input:focus-visible + span, .option:has(input:focus-visible), .paymethod:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.options { display: grid; gap: 10px; }
.option { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; cursor: pointer; }
.option::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex-shrink: 0; }
.option:has(input:checked) { border-color: var(--blue); background: var(--tint-blue); }
.option:has(input:checked)::before { border: 5px solid var(--blue); }
.option__body { flex: 1; display: flex; flex-direction: column; }
.option__body small { color: var(--ink-2); }
.free { color: var(--green); font-weight: 700; }
.btn--lg { padding: 16px; font-size: 16px; }
.paymethods { display: flex; flex-direction: column; border: 1.5px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.paymethod { position: relative; display: block; cursor: pointer; border-top: 1px solid var(--line); }
.paymethod:first-child { border-top: 0; }
.paymethod__head { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 14px 16px; align-items: center; }
.paymethod__icon { grid-row: span 2; font-size: 22px; }
.paymethod__head small { color: var(--ink-2); font-size: 12px; }
.paymethod:has(input:checked) { background: var(--tint-blue); box-shadow: inset 3px 0 0 var(--blue); }
.paymethod__panel { padding: 4px 16px 18px 62px; background: var(--tint-blue); animation: fadeUp .25s; }
.paymethod__panel[hidden] { display: none; }
.upi-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.upi-app { padding: 12px 6px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-weight: 700; font-size: 13px; }
.upi-app.is-on { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 88, 147, .15); }
.or { text-align: center; font-size: 12px; color: var(--ink-2); margin: 12px 0 8px; }
.card-brand { float: right; font-size: 11px; color: var(--blue); letter-spacing: 1px; }
.muted { color: var(--ink-2); font-size: 14px; }
.demo-note { margin-top: 14px; font-size: 12px; color: var(--ink-2); background: #fff7ef; border: 1px dashed #f3b98a; padding: 10px 12px; border-radius: 10px; }

/* order summary */
.checkout__summary { position: sticky; top: 92px; }
.sum-items { list-style: none; display: flex; flex-direction: column; gap: 12px; max-height: 280px; overflow: auto; margin-bottom: 14px; }
.sum-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.sum-items__img { position: relative; width: 56px; height: 56px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; overflow: visible; }
.sum-items__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.sum-items__img svg { width: 80%; }
.sum-items__img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; display: grid; place-items: center; }
.sum-items__name small { display: block; color: var(--ink-2); font-size: 12px; }
.coupon { display: flex; gap: 8px; border: 1.5px dashed var(--line-strong); border-radius: 10px; padding: 4px 4px 4px 12px; }
.coupon input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; text-transform: uppercase; background: none; }
.coupon button { padding: 8px 12px; color: var(--blue); }
.coupon__hint { font-size: 12px; color: var(--ink-2); margin: 6px 0 14px; }
.sum-rows { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; }
.sum-rows div { display: flex; justify-content: space-between; }
.sum-rows__save dd { color: var(--green); font-weight: 600; }
.sum-rows__total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 18px; font-weight: 700; }
.sum-secure { text-align: center; font-size: 12px; color: var(--ink-2); margin-top: 14px; }

/* processing overlay */
.processing { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(10, 37, 64, .6); backdrop-filter: blur(4px); }
.processing[hidden] { display: none; }
.processing__box { background: var(--surface); border-radius: 20px; padding: 32px 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 280px; animation: popUp .25s; }
.processing__spinner { width: 56px; height: 56px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--orange); border-right-color: var(--blue); animation: spin .8s linear infinite; margin-bottom: 6px; }
.processing__box small { color: var(--ink-2); }

/* confirmation */
.success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 22px; }
.success h2 { font-size: 28px; color: var(--blue); }
.success__check svg { width: 84px; height: 84px; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.success__check circle { stroke: var(--green); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s .1s forwards; }
.success__check path { stroke: var(--green); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; margin-top: 14px; }
.success__meta div { background: var(--tint); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.success__meta small { font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .5px; }
.success__meta b { font-size: 14px; }
.track { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.track li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; font-size: 13px; padding-top: 30px; }
.track li::before { content: ""; position: absolute; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-strong); z-index: 1; }
.track li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.track li:first-child::after { display: none; }
.track li.is-done::before { background: var(--green); border-color: var(--green); }
.track li small { color: var(--ink-2); font-size: 12px; }
.success__actions { display: flex; justify-content: center; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { min-height: 0; aspect-ratio: 1; max-height: 360px; }
  .checkout__body, .checkout.is-complete .checkout__body { grid-template-columns: 1fr; }
  .checkout__summary { position: static; order: -1; }
  .success__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .pdp__info { padding: 22px 18px; }
  .checkout__logo { display: none; }
  .steps li { padding: 4px; font-size: 12px; }
  .steps li + li::before { width: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .paymethod__panel { padding-left: 16px; }
  .upi-apps { grid-template-columns: 1fr 1fr; }
  .track { grid-template-columns: 1fr; gap: 14px; }
  .track li { flex-direction: row; text-align: left; padding: 0 0 0 30px; gap: 10px; align-items: baseline; }
  .track li::before { top: 2px; left: 0; }
  .track li::after { display: none; }
}

/* ---------- Loading screen ---------- */
body.is-loading { overflow: hidden; }
/* Intro — minimal and premium. One easing curve throughout; --o is when the logo appears
   (after the opening line on a first visit, almost immediately on repeat visits). */
.loader { --o: 1.55s; --ease: cubic-bezier(.22, 1, .36, 1); --wipe: cubic-bezier(.77, 0, .18, 1);
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; color: #e9eef5; background: #05080e;
  clip-path: inset(0 0 0 0); }
.loader.is-short { --o: .1s; }
.loader.is-short .intro-line { display: none; }
.loader.is-done { visibility: hidden; }
/* exit: content lifts and softens, then the whole screen wipes upward */
.loader.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--wipe) .3s; }
.loader.is-leaving .loader__center, .loader.is-leaving .loader__meta, .loader.is-leaving .intro-skip { opacity: 0; transform: translateY(-28px); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease); }

/* background: two slow, soft brand glows and a fine film grain — no patterns */
.loader__bg { position: absolute; inset: 0; pointer-events: none; }
.loader__orb { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: 0; animation: orbIn 2.4s var(--ease) .2s forwards, breathe 9s ease-in-out 2.6s infinite alternate; }
.loader__orb--a { left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(23, 88, 147, .55), transparent 65%); }
.loader__orb--b { right: -20vmax; bottom: -26vmax; background: radial-gradient(circle, rgba(34, 224, 143, .22), rgba(56, 189, 248, .12) 40%, transparent 65%); animation-delay: .5s, 3s; }
@keyframes orbIn { to { opacity: 1; } }
@keyframes breathe { to { transform: translate(4vmax, 3vmax) scale(1.08); } }
.loader__grain { position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

.loader__center { position: relative; z-index: 1; display: grid; place-items: center; padding: 0 20px; }
.loader__center > * { grid-area: 1 / 1; }

/* opening line: each word rises out of a mask, then the line dissolves upward */
.intro-line { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: clamp(13px, 1.3vw, 16px); font-weight: 500; letter-spacing: .5em; text-transform: uppercase; color: #cfd8e3;
  animation: lineOut .8s var(--ease) 1.15s forwards; }
.intro-line span { display: inline-block; overflow: hidden; padding: .2em 0; }
.intro-line i { display: inline-block; font-style: normal; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.intro-line span:nth-of-type(1) i { animation-delay: .25s; }
.intro-line span:nth-of-type(2) i { animation-delay: .42s; }
.intro-line span:nth-of-type(3) i { animation-delay: .59s; color: var(--orange); }
.intro-line b { font-weight: 400; color: #5d6b7d; letter-spacing: 0; opacity: 0; animation: appear .6s ease .5s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes appear { to { opacity: 1; } }
@keyframes lineOut { to { opacity: 0; transform: translateY(-18px); filter: blur(8px); } }

/* logo: emblem resolves from soft focus, wordmark glides up, hairline fills underneath */
.loader__brand { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.loader__emblem { width: clamp(88px, 10vw, 124px); height: auto; opacity: 0; transform: scale(.9); filter: blur(14px);
  animation: resolve 1.3s var(--ease) var(--o) forwards; }
.loader__wordmark { width: min(78vw, 520px); height: auto; opacity: 0; transform: translateY(26px); filter: blur(8px);
  animation: resolve 1.2s var(--ease) calc(var(--o) + .3s) forwards; }
@keyframes resolve { to { opacity: 1; transform: none; filter: blur(0); } }
.loader__progress { margin-top: 18px; width: 180px; height: 1px; background: rgba(255, 255, 255, .12); overflow: hidden; opacity: 0; animation: appear .8s ease calc(var(--o) + .6s) forwards; }
.loader__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22e08f, #38bdf8, var(--orange)); transition: width .4s var(--ease); }

/* corner details */
.loader__meta { position: absolute; z-index: 1; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vh, 36px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #6f7d8f; opacity: 0; animation: appear 1s ease .3s forwards; }
.loader__meta span:last-child { text-align: right; }
.loader__count { color: #dfe7f0; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.intro-skip { position: absolute; z-index: 2; top: clamp(18px, 3.5vh, 30px); right: clamp(20px, 4vw, 48px); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #8794a6;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; opacity: 0; animation: appear 1s ease .6s forwards; transition: color .3s, background-size .4s var(--ease); }
.intro-skip:hover { color: #e9eef5; background-size: 100% 1px; }
@media (max-width: 600px) {
  .loader__meta span:first-child, .loader__meta span:last-child { display: none; }
  .loader__meta { grid-template-columns: 1fr; justify-items: center; }
  .intro-line { letter-spacing: .32em; }
}
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes sprint { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* ---------- Skeleton shimmer while photos load ---------- */
.pic.is-loading > svg { visibility: hidden; }
.card__media:has(.pic.is-loading), .sport__tile:has(.pic.is-loading), .collection__banner:has(.pic.is-loading), .best__card:has(.pic.is-loading), .cart-item__img:has(.pic.is-loading) {
  background: linear-gradient(100deg, #e9eef4 30%, #f7f9fc 50%, #e9eef4 70%) 0 0 / 300% 100%; animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ---------- Sections slide in as you scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Busy state for buttons (add to cart, subscribe) ---------- */
.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [class*="shimmer"] { animation: none; transition: none; }
  .intro-line, .loader__grain { display: none; }
  .loader__emblem, .loader__wordmark, .loader__progress, .loader__meta, .intro-skip, .loader__orb { animation: none; opacity: 1; transform: none; filter: none; }
  .loader.is-leaving { transition-duration: .01s; transition-delay: 0s; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header__actions { margin-left: auto; }
  .grid--4, .collection .grid { grid-template-columns: repeat(3, 1fr); }
  .sports { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 22%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .sport { scroll-snap-align: start; }
  .collection { grid-template-columns: 1fr; }
  .collection__banner { min-height: 240px; }
  .collection__banner svg { width: 40%; }
  .hero__content { gap: 24px; }
}
@media (max-width: 420px) {
  .brand__wordmark { display: none; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 16px; }
  .header__inner { height: 60px; gap: 8px; }
  .hide-sm { display: none; }
  .hero { height: auto; min-height: 0; }
  .hero__slide { position: absolute; }
  .hero__slide.is-active { position: relative; }
  .hero__content { grid-template-columns: 1fr; text-align: center; padding-top: 36px; padding-bottom: 64px; gap: 28px; }
  .hero__visual { order: -1; width: 220px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__arrow { display: none; }
  .brand__emblem { height: 40px; }
  .brand__wordmark { height: 24px; }
  .brand--footer .brand__wordmark { height: 32px; }
  .grid--4, .collection .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card__add { opacity: 1; transform: none; padding: 8px; font-size: 13px; }
  .sports { grid-auto-columns: 40%; gap: 10px; }
  .sport { font-size: 12px; }
  .best { grid-template-columns: 1fr; }
  .best__card, .best__card:nth-child(4), .best__card:nth-child(5) { grid-column: auto; min-height: 280px; }
  .community { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .newsletter__form { max-width: none; flex-basis: 100%; }
  [data-theme="xmas"] .xmas-banner { flex-wrap: wrap; margin-top: 24px; padding: 16px; }
  .xmas-banner .btn { width: 100%; }
}
