/* Collection page moods (Summer, Winter, Men, Women, Kids), matching the Shopify collection designs.
   Tokens are re-scoped on <main> only, so the shared black header and footer keep the Clovique frame.
   Light moods swap the bright logo gold for a deeper gold so gold text and buttons stay readable. */

.mood main { background: var(--bg); color: var(--fg); }

.mood-summer main {
  --bg: #FBF8F2; --surface: #FFFFFF; --surface-2: #F3EEE4; --fg: #2B2A26; --muted: #625C52; --line: rgba(43,42,38,.14);
  --gold-base: #7C6A2E; --accent: #7C6A2E; --on-accent: #FFFDF8; --ring: #7C6A2E;
  --tint-1: #E4EBDD; --tint-2: #F4E4DC; --tint-3: #E2EBF1; color-scheme: light;
}
.mood-winter main {
  --bg: #221C18; --surface: #2C241F; --surface-2: #33291F; --fg: #F4EDE3; --muted: #CDBFAE; --line: rgba(244,237,227,.14);
  --gold-base: #D6B144; --accent: #D6B144; --on-accent: #1B1612; --ring: #D6B144;
  --tint-1: #3A2F28; --tint-2: #33291F; --tint-3: #2F2722;
}
.mood-men main {
  --bg: #F3F2EF; --surface: #FFFFFF; --surface-2: #E8E6E1; --fg: #1E1F21; --muted: #55575B; --line: rgba(30,31,33,.14);
  --gold-base: #7A6230; --accent: #7A6230; --on-accent: #FFFDF8; --ring: #7A6230;
  --tint-1: #E3E2DE; --tint-2: #DADCDF; --tint-3: #E8E4DC; color-scheme: light;
}
.mood-women main {
  --bg: #FAF6F1; --surface: #FFFFFF; --surface-2: #F1E9E1; --fg: #241F1C; --muted: #64584F; --line: rgba(36,31,28,.13);
  --gold-base: #8A6A1F; --accent: #8A6A1F; --on-accent: #FFFDF8; --ring: #8A6A1F;
  --tint-1: #F3E4DE; --tint-2: #EDE6DA; --tint-3: #F1E9EC; color-scheme: light;
}
.mood-kids main {
  --bg: #FFF9F2; --surface: #FFFFFF; --surface-2: #F8EFE4; --fg: #2E2A33; --muted: #5F5966; --line: rgba(46,42,51,.13);
  --gold-base: #7A5F14; --accent: #7A5F14; --on-accent: #FFFDF8; --ring: #7A5F14;
  --tint-1: #DFF0E8; --tint-2: #FBE3D6; --tint-3: #E7E1F5; color-scheme: light;
}

/* ---------- Mood hero ---------- */
.mood-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; min-height: 560px; }
@media (max-width: 749px) { .mood-hero { min-height: 520px; } }
.mood-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mood-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mood-hero .wrap { display: flex; align-items: flex-end; padding-block: var(--s6) var(--s5); }
.mood-hero__panel { display: grid; gap: var(--s2); max-width: 560px; padding: var(--s4); border-radius: var(--radius-lg); }
.mood-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.03; color: var(--fg); }
.mood-hero .lede { color: var(--muted); font-size: 1.08rem; }
.mood-hero .crumbs { color: var(--muted); }
.mood-hero .btn { justify-self: start; }
.mood-hero__btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mood-hero__btn:hover svg { transform: translateY(2px); } }

/* Light moods: frosted panel over the photo */
.mood-summer .mood-hero__panel, .mood-men .mood-hero__panel, .mood-women .mood-hero__panel {
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px);
}
.mood-summer .mood-hero__shade { background: linear-gradient(180deg, rgba(255,255,255,.1) 30%, rgba(251,248,242,.55) 100%); }
.mood-men .mood-hero__shade, .mood-women .mood-hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.35) 100%); }
/* Winter: text straight on a warm, deep gradient */
.mood-winter .mood-hero__shade { background: linear-gradient(90deg, rgba(27,22,18,.92) 0%, rgba(27,22,18,.66) 50%, rgba(27,22,18,.2) 100%); }
.mood-winter .mood-hero__panel { padding-inline: 0; }

/* ---------- Featured piece standing in a collection banner (Winter: Premium Jacquard Karandi) ---------- */
.mood-hero .wrap:has(.mood-feature) { justify-content: space-between; gap: var(--s5); }
.mood-feature {
  position: relative; flex: none; margin: 0; width: min(300px, 32vw); aspect-ratio: 3 / 4.4; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(214,177,68,.45); box-shadow: 0 30px 60px -28px rgba(0,0,0,.85), 0 0 0 8px rgba(214,177,68,.06);
  transform: rotate(1.5deg); transition: transform .6s var(--ease-out);
}
.mood-feature img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1s var(--ease-out); }
.mood-feature figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 52px 16px 14px; display: grid; gap: 3px;
  background: linear-gradient(180deg, transparent, rgba(8,8,8,.9) 55%); color: #F3EEE3;
}
.mood-feature figcaption b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.mood-feature figcaption small { color: #CFC8B8; font-size: .8rem; }
.mood-feature__tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 6px; background: #D6B144; color: #0A0A0A; font-size: .72rem; font-weight: 600; letter-spacing: .06em; }
@media (hover: hover) and (pointer: fine) {
  .mood-feature:hover { transform: rotate(0deg) translateY(-6px); }
  .mood-feature:hover img { transform: scale(1.05); }
}
@media (max-width: 760px) {
  /* Phones: the outfit sits on top, the text panel underneath */
  .mood-hero .wrap:has(.mood-feature) { flex-direction: column-reverse; align-items: stretch; gap: var(--s3); }
  .mood-feature { width: 100%; aspect-ratio: 4 / 4.4; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .mood-feature, .mood-feature img { transition: none; transform: none !important; } }

/* ---------- Fabric notes ---------- */
.fabric-notes { padding-block: var(--s6) var(--s4); }
.fabric-notes__head { display: grid; gap: 10px; margin-bottom: var(--s4); max-width: 640px; }
.fabric-notes__head p:last-child { color: var(--muted); }
.fabric-notes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fabric-note { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--radius-lg); background: var(--tint-1); transition: transform .4s var(--ease-out); }
.fabric-note:nth-child(3n+2) { background: var(--tint-2); }
.fabric-note:nth-child(3n+3) { background: var(--tint-3); }
@media (hover: hover) and (pointer: fine) { .fabric-note:hover { transform: translateY(-4px); } }
.fabric-note svg { width: 32px; height: 32px; color: var(--gold-base); }
.fabric-note h3 { font-size: 1.45rem; }
.fabric-note p { color: var(--muted); font-size: .96rem; }

/* ---------- Shop-by tiles (Men and Women) ---------- */
.shop-tiles { padding-block: var(--s6) var(--s3); }
.shop-tiles ul { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.shop-tile { position: relative; display: grid; align-content: end; gap: 4px; min-height: 180px; padding: 20px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; text-decoration: none; color: #F4EDE3; }
.shop-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease-out); }
.shop-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.1) 20%, rgba(10,10,10,.82) 100%); }
.shop-tile b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.shop-tile span { font-size: .9rem; color: #DCD5C6; }
@media (hover: hover) and (pointer: fine) { .shop-tile:hover img { transform: scale(1.06); } .shop-tile:hover b { color: #F0D27A; } }

/* Product area: soft card surfaces on light moods */
.mood-summer .card-media, .mood-men .card-media, .mood-women .card-media { border-color: var(--line); background: var(--surface-2); }
.mood main .toolbar { border-bottom-color: var(--line); }
.mood main .chip-check:has(input:checked) { background: color-mix(in srgb, var(--gold-base) 12%, transparent); }

/* ---------- Kids: coming soon ---------- */
.kids-soon { position: relative; overflow: hidden; padding-block: var(--s6) var(--s7); }
.kids-soon::before, .kids-soon::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.kids-soon::before { width: 460px; height: 460px; background: var(--tint-1); top: -160px; right: -120px; }
.kids-soon::after { width: 320px; height: 320px; background: var(--tint-3); bottom: -120px; left: -100px; }
.kids-soon .wrap { position: relative; z-index: 1; display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 990px) { .kids-soon .wrap { grid-template-columns: 1.05fr .95fr; } }
.kids-soon__copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.kids-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--tint-2); color: var(--fg); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.kids-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-base); }
.kids-soon h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1.02; }
.kids-soon .lede { color: var(--muted); font-size: 1.12rem; max-width: 46ch; }
.kids-notify { display: grid; gap: 8px; width: 100%; max-width: 480px; }
.kids-notify__row { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.kids-notify__row:focus-within { border-color: var(--gold-base); }
.kids-notify__row input { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; color: var(--fg); }
.kids-notify__row input:focus { outline: none; }
.kids-notify .note { color: var(--muted); font-size: .92rem; }
.kids-art { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 32px; position: relative; overflow: hidden;
  background: radial-gradient(30% 24% at 30% 30%, #FFFFFF, rgba(255,255,255,0) 70%), linear-gradient(160deg, #FBE3D6 0%, #F6EFE2 50%, #DFF0E8 100%); }
.kids-art span { position: absolute; border-radius: 50%; }
.kids-art span:nth-child(1) { width: 34%; aspect-ratio: 1; background: #E7E1F5; left: 14%; bottom: 14%; }
.kids-art span:nth-child(2) { width: 22%; aspect-ratio: 1; background: #FFD9B8; right: 18%; top: 18%; }
.kids-art span:nth-child(3) { width: 14%; aspect-ratio: 1; background: #CFE7DA; right: 26%; bottom: 26%; }
.kids-art img { position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%); }
.kids-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  /* Let the photo show above the text panel instead of hiding behind it */
  .mood-hero { min-height: 0; }
  .mood-hero .wrap { padding-block: 200px var(--s3); }
  .mood-hero__panel { padding: var(--s3); gap: 12px; }
  .mood-winter .mood-hero .wrap { padding-block: 160px var(--s4); }
  .mood-hero .wrap:has(.mood-feature) { padding-block: var(--s3) var(--s4); }
  .mood-hero h1 { font-size: 2.4rem; }
  .mood-hero .btn { width: 100%; justify-content: center; }
  .fabric-notes { padding-block: var(--s5) var(--s2); }
  .fabric-notes ul { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fabric-note { padding: 18px; }
  .fabric-note svg { width: 26px; height: 26px; }
  .fabric-note h3 { font-size: 1.2rem; }
  .fabric-note p { font-size: .9rem; }
  .shop-tiles { padding-block: var(--s5) var(--s2); }
  .shop-tiles ul { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shop-tile { min-height: 150px; padding: 14px; }
  .shop-tile b { font-size: 1.2rem; }
  .kids-soon { padding-block: var(--s5) var(--s6); }
  .kids-notify__row { padding-left: 14px; }
  .kids-notify__row .btn { padding: 0 16px; }
  .kids-art { max-height: 360px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .fabric-note:hover, .shop-tile:hover img, .mood-hero__btn:hover svg { transform: none !important; }
}
