/* Layout concept: Fashion World's own blush-and-garnet palette turned up. Soft colour washes behind
   the hero, six gradient tiles per age group, rounded photo cards with warm shadows, and each
   age group carrying its own three-colour gradient through badges, tiles and placeholders. */
:root {
  --bg: #fff8f5;
  --surface: #ffffff;
  --ink: #1d1a17;
  --muted: #6d655d;
  --line: #efe4de;
  --accent: #9b2c4a;
  --accent-2: #c8847a;
  --accent-3: #f8e4dc;
  --on-accent: #ffffff;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1360px;
  --r: 18px;
  --shadow: 0 10px 30px rgba(155, 44, 74, .10), 0 2px 6px rgba(29, 26, 23, .06);
  --shadow-lg: 0 24px 60px rgba(155, 44, 74, .18), 0 6px 14px rgba(29, 26, 23, .08);
  --t: 280ms cubic-bezier(.3, 0, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.price { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.ico { width: 18px; height: 18px; flex: none; }

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--accent), var(--accent-2), #5b4bff, #00c2b8) 1;
}
.top-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.wordmark .mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #d14d75); color: #fff; font-size: 14px; letter-spacing: .02em; box-shadow: 0 6px 14px rgba(155, 44, 74, .3); }
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; font-size: 15px; font-weight: 500; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 12px; border-radius: 999px; transition: background var(--t), color var(--t); }
.nav a:hover { background: var(--accent-3); color: var(--accent); }
.nav a.is-on { background: var(--accent); color: #fff; }
.nav a .ico { color: var(--accent); }
.nav a.is-on .ico { color: #fff; }
.search { margin-left: auto; flex: none; }
.search input {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; width: 200px; transition: border-color var(--t), box-shadow var(--t), width var(--t);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(155, 44, 74, .12); width: 250px; }
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .search input, .search input:focus { width: 130px; }
  .nav { order: 3; flex-basis: 100%; }
}

/* Hero */
.hero-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #ffe6ee 0%, #fff6f1 45%, #fff1e3 100%);
}
.hero-band::before, .hero-band::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.hero-band::before { width: 520px; height: 520px; left: -140px; top: -200px; background: radial-gradient(circle, #ffb3c6, #ff8fb1 40%, transparent 70%); }
.hero-band::after { width: 620px; height: 620px; right: -160px; bottom: -300px; background: radial-gradient(circle, #ffd27a, #9f8bff 45%, transparent 72%); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.hero .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.hero h1 {
  margin-top: 10px; font-size: clamp(52px, 8vw, 120px); line-height: .95; letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--ink) 20%, var(--accent) 75%, #d14d75); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 24px); color: var(--muted); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: var(--surface); transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t); }
.btn:hover { box-shadow: var(--shadow); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #d14d75); border-color: transparent; color: #fff; box-shadow: 0 10px 24px rgba(155, 44, 74, .28); }
.btn.primary:hover { box-shadow: 0 14px 30px rgba(155, 44, 74, .36); }
.hero-art { display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); transition: transform var(--t); background: #fff; }
.hero-art img { width: 100%; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-art { transform: none; max-width: 520px; } }

/* Age-group tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: -38px; position: relative; z-index: 2; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 18px 18px 20px; min-height: 124px; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2) 55%, var(--c3)); box-shadow: var(--shadow); text-align: left;
  transition: transform var(--t), box-shadow var(--t);
}
.tile::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.tile:hover { box-shadow: var(--shadow-lg); }
.tile b { display: block; font: 700 24px/1.1 var(--display); text-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.tile span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; opacity: .95; max-width: 20ch; }
.tile .ico { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .22); }
.tile.dark { color: #fff; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: -24px; } .tile { min-height: 112px; padding: 14px; } .tile b { font-size: 20px; } }

/* Sections */
.sec { padding-block: clamp(48px, 7vw, 96px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.5vw, 28px); }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.01em; }
.sec-head h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; margin-top: 10px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.link:hover { text-decoration: underline; }

/* Occasion tiles */
.occ { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.occ a { position: relative; display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; transition: transform var(--t), box-shadow var(--t); }
.occ img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.occ .lab { position: absolute; inset: auto 0 0 0; padding: 48px 16px 16px; color: #fff; background: linear-gradient(to top, rgba(40, 10, 20, .78), rgba(40, 10, 20, 0)); }
.occ .lab b { display: block; font: 700 24px/1.1 var(--display); }
.occ .lab span { font-size: 13px; opacity: .9; }
@media (max-width: 900px) { .occ { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .occ { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Rails and look cards */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 6px 4px 14px; margin: -6px -4px 0; }
.rail::-webkit-scrollbar { display: none; }
.look { display: block; scroll-snap-align: start; min-width: 0; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.look .ph { display: block; position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--accent-3); }
.look .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Two-pose looks: the poses keep alternating while hovering. Single-image looks stay still. */
.look .ph img.alt { opacity: 0; }
.look:hover .ph img.alt, .look:focus-visible .ph img.alt { animation: swap 2.6s ease-in-out infinite; }
@keyframes swap {
  0%, 10% { opacity: 0; }
  40%, 60% { opacity: 1; }
  90%, 100% { opacity: 0; }
}
.look .badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.look .cap { display: block; padding: 12px 14px 14px; }
.look .cap .who { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.look .cap .nm { display: block; font: 600 16px/1.3 var(--display); margin-top: 4px; }
.look .cap .price { display: block; margin-top: 4px; color: var(--accent); font-weight: 600; }
.pose-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* Men grid */
.men { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.men .look:first-child { grid-row: 1 / 3; }
.men .look:first-child .ph { aspect-ratio: auto; height: 100%; min-height: 100%; }
@media (max-width: 760px) { .men { grid-template-columns: 1fr 1fr; } .men .look:first-child { grid-row: auto; grid-column: 1 / -1; } .men .look:first-child .ph { aspect-ratio: 4 / 5; height: auto; } }

/* Kids feature */
.kids { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: stretch; }
.kids .collage { display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.kids .collage img { width: 100%; height: 100%; object-fit: cover; }
.kids .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .kids { grid-template-columns: 1fr; } }

/* Catalog */
.catalog { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); }
.filters { display: grid; gap: 10px; }
.frow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; background: #fffaf7; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.chip .ico { width: 16px; height: 16px; color: var(--accent); }
.chip:hover { border-color: var(--accent-2); }
.chip.is-on { background: linear-gradient(135deg, var(--c1, var(--accent)), var(--c2, #d14d75)); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(155, 44, 74, .22); }
.chip.is-on .ico { color: #fff; }
.fsum { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 18px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.fsum b { color: var(--ink); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.look .ph.plh { display: grid; align-content: end; padding: 16px; color: #fff; background: linear-gradient(160deg, var(--c1), var(--c2) 60%, var(--c3)); }
.look .ph.plh::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.look .ph.plh b { font: 700 clamp(18px, 1.5vw, 22px)/1.15 var(--display); text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.look .ph.plh small { font-size: 12px; opacity: .9; margin-top: 8px; }
.more { display: flex; justify-content: center; padding-block: 28px 4px; }
.empty { padding: 40px 0; color: var(--muted); }

/* Detail panel */
.scrim { position: fixed; inset: 0; background: rgba(40, 10, 20, .45); z-index: 40; opacity: 0; pointer-events: none; transition: opacity var(--t); }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(600px, 100%);
  background: var(--bg); color: var(--ink); overflow-y: auto; transform: translateX(100%); transition: transform var(--t);
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(22px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 22px;
  box-shadow: -20px 0 60px rgba(40, 10, 20, .2);
}
body.has-panel .scrim { opacity: 1; pointer-events: auto; }
body.has-panel .panel { transform: none; }
body.has-panel { overflow: hidden; }
.panel .close { position: sticky; top: 0; float: right; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); font-size: 22px; line-height: 1; z-index: 2; }
.panel .pimg { clear: both; margin-top: 8px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.panel .pimg img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; }
.panel .pimg.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; box-shadow: none; overflow: visible; }
.panel .pimg.two figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.panel .pimg.two figcaption { font-size: 12px; color: var(--muted); padding: 8px 10px; }
.panel .pimg.plh { aspect-ratio: 2 / 3; display: grid; place-content: center; text-align: center; padding: 24px; color: #fff; background: linear-gradient(160deg, var(--c1), var(--c2) 60%, var(--c3)); }
.panel .pimg.plh b { font: 700 30px/1.1 var(--display); }
.panel .pimg.plh small { margin-top: 10px; opacity: .9; }
.panel h3 { font-size: 30px; line-height: 1.1; margin-top: 20px; }
.panel .pprice { font-size: 22px; font-weight: 600; color: var(--accent); margin-top: 6px; }
.panel dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 0; font-size: 14px; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; font-weight: 500; }
.panel .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.panel .tags span { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--accent-3); color: var(--accent); font-weight: 500; }
.panel .actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.panel h4 { font: 700 20px var(--display); margin: 30px 0 12px; }
.panel .mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.panel .mini .look .cap { padding: 8px; }
.panel .mini .look .cap .who { display: none; }
.panel .mini .look .cap .nm { font-size: 12px; }
.panel .mini .look .cap .price { font-size: 12px; }
.panel .mini .look .badge { display: none; }
.panel .mini .look .ph.plh { padding: 8px; }
.panel .mini .look .ph.plh b { font-size: 12px; }
.panel .mini .look .ph.plh small { display: none; }
@media (max-width: 480px) { .panel .mini { grid-template-columns: repeat(2, 1fr); } }

/* Footer */
.foot { margin-top: clamp(56px, 8vw, 110px); color: #fff; background: linear-gradient(120deg, #3a0f1e, var(--accent) 60%, #d14d75); padding-block: 36px 44px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; }
.foot .wordmark { font-size: 20px; }
.foot .wordmark .mark { background: rgba(255, 255, 255, .18); box-shadow: none; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 500; }
.foot nav a:hover { text-decoration: underline; }
.foot .note { opacity: .85; flex-basis: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}
