/* ============================================================================
   ANNIE'S LUXE EDIT — DESIGN SYSTEM
   A curated, editorial accessories catalogue. Photography leads; the interface
   stays quiet: hairline rules instead of shadows, square-ish corners instead
   of bubble cards, a wine accent pulled from the products' own "Wine and
   Black" colourway rather than an invented brand colour.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
  /* --- Color --- */
  --ink:        #1C1A17;   /* near-black warm ink, text */
  --ink-soft:   #514C45;   /* secondary text */
  --canvas:     #F1EDE6;   /* warm stone background */
  --surface:    #FBFAF7;   /* card / panel surface */
  --white:      #FFFFFF;
  --line:       #DDD6C8;   /* hairline border */
  --line-soft:  #E9E4DA;
  --wine:       #6E2135;   /* accent, drawn from "Wine and Black" variants */
  --wine-dark:  #501725;
  --gold:       #A6895A;   /* secondary accent for fine details */
  --success:    #3F5D3A;
  --error:      #A6382C;

  /* --- Type --- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Layout --- */
  --max: 1400px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-sm: 2px;
  --radius-md: 4px;

  /* --- Motion --- */
  --ease: cubic-bezier(.4,0,.2,1);
}

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

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

body{
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

button{ font-family: inherit; cursor: pointer; }

ul{ list-style: none; margin: 0; padding: 0; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

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

/* Visible focus states everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

.visually-hidden{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link{
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px;
  border-radius: var(--radius-sm); transition: top .2s var(--ease);
}
.skip-link:focus{ top: 12px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary{ background: var(--ink); color: var(--white); }
.btn-primary:hover{ background: var(--wine); }
.btn-outline{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover{ background: var(--ink); color: var(--white); }
.btn-wine{ background: var(--wine); color: var(--white); }
.btn-wine:hover{ background: var(--wine-dark); }
.btn-ghost{ background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--ink); color: var(--ink); }
.btn-block{ width: 100%; }
.btn[disabled]{ opacity: .45; cursor: not-allowed; }
.btn-whatsapp{
  background: #2E5F4E; color: var(--white);
}
.btn-whatsapp:hover{ background: #234a3d; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(241,237,230,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.wordmark{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark em{ font-style: italic; color: var(--wine); }

/* Brand logo image (replaces the text wordmark). No extra background, border,
   or shadow is added here — the logo asset is shown exactly as supplied. */
.brand-logo{ display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }

/* Logo mark — Annie's approved SVG wordmark sits on a square 1095x1095
   canvas with large empty margins above/below the actual lettering (a
   common square-artboard export). Rather than editing the SVG, this crops
   the *display* to the lettering's own bounding box (plus a small margin)
   via absolute positioning + a fixed zoom, so the wordmark reads at full
   size instead of shrinking to fit mostly-empty canvas. The logo.svg file
   itself is never modified. If a future file is already tightly cropped to
   its artwork, set width back to 100% / left,top to 0 to disable this.
   Crop math (in the SVG's own 1095-unit space): content box x:[190,915],
   y:[460,705] → width 725, height 245, aspect ratio ≈ 2.959. */
.logo-mark{
  position: relative; overflow: hidden; display: block; flex-shrink: 0;
  aspect-ratio: 2.959;
}
.logo-mark-img{
  position: absolute;
  width: 151.03%; height: auto; max-width: none;
  left: -26.21%; top: -187.76%;
}
.logo-mark-header{ height: 34px; }
.logo-mark-footer{ height: 48px; }

@media (min-width: 600px){
  .logo-mark-header{ height: 40px; }
  .logo-mark-footer{ height: 54px; }
}

@media (min-width: 900px){
  .logo-mark-header{ height: 46px; }
  .logo-mark-footer{ height: 60px; }
}

.main-nav{ display: none; }
.main-nav ul{ display: flex; gap: 34px; }
.main-nav a{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
}
.main-nav a::after{
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--wine);
  transition: right .25s var(--ease);
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after{ right: 0; }
.main-nav a.active{ color: var(--ink); }

.header-actions{ display: flex; align-items: center; gap: 6px; }
.icon-btn{
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: transparent; border: none; color: var(--ink);
  transition: background .2s var(--ease);
  position: relative;
}
.icon-btn:hover{ background: rgba(28,26,23,0.06); }
.icon-btn svg{ width: 19px; height: 19px; }
.cart-count{
  position: absolute; top: 1px; right: 1px;
  background: var(--wine); color: var(--white);
  font-size: 10px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.cart-count[data-zero="true"]{ display: none; }

.menu-toggle{ display: inline-flex; }

/* Search panel */
.search-panel{
  position: fixed; inset: 0 0 auto 0; z-index: 150;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform .3s var(--ease);
  padding: 26px var(--gutter);
}
.search-panel.open{ transform: translateY(0); }
.search-panel form{
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  border-bottom: 2px solid var(--ink); padding-bottom: 14px;
}
.search-panel input{
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--font-display); font-size: clamp(22px,4vw,34px);
  color: var(--ink);
}
.search-panel input::placeholder{ color: var(--ink-soft); opacity: .5; }
.search-panel .close-search{ background: none; border: none; color: var(--ink); }

/* Mobile nav drawer */
.mobile-nav{
  position: fixed; inset: 0; z-index: 160;
  background: var(--canvas);
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  display: flex; flex-direction: column;
  padding: 22px var(--gutter) 40px;
  overflow-y: auto;
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav ul{ display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a{
  display: block; padding: 16px 0;
  font-family: var(--font-display); font-size: 30px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .social-row{ margin-top: auto; padding-top: 30px; display: flex; gap: 22px; }
.mobile-nav .social-row a{ font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; border: none; padding: 0; }

.scrim{
  position: fixed; inset: 0; background: rgba(28,26,23,0.4);
  z-index: 140; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.scrim.open{ opacity: 1; pointer-events: auto; }

@media (min-width: 900px){
  .main-nav{ display: block; }
  .menu-toggle{ display: none; }
}

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */
.cart-drawer{
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 170;
  width: min(440px, 100vw);
  background: var(--surface);
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.08);
}
.cart-drawer.open{ transform: translateX(0); }
.cart-head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter); border-bottom: 1px solid var(--line);
}
.cart-head h2{ font-size: 20px; }
.cart-items{ flex: 1; overflow-y: auto; padding: 12px var(--gutter); }
.cart-line{
  display: grid; grid-template-columns: 74px 1fr auto; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.cart-line-media{ display: block; grid-row: span 1; }
.cart-line-media img{ width: 74px; height: 92px; object-fit: cover; background: var(--canvas); border-radius: var(--radius-sm); transition: opacity .15s var(--ease); }
.cart-line-media:hover img{ opacity: 0.85; }
.cart-line-name-link{ display: block; }
.cart-line-name-link:hover .cart-line-name{ text-decoration: underline; }
.cart-line-name{ font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }
.cart-line-meta{ font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; }
.qty-control{ display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.qty-control button{ width: 26px; height: 26px; background: none; border: none; font-size: 15px; }
.qty-control span{ min-width: 24px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.cart-line-price{ font-size: 13.5px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.cart-remove{ background: none; border: none; color: var(--ink-soft); font-size: 12px; text-decoration: underline; padding: 0; margin-top: 8px; }
.cart-empty{ padding: 60px 0; text-align: center; color: var(--ink-soft); }
.cart-foot{ padding: 22px var(--gutter) 28px; border-top: 1px solid var(--line); }
.cart-subtotal{ display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 16px; }
.cart-subtotal strong{ font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero{
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.hero-media{ position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--surface); }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-copy{
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px var(--gutter);
}
.hero-eyebrow{ font-size: 13px; letter-spacing: .1em; color: var(--wine); font-weight: 600; margin-bottom: 18px; }
.hero-copy h1{
  font-size: clamp(38px, 6vw, 64px);
  max-width: 13ch;
}
.hero-copy h1 em{ font-style: italic; color: var(--wine); }
.hero-copy p{ margin-top: 20px; max-width: 42ch; color: var(--ink-soft); font-size: 16.5px; }
.hero-actions{ margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

@media (min-width: 900px){
  .hero{ grid-template-columns: 1.1fr 0.9fr; min-height: 82vh; }
  .hero-media{ aspect-ratio: auto; order: 2; }
  .hero-copy{ order: 1; padding: 0 clamp(40px,6vw,90px); }
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section{ padding: 90px 0; }
.section-tight{ padding: 60px 0; }
.section-head{
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px; flex-wrap: wrap;
}
.section-head h2{ font-size: clamp(28px, 4vw, 42px); }
.section-head .lede{ color: var(--ink-soft); max-width: 46ch; margin-top: 10px; }
.section-link{ font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; white-space: nowrap; }
.section-link:hover{ color: var(--wine); border-color: var(--wine); }

.divider{ height: 1px; background: var(--line); border: none; margin: 0; }

/* --------------------------------------------------------------------------
   Category tiles (Bags / Sunglasses)
   -------------------------------------------------------------------------- */
.category-tiles{
  display: grid; grid-template-columns: 1fr; gap: 2px;
  background: var(--line);
}
.category-tile{
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  background: var(--surface);
  display: flex; align-items: flex-end;
}
.category-tile img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
  z-index: 1;
}
.category-tile:hover img{ transform: scale(1.045); }
.category-tile::before{
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(28,26,23,0) 40%, rgba(28,26,23,0.72) 100%);
}
.category-tile-label{
  position: relative; z-index: 3; padding: 32px;
  color: var(--white); display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.category-tile-label h3{ font-size: clamp(24px,3vw,32px); }
.category-tile-label span{ font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }

@media (min-width: 800px){
  .category-tiles{ grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Product grid & cards
   -------------------------------------------------------------------------- */
.product-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px;
}
@media (min-width: 640px){ .product-grid{ grid-template-columns: repeat(3, 1fr); gap: 34px 24px; } }
@media (min-width: 1100px){ .product-grid{ grid-template-columns: repeat(4, 1fr); } }

.product-card{ display: block; }
.product-card-media{
  position: relative; aspect-ratio: 4/5; background: var(--surface);
  overflow: hidden; margin-bottom: 14px;
}
.product-card-media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.product-card:hover .product-card-media img.img-primary{ opacity: 0; }
.product-card:hover .product-card-media img.img-secondary{ opacity: 1; }
.product-card-media img.img-secondary{
  position: absolute; inset: 0; opacity: 0;
}
.product-tag{
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--wine); color: var(--white);
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 9px; border-radius: var(--radius-sm);
}
.product-tag.tag-muted{ background: var(--ink); }
.quick-add{
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.product-card:hover .quick-add{ opacity: 1; transform: translateY(0); }
.product-card-name{ font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.product-card-meta{ font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.product-card-price{ font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-card-oos{ font-size: 11.5px; color: var(--error); font-weight: 600; margin-top: 2px; }

/* --------------------------------------------------------------------------
   Shop toolbar / filters
   -------------------------------------------------------------------------- */
.shop-head{ padding: 46px 0 26px; border-bottom: 1px solid var(--line); }
.shop-head h1{ font-size: clamp(32px,5vw,50px); }
.shop-head p{ color: var(--ink-soft); margin-top: 10px; }

.shop-toolbar{
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 20px 0; border-bottom: 1px solid var(--line); margin-bottom: 36px;
}
.filter-group{ display: flex; flex-wrap: wrap; gap: 8px; }
.chip{
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  background: transparent; color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.chip:hover{ border-color: var(--ink); color: var(--ink); }
.chip.active{ background: var(--ink); color: var(--white); border-color: var(--ink); }
.toolbar-right{ margin-left: auto; display: flex; align-items: center; gap: 14px; }
.select-sort{
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 9px 14px; border-radius: var(--radius-sm); font-size: 13px;
}
.result-count{ font-size: 12.5px; color: var(--ink-soft); }
.empty-state{ padding: 100px 0; text-align: center; color: var(--ink-soft); }
.empty-state h3{ color: var(--ink); margin-bottom: 10px; font-size: 22px; }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.pdp{ display: grid; grid-template-columns: 1fr; gap: 40px; padding: 40px 0 90px; }
@media (min-width: 900px){ .pdp{ grid-template-columns: 1.1fr 0.9fr; gap: 70px; padding-top: 50px; } }

.pdp-gallery-main{ aspect-ratio: 4/5; background: var(--surface); overflow: hidden; margin-bottom: 12px; }
.pdp-gallery-main img{ width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs{ display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumb{
  width: 76px; height: 92px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); cursor: pointer; padding: 0;
}
.pdp-thumb.active{ border-color: var(--ink); border-width: 2px; }
.pdp-thumb img{ width: 100%; height: 100%; object-fit: cover; }

.breadcrumb{ font-size: 12.5px; color: var(--ink-soft); margin-bottom: 24px; }
.breadcrumb a:hover{ color: var(--ink); text-decoration: underline; }

.pdp-info .sku{ font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.pdp-info h1{ font-size: clamp(30px,4vw,42px); margin-bottom: 14px; }
.pdp-price{ font-size: 24px; font-weight: 700; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.pdp-facts{ display: flex; flex-direction: column; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.pdp-fact{ display: flex; justify-content: space-between; font-size: 14px; }
.pdp-fact dt{ color: var(--ink-soft); }
.pdp-fact dd{ margin: 0; font-weight: 600; }
.variant-selector{ margin-bottom: 24px; }
.variant-selector-head{
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.variant-label{
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-soft);
}
.variant-selected-name{ font-size: 13.5px; font-weight: 700; color: var(--ink); }
.variant-options{ display: flex; flex-wrap: wrap; gap: 10px; }
.variant-option{
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-size: 13px; font-weight: 600;
  transition: all .2s var(--ease);
}
.variant-option:hover{ border-color: var(--ink); }
.variant-option[aria-pressed="true"]{
  background: var(--ink); color: var(--white); border-color: var(--ink);
}

.stock-pill{
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.stock-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.stock-dot.limited{ background: var(--gold); }
.pdp-actions{ display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.pdp-note{ font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* --------------------------------------------------------------------------
   About / Contact
   -------------------------------------------------------------------------- */
.editorial{ display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px){ .editorial{ grid-template-columns: 1fr 1fr; gap: 80px; } }
.editorial-media{ aspect-ratio: 4/5; overflow: hidden; background: var(--surface); }
.editorial-media img{ width: 100%; height: 100%; object-fit: cover; }
.editorial-copy h2{ font-size: clamp(30px,4vw,44px); margin-bottom: 22px; }
.editorial-copy p{ color: var(--ink-soft); font-size: 16.5px; margin-bottom: 16px; max-width: 52ch; }
.editorial-copy p:last-child{ margin-bottom: 0; }

.values-row{ display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); margin-top: 70px; }
@media (min-width: 700px){ .values-row{ grid-template-columns: repeat(3,1fr); } }
.value-item{ background: var(--canvas); padding: 34px; }
.value-item h4{ font-size: 18px; margin-bottom: 10px; }
.value-item p{ color: var(--ink-soft); font-size: 14.5px; }

.contact-grid{ display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px){ .contact-grid{ grid-template-columns: repeat(3,1fr); } }
.contact-card{ background: var(--surface); padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-card .icon-circle{
  width: 46px; height: 46px; border-radius: 50%; background: var(--canvas);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .icon-circle svg{ width: 21px; height: 21px; }
.contact-card h3{ font-size: 19px; }
.contact-card p{ color: var(--ink-soft); font-size: 14px; }
.contact-card .cta{ font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; align-self: flex-start; margin-top: auto; }
.contact-card .cta:hover{ color: var(--wine); border-color: var(--wine); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field{ margin-bottom: 20px; }
.field label{ display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field .req{ color: var(--wine); }
.field input, .field textarea, .field select{
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--ink); }
.field-error{ font-size: 12.5px; color: var(--error); margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea{ border-color: var(--error); }
.field.invalid .field-error{ display: block; }
.field-row{ display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px){ .field-row-2{ grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */
.checkout-grid{ display: grid; grid-template-columns: 1fr; gap: 50px; padding: 50px 0 100px; }
@media (min-width: 950px){ .checkout-grid{ grid-template-columns: 1.1fr 0.9fr; } }
.summary-card{ background: var(--surface); border: 1px solid var(--line); padding: 30px; align-self: start; position: sticky; top: 100px; }
.summary-card h2{ font-size: 20px; margin-bottom: 22px; }
.summary-line{ display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.summary-line img{ width: 56px; height: 68px; object-fit: cover; background: var(--canvas); }
.summary-line-name{ font-size: 13.5px; font-weight: 600; }
.summary-line-meta{ font-size: 12px; color: var(--ink-soft); }
.summary-totals{ padding-top: 18px; }
.summary-row{ display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: var(--ink-soft); }
.summary-row.total{ color: var(--ink); font-weight: 700; font-size: 17px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-success{ text-align: center; padding: 100px 0; }
.order-success .icon-circle{ width: 70px; height: 70px; border-radius: 50%; background: var(--success); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }
.order-success h1{ font-size: 32px; margin-bottom: 14px; }
.order-success p{ color: var(--ink-soft); max-width: 46ch; margin: 0 auto 30px; }

/* --------------------------------------------------------------------------
   WhatsApp floating button
   -------------------------------------------------------------------------- */
.whatsapp-float{
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #2E5F4E; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(28,26,23,0.25);
  transition: transform .2s var(--ease);
}
.whatsapp-float:hover{ transform: scale(1.06); }
.whatsapp-float svg{ width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer{ background: var(--ink); color: #E7E2D8; margin-top: 60px; }
.footer-top{ padding-top: 70px; padding-bottom: 50px; display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 800px){ .footer-top{ grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .wordmark{ color: var(--white); }
.footer-brand p{ margin-top: 16px; color: #B9B2A4; font-size: 14px; max-width: 34ch; }
.footer-col h5{ font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: #B9B2A4; margin-bottom: 18px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 11px; }
.footer-col a{ font-size: 14.5px; color: #E7E2D8; }
.footer-col a:hover{ color: var(--gold); }
.footer-social{ display: flex; gap: 12px; margin-top: 18px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(231,226,216,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover{ background: rgba(231,226,216,0.1); }
.footer-social svg{ width: 17px; height: 17px; }
.footer-bottom{
  border-top: 1px solid rgba(231,226,216,0.15);
  padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; font-size: 12.5px; color: #9A927F;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast{
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--white); padding: 14px 22px;
  border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  z-index: 200; display: flex; align-items: center; gap: 10px;
}
.toast.show{ opacity: 1; transform: translate(-50%, 0); }

/* utility */
.mt-0{ margin-top: 0 !important; }
.text-center{ text-align: center; }
