/* ============================================================
   SHSR CSS SHIELD & ISOLATION (Forzar diseño idéntico a local)
   ============================================================ */
.shsr-catalogo-wrapper,
.shsr-catalogo-wrapper *,
.cart-panel,
.cart-panel *,
.cart-toggle,
.cart-toggle *,
.detail-sheet,
.detail-sheet *,
.image-lightbox,
.image-lightbox *,
.toast,
.toast * {
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.shsr-catalogo-wrapper {
  background: #fffaf5 !important;
  color: #171717 !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.shsr-catalogo-wrapper h1,
.shsr-catalogo-wrapper h2,
.shsr-catalogo-wrapper h3,
.shsr-catalogo-wrapper h4,
.shsr-catalogo-wrapper p,
.shsr-catalogo-wrapper span,
.shsr-catalogo-wrapper a,
.shsr-catalogo-wrapper button,
.cart-panel h1,
.cart-panel h2,
.cart-panel h3,
.cart-panel p,
.cart-panel span,
.cart-panel strong,
.cart-panel label,
.cart-panel button,
.cart-panel input,
.cart-panel select,
.cart-panel textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  line-height: 1.4 !important;
}

/* Forzar estilos limpios y modernos de los inputs del pedido — SOLO formulario del carrito */
.cart-details input,
.cart-details select,
.cart-details textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  color: #0f172a !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.cart-details input:focus,
.cart-details select:focus,
.cart-details textarea:focus {
  background-color: #ffffff !important;
  border-color: #2f9e44 !important;
  box-shadow: 0 0 0 3px rgba(47, 158, 68, 0.15) !important;
}

/* Forzar tarjeta del modal del pedido */
.cart-panel {
  background: #ffffff !important;
  border: 1px solid #ede7df !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(23, 23, 23, 0.25) !important;
}

.cart-panel h2,
.cart-panel h3 {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.cart-panel label {
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

.cart-steps {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid #ede7df !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cart-steps .cart-step,
.cart-step {
  display: flex !important;
  flex: 1 1 50% !important;
  width: calc(50% - 4px) !important;
  max-width: calc(50% - 4px) !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.cart-steps .cart-step.is-active,
.cart-step.is-active {
  border-color: #2f9e44 !important;
  background: rgba(47, 158, 68, 0.12) !important;
  color: #1b5e20 !important;
}

/* Botón enviar WhatsApp */
.btn--whatsapp,
#sendCart {
  background: #25d366 !important;
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 12px 20px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

#sendCart:hover {
  background: #1eb956 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
}

/* Forzar títulos y precios de los productos */
/* Estilos base de tarjetas de producto */
.product-card {
  box-sizing: border-box !important;
}

/* Category Chips — scoped ONLY to categories nav */
#categoryNav .chip,
#categoryNav button.chip,
#categoryNav .category-chip,
.categories .chip,
.categories .category-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #334155 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}

#categoryNav .chip.is-active,
#categoryNav button.chip.is-active,
#categoryNav .category-chip.is-active,
.categories .chip.is-active,
.categories .category-chip.is-active {
  background: #2f9e44 !important;
  background-color: #2f9e44 !important;
  border-color: #2f9e44 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(47, 158, 68, 0.28) !important;
}

#categoryNav .chip.is-active span,
#categoryNav .category-chip.is-active span,
.categories .chip.is-active span,
.categories .category-chip.is-active span {
  color: #ffffff !important;
}

:root {
  --primary: #2f9e44;
  --primary-dark: #237b35;
  --text: #171717;
  --muted: #4b5563;
  --surface: #ffffff;
  --soft: #fff7ed;
  --border: #ede7df;
  --shadow: 0 18px 45px rgba(23, 23, 23, 0.12);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  padding-bottom: 5rem;
  background: #fffaf5;
  color: var(--text);
}

[hidden] {
  display: none !important;
}

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

p,
h1,
h2,
h3,
span,
a,
button,
li {
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  padding: 0.65rem 1rem;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: #fff;
}

.hero__cover,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__cover {
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at top right, rgba(47, 158, 68, 0.48), transparent 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.6rem;
}

.hero__logo {
  width: clamp(76px, 22vw, 92px);
  height: clamp(76px, 22vw, 92px);
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 1rem 0 0.3rem;
  color: color-mix(in srgb, var(--primary) 30%, #fff);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: min(760px, calc(100vw - 2rem));
  overflow-wrap: break-word;
  font-size: clamp(1.75rem, 4.2vw, 2.6rem);
  /* El tema aplicaba peso 500 al h1: demasiado ligero para el titulo
     principal de la pagina sobre una imagen de fondo. */
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__description {
  max-width: 610px;
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.hero__meta {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.97rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero__actions .btn {
  flex: 1 1 100%;
}

.icon {
  flex: 0 0 auto;
  width: 1.08em;
  height: 1.08em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.shsr-catalogo-wrapper a {
  color: inherit;
  text-decoration: none;
}

.shsr-catalogo-wrapper a:hover,
.shsr-catalogo-wrapper a:focus {
  color: inherit;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-height: 38px !important;
  border: 0;
  border-radius: 999px;
  padding: 6px 16px !important;
  cursor: pointer;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn span {
  min-width: 0;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.btn--primary,
.btn--product {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 35%, transparent) !important;
}

.btn--primary:hover,
.btn--primary:focus,
.btn--product:hover,
.btn--product:focus {
  background: color-mix(in srgb, var(--primary) 85%, #000) !important;
  color: #fff !important;
}

.btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
}

.btn--secondary:hover,
.btn--secondary:focus {
  background: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

.btn--ghost {
  border: 1px solid var(--border) !important;
  background: #fff !important;
  color: var(--text) !important;
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: #f5f5f4 !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.btn--clear {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1.5px solid #fca5a5 !important;
  background: #fef2f2 !important;
  color: #b91c1c !important;
  font-weight: 700 !important;
  box-shadow: none;
}

.btn--clear .icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}

.btn--clear:hover,
.btn--clear:focus {
  background: #fee2e2 !important;
  border-color: #f87171 !important;
  color: #991b1b !important;
}

.btn--product {
  width: 100%;
  /* 44px es el minimo recomendado para un objetivo tactil: con 32px el
     boton principal de compra quedaba incomodo de pulsar en movil. */
  min-height: 44px !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  margin-top: 8px !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 28%, transparent) !important;
}

.btn--product .icon {
  width: 14px !important;
  height: 14px !important;
}

.btn:disabled {
  cursor: not-allowed !important;
  background: #d4d4d4 !important;
  color: #737373 !important;
  box-shadow: none;
  transform: none;
}

.page-shell {
  width: min(calc(100vw - 2rem), 1120px);
  max-width: 1120px;
  margin: -2rem auto 0;
  position: relative;
  z-index: 2;
}

.toolbar {
  /* Estática, como el resto de secciones: se desplaza con la página en vez
     de quedarse pegada arriba al hacer scroll. */
  position: static !important;
  z-index: 8 !important;
  max-width: 100% !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid #ede7df !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  padding: 0.75rem 1.25rem !important;
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.06) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.25rem !important;
  pointer-events: auto !important;
}

.search {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 300px !important;
  max-width: 320px !important;
  min-height: 40px !important;
  height: 40px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  padding: 0 14px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.search__icon {
  color: #2f9e44 !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

.search input {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 13.5px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.categories {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
}

.categories .chip,
.categories button.chip,
.categories .category-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #334155 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.categories .chip:hover,
.categories button.chip:hover,
.categories .category-chip:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.categories .chip.is-active,
.categories button.chip.is-active,
.categories .category-chip.is-active {
  background: #2f9e44 !important;
  background-color: #2f9e44 !important;
  border-color: #2f9e44 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(47, 158, 68, 0.28) !important;
}

.categories .chip.is-active span,
.categories button.chip.is-active span,
.categories .category-chip.is-active span {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .toolbar {
    position: static !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 0.75rem 1rem !important;
  }

  .search {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .categories {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }

  .categories .chip,
  .categories button.chip,
  .categories .category-chip {
    width: 100% !important;
    min-height: 38px !important;
    height: auto !important;
    padding: 0.5rem 0.6rem !important;
    font-size: 0.8rem !important;
  }
}

.section {
  margin: 2rem 0;
}

.section__heading {
  margin-bottom: 1rem;
}

.section__heading h2,
.qr-card h2,
.footer h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  letter-spacing: 0;
}

.section__heading h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  /* El tema imponia un peso ligero (500) a los h2: un titulo de seccion
     necesita mas presencia para encabezar la jerarquia visual. */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* El contador de resultados no tenia ninguna regla propia y heredaba del
   tema un tamano de 25px: quedaba MAS grande que el nombre del producto,
   invirtiendo la jerarquia. Es un dato de apoyo, no un titulo. */
.section__heading #resultCount,
#resultCount {
  margin: 2px 0 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

.section__icon {
  color: var(--primary);
  fill: color-mix(in srgb, var(--primary) 18%, transparent);
}

.section__heading p,
.qr-card p,
.footer p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

/* ==========================================================================
   PRODUCT GRID & HIGH-END BOTANICAL CARDS
   ========================================================================== */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px)) !important;
  justify-content: center !important;
  gap: 1.75rem !important;
  margin-top: 1.25rem !important;
  width: 100% !important;
}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem !important;
  }
}

/* Base Card Container */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e7ede5 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 18px rgba(15, 48, 0, 0.04) !important;
  overflow: hidden !important;
  position: relative !important;
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.product-card:hover {
  transform: none !important;
  box-shadow: 0 16px 36px -6px rgba(15, 48, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  border-color: #bcd4b7 !important;
}

/* Image Wrap (Organic Pedestal Canvas) */
.product-card__image-wrap {
  position: relative !important;
  aspect-ratio: 4 / 3.4 !important;
  min-height: 180px !important;
  max-height: 220px !important;
  margin: 10px 10px 0 10px !important;
  border-radius: 14px !important;
  background: radial-gradient(circle at 50% 60%, #f4f8f2 0%, #edf4eb 100%) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px !important;
}

.product-card__image-wrap img {
  position: relative !important;
  inset: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  filter: drop-shadow(0 6px 12px rgba(15, 48, 0, 0.09)) !important;
}

.product-card:hover .product-card__image-wrap img {
  transform: none !important;
}

/* Badges sobre la foto */
.product-card__badge-cat {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(27, 67, 50, 0.12) !important;
  border-radius: 999px !important;
  color: #1b4332 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  pointer-events: none !important;
}

.product-card__badge-discount {
  position: absolute !important;
  bottom: 10px !important;
  left: 10px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  background: #d97706 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3) !important;
  pointer-events: none !important;
}

.product-card__badge-fav {
  position: absolute !important;
  top: 10px !important;
  right: 80px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  background: rgba(254, 243, 199, 0.95) !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
}

/* Floating Actions on Card */
.product-card__image-actions {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 3 !important;
  display: flex !important;
  gap: 6px !important;
}

.product-card__image-actions .favorite-button {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  color: #4b5563 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card__image-actions .favorite-button:hover {
  background: #ffffff !important;
  color: #1b4332 !important;
  border-color: #1b4332 !important;
  transform: scale(1.08) !important;
}

.product-card__image-actions .favorite-button.is-active {
  background: #f59e0b !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
}

.product-card__image-actions .favorite-button .icon {
  width: 15px !important;
  height: 15px !important;
}

/* Card Body */
.product-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 14px 16px 16px !important;
  min-width: 0 !important;
}

.product-card__brand {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #4a7046 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 4px !important;
}

.product-card__title,
.product-card h3 {
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0f2410 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 6px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.7em !important;
  max-height: 2.7em !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.product-card__title:hover {
  color: #2d6a4f !important;
}

.product-card__desc,
.product-card p {
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: #556250 !important;
  line-height: 1.45 !important;
  margin: 0 0 12px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.9em !important;
  max-height: 2.9em !important;
  cursor: pointer !important;
}

/* Card Footer (Price & Stock) */
.product-card__footer {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  margin-bottom: 12px !important;
  border-top: 1px solid #f0f4ee !important;
}

.product-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
}

.product-price .price-old {
  font-size: 13px !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
}

.product-price .price-current,
.product-card strong {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #0f4a1a !important;
  letter-spacing: -0.02em !important;
  font-feature-settings: "tnum" !important;
}

/* Status Pill */
.status--available {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #166534 !important;
  background: #f0fdf4 !important;
  border: 1px solid #dcfce7 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
}

.status-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25) !important;
}

/* Action Area & Buttons */
.product-card__action-wrap {
  width: 100% !important;
  margin-top: 2px !important;
}

.btn--card-action {
  width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.22) !important;
  cursor: pointer !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease !important;
}

.btn--card-action:hover {
  background: linear-gradient(135deg, #143527 0%, #1f503a 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(27, 67, 50, 0.32) !important;
}

.btn--card-action:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn--card-action .icon {
  width: 16px !important;
  height: 16px !important;
}

/* Quantity Control on Card (When in Cart) */
.card-qty-control {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 42px !important;
  background: #f0fdf4 !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12) !important;
}

.card-qty-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #22c55e !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}

.card-qty-btn:hover {
  background: #16a34a !important;
  transform: scale(1.08) !important;
}

.card-qty-btn .icon {
  width: 14px !important;
  height: 14px !important;
  stroke: #ffffff !important;
  stroke-width: 2.5 !important;
}

.card-qty-count {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #14532d !important;
  text-align: center !important;
  flex: 1 !important;
}

.card-qty-count strong {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #14532d !important;
}

.detail-sheet {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
}

.detail-sheet[hidden] {
  display: none !important;
}

.detail-sheet__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(4px) !important;
}

.detail-sheet__card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 780px !important;
  max-height: 90vh !important;
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden !important;
  z-index: 1 !important;
  animation: detailSlideUp 0.2s ease !important;
}

.detail-sheet__dismiss {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.detail-sheet__dismiss:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Contenedor del modal de producto: 2 columnas en PC/Tablet */
.detail-sheet__scroll {
  display: flex !important;
  flex-direction: row !important;
  flex: 1 1 auto !important;
  min-height: 360px !important;
  max-height: calc(88vh - 75px) !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

@media (max-width: 640px) {
  .detail-sheet__scroll {
    flex-direction: column !important;
    max-height: calc(88vh - 75px) !important;
    overflow-y: auto !important;
  }
}

#productDetailImage {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
}

.detail-sheet__content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 1.75rem 2rem !important;
  overflow-y: auto !important;
  background: #ffffff !important;
}

.detail-sheet__content .product-card__category {
  color: #2f9e44 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

.detail-sheet__content h3 {
  color: #0f172a !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 0 12px 0 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.detail-sheet__content p {
  color: #334155 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  white-space: pre-line !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.detail-sheet__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 1rem 1.75rem !important;
  border-top: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
}

.detail-sheet__actions strong {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #237b35 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.detail-sheet__actions .btn--product {
  margin-top: 0 !important;
  width: auto !important;
  padding: 10px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  background: #2f9e44 !important;
  color: #ffffff !important;
}

.share-sheet__options {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding: 0.85rem 1rem;
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.share-option:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
}

.share-option .icon {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
}

.share-option:first-child .icon {
  color: #128c4a;
}

.share-option:nth-child(2) .icon {
  color: #1877f2;
}

@keyframes detailSlideUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.product-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.6rem;
  min-width: 0;
}

.product-card strong {
  min-width: 0;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--primary-dark) !important;
}

.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

/* Dentro de la tarjeta el precio no debe partirse en varias lineas: la
   columna es estrecha y al hacerlo estiraba el pie de la tarjeta. */
.product-card__footer .product-price {
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 19px !important;
}

.product-card__footer .price-current,
.product-card__footer .product-price strong {
  font-size: 19px !important;
  white-space: nowrap;
}

.product-card__footer .status {
  padding: 3px 9px !important;
  font-size: 11.5px !important;
}

.product-card__footer .status .icon {
  width: 11px !important;
  height: 11px !important;
}

.price-old {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #ef4444 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1.5px !important;
  white-space: nowrap;
}

.price-discount {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px !important;
  border-radius: 999px;
  background: #fef2f2 !important;
  color: #dc2626 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  border-radius: 999px;
  padding: 4px 11px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.status .icon {
  width: 12px !important;
  height: 12px !important;
  stroke-width: 2.5;
}

.status--available {
  background: #ecfdf5;
  color: #047857;
}

.empty-state,
.qr-card,
.footer {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(23, 23, 23, 0.06);
}

.empty-state {
  text-align: center;
}

.qr-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  padding: 1.5rem 2rem !important;
  background: #ffffff !important;
  border: 1px solid #ede7df !important;
  border-radius: 24px !important;
  margin: 2rem auto !important;
  max-width: 100% !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  text-align: left !important;
}

.qr-card img,
.qr-card__image {
  width: 180px !important;
  max-width: 180px !important;
  height: 180px !important;
  max-height: 180px !important;
  object-fit: contain !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  padding: 0.5rem !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
  flex-shrink: 0 !important;
}

@media (max-width: 640px) {
  .qr-card {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.5rem 1rem !important;
  }
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  width: min(calc(100vw - 2rem), 1120px);
  max-width: 1120px;
  margin: 2rem auto;
}

.footer img {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  object-fit: cover;
}

.footer__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem 1rem;
  width: min(100%, 720px);
  margin: 1rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.footer__links li:first-child {
  order: 2;
}

.footer__links li:last-child {
  order: 1;
}

.footer__links a {
  color: var(--primary-dark);
  font-weight: 750;
  text-decoration: none;
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  justify-self: end;
  border-radius: 999px;
  background: #128c4a;
  color: #fff !important;
  padding: 0.46rem 0.78rem;
  font-size: 0.87rem;
  font-weight: 820;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(18, 140, 74, 0.24);
}

.footer__whatsapp .icon {
  width: 0.98rem;
  height: 0.98rem;
  stroke-width: 2.2;
}

.footer__address {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.footer__legal a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.footer__credits {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer__credits a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  color: var(--primary-dark);
  font-weight: 850;
  text-align: right;
  text-decoration: none;
}

.footer__credit-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--primary);
  stroke-width: 2.3;
}

.footer__credits a:hover {
  text-decoration: underline;
}

.toast {
  position: fixed;
  left: 50%;
  top: 1rem;
  bottom: auto;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: min(92vw, 420px);
  text-align: left;
  transform: translate(-50%, -140%);
  border-radius: 16px;
  background: #171717;
  color: #fff;
  padding: 0.8rem 1rem;
  /* El body del tema (kit de Elementor) fija font-size en 1px a nivel
     global; sin este valor explícito el aviso hereda esa falla y el texto
     desaparece visualmente aunque el elemento siga presente en el DOM. */
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 750;
  opacity: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.toast__message {
  flex: 1 1 auto;
  min-width: 0;
}

.toast__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}

.toast__close .icon {
  width: 14px;
  height: 14px;
  stroke: #fff;
}

.toast__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.product-card__image-wrap img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  animation: lightboxFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: zoom-out !important;
}

.image-lightbox[hidden] {
  display: none !important;
}

.image-lightbox img,
#imageLightboxImg {
  max-width: min(90vw, 850px) !important;
  max-height: 85vh !important;
  width: auto !important;
  height: auto !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6) !important;
  object-fit: contain !important;
  background: #ffffff !important;
  padding: 1.5rem !important;
  cursor: default !important;
}

.image-lightbox__close {
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
}

.image-lightbox__close:hover {
  background: rgba(220, 38, 38, 0.9) !important;
  transform: scale(1.08) !important;
}

.image-lightbox__close .icon {
  width: 1.3rem !important;
  height: 1.3rem !important;
}

@keyframes lightboxFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cart-toggle {
  position: fixed !important;
  right: 1.5rem !important;
  bottom: 1.5rem !important;
  z-index: 9999 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px 18px !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 999px !important;
  background: #18181b !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
}

.cart-toggle:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35) !important;
  background: #09090b !important;
}

.cart-toggle[hidden],
.cart-toggle[aria-expanded="true"] {
  display: none !important;
}

.cart-toggle .icon {
  width: 20px !important;
  height: 20px !important;
  stroke: #ffffff !important;
  fill: none !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.cart-toggle span,
.cart-toggle #cartToggleText {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.cart-toggle strong,
.cart-toggle #cartToggleCount {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #2f9e44 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin-left: 2px !important;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 31;
  background: rgba(23, 23, 23, 0.42);
}

.cart-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 32;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(420px, calc(100vw - 2rem));
  height: min(720px, calc(100dvh - 2rem));
  max-height: min(720px, calc(100dvh - 2rem));
  transform: translateY(calc(100% + 2rem));
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 23, 23, 0.28);
  overflow: hidden;
  transition: transform 0.24s ease;
  pointer-events: none;
}

.cart-panel.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.cart-panel__header,
.cart-panel__footer {
  padding: 0.85rem 1rem;
}

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-panel__header .eyebrow {
  margin-top: 0;
}

.cart-panel__header h2 {
  margin: 0;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.cart-steps {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid var(--border) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cart-step {
  display: flex !important;
  flex: 1 1 50% !important;
  width: calc(50% - 4px) !important;
  max-width: calc(50% - 4px) !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--muted) !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.cart-step.is-active {
  border-color: #2f9e44 !important;
  background: rgba(47, 158, 68, 0.12) !important;
  color: #1b5e20 !important;
}

.cart-body {
  min-height: 0;
  overflow: auto;
}

.cart-view {
  min-height: 100%;
}

.cart-items {
  display: grid;
  gap: 18px;
  padding: 16px 14px;
}

.cart-details {
  display: grid !important;
  gap: 14px !important;
  padding: 16px 14px !important;
  align-content: start !important;
  margin: 0 !important;
}

/* Defensa contra wpautop(): algunos temas pasan el contenido de la pagina
   por ese filtro, que convierte los saltos de linea del HTML en etiquetas
   <br> invisibles. Dentro del panel del pedido cada <br> se volvia una fila
   extra de ~18px y separaba muchisimo los campos. Aqui se anulan. */
.cart-panel br,
.cart-details br,
.product-card br {
  display: none !important;
}

/* Texto guía: deja claro que estos campos hay que llenarlos. */
.cart-details__intro {
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(47, 158, 68, 0.08) !important;
  border: 1px solid rgba(47, 158, 68, 0.22) !important;
  color: #1b5e20 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.cart-details__note {
  margin: 2px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.cart-details label,
.cart-details__field {
  display: grid !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--text);
  font-size: 13px !important;
  font-weight: 600 !important;
}

.cart-details__label {
  display: block !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

/* Asterisco de campo obligatorio */
.cart-details__req {
  color: #dc2626 !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

/* Mensaje de error bajo cada campo */
.cart-details__error {
  display: block !important;
  margin: 0 !important;
  color: #dc2626 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.cart-details__error[hidden] {
  display: none !important;
}

/* Campo marcado como inválido */
.cart-details input.is-invalid {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

/* Botón de enviar bloqueado mientras falten datos */
.btn[aria-disabled="true"] {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.25) !important;
}

.cart-details input,
.cart-details select,
.cart-details textarea {
  width: 100%;
  min-height: 38px !important;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 6px 10px !important;
  outline: 0;
  font-size: 13px !important;
}

.cart-details textarea {
  resize: vertical;
}

.cart-details input:focus,
.cart-details select:focus,
.cart-details textarea:focus {
  border-color: color-mix(in srgb, var(--primary) 72%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

.cart-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 12px;
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.cart-item__info {
  min-width: 0;
}

.cart-item h3 {
  margin: 0;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.cart-item p {
  margin: 4px 0 0;
  color: var(--muted) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 30px 26px 30px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-control button {
  width: 30px;
  height: 30px;
  border: 0;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  font-size: 14px !important;
}

.quantity-control span {
  text-align: center;
  font-weight: 700;
  font-size: 13px !important;
}

.cart-empty {
  padding: 24px 16px;
  text-align: center;
}

.cart-empty h3 {
  margin: 0;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.cart-empty p {
  margin: 6px 0 0;
  color: var(--muted) !important;
  font-size: 13px !important;
}

.cart-panel__footer {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}

.cart-actions {
  display: grid;
  gap: 0.6rem;
}

.cart-panel[data-step="order"] #cartBack,
.cart-panel[data-step="order"] #sendCart,
.cart-panel[data-step="details"] #cartNext,
.cart-panel[data-step="details"] #clearCart,
.cart-panel[data-empty="true"] #cartNext,
.cart-panel[data-empty="true"] #clearCart,
.cart-panel[data-empty="true"] #sendCart {
  display: none !important;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.cart-total strong {
  font-size: 1.23rem;
}

#sendCart[aria-disabled="true"] {
  pointer-events: none;
  background: #d4d4d4;
  color: #737373;
  box-shadow: none;
}

.legal-page {
  padding-bottom: 2rem;
}

.legal-shell {
  width: min(calc(100vw - 2rem), 880px);
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  font-weight: 850;
  text-decoration: none;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  padding: clamp(1.2rem, 4vw, 2rem);
  box-shadow: 0 12px 30px rgba(23, 23, 23, 0.06);
}

.legal-card .eyebrow {
  margin-top: 0;
  color: var(--primary-dark);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.legal-date {
  margin: 0.75rem 0 1.5rem;
  color: var(--muted);
  font-weight: 750;
}

.legal-card section {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 1.1rem;
}

.legal-card h2 {
  margin: 0;
  font-size: 1.12rem;
}

.legal-card p {
  margin: 0.45rem 0 0;
  color: #4b5563;
  font-size: 0.97rem;
  line-height: 1.65;
}

.product-share__layout {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.product-share__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: var(--soft);
  object-fit: cover;
}

.product-share__price {
  margin: 0.4rem 0 0;
  color: var(--primary-dark);
  font-size: 1.48rem;
  font-weight: 850;
}

.product-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.product-share__actions .btn {
  flex: 1 1 auto;
}

.product-trust {
  display: grid;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  border-top: 1px solid var(--border);
  padding: 1.1rem 0 0;
  list-style: none;
}

.product-trust li {
  color: #4b5563;
  font-size: 0.93rem;
  line-height: 1.4;
}

.product-ask {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-ask a {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 640px) {
  .product-share__layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 620px) {
  .hero__content {
    padding: 2.6rem 1.5rem 3.4rem;
  }

  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .hero__actions .btn {
    flex: 0 1 auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-card {
    grid-template-columns: 1fr auto;
    justify-items: start;
    text-align: left;
  }

  .qr-card__image {
    width: 220px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(2rem, 9.8vw, 2.7rem);
    line-height: 1.03;
  }

  .hero__content {
    padding: 1.25rem 1rem 2.4rem;
  }

  .hero__description {
    font-size: 0.92rem;
  }

  .hero__actions {
    gap: 0.65rem;
  }

  .btn {
    min-height: 48px;
    padding: 0.78rem 0.95rem;
  }

  .cart-toggle {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .cart-panel {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 92dvh;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
  }

  .cart-item {
    grid-template-columns: 52px minmax(0, 1fr) 104px;
    gap: 0.65rem;
  }

  .cart-item img {
    width: 52px;
    height: 52px;
  }

  .quantity-control {
    grid-column: auto;
    justify-self: end;
    grid-template-columns: 32px 32px 32px;
  }

  .quantity-control button {
    width: 32px;
    height: 32px;
  }

  .toolbar {
    position: relative;
    top: auto;
    border-radius: 22px;
    padding: 0.65rem;
  }

  .categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .category-chip {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0.45rem 0.55rem;
    font-size: 0.76rem;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
  }

  .category-chip .icon {
    width: 1em;
    height: 1em;
  }

  .category-chip span {
    overflow-wrap: anywhere;
  }

  .favorite-button {
    width: 40px;
    height: 40px;
  }

  .product-card__body {
    padding: 0.9rem;
  }

  .product-card__footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.5rem;
  }

  .status {
    justify-self: start;
  }

  .empty-state,
  .qr-card,
  .footer {
    border-radius: 22px;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer img {
    margin: 0 auto;
  }

  .footer__links {
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
    width: 100%;
  }

  .footer__links li:first-child,
  .footer__links li:last-child {
    order: initial;
  }

  .footer__whatsapp {
    justify-self: center;
  }

  .footer__legal {
    justify-content: center;
  }

  .footer__credits {
    flex-direction: column;
    justify-content: center;
  }

  .footer__credits a {
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 940px) {
  .hero {
    min-height: 500px;
  }

  .toolbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.25rem !important;
  }

  .categories {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  .search {
    flex: 0 0 280px !important;
    max-width: 300px !important;
    margin: 0 !important;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ==========================================================================
   LEGIBILIDAD EN MOVIL
   En pantallas pequenas el panel del pedido quedaba con textos de 12-14px,
   dificiles de leer. Aqui se sube todo a un minimo comodo (16-18px).
   Nota: los campos a 18px tambien evitan que iOS haga zoom automatico al
   tocarlos, cosa que pasa cuando la letra baja de 16px.
   ========================================================================== */
@media (max-width: 768px) {
  .cart-panel h2,
  .cart-panel #cartTitle {
    font-size: 22px !important;
  }

  .cart-panel .eyebrow {
    font-size: 13px !important;
  }

  /* Misma especificidad que la regla base (.cart-steps .cart-step), si no
     esta no la gana y los pasos se quedan en 13px. */
  .cart-steps .cart-step,
  .cart-step {
    font-size: 16px !important;
  }

  .cart-item h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  .cart-item p {
    font-size: 16px !important;
  }

  .quantity-control button,
  .quantity-control span {
    font-size: 18px !important;
  }

  .cart-details__intro {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .cart-details__label {
    font-size: 17px !important;
  }

  .cart-details input,
  .cart-details select,
  .cart-details textarea {
    font-size: 18px !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
  }

  .cart-details__error {
    font-size: 14px !important;
  }

  .cart-details__note {
    font-size: 14px !important;
  }

  .cart-total span {
    font-size: 17px !important;
  }

  .cart-total strong,
  #cartTotal {
    font-size: 24px !important;
  }

  .cart-panel__footer .btn,
  #sendCart,
  #cartNext,
  #cartBack,
  #clearCart {
    font-size: 17px !important;
    min-height: 50px !important;
  }

  .toast {
    font-size: 16px !important;
  }

  /* Botones del encabezado (Pedir por WhatsApp / Compartir catalogo) y
     el boton de cada producto: estaban en 13px y costaba leerlos. */
  .hero .btn,
  .hero .btn span,
  .btn--primary,
  .btn--secondary,
  .btn--product,
  .btn--product span {
    font-size: 17px !important;
  }

  .hero .btn,
  .btn--product {
    min-height: 50px !important;
    padding: 12px 20px !important;
  }

  .hero .btn .icon,
  .btn--product .icon {
    width: 20px !important;
    height: 20px !important;
  }

  /* Chips de categoria y buscador */
  #categoryNav .chip,
  #categoryNav button.chip,
  #categoryNav .category-chip,
  .categories .chip,
  .categories .category-chip {
    font-size: 15px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 18px !important;
  }

  .search input,
  #searchInput {
    font-size: 16px !important;
    min-height: 48px !important;
  }

  /* Boton flotante del pedido */
  .cart-toggle,
  .cart-toggle span {
    font-size: 17px !important;
  }
}

/* ==========================================================================
   CATALOG FRONTEND PAGINATION (ALTA GAMA & ZERO-CLUTTER)
   ========================================================================== */
.catalog-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 2.5rem !important;
  padding: 1.25rem 0 !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.catalog-pagination[hidden] {
  display: none !important;
}

.catalog-pagination__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  border: 1px solid #d8e2d4 !important;
  background: #ffffff !important;
  color: #1b4332 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(15, 48, 0, 0.04) !important;
  user-select: none !important;
  font-family: inherit !important;
}

.catalog-pagination__btn:hover:not(:disabled):not(.is-active) {
  background: #f0f7ee !important;
  border-color: #9cb893 !important;
  color: #0f3000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 48, 0, 0.08) !important;
}

.catalog-pagination__btn.is-active {
  background: #1b4332 !important;
  border-color: #1b4332 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25) !important;
  cursor: default !important;
}

.catalog-pagination__btn:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  border-color: #e2e8f0 !important;
}

.catalog-pagination__dots {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  height: 42px !important;
  color: #64748b !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL SLIDER & GALLERY
   ========================================================================== */
.detail-sheet__media {
  display: flex !important;
  flex-direction: column !important;
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  background: #f8fafc !important;
  border-right: 1px solid #f1f5f9 !important;
  position: relative !important;
  overflow: hidden !important;
  user-select: none !important;
}

@media (max-width: 640px) {
  .detail-sheet__media {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
}

.detail-slider {
  position: relative !important;
  width: 100% !important;
  height: 320px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 1.25rem !important;
  box-sizing: border-box !important;
  background: #f8fafc !important;
}

@media (max-width: 640px) {
  .detail-slider {
    height: 240px !important;
    padding: 0.75rem !important;
  }
}

.detail-slider__track {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.detail-slider__track img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  cursor: zoom-in !important;
  border-right: none !important;
  padding: 0 !important;
  background: transparent !important;
  will-change: transform, opacity !important;
}

/* Tipos de transición configurable */
.detail-slider__track img.anim-fade {
  animation: shsrSliderFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.detail-slider__track img.anim-slide {
  animation: shsrSliderSlide 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.detail-slider__track img.anim-zoom {
  animation: shsrSliderZoom 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes shsrSliderFade {
  from {
    opacity: 0.15;
  }
  to {
    opacity: 1;
  }
}

@keyframes shsrSliderSlide {
  from {
    opacity: 0.2;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shsrSliderZoom {
  from {
    opacity: 0.2;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.detail-slider__nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
}

.detail-slider__nav:hover {
  background: #ffffff !important;
  transform: translateY(-50%) scale(1.08) !important;
  color: #166534 !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18) !important;
}

.detail-slider__nav--prev {
  left: 8px !important;
}

.detail-slider__nav--next {
  right: 8px !important;
}

.detail-slider__nav svg {
  width: 18px !important;
  height: 18px !important;
}

.detail-slider__nav[hidden] {
  display: none !important;
}

.detail-slider__dots {
  position: absolute !important;
  bottom: 8px !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 10 !important;
}

.detail-slider__dots[hidden] {
  display: none !important;
}

.detail-slider__dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #cbd5e1 !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.detail-slider__dot.is-active {
  width: 20px !important;
  border-radius: 999px !important;
  background: #1b4332 !important;
}

.detail-slider__thumbs {
  display: flex !important;
  gap: 6px !important;
  padding: 6px 12px 10px !important;
  overflow-x: auto !important;
  justify-content: center !important;
  scrollbar-width: thin !important;
  background: #f8fafc !important;
}

.detail-slider__thumbs[hidden] {
  display: none !important;
}

.detail-slider__thumb {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  background: #ffffff !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.detail-slider__thumb img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-right: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  background: transparent !important;
}

.detail-slider__thumb.is-active {
  border-color: #1b4332 !important;
  box-shadow: 0 0 0 2px #1b4332 !important;
  transform: scale(1.04) !important;
}

.detail-slider__thumb:hover:not(.is-active) {
  border-color: #64748b !important;
  transform: translateY(-2px) !important;
}

/* ============================================================
   SELECTOR DE DIVISA (COP / USD) Y MANEJO DE IVA
   ============================================================ */
.currency-switch-wrap {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 4px !important;
  flex-shrink: 0 !important;
}

.currency-switch-wrap[hidden] {
  display: none !important;
}

.currency-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 14px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 999px !important;
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.currency-chip:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

/* Badge de IVA en Ficha Modal */
.detail-sheet__price-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}

.product-tax-badge {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #15803d !important;
  background: #dcfce7 !important;
  border: 1px solid #bbf7d0 !important;
  padding: 1px 8px !important;
  border-radius: 6px !important;
  line-height: 1.4 !important;
}

.product-tax-badge[hidden] {
  display: none !important;
}

/* Resumen de IVA en Carrito */
.cart-total-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.cart-tax-info {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #15803d !important;
  text-align: right !important;
}

.cart-tax-info[hidden] {
  display: none !important;
}
