:root {
  --white: #FAFAFA;
  --off-white: #F5F2EE;
  --cream: #EDE9E3;
  --dark: #1A1814;
  --dark-mid: #2E2B27;
  --gray: #7A7570;
  --gray-light: #B8B3AE;
  --gold: #B8923A;
  --border: rgba(26,24,20,.1);
  --border-mid: rgba(26,24,20,.18);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 2px 20px rgba(26,24,20,.07);
  --shadow-lg: 0 8px 40px rgba(26,24,20,.12);
  --transition: .32s cubic-bezier(.4,0,.2,1);
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--dark); line-height: 1.6; overflow-x: hidden; max-width: 100vw; }
img { display: block; width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1360px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header.center { text-align: center; }

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}

.section-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.section-title em { font-style: italic; font-weight: 300; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,24,20,.25); }

.btn-light { background: var(--white); color: var(--dark); border: 1px solid rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }

.btn-outline-dark { background: transparent; color: var(--dark); border: 1px solid var(--border-mid); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.btn-ghost-dark { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.65); }

.btn-full { width: 100%; justify-content: center; }

/* ── HEADER ── */
.site-header {
  position: relative; z-index: 15;
  margin-top: 16px;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.header-inner {
  background: var(--white);
  border-radius: 50px;
  height: 64px;
  padding: 0 clamp(.8rem, 2vw, 1.6rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 1320px; margin: 0 auto;
  box-shadow: 0 1px 0 var(--border), 0 2px 16px rgba(26,24,20,.06);
  border: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: .65rem; }

.brand-logo {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--dark); letter-spacing: .02em;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: clamp(.5rem, 1.5vw, 1.5rem); }
.nav-link {
  font-size: .75rem; font-weight: 500;
  color: var(--gray); letter-spacing: .08em;
  text-transform: uppercase;
  transition: color var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--dark); }

/* ── Subcategorías: dropdown por categoría (desktop = flotante, mobile = acordeón) ── */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-caret {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; margin-left: 2px; padding: 0;
  color: var(--gray); background: none; border: none; cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.nav-caret svg { width: 13px; height: 13px; }
.nav-item:hover .nav-caret, .nav-item.open .nav-caret, .nav-item.active .nav-caret { color: var(--dark); }
.nav-item.open .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 4px);
  min-width: 168px; padding: .5rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 20;
}
.nav-sublink {
  display: block; padding: .5rem .7rem; border-radius: 8px;
  font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gray); white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-sublink:hover, .nav-sublink.active { background: rgba(26,24,20,.05); color: var(--dark); }

@media (min-width: 769px) {
  .nav-item.has-sub:hover .nav-dropdown,
  .nav-item.has-sub:focus-within .nav-dropdown,
  .nav-item.has-sub.open .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  }
}

.header-actions { display: flex; align-items: center; gap: .4rem; }

.cart-btn {
  position: relative; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); border-radius: 50%;
  transition: background var(--transition);
}
.cart-btn:hover { background: var(--off-white); }

.cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--dark); color: var(--white);
  font-size: .58rem; font-weight: 500;
  width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), opacity var(--transition);
}
.cart-count[data-count="0"] { opacity: 0; transform: scale(0); }
.cart-count:not([data-count="0"]) { opacity: 1; transform: scale(1); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--dark); border-radius: 1px; transition: all var(--transition); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: sticky; top: 0; z-index: 1;
  min-height: 100svh; display: flex; align-items: center;
  margin-top: -96px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(26,24,20,.75) 0%, rgba(26,24,20,.45) 60%, rgba(26,24,20,.15) 100%);
}

.hero-content {
  position: relative; z-index: 2; width: 100%;
  padding-top: 110px;
}

.hero-eyebrow {
  font-size: .68rem; font-weight: 500;
  color: var(--gold); letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300; color: var(--white);
  line-height: .95; letter-spacing: -.01em;
  margin-bottom: 1.4rem;
}
.hero-title em { font-style: italic; font-weight: 300; }

.hero-desc {
  font-size: clamp(.85rem, 1.8vw, .98rem);
  color: rgba(250,248,244,.72); max-width: 380px;
  line-height: 1.7; margin-bottom: 2.2rem;
}

.hero-ctas { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ── MAIN ── */
main { position: relative; z-index: 5; background: var(--white); }

/* ── CATEGORIES ── */
.categories { background: var(--off-white); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.75rem, 2vw, 1.5rem);
}

.cat-card {
  display: block; background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); }

.cat-img-wrap { aspect-ratio: 4/5; overflow: hidden; background: var(--cream); }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.4,0,.2,1); }
.cat-card:hover .cat-img-wrap img { transform: scale(1.04); }

.cat-info { padding: 1.25rem 1.4rem 1.5rem; border-top: 1px solid var(--border); }
.cat-info h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400; color: var(--dark);
  letter-spacing: -.01em; line-height: 1; margin-bottom: .35rem;
}
.cat-info span {
  font-size: .7rem; font-weight: 500;
  color: var(--gray); letter-spacing: .08em; text-transform: uppercase;
}

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.75rem, 2vw, 1.4rem);
}

.product-card {
  background: var(--white); display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-img { aspect-ratio: 1; overflow: hidden; background: var(--off-white); cursor: pointer; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.product-card:hover .product-img img { transform: scale(1.04); }

.product-badge {
  position: absolute; top: .6rem; left: .6rem;
  background: var(--dark); color: var(--white);
  font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: .18rem .55rem; border-radius: 2px;
}

.product-img-wrap { position: relative; }

.product-body {
  padding: .9rem 1rem .4rem;
  display: flex; flex-direction: column; gap: .22rem; flex: 1;
}
.product-cat { font-size: .62rem; font-weight: 500; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }
.product-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.05rem; font-weight: 400; color: var(--dark);
  line-height: 1.25; cursor: pointer; transition: color var(--transition);
}
.product-name:hover { color: var(--gray); }
.product-price {
  font-size: .9rem; font-weight: 500; color: var(--dark);
  margin-top: auto; padding-top: .5rem;
}

.product-actions { padding: 0 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; }

.product-qty-row { display: flex; align-items: center; gap: .4rem; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 400; color: var(--dark);
  transition: all var(--transition); line-height: 1;
}
.qty-btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.qty-val { min-width: 20px; text-align: center; font-size: .85rem; color: var(--dark); }

.btn-add {
  background: var(--off-white); color: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: .5rem 1rem;
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  width: 100%; transition: all var(--transition);
}
.btn-add:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.btn-buy {
  background: var(--dark); color: var(--white);
  border-radius: var(--radius); padding: .55rem 1rem;
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  width: 100%; transition: all var(--transition);
}
.btn-buy:hover { background: var(--dark-mid); }

/* ── FEATURED ── */
.featured { background: var(--white); }
.featured-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ── EDITORIAL ── */
.editorial {
  position: relative; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
.editorial-bg { position: absolute; inset: 0; }
.editorial-bg img { width: 100%; height: 100%; object-fit: cover; }
.editorial-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,24,20,.88) 0%, rgba(26,24,20,.65) 55%, rgba(26,24,20,.15) 100%);
}
.editorial-content {
  position: relative; z-index: 2; max-width: 520px;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.editorial-eyebrow { color: var(--gold); margin-bottom: .75rem; }
.editorial-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300; color: var(--white);
  line-height: .95; margin-bottom: 1.2rem;
}
.editorial-title em { font-style: italic; }
.editorial-text {
  font-size: .93rem; color: rgba(250,248,244,.72);
  line-height: 1.75; margin-bottom: 2rem; max-width: 380px;
}

/* ── AMBIANCE ── */
.ambiance { background: var(--off-white); }

.ambiance-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.ambiance-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300; color: var(--dark);
  line-height: .95; letter-spacing: -.01em;
  margin-bottom: 1.2rem;
}
.ambiance-title em { font-style: italic; }

.ambiance-text p {
  font-size: .9rem; color: var(--gray); line-height: 1.75; margin-bottom: 2rem;
}

.ambiance-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .75rem;
}

.amb-img { border-radius: var(--radius-lg); overflow: hidden; }
.amb-img img { width: 100%; height: 100%; object-fit: cover; }
.amb-img--tall { grid-row: span 2; aspect-ratio: 9/16; }
.amb-img:not(.amb-img--tall) { aspect-ratio: 1; }

/* ── FLATLAY STRIP ── */
.flatlay-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.flatlay-img { overflow: hidden; }
.flatlay-img img { width: 100%; height: 100%; object-fit: cover; }

.flatlay-content {
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 7vw, 6rem);
  gap: 1rem;
}

.flatlay-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300; color: var(--dark);
  line-height: .95; letter-spacing: -.01em;
}
.flatlay-title em { font-style: italic; }

.flatlay-content p {
  font-size: .9rem; color: var(--gray); line-height: 1.75;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark); color: rgba(250,248,244,.6);
  position: relative; z-index: 10;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 0;
}

.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(250,248,244,.08);
}

.footer-brand { display: flex; flex-direction: column; gap: .6rem; }

.footer-logo-img {
  width: 44px; height: 44px;
  border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(250,248,244,.15);
}

.footer-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--white); letter-spacing: .02em;
}

.footer-brand p { font-size: .85rem; line-height: 1.6; color: rgba(250,248,244,.45); }

.footer-nav h4, .footer-contact h4 {
  font-size: .62rem; font-weight: 500; color: var(--gold);
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a, .footer-contact a {
  font-size: .85rem; color: rgba(250,248,244,.5); transition: color var(--transition);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.5rem 0;
  font-size: .74rem; color: rgba(250,248,244,.28); flex-wrap: wrap;
}
.footer-bottom a { color: rgba(250,248,244,.45); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }
.ai-note { opacity: .45; font-size: .85em; }

/* ── CART ── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(26,24,20,.35);
  z-index: 200; opacity: 0; visibility: hidden;
  transition: all var(--transition); backdrop-filter: blur(2px);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(400px, 92vw); background: var(--white);
  z-index: 201; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 32px rgba(26,24,20,.12);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--dark); letter-spacing: .02em;
}
.cart-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--gray); transition: all var(--transition);
}
.cart-close:hover { background: var(--off-white); color: var(--dark); }

.cart-items {
  flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.cart-empty { text-align: center; color: var(--gray); font-size: .87rem; padding: 2rem 0; }

.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: .75rem; align-items: start;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.cart-item-img { width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; background: var(--off-white); }
.cart-item-info { display: flex; flex-direction: column; gap: .2rem; }
.cart-item-name { font-family: 'Cormorant Garant', serif; font-size: 1rem; font-weight: 400; color: var(--dark); line-height: 1.3; }
.cart-item-price { font-size: .8rem; color: var(--gray); }
.cart-item-qty { font-size: .73rem; color: var(--gray-light); }
.cart-item-remove { font-size: .72rem; color: var(--gray-light); padding: .2rem; transition: color var(--transition); }
.cart-item-remove:hover { color: var(--dark); }

.cart-footer {
  padding: 1.25rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1rem;
}
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--dark); }
.cart-total strong { font-family: 'Cormorant Garant', serif; font-size: 1.3rem; font-weight: 400; }

/* ── CATALOG PAGE ── */
.catalog-banner {
  background: var(--off-white);
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.catalog-eyebrow { margin-bottom: .5rem; }
.catalog-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2rem, 6vw, 4rem); font-weight: 300;
  color: var(--dark); line-height: 1; letter-spacing: -.01em;
}
.catalog-subtitle {
  font-size: .72rem; font-weight: 500; color: var(--gray);
  letter-spacing: .14em; text-transform: uppercase; margin-top: .5rem;
}

.catalog-main { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(4rem, 8vw, 6rem); }

.filters-bar {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.search-wrap {
  position: relative; display: flex; align-items: center;
  flex: 1; min-width: 180px; max-width: 280px;
}
.search-wrap svg { position: absolute; left: .75rem; color: var(--gray-light); pointer-events: none; }
.search-input {
  width: 100%; padding: .6rem .75rem .6rem 2.2rem;
  border: 1px solid var(--border-mid); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: .82rem;
  background: var(--white); color: var(--dark);
  transition: border-color var(--transition); outline: none;
}
.search-input:focus { border-color: var(--dark); }
.search-input::placeholder { color: var(--gray-light); }

.filter-chips { display: flex; gap: .35rem; flex-wrap: wrap; }
.chip {
  padding: .4rem 1rem; border-radius: 50px;
  border: 1px solid var(--border-mid);
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 500;
  color: var(--gray); letter-spacing: .08em; text-transform: uppercase;
  background: var(--white); transition: all var(--transition); cursor: pointer;
}
.chip:hover { border-color: var(--dark); color: var(--dark); }
.chip.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.chip-sub {
  padding-left: .85rem;
  padding-right: .85rem;
  opacity: .82;
}
.chip-sub::before {
  content: '· ';
}

.filter-toggle-btn {
  display: none; align-items: center; gap: .35rem;
  padding: .4rem 1rem; border-radius: 50px;
  border: 1px solid var(--border-mid);
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 500;
  color: var(--dark); background: var(--white); letter-spacing: .08em;
  cursor: pointer; transition: all var(--transition); text-transform: uppercase;
}
.filter-toggle-btn:hover { border-color: var(--dark); }

.filter-mobile-panel {
  display: none; flex-wrap: wrap; gap: .35rem;
  padding: .75rem 0; border-bottom: 1px solid var(--border); margin-bottom: 1rem;
}
.filter-mobile-panel.open { display: flex; }

.sort-select {
  padding: .5rem .9rem; border: 1px solid var(--border-mid);
  border-radius: var(--radius); font-family: 'Inter', sans-serif;
  font-size: .75rem; font-weight: 500; letter-spacing: .05em;
  color: var(--dark); background: var(--white); outline: none; cursor: pointer;
  transition: border-color var(--transition); text-transform: uppercase;
}
.sort-select:focus { border-color: var(--dark); }

.results-count { font-size: .78rem; color: var(--gray); margin-bottom: 1rem; }
.load-more-wrap { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-top .footer-contact { display: none; }
}

@media (max-width: 1024px) {
  .ambiance-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ambiance-imgs { grid-template-columns: repeat(3, 1fr); }
  .amb-img--tall { grid-row: auto; aspect-ratio: 1; }
  .flatlay-strip { grid-template-columns: 1fr; }
  .flatlay-img { aspect-ratio: 16/9; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 70%; max-width: 280px;
    background: var(--white);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.4rem; padding: 2rem; z-index: 100;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    box-shadow: -4px 0 24px rgba(26,24,20,.1);
    border-left: 1px solid var(--border);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-link { font-size: .9rem; color: var(--dark); }
  .menu-toggle { display: flex; }

  /* Subcategorías en mobile: acordeón inline en vez de dropdown flotante */
  .nav-item.has-sub { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
  .nav-caret { margin-left: auto; }
  .nav-dropdown {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    flex-basis: 100%; min-width: 0; width: 100%;
    margin-top: 0; padding: 0 0 0 1rem;
    border: none; box-shadow: none; background: transparent;
    max-height: 0; overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav-item.has-sub.open .nav-dropdown { max-height: 320px; margin-top: .6rem; }
  .nav-sublink { padding: .5rem 0; font-size: .78rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .categories-grid { grid-template-columns: 1fr; gap: .75rem; }
  .cat-img-wrap { aspect-ratio: 3/2; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }

  .desktop-chips { display: none; }
  .filter-toggle-btn { display: flex; }
  .brand-name { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .product-body { padding: .75rem .75rem .3rem; }
  .product-actions { padding: 0 .75rem .75rem; }
}

/* ══════════════════════════════════════════════
   CHECKOUT
   ══════════════════════════════════════════════ */
.checkout-main { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem); }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }

.form-section { margin-bottom: clamp(1.5rem, 3vw, 2.2rem); }
.form-section h2 {
  font-family: 'Cormorant Garant', serif; font-size: 1.3rem; font-weight: 500;
  margin-bottom: 1rem; color: var(--dark);
}
.form-row { display: flex; gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.form-group { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .78rem; color: var(--gray); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  padding: .75rem .9rem; border: 1px solid var(--border-mid); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: .88rem; color: var(--dark);
  background: var(--white); transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; }
.checkbox-label { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .85rem; color: var(--dark); }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--gold); margin: 0; }

.form-error {
  background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b;
  border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-size: .88rem;
}

.cupon-row { display: flex; gap: .6rem; }
.cupon-row input { flex: 1; padding: .75rem .9rem; border: 1px solid var(--border-mid); border-radius: var(--radius); font-size: .88rem; }
.form-hint { font-size: .8rem; color: var(--gray); margin-top: .4rem; }

.payment-methods { display: flex; gap: .6rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.payment-option {
  flex: 1; min-width: 150px; display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1rem; border: 1.5px solid var(--border-mid); border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition); font-size: .85rem; color: var(--dark);
}
.payment-option input { accent-color: var(--gold); }
.payment-option--selected { border-color: var(--gold); background: rgba(184,146,58,.06); }

.transferencia-info {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem; margin-bottom: 1rem; border: 1px solid var(--border);
}
.transferencia-aviso {
  background: #fef9c3; border: 1px solid #fde047; border-radius: var(--radius);
  padding: .7rem 1rem; font-size: .85rem; color: #713f12; margin-bottom: 1rem; line-height: 1.5;
}
.transferencia-info h4 { font-family: 'Cormorant Garant', serif; font-size: 1.1rem; margin-bottom: .8rem; }
.transferencia-dato { font-size: .9rem; margin-bottom: .4rem; color: var(--dark); }
.transferencia-dato strong { font-weight: 700; }
.btn-wsp-comprobante {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem;
  background: #25d366; color: #fff; border-radius: var(--radius);
  padding: .65rem 1.2rem; font-size: .88rem; font-weight: 500; text-decoration: none;
}

.order-summary {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 1.8rem); border: 1px solid var(--border);
}
.order-summary h2 { font-family: 'Cormorant Garant', serif; font-size: 1.3rem; margin-bottom: 1.1rem; }
.order-item { display: flex; gap: .8rem; align-items: center; margin-bottom: .9rem; }
.order-item img { width: 56px; height: 56px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; }
.order-item-name { font-size: .85rem; color: var(--dark); display: block; }
.order-item-meta { font-size: .76rem; color: var(--gray); }
.order-item-price { font-size: .85rem; font-weight: 600; margin-left: auto; }
.summary-rows { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .55rem; }
.summary-row { display: flex; justify-content: space-between; font-size: .87rem; color: var(--dark); }
.summary-row.total { font-size: 1.05rem; font-weight: 700; padding-top: .6rem; border-top: 1px solid var(--border); }
.envio-badge { display: inline-flex; padding: 2px 9px; border-radius: 4px; font-size: .8rem; font-weight: 700; }
.envio-badge.gratis { background: #d1fae5; color: #065f46; }
.envio-badge.calculando { background: var(--cream); color: var(--gray); }
.mp-badge {
  display: flex; align-items: center; gap: .5rem; justify-content: center;
  margin-top: 1.2rem; font-size: .78rem; color: var(--gray);
}

/* ══════════════════════════════════════════════
   PÁGINAS DE ESTADO (éxito / fallo / pendiente)
   ══════════════════════════════════════════════ */
.state-page { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 3rem 1.5rem; }
.state-card { max-width: 480px; text-align: center; }
.state-icon { width: 72px; height: 72px; margin: 0 auto 1.4rem; }
.state-icon.success svg circle { fill: #16a34a; }
.state-icon.error svg circle { fill: #dc2626; }
.state-icon.pending svg circle { fill: var(--gold); }
.state-card h1 { font-family: 'Cormorant Garant', serif; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .8rem; }
.state-card p { color: var(--gray); font-size: .95rem; margin-bottom: 1.5rem; line-height: 1.6; }
.state-order {
  display: inline-flex; flex-direction: column; gap: .2rem;
  background: var(--off-white); border-radius: var(--radius); padding: .9rem 1.6rem; margin-bottom: 1.5rem;
}
.state-order span { font-size: .75rem; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; }
.state-order strong { font-size: 1.2rem; font-family: 'Cormorant Garant', serif; }
.state-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   PRODUCTO — DETALLE
   ══════════════════════════════════════════════ */
.producto-main { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem); }
.producto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.producto-gallery-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: .7rem; background: var(--off-white); }
.producto-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.producto-thumbs { display: flex; gap: .6rem; flex-wrap: wrap; }
.producto-thumb { width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.producto-thumb.active { border-color: var(--gold); }
.producto-thumb img { width: 100%; height: 100%; object-fit: cover; }
.producto-cat { font-size: .72rem; color: var(--gold); letter-spacing: .15em; text-transform: uppercase; margin-bottom: .6rem; display: block; }
.producto-title { font-family: 'Cormorant Garant', serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.producto-price { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.2rem; }
.producto-price s { font-size: .8em; opacity: .5; margin-right: .5rem; }
.producto-desc { color: var(--gray); line-height: 1.7; margin-bottom: 1.6rem; font-size: .92rem; }
.producto-stock { font-size: .82rem; margin-bottom: 1.2rem; }
.producto-stock.low { color: #c2410c; font-weight: 600; }
.producto-stock.out { color: #dc2626; font-weight: 600; }
.producto-actions { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.producto-qty-row { display: flex; align-items: center; border: 1px solid var(--border-mid); border-radius: var(--radius); }
.producto-qty-row button { width: 38px; height: 44px; font-size: 1.1rem; }
.producto-qty-row span { width: 36px; text-align: center; font-size: .9rem; }
.producto-actions .btn-add, .producto-actions .btn-buy { width: auto; flex: 1; padding: .9rem 1.4rem; }

@media (max-width: 1024px) {
  .checkout-grid, .producto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row { flex-direction: column; }
  .payment-methods { flex-direction: column; }
}

/* ─── Método de entrega (retiro en el local) ─── */
.delivery-methods { display: flex; flex-wrap: wrap; gap: .8rem; }
.delivery-option {
  flex: 1; min-width: 180px; display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1rem; border: 1.5px solid var(--border-mid); border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition); font-size: .85rem; color: var(--dark);
}
.delivery-option input { accent-color: var(--gold); }
.delivery-option:has(input:checked) { border-color: var(--gold); background: rgba(184,146,58,.06); }

/* ─── Carrusel de banners (config/banners desde el admin) ─── */
.banner-carousel { position: relative; width: min(1200px, calc(100% - 40px)); margin: 24px auto 0; }
.banner-carousel[hidden] { display: none; }
.banner-viewport { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--off-white); }
.banner-track { display: flex; transition: transform .5s cubic-bezier(.23,1,.32,1); }
.banner-slide { flex: 0 0 100%; }
.banner-slide img { width: 100%; height: auto; aspect-ratio: 2.8 / 1; object-fit: cover; display: block; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: rgba(250,250,250,.86); border: 1px solid var(--border-mid);
  color: var(--dark); font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center; transition: background var(--transition);
}
.banner-arrow:hover { background: var(--white); }
.banner-arrow-prev { left: 12px; }
.banner-arrow-next { right: 12px; }
.banner-dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.banner-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--gray-light); border: 0; transition: background var(--transition), transform var(--transition);
}
.banner-dot.is-active { background: var(--gold); transform: scale(1.25); }
@media (max-width: 640px) {
  .banner-carousel { width: calc(100% - 24px); }
  .banner-slide img { aspect-ratio: 2 / 1; }
  .banner-arrow { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .banner-track { transition: none; } }

/* [hidden] gana sobre el display:flex de .form-group / .delivery-methods */
#metodoEntregaSection[hidden], #direccionSection[hidden], #franjaHorariaWrap[hidden], #retiroLocalInfo[hidden] { display: none; }
