/* Teddy House — estilo basado en el theme Horizon de Shopify */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f5;
  --color-bg-warm: #eef1ea;
  --color-fg: #000000cf;
  --color-fg-heading: #000000;
  --color-border: #e6e6e6;
  --color-btn-bg: #000000;
  --color-btn-bg-hover: #333333;
  --color-btn-text: #ffffff;
  --card-radius: 4px;
  --popover-radius: 14px;
  --page-max: 1200px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-fg);
  background: var(--color-bg);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--color-fg-heading); font-weight: 700; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: 56px; line-height: 1.05; }
h2 { font-size: 40px; line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #00000087;
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 8px 16px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-row {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.logo img {
  height: 26px;
  width: auto;
}
nav.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
nav.main-nav a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
nav.main-nav a:hover, nav.main-nav a.active {
  border-color: #000;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-icons a, .header-icons button {
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  position: relative;
  padding: 4px;
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  background: #fff;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 0;
  border: 1px solid #000;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
}
.btn-primary:hover { background: var(--color-btn-bg-hover); }
.btn-secondary {
  background: transparent;
  color: #000;
}
.btn-secondary:hover { background: #fafafa; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Add-to-cart: plays a gentle lift on its own, no hover needed. Tactile press still overrides it. */
.btn-add-cart {
  transition: transform 100ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-add-cart {
    animation: cta-float 2s ease-in-out infinite;
  }
  @keyframes cta-float {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
    40%, 60% { transform: translateY(-7px) scale(1.035); box-shadow: 0 18px 30px rgba(0, 0, 0, .32); }
  }
}
.btn-add-cart:active {
  transform: scale(0.97) !important;
  animation-play-state: paused;
}

/* ---------- Hero ---------- */
.hero {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 900;
  overflow: hidden;
}
.hero img,
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Section headers ---------- */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}
.section-head h2 { margin: 0; }
.section-head .link-all {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid #000;
  white-space: nowrap;
}

/* ---------- Category tiles ---------- */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.category-tile {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-soft);
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.category-tile:hover img { transform: scale(1.04); }
.category-tile-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ---------- Featured product band ---------- */
.featured-product {
  background: var(--color-bg-warm);
  border-radius: var(--popover-radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.featured-product-media-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.featured-product-media {
  aspect-ratio: 1/1;
  overflow: hidden;
}
.featured-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-thumbs {
  padding: 10px 12px 12px;
}
.featured-product-info {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-product-info h3 {
  font-size: 36px;
  margin-bottom: 12px;
}
.featured-product-info .price-row {
  font-size: 20px;
  margin-bottom: 8px;
}
.featured-product-info .price { font-size: 22px; }
.featured-product-info .swatch-row {
  margin-top: 2px;
  margin-bottom: 10px;
}
.featured-product-info .desc {
  font-size: 14px;
  color: var(--color-fg);
  margin-bottom: 28px;
  max-width: 420px;
}
.featured-product-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Rating stars */
.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.rating-row .stars {
  display: flex;
  gap: 2px;
  color: #000;
}
.rating-row .stars svg { width: 16px; height: 16px; }
.rating-row .rating-value { font-weight: 600; font-size: 13px; }
.rating-row .rating-count { font-size: 12px; color: #00000087; }

/* Stock urgency badge */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  border: 1px solid #000;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  width: fit-content;
}
.stock-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c0392b;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .stock-badge::before {
    animation: urgency-blink 1.2s ease-in-out infinite;
  }
  @keyframes urgency-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(192, 57, 43, .45); }
    50% { opacity: .35; box-shadow: 0 0 0 5px rgba(192, 57, 43, 0); }
  }
}

/* Delivery estimator */
.delivery-estimator {
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  background: var(--color-bg-warm);
  padding: 20px;
  margin: 24px 0;
}
.delivery-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.delivery-header svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.delivery-header strong {
  display: block;
  font-size: 14px;
  color: #000;
}
.delivery-header span {
  display: block;
  font-size: 12px;
  color: #00000087;
  margin-top: 2px;
}
.delivery-input-row {
  display: flex;
  gap: 8px;
}
.delivery-input-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: 1px solid #dfdfdf;
  border-radius: 100px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
}
.delivery-input-row input:focus { outline: 2px solid #000; outline-offset: 1px; }
.delivery-input-row button {
  padding: 10px 20px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 160ms ease-out;
}
.delivery-input-row button:hover { background: #333; }
.delivery-error {
  font-size: 12px;
  color: #c0392b;
  margin: 10px 0 0;
}
.delivery-timeline {
  position: relative;
  display: flex;
  margin: 24px 0 4px;
}
.delivery-track {
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 18px;
  pointer-events: none;
}
.delivery-truck {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  color: #000;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .delivery-truck {
    animation: delivery-truck-move 3.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  }
  @keyframes delivery-truck-move {
    0% { left: 0; opacity: 0; }
    8% { opacity: 1; }
    88% { opacity: 1; }
    100% { left: calc(100% - 18px); opacity: 0; }
  }
}
.delivery-step {
  flex: 1;
  position: relative;
  padding-top: 22px;
}
.delivery-step .dot {
  position: absolute;
  top: 2px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
}
.delivery-step::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 14px;
  right: -50%;
  height: 2px;
  background: #00000021;
}
.delivery-step:last-child::after { display: none; }
.delivery-step strong {
  display: block;
  font-size: 12px;
  color: #000;
  margin-bottom: 3px;
}
.delivery-step span {
  display: block;
  font-size: 11px;
  color: #00000087;
  line-height: 1.4;
  padding-right: 8px;
}
.delivery-window {
  font-size: 13px;
  color: #000;
  margin: 4px 0 0;
}

/* Trust badges grid */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.trust-badge svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.trust-badge strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  margin-bottom: 2px;
}
.trust-badge span {
  display: block;
  font-size: 11px;
  color: #00000087;
  line-height: 1.4;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
.product-card { display: block; }
.product-card-media {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--color-bg-soft);
  aspect-ratio: 1/1;
  margin-bottom: 12px;
}
.product-card-media > a {
  display: block;
  width: 100%;
  height: 100%;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease, transform .4s ease;
}
.product-card-media img.img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .img-secondary { opacity: 1; }
.badge-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.product-card-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 4px;
}
.product-card-vendor {
  font-size: 12px;
  color: #00000087;
  margin-bottom: 4px;
}
.price-row { display: flex; align-items: center; gap: 8px; }
.price { font-weight: 600; color: #000; }
.price-compare { text-decoration: line-through; color: #00000060; font-size: 13px; }

/* ---------- Section head v2 (title + "Ver todo ↗" underneath) ---------- */
.section-head-v2 { margin-bottom: 20px; }
.section-head-v2 h2 { margin-bottom: 6px; }
.link-all-v2 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}
.link-all-v2:hover { text-decoration: underline; }

/* ---------- Quick-add button on product cards ---------- */
.quick-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background 160ms ease-out;
}
.quick-add:hover { background: #333; }
.quick-add:active { transform: scale(0.92); }
.quick-add svg { width: 20px; height: 20px; }

/* ---------- Color swatches ---------- */
.swatch-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.swatch {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #00000021;
  box-shadow: 0 0 0 1px #fff;
  cursor: pointer;
  transition: transform 120ms ease-out;
}
.swatch:hover { transform: scale(1.12); }
.swatch.active {
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px #000;
}

/* ---------- Carousel (horizontal scroll) ---------- */
.carousel-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel-grid::-webkit-scrollbar { display: none; }
.carousel-grid .product-card {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
}

/* ---------- "Un TEDDY, varios usos" cards ---------- */
.carousel-grid .uso-card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
}
.uso-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--card-radius);
  margin-bottom: 16px;
  background: var(--color-bg-soft);
}
.uso-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.uso-card p {
  font-size: 14px;
  color: var(--color-fg);
  margin: 0;
}

/* ---------- Customer reviews ---------- */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.reviews-summary .stars-lg {
  display: flex;
  gap: 2px;
  color: #000;
}
.reviews-summary .stars-lg svg { width: 18px; height: 18px; }
.reviews-summary strong { font-size: 15px; }
.reviews-summary span:last-child { font-size: 13px; color: #00000087; }
.carousel-grid .review-card {
  flex: 0 0 auto;
  width: 270px;
  scroll-snap-align: start;
}
.review-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--card-radius);
  margin-bottom: 14px;
  background: var(--color-bg-soft);
}
.review-card .stars {
  display: flex;
  gap: 2px;
  color: #000;
  margin-bottom: 8px;
}
.review-card .stars svg { width: 14px; height: 14px; }
.review-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000;
}
.review-card p {
  font-size: 13px;
  color: var(--color-fg);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Text-only reviews (below photo reviews) ---------- */
.text-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.review-card-text {
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 18px;
}
.review-card-text .stars {
  display: flex;
  gap: 2px;
  color: #000;
  margin-bottom: 8px;
}
.review-card-text .stars svg { width: 14px; height: 14px; }
.review-card-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000;
}
.review-card-text p {
  font-size: 13px;
  color: var(--color-fg);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 600px) {
  .text-reviews-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- Mode viewer ("sillón en movimiento") ---------- */
.mode-viewer {
  background: var(--color-bg-warm);
  border-radius: var(--popover-radius);
  overflow: hidden;
}
.mode-viewer-image {
  aspect-ratio: 1920/1522;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.mode-viewer-image img,
.mode-viewer-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mode-viewer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 8px;
  border-top: 1px solid #00000014;
}
.mode-viewer-nav button {
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 160ms ease-out;
}
.mode-viewer-nav button:hover { background: #00000010; }
.mode-viewer-nav button svg { width: 20px; height: 20px; }
.mode-viewer-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  text-align: center;
  justify-content: center;
}
.mode-counter {
  color: #00000060;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.mode-name {
  font-weight: 600;
  color: #000;
}
.mode-viewer-text {
  padding: 0 24px 24px;
  margin: 0;
  font-size: 14px;
  color: var(--color-fg);
  line-height: 1.6;
  max-width: 640px;
}

/* ---------- Product video section ---------- */
.video-section {
  background: var(--color-bg-warm);
  border-radius: var(--popover-radius);
  padding: 40px 24px;
}
.video-section h2 {
  margin-bottom: 24px;
  max-width: 600px;
}
.video-frame {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.video-frame:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-frame.playing .video-play-btn { opacity: 0; pointer-events: none; }

/* ---------- Filters bar (collection) ---------- */
.filters-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 9px 20px;
  border: 1px solid #000;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  background: #fff;
}
.filter-chip.active { background: #000; color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 12px;
  color: #00000087;
  margin-bottom: 24px;
  padding-top: 24px;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  padding-bottom: 64px;
}
.gallery-main {
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--color-bg-soft);
  aspect-ratio: 1/1;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  min-width: 0;
}
.gallery-thumbs img {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  opacity: .7;
}
.gallery-thumbs img.active { border-color: #000; opacity: 1; }
.product-info h1 { font-size: 32px; margin-bottom: 8px; }
.product-info .price-row { font-size: 20px; margin: 16px 0; }
.product-info .price { font-size: 22px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #dfdfdf;
  border-radius: 100px;
  overflow: hidden;
}
.qty-stepper button {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
}
.qty-stepper input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 14px;
}
.product-desc {
  margin: 4px 0 20px;
  font-size: 13px;
  color: #00000087;
}
.product-desc p { margin: 0; }
.trust-row {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: #00000087;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  border-top: 1px solid var(--color-border);
  margin-top: 24px;
  max-width: 720px;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #000;
}
.faq-chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-item.open .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer-content {
  padding: 0 4px 24px 42px;
  font-size: 14px;
  color: var(--color-fg);
  line-height: 1.7;
}
.faq-answer-content p { margin: 0 0 12px; }
.faq-answer-content p:last-child { margin-bottom: 0; }
.faq-answer-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin: 16px 0 6px;
}
.faq-answer-content h4:first-child { margin-top: 0; }
.faq-answer-content ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 12px;
}
.faq-answer-content li { margin-bottom: 4px; }
.faq-answer-content ul:last-child { margin-bottom: 0; }

/* ---------- Cart page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 48px;
  padding: 40px 0 64px;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--color-bg-soft);
}
.cart-item-title { font-weight: 600; margin-bottom: 4px; }
.cart-item-vendor { font-size: 12px; color: #00000087; margin-bottom: 10px; }
.cart-item-remove {
  font-size: 12px;
  color: #00000087;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.cart-summary {
  background: var(--color-bg-warm);
  border-radius: var(--popover-radius);
  padding: 28px;
  height: fit-content;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
}
.summary-row.total { font-size: 18px; font-weight: 700; margin-top: 16px; padding-top: 16px; border-top: 1px solid #00000021; }
.empty-state {
  text-align: center;
  padding: 80px 24px;
}
.empty-state h2 { margin-bottom: 12px; }

/* ---------- Cart drawer ---------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 92vw;
  background: #fff;
  z-index: 91;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0,0,0,.08);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-drawer-foot { padding: 20px 24px; border-top: 1px solid var(--color-border); }
.cart-drawer-close { background: none; border: none; cursor: pointer; font-size: 20px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #000;
  color: #ffffffd0;
  margin-top: 64px;
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { color: #ffffffb0; font-size: 13px; display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #ffffff21;
  padding-top: 20px;
  font-size: 12px;
  color: #ffffff80;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: 1fr; }
  .featured-product { grid-template-columns: 1fr; }
  .featured-product-info { padding: 32px; }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  .menu-toggle { display: flex; }
  .logo { order: 2; }
  .menu-toggle { order: 1; }
  .header-icons { order: 3; }
  h1 { font-size: 34px; }
  .hero-content h1 { font-size: 30px; }
}

/* ---------- Mobile-only visual tweaks (phones, not tablets) ---------- */
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .category-tile { aspect-ratio: 1/1; }
  .category-tile-label {
    left: 10px;
    bottom: 10px;
    padding: 7px 12px;
    font-size: 12px;
  }
  h1 { font-size: 26px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .product-info h1 { font-size: 24px; }
  .featured-product-info h3 { font-size: 24px; }
  .hero + .wrap .section:first-child { padding-top: 28px; }
  .section { padding: 32px 0; }
  .section-head { margin-bottom: 6px; }
  .hero { aspect-ratio: 1080 / 1920; }
  .featured-product-actions .btn {
    padding: 10px 16px;
    font-size: 11px;
  }

  /* Transparent header over the hero video, solidifies once you scroll past it */
  body:has(.hero) .site-header {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
    transition: background 250ms ease, backdrop-filter 250ms ease, border-color 250ms ease;
  }
  body:has(.hero) .site-header .menu-toggle,
  body:has(.hero) .site-header .header-icons button,
  body:has(.hero) .site-header .header-icons a {
    color: #fff;
    transition: color 250ms ease;
  }
  body.header-solid:has(.hero) .site-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom-color: var(--color-border);
  }
  body.header-solid:has(.hero) .site-header .menu-toggle,
  body.header-solid:has(.hero) .site-header .header-icons button,
  body.header-solid:has(.hero) .site-header .header-icons a {
    color: #000;
  }
}

@media (min-width: 601px) {
  .hero { margin-top: 0 !important; }
}

/* ---------- Sales pop (compra reciente) ---------- */
.sales-pop {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  padding: 12px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .3s ease;
  pointer-events: none;
}
.sales-pop.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sales-pop img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--color-bg-soft);
  flex-shrink: 0;
}
.sales-pop-body { flex: 1; min-width: 0; }
.sales-pop-title {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  line-height: 1.35;
  margin-bottom: 2px;
}
.sales-pop-title strong { font-weight: 700; }
.sales-pop-meta {
  font-size: 12px;
  color: #00000087;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sales-pop-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  flex-shrink: 0;
}
.sales-pop-close {
  align-self: flex-start;
  background: none;
  border: none;
  color: #00000060;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  flex-shrink: 0;
}
.sales-pop-close:hover { color: #000; }
@media (max-width: 600px) {
  .sales-pop {
    left: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 10px;
  }
  .sales-pop img { width: 44px; height: 44px; }
}
