/* ITRA Perfumes — one stylesheet, no framework.
   Palette contrast is measured, not guessed. See products.json brand._usage. */
:root{
  --purple:#570265; --purple-deep:#3d0148; --lilac:#d7a1d2; --lilac-wash:#f7eef6;
  --gold:#C9A227; --gold-text:#8A6A12;
  --ink:#241426; --muted:#6B5A6E; --white:#fefeff; --cream:#faf6f8;
  --line:#e8dbe6;
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --sans:'Jost',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --wrap:1180px; --r:2px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);font-size:16px;line-height:1.65;color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;line-height:1.15;margin:0 0 .5em;color:var(--purple);letter-spacing:.01em}
h1{font-size:clamp(2.2rem,5vw,3.6rem)}
h2{font-size:clamp(1.7rem,3.4vw,2.6rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.eyebrow{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);font-weight:500;margin-bottom:.9em}
.center{text-align:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(254,254,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px}
.brand-link{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--purple)}
.brand-link .mark{height:32px;width:auto;flex:none}
.brand-link .word{height:28px;width:auto}
.nav{display:flex;align-items:center;gap:30px}
.nav a{text-decoration:none;font-size:.86rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);padding:6px 0;border-bottom:1px solid transparent;transition:border-color .18s,color .18s}
.nav a:hover,.nav a[aria-current="page"]{color:var(--purple);border-bottom-color:var(--gold)}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:var(--r);padding:9px 11px;cursor:pointer;color:var(--purple)}
.nav-toggle svg{width:20px;height:20px;display:block}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 26px;border-radius:var(--r);font-size:.82rem;letter-spacing:.13em;text-transform:uppercase;font-weight:500;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.btn svg{width:17px;height:17px;flex:none}
.btn-primary{background:var(--purple);color:var(--white)}
.btn-primary:hover{background:var(--purple-deep)}
.btn-ghost{border-color:var(--purple);color:var(--purple);background:transparent}
.btn-ghost:hover{background:var(--purple);color:var(--white)}
.btn-wa{background:#1FA855;color:#fff}
.btn-wa:hover{background:#17833f}
.on-purple .btn-ghost{border-color:rgba(254,254,255,.55);color:var(--white)}
.on-purple .btn-ghost:hover{background:var(--white);color:var(--purple)}

/* ---------- hero ---------- */
.hero{background:var(--cream);border-bottom:1px solid var(--line)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;padding:76px 0}
.hero h1{margin-bottom:.35em}
.hero .lede{font-size:1.1rem;color:var(--muted);max-width:44ch;margin-bottom:1.8em}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-media{position:relative}
.hero-media img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r)}
.hero-media::after{content:"";position:absolute;inset:auto -14px -14px auto;width:58%;height:58%;border:1px solid var(--gold);z-index:-1;border-radius:var(--r)}

/* ---------- sections ---------- */
.section{padding:78px 0}
.section-head{max-width:60ch;margin:0 auto 46px;text-align:center}
.section-head p{color:var(--muted);margin:0}
.band{background:var(--purple);color:var(--white)}
.band h2,.band h3{color:var(--white)}
.band .eyebrow{color:var(--lilac)}
.band p{color:rgba(254,254,255,.82)}
.tint{background:var(--lilac-wash)}

/* ---------- category cards ---------- */
.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.cat{position:relative;display:block;text-decoration:none;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--white);transition:border-color .2s,transform .2s}
.cat:hover{border-color:var(--gold);transform:translateY(-3px)}
.cat-static{cursor:default}
.cat-static:hover{border-color:var(--line);transform:none}
.cat-img{aspect-ratio:4/3;background:var(--lilac-wash)}
.cat-img img{width:100%;height:100%;object-fit:cover}
.cat-body{padding:22px 24px 26px}
.cat-body h3{margin-bottom:.35em}
.cat-body p{color:var(--muted);font-size:.92rem;margin:0}

/* ---------- product grid ---------- */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.card{display:flex;flex-direction:column;text-decoration:none;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--white);transition:border-color .2s,transform .2s,box-shadow .2s}
.card:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 12px 30px rgba(87,2,101,.09)}
.card-img{aspect-ratio:1;background:var(--lilac-wash);overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover .card-img img{transform:scale(1.04)}
.card-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:4px;flex:1}
.card-name{font-family:var(--serif);font-size:1.3rem;color:var(--purple);line-height:1.2}
.card-size{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.card-price{margin-top:auto;padding-top:12px;font-size:1.02rem;font-weight:500;color:var(--ink)}
.card-price .mrp{color:var(--muted);text-decoration:line-through;font-weight:400;margin-left:8px;font-size:.9rem}

/* ---------- product detail ---------- */
.crumbs{font-size:.78rem;color:var(--muted);padding:22px 0}
.crumbs a{text-decoration:none}.crumbs a:hover{color:var(--purple)}
.crumbs span{margin:0 7px;opacity:.5}
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding-bottom:70px;align-items:start}
.gallery-main{aspect-ratio:1;background:var(--lilac-wash);border-radius:var(--r);overflow:hidden}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.thumbs{display:flex;gap:12px;margin-top:12px}
.thumbs button{width:76px;height:76px;padding:0;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:none;cursor:pointer}
.thumbs button[aria-selected="true"]{border-color:var(--purple)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.pdp-size{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.pdp-price{font-size:1.9rem;font-family:var(--serif);color:var(--purple);margin:14px 0 6px}
.pdp-price .mrp{font-size:1.1rem;color:var(--muted);text-decoration:line-through;margin-left:10px}
.pdp-note{font-size:.84rem;color:var(--muted);margin-bottom:26px}
.pdp .btn{width:100%;max-width:340px}
.spec{border-top:1px solid var(--line);margin-top:30px;padding-top:24px;display:grid;grid-template-columns:auto 1fr;gap:10px 26px;font-size:.92rem}
.spec dt{color:var(--muted)}
.spec dd{margin:0}
.notes{margin-top:30px;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.notes-head{background:var(--lilac-wash);padding:14px 20px;font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:var(--purple);font-weight:500}
.notes-body{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.note{padding:20px;border-right:1px solid var(--line)}
.note:last-child{border-right:0}
.note dt{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-text);margin-bottom:8px}
.note dd{margin:0;font-family:var(--serif);font-size:1.05rem;color:var(--ink);line-height:1.5}

/* ---------- feature band ---------- */
.feats{display:grid;grid-template-columns:repeat(4,1fr);gap:34px;text-align:center}
.feat svg{width:30px;height:30px;margin:0 auto 14px;color:var(--gold)}
.feat h3{font-size:1.05rem;margin-bottom:.3em}
.feat p{font-size:.88rem;margin:0}

/* ---------- footer ---------- */
.site-footer{background:var(--purple);color:var(--white);padding:62px 0 28px}
.foot-grid{display:grid;grid-template-columns:1.6fr repeat(auto-fit,minmax(132px,1fr));gap:44px;padding-bottom:40px}
.foot-grid .word{height:44px;width:auto;margin-bottom:18px;color:var(--white)}
.foot-grid p{color:rgba(254,254,255,.78);font-size:.92rem}
.foot-grid h4{color:var(--white);font-family:var(--sans);font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;margin-bottom:16px}
.foot-links{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.foot-links a{text-decoration:none;color:rgba(254,254,255,.8);font-size:.92rem}
.foot-links a:hover{color:var(--white);text-decoration:underline;text-underline-offset:3px}
.foot-bottom{border-top:1px solid rgba(254,254,255,.16);padding-top:22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.8rem;color:rgba(254,254,255,.6)}

/* ---------- prose ---------- */
.prose{max-width:68ch;margin:0 auto}
.prose h2{margin-top:1.6em}
.prose ul{padding-left:1.15em}
.prose li{margin-bottom:.5em}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:40px;padding:54px 0}
  .hero-media{order:-1}
  .pdp{grid-template-columns:1fr;gap:36px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .cats{grid-template-columns:1fr}
  .feats{grid-template-columns:repeat(2,1fr);gap:28px}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  .nav{position:fixed;inset:76px 0 auto;flex-direction:column;align-items:stretch;gap:0;background:var(--white);border-bottom:1px solid var(--line);padding:8px 24px 20px;transform:translateY(-140%);transition:transform .25s;box-shadow:0 14px 30px rgba(36,20,38,.1)}
  .nav[data-open="true"]{transform:translateY(0)}
  .nav a{padding:13px 0;border-bottom:1px solid var(--line)}
  .nav a:last-child{border-bottom:0}
  .nav-toggle{display:block}
  .notes-body{grid-template-columns:1fr}
  .note{border-right:0;border-bottom:1px solid var(--line)}
  .note:last-child{border-bottom:0}
  .foot-grid{grid-template-columns:1fr;gap:32px}
  .section{padding:56px 0}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}
