/* Concept 1 — School First
   Clean white retail, red as the single action colour, navy text, school search as the hero. */
:root {
  --red: #e4332d;
  --red-dark: #c4241f;
  --navy: #1d2340;
  --ink: #2a3050;
  --muted: #646b84;
  --line: #e6e8ef;
  --tint: #f6f7fb;
  --yellow: #fbde1e;
  --purple: #4b3a8c;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(29, 35, 64, .08);
  --shadow-lg: 0 24px 60px rgba(29, 35, 64, .14);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
h3 { font-size: 1rem; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.eyebrow--light { color: var(--yellow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(228, 51, 45, .28); }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.link-arrow { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--red); padding-bottom: 2px; white-space: nowrap; }
.link-arrow::after { content: ' →'; }
.link-btn { background: none; border: 0; color: var(--red); font-weight: 700; text-decoration: underline; padding: 4px; }

/* Announcement + header */
.announce { background: var(--navy); color: #fff; font-size: .85rem; text-align: center; padding: 8px 16px; }
.announce strong { color: var(--yellow); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand img { height: 68px; width: auto; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; height: 48px; max-width: 560px; }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.search input { border: 0; background: none; flex: 1; font: inherit; color: var(--ink); outline: none; min-width: 0; }
.header__actions { display: flex; gap: 22px; margin-left: auto; }
.icon-link { position: relative; display: flex; flex-direction: column; align-items: center; font-size: .75rem; font-weight: 600; color: var(--muted); }
.icon-link svg, .icon-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-link:hover span { color: var(--red); }
.badge:empty, .badge[data-zero] { display: none; }
.badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: .68rem; display: grid; place-items: center; padding: 0 4px; }
.icon-btn { background: none; border: 0; padding: 8px; display: none; }
.catnav { border-top: 1px solid var(--line); }
.catnav ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.catnav a { display: block; padding: 12px 14px; font-size: .92rem; font-weight: 600; color: var(--ink); white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover { border-color: var(--red); }
.catnav__school { color: var(--red) !important; }
.catnav__offer { color: var(--purple) !important; }

.school-bar { background: #fff6d6; border-bottom: 1px solid #f3e3a1; }
.school-bar__row { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: .95rem; }
.school-bar img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #fff1ef 0%, transparent 60%), linear-gradient(#fff, #fbfbfd); padding: 56px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.035em; font-weight: 800; }
.hero h1 span { color: var(--red); }
.lead { font-size: 1.12rem; color: var(--muted); margin: 18px 0 28px; max-width: 34em; }
.finder { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); max-width: 620px; }
.finder__label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.finder__box { display: flex; align-items: center; gap: 10px; background: var(--tint); border: 2px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 18px; transition: border-color .15s; }
.finder__box:focus-within { border-color: var(--red); }
.finder__box svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--red); stroke-width: 2; stroke-linejoin: round; }
.finder__box input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1.05rem; outline: none; height: 48px; }
.finder__list { list-style: none; margin: 8px 0 0; padding: 6px; position: absolute; left: 18px; right: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 20; max-height: 300px; overflow: auto; }
.finder__list li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; cursor: pointer; }
.finder__list li:hover, .finder__list li[aria-selected="true"] { background: var(--tint); }
.finder__list img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.finder__list small { display: block; color: var(--muted); }
.finder__popular { margin-top: 14px; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.chip:hover { border-color: var(--red); color: var(--red); }
.hero__stats { list-style: none; padding: 0; margin: 32px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 1.6rem; color: var(--navy); }
.hero__stats span { font-size: .88rem; color: var(--muted); }
.hero__art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero__blob { position: absolute; inset: 0 2% 4% 6%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: linear-gradient(135deg, #fff3b0, #ffd6d3); transform: rotate(-6deg); }
.hero__photo { position: absolute; inset: 4% 6% 8% 10%; width: 84%; height: 88%; object-fit: cover; border-radius: 40% 60% 52% 48% / 46% 44% 56% 54%; box-shadow: var(--shadow-lg); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 8px 14px 8px 8px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 700; color: var(--navy); animation: bob 6s ease-in-out infinite; }
.float img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.float--1 { top: 6%; left: -4%; }
.float--2 { bottom: 16%; left: -8%; animation-delay: -2s; }
.float--3 { top: 40%; right: -6%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Steps */
.steps { border-block: 1px solid var(--line); background: #fff; }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 26px 0; margin: 0 auto; }
.steps__list li { display: flex; gap: 14px; align-items: flex-start; }
.steps__list b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.steps__list p { font-size: .88rem; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }

.school-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.school-card { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; transition: box-shadow .2s, border-color .2s, transform .2s; width: 100%; }
.school-card:hover, .school-card.is-active { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.school-card img { width: 64px; height: 64px; flex: none; border-radius: 12px; object-fit: cover; }
.school-card strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.3; }
.school-card small { color: var(--muted); }

.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.tabs button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 1 / .95; overflow: hidden; background: var(--tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.card__wish { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.card__wish svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2; }
.card__wish[aria-pressed="true"] svg { fill: var(--red); stroke: var(--red); }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__school { font-size: .75rem; font-weight: 600; color: var(--muted); }
.card__name { font-size: .98rem; font-weight: 700; color: var(--navy); }
.card__rating { font-size: .8rem; color: var(--muted); }
.card__rating b { color: #1a8f4d; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: 1.12rem; color: var(--navy); }
.price s { color: var(--muted); font-size: .85rem; }
.price em { font-style: normal; color: #1a8f4d; font-weight: 700; font-size: .82rem; }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.sizes button { min-width: 38px; height: 32px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: .78rem; font-weight: 600; padding: 0 6px; }
.sizes button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.card__add { margin-top: auto; padding-top: 10px; }
.card__add .btn { width: 100%; min-height: 42px; }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 10px 16px; border-radius: var(--radius); background: var(--tint); text-align: center; transition: background .2s; }
.cat:hover { background: #fff1ef; }
.cat img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.cat strong { font-size: .9rem; color: var(--navy); }
.cat small { color: var(--muted); font-size: .78rem; }

.promo { padding: 0 0 72px; }
.promo__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.promo__main { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy), #33287a); color: #dfe3f5; border-radius: 24px; padding: 48px; min-height: 320px; }
.promo__main h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.promo__main > p { max-width: 26em; }
.promo__code { display: block; width: fit-content; margin: 20px 0 24px; border: 2px dashed rgba(255, 255, 255, .4); border-radius: 12px; padding: 10px 16px; font-size: .9rem; }
.promo__code strong { color: var(--yellow); letter-spacing: .06em; }
.promo__img { position: absolute; top: 0; right: 0; width: 42%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.promo__main > *:not(img) { position: relative; z-index: 1; max-width: 62%; }
.promo__side { display: grid; gap: 20px; }
.mini-promo { position: relative; overflow: hidden; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: center; min-height: 150px; }
.mini-promo span { font-size: .85rem; font-weight: 600; }
.mini-promo strong { font-size: 1.4rem; color: var(--navy); }
.mini-promo > * { position: relative; z-index: 1; max-width: 55%; }
.mini-promo img { position: absolute; top: 0; right: 0; width: 45%; max-width: none; height: 100%; object-fit: cover; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.mini-promo--yellow { background: #fff3b0; }
.mini-promo--purple { background: #ece6f8; }

.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kit { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.kit__img { aspect-ratio: 1; border-radius: 14px; background: #fff6e6; overflow: hidden; }
.kit__img img { width: 100%; height: 100%; object-fit: cover; }
.kit h3 { font-size: 1.08rem; }
.kit p { font-size: .88rem; color: var(--muted); margin: 4px 0 10px; }
.kit .btn { min-height: 40px; padding: 0 18px; margin-top: 10px; }

.why { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.why__intro p:not(.eyebrow) { color: var(--muted); margin: 14px 0 24px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why__list li { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.why__list .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff1ef; color: var(--red); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.why__list p { font-size: .9rem; color: var(--muted); margin-top: 4px; }

.guide { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; }
.guide__card { background: #fff6d6; border-radius: 24px; padding: 32px; }
.guide__card h2 { font-size: 1.5rem; }
.guide__card p { color: var(--ink); margin: 10px 0 18px; font-size: .95rem; }
.size-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 18px; font-size: .9rem; }
.size-table th, .size-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table th { background: var(--navy); color: #fff; font-weight: 600; }
.reviews__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.reviews__head p { color: var(--muted); }
.reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: #f5a623; letter-spacing: 2px; }
.review p { font-size: .93rem; }
.review footer { margin-top: auto; font-size: .85rem; color: var(--muted); }
.review footer strong { color: var(--navy); display: block; }

.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--c); }
.social-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.social-grid figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: .82rem; color: var(--ink); background: rgba(255, 255, 255, .9); border-radius: 10px; padding: 10px; }

.cta { background: #e9f8ef; padding: 48px 0; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.cta p { color: var(--muted); margin-top: 6px; }
.cta__form { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 4px 4px 4px 18px; border: 2px solid #bfe8cf; }
.cta__prefix { font-weight: 700; color: var(--navy); padding-right: 10px; border-right: 1px solid var(--line); }
.cta__form input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; padding: 0 12px; height: 48px; }

.footer { background: var(--navy); color: #c4c8dc; padding: 64px 0 24px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 8px 14px; margin-bottom: 16px; }
.footer__logo img { height: 72px; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
.sample-note { text-align: center; font-size: .75rem; opacity: .6; margin-top: 16px; padding: 0 16px; }

.toast:empty { visibility: hidden; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .3s; z-index: 80; }
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1080px) {
  .school-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__list { grid-template-columns: 1fr 1fr; }
  .guide { grid-template-columns: 1fr; }
  .kit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .icon-btn { display: block; }
  .header__row { height: 68px; gap: 12px; flex-wrap: wrap; }
  .brand img { height: 52px; }
  .header__actions span { display: none; }
  .header__actions { gap: 16px; }
  .search { order: 5; flex-basis: 100%; max-width: none; height: 44px; margin-bottom: 10px; }
  .header__row { height: auto; padding-top: 8px; }
  .catnav { display: none; }
  .catnav.is-open { display: block; }
  .catnav.is-open ul { flex-direction: column; }
  .hero { padding: 32px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { max-width: 300px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .float { font-size: .75rem; }
  .float img { width: 34px; height: 34px; }
  .float--1 { left: 0; }
  .float--2 { left: 0; }
  .float--3 { right: 0; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .school-grid, .product-grid, .social-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .promo__grid, .why, .cta__grid, .kit-grid { grid-template-columns: 1fr; }
  .promo__main { padding: 32px 24px; }
  .promo__main > *:not(img) { max-width: 100%; }
  .promo__img { opacity: .22; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .section { padding: 52px 0; }
}
@media (max-width: 520px) {
  .finder { padding: 14px; }
  .finder__box { flex-wrap: wrap; border-radius: 18px; padding: 6px 6px 6px 14px; }
  .finder__box .btn { width: 100%; }
  .steps__list { grid-template-columns: 1fr; gap: 14px; }
  .school-card { flex-direction: column; text-align: center; padding: 14px 10px; gap: 8px; }
  .school-card strong { font-size: .85rem; }
  .card__body { padding: 12px; }
  .card__name { font-size: .88rem; }
  .sizes { display: none; }
  .why__list, .reviews__list { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 84px 1fr; padding: 16px; }
  .hero__stats { gap: 20px; }
  .cta__form { flex-wrap: wrap; border-radius: 18px; padding: 8px; }
  .cta__form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
