/* MIOYOU editorial storefront layer. Product, cart and account behaviour is
   inherited from the proven Meili storefront; this file owns the new identity. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');

:root {
  --bg: #f7f3f7;
  --ink: #211a27;
  --ink-muted: #6f6472;
  --announce-bg: #181421;
  --announce-fg: #f8f1fa;
  --header-bg: #211a2c;
  --header-border: #d9cedd;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --mio-ink: #181421;
  --mio-violet: #a890c7;
  --mio-rose: #e7acc7;
  --mio-pearl: #f5f0f5;
}

body { background: var(--bg); }
body, button, input, select, textarea { font-family: var(--font-body); }

.announce-bar { background: var(--mio-ink); color: var(--mio-pearl); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.site-header { background: #211a2c; border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { gap: clamp(20px, 3vw, 44px); }
.mio-logo { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--font-body); letter-spacing: .17em; color: var(--mio-pearl); }
.mio-logo img { width: 36px; height: 36px; }
.primary-nav ul { gap: clamp(18px, 2.5vw, 34px); }
.primary-nav a { color: var(--mio-pearl); font-weight: 500; opacity: .83; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: #fff; opacity: 1; }
.primary-nav a::after { background: var(--mio-rose); }
.header-actions { gap: 18px; }
.mio-header-link { color: var(--mio-pearl); font-size: 12px; letter-spacing: .04em; white-space: nowrap; }
.mio-header-link:hover { color: var(--mio-rose); }
.mio-header-link span:not([hidden]) { display: inline-flex; min-width: 18px; justify-content: center; }
.mio-header-cart { padding: 9px 14px; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; }
.nav-toggle span { background: var(--mio-pearl); }

.mio-hero { min-height: 550px; display: grid; grid-template-columns: 1fr 1fr; background: radial-gradient(circle at 70% 40%, #443257 0, #241b31 38%, #181421 78%); color: var(--mio-pearl); overflow: hidden; }
.mio-hero__copy { align-self: center; width: min(100%, 660px); padding: 90px 7vw 90px max(7vw, calc((100vw - 1280px)/2)); position: relative; z-index: 1; }
.mio-eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mio-violet); }
.mio-hero .mio-eyebrow { color: #d8c1e9; }
.mio-hero h1 { margin-top: 24px; max-width: 580px; font-size: clamp(48px, 6.1vw, 90px); line-height: 1.03; font-weight: 500; letter-spacing: -.04em; }
.mio-hero__text { max-width: 470px; margin-top: 25px; color: #ddd4e3; font-size: 15px; line-height: 1.75; }
.mio-actions { margin-top: 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.mio-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 22px; background: var(--mio-rose); color: #221725; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border-radius: 2px; transition: transform .2s, background .2s; }
.mio-button:hover { background: #f5c5dc; transform: translateY(-2px); }
.mio-text-link { color: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.mio-text-link span { margin-left: 5px; color: var(--mio-rose); }
.mio-hero__art { min-width: 0; display: flex; align-items: stretch; justify-content: flex-end; }
.mio-hero__art img { display: block; width: 100%; height: 100%; max-height: 690px; object-fit: cover; object-position: center; }

.mio-section { max-width: 1440px; margin: 0 auto; padding: 78px var(--side-pad); }
.mio-section__head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.mio-section__head h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 54px); font-weight: 500; }
.mio-section__head p:not(.mio-eyebrow) { margin-top: 10px; color: var(--ink-muted); font-size: 14px; }
.mio-section__head .mio-text-link { color: var(--ink); }
.mio-look-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.mio-look-card { min-width: 0; background: #211a2c; color: var(--mio-pearl); overflow: hidden; }
.mio-look-card__image { position: relative; aspect-ratio: 1.38; background: linear-gradient(120deg, #251c35, #583d65); overflow: hidden; }
.mio-look-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mio-look-card:hover img { transform: scale(1.035); }
.mio-look-card__number { position: absolute; right: 19px; top: 16px; font: 500 13px var(--font-body); letter-spacing: .13em; background: rgba(24,20,33,.55); padding: 5px 10px; }
.mio-look-card__copy { padding: 23px 26px 28px; }
.mio-look-card__copy .mio-eyebrow { color: #d8b8d8; }
.mio-look-card__copy h3 { margin-top: 8px; font-size: clamp(26px, 3vw, 38px); font-weight: 500; }
.mio-look-card__copy p:last-child { margin-top: 6px; color: #cdc3d1; font-size: 13px; }
.mio-empty { color: var(--ink-muted); }

.mio-feature { min-height: 550px; display: grid; grid-template-columns: 1fr 1fr; background: var(--mio-ink); color: var(--mio-pearl); }
.mio-feature__art { min-width: 0; background: #2c2138; }
.mio-feature__art img { width: 100%; height: 100%; max-height: 760px; object-fit: cover; display: block; }
.mio-feature__copy { align-self: center; padding: 76px clamp(30px, 7vw, 110px); }
.mio-back { display: inline-block; margin-bottom: 48px; color: #d4c2df; font-size: 12px; }
.mio-feature h1 { margin-top: 14px; font-size: clamp(46px, 6vw, 80px); font-weight: 500; }
.mio-feature__copy > p:not(.mio-eyebrow) { max-width: 490px; margin-top: 20px; color: #e0d8e4; font-size: 15px; line-height: 1.7; }
.mio-feature__copy .mio-disclosure { padding-left: 14px; border-left: 2px solid var(--mio-violet); font-size: 12px !important; color: #bfb2c6 !important; }
.mio-feature .mio-button { margin-top: 28px; }
.mio-look-question { display: inline-block; margin: 18px 0 0 16px; color: #e4c5e1; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.mio-product-note { max-width: 430px; margin: 8px 0 20px; color: var(--ink-muted); font-size: 12px; line-height: 1.55; }

.mio-steps { padding-top: 70px; padding-bottom: 100px; }
.mio-step-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; border-top: 1px solid #d9cedd; }
.mio-step { padding-top: 22px; }
.mio-step__number { display: block; color: #8f6ea9; font: 700 12px var(--font-body); letter-spacing: .15em; margin-bottom: 20px; }
.mio-step h3 { font: 600 27px var(--font-heading); }
.mio-step p { margin-top: 10px; color: var(--ink-muted); font-size: 13px; max-width: 310px; }

.favorites-sec { padding-top: 70px; padding-bottom: 70px; background: #eee7f0; }
.favorites-head h2, .shop-page-header h1 { font-weight: 500; }
.prod-img { background: #e5dbe7; border-radius: 0; }
.site-footer { background: var(--mio-ink); color: var(--mio-pearl); border: 0; }
.footer-inner { grid-template-columns: 2fr repeat(3,1fr); gap: 38px; }
.footer-logo, .footer-col h3 { color: var(--mio-pearl); }
.footer-brand p, .footer-col a, .footer-bottom { color: #c2b5c8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255,255,255,.12); }

@media (max-width: 900px) {
  .mio-hero { grid-template-columns: 1fr 1fr; }
  .mio-hero__copy { padding: 70px 20px 70px 6vw; }
  .mio-hero h1 { font-size: clamp(42px, 6vw, 65px); }
  .mio-header-link:first-child { display: none; }
  .footer-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
  .header-inner { gap: 12px; }
  .mio-logo { font-size: 16px; }
  .mio-logo img { width: 30px; height: 30px; }
  .primary-nav { background: #211a2c; }
  .primary-nav ul { background: #211a2c; }
  .primary-nav a { color: var(--mio-pearl); }
  .header-actions { margin-left: auto; gap: 11px; }
  .mio-header-link[href*="favourites"] { display: none; }
  .mio-header-cart { padding: 7px 10px; }
  .mio-hero { display: flex; min-height: unset; flex-direction: column-reverse; }
  .mio-hero__art { height: 330px; overflow: hidden; }
  .mio-hero__art img { max-height: unset; object-position: center 35%; }
  .mio-hero__copy { width: 100%; padding: 38px 24px 58px; }
  .mio-hero h1 { margin-top: 14px; font-size: clamp(40px, 11vw, 58px); }
  .mio-hero__text { margin-top: 17px; font-size: 14px; }
  .mio-actions { gap: 20px; }
  .mio-section { padding: 55px 20px; }
  .mio-section__head { align-items: flex-start; flex-direction: column; gap: 13px; }
  .mio-section__head h2 { font-size: 36px; }
  .mio-look-grid { grid-template-columns: 1fr; gap: 20px; }
  .mio-look-card__image { aspect-ratio: 1.16; }
  .mio-feature { display: flex; flex-direction: column; }
  .mio-feature__art { height: 390px; }
  .mio-feature__copy { padding: 42px 24px 64px; }
  .mio-back { margin-bottom: 28px; }
  .mio-feature h1 { font-size: 49px; }
  .mio-step-grid { grid-template-columns: 1fr; gap: 24px; }
  .mio-step { padding-top: 18px; }
  .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 22px; padding: 50px 22px; }
  .footer-brand { grid-column: 1/-1; }
}
