/* Essenza Perfumes - Estilos principales */
:root {
  --color-bg: #f9f9f9;
  --color-surface: #fff;
  --color-text: #222;
  --color-text-muted: #5c5c5c;
  --color-accent: #2b2b2b;
  --color-accent-hover: #4a4540;
  --color-border: #e8e6e3;
  --color-gold: #9a6b48;
  --color-btn: #9f5a77;
  --color-btn-hover: #8a4d68;
  --color-price: #a2596f;
  --font-sans: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --radius: 6px;
  --header-top-bg: #193a67;
  --header-top-text: #f0f4f8;
  --header-top-link: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 8px 12px;
  background: var(--color-accent);
  color: #fff;
  z-index: 100;
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

/* Header - 3 niveles estilo Essenza (se desplaza con la página) */
.site-header {
  background: var(--color-surface);
  z-index: 50;
}

/* Barra superior (cintillo) */
.header-top {
  background: var(--header-top-bg);
  font-size: 0.8rem;
  padding: 6px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.header-top-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.header-top-marquee-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: header-top-marquee-scroll 38s linear infinite;
}

.header-top-marquee-track .header-top-text {
  flex-shrink: 0;
  padding-inline-end: 3rem;
}

@keyframes header-top-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .header-top-marquee-track {
    animation: none;
  }
  .header-top-marquee-track .header-top-text[aria-hidden="true"] {
    display: none;
  }
}

.header-top-text {
  display: inline-block;
  margin: 0;
  color: var(--header-top-text);
  white-space: nowrap;
  font-size: 0.74rem;
  line-height: 1.2;
}

.header-top-contact {
  position: absolute;
  right: 32px;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
  padding-left: 2rem;
  background: linear-gradient(90deg, rgba(26, 47, 77, 0) 0%, var(--header-top-bg) 1.5rem);
}

.header-top-contact a {
  color: var(--header-top-link);
  text-decoration: none;
}
.header-top-contact a:hover { color: var(--color-gold); }

/* Nav principal: logo + búsqueda + carrito */
.header-main {
  padding: 12px 0;
}

.header-main-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  flex-wrap: wrap;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  font-style: italic;
}

.logo-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.logo-img {
  max-height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  vertical-align: middle;
}

/* Búsqueda: hueco entre logo y acciones, sin llegar al ancho máximo anterior */
.header-search {
  flex: 1 1 auto;
  min-width: 220px;
  max-width: min(780px, 100%);
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.header-search-btn {
  flex-shrink: 0;
  width: 44px;
  padding: 10px;
  border: none;
  border-right: 1px solid var(--color-border);
  background: var(--color-bg);
  cursor: pointer;
  color: #6b5b54;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-btn .header-search-icon {
  display: block;
}

.header-search-btn:hover {
  background: #f0ebe6;
  color: #3d2f2a;
}

.header-search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}

.header-search-input::placeholder { color: var(--color-text-muted); }
.header-search:focus-within { border-color: #d8d4ce; box-shadow: 0 0 0 2px rgba(159,90,119,.12); }

.header-search.search-autocomplete-open,
.alt-header-search.search-autocomplete-open,
.alt-nav-drawer-search.search-autocomplete-open {
  position: relative;
  z-index: 1200;
}

.search-autocomplete-panel {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border, #e8e4df);
  border-radius: var(--radius, 6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  max-height: min(70vh, 420px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 12000;
}

.search-autocomplete-panel.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.search-autocomplete-panel[hidden] {
  display: none !important;
}

.search-autocomplete-list {
  overflow-y: auto;
  max-height: min(70vh, 380px);
}

.search-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0ece8;
  transition: background 0.15s ease;
}

.search-autocomplete-item:last-child {
  border-bottom: none;
}

.search-autocomplete-item:hover,
.search-autocomplete-item:focus-visible {
  background: #faf7f4;
  text-decoration: none;
}

.search-autocomplete-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f2ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-autocomplete-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-autocomplete-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.search-autocomplete-name {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
  color: #2d2420;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-autocomplete-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.search-autocomplete-price-old {
  color: #9a9088;
  text-decoration: line-through;
}

.search-autocomplete-price-current {
  font-weight: 600;
  color: #9f5a77;
}

.search-autocomplete-empty {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted, #7a7068);
}

.search-autocomplete-footer {
  display: block;
  padding: 0.7rem 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9f5a77;
  text-decoration: none;
  border-top: 1px solid #f0ece8;
  background: #fafafa;
}

.search-autocomplete-footer:hover {
  background: #f5f0eb;
  text-decoration: none;
}

.search-intro {
  color: var(--color-text-muted);
  max-width: 42rem;
  line-height: 1.65;
  font-size: 0.98rem;
}

.search-query-line {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.search-query-line strong {
  color: var(--color-text);
}

.search-empty {
  margin-bottom: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.search-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Carrito + Login */
.header-actions {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
  min-width: 0;
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 1.4rem;
  border-radius: var(--radius);
}

.header-cart .header-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-cart .header-cart-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.header-cart:hover { color: var(--color-gold); }

.header-cart .cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 0.7rem;
  line-height: 18px;
  text-align: center;
  background: var(--color-gold);
  color: #fff;
  border-radius: 9px;
}

.header-login {
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
}
.header-login:hover { color: var(--color-gold); }

.header-wholesale-session {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  max-width: min(280px, 46vw);
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(154, 107, 72, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(154, 107, 72, 0.1) 0%, #fff 100%);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(154, 107, 72, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-wholesale-session:hover {
  border-color: rgba(154, 107, 72, 0.45);
  box-shadow: 0 4px 14px rgba(154, 107, 72, 0.12);
  text-decoration: none;
}
.header-wholesale-session-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  hyphens: auto;
}
.header-wholesale-session-tag {
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a6b48;
  line-height: 1.2;
}

/* Barra de categorías */
.header-categories {
  padding: 10px 0;
  background: var(--color-surface);
}

.header-categories-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.header-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.header-cat-list a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.header-cat-list a:hover { color: var(--color-gold); }

.btn-tiendas {
  padding: 8px 20px;
  background: var(--color-btn);
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.btn-tiendas:hover { background: var(--color-btn-hover); color: #fff !important; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-accent);
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--color-border); }
.nav-toggle:focus { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.nav-toggle[aria-expanded="true"] { background: var(--color-accent); color: #fff; }

/* Main */
.main-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 32px;
  min-height: 60vh;
}

/* Page titles */
.page-title {
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  font-weight: 600;
}

/* Toolbar (tienda / categoría / marca) */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.toolbar-result-count {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.toolbar-actions label { font-size: 0.9rem; color: var(--color-text-muted); }
.toolbar-actions select {
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--color-surface);
}

/* Categoría: layout + filtros lateral/arriba (estilo WooCommerce) */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
}

.shop-sidebar {
  border-right: 1px solid var(--color-border);
  padding-right: 20px;
}

.shop-filter-block {
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.shop-filter-block h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
}

.shop-filter-list {
  display: grid;
  gap: 8px;
  max-height: 240px;
  overflow: auto;
  padding-right: 6px;
}

.shop-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.shop-check-label {
  flex: 1;
}

.shop-check-count {
  color: #9ba3ad;
  margin-left: 8px;
  font-weight: 400;
}

.price-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-range-row input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-family: inherit;
}

.price-slider {
  position: relative;
  height: 34px;
  margin-top: 4px;
}

.price-slider-track,
.price-slider-range {
  position: absolute;
  top: 15px;
  height: 3px;
  border-radius: 999px;
}

.price-slider-track {
  left: 0;
  right: 0;
  background: #d9d9d9;
}

.price-slider-range {
  background: var(--color-btn);
  left: 0;
  width: 100%;
}

.price-slider input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 34px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-btn);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  pointer-events: auto;
  cursor: pointer;
}

.price-slider input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-btn);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  pointer-events: auto;
  cursor: pointer;
}

.price-slider-values {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.shop-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-clear-filters {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  text-align: center;
}

.shop-clear-filters:hover {
  color: var(--color-gold);
}

.shop-filters-toggle {
  display: none;
}

.toolbar-top-row .shop-filters-toggle {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .shop-filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
  }
  .shop-filters-toggle:hover,
  .shop-filters-toggle[aria-expanded="true"] {
    border-color: var(--color-gold);
    color: var(--color-gold);
  }
}

.toolbar-top {
  border-top: 1px solid var(--color-border);
  margin-top: 2px;
}

.toolbar-top-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.toolbar-horizontal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.toolbar-horizontal a {
  min-width: 28px;
  text-align: center;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid transparent;
}

.toolbar-horizontal a.active,
.toolbar-horizontal a:hover {
  border-color: var(--color-border);
  color: var(--color-gold);
}

/* Product grid - 3 por fila en desktop (cards más grandes) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Home: 5 por fila para verse más compacto */
.products-grid-home {
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (min-width: 769px) {
  .products-grid.products-grid-categoria {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* Contenedor de imagen con overlays (flechas + ícono carrito) - estilo Essenza */
.product-card-image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

.product-card-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  background: #fff;
}

.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity .2s;
}

.product-card-no-img {
  color: #999;
  font-size: 3rem;
}

/* Flechas para ver más imágenes (visible en hover) */
.product-card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-accent);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.product-card-prev { left: 8px; }
.product-card-next { right: 8px; }

.product-card:hover .product-card-nav {
  opacity: 1;
}

.product-card-nav:hover {
  background: #fff;
  color: var(--color-gold);
}

/* Ícono de carrito (cuadrado blanco, esquinas redondeadas) - visible en hover */
.product-card-cart-icon {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  text-decoration: none;
  opacity: 0;
  transition: opacity .2s, background .2s, color .2s;
}

.product-card:hover .product-card-cart-icon {
  opacity: 1;
}

.product-card-cart-icon:hover {
  background: var(--color-accent);
  color: #fff;
}

.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.3;
}

.product-card-title a {
  color: var(--color-text);
  text-decoration: none;
}
.product-card-title a:hover { color: var(--color-gold); }

.product-card-categories {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-card-categories a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.product-card-categories a:hover { color: var(--color-gold); }

.product-card-price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: 8px;
  color: var(--color-price);
}

.product-card-decant-size {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  padding: 3px;
  border: 1px solid var(--color-border, #e0d8ce);
  border-radius: 999px;
  background: #fff;
  gap: 3px;
}

.product-card-decant-size-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 30px;
  padding: 0 0.45rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted, #777);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.product-card-decant-size-btn:hover {
  color: var(--color-text, #111);
}

.product-card-decant-size-btn.is-active {
  background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.14);
}

.product-card--decant .product-card-price {
  padding-top: 6px;
}

.price-old {
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-right: 0;
}

.price-current {
  color: var(--color-price);
  font-weight: 700;
}

/* Móvil / tablet: precios en columna */
.product-card-price,
.product-single-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  white-space: normal;
}

.mini-cart-item-info small {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  white-space: normal;
}

@media (min-width: 769px) {
  .product-card-price,
  .product-single-price {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 8px;
    white-space: nowrap;
  }

  .product-card-price .price-old,
  .product-single-price .price-old {
    margin-right: 8px;
  }

  .mini-cart-item-info small {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 6px;
    white-space: nowrap;
  }
}

.price-unavailable {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
}
.btn:hover { background: var(--color-accent-hover); color: #fff; }
.btn-block { width: 100%; }

/* Banner rotativo: imagen completa visible, altura según proporción */
.hero-banner {
  position: relative;
  margin: -24px calc(50% - 50vw) 40px;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-banner-container {
  position: relative;
  width: 100%;
  margin: 0;
}

.hero-banner-view {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-banner-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: transform 0.4s ease;
  will-change: transform;
}

.hero-banner-slide {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
  background: var(--color-bg);
  position: relative;
}

.hero-banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.hero-banner-cta {
  position: absolute;
  z-index: 2;
  left: clamp(12%, 18vw, 22%);
  top: 58%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 1.85rem;
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 1.55vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
  border: 1px solid #7d1224;
  border-radius: 999px;
  background: linear-gradient(180deg, #a31830 0%, #7d1224 100%);
  box-shadow: 0 4px 16px rgba(163, 24, 48, 0.32);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.hero-banner-cta:hover {
  border-color: #5e0d1a;
  color: #fff !important;
  background: linear-gradient(180deg, #8d1529 0%, #5e0d1a 100%);
  box-shadow: 0 6px 20px rgba(94, 13, 26, 0.36);
  transform: translate(-50%, calc(-50% - 1px));
  text-decoration: none !important;
}

@media (min-width: 769px) {
  .hero-banner-cta {
    top: 46%;
    padding: 1.35rem 2.55rem;
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  }
}

@media (max-width: 768px) {
  .hero-banner-cta {
    left: 50%;
    top: auto;
    bottom: clamp(1rem, 4vw, 1.75rem);
    transform: translateX(-50%);
    padding: 0.88rem 1.45rem;
    font-size: 0.82rem;
  }
  .hero-banner-cta:hover {
    transform: translateX(-50%) translateY(-1px);
  }
}

/* Flechas del banner */
.hero-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-accent);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.hero-banner-prev { left: 16px; }
.hero-banner-next { right: 16px; }

.hero-banner-container:hover .hero-banner-nav {
  opacity: 1;
}

.hero-banner-nav:hover {
  background: #fff;
  color: var(--color-gold);
}

/* Banner responsive: tablet y móvil */
@media (max-width: 992px) {
  .hero-banner {
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    margin-top: -24px;
    margin-bottom: 24px;
  }
  .hero-banner-nav {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
  }
  .hero-banner-prev { left: 8px; }
  .hero-banner-next { right: 8px; }
}

/* Sección categorías: 5 en una sola fila, solo imágenes sin fondo */
.home-categories {
  margin-bottom: 40px;
}

.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.home-category-card {
  display: block;
  text-decoration: none;
  transition: transform .2s, opacity .2s;
  aspect-ratio: 1 / 2;
}

.home-category-card:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.home-category-card-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.home-category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Marcas árabes — categoria.php?slug=arabes */
.arabe-subcategories {
  width: 100%;
  max-width: 100%;
  margin: 0 0 36px;
  padding: 28px 0 32px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
  background: linear-gradient(180deg, #fcfaf8 0%, var(--color-surface) 100%);
}

.arabe-subcategories-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  margin-bottom: 18px;
  text-align: center;
}

.arabe-subcategories-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  line-height: 1.2;
}

.arabe-subcategories-lead {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.arabe-brands {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
}

.arabe-brands-arrow {
  flex: 0 0 36px;
  align-self: center;
  width: 36px;
  height: 36px;
  margin: 0 6px;
  padding: 0;
  border: 1px solid rgba(154, 107, 72, 0.25);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-gold);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.arabe-brands-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.arabe-brands-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(154, 107, 72, 0.45) transparent;
}

.arabe-brands-viewport::-webkit-scrollbar {
  height: 5px;
}

.arabe-brands-viewport::-webkit-scrollbar-thumb {
  background: rgba(154, 107, 72, 0.35);
  border-radius: 4px;
}

.arabe-brands-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  gap: 8px 8px;
  width: max-content;
  padding: 4px 12px 10px;
  box-sizing: border-box;
}

.arabe-subcategory-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  padding: 8px 6px 6px;
  border: 1px solid rgba(43, 43, 43, 0.07);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.arabe-subcategory-card:hover {
  border-color: rgba(154, 107, 72, 0.4);
  box-shadow: 0 8px 22px rgba(154, 107, 72, 0.12);
  transform: translateY(-2px);
}

.arabe-subcategory-media-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-bottom: 4px;
}

.arabe-subcategory-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
}

.arabe-subcategory-card-media img {
  max-width: 88%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.arabe-subcategory-card:hover .arabe-subcategory-card-media img {
  transform: scale(1.05);
}

.arabe-subcategory-name {
  display: -webkit-box;
  width: 100%;
  min-height: 2.4em;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  color: var(--color-text-muted);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.arabe-subcategory-card:hover .arabe-subcategory-name {
  color: var(--color-gold);
}

.arabe-subcategory-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(154, 107, 72, 0.2);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-gold);
}

.arabe-subcategory-fallback.is-visible {
  display: flex;
}

@media (min-width: 992px) {
  .arabe-brands-arrow {
    display: none;
  }

  .arabe-brands-viewport {
    overflow: visible;
  }

  .arabe-brands-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    grid-auto-flow: row;
    grid-template-rows: none;
    width: 100%;
    gap: 10px;
    padding: 0;
  }

  .arabe-subcategory-card {
    width: auto;
    min-width: 0;
  }
}

@media (min-width: 1200px) {
  .arabe-subcategory-card {
    width: auto;
  }

  .arabe-subcategory-media-wrap,
  .arabe-subcategory-card-media {
    height: 52px;
  }

  .arabe-subcategory-card-media img {
    max-height: 52px;
  }
}

@media (max-width: 768px) {
  .arabe-subcategories {
    margin-bottom: 28px;
    padding: 20px 0 24px;
  }

  .arabe-subcategories-head {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
  }

  .arabe-brands-arrow {
    display: none;
  }

  .arabe-brands-viewport {
    scroll-padding-inline: 8px;
  }

  .arabe-brands-track {
    gap: 6px 6px;
    padding: 2px 8px 8px;
  }

  .arabe-subcategory-card {
    width: 88px;
    padding: 6px 5px 5px;
  }

  .arabe-subcategory-media-wrap,
  .arabe-subcategory-card-media {
    height: 40px;
  }

  .arabe-subcategory-card-media img {
    max-height: 40px;
  }
}

.home-category-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: rgba(0,0,0,.06);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .header-top-contact {
    display: none;
  }
  .header-top-marquee {
    width: 100%;
  }
  .home-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .products-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 20px;
  font-weight: 600;
}

/* Tabs (Mas vendidos) */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.tabs-nav a {
  padding: 10px 16px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs-nav a:hover,
.tabs-nav a.active { color: var(--color-accent); border-bottom-color: var(--color-gold); }

.tab-panel { margin-top: 0; }
.tab-panel[hidden] { display: none; }

/* Brands section */
.brands-section {
  padding: 40px 0;
  margin: 40px 0;
  border-top: 1px solid var(--color-border);
}

.brands-section h2 {
  font-size: 1.35rem;
  margin: 0 0 24px;
  text-align: center;
  font-weight: 600;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.brands-grid a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.brands-grid a:hover { color: var(--color-gold); }

/* Blog: sección con carousel y botón Ver más (estilo imagen) */
.blog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-blog-more {
  background: #9E5C79 !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  border: none;
}
.btn-blog-more:hover {
  background: #8a4d68 !important;
  color: #fff !important;
}

.blog-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-carousel-prev,
.blog-carousel-next {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.blog-carousel-prev:hover,
.blog-carousel-next:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.blog-carousel-view {
  flex: 1;
  overflow: hidden;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.blog-carousel-view::-webkit-scrollbar { display: none; }

.blog-carousel-track {
  display: flex;
  gap: 24px;
  padding: 4px 0;
}

.blog-card {
  flex: 0 0 280px;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  aspect-ratio: 16/10;
  background: var(--color-bg);
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.blog-card-title {
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.blog-card-title a { color: var(--color-text); text-decoration: none; }
.blog-card-title a:hover { color: var(--color-gold); }

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
  flex: 1;
}

.blog-card-link {
  font-size: 0.9rem;
  color: #9E5C79;
  text-decoration: none;
  font-weight: 500;
}
.blog-card-link:hover { color: #8a4d68; text-decoration: underline; }

/* Blog grid (página blog.php) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.blog-grid .blog-card {
  flex: none;
  max-width: none;
  height: 100%;
}
.blog-grid .blog-card-image {
  flex-shrink: 0;
  height: 200px;
  aspect-ratio: auto;
  background: #f0eeec;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-grid .blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.blog-grid .blog-card-image--logo {
  background: linear-gradient(160deg, #faf9f7 0%, #f2efeb 55%, #ebe6e0 100%);
  padding: 1.5rem 2rem;
}
.blog-grid .blog-card-image--logo img {
  width: auto;
  height: auto;
  max-width: min(78%, 200px);
  max-height: 72%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 0.92;
}
.blog-grid .blog-card-body {
  flex: 1;
}

@media (max-width: 768px) {
  .blog-carousel-track .blog-card { flex: 0 0 260px; }
}

/* Single product */
.product-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .product-single { grid-template-columns: minmax(0, 1fr); }
}

.product-breadcrumb {
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}
.product-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.product-breadcrumb a:hover { color: var(--color-gold); }
.product-breadcrumb span { margin: 0 6px; }

.product-single-image {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 24px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-single-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  vertical-align: middle;
}

.product-gallery {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.product-main-image-wrap {
  flex: 1;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
}

.product-zoom-wrap--enabled img {
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.product-main-lightbox-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: inherit;
  cursor: pointer;
}

.product-zoom-wrap--enabled .product-main-lightbox-trigger {
  cursor: zoom-in;
}

.product-main-lightbox-trigger:focus {
  outline: 2px solid var(--color-btn);
  outline-offset: 3px;
}

.product-main-lightbox-trigger:focus:not(:focus-visible) {
  outline: none;
}

.product-main-lightbox-trigger img {
  pointer-events: none;
}

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

.product-image-modal {
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  background: transparent;
  box-sizing: border-box;
  position: relative;
}

.product-image-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.product-image-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 0;
}

.product-image-modal-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 48px 16px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  box-sizing: border-box;
}

.product-image-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.product-image-modal-close:hover {
  background: rgba(0, 0, 0, 0.14);
}

#product-image-modal-img {
  display: block;
  max-width: min(92vw, 1000px);
  max-height: calc(90vh - 32px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.product-thumbs {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
  width: 78px;
  min-width: 78px;
  padding-right: 2px;
  scrollbar-width: thin;
}

.product-thumb-btn {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
}

.product-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumb-btn.active {
  border-color: var(--color-btn);
}

@media (max-width: 768px) {
  .product-gallery {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .product-main-image-wrap {
    order: -1;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    max-height: min(72vw, 420px);
  }
  .product-thumbs {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    max-height: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .product-thumbs::-webkit-scrollbar {
    height: 4px;
  }
  .product-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 999px;
  }
  .product-thumb-btn {
    width: 64px;
    height: 64px;
    scroll-snap-align: start;
  }
}

.product-single-info h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 600;
}
.product-single-price {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--color-price);
}
.product-single-price .price-old {
  font-size: 1.1rem;
  vertical-align: middle;
}
.product-single-desc {
  color: var(--color-text-muted);
  margin-bottom: 22px;
  font-size: 0.96rem;
  line-height: 1.65;
}
.product-description-images {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.product-description-images img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.product-single-cart {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-add-btn {
  background: var(--color-btn);
  padding: 12px 20px;
  font-size: 0.92rem;
  letter-spacing: .02em;
}
.product-add-btn:hover {
  background: var(--color-btn-hover);
}

.product-qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  width: 36px;
  height: 44px;
  border: none;
  background: #f7f7f7;
  color: var(--color-text);
  font-size: 1.2rem;
  cursor: pointer;
}

.qty-btn:hover {
  background: #ececec;
}

.product-qty-input {
  width: 54px;
  height: 44px;
  border: none;
  text-align: center;
  font-family: inherit;
  font-size: 0.95rem;
  appearance: textfield;
  -moz-appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-meta-line {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.product-meta-line span {
  color: var(--color-text);
  font-weight: 500;
  margin-right: 4px;
}

.product-meta-line a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.product-meta-line a:hover { color: var(--color-gold); }

.product-perfume-data {
  margin-top: 14px;
}

.product-perfume-data h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.product-data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.product-data-table th,
.product-data-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

.product-data-table th {
  width: 38%;
  background: #f8f8f8;
  font-weight: 600;
}

.product-data-table tr:last-child th,
.product-data-table tr:last-child td {
  border-bottom: none;
}

.product-description-panel {
  margin-top: 34px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.product-description-inline {
  margin-top: 18px;
}

.product-description-panel h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 600;
}

.related-products-section {
  margin-top: 34px;
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
}

.related-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-carousel-prev,
.related-carousel-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.related-carousel-prev:hover,
.related-carousel-next:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.related-carousel-view {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.related-carousel-view::-webkit-scrollbar {
  display: none;
}

.related-carousel-track {
  display: flex;
  gap: 18px;
}

.related-carousel-item {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 280px;
}

.related-carousel-item .product-card {
  height: 100%;
}

@media (max-width: 992px) {
  .related-carousel-item {
    flex: 0 0 calc((100% - 18px) / 2);
    min-width: 260px;
  }
}

@media (max-width: 768px) {
  .related-carousel-wrap {
    gap: 8px;
  }
  .related-carousel-prev,
  .related-carousel-next {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .related-carousel-item {
    flex: 0 0 85%;
    min-width: 240px;
  }
}

@media (max-width: 992px) {
  .product-main-image-wrap {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .product-single-info h1 {
    font-size: 1.5rem;
  }
  .product-single-price {
    font-size: 1.55rem;
  }
}

/* Cart */
.cart-table-wrap { overflow-x: auto; margin-bottom: 24px; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-table th,
.cart-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.cart-table th { background: var(--color-bg); font-weight: 600; font-size: 0.9rem; }
.cart-table td img { max-height: 60px; width: auto; vertical-align: middle; margin-right: 12px; }

.cart-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.cart-totals {
  max-width: 360px;
  margin-left: auto;
  background: var(--color-surface);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-totals .row { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-totals .total { font-size: 1.2rem; font-weight: 600; border-top: 1px solid var(--color-border); margin-top: 8px; padding-top: 12px; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.cart-table-modern th {
  background: transparent;
  text-transform: uppercase;
  font-size: .82rem;
  color: #222;
}

.cart-table-modern td,
.cart-table-modern th {
  border-bottom: 1px solid var(--color-border);
}

.cart-remove-cell {
  width: 28px;
  text-align: center;
}

.cart-remove {
  color: #999;
  text-decoration: none;
  font-size: 1.05rem;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-product-cell img {
  width: 50px;
  height: 68px;
  object-fit: contain;
}

.cart-product-name {
  color: var(--color-text);
  text-decoration: none;
  font-size: .86rem;
  line-height: 1.25;
}

.cart-offer-payment-note {
  display: block;
  margin: 0.35rem 0 0.2rem;
  max-width: 28ch;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: #1a5fb4;
}

.cart-product-cell small {
  display: block;
  color: var(--color-text-muted);
  font-size: .76rem;
}

.cart-qty-form {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 30px;
  height: 32px;
  border: none;
  background: #f7f7f7;
  cursor: pointer;
}

.cart-qty-input {
  width: 38px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: .85rem;
  appearance: textfield;
  -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-subtotal-cell {
  color: var(--color-price);
  font-weight: 600;
}

.cart-coupon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.cart-coupon-input {
  flex: 1;
  max-width: 220px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 9px 10px;
  font-family: inherit;
}

.cart-coupon-btn {
  background: var(--color-btn);
}

.cart-trust-row {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cart-trust-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cart-trust-item p {
  margin: 0;
  font-size: .85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.cart-summary {
  border-left: 1px solid var(--color-border);
  padding-left: 18px;
}

.cart-summary h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .92rem;
  margin-bottom: 10px;
}

.cart-summary-row strong {
  color: var(--color-price);
}

.shipping-form {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
  margin: 8px 0 12px;
}

.shipping-options {
  display: grid;
  gap: 8px;
}

.shipping-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .84rem;
  color: var(--color-text-muted);
}

.cart-summary-row.total {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.mini-cart-item-info .cart-offer-payment-note,
.alt-mini-cart-item-info .cart-offer-payment-note {
  max-width: 100%;
  margin: 0.3rem 0 0.15rem;
  font-size: 0.62rem;
}

.cart-whatsapp-btn {
  display: block;
  margin-top: 10px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  padding: 11px 12px;
  background: #23c45e;
  color: #fff;
  font-weight: 600;
}

.cart-whatsapp-btn:hover {
  background: #1fb156;
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}

.checkout-section-title {
  margin: 0 0 14px;
  font-size: 1.75rem;
  letter-spacing: .5px;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-field label {
  display: block;
  margin-bottom: 6px;
  font-size: .92rem;
  color: #444;
}

.checkout-field label span {
  color: #b0466d;
}

.checkout-field label small {
  color: #9b9b9b;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 2px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: .92rem;
  color: #2f2f2f;
}

.checkout-field textarea {
  resize: vertical;
  min-height: 130px;
}

.checkout-additional-title {
  margin: 18px 0 4px;
  font-size: 1.7rem;
  letter-spacing: .4px;
}

.checkout-right {
  border-top: 1px solid #ececec;
  padding-top: 2px;
}

.checkout-headings {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid #ececec;
  padding: 8px 0 10px;
  font-size: .9rem;
  font-weight: 600;
}

.checkout-items {
  border-bottom: 1px solid #ececec;
}

.checkout-item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f1f1;
}

.checkout-item-row:last-child {
  border-bottom: none;
}

.checkout-item-product {
  display: grid;
  grid-template-columns: 14px 58px 1fr;
  gap: 12px;
  align-items: start;
}

.checkout-item-remove {
  text-decoration: none;
  color: #555;
  font-size: 1rem;
  line-height: 1;
  margin-top: 24px;
}

.checkout-item-product img {
  width: 58px;
  height: 70px;
  object-fit: contain;
}

.checkout-item-name {
  margin: 0 0 5px;
  font-size: .88rem;
}

.checkout-item-product small {
  color: var(--color-text-muted);
  font-size: .76rem;
}

.checkout-item-qty-form {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
}

.checkout-item-qty-btn {
  border: none;
  background: #fafafa;
  color: #666;
  padding: 4px 8px;
  cursor: pointer;
  font-size: .9rem;
}

.checkout-item-qty-input {
  width: 34px;
  border: none;
  border-left: 1px solid #e7e7e7;
  border-right: 1px solid #e7e7e7;
  text-align: center;
  padding: 4px 2px;
  font-size: .8rem;
  font-family: inherit;
}

.checkout-item-subtotal {
  color: var(--color-price);
  font-size: .95rem;
  white-space: nowrap;
}

.checkout-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
}

.checkout-row > span {
  font-weight: 600;
  font-size: .92rem;
}

.checkout-row > strong {
  justify-self: end;
  color: var(--color-price);
}

.checkout-shipping-options {
  display: grid;
  gap: 8px;
}

.checkout-shipping-options label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: .9rem;
  color: #4a4a4a;
}

.checkout-shipping-options input[type="radio"] {
  margin-top: 2px;
}

.checkout-row.total strong {
  font-size: 1.45rem;
  font-weight: 700;
}

.checkout-payment-note {
  margin: 16px 0 12px;
  font-size: .94rem;
}

.checkout-privacy-note {
  margin: 0 0 14px;
  color: var(--color-text-muted);
  font-size: .85rem;
  line-height: 1.55;
}

.checkout-privacy-note a {
  color: inherit;
  font-weight: 600;
}

.checkout-place-order-btn {
  width: 100%;
  background: #9e5c79;
  border-radius: 3px;
}

/* Modal checkout (carrito) */
.checkout-modal {
  margin: 0;
  padding: 0;
  border: none;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  background: transparent;
  box-sizing: border-box;
}

.checkout-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.checkout-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: pointer;
}

.checkout-modal-panel {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100vw - 24px));
  max-height: min(92vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.checkout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
}

.checkout-modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.checkout-modal-close {
  border: 0;
  background: rgba(0, 0, 0, 0.06);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
}

.checkout-modal-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

.checkout-modal-wholesale-hint {
  margin: 0;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  background: #faf7f4;
  border-bottom: 1px solid var(--color-border);
}

.checkout-modal-pickup-hint {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 4px 0 0;
  line-height: 1.45;
}

.checkout-modal-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.checkout-modal-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  padding: 18px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.checkout-modal-subtitle {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.checkout-modal-lines {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.9rem;
}

.checkout-modal-lines li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.checkout-modal-line-main {
  flex: 1;
  min-width: 0;
}

.checkout-modal-line-name {
  display: block;
  min-width: 0;
}

.checkout-modal-line-main .cart-offer-payment-note {
  max-width: 34ch;
  margin-top: 0.3rem;
}

.checkout-modal-shipping {
  margin-bottom: 14px;
}

.checkout-modal-ship-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.checkout-modal-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 2px solid var(--color-border);
  font-size: 1.05rem;
}

.checkout-modal-payment-note {
  font-size: 0.88rem;
  color: #b00020;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.45;
  text-align: center;
}

.checkout-modal-error {
  color: #b00020;
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.checkout-modal-submit {
  margin-top: 4px;
}

.checkout-order-success-panel {
  width: min(520px, calc(100vw - 24px));
  max-height: none;
}

.checkout-order-success-body {
  padding: 20px 24px 24px;
}

.checkout-order-success-message {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
  text-align: center;
}

.checkout-order-success-btn {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .checkout-modal-body {
    grid-template-columns: 1fr;
  }
}

/* Página pedido.php */
.order-meta {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: -8px 0 20px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.order-detail-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.order-detail-heading {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.order-detail-subheading {
  margin: 16px 0 8px;
  font-size: 0.95rem;
}

.order-detail-dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 0.92rem;
}

.order-detail-dl dt {
  color: var(--color-text-muted);
  font-weight: 500;
}

.order-detail-dl dd {
  margin: 0;
}

.order-detail-notes {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.order-wholesale-tag {
  margin: 14px 0 0;
  padding: 10px 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #193a67;
  background: rgba(25, 58, 103, 0.08);
  border: 1px solid rgba(25, 58, 103, 0.15);
  border-radius: var(--radius);
}
.order-wholesale-tag strong {
  font-weight: 600;
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.order-items-table th,
.order-items-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.order-items-table th {
  font-weight: 600;
  color: var(--color-text-muted);
}

.order-totals {
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.95rem;
}

.order-total-final {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  font-size: 1.05rem;
  font-weight: 600;
}

.order-detail-foot {
  margin-top: 28px;
}

@media (max-width: 768px) {
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Nuestras tiendas */
.stores-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.store-item {
  margin: 0;
}

.store-image-wrap,
.store-video-wrap {
  border-radius: 3px;
  overflow: hidden;
  background: #f3f3f3;
}

.store-video-wrap {
  background: #111;
  aspect-ratio: 1 / 1;
}

.store-media {
  margin-bottom: 12px;
}

.store-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.store-video,
.store-video-iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}

.store-video-wrap .store-video-iframe {
  min-height: 100%;
}

.store-province {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 500;
}

.store-name {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 600;
}

.store-address {
  margin: 0;
  color: #454545;
  line-height: 1.55;
}

.store-address a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.store-address a:hover {
  color: var(--color-accent);
}

.stores-empty {
  text-align: center;
  color: var(--color-text-muted, #666);
  padding: 2rem 1rem;
  font-size: 1.05rem;
}

.store-item hr {
  border: 0;
  border-top: 1px solid #e6e6e6;
  margin: 14px 0;
}

.store-hours {
  margin: 0;
  color: #3f3f3f;
  line-height: 1.5;
}

/* Blog single */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-meta { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 24px; }

.info-page-content { line-height: 1.65; color: var(--color-text); }
.info-page-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: var(--color-text);
}
.info-page-content p { margin: 0 0 1rem; }
.info-page-content ul,
.info-page-content ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}
.info-page-content li { margin-bottom: 0.35rem; }
.info-page-content a { color: var(--color-accent, #8b1e3f); }
.info-page-content .btn {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
  background: var(--color-btn);
  color: #fff !important;
  border: none;
}
.info-page-content .btn:hover {
  background: var(--color-btn-hover);
  color: #fff !important;
  text-decoration: none;
}

.info-stores-gallery { margin: 0 0 2rem; }
.info-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.info-stores-grid figure { margin: 0; }
.info-stores-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-border, #eee);
}
.info-stores-grid figcaption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  color: var(--color-text-muted, #666);
}
.info-page-mission {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border, #e5e5e5);
  text-align: center;
}
.info-page-mission p { margin: 0 0 0.85rem; }
.info-page-mission p:last-child { margin-bottom: 0; }

/* Quienes Somos */
.info-page--about.article-body {
  max-width: 920px;
}
.about-page {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.about-hero {
  text-align: center;
}
.about-lead {
  margin: 0 auto 1.75rem;
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--color-text);
}
.about-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  text-align: left;
}
.about-intro-grid p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-size: 0.98rem;
}
.about-section-head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.about-section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}
.about-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.about-section-subtitle {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.about-stores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.about-store-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.about-store-card:hover {
  transform: translateY(-3px);
  border-color: rgba(154, 107, 72, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}
.about-store-card-media {
  display: block;
  overflow: hidden;
  background: var(--color-bg);
}
.about-store-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.about-store-card:hover .about-store-card-media img {
  transform: scale(1.04);
}
.about-store-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem 1rem;
}
.about-store-card-province {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.about-store-card-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.35;
}
.about-stores-cta {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.92rem;
}
.about-stores-cta a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(154, 107, 72, 0.35);
  transition: color 0.2s, border-color 0.2s;
}
.about-stores-cta a:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}
.about-mission {
  margin: 0;
}
.about-mission-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  text-align: center;
  background: linear-gradient(165deg, #fff 0%, #faf8f6 100%);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}
.about-mission-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.about-mission-text {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  color: var(--color-text);
}
.about-mission-foot {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}
@media (max-width: 768px) {
  .about-page { gap: 2.25rem; }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about-stores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .about-mission-inner {
    padding: 1.5rem 1.25rem;
  }
}
@media (max-width: 480px) {
  .about-stores-grid {
    grid-template-columns: 1fr;
  }
}

/* Mayoristas */
.wholesale-page .wholesale-hero-sub {
  margin: 0 auto;
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  text-align: center;
}
.wholesale-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.wholesale-benefit-card {
  padding: 1.35rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wholesale-benefit-card:hover {
  border-color: rgba(154, 107, 72, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.wholesale-benefit-icon {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold);
}
.wholesale-benefit-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}
.wholesale-benefit-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.wholesale-access-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  background: linear-gradient(165deg, #fff 0%, #faf8f6 100%);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}
.wholesale-access-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.wholesale-access-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--color-text);
}
.wholesale-access-text {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.wholesale-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 0.85rem 1.75rem;
  background: var(--color-btn);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(159, 90, 119, 0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.wholesale-login-btn:hover {
  background: var(--color-btn-hover);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(159, 90, 119, 0.34);
}
.wholesale-access-note {
  margin: 1.25rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.wholesale-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
}
.wholesale-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.wholesale-contact-card:hover {
  border-color: rgba(154, 107, 72, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  text-decoration: none !important;
}
.wholesale-contact-card--wa:hover {
  border-color: rgba(37, 211, 102, 0.45);
}
.wholesale-contact-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.wholesale-contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}
@media (max-width: 768px) {
  .wholesale-benefits-grid,
  .wholesale-contact-grid {
    grid-template-columns: 1fr;
  }
  .wholesale-access-card {
    padding: 1.5rem 1.15rem;
  }
  .wholesale-login-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Garantías y políticas informativas */
.policy-page .policy-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.policy-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.policy-highlight-card {
  padding: 1.5rem 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.policy-highlight-card--dark {
  background: linear-gradient(165deg, #2b2b2b 0%, #3d3d3d 100%);
  border-color: #2b2b2b;
  color: #f5f5f5;
}
.policy-highlight-card--dark .policy-highlight-title,
.policy-highlight-card--dark p {
  color: #f5f5f5;
}
.policy-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(154, 107, 72, 0.12);
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: 700;
}
.policy-highlight-card--dark .policy-highlight-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.policy-highlight-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}
.policy-highlight-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.policy-buy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.policy-buy-card {
  padding: 1.35rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
}
.policy-buy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.policy-buy-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}
.policy-buy-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.policy-buy-card a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 107, 72, 0.35);
}
.policy-buy-card a:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}
.policy-check-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.35rem 1.25rem 2.5rem;
  list-style: none;
  background: #faf8f6;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
}
.policy-check-list li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
}
.policy-check-list li:last-child { margin-bottom: 0; }
.policy-check-list li::before {
  content: "✓";
  position: absolute;
  left: -1.35rem;
  color: var(--color-gold);
  font-weight: 700;
}
.policy-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.policy-case-card {
  padding: 1.15rem 1rem;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.03);
}
.policy-case-card h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
}
.policy-steps-list {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 1.35rem;
  counter-reset: policy-step;
  list-style: none;
}
.policy-steps-list li {
  position: relative;
  margin-bottom: 0.85rem;
  padding-left: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  counter-increment: policy-step;
}
.policy-steps-list li::before {
  content: counter(policy-step) ".";
  position: absolute;
  left: -1.35rem;
  font-weight: 700;
  color: var(--color-gold);
}
.policy-procedure-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}
.policy-procedure-card {
  padding: 1.35rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: calc(var(--radius) + 2px);
}
.policy-procedure-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.policy-procedure-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.policy-closing {
  margin: 0;
}
.policy-closing .about-mission-foot a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 107, 72, 0.35);
}
.policy-closing .about-mission-foot a:hover {
  color: var(--color-text);
}
@media (max-width: 768px) {
  .policy-highlights-grid,
  .policy-buy-grid,
  .policy-procedure-steps {
    grid-template-columns: 1fr;
  }
  .policy-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* Formas de pago */
.payment-page .payment-hero-sub {
  margin: 0 auto;
  max-width: 580px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: center;
}
.payment-page .payment-hero-sub a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 107, 72, 0.35);
}
.payment-page .payment-hero-sub a:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.payment-method-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.payment-method-card:hover {
  border-color: rgba(154, 107, 72, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}
.payment-method-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.35rem;
  background: linear-gradient(135deg, #fff 0%, #faf8f6 55%, #f5f0eb 100%);
  border-color: rgba(154, 107, 72, 0.22);
}
.payment-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: rgba(154, 107, 72, 0.1);
  color: var(--color-gold);
}
.payment-method-icon--card {
  background: rgba(159, 90, 119, 0.12);
  color: var(--color-btn);
}
.payment-method-icon--sinpe {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}
.payment-method-icon--transfer {
  background: rgba(22, 101, 52, 0.1);
  color: #166534;
}
.payment-method-svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: currentColor;
}
.payment-method-body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}
.payment-method-body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.payment-trust {
  margin-top: 0.5rem;
}
.payment-trust-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}
.payment-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(154, 107, 72, 0.1);
  color: var(--color-gold);
}
.payment-trust-svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}
.payment-trust-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}
.payment-trust-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.payment-trust-desc a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 107, 72, 0.35);
}
.payment-trust-desc a:hover {
  color: var(--color-text);
}
@media (max-width: 768px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  .payment-method-card--featured {
    flex-direction: column;
    align-items: stretch;
  }
  .payment-trust-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Envíos */
.shipping-page .shipping-hero-sub {
  margin: 0 auto;
  max-width: 580px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: center;
}
.shipping-page .shipping-hero-sub a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 107, 72, 0.35);
}
.shipping-page .shipping-hero-sub a:hover {
  color: var(--color-text);
}
.shipping-req-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.shipping-req-card {
  padding: 1.35rem 1.15rem;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.shipping-req-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(154, 107, 72, 0.1);
  color: var(--color-gold);
}
.shipping-req-icon--phone {
  background: rgba(159, 90, 119, 0.12);
  color: var(--color-btn);
}
.shipping-req-icon--pin {
  background: rgba(22, 101, 52, 0.1);
  color: #166534;
}
.shipping-req-svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}
.shipping-req-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}
.shipping-req-card p {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.shipping-priority-note {
  max-width: 680px;
  margin: 1.5rem auto 0;
  padding: 1.15rem 1.35rem;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  background: #faf8f6;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
}
.shipping-lapso-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 auto 1.15rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
}
.shipping-section .about-section-head + .shipping-lapso-label {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.shipping-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.shipping-delivery-card {
  padding: 1.5rem 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.shipping-delivery-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: rgba(154, 107, 72, 0.1);
  color: var(--color-gold);
}
.shipping-delivery-icon--clock {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}
.shipping-delivery-svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}
.shipping-delivery-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}
.shipping-delivery-card p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.shipping-delivery-card p:last-child {
  margin-bottom: 0;
}
.shipping-delivery-cost {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem !important;
  color: var(--color-text) !important;
}
.shipping-delivery-note {
  font-style: italic;
}
.shipping-exceptions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.shipping-exception-card {
  position: relative;
  padding: 1.35rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.shipping-exception-card:hover {
  border-color: rgba(154, 107, 72, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.shipping-exception-card--highlight {
  background: linear-gradient(135deg, #fff 0%, #f8faf5 100%);
  border-color: rgba(22, 101, 52, 0.2);
}
.shipping-exception-card--uber {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff 0%, #f5f8ff 100%);
  border-color: rgba(37, 99, 235, 0.18);
}
.shipping-exception-badge {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #166534;
  background: rgba(22, 101, 52, 0.12);
  border-radius: 999px;
}
.shipping-exception-badge--uber {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}
.shipping-exception-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-text);
}
.shipping-exception-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.shipping-exception-card a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 107, 72, 0.35);
}
.shipping-exception-card a:hover {
  color: var(--color-text);
}
.shipping-contact {
  margin-top: 0.25rem;
}
.shipping-contact .payment-trust-icon .shipping-req-svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}
@media (max-width: 768px) {
  .shipping-req-grid,
  .shipping-delivery-grid,
  .shipping-exceptions-grid {
    grid-template-columns: 1fr;
  }
  .shipping-exception-card--uber {
    grid-column: auto;
  }
}

/* Perfumes 100% originales — guía */
.info-page--auth-guide.article-body {
  max-width: 780px;
}
.auth-guide-page {
  gap: 3.5rem;
}
.auth-guide-hero {
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.auth-guide-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.auth-guide-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}
.auth-guide-intro {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.auth-guide-intro p {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.auth-guide-intro p:last-child {
  margin-bottom: 0;
}
.auth-guide-section {
  scroll-margin-top: 1rem;
}
.auth-guide-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.auth-guide-section-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(154, 107, 72, 0.12);
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.auth-guide-section-title {
  margin: 0.15rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}
.auth-guide-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.auth-guide-note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  background: #faf8f6;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0;
}
.auth-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.auth-guide-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.03);
}
.auth-guide-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.auth-guide-step-body h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}
.auth-guide-step-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.auth-guide-figure {
  margin: 0;
  padding: 0.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.auth-guide-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 2px);
  background: #f0eeeb;
  min-height: 120px;
  object-fit: cover;
}
.auth-guide-detail-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.auth-guide-detail-list li {
  position: relative;
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
}
.auth-guide-detail-list li:last-child {
  margin-bottom: 0;
}
.auth-guide-detail-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}
.auth-guide-detail-list li strong {
  color: var(--color-text);
}
.auth-guide-detail-list--compact li {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.auth-guide-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.auth-guide-price-card {
  padding: 1.25rem 1.1rem;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.auth-guide-price-card--premium {
  background: linear-gradient(165deg, #fff 0%, #faf8f6 100%);
  border-color: rgba(154, 107, 72, 0.25);
}
.auth-guide-price-tier {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.auth-guide-price-brands {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.auth-guide-price-value {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}
.auth-guide-summary {
  margin-top: 0.5rem;
}
.auth-guide-summary .about-mission-inner {
  max-width: 100%;
  text-align: left;
}
.auth-guide-summary .about-mission-text {
  font-size: 1.05rem;
  text-align: left;
  margin-bottom: 1.25rem;
}
.auth-guide-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.auth-guide-checklist li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.65rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.auth-guide-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}
.auth-guide-checklist li:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .auth-guide-page {
    gap: 2.5rem;
  }
  .auth-guide-section-head {
    flex-direction: column;
    gap: 0.65rem;
  }
  .auth-guide-step {
    flex-direction: column;
    gap: 0.75rem;
  }
  .auth-guide-price-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
}
.pagination a:hover { background: var(--color-bg); }
.pagination .current { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* Categoría — scroll infinito */
.category-infinite-sentinel {
  height: 2px;
  margin-top: 1.5rem;
  pointer-events: none;
}
.category-infinite-status {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 1rem 0;
  min-height: 1.25em;
}
.category-infinite-status.is-loading {
  color: var(--color-text);
}

/* Login mayorista (mayorista-login.php) */
.page-wholesale-login .main-content {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.page-title--wholesale {
  text-align: center;
}

.wholesale-login-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.wholesale-login-form {
  display: grid;
  gap: 14px;
}

.wholesale-login-form label,
.wholesale-login-phone-label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
}

.wholesale-login-form input,
.wholesale-login-form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 11px 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
  -webkit-appearance: none;
  appearance: none;
}

.wholesale-login-form select {
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6860' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.wholesale-login-form input:focus,
.wholesale-login-form select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(154, 107, 72, 0.15);
}

.wholesale-login-phone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.wholesale-login-country {
  flex: 1 1 11rem;
  min-width: 0;
  max-width: 100%;
}

.wholesale-login-phone {
  flex: 1 1 10rem;
  min-width: 0;
}

.wholesale-login-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text-muted, #6b6b6b);
  line-height: 1.45;
}

.wholesale-login-error {
  color: #c42828;
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  background: #fdf5f5;
  border: 1px solid #f0d4d4;
  border-radius: var(--radius);
}

.wholesale-login-ok {
  color: #1d7a2f;
  margin: 0 0 0.75rem;
  line-height: 1.5;
  word-break: break-word;
}

.wholesale-login-wrap .btn {
  width: 100%;
  margin-top: 0.25rem;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.wholesale-login-wrap > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-wholesale-login .main-content {
    max-width: 100%;
    padding: 16px max(16px, env(safe-area-inset-right)) 28px max(16px, env(safe-area-inset-left));
  }

  .page-title--wholesale {
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
  }

  .wholesale-login-wrap {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 1.15rem 1rem 1.35rem;
  }

  .wholesale-login-phone-row {
    flex-direction: column;
    gap: 0.55rem;
  }

  .wholesale-login-country,
  .wholesale-login-phone {
    flex: 1 1 auto;
    width: 100%;
  }

  .wholesale-login-form input,
  .wholesale-login-form select {
    font-size: 16px; /* evita zoom automático en iOS */
  }
}

@media (max-width: 380px) {
  .page-title--wholesale {
    font-size: 1.25rem;
  }

  .wholesale-login-wrap {
    padding: 1rem 0.85rem 1.2rem;
  }
}

/* Footer */
.site-footer {
  background: var(--color-accent);
  color: #c9c6c2;
  margin-top: 48px;
  padding: 40px 24px 24px;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  z-index: 120;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
  background: #20bd5a;
}

/* Mini carrito lateral */
.mini-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 180;
}

.mini-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 92vw);
  height: 100vh;
  background: #fff;
  z-index: 190;
  box-shadow: -6px 0 24px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}

.mini-cart-drawer.open {
  transform: translateX(0);
}

.mini-cart-header {
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-cart-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.mini-cart-close {
  border: none;
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: .9rem;
}

.mini-cart-body {
  padding: 8px 10px;
  overflow: auto;
  flex: 1;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

.mini-cart-item-img img {
  width: 52px;
  height: 68px;
  object-fit: contain;
}

.mini-cart-item-info {
  min-width: 0;
}

.mini-cart-item-name {
  color: var(--color-text);
  text-decoration: none;
  display: block;
  font-size: .85rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.mini-cart-item-info small {
  display: block;
  color: var(--color-text-muted);
  font-size: .78rem;
}

.mini-cart-item-remove {
  color: #999;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  padding: 2px;
}

.mini-cart-empty {
  color: var(--color-text-muted);
  font-size: .92rem;
  padding: 10px 4px;
}

.mini-cart-footer {
  border-top: 1px solid var(--color-border);
  padding: 12px 10px 14px;
}

.mini-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mini-cart-subtotal strong {
  color: var(--color-price);
  font-size: 1.15rem;
}

.mini-cart-btn {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 6px;
  padding: 10px 12px;
  text-decoration: none;
  font-size: .9rem;
  margin-top: 8px;
}

.mini-cart-btn-light {
  background: #f4f4f4;
  color: #333;
}

.mini-cart-btn-primary {
  background: var(--color-btn);
  color: #fff;
}

body.mini-cart-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

.footer-inner { max-width: 100%; margin: 0 auto; padding: 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h3, .footer-col h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer-col p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #c9c6c2; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }

.footer-payment {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.footer-payment-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b8b4af;
}
.footer-payment-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-payment-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.footer-payment-card svg {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-payment-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: #c9c6c2;
  text-decoration: none;
}
.footer-payment-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 0.85rem;
}

/* Utility */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; }

/* Responsive */
@media (max-width: 768px) {
  .header-main-inner {
    padding: 0 16px;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }
  .header-main-inner .logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }
  .header-main-inner .header-actions {
    order: 2;
    flex: 0 0 auto;
    gap: 10px;
  }
  .header-main-inner .header-search {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .header-login {
    font-size: 0.82rem;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-categories {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }
  .site-header.menu-open .header-categories {
    max-height: 400px;
    opacity: 1;
    padding: 12px 0;
    overflow: visible;
  }
  .header-categories-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px 16px;
  }
  .header-cat-list {
    flex-direction: column;
    gap: 4px;
  }
  .header-cat-list a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .btn-tiendas { align-self: flex-start; margin-top: 8px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .shop-sidebar {
    display: none;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: 16px;
  }
  .shop-sidebar.is-open {
    display: block;
  }
  .toolbar-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cart-summary {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
  }
  .cart-trust-row {
    grid-template-columns: 1fr;
  }
  .cart-coupon-row {
    flex-wrap: wrap;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-grid-2 {
    grid-template-columns: 1fr;
  }
  .checkout-row {
    grid-template-columns: 1fr;
  }
  .checkout-row > strong {
    justify-self: start;
  }
  .stores-list {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
