/* =============================================
   LOTUS FASHION — v2 Clean / Editorial
   Paleta: #0B0B0B · #181818 · #F4F2ED · #FFF · #96928B
   Tipo: Manrope (interface) · Instrument Serif (editorial)
   ============================================= */

:root {
  --black: #0B0B0B;
  --graphite: #181818;
  --off-white: #F4F2ED;
  --white: #FFFFFF;
  --grey: #96928B;
  --grey-light: #C8C4BB;
  --border: rgba(255,255,255,.08);
  --border-light: rgba(11,11,11,.1);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', 'Inter', Arial, sans-serif;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  background: var(--off-white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open, body.modal-open, body.sheet-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--black); color: var(--white); }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 4px; z-index: 200; background: var(--black); color: var(--white); padding: 8px 16px; font-size: 13px; font-weight: 600; }
.skip-link:focus { left: 4px; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(72px,8vw,120px) 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px;
  border-radius: 4px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--graphite); }
.btn-secondary { background: transparent; color: var(--black); border-color: var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--off-white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
/* Legacy aliases kept for PHP templates */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; border-radius: 4px; border: 1px solid transparent; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.button-gold { background: var(--black); color: var(--white); border-color: var(--black); }
.button-gold:hover { background: var(--graphite); }
.button-outline { background: transparent; color: var(--black); border-color: var(--black); }
.button-outline:hover { background: var(--black); color: var(--white); }
.button-small { height: 40px; padding: 0 20px; font-size: 12px; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background .3s, border-color .3s, color .3s;
}

.site-header .header-grid {
  width: min(1440px, calc(100% - 72px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(176px, .8fr) auto minmax(150px, .8fr);
  align-items: center;
  gap: clamp(28px, 3vw, 52px);
}

/* Brand */
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; }
.brand-avatar-circle { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.brand-avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-size: 14px; font-weight: 800; letter-spacing: .1em; line-height: 1; transition: color .3s; }
.brand-copy small { font-size: 9px; letter-spacing: .14em; line-height: 1; margin-top: 3px; transition: color .3s; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(25px, 2.2vw, 38px); }
.main-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: color .2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-active::after { right: 0; }

/* Header Actions */
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.header-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: color .2s, background .2s;
}
.header-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.header-badge { position: relative; }
.header-badge-count {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  display: grid;
  place-items: center;
  pointer-events: none;
}

/* Home: overlay over dark hero */
.header--overlay {
  background: transparent;
  color: var(--white);
}
.header--overlay .brand-copy strong { color: var(--white); }
.header--overlay .brand-copy small { color: rgba(255,255,255,.52); }
.header--overlay .main-nav a,
.header--overlay .header-icon { color: rgba(255,255,255,.76); }
.header--overlay .main-nav a:hover,
.header--overlay .main-nav a.is-active,
.header--overlay .header-icon:hover { color: var(--white); }
.header--overlay .header-icon:hover { background: rgba(255,255,255,.08); }
.header--overlay .header-badge-count { background: var(--white); color: var(--black); }
.header--overlay .menu-toggle span { background: var(--white); }
.header--overlay .mobile-header-button { color: rgba(255,255,255,.84); }
.header--overlay.is-scrolled {
  background: rgba(11,11,11,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}

/* Internal pages: light header */
.header--light {
  background: rgba(244,242,237,.98);
  color: var(--black);
  box-shadow: 0 1px 0 var(--border-light);
}
.header--light .brand-copy strong { color: var(--black); }
.header--light .brand-copy small { color: var(--grey); }
.header--light .main-nav a,
.header--light .header-icon { color: rgba(11,11,11,.62); }
.header--light .main-nav a:hover,
.header--light .main-nav a.is-active,
.header--light .header-icon:hover { color: var(--black); }
.header--light .header-icon:hover { background: rgba(11,11,11,.055); }
.header--light .header-badge-count { background: var(--black); color: var(--white); }
.header--light .menu-toggle span { background: var(--black); }
.header--light .mobile-header-button { color: rgba(11,11,11,.72); }

/* Menu toggle */
.menu-toggle { display: none; width: 38px; height: 38px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu-backdrop { display: none; position: fixed; inset: 0; z-index: 88; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; }
.menu-backdrop.is-visible { opacity: 1; pointer-events: all; }

/* Mobile header extras */
.mobile-header-actions { display: none; align-items: center; gap: 4px; }
.mobile-header-button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: color .3s; }
.mobile-header-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mobile-action-badge { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 8px; font-weight: 700; display: grid; place-items: center; }

/* =============================================
   REVEALS / MOTION
   ============================================= */
.reveal, .reveal-item { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-item { transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.is-visible, .reveal-item.is-visible { opacity: 1; transform: none; }
.reveal-group { opacity: 0; transition: opacity .5s; }
.reveal-group.is-visible { opacity: 1; }
.reveal-group.is-visible .reveal-item { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item, .reveal-group { opacity: 1; transform: none; transition: none; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 88vh; max-height: 1000px;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--graphite);
}
.hero-media {
  position: absolute; inset: 0;
  img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.1) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-bottom: clamp(56px, 7vw, 96px);
  width: 100%;
}
.hero-inner { max-width: 640px; }
.hero-kicker {
  display: inline-block; margin-bottom: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  color: rgba(255,255,255,.55);
}
.hero-title {
  font-family: var(--sans); font-size: clamp(52px, 7vw, 100px);
  font-weight: 800; letter-spacing: -.02em; line-height: .92;
  color: var(--white); margin-bottom: 24px;
}
.hero-title em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,.6); max-width: 420px; line-height: 1.65; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================
   PRODUCT GRID
   ============================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

/* Product card — editorial, no box */
.product-card { position: relative; }
.product-media {
  display: block; position: relative; overflow: hidden;
  background: #E8E4DD; aspect-ratio: 3/4; width: 100%;
  padding: 0; border: none; cursor: pointer;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  background: var(--black); color: var(--white);
  padding: 4px 9px; border-radius: 2px;
}
.product-tag:empty { display: none; }
.product-quick {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--white); background: rgba(0,0,0,.18);
  opacity: 0; transition: opacity .25s;
}
.product-card:hover .product-quick { opacity: 1; }
.product-favorite {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.85); color: var(--black);
  opacity: 0; transition: opacity .2s;
}
.product-card:hover .product-favorite { opacity: 1; }
.product-favorite.is-active { opacity: 1; }
.product-favorite svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.product-favorite.is-active svg { fill: var(--black); }

.product-content { padding: 12px 0 24px; }
.product-meta { display: flex; gap: 8px; margin-bottom: 4px; }
.product-meta span { font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--grey); }
.product-meta span + span::before { content: '·'; margin-right: 8px; }
h3.product-card-name, .product-card h3 { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--black); margin-bottom: 4px; }
.product-size { font-size: 11px; color: var(--grey); margin-bottom: 10px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-bottom strong { font-size: 15px; font-weight: 700; color: var(--black); }
.product-whatsapp { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--grey); transition: color .2s; }
.product-whatsapp:hover { color: var(--black); }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head-left h2 { font-size: clamp(36px, 4.5vw, 64px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.section-head-link { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--grey); white-space: nowrap; border-bottom: 1px solid var(--grey); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.section-head-link:hover { color: var(--black); border-color: var(--black); }

/* =============================================
   CATEGORIES
   ============================================= */
.categories-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.category-item {
  position: relative; overflow: hidden; aspect-ratio: 3/4; display: block;
  background: #D0C9BF;
}
.category-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.category-item:hover img { transform: scale(1.05); }
.category-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.08) 55%);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-end; padding: 20px;
  gap: 4px;
}
.category-name { font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--white); line-height: 1; }
.category-cta { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.6); }

/* =============================================
   EDITORIAL SECTION
   ============================================= */
.editorial {
  background: var(--graphite); color: var(--white);
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 600px; overflow: hidden;
}
.editorial-photo {
  position: relative; overflow: hidden; min-height: 500px;
  background: var(--black);
}
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; }
.editorial-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px,6vw,96px);
}
.editorial-kicker { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.38); margin-bottom: 24px; }
.editorial-title { font-family: var(--sans); font-size: clamp(36px, 4vw, 60px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 16px; }
.editorial-title em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.editorial-sub { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 40px; }

/* =============================================
   INSTAGRAM STRIP
   ============================================= */
.instagram-section { background: var(--white); }
.instagram-head { text-align: center; padding-bottom: clamp(28px,3vw,44px); }
.instagram-handle { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--grey); margin-bottom: 8px; }
.instagram-head h2 { font-size: clamp(24px,3vw,38px); font-weight: 800; letter-spacing: -.02em; }
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-bottom: 32px; }
.instagram-item { aspect-ratio: 1; overflow: hidden; background: #E0DBD3; }
.instagram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.instagram-item:hover img { transform: scale(1.05); }
.instagram-foot { text-align: center; }

/* =============================================
   STORE / LOCATION
   ============================================= */
.store-section { background: var(--off-white); border-top: 1px solid var(--border-light); }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,80px); align-items: center; }
.store-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--grey); margin-bottom: 16px; }
.store-name { font-size: clamp(28px,3.5vw,44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 20px; }
.store-address, .store-hours { font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 8px; }
.store-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* =============================================
   CATALOG PAGE
   ============================================= */
.catalog-hero { padding: clamp(100px,10vw,140px) 0 clamp(40px,5vw,60px); background: var(--off-white); }
.catalog-hero h1 { font-size: clamp(40px,6vw,80px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.catalog-hero p { font-size: 14px; color: var(--grey); }

.catalog-section { background: var(--off-white); padding-top: 0; }

.catalog-toolbar {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; margin-bottom: 24px;
  border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.catalog-search { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 200px; }
.catalog-search span { display: none; }
.catalog-search input {
  height: 40px; padding: 0 14px;
  background: var(--white); border: 1px solid var(--border-light); border-radius: 3px;
  font-family: var(--sans); font-size: 13px; color: var(--black);
  transition: border-color .2s;
}
.catalog-search input::placeholder { color: var(--grey); }
.catalog-search input:focus { outline: none; border-color: var(--black); }

.filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-buttons button {
  height: 36px; padding: 0 16px; border-radius: 3px; border: 1px solid var(--border-light);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--grey);
  transition: all .2s;
}
.filter-buttons button:hover { border-color: var(--black); color: var(--black); }
.filter-buttons button.is-active { background: var(--black); border-color: var(--black); color: var(--white); }

.catalog-count { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.catalog-count strong { font-size: 18px; font-weight: 800; }
.catalog-count span { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--grey); }

.mobile-catalog-actions { display: none; gap: 8px; }
.mobile-filter-trigger, .mobile-sort-trigger {
  height: 36px; padding: 0 16px; border-radius: 3px; border: 1px solid var(--border-light);
  font-size: 12px; font-weight: 600; color: var(--black);
}

.catalog-empty { padding: 80px 0; text-align: center; font-size: 15px; color: var(--grey); }

/* catalog: produto em grid menor */
#catalogGrid.product-grid { grid-template-columns: repeat(4, 1fr); }

.catalog-cta { background: var(--graphite); color: var(--white); padding: 56px 0; }
.catalog-cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.catalog-cta-grid h2 { font-size: clamp(24px,3.5vw,42px); font-weight: 800; letter-spacing: -.02em; }
.catalog-cta-grid .urban-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.38); display: block; margin-bottom: 8px; }

/* =============================================
   MOBILE SHEETS (filter, sort, cart, favorites)
   ============================================= */
.mobile-sheet { position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.mobile-sheet[aria-hidden="false"] { pointer-events: all; }
.mobile-sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; }
.mobile-sheet[aria-hidden="false"] .mobile-sheet-backdrop { opacity: 1; }
.mobile-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--white); border-radius: 12px 12px 0 0;
  padding: 0 24px 32px;
  max-height: 86vh; overflow-y: auto;
  transform: translateY(100%); transition: transform .4s var(--ease-out);
}
.mobile-sheet[aria-hidden="false"] .mobile-sheet-panel { transform: translateY(0); }
.mobile-sheet-handle { width: 36px; height: 4px; background: #DDD; border-radius: 2px; margin: 12px auto 24px; }
.mobile-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-top: 4px; }
.mobile-sheet-head h2 { font-size: 16px; font-weight: 700; }
.mobile-sheet-head button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #F0EDED; font-size: 18px; }

.mobile-filter-group { margin-bottom: 24px; }
.mobile-filter-group span { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--grey); display: block; margin-bottom: 12px; }
.mobile-filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-filter-chips button { height: 34px; padding: 0 14px; border: 1px solid var(--border-light); border-radius: 3px; font-size: 12px; font-weight: 500; color: var(--black); transition: all .2s; }
.mobile-filter-chips button.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.mobile-filter-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.mobile-filter-field span { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--grey); }
.mobile-filter-field select { height: 42px; padding: 0 12px; border: 1px solid var(--border-light); border-radius: 3px; font-family: var(--sans); font-size: 14px; color: var(--black); background: var(--white); }
.mobile-sheet-actions { display: flex; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.mobile-sheet-actions .button-gold { flex: 1; justify-content: center; }
.mobile-clear-filters { height: 48px; padding: 0 20px; border: 1px solid var(--border-light); border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--grey); }
.mobile-sort-panel .mobile-sort-options { display: flex; flex-direction: column; }
.mobile-sort-options button { padding: 16px 0; border-bottom: 1px solid var(--border-light); font-size: 15px; font-weight: 500; text-align: left; }
.mobile-sort-options button.is-active { font-weight: 700; }

/* =============================================
   PRODUCT MODAL
   ============================================= */
.product-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: flex-end;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.product-modal[aria-hidden="false"] { opacity: 1; pointer-events: all; }
.modal-backdrop { position: absolute; inset: 0; }
.modal-shell {
  position: relative; z-index: 1;
  width: 100%; max-height: 92vh; overflow-y: auto;
  background: var(--white); border-radius: 12px 12px 0 0;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(24px); transition: transform .35s var(--ease-out);
}
.product-modal[aria-hidden="false"] .modal-shell { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.06); font-size: 20px; line-height: 1;
  display: grid; place-items: center; color: var(--black);
}
.modal-media { background: #E8E4DD; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.modal-copy { padding: 40px 36px; }
.modal-kicker { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--grey); display: block; margin-bottom: 8px; }
.modal-copy h2 { font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.modal-price { font-size: 24px; font-weight: 800; display: block; margin-bottom: 20px; }
.modal-copy p { font-size: 13px; color: var(--grey); line-height: 1.65; margin-bottom: 20px; }
.modal-specs { display: flex; gap: 24px; margin-bottom: 24px; }
.modal-specs div { display: flex; flex-direction: column; gap: 3px; }
.modal-specs small { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--grey); }
.modal-specs strong { font-size: 13px; font-weight: 500; }
.modal-copy .button-gold { width: 100%; justify-content: center; margin-bottom: 12px; }
.modal-note { font-size: 11px; color: var(--grey); line-height: 1.5; display: block; text-align: center; }
.mobile-product-options { display: none; margin-bottom: 20px; }
.mobile-product-options > div { margin-bottom: 16px; }
.mobile-product-options span { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--grey); display: block; margin-bottom: 8px; }
.mobile-option-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-option-buttons button { height: 36px; min-width: 44px; padding: 0 12px; border: 1px solid var(--border-light); border-radius: 3px; font-size: 12px; font-weight: 600; }
.mobile-option-buttons button.is-selected { background: var(--black); border-color: var(--black); color: var(--white); }

/* =============================================
   SIDEBAR: CART + FAVORITES
   ============================================= */
.site-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: min(400px, 100vw); background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease-out);
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
}
.site-sidebar.is-open { transform: translateX(0); }
.site-sidebar-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.site-sidebar-backdrop.is-visible { opacity: 1; pointer-events: all; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border-light); }
.sidebar-head h2 { font-size: 16px; font-weight: 700; }
.sidebar-close { width: 36px; height: 36px; border-radius: 50%; background: #F0EDED; display: grid; place-items: center; font-size: 18px; }
.sidebar-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.sidebar-empty { padding: 40px 0; text-align: center; font-size: 14px; color: var(--grey); }
.sidebar-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.sidebar-item-img { border-radius: 3px; overflow: hidden; background: #E8E4DD; aspect-ratio: 3/4; }
.sidebar-item-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-item-info h3 { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.sidebar-item-info span { font-size: 12px; color: var(--grey); }
.sidebar-item-price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.sidebar-item-remove { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--grey); background: #F5F3EE; }
.sidebar-foot { padding: 20px 24px; border-top: 1px solid var(--border-light); }
.sidebar-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.sidebar-total span { font-size: 13px; color: var(--grey); }
.sidebar-total strong { font-size: 20px; font-weight: 800; }
.sidebar-foot .button-gold { width: 100%; justify-content: center; }
.sidebar-foot .button-outline { width: 100%; justify-content: center; margin-top: 10px; }

/* =============================================
   TOAST
   ============================================= */
#siteToast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(12px);
  z-index: 200; background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 500; padding: 12px 22px; border-radius: 4px;
  opacity: 0; pointer-events: none; white-space: nowrap;
  transition: opacity .25s, transform .25s;
}
#siteToast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--black); color: var(--white); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-logo-circle { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; margin-bottom: 16px; }
.footer-logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand h2 { font-size: 14px; font-weight: 800; letter-spacing: .12em; margin-bottom: 8px; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.38); line-height: 1.7; max-width: 200px; }
.footer-column { display: flex; flex-direction: column; }
.footer-label { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.footer-column a, .footer-column p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 6px; transition: color .2s; }
.footer-column a:hover { color: var(--white); }
.footer-cta {}
.footer-cta h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; line-height: 1.2; }
.footer-cta .button-gold { width: 100%; justify-content: center; background: var(--white); color: var(--black); border-color: var(--white); }
.footer-cta .button-gold:hover { background: var(--off-white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255,255,255,.25); }
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   INTERNAL PAGES (about, contact)
   ============================================= */
.internal-hero {
  padding: clamp(100px,10vw,140px) 0 clamp(48px,5vw,72px);
  background: var(--off-white);
}
.internal-hero-grid { max-width: 760px; }
.internal-hero h1 { font-size: clamp(36px,5.5vw,70px); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-bottom: 16px; }
.internal-hero h1 span { color: var(--grey); }
.internal-hero p { font-size: 15px; color: var(--grey); max-width: 520px; line-height: 1.7; }
.urban-kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--grey); display: block; margin-bottom: 10px; }

/* Contact page */
.contact-section {
  padding: clamp(48px,5vw,72px) 0 clamp(72px,8vw,120px);
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(64px,8vw,120px);
  align-items: start;
}
.contact-block h2,
.contact-form h2 {
  font-size: clamp(28px,3.2vw,42px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.06;
  margin-bottom: 28px;
}
.contact-info-list { margin-bottom: 28px; }
.contact-info-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:first-child { border-top: 1px solid var(--border-light); }
.contact-info-item span {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--grey);
  text-transform: uppercase;
}
.contact-info-item p,
.contact-info-item a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--black);
}
.contact-info-item a:hover { opacity: .62; }
.contact-map-button { min-width: 220px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--black);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(11,11,11,.16);
  border-radius: 2px;
  outline: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
  background: rgba(255,255,255,.72);
  transition: border-color .2s, background .2s;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%);
  background-position: calc(100% - 19px) 23px, calc(100% - 14px) 23px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.form-field textarea {
  min-height: 154px;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(11,11,11,.36); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--black);
  background: var(--white);
}
.form-submit {
  width: fit-content;
  min-width: 220px;
  margin-top: 2px;
}
.form-note {
  display: block;
  max-width: 540px;
  margin-top: 2px;
  color: var(--grey);
  font-size: 11px;
  line-height: 1.6;
}

/* About / Sobre */
.about-section { padding: clamp(48px,5vw,72px) 0 clamp(72px,8vw,120px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: start; }
.about-photo { background: #DDD; aspect-ratio: 4/5; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-body h2 { font-size: clamp(28px,3.5vw,44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 20px; }
.about-body p { font-size: 14px; color: var(--grey); line-height: 1.8; margin-bottom: 16px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .product-grid, #catalogGrid.product-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial { grid-template-columns: 1fr; }
  .editorial-photo { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
  .store-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 52px; }
  .modal-shell { grid-template-columns: 1fr; }
  .modal-media img { aspect-ratio: 16/9; }
  .mobile-product-options { display: block; }
  .modal-specs { display: none; }
}

@media (max-width: 767px) {
  .container { width: calc(100% - 32px); }
  .site-header { height: 56px; }
  .site-header .header-grid {
    width: calc(100% - 32px);
    grid-template-columns: 42px minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
  }
  .brand { grid-column: 2; min-width: 0; }
  .brand-copy strong { font-size: 22px; }
  .brand-copy small { font-size: 10px; }
  .main-nav { display: none; }
  .header-actions { display: none; }
  .mobile-header-actions { display: flex; grid-column: 3; justify-self: end; }
  .menu-toggle { display: flex; grid-column: 1; justify-self: start; }

  /* Mobile Nav em tela cheia */
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100dvh - 56px);
    background: var(--white);
    padding: 24px 24px 32px;
    gap: 0;
    z-index: 92;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .main-nav.is-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--black);
  }
  .main-nav a::after { display: none; }
  .main-nav a.mobile-menu-extra { font-size: 18px; color: var(--grey); }
  .header--overlay .main-nav a, .header--light .main-nav a { color: var(--black); }
  .header--overlay .main-nav a:hover, .header--overlay .main-nav a.is-active, .header--light .main-nav a:hover, .header--light .main-nav a.is-active { color: var(--black); }
  .header--overlay .main-nav a.is-active::after, .header--light .main-nav a.is-active::after { display: none; }
  .menu-backdrop { display: none !important; }
  body.menu-open { overflow: hidden; }

  .hero { min-height: 78vh; }
  .hero-title { font-size: clamp(44px, 12vw, 64px); }
  .hero-sub { font-size: 14px; }

  .product-grid, #catalogGrid.product-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }

  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head-left h2 { font-size: clamp(28px, 8vw, 40px); }

  .editorial-body { padding: 36px 20px 44px; }
  .editorial-title { font-size: clamp(30px, 8vw, 44px); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  .catalog-toolbar { gap: 12px; }
  .filter-buttons { display: none; }
  .catalog-search { width: 100%; }
  .mobile-catalog-actions { display: flex; margin-left: auto; }
  .catalog-count { margin-left: auto; }

  .product-modal { align-items: flex-end; }
  .modal-shell { grid-template-columns: 1fr; border-radius: 12px 12px 0 0; max-height: 92vh; }
  .modal-media img { aspect-ratio: 4/3; }
  .modal-copy { padding: 24px 20px 32px; }

  .internal-hero h1 { font-size: clamp(32px,10vw,52px); }

  .contact-grid { gap: 44px; }
  .contact-block { order: 1; }
  .contact-form { order: 2; }
  .contact-map-button, .form-submit { width: 100%; min-width: 0; }
  .contact-form h2 { margin-bottom: 10px; }

  .catalog-hero h1 { font-size: clamp(32px,9vw,56px); }
}

@media (max-width: 390px) {
  .hero-title { font-size: 42px; }
  .product-grid, #catalogGrid.product-grid { gap: 0; }
}


/* v3.1 — correção pontual do alinhamento do conteúdo do Hero na Home */
.hero-content.container {
  width: min(1320px, calc(100% - 72px));
  margin-inline: auto;
}

@media (max-width: 767px) {
  .hero-content.container {
    width: calc(100% - 32px);
    margin-inline: auto;
  }
}


/* v3.3 — organização exclusiva do topo mobile */
@media (max-width: 767px) {
  .site-header,
  .site-header.header--overlay,
  .site-header.header--light {
    height: 64px;
  }

  .site-header .header-grid {
    width: calc(100% - 24px);
    height: 64px;
    margin-inline: auto;
    grid-template-columns: 44px minmax(0, 1fr) 88px;
    grid-template-rows: 64px;
    align-items: center;
    gap: 8px;
  }

  .menu-toggle {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    min-width: 0;
    margin: 0;
    gap: 9px;
  }

  .brand-avatar-circle {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 14px;
    line-height: 1;
  }

  .brand-copy small {
    margin-top: 3px;
    font-size: 8px;
    line-height: 1;
  }

  .mobile-header-actions {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    align-items: center;
    gap: 2px;
    margin: 0;
  }

  .mobile-header-button {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    top: 64px;
    height: calc(100dvh - 64px);
  }
}


/* =============================================
   HOME — KITS DO DROP
   ============================================= */
.home-kits-section {
  background: var(--off-white);
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(72px, 8vw, 120px);
}

.home-kits-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 84px);
  margin-bottom: clamp(32px, 4vw, 52px);
}

.home-kits-head > div {
  max-width: 720px;
}

.home-kits-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--grey);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.home-kits-head h2 {
  margin: 0 0 14px;
  color: var(--black);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .98;
}

.home-kits-head p {
  max-width: 610px;
  margin: 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
}

.home-kits-note {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: var(--grey);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.home-kits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
}

.home-kit-card {
  min-width: 0;
}

.home-kit-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #171717;
}

.home-kit-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.home-kit-card:hover .home-kit-media img {
  transform: scale(1.025);
}

.home-kit-label,
.home-kit-count {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  background: rgba(11,11,11,.88);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.home-kit-label {
  left: 14px;
}

.home-kit-count {
  right: 14px;
  background: rgba(247,245,241,.92);
  color: var(--black);
}

.home-kit-body {
  padding: 20px 2px 0;
}

.home-kit-body h3 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -.025em;
}

.home-kit-description {
  min-height: 46px;
  margin: 0 0 16px;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.6;
}

.home-kit-products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.home-kit-products span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  background: #E9E5DE;
  color: #4F4B46;
  font-size: 10px;
  font-weight: 600;
}

.home-kit-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.home-kit-price {
  display: grid;
  gap: 3px;
}

.home-kit-price del {
  color: #9B9690;
  font-size: 10px;
}

.home-kit-price strong {
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
}

.home-kit-action {
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}

.home-kit-action:hover {
  opacity: .62;
  transform: translateX(2px);
}

@media (max-width: 1024px) {
  .home-kits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-kits-note {
    display: none;
  }
}

@media (max-width: 767px) {
  .home-kits-section {
    padding-top: 54px;
    padding-bottom: 68px;
  }

  .home-kits-head {
    display: block;
    margin-bottom: 28px;
  }

  .home-kits-head h2 {
    font-size: 38px;
  }

  .home-kits-head p {
    font-size: 13px;
  }

  .home-kits-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-kit-media {
    aspect-ratio: 4 / 4.8;
  }

  .home-kit-body {
    padding-top: 16px;
  }

  .home-kit-description {
    min-height: 0;
  }

  .home-kit-bottom {
    align-items: center;
  }

  .home-kit-action {
    font-size: 12px;
  }
}
