/* =========================================================
   OEP - STYLES CLEAN
   Archivo depurado y ordenado
   ========================================================= */

/* =========================================================
   VARIABLES GLOBALES
   ========================================================= */

:root {
  --bg: #ececec;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --surface-3: #e8edf2;
  --text: #1d252c;
  --muted: #66717c;
  --line: #dbe1e6;
  --line-strong: #cad3db;
  --brand: #2d5d46;
  --brand-2: #244b39;
  --accent: #f97316;
  --accent-2: #dd650f;
  --danger: #c44735;
  --success: #2e7d52;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.05);
  --container: 1380px;
  --header-h: 20px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  padding-top: var(--header-h);
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(
    180deg,
    #2d6a4f 10%,
    #2d6a4f 20%,
    #ececec 30%,
    #ececec 100%
  );
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* =========================================================
   TIPOGRAFÍA
   ========================================================= */

h1 {
  font-weight: 700;
  letter-spacing: -0.6px;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* =========================================================
   BOTONES / ELEMENTOS REUTILIZABLES
   ========================================================= */

.action-link,
.pill-btn,
.ghost-btn,
.solid-btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: .2s ease;
}

.action-link,
.ghost-btn,
.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
}

.action-link:hover,
.ghost-btn:hover,
.icon-btn:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.solid-btn {
  background: var(--accent);
  color: #fff;
  border: none;
}

.solid-btn:hover {
  background: #ea580c;
  filter: brightness(.98);
  transform: translateY(-1px);
}

.icon-btn {
  min-width: 44px;
  padding: 0;
}

.link-more {
  color: var(--brand);
  font-weight: 800;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
  background: var(--brand-2);
  color: #fff;
  font-size: 13px;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255,255,255,.92);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: none;
}

.header-main {
  min-height: 100px;
  display: grid;
  grid-template-columns: 340px 1fr 320px;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  align-self: center;
}

.brand-logo-only {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo-image {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.brand-mark,
.brand-mark-fallback {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: var(--shadow);
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}

/* =========================================================
   HEADER - BUSCADOR
   ========================================================= */

.searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin: 0;
  align-self: center;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
}

.searchbar input {
  border: 0;
  outline: none;
  width: 100%;
  height: 100%;
  background: transparent;
  color: var(--text);
}

.searchbar button {
  border: 0;
  height: 34px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.searchbar button:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
}

/* =========================================================
   HEADER - MINI CARRUSEL PROMO
   ========================================================= */

.header-promo-slider {
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

.header-promo-track {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.6s ease;
}

.header-promo-slide {
  width: 50%;
  min-width: 50%;
  height: 100%;
  display: block;
}

.header-promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-actions {
  display: none;
}

.action-link.cart {
  position: relative;
  padding-right: 44px;
}

.cart-count {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

/* =========================================================
   NAV PRINCIPAL
   ========================================================= */

.main-nav-wrap {
  border-top: none;
  background: transparent;
  padding-top: 20px;
  padding-bottom: 0;
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -40px;
}

.main-nav {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.main-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  color: #fff;
}

.nav-link.outlet {
  color: var(--accent-2);
}

.main-nav a {
  color: rgba(255,255,255,.85);
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: .2s ease;
}

.main-nav a:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 500;
}

.main-nav a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 500;
}

.nav-icons {
  position: absolute;
  right: 0;
  display: flex;
  gap: 10px;
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  color: #fff;
  transition: .2s ease;
}

.nav-icon:hover {
  background: rgba(255,255,255,.2);
}

.nav-icon svg {
  width: 18px;
  height: 18px;
}

/* =========================================================
   HERO / TOP AREA
   ========================================================= */

.top-area {
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}

.hero {
  padding: 28px 0 18px;
}

.hero-grid {
  display: block;
}

.hero-card,
.feature-box {
  background: linear-gradient(180deg, #ffffff, #f8fafb);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-card {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr .1fr;
  overflow: hidden;
}

.hero-card-clean {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  min-height: 200px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: #fff;
}

.hero-copy {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: #fff;
}

.hero-copy p {
  margin: 0;
  font-size: 16px;
  color: rgba(255,255,255,.85);
  max-width: 52ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-art {
  background:
    radial-gradient(circle at 20% 20%, rgba(249,115,22,.18), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(45,93,70,.14), transparent 30%),
    linear-gradient(135deg, #f4f7f9 0%, #e9eef3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-art-clean {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
}

.hero-placeholder {
  width: 100%;
  aspect-ratio: 1 / .88;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #edf2f6);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 25px 40px rgba(17,24,39,.10);
  display: grid;
  place-items: center;
  color: #7b8792;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.hero-image-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero-image-frame img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.hero-main-image {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: scale(1.4) translateX(-90px) translateY(-5px);
  background: transparent;
}

/* =========================================================
   TRUST / CONFIANZA
   ========================================================= */

.hero-trust {
  margin-top: 20px;
}

.hero-trust-inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 18px;
}

.trust-item span {
  color: #22c55e;
  font-weight: bold;
}

.trust-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}


.section-trust {
  background: transparent;
  padding: 36px 0 8px;
}

.section-trust .trust-item {
  color: var(--muted);
}

.section-trust .trust-icon {
  color: var(--text);
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

.top-area + .section {
  padding-top: 90px;
  margin-top: -36px;
}

.section {
  padding: 50px 0 6px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.5px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

/* =========================================================
   CATEGORÍAS DESTACADAS
   ========================================================= */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: .2s ease;
  color: inherit;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(15,23,42,.08);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f1f5f8, #e5edf2);
  border: 1px solid var(--line);
}

.category-card strong {
  display: block;
  font-size: 16px;
  margin-top: 18px;
}

.category-card span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

/* =========================================================
   FEATURE BOXES
   ========================================================= */

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.feature-box {
  padding: 18px 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.feature-box strong {
  display: block;
  margin-bottom: 8px;
}

.feature-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

/* =========================================================
   CATÁLOGO / LISTADO
   ========================================================= */

.catalog-shell {
  padding: 28px 0 52px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 22px;
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 12px 24px rgba(15,23,42,.05);
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.filters h3,
.products-head h2 {
  margin: 0;
}

.filter-group {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.filter-group h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #51606d;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #34414c;
  font-size: 14px;
}

.check-item span:last-child {
  color: #8a97a2;
}

.check-item input {
  accent-color: var(--brand);
}

.products-area {
  display: grid;
  gap: 18px;
}

.products-toolbar,
.products-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.products-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-right select,
.toolbar-right button {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
}

/* =========================================================
   PRODUCTOS - GRID CON CARD DE ANCHO FIJO
   ========================================================= */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 250px);
  gap: 22px;
  justify-content: start;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
  transition: .22s ease;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / .9;
  background: linear-gradient(135deg, #f4f7fa, #e6edf3);
  display: grid;
  place-items: center;
  color: #7b8792;
  font-weight: 800;
  letter-spacing: 1px;
}

.badge-row {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: #111827;
  color: #fff;
}

.badge.outlet { background: var(--accent); }
.badge.promo { background: var(--brand); }
.badge.stock { background: #334155; }
.badge.low { background: var(--danger); }

.product-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.product-brand {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .8px;
}

.product-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  min-height: 46px;
}

.product-sku {
  color: var(--muted);
  font-size: 13px;
}

.availability {
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
}

.availability.low {
  color: var(--danger);
}

.price-row {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--text);
}

.price-old {
  color: #8a97a2;
  text-decoration: line-through;
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-actions .ghost-btn,
.product-actions .solid-btn {
  min-height: 46px;
  border-radius: 10px;
  padding: 0 14px;
}

/* =========================================================
   PROMO STRIP - BLOQUE CLICKEABLE CON IMAGEN
   ========================================================= */

.promo-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  overflow: hidden;

  min-height: 112px;
  border-radius: 14px;

  background: #4b8966;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.promo-strip-link {
  text-decoration: none;
  color: inherit;
  transition: .2s ease;
}

.promo-strip-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}

.promo-strip-copy {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-strip-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
}

.promo-strip-copy p {
  margin: 0;
  color: rgba(255,255,255,.9);
  line-height: 1.45;
  font-size: 15px;
  max-width: 620px;
}

.promo-strip-art {
  position: relative;
  min-height: 120px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.promo-strip-art img {
  width: 20%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: right center;
  display: block;

  transform: scale(3.9) translateX(-35px) translateY(10px);
}

/* mobile */
@media (max-width: 820px) {
  .promo-strip {
    grid-template-columns: 1fr;
  }

  .promo-strip-art {
    min-height: 110px;
  }

  .promo-strip-copy {
    padding: 20px 18px;
  }

  .promo-strip-copy strong {
    font-size: 20px;
  }
}

.promo-strip strong {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
}

.promo-strip p {
  margin: 0;
  color: rgba(255,255,255,.88);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  margin-top: 34px;
  background: #11181f;
  color: #d8e1e8;
  padding: 42px 0 22px;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 26px;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
}

.footer-col p,
.footer-col a {
  color: #b6c2cc;
  font-size: 14px;
  line-height: 1.65;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 24px;
  padding-top: 18px;
  color: #9ba8b3;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   PAGINACIÓN
   ========================================================= */

.pagination-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 18px;
  background: transparent;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #5d6772;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.page-btn:hover {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.page-btn.active {
  background: #ffffff;
  color: #3f7a5d;
  border-color: #3f7a5d;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.10);
}

.page-btn.page-nav {
  padding: 0 18px;
  color: #6b7280;
}

.products-area .pagination-wrap {
  width: 100%;
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.products-area .pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.products-area .page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #5d6772;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.products-area .page-btn:hover {
  background: #f8fafc;
  border-color: var(--line);
  color: var(--text);
}

.products-area .page-btn.active {
  background: #ffffff;
  color: #3f7a5d;
  border-color: #3f7a5d;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.10);
}

.products-area .page-btn.page-nav {
  padding: 0 18px;
  color: #6b7280;
}

/* =========================================================
   FILTROS
   ========================================================= */

.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #34414c;
  border: 1px solid transparent;
  transition: .2s ease;
}

.filter-link:hover {
  background: #f8fafc;
  border-color: var(--line);
}

.filter-link.active {
  background: rgba(45, 93, 70, 0.08);
  color: var(--brand);
  border-color: rgba(45, 93, 70, 0.18);
  font-weight: 700;
}

.filter-link span:last-child {
  color: #8a97a2;
  font-size: 13px;
}

.filter-form {
  display: block;
}

.filter-form .ghost-btn {
  min-height: 40px;
}

/* =========================================================
   CARRITO
   ========================================================= */

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.cart-main,
.cart-summary-box,
.cart-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

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

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  padding: 18px;
  align-items: center;
}

.cart-item-media {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f4f7fa, #e6edf3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info {
  display: grid;
  gap: 8px;
}

.cart-item-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.cart-item-sku {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cart-item-price {
  font-size: 18px;
  font-weight: 800;
}

.cart-item-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.qty-value {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 700;
  cursor: pointer;
}

.cart-summary-box {
  padding: 22px;
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
}

.cart-summary-box h3 {
  margin: 0;
  font-size: 22px;
}

.summary-group {
  display: grid;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.summary-total strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.cart-submit-btn,
.cart-clear-btn {
  width: 100%;
}

.whatsapp-btn {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.cart-empty {
  padding: 40px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.cart-empty h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 24px;
}

.cart-empty p {
  margin: 0 0 18px;
  color: var(--muted);
}

.cart-form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.cart-form h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.cart-form input,
.cart-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
}

.cart-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* =========================================================
   HOME - PRODUCTOS DESTACADOS / SLIDER
   ========================================================= */

.products-box {
  background: #f3f4f6;
  border-radius: 14px;
  padding: 24px 24px 32px;
}

.home-slider-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.home-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.home-slider-track {
  display: flex;
  gap: 18px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.home-product-card {
  flex: 0 0 calc((100% - 54px) / 4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: .2s ease;
}

.home-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(15,23,42,.08);
}

.home-product-media {
  aspect-ratio: 1 / 0.82;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.home-product-media img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.home-product-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 10px;
}

.home-product-category {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.home-product-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  min-height: 46px;
}

.home-product-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.home-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  color: var(--brand);
  width: fit-content;
}

.home-product-link:hover {
  border-color: var(--line-strong);
  background: #f8fafc;
}

.home-slider-btn {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: .2s ease;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-slider-btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.home-slider-btn:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}

/* =========================================================
   HOME - BANNER PUBLICIDAD / CARRUSEL
   ========================================================= */

.top-promo-banner {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(15,23,42,.05);
  margin: 12px 0 8px;
}

.promo-slider {
  width: 100%;
  overflow: hidden;
}

.promo-track {
  display: flex;
  width: 100%;
  transition: transform 0.9s ease;
}

.promo-track img {
  width: 100%;
  min-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 1800 / 200;
  background: #fff;
}

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.product-detail-media,
.product-detail-info,
.product-detail-description-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.product-detail-media {
  padding: 22px;
}

.product-detail-image-box {
  position: relative;
  min-height: 520px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f4f7fa, #e6edf3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-detail-image-box img {
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.product-detail-info {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.product-detail-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.product-detail-meta {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
}

.product-detail-price {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.product-detail-shortdesc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.product-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-detail-description {
  display: grid;
  gap: 16px;
}

.product-detail-description-box {
  padding: 24px 26px;
}

.product-detail-description-box p {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
  white-space: pre-line;
}

/* =========================================================
   UTILIDADES
   ========================================================= */

.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
  .hero-grid,
  .catalog-layout,
  .footer-grid,
  .header-main {
    grid-template-columns: 290px minmax(240px, 1fr) auto;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

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

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .filters {
    position: static;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .home-product-card {
    flex: 0 0 calc((100% - 36px) / 3);
  }
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: 220px minmax(260px, 1fr);
  }

  .header-promo-pill {
    display: none;
  }
}

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

  .product-detail-image-box {
    min-height: 360px;
  }

  .product-detail-image-box img {
    max-height: 320px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-box {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero-card-clean {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
    overflow: hidden;
  }

  .hero-main-image {
    max-width: 320px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 28px;
  }

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

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

  .topbar {
    display: none;
  }

  .main-nav-links {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .main-nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero-trust-inner {
    gap: 12px;
  }

  .brand-item {
    width: 150px;
    min-width: 150px;
    height: 82px;
    padding: 14px 16px;
  }

  .brand-item img {
    max-height: 40px;
  }

  .brands-track {
    gap: 12px;
  }

  .promo-track img {
    aspect-ratio: 16 / 6;
  }

  .home-product-card {
    flex: 0 0 calc((100% - 18px) / 2);
  }
}

@media (max-width: 720px) {
  .header-main {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 0;
  }

  .brand-logo-only {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item-media {
    width: 100%;
    height: 220px;
  }

  .cart-item-actions {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .products-grid,
  .categories-grid,
  .product-actions {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .header-main,
  .products-toolbar,
  .products-head,
  .section-head,
  .promo-strip {
    gap: 12px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .home-slider-wrap {
    gap: 8px;
  }

  .home-slider-btn {
    width: 42px;
    min-width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .home-product-card {
    flex: 0 0 100%;
  }
}

/* =========================================================
   MARCAS - SLIDER INFINITO
   ========================================================= */

.brands-slider {
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 6px 0 0;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 40px;

  width: max-content;

  animation: brands-marquee 28s linear infinite;
}

.brand-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: transparent;
}

.brand-item img {
  height: 49px;
  width: auto;
  opacity: 0.75;
  transition: 0.2s ease;
}

.brand-item img:hover {
  opacity: 1;
}

/* animación infinita */
@keyframes brands-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   AJUSTE FINO - MARCAS Y PROMO
   ========================================================= */

.brands-slider + .promo-strip,
.section .promo-strip {
  margin-top: 8px;
}

.section-head {
  margin-bottom: 14px;
}

/* =========================================================
   CATEGORÍAS - CON IMAGEN
   ========================================================= */

.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 16px;
  border-radius: 12px;

  background: #fff;
  border: 1px solid var(--line);
  transition: .2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.category-media {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.category-body strong {
  display: block;
  font-size: 15px;
}

.category-body span {
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================
   CATEGORÍAS - CARDS CON IMAGEN
   ========================================================= */

.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-media {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 10px;
}

.category-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.category-body strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.category-body span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

/* =========================================================
   HEADER FIJO REAL
   ========================================================= */

:root {
  --header-h: 122px;
}

.header-fixed-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, #3a7a5f 0%, #2d6a4f 100%);
}

body {
  padding-top: var(--header-h);
}

/* =========================================================
   PRODUCTOS - TOPBAR FINAL
   ========================================================= */

.products-topbar {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 10px;
  margin-bottom: 10px;

  display: flex;
  align-items: center;

  border: 1px solid var(--line);

  max-width: calc((250px * 4) + (18px * 3) + 32px);
}

.products-results {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.products-results strong {
  font-weight: 700;
}

/* =========================================================
   PRODUCTOS - MEJORAS SEGURAS DE CARD
   ========================================================= */

.product-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

.badge-row {
  z-index: 3;
}

.product-body {
  border-top: 1px solid var(--line);
}

.product-title {
  line-height: 1.3;
}

.product-actions {
  gap: 10px;
}

/* =========================================================
   PRODUCTOS - ALTURAS Y RITMO
   ========================================================= */

.product-body {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.product-title {
  margin: 0;
  min-height: 56px;
  font-size: 16px;
  font-weight: 700;
}

.product-brand {
  font-size: 11px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.product-sku {
  font-size: 13px;
  color: var(--muted);
}

.availability {
  font-size: 13px;
  font-weight: 700;
}

.price-row {
  min-height: 34px;
  display: flex;
  align-items: end;
  gap: 8px;
}

/* =========================================================
   PRODUCTOS - TIPOGRAFÍA TIPO ECOMMERCE
   ========================================================= */

.product-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #5f6b7a;
}

.product-title {
  margin: 0;
  min-height: 52px;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 700;
  color: #1f2937;
}

.product-sku {
  font-size: 13px;
  color: #6b7280;
}

.availability {
  font-size: 13px;
  font-weight: 700;
  color: #1f7a4f;
}

.price-current {
  font-size: 23px;
  font-weight: 800;
  color: #111827;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-left {
  display: flex;
  flex-direction: column;
}

.add-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
}

/* =========================================================
   DETALLE DE PRODUCTO - CAJA UNIFICADA
   ========================================================= */

.product-detail-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.product-detail-media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.product-detail-image-frame {
  position: relative;
  width: 100%;
  min-height: 360px;
  background: #f7f8fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}

.product-detail-image-frame img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.product-detail-image-frame .badge-row {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-detail-info {
  display: grid;
  align-content: start;
  gap: 12px;
}

.product-detail-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
}

.product-detail-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.product-detail-meta {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.product-detail-price .price-current {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.product-detail-price .price-old {
  color: #8a97a2;
  font-size: 15px;
  text-decoration: line-through;
}

.product-detail-shortdesc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.product-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.product-detail-description-area {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.product-detail-description-head {
  margin-bottom: 0;
}

.product-detail-description-head h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.product-detail-description-head p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.product-detail-description-box p {
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}

@media (max-width: 980px) {
  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .product-detail-image-frame {
    min-height: 300px;
  }

  .product-detail-title {
    font-size: 24px;
  }
}

/* =========================================================
   DETALLE DE PRODUCTO - TÍTULO SUPERIOR EN BLANCO
   ========================================================= */

.product-detail-page .section-head h2,
.product-detail-page .section-head p,
.product-detail-page .section-head p a,
.product-detail-page .section-head p span {
  color: #ffffff !important;
}

/* =========================================================
   DETALLE - AJUSTE FINO DE PROPORCIONES
   ========================================================= */

.product-detail-card {
  grid-template-columns: 360px 1fr;
  gap: 18px;
  padding: 18px;
}

.product-detail-image-frame {
  min-height: 320px;
  padding: 16px;
}

.product-detail-image-frame img {
  max-height: 260px;
}

.product-detail-info {
  align-content: start;
  gap: 10px;
  padding-top: 6px;
}

.product-detail-title {
  font-size: 24px;
  line-height: 1.15;
  max-width: 720px;
}

.product-detail-price .price-current {
  font-size: 20px;
}

.product-detail-actions {
  margin-top: 8px;
}

/* =========================================================
   TOAST CARRITO
   ========================================================= */

.cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .3s ease;
  z-index: 9999;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   HEADER - ANIMACIÓN CARRITO
   ========================================================= */

.nav-icon.bump {
  animation: cart-bump .35s ease;
}

@keyframes cart-bump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* =========================================================
   CARRITO - POP CONTADOR
   ========================================================= */

.cart-count-badge.bump {
  animation: badge-pop .25s ease;
}

@keyframes badge-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* =========================================================
   HEADER - CONTADOR CARRITO
   ========================================================= */

.cart-icon-wrap {
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  display: none;
}

.cart-count-badge.show {
  display: inline-block;
}

.solid-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================================
   BOTÓN SIN STOCK
   ========================================================= */

.solid-btn:disabled {
  background: #9ca3af; /* gris */
  color: #fff;
  cursor: not-allowed;
  opacity: 1;
}

/* opción alternativa más agresiva (rojo) */

.solid-btn.out-of-stock {
  background: #dc2626; /* rojo */
  color: #fff;
  cursor: not-allowed;
}

/* botón normal (ya lo tenés seguramente) */
.solid-btn {
  background: var(--accent);
  color: #fff;
}

/* botón sin stock */
.solid-btn.out-of-stock {
  background: #dc2626; /* rojo */
  color: #fff;
  cursor: not-allowed;
  opacity: 1;
}

/* fallback si solo usa disabled */
.solid-btn:disabled {
  background: #9ca3af; /* gris */
  color: #fff;
  cursor: not-allowed;
}


/* =========================================================
   CARD SIN STOCK
   ========================================================= */

.product-card.out-of-stock-card {
  opacity: 0.75;
}

/* imagen más apagada */
.product-card.out-of-stock-card .product-media img {
  filter: grayscale(40%);
}

/* opcional: overlay suave */
.product-card.out-of-stock-card .product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.4);
}

/* badge más fuerte */
.badge.low {
  background: #dc2626;
  color: #fff;
}

/* =========================================================
   ANIMACION DE ACCION CONFIRMADA
   ========================================================= */

.cart-empty h3 {
  animation: fadeInUp .4s ease;
}

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