/* =========================================================================
   LE SIRENE — shared stylesheet · "ALTA MODA" direction
   High-contrast Didone (Bodoni Moda) + geometric caps (Jost).
   Symmetrical, airy, warm-bone. Ref: The Row / Khaite.
   Deep navy + warm bone + one sea-blue accent. No pink, no gradients,
   no glow, no hover-scale. The signature is the Bodoni wordmark + a thin
   centred sea rule (no big numerals).
   ========================================================================= */

:root {
  /* palette */
  --navy-deep: #102236;
  --navy:      #16314A;
  --navy-soft: #1d3d5c;
  --bone:      #ECE9E2;   /* warm cream-bone */
  --bone-lt:   #F4F2ED;
  --paper:     #F8F7F3;
  --sea:       #2A7297;
  --sea-deep:  #205a78;
  --line:      #ddd8cf;   /* warm hairline */
  --line-dark: rgba(244,242,237,0.18);
  --ink:       #1a2230;
  --ink-soft:  #5c6470;
  --bone-soft: rgba(244,242,237,0.66);

  /* type */
  --serif: "Bodoni Moda", "Didot", Georgia, serif;   /* display Didone */
  --sans:  "Jost", system-ui, -apple-system, sans-serif; /* geometric caps + body */

  /* metrics */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 0px;
  --section-y: clamp(76px, 9vw, 132px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone-lt);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---- typographic primitives -------------------------------------------- */

.wordmark {           /* Bodoni — the brand signature, NOT italic */
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  font-optical-sizing: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sea);
}

.smallcaps {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* THE move: centred section head — thin sea rule + Bodoni headline.
   (No more oversized numerals.) */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 66px);
}
.sec-head::before {
  content: "";
  width: 54px;
  height: 1px;
  background: var(--sea);
  margin-bottom: clamp(22px, 3vw, 32px);
}
.sec-num { display: none; }   /* retired */
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0;
}
.sec-head h2 em { font-style: italic; }
.sec-head .sub {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  margin: 16px auto 0;
  max-width: 50ch;
}

section { padding-block: var(--section-y); }

/* =========================================================================
   HEADER (shared chrome)
   ========================================================================= */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244,242,237,0.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand-lockup { display: flex; flex-direction: column; line-height: 1; gap: 6px; }
.brand-lockup .mark {
  font-size: 21px;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.brand-lockup .place {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sea);
}

.head-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.head-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-block: 4px;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.head-nav a:hover { color: var(--navy-deep); border-color: var(--sea); }
.head-nav a[aria-current="page"] { color: var(--navy-deep); border-color: var(--sea); }

/* variant switcher — refined segmented control */
.switch {
  display: inline-flex;
  border: 1px solid var(--navy-deep);
}
.switch a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-deep);
  padding: 9px 16px;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.switch a.on { background: var(--navy-deep); color: var(--bone-lt); }
.switch a:not(.on):hover { background: rgba(16,34,54,0.06); }

/* header CTA / cart button — squared, tracked caps (editorial, not pill) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn-sea { background: var(--sea); color: #fff; }
.btn-sea:hover { background: var(--sea-deep); }
.btn-ghost { background: transparent; color: var(--bone-lt); border-color: var(--bone-soft); }
.btn-ghost:hover { background: rgba(244,242,237,0.08); border-color: var(--bone-lt); }
.btn-ink { background: var(--navy-deep); color: var(--bone-lt); }
.btn-ink:hover { background: var(--navy); }
.btn-outline-ink { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn-outline-ink:hover { background: var(--navy-deep); color: var(--bone-lt); }
.btn-sm { padding: 11px 18px; }

.cart-pill .count {
  background: var(--bone-lt);
  color: var(--navy-deep);
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0;
}

/* =========================================================================
   HERO (shared chrome) — dark navy, centred Bodoni
   ========================================================================= */
.hero {
  background: var(--navy-deep);
  color: var(--bone-lt);
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 12vw, 156px) 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(180deg, transparent 0 40px, rgba(42,114,151,0.045) 40px 41px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(62px, 8vw, 108px);
  text-align: center;
}
.hero .kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: clamp(26px, 3.4vw, 40px);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(46px, 11vw, 132px);
  line-height: 0.94;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin: 0;
}
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 29px);
  font-weight: 400;
  line-height: 1.36;
  max-width: 26ch;
  margin: clamp(26px, 3.4vw, 40px) auto 0;
  color: var(--bone);
}
.hero .tagline em { font-style: italic; color: #fff; }
.hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(34px, 4vw, 48px);
}
.hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(44px, 5vw, 68px);
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.hero .meta-row .item { text-align: center; }
.hero .meta-row .item .k { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sea); font-weight: 500; }
.hero .meta-row .item .v { font-family: var(--serif); font-size: 17px; color: var(--bone); margin-top: 8px; }

/* the recurring sea-blue wave divider — kept, but finer */
.wave { display: block; width: 100%; height: clamp(34px, 5vw, 62px); }
.wave path { fill: none; stroke: var(--sea); stroke-width: 1.4; }
.wave.on-navy { background: var(--navy-deep); }

/* =========================================================================
   IMAGE PLACEHOLDERS
   ========================================================================= */
.ph {
  position: relative;
  background-color: var(--bone);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(42,114,151,0.07) 0 10px,
    rgba(42,114,151,0) 10px 20px);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ph.on-navy {
  background-color: #16293c;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(42,114,151,0.24) 0 10px,
    rgba(42,114,151,0) 10px 20px);
  border-color: rgba(244,242,237,0.12);
}
.ph .ph-tag {
  position: absolute;
  left: 12px; bottom: 11px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--sea-deep);
  background: rgba(248,247,243,0.92);
  padding: 4px 8px;
}
.ph.on-navy .ph-tag { color: var(--bone); background: rgba(16,34,54,0.78); }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================================
   VARIANT A — COLLEZIONI grid (caption below, centred — editorial)
   ========================================================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 30px) clamp(16px, 1.8vw, 26px);
}
.cat-card { display: block; }
.cat-card .ph { aspect-ratio: 3 / 4; }
.cat-card:hover .ph::after {
  content: ""; position: absolute; inset: 0; background: rgba(42,114,151,0.08);
}
.cat-card .cat-label {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}
.cat-card .cat-label .name {
  font-family: var(--serif);
  font-style: normal;
  font-size: 21px;
  color: var(--ink);
  text-align: center;
}
.cat-card .cat-label .idx { display: none; }
.cat-card:hover .cat-label .name { color: var(--sea-deep); }

/* =========================================================================
   LO STILE — dark editorial split (shared)
   ========================================================================= */
.editorial { background: var(--navy-deep); color: var(--bone); }
.editorial .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.editorial .ph { aspect-ratio: 4 / 5; }
.editorial h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 16px 0 0;
}
.editorial h2 em { font-style: italic; color: var(--sea); }
.editorial p { font-family: var(--sans); color: var(--bone-soft); font-size: 16px; max-width: 44ch; margin: 24px 0 0; }
.editorial p + p { margin-top: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pill {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--line-dark);
  padding: 9px 15px;
}
.pill .dot { color: var(--sea); margin-right: 7px; }

/* =========================================================================
   LOOKBOOK — asymmetric magazine grid (Variant A)
   ========================================================================= */
.lookbook {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(92px, 9vw, 142px);
  gap: clamp(14px, 1.6vw, 22px);
}
.lb-a { grid-column: span 3; grid-row: span 3; }
.lb-b { grid-column: span 3; grid-row: span 2; }
.lb-c { grid-column: span 2; grid-row: span 2; }
.lb-d { grid-column: span 1; grid-row: span 2; }
.lb-e { grid-column: span 3; grid-row: span 2; }
.lb-f { grid-column: span 3; grid-row: span 2; }

/* =========================================================================
   ACCENT BANNER (Variant A) — cerimonia
   ========================================================================= */
.banner { background: var(--sea); color: #fff; }
.banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: clamp(42px, 5vw, 66px);
  flex-wrap: wrap;
}
.banner .b-txt { max-width: 62ch; }
.banner .b-txt .lead { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
.banner .b-txt p { font-family: var(--sans); margin: 14px 0 0; color: rgba(255,255,255,0.88); font-size: 16px; }
.banner .btn-paper { background: var(--bone-lt); color: var(--navy-deep); }
.banner .btn-paper:hover { background: #fff; }

/* =========================================================================
   DOVE SIAMO / NEGOZIO + MAP (shared)
   ========================================================================= */
.visit .split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4vw, 66px);
  align-items: stretch;
}
.visit .info dl { margin: 0; }
.visit .info .row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.visit .info .row:last-child { border-bottom: 1px solid var(--line); }
.visit .info dt { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sea); margin: 4px 0 0; }
.visit .info dd { margin: 0; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.visit .info dd .muted { font-family: var(--sans); color: var(--ink-soft); display: block; font-size: 13.5px; margin-top: 4px; }
.visit .info dd a:hover { color: var(--sea); }
.visit .socials { display: flex; gap: 12px; margin-top: 28px; }

/* stylised schematic map */
.mapcard {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e7e4dc;
  position: relative;
  min-height: 360px;
}
.mapcard svg { display: block; width: 100%; height: 100%; }
.map-bg { fill: #e7e4dc; }
.map-block { fill: #ddd9d0; }
.map-street { stroke: #c8c2b6; stroke-width: 7; fill: none; }
.map-gioberti { stroke: var(--sea); stroke-width: 9; fill: none; stroke-linecap: round; }
.map-label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--sea-deep); }
.map-label.faint { fill: #9a9489; }
.pin .pin-body { fill: var(--sea); }
.pin .pin-dot { fill: #fff; }
.map-tag {
  position: absolute;
  left: 18px; top: 18px;
  background: var(--navy-deep);
  color: var(--bone-lt);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 13px;
}
.map-tag .wordmark { text-transform: uppercase; letter-spacing: 0.14em; }

/* =========================================================================
   VARIANT B — SHOP GRID (caption below, centred)
   ========================================================================= */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.2vw, 34px) clamp(16px, 1.8vw, 26px);
}
.prod { display: flex; flex-direction: column; }
.prod .ph { aspect-ratio: 4 / 5; }
.prod .sale-flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--sea); color: #fff;
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 10px;
}
.prod .body { padding: 18px 6px 4px; display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.prod .cat { font-size: 9.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sea); }
.prod h3 { font-family: var(--serif); font-style: normal; font-weight: 500; font-size: 23px; line-height: 1.12; margin: 9px 0 0; }
.prod .desc { font-family: var(--sans); font-size: 13px; line-height: 1.55; color: var(--ink-soft); margin: 10px 0 0; max-width: 30ch; }
.prod .buy {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 16px; padding-top: 16px;
}
.price { font-family: var(--serif); font-weight: 500; font-size: 22px; font-feature-settings: "tnum" 1; letter-spacing: 0.01em; color: var(--navy-deep); }
.price .was { font-size: 15px; color: var(--ink-soft); text-decoration: line-through; margin-right: 9px; font-weight: 400; }

/* =========================================================================
   VARIANT B — SPEDIZIONI & RESI cards
   ========================================================================= */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px); }
.info-card {
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px);
  text-align: center;
}
.info-card .num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 34px; color: var(--sea); line-height: 1; }
.info-card h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 18px 0 0; }
.info-card p { font-family: var(--sans); font-size: 14.5px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.58; }

/* angled note (Variant B — anche in negozio) */
.note-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(23px, 2.9vw, 34px);
  line-height: 1.22;
  color: var(--navy-deep);
  border-left: 2px solid var(--sea);
  padding-left: 24px;
  margin: 0 0 32px;
  max-width: 30ch;
}

/* =========================================================================
   FOOTER (shared chrome)
   ========================================================================= */
.site-foot {
  background: var(--navy-deep);
  color: var(--bone-soft);
  padding-block: clamp(64px, 7vw, 96px) 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
}
.site-foot .f-mark { font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--bone-lt); line-height: 1; text-transform: uppercase; letter-spacing: 0.12em; }
.site-foot .f-tag { font-family: var(--sans); margin: 18px 0 0; max-width: 34ch; font-size: 14.5px; line-height: 1.58; }
.site-foot h4 { font-size: 10.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sea); margin: 0 0 18px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-foot li { font-size: 14.5px; }
.site-foot a:hover { color: var(--bone-lt); }
.foot-bar {
  max-width: var(--maxw);
  margin: clamp(48px, 6vw, 74px) auto 0;
  padding: 26px var(--gutter) 0;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* social glyph buttons */
.soc {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: color .18s, border-color .18s, background .18s;
}
.soc:hover { color: #fff; background: var(--sea); border-color: var(--sea); }
.soc svg { width: 18px; height: 18px; }
.editorial .soc, .site-foot .soc { border-color: var(--line-dark); color: var(--bone-soft); }
.editorial .soc:hover, .site-foot .soc:hover { color:#fff; background: var(--sea); border-color: var(--sea); }

/* =========================================================================
   VARIANT B — CART DRAWER + CHECKOUT MODAL
   ========================================================================= */
.scrim {
  position: fixed; inset: 0;
  background: rgba(16,34,54,0.45);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .28s, visibility .28s;
  z-index: 90;
}
.scrim.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(426px, 92vw);
  background: var(--bone-lt);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.4,0,.1,1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -30px rgba(16,34,54,0.6);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head .t { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.icon-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--line); background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); transition: background .18s, border-color .18s;
}
.icon-btn:hover { background: var(--bone); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-empty { text-align: center; color: var(--ink-soft); padding: 64px 10px; }
.drawer-empty .em-mark { font-family: var(--serif); font-style: italic; font-size: 27px; color: var(--navy-deep); }
.drawer-empty p { font-size: 14px; margin-top: 10px; }
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-line .thumb { width: 64px; aspect-ratio: 4/5; }
.cart-line .cl-name { font-family: var(--serif); font-size: 18px; line-height: 1.12; }
.cart-line .cl-cat { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sea); font-weight: 500; margin-bottom: 5px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 11px; }
.qty button { width: 28px; height: 28px; border: none; background: transparent; font-size: 15px; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { color: var(--sea); }
.qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 500; font-feature-settings: "tnum" 1; }
.cart-line .cl-right { text-align: right; }
.cart-line .cl-price { font-family: var(--serif); font-weight: 500; font-size: 17px; font-feature-settings: "tnum" 1; }
.cart-line .cl-remove { background: none; border: none; color: var(--ink-soft); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 11px; padding: 0; }
.cart-line .cl-remove:hover { color: var(--sea); }
.drawer-foot { border-top: 1px solid var(--line); padding: 22px 24px 26px; }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.subtotal .lbl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.subtotal .amt { font-family: var(--serif); font-weight: 500; font-size: 25px; font-feature-settings: "tnum" 1; color: var(--navy-deep); }
.drawer-foot .ship-note { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); margin: 0 0 16px; }
.drawer-foot .btn { width: 100%; }

/* checkout modal */
.modal-scrim {
  position: fixed; inset: 0;
  background: rgba(16,34,54,0.55);
  backdrop-filter: blur(3px);
  z-index: 110;
  opacity: 0; visibility: hidden;
  transition: opacity .26s, visibility .26s;
  display: grid; place-items: center;
  padding: 24px;
}
.modal-scrim.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bone-lt);
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(14px);
  transition: transform .26s;
}
.modal-scrim.open .modal { transform: translateY(0); }
.modal-head { padding: 30px 32px 0; text-align: center; }
.modal-head .eyebrow { margin-bottom: 12px; }
.modal-head h2 { font-family: var(--serif); font-weight: 500; font-size: 33px; margin: 0; }
.modal-head h2 em { font-style: italic; }
.modal-body { padding: 24px 32px 32px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input {
  width: 100%; font-family: var(--sans); font-size: 15px;
  padding: 12px 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(42,114,151,0.12); }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field.two > div { display: contents; }
.modal .order-mini {
  background: var(--bone); border: 1px solid var(--line);
  padding: 16px 18px; margin-bottom: 22px; font-size: 14px;
}
.modal .order-mini .r { display: flex; justify-content: space-between; padding: 4px 0; }
.modal .order-mini .r.tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 500; }
.modal .order-mini .r.tot .v { font-family: var(--serif); font-size: 18px; font-feature-settings: "tnum" 1; }
.modal .actions { display: flex; gap: 12px; margin-top: 6px; }
.modal .actions .btn { flex: 1; }

/* success screen inside modal */
.success { text-align: center; padding: 48px 38px 44px; }
.success .seal {
  width: 70px; height: 70px; margin: 0 auto 24px;
  border-radius: 999px; background: var(--sea);
  display: grid; place-items: center; color: #fff;
}
.success h2 { font-family: var(--serif); font-weight: 500; font-size: 33px; margin: 0; }
.success h2 em { font-style: italic; }
.success p { font-family: var(--sans); color: var(--ink-soft); font-size: 15px; line-height: 1.62; max-width: 40ch; margin: 16px auto 0; }
.success .btn { margin-top: 30px; }
.hidden { display: none !important; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .cat-grid, .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .head-nav { display: none; }
  .editorial .split, .visit .split { grid-template-columns: 1fr; }
  .editorial .split .ph { aspect-ratio: 16/10; }
  .info-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .lookbook { grid-template-columns: repeat(4, 1fr); }
  .lb-a { grid-column: span 4; grid-row: span 3; }
  .lb-b, .lb-e, .lb-f { grid-column: span 2; }
  .lb-c { grid-column: span 2; }
  .lb-d { grid-column: span 2; }
}
@media (max-width: 680px) {
  .cat-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .head-inner { gap: 14px; }
  .brand-lockup .place { display: none; }
  .visit .info .row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 460px) {
  .shop-grid { grid-template-columns: 1fr; }
  .switch a { padding: 8px 11px; }
  .field.two { grid-template-columns: 1fr; }
}

/* =========================================================================
   INNER PAGES (chi-siamo · cerimonia · spedizioni · contatti)
   ========================================================================= */
.page-hero {
  background: var(--navy-deep);
  color: var(--bone-lt);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 9vw, 116px);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, transparent 0 40px, rgba(42,114,151,0.05) 40px 41px);
  pointer-events: none;
}
.page-hero .inner { position: relative; max-width: 880px; margin: 0 auto; padding-inline: var(--gutter); }
.crumbs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sea); margin-bottom: clamp(20px, 3vw, 30px);
}
.crumbs a:hover { color: var(--bone-lt); }
.crumbs .sep { color: rgba(244,242,237,0.32); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6.4vw, 88px); line-height: 1.0; letter-spacing: 0.01em; margin: 0;
}
.page-hero h1 em { font-style: italic; }
.page-hero .ph-sub {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 2.3vw, 26px); line-height: 1.34; color: var(--bone);
  max-width: 34ch; margin: clamp(18px, 2.4vw, 26px) auto 0;
}

/* lede / prose */
.lede {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3.4vw, 42px); line-height: 1.26; letter-spacing: 0.005em;
  color: var(--navy-deep); max-width: 20ch; margin: 0;
}
.lede em { font-style: italic; color: var(--sea); }
.prose { font-family: var(--sans); font-size: 16.5px; line-height: 1.66; color: var(--ink-soft); max-width: 46ch; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

/* light feature split (reusable) */
.feature .split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.feature.lede-split .split { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
.feature .ph { aspect-ratio: 4 / 5; }
.feature .ph.wide { aspect-ratio: 5 / 4; }
.feature.reverse .split > .media { order: 2; }
.feature .eyebrow { display: block; margin-bottom: 16px; }
.feature h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: 0.005em; margin: 0 0 22px;
}
.feature h2 em { font-style: italic; color: var(--sea); }

/* steps */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  counter-reset: step;
}
.step { border-top: 1px solid var(--line); padding-top: 24px; }
.step .n { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 32px; color: var(--sea); line-height: 1; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 16px 0 0; }
.step p { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); margin: 11px 0 0; line-height: 1.58; }

/* values list */
.values { max-width: 800px; margin: 0 auto; }
.value {
  display: grid; grid-template-columns: 76px 1fr; gap: clamp(18px, 3vw, 36px);
  padding: clamp(26px, 3vw, 38px) 0; border-top: 1px solid var(--line); align-items: baseline;
}
.value:last-child { border-bottom: 1px solid var(--line); }
.value .vn { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; color: var(--sea); }
.value h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0; }
.value p { font-family: var(--sans); font-size: 15.5px; color: var(--ink-soft); margin: 9px 0 0; line-height: 1.6; max-width: 60ch; }

/* pull quote */
.pullquote {
  text-align: center; max-width: 22ch; margin: 0 auto;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 4vw, 50px); line-height: 1.16; color: var(--navy-deep);
}
.pullquote .by {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea);
  margin-top: clamp(22px, 3vw, 32px);
}

/* full-bleed image band */
.fullbleed { padding: 0; }
.fullbleed .ph { aspect-ratio: 24 / 9; border-left: none; border-right: none; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 2.2vw, 24px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { font-family: var(--sans); font-weight: 300; color: var(--sea); font-size: 26px; line-height: 1; transition: transform .22s; flex: none; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .ans { font-family: var(--sans); padding: 0 0 26px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.62; max-width: 64ch; }

/* contact / message form */
.form-card { max-width: 620px; margin: 0 auto; }
.field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; line-height: 1.5;
  padding: 12px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  min-height: 130px; resize: vertical;
}
.field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(42,114,151,0.12); }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-ok {
  text-align: center; padding: 40px 24px;
  border: 1px solid var(--line); background: var(--paper);
}
.form-ok .seal { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 999px; background: var(--sea); display: grid; place-items: center; color: #fff; }
.form-ok h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0; }
.form-ok h3 em { font-style: italic; }
.form-ok p { font-family: var(--sans); color: var(--ink-soft); font-size: 15px; margin: 12px auto 0; max-width: 40ch; }

/* CTA band (navy) */
.cta-band { background: var(--navy-deep); color: var(--bone-lt); text-align: center; }
.cta-band .eyebrow { display: block; margin-bottom: 18px; }
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; margin: 0; }
.cta-band h2 em { font-style: italic; color: var(--sea); }
.cta-band p { font-family: var(--sans); color: var(--bone-soft); font-size: 16px; margin: 18px auto 0; max-width: 48ch; }
.cta-band .cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(28px, 3.4vw, 40px); }

/* contact split (map + info) reuses .visit; add hours card on light */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 4vw, 64px); align-items: start; }

@media (max-width: 920px) {
  .feature .split, .feature.lede-split .split, .contact-grid { grid-template-columns: 1fr; }
  .feature.reverse .split > .media { order: 0; }
  .feature .ph, .feature .ph.wide { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; }
}


/* ---- Mobile polish (post-handoff) ----------------------------------- */
@media (max-width: 760px) {
  .brand-lockup .mark { white-space: nowrap; font-size: 17px; letter-spacing: 0.18em; }
  .head-inner { gap: 12px; flex-wrap: wrap; padding: 12px var(--gutter); }
  .switch a { padding: 7px 11px; font-size: 9.5px; }
  .head-inner .btn { padding: 11px 16px; font-size: 10px; letter-spacing: 0.16em; }
  /* Hero CTAs stack on phones so neither clips */
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; max-width: 340px; margin-inline: auto; }
  .hero-ctas .btn { width: 100%; }
}
@media (max-width: 420px) {
  .brand-lockup .mark { font-size: 15px; letter-spacing: 0.14em; }
  .head-inner .btn { padding: 10px 14px; }
}
