:root {
  --bg: #eef2f6;
  --surface: #f5f7fb;
  --panel: #ffffff;
  --line: #d9e2ef;
  --text: #0f172a;
  --muted: #64748b;
  --brand-orange: #EF7900;
  --brand-blue: #005BA5;
  --brand-white: #FFFFFF;

  --accent-main: var(--brand-blue);
  --accent-rgb: 0, 91, 165;
  --accent-soft: rgba(0, 91, 165, 0.14);
  --cta-main: var(--brand-orange);
  --cta-rgb: 239, 121, 0;
  --layout-gutter: 1rem;
}

* { box-sizing: border-box; }

img {
  max-width: 100%;
  height: auto;
}

.bx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1200px 520px at -8% -20%, rgba(0, 91, 165, 0.30), transparent),
    radial-gradient(1000px 480px at 105% -18%, rgba(239, 121, 0, 0.28), transparent),
    linear-gradient(180deg, #edf2f7, #e9eff5 45%, #f6f8fb);
}

body.theme-corporativo {
  --accent-main: var(--brand-blue);
  --accent-rgb: 0, 91, 165;
  --accent-soft: rgba(0, 91, 165, 0.14);
  --cta-main: var(--brand-orange);
  --cta-rgb: 239, 121, 0;
}

body.theme-comercial {
  --accent-main: var(--brand-orange);
  --accent-rgb: 239, 121, 0;
  --accent-soft: rgba(239, 121, 0, 0.16);
  --cta-main: var(--brand-orange);
  --cta-rgb: 239, 121, 0;
  background:
    radial-gradient(1200px 520px at -8% -20%, rgba(0, 91, 165, 0.24), transparent),
    radial-gradient(980px 460px at 105% -18%, rgba(239, 121, 0, 0.34), transparent),
    linear-gradient(180deg, #f4f6fa, #f4f7fb 45%, #faf7f2);
}

html.dark-mode body {
  color: #e2e8f0;
  background:
    radial-gradient(1200px 520px at -8% -20%, rgba(14, 116, 204, 0.20), transparent),
    radial-gradient(1000px 480px at 105% -18%, rgba(239, 121, 0, 0.16), transparent),
    linear-gradient(180deg, #0b1220, #0f172a 45%, #131c31);
}

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

.ambient-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 26%, rgba(var(--accent-rgb), 0.22) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(var(--cta-rgb), 0.11) 1px, transparent 1px);
  background-size: 240px 240px;
  opacity: 0.65;
  z-index: -1;
}

.surface {
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.88) 38%, rgba(var(--cta-rgb), 0.14));
  border: 1px solid #cfd9e8;
  box-shadow: 0 26px 62px rgba(0, 52, 95, 0.10);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
}

.brand-logo-header {
  height: 2.45rem;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.mobile-header-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  transition: padding 180ms ease, gap 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.45rem;
  min-width: 0;
}

.mobile-logo-default {
  display: block;
}

.mobile-logo-compact {
  display: none;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.mobile-home-chip {
  transition: opacity 160ms ease, transform 160ms ease, width 160ms ease, margin 160ms ease, padding 160ms ease, border-color 160ms ease;
}

.mobile-search-shell {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
  border: 1px solid var(--accent-soft);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 0.44rem 0.7rem;
}

.mobile-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 0.86rem;
}

.top-strip {
  max-height: 40px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  transition: max-height 220ms ease, opacity 220ms ease, transform 220ms ease;
}

body.topbar-collapsed .top-strip {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
}

.nav-chip {
  border: 1px solid var(--accent-soft);
  background: rgba(255,255,255,0.88);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  transition: all 180ms ease;
}

.nav-chip:hover {
  transform: translateY(-1px);
  background: #fff;
  color: var(--accent-main);
  border-color: rgba(var(--cta-rgb), 0.50);
  box-shadow: 0 8px 18px rgba(var(--accent-rgb), 0.25);
}

.nav-chip-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-chip-icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 230px;
  border: 1px solid var(--accent-soft);
  background: rgba(255,255,255,0.88);
  color: #0f172a;
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  transition: all 180ms ease;
}

.account-pill:hover {
  transform: translateY(-1px);
  background: #fff;
  color: var(--accent-main);
  border-color: rgba(var(--cta-rgb), 0.50);
  box-shadow: 0 8px 18px rgba(var(--accent-rgb), 0.25);
}

.account-pill-icon-only {
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
}

.account-pill-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
}

.account-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  padding: 0 0.28rem;
  font-size: 0.65rem;
  font-weight: 800;
  background: #ffe000;
  color: #0f172a;
}

.account-pill.account-pill-disabled,
.account-pill.account-pill-disabled:hover {
  border-style: dashed;
  color: #64748b;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  transform: none;
  cursor: default;
}

.mode-toggle .mode-icon-moon { display: none; }
html.dark-mode .mode-toggle .mode-icon-sun { display: none; }
html.dark-mode .mode-toggle .mode-icon-moon { display: block; }

.top-strip-mode-toggle {
  width: 1.85rem;
  height: 1.85rem;
}

.guest-account-menu {
  width: 13rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.theme-switcher {
  border-left: 1px solid #e2e8f0;
  padding-left: 0.6rem;
}

.theme-pill {
  border: 1px solid var(--accent-soft);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.theme-pill.active {
  color: #fff;
  background: linear-gradient(120deg, var(--accent-main), var(--cta-main));
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.26);
}

html.dark-mode .site-header,
html.dark-mode footer {
  background: rgba(8, 15, 30, 0.78) !important;
  border-color: rgba(71, 85, 105, 0.65) !important;
}

html.dark-mode .top-strip {
  background: rgba(8, 15, 30, 0.88);
  border-color: rgba(71, 85, 105, 0.55);
}

html.dark-mode .glass-pill,
html.dark-mode .nav-chip,
html.dark-mode .account-pill,
html.dark-mode .panel,
html.dark-mode .deal-card,
html.dark-mode .stat-card,
html.dark-mode .category-tile,
html.dark-mode .promo-tile-light,
html.dark-mode .product-home-card,
html.dark-mode .spotlight-card,
html.dark-mode .status-step {
  background: rgba(15, 23, 42, 0.86) !important;
  border-color: rgba(100, 116, 139, 0.55) !important;
  color: #e2e8f0;
}

html.dark-mode .surface,
html.dark-mode .hero-media,
html.dark-mode .product-home-media,
html.dark-mode .spotlight-card-image {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.92)) !important;
  border-color: rgba(100, 116, 139, 0.55) !important;
}

html.dark-mode .text-slate-500 { color: #94a3b8 !important; }
html.dark-mode .text-slate-600 { color: #cbd5e1 !important; }
html.dark-mode .text-slate-700 { color: #dbe3ef !important; }
html.dark-mode .text-slate-900 { color: #f8fafc !important; }

html.dark-mode input,
html.dark-mode select,
html.dark-mode textarea {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(100, 116, 139, 0.62) !important;
  color: #e2e8f0 !important;
}

html.dark-mode .mobile-search-shell {
  background: rgba(15, 23, 42, 0.86) !important;
  border-color: rgba(100, 116, 139, 0.58) !important;
}

html.dark-mode .mobile-search-input {
  background: transparent !important;
  border: 0 !important;
  color: #e2e8f0 !important;
}

html.dark-mode .catalog-search-shell {
  background: rgba(15, 23, 42, 0.86) !important;
  border-color: rgba(100, 116, 139, 0.58) !important;
}

html.dark-mode input[type="search"].catalog-search-input {
  background: transparent !important;
  border: 0 !important;
  color: #e2e8f0 !important;
}

html.dark-mode .catalog-filters-drawer {
  background: rgba(8, 15, 30, 0.95) !important;
  border-color: rgba(71, 85, 105, 0.65) !important;
  box-shadow: 18px 0 36px rgba(2, 6, 23, 0.52);
}

html.dark-mode .catalog-filters-header {
  border-bottom-color: rgba(100, 116, 139, 0.55);
}

html.dark-mode .catalog-filters-close {
  border-color: rgba(100, 116, 139, 0.6);
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
}

html.dark-mode .catalog-filter-block {
  border-color: rgba(100, 116, 139, 0.55);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88));
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--brand-white);
  background: linear-gradient(135deg, var(--cta-main), #d46b00 38%, var(--accent-main));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 24px rgba(var(--accent-rgb), 0.34);
}

.btn-primary:hover { filter: brightness(1.04); }

.btn-primary-orange {
  background: linear-gradient(135deg, #EF7900, #d46b00 78%);
  box-shadow: 0 12px 24px rgba(var(--cta-rgb), 0.38);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent-main);
  background: #fff;
  border: 1px solid rgba(var(--accent-rgb), 0.42);
}

.purchase-disabled-inline {
  color: #64748b;
  border-style: dashed;
  pointer-events: none;
}

.store-mode-banner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(239, 121, 0, 0.24);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.94));
  color: #9a4d00;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 24px rgba(239, 121, 0, 0.12);
}

.purchase-disabled-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px dashed rgba(239, 121, 0, 0.34);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.92), rgba(255, 255, 255, 0.94));
  color: #7c3f00;
  padding: 0.9rem 1rem;
}

.purchase-disabled-card .bx {
  color: #ef7900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.purchase-disabled-title {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.purchase-disabled-copy {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #8f5b2f;
}

.catalog-mode-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  border: 1px dashed rgba(239, 121, 0, 0.32);
  background: rgba(255, 247, 237, 0.9);
  color: #9a4d00;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-product {
  width: min(70%, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 35%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.75), transparent 35%),
    linear-gradient(140deg, var(--accent-main), #1e7dc8 55%, var(--cta-main));
  transform: rotate(-15deg);
  box-shadow:
    0 35px 55px rgba(var(--accent-rgb), 0.42),
    inset 0 -16px 25px rgba(0,0,0,.18);
}

.swatch {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cbd5e1;
}

.filter-chip {
  width: 100%;
  text-align: left;
  border-radius: 0.65rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid transparent;
  transition: all 150ms ease;
}

.filter-chip.filter-chip-block {
  min-height: 2.4rem;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 0.4rem 0.65rem;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.15;
  font-size: 0.78rem;
}

#categoryList,
#categoryList li,
#brandList,
#brandList li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-search-shell {
  border-color: rgba(var(--accent-rgb), 0.22);
  background: rgba(255, 255, 255, 0.94);
}

input[type="search"].catalog-search-input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

input[type="search"].catalog-search-input::-webkit-search-decoration,
input[type="search"].catalog-search-input::-webkit-search-cancel-button,
input[type="search"].catalog-search-input::-webkit-search-results-button,
input[type="search"].catalog-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.catalog-filter-trigger .bx {
  font-size: 1.08rem;
}

.catalog-filters-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.catalog-filters-layer.hidden {
  display: none;
}

.catalog-filters-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.catalog-filters-drawer {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(24rem, 88vw);
  border-radius: 0 1rem 1rem 0;
  border-left: 0;
  background: #fff;
  box-shadow: 18px 0 36px rgba(15, 23, 42, 0.2);
  transform: translateX(-108%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
}

.catalog-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 0.95rem 0.7rem;
  border-bottom: 1px solid #e2e8f0;
}

.catalog-filters-close {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #dbe3ea;
  background: #fff;
  color: #475569;
}

.catalog-filters-body {
  flex: 1;
  overflow: auto;
  padding: 0.85rem 0.95rem 1rem;
  display: grid;
  gap: 0.95rem;
}

.catalog-filter-block {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 0.7rem;
  background: linear-gradient(145deg, #fff, #f9fbff);
}

.catalog-filters-layer.is-open {
  pointer-events: auto;
}

.catalog-filters-layer.is-open .catalog-filters-backdrop {
  opacity: 1;
}

.catalog-filters-layer.is-open .catalog-filters-drawer {
  transform: translateX(0);
}

body.catalog-filters-open {
  overflow: hidden;
}

.filter-chip:hover,
.filter-chip.active {
  background: linear-gradient(90deg, rgba(var(--cta-rgb), 0.20), rgba(var(--accent-rgb), 0.16));
  border-color: rgba(var(--accent-rgb), 0.35);
  color: #0b3f73;
}

.product-card {
  background: #ffffff;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 500ms ease, background 500ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(var(--accent-rgb), 0.16);
}

.product-card.is-active {
  border-color: var(--cta-main);
  box-shadow: 0 0 0 2px rgba(var(--cta-rgb), 0.28);
}

.catalog-detail-link {
  letter-spacing: 0.01em;
}

.catalog-item-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.catalog-item-mobile-add-wrap {
  display: none;
}

.catalog-item-mobile-qty {
  width: 2.7rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: #fff;
  color: #0f172a;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.3rem 0.42rem;
}

.catalog-item-add {
  display: none;
  border-radius: 999px;
  border: 1px solid rgba(var(--cta-rgb), 0.5);
  background: rgba(239, 121, 0, 0.12);
  color: #9a4d00;
  line-height: 1;
}

.catalog-soldout-ribbon {
  position: absolute;
  top: 0.58rem;
  left: -2.38rem;
  z-index: 4;
  min-width: 9.7rem;
  text-align: center;
  transform: rotate(-34deg);
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  padding: 0.28rem 0.72rem;
  border: 1px solid rgba(127, 29, 29, 0.7);
  box-shadow: 0 12px 24px rgba(127, 29, 29, 0.36);
  pointer-events: none;
}

#detail-main-wrap .catalog-soldout-ribbon {
  top: 0.82rem;
  left: -2.15rem;
  min-width: 10.3rem;
  font-size: 0.74rem;
}

.catalog-detail-link .bx,
.catalog-item-link .bx {
  transition: transform 150ms ease;
}

.catalog-detail-link:hover .bx,
.catalog-item-link:hover .bx {
  transform: translateX(2px);
}

.detail-image-badges {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.28rem;
  max-width: 86%;
}

.detail-image-badges .product-badge-chip {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  font-size: 0.7rem;
  font-weight: 800;
}

.detail-discount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.77rem;
  font-weight: 800;
  color: #9f1239;
  border: 1px solid #fecdd3;
  background: #fff1f2;
}

.detail-purchase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.detail-purchase-grid.has-scale {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

/* En pagina de detalle, la escala va debajo para evitar compresion horizontal. */
.product-detail-shell .detail-purchase-grid.has-scale {
  grid-template-columns: 1fr;
}

.detail-scale-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  border-radius: 999px;
  padding: 0.14rem 0.36rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.65rem;
  font-weight: 800;
}

.detail-scale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  border-radius: 0.72rem;
  border: 1px solid #d9e2ef;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.42rem 0.62rem;
  font-size: 0.83rem;
}

.detail-scale-row.is-active {
  border-color: rgba(0, 91, 165, 0.42);
  background: rgba(0, 91, 165, 0.1);
}

.detail-scale-label {
  color: #475569;
  font-weight: 600;
}

.detail-scale-row.is-active .detail-scale-label {
  color: #0f172a;
  font-weight: 700;
}

.product-detail-shell {
  margin-top: 0.2rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.95rem;
}

.product-gallery-panel,
.product-info-panel {
  position: relative;
}

.product-gallery-main {
  min-height: 460px;
  border: 1px solid #d9e2ef;
  background: #ffffff;
  transition: background-color 500ms ease, background 500ms ease;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.product-gallery-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  background: #fff;
  height: 4rem;
  transition: all 180ms ease;
}

.product-gallery-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.product-gallery-thumb.is-active {
  border-color: var(--cta-main);
  box-shadow: 0 0 0 2px rgba(var(--cta-rgb), 0.24);
}

.product-price-stack {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.95rem 0;
}

.qty-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: #fff;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.5);
}

.scale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-color: #d9e2ef;
  background: rgba(255, 255, 255, 0.78);
}

.scale-row.is-active {
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.12);
}

.product-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-detail-related-card .product-home-name {
  min-height: 2.2rem;
}

.mini-media {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.08), rgba(var(--cta-rgb), 0.10));
  border: 1px solid rgba(var(--accent-rgb), 0.24);
}

.mobile-bottom {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  min-height: 3.3rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border: 1px solid #dbe3ea;
  border-radius: 18px;
  padding: 0.5rem 0.54rem;
  position: relative;
}

.mobile-bottom .mobile-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.02rem;
  height: 2.02rem;
  border-radius: 999px;
  color: #334155;
  position: relative;
  border: 1px solid rgba(0, 91, 165, 0.15);
  background: rgba(255, 255, 255, 0.86);
}

.mobile-bottom .mobile-tab .bx {
  width: 1.08rem;
  height: 1.08rem;
  font-size: 1.08rem;
}

.mobile-bottom .mobile-tab-products {
  width: auto;
  min-width: 5.1rem;
  height: 1.96rem;
  padding: 0 0.64rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mobile-bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
}

.mobile-bottom .mobile-tab-cart {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -36%);
  width: 3.12rem;
  height: 3.12rem;
  color: #fff;
  background: linear-gradient(135deg, #ff920f, #ef7900 65%, #d96c00);
  border: 2px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 22px rgba(239, 121, 0, 0.42), 0 0 0 1px rgba(239, 121, 0, 0.24);
  z-index: 2;
}

.mobile-bottom .mobile-tab-cart .bx {
  width: 1.2rem;
  height: 1.2rem;
  font-size: 1.2rem;
}

.mobile-bottom .mobile-tab-whatsapp {
  color: #1d9f5d;
  border-color: rgba(29, 159, 93, 0.26);
  background: rgba(255, 255, 255, 0.92);
}

.mobile-bottom .mobile-tab-whatsapp .bx {
  width: 1.08rem;
  height: 1.08rem;
  font-size: 1.08rem;
}

.mobile-bottom .mobile-tab.active {
  background: linear-gradient(120deg, #ef7900, #d46b00);
  border-color: transparent;
  color: #fff;
}

.mobile-bottom .mobile-tab-cart.active {
  background: linear-gradient(135deg, #ff9f2a, #ef7900 58%, #cb6300);
  border-color: rgba(255, 255, 255, 0.94);
}

.mobile-bottom .mobile-tab.is-disabled,
.mobile-bottom .mobile-tab.is-disabled:hover {
  pointer-events: none;
  cursor: default;
  transform: none;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.92);
  border-style: dashed;
  box-shadow: none;
}

.mobile-tab-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.12rem;
  height: 1.12rem;
  font-size: 0.62rem;
  padding: 0 0.2rem;
  background: #ffe000;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.22);
}

.mobile-bottom-global {
  position: fixed;
  left: 50%;
  right: auto;
  width: min(70vw, 23rem);
  transform: translateX(-50%);
  bottom: calc(0.65rem + env(safe-area-inset-bottom));
  z-index: 60;
}

@media (max-width: 900px) {
  .surface {
    border-radius: 22px;
  }
}

@media (max-width: 768px) {
  .catalog-filters-drawer {
    width: min(22rem, 92vw);
  }

  #detail-panel {
    display: none !important;
  }

  .top-strip .max-w-7xl {
    font-size: 0.69rem;
    line-height: 1.2;
    padding-top: 0.24rem;
    padding-bottom: 0.24rem;
    gap: 0.5rem;
  }

  .top-strip-phone-icon {
    width: 0.8rem;
    height: 0.8rem;
    font-size: 0.8rem;
  }

  .top-strip-link {
    display: none !important;
  }

  .top-strip-actions {
    margin-left: auto;
    gap: 0.28rem;
  }

  .top-strip-mode-toggle {
    width: 1.76rem;
    height: 1.76rem;
  }

  .top-strip-mode-toggle .bx {
    width: 0.86rem;
    height: 0.86rem;
    font-size: 0.86rem;
  }

  .desktop-header-row {
    display: none !important;
  }

  .mobile-header-row {
    display: flex;
    padding-top: 0.68rem;
    padding-bottom: 0.68rem;
  }

  .has-mobile-bottom main {
    padding-bottom: 6.5rem;
  }

  .has-mobile-bottom footer {
    margin-bottom: 5.5rem;
  }

  .brand-logo-header {
    height: 2rem;
  }

  .nav-chip {
    padding: 0.45rem 0.55rem;
  }

  .mobile-header-actions .nav-chip-icon-only {
    width: 2.28rem;
    height: 2.28rem;
  }

  body.topbar-collapsed .mobile-home-chip {
    opacity: 0;
    pointer-events: none;
    width: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    transform: translateX(-6px);
    overflow: hidden;
  }

  body.topbar-collapsed .mobile-logo-default {
    display: none;
  }

  body.topbar-collapsed .mobile-logo-compact {
    display: block;
  }

  body.topbar-collapsed .mobile-header-row {
    gap: 0.42rem;
    padding-top: 0.46rem;
    padding-bottom: 0.46rem;
    border-top: 0;
    box-shadow: 0 8px 18px rgba(239, 121, 0, 0.2);
  }

  .mobile-search-shell {
    padding: 0.44rem 0.72rem;
  }

  .mobile-search-input {
    font-size: 0.84rem;
  }

  #catalog-grid {
    grid-template-columns: 1fr !important;
  }

  #catalog-grid .catalog-item-card {
    display: grid;
    grid-template-columns: 7.3rem minmax(0, 1fr);
    grid-template-areas:
      "media title"
      "media meta"
      "quick quick";
    gap: 0.38rem 0.68rem;
    align-items: start;
    padding: 0.64rem;
  }

  #catalog-grid .catalog-item-card .catalog-item-media {
    grid-area: media;
    height: 7.3rem;
    margin: 0;
  }

  #catalog-grid .catalog-item-card .catalog-soldout-ribbon {
    top: 0.4rem;
    left: -2.2rem;
    min-width: 8.9rem;
    font-size: 0.64rem;
  }

  #catalog-grid .catalog-item-card .catalog-item-media img {
    padding: 0.36rem;
  }

  #catalog-grid .catalog-item-card .catalog-item-content {
    display: contents;
  }

  #catalog-grid .catalog-item-card .catalog-item-badges {
    display: none;
  }

  #catalog-grid .catalog-item-card .catalog-item-title {
    grid-area: title;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  #catalog-grid .catalog-item-card .catalog-item-meta {
    grid-area: meta;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  #catalog-grid .catalog-item-card .catalog-item-price {
    margin-top: 0;
    font-size: 1.06rem;
    line-height: 1.15;
  }

  #catalog-grid .catalog-item-card .catalog-item-scale {
    margin-top: 0.2rem;
    font-size: 0.64rem;
  }

  #catalog-grid .catalog-item-card .catalog-item-brand {
    margin-top: 0.16rem;
    font-size: 0.69rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #catalog-grid .catalog-item-card .catalog-item-actions {
    grid-area: quick;
    margin-top: 0.2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "link add";
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }

  #catalog-grid .catalog-item-card .catalog-item-link {
    grid-area: link;
    margin-top: 0;
    font-size: 0.88rem;
    gap: 0.26rem;
    width: fit-content;
  }

  #catalog-grid .catalog-item-card .catalog-item-link .bx {
    font-size: 1.05rem;
  }

  #catalog-grid .catalog-item-card .catalog-item-mobile-add-wrap {
    grid-area: add;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
  }

  #catalog-grid .catalog-item-card .catalog-item-mobile-qty {
    width: 2.5rem;
    font-size: 0.68rem;
    padding: 0.28rem 0.34rem;
  }

  #catalog-grid .catalog-item-card .catalog-item-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0;
  }

  #catalog-grid .catalog-item-card .catalog-item-add:disabled,
  #catalog-grid .catalog-item-card .catalog-item-mobile-qty:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-global {
    display: none;
  }
}

.home-scene {
  position: relative;
  display: grid;
  gap: 1.2rem;
  isolation: isolate;
}

.home-scene::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('../img/backtexture.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.home-shell {
  display: grid;
  gap: 0.25rem;
}

.home-block {
  width: min(100%, 80rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--layout-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.max-w-7xl.px-4 {
  padding-left: max(var(--layout-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--layout-gutter), env(safe-area-inset-right, 0px));
}

.promo-strip {
  background: #ffe000;
  color: #0f172a;
  border: 1px solid #e8ce00;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
}

.home-showcase {
  max-width: none;
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: stretch;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.home-showcase.is-dragging {
  cursor: grabbing;
}

.home-showcase.is-dragging .spotlight-card {
  transition: none;
}

.spotlight-main {
  background: linear-gradient(135deg, #0f5ea8, #0a4b89);
  color: #fff;
  border-radius: 20px;
  padding: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  column-gap: 1.05rem;
  align-items: center;
  min-height: 420px;
  width: 100%;
  overflow: hidden;
}

.spotlight-main-info {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr;
  align-content: stretch;
  gap: 0.2rem;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.spotlight-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.spotlight-badge-mobile {
  display: none;
}

.spotlight-title {
  margin-top: 0.38rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  min-height: calc(2 * 1.08em);
  max-height: calc(2 * 1.08em);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
}

.spotlight-brand {
  margin-top: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.25em;
}

.spotlight-price {
  margin-top: 0.48rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  min-height: 1.3em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-buttons {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-height: 2.8rem;
  overflow: hidden;
}

.spotlight-buttons > a {
  white-space: nowrap;
}

.spotlight-main-image-wrap {
  --spotlight-main-box-width: min(100%, 330px);
  --spotlight-main-box-height: 325px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  min-width: 0;
}

.spotlight-main-image-frame {
  width: var(--spotlight-main-box-width);
  height: var(--spotlight-main-box-height);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(3, 27, 52, 0.22);
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  transition: background-color 500ms ease, background 500ms ease;
}

.spotlight-main-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  display: block;
}

.spotlight-main-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.spotlight-side {
  --spotlight-stack-offset: 82px;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 18px;
}

.spotlight-nav {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.spotlight-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(2, 20, 41, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  pointer-events: auto;
}

.spotlight-nav-btn:hover {
  transform: translateY(calc(-50% - 1px));
  box-shadow: 0 12px 24px rgba(2, 20, 41, 0.22);
}

.spotlight-nav-btn:focus-visible {
  outline: 2px solid rgba(0, 91, 165, 0.48);
  outline-offset: 2px;
}

#spotlightPrev {
  left: 0.35rem;
}

#spotlightNext {
  right: calc(var(--spotlight-stack-offset) + 0.35rem);
}

.spotlight-stack {
  position: relative;
  height: 100%;
  --stack-offset: var(--spotlight-stack-offset);
  padding-right: var(--stack-offset);
}

.spotlight-card {
  position: absolute;
  width: calc(100% - var(--stack-offset));
  height: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  padding: 1.05rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 280ms ease;
}

.spotlight-card:nth-child(1) {
  transform: translateX(0) scale(1);
  z-index: 5;
  opacity: 1;
}

.spotlight-card:nth-child(2) {
  transform: translateX(28px) scale(0.986);
  z-index: 4;
  opacity: 0.92;
}

.spotlight-card:nth-child(3) {
  transform: translateX(56px) scale(0.972);
  z-index: 3;
  opacity: 0.84;
}

.spotlight-card:nth-child(4) {
  transform: translateX(82px) scale(0.958);
  z-index: 2;
  opacity: 0.76;
}

.spotlight-card:hover {
  transform: translateX(-3px) scale(1.004);
  box-shadow: 0 22px 34px rgba(2, 20, 41, 0.22);
}

.spotlight-card-image {
  width: 80%;
  max-width: 220px;
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  margin: 0 auto;
  padding: 0.72rem;
  border-radius: 12px;
  background: linear-gradient(150deg, #f3f7fd, #ffffff);
  object-fit: contain;
}

.spotlight-card-image-placeholder {
  border: 1px dashed #cfd9e8;
}

.spotlight-card-brand {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.spotlight-card-title {
  margin-top: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
  color: #ef7900;
  width: 100%;
  min-height: calc(2 * 1.28em);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.spotlight-dots {
  position: relative;
  display: inline-flex;
  gap: 0.42rem;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0.32rem 0.48rem;
  border-radius: 999px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
}

.spotlight-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.spotlight-dot:hover {
  transform: scale(1.06);
}

.spotlight-dot.is-active {
  width: 1.2rem;
  background: #ef7900;
}

.checkout-delivery-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.checkout-delivery-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.checkout-delivery-group-meta {
  font-size: 0.74rem;
  color: #64748b;
}

.checkout-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.55rem;
  padding: 2px;
}

.checkout-item-card {
  display: grid;
  gap: 0.55rem;
  padding: 10px;
}

.checkout-item-main {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.checkout-item-media {
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 3.35rem;
  border-radius: 0.72rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.2rem;
  overflow: hidden;
}

.checkout-item-media img {
  width: 100%;
  height: 100%;
  border-radius: 0.52rem;
  display: block;
}

.checkout-item-copy {
  min-width: 0;
}

.checkout-item-name {
  font-size: 0.83rem;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-item-price,
.checkout-item-line {
  margin-top: 0.2rem;
  font-size: 0.74rem;
  color: #475569;
}

.checkout-item-line {
  color: #0f172a;
  font-weight: 700;
}

.checkout-item-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.08rem 0.1rem 0.04rem;
}

.checkout-qty-btn {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 0.55rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
}

.checkout-qty-input {
  width: 3.15rem;
  height: 1.95rem;
  border-radius: 0.55rem;
  border: 1px solid #cbd5e1;
  padding: 0 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
}

.checkout-delete-btn {
  margin-left: auto;
  width: 1.9rem;
  height: 1.75rem;
  border-radius: 0.55rem;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.is-hidden {
  display: none !important;
}

.hero-main {
  background: linear-gradient(125deg, #003a78 0%, #005BA5 42%, #0b6dc3 100%);
  border-radius: 20px;
  padding: 1.25rem;
  color: #fff;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-title {
  margin-top: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin-top: 0.8rem;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48ch;
}

.hero-cta {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  min-height: 250px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.deal-card {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 12px 20px rgba(0, 22, 48, 0.08);
}

.deal-card-secondary {
  background: linear-gradient(145deg, #ffedd6, #fff7ec);
}

.deal-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 700;
}

.deal-name {
  margin-top: 0.45rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

.deal-price {
  margin-top: 0.45rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  color: #005BA5;
}

.deal-link {
  margin-top: 0.8rem;
  display: inline-flex;
  font-weight: 700;
  color: #005BA5;
  font-size: 0.88rem;
}

.home-order-flow {
  border-radius: 18px;
  border: 1px solid #d9e2ef;
  background: linear-gradient(155deg, #fffaf3, #ffffff 45%, #f4f9ff);
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 22px rgba(0, 36, 78, 0.08);
}

.home-order-flow-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.home-order-flow-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  font-weight: 800;
}

.home-order-flow-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  font-weight: 700;
  color: #0f172a;
}

.home-order-track {
  margin-top: 0.82rem;
  display: grid;
  grid-template-columns: repeat(var(--order-steps, 5), minmax(0, 1fr));
  gap: 0.45rem;
  position: relative;
}

.home-order-track::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0.98rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #005BA5 0%, #5e97cb 54%, #d8e5f2 100%);
  z-index: 0;
}

.home-order-step {
  position: relative;
  z-index: 1;
  min-height: 76px;
  padding: 0.05rem 0.2rem 0;
  display: grid;
  justify-items: center;
  text-align: center;
  align-content: start;
  gap: 0.46rem;
}

.home-order-step-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #c8daec;
  color: #0f4f88;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.home-order-step-title {
  font-size: 0.81rem;
  line-height: 1.24;
  font-weight: 700;
  color: #334155;
}

.home-order-step.is-done .home-order-step-icon {
  background: #005BA5;
  border-color: #005BA5;
  color: #ffffff;
}

.home-order-step.is-done .home-order-step-title {
  color: #0f4f88;
}

.home-order-step.is-active {
  z-index: 2;
}

.home-order-step.is-active .home-order-step-icon {
  background: #EF7900;
  border-color: #EF7900;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(239, 121, 0, 0.2);
}

.home-order-step.is-active .home-order-step-title {
  color: #9a4d00;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.quick-stats-features {
  align-items: stretch;
}

.stat-card {
  position: relative;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.22rem;
}

.stat-card-feature {
  --feature-rgb: 0, 91, 165;
  min-height: 168px;
  padding: 1.05rem 1rem 1.1rem;
  gap: 0.45rem;
  align-content: start;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(var(--feature-rgb), 0.08), rgba(255, 255, 255, 0.98) 44%);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stat-card-feature::before {
  content: '';
  position: absolute;
  right: -1.5rem;
  bottom: -2.3rem;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--feature-rgb), 0.18), transparent 72%);
  pointer-events: none;
}

.stat-card-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--feature-rgb), 0.34);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-card-feature-ship {
  --feature-rgb: 0, 91, 165;
}

.stat-card-feature-wholesale {
  --feature-rgb: 239, 121, 0;
}

.stat-card-feature-stock {
  --feature-rgb: 14, 165, 140;
}

.stat-card-feature-quote {
  --feature-rgb: 71, 85, 105;
}

.stat-icon {
  font-size: 1.05rem;
  color: #005BA5;
  opacity: 0.9;
}

.stat-icon-badge {
  display: block;
  width: auto;
  height: auto;
  font-size: 1.55rem;
  line-height: 1;
  color: #0f172a;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.stat-kicker {
  font-size: 0.76rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stat-value {
  margin-top: 0.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  color: #0f172a;
}

.stat-feature-title {
  margin: 0.15rem 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.22rem;
  line-height: 1.02;
  font-weight: 700;
  color: #0f172a;
  max-width: 12ch;
}

.stat-feature-copy {
  margin: 0;
  max-width: 22ch;
  font-size: 0.9rem;
  line-height: 1.42;
  color: #516173;
}

.stat-online {
  color: #005BA5;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-head-left {
  justify-content: flex-start;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-link {
  color: #005BA5;
  font-size: 0.84rem;
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.category-tile {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  padding: 0.7rem;
  display: grid;
  gap: 0.62rem;
  transition: all 180ms ease;
}

.category-tile:hover {
  border-color: #9dc0e2;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 44, 92, 0.11);
}

.category-media {
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: linear-gradient(145deg, #f2f6fc, #ffffff);
}

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

.category-media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, rgba(0, 91, 165, 0.14), rgba(239, 121, 0, 0.18));
}

.category-media-fallback .bx {
  font-size: 1.85rem;
  color: #0f4f88;
}

.category-copy {
  display: grid;
  gap: 0.25rem;
}

.category-name {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.category-cta {
  color: #005BA5;
  font-size: 0.82rem;
  font-weight: 700;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.promo-tile {
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid #d9e2ef;
}

.promo-tile-blue {
  background: linear-gradient(145deg, #005BA5, #0f72c9);
  border-color: #0d5ea6;
  color: #fff;
}

.promo-tile-light {
  background: linear-gradient(145deg, #ffffff, #f6f8fb);
}

.promo-tile-orange {
  background: linear-gradient(145deg, #f39a35, #EF7900);
  border-color: #dd7202;
  color: #fff;
}

.promo-mini {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.92;
  font-weight: 700;
}

.promo-title {
  margin-top: 0.6rem;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 700;
  max-width: 28ch;
}

.promo-link {
  margin-top: 0.8rem;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
}

.promo-tile-light .promo-link {
  color: #005BA5;
}

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

.product-home-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid #d9e2ef;
  background: #fff;
  padding: 0.9rem;
  transition: all 180ms ease;
}

.product-home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 44, 92, 0.12);
}

.product-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: #ffe000;
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.22rem 0.42rem;
  border-radius: 6px;
}

.product-badge-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-size: 0.67rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.badge-oferta {
  background: #fff1f2;
  color: #9f1239;
  border-color: #fecdd3;
}

.badge-nuevo {
  background: #ecfeff;
  color: #155e75;
  border-color: #a5f3fc;
}

.badge-destacado {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.badge-mas-vendido {
  background: #eef2ff;
  color: #3730a3;
  border-color: #c7d2fe;
}

.badge-envio-gratis {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}

.badge-despacho {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.badge-retiro {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}

.badge-rm {
  background: #f0fdfa;
  color: #0f766e;
  border-color: #99f6e4;
}

.product-home-media {
  height: 155px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3f6fb, #ffffff);
  border: 1px solid #e3e9f2;
}

.product-home-cat {
  margin-top: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.66rem;
  font-weight: 700;
}

.product-home-name {
  margin-top: 0.3rem;
  color: #0f172a;
  line-height: 1.25;
  font-weight: 700;
  min-height: 2.55rem;
}

.product-home-price {
  margin-top: 0.55rem;
  font-family: 'Space Grotesk', sans-serif;
  color: #005BA5;
  font-size: 1.3rem;
  font-weight: 700;
}

.product-home-link {
  margin-top: 0.6rem;
  display: inline-flex;
  font-size: 0.82rem;
  color: #005BA5;
  font-weight: 700;
}

.home-new-grid {
  gap: 1rem;
}

.home-new-grid .product-home-card {
  border-radius: 22px;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(239, 121, 0, 0.12), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
  box-shadow: 0 16px 34px rgba(0, 44, 92, 0.1);
}

.home-new-grid .product-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(239, 121, 0, 0.16);
}

.home-new-grid .catalog-item-media {
  height: 205px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(239, 121, 0, 0.2);
  background:
    radial-gradient(circle at top, rgba(239, 121, 0, 0.14), transparent 55%),
    linear-gradient(145deg, #fffaf3, #ffffff);
  overflow: hidden;
}

.home-new-grid .catalog-item-media img {
  padding: 0.6rem;
  transition: transform 240ms ease;
}

.home-new-grid .product-home-card:hover .catalog-item-media img {
  transform: scale(1.07);
}

.home-new-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.34rem 0.86rem;
  background: linear-gradient(135deg, #ef7900, #ff9e2d);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  box-shadow: 0 10px 22px rgba(239, 121, 0, 0.24);
}

.home-new-grid .catalog-item-badges {
  margin-top: 0.95rem;
}

.home-new-grid .catalog-item-title {
  margin-top: 0.82rem;
  min-height: 2.7em;
  font-size: 1rem;
  line-height: 1.34;
}

.home-new-grid .catalog-item-brand {
  margin-top: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.home-new-grid .catalog-item-price {
  margin-top: 0.22rem;
  font-size: 1.48rem;
  line-height: 1.08;
}

.home-new-grid .catalog-item-scale {
  margin-top: 0.22rem;
  font-size: 0.72rem;
}

.home-new-grid .product-home-stock {
  display: none;
}

.home-new-grid .catalog-item-actions {
  margin-top: 0.95rem;
}

.home-new-grid .catalog-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  border-radius: 999px;
  padding: 0.74rem 1rem;
  background: linear-gradient(135deg, #ef7900, #ff9e2d);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(239, 121, 0, 0.24);
}

.home-new-grid .catalog-item-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #d96d00, #f08f18);
}

.home-featured-grid .product-home-card {
  border-radius: 18px;
  padding: 0.66rem;
  background:
    radial-gradient(circle at top right, rgba(0, 91, 165, 0.12), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 14px 28px rgba(0, 44, 92, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "media badges"
    "media title"
    "media meta"
    "media quick";
  gap: 0.28rem 0.62rem;
  align-items: start;
}

.home-featured-grid .product-home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 91, 165, 0.16);
}

.home-featured-grid .catalog-item-media {
  grid-area: media;
  height: 100%;
  min-height: 7.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(0, 91, 165, 0.18);
  background:
    radial-gradient(circle at top, rgba(0, 91, 165, 0.12), transparent 56%),
    linear-gradient(145deg, #f4f9ff, #ffffff);
  overflow: hidden;
}

.home-featured-grid .catalog-item-media img {
  padding: 0.42rem;
  transition: transform 240ms ease;
}

.home-featured-grid .product-home-card:hover .catalog-item-media img {
  transform: scale(1.06);
}

.home-featured-grid .catalog-item-badges {
  grid-area: badges;
  margin-top: 0;
}

.home-featured-grid .catalog-item-title {
  grid-area: title;
  margin-top: 0;
  min-height: 0;
  font-size: 0.86rem;
  line-height: 1.2;
}

.home-featured-grid .catalog-item-price {
  margin-top: 0;
  font-size: 1.02rem;
  line-height: 1.14;
}

.home-featured-grid .catalog-item-scale {
  margin-top: 0.08rem;
  font-size: 0.63rem;
  line-height: 1.2;
}

.home-featured-grid .catalog-item-brand {
  margin-top: 0.14rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b6f86;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-featured-grid .product-home-stock {
  margin-top: 0.08rem;
  font-size: 0.66rem;
  color: #64748b;
}

.home-featured-grid .catalog-item-content {
  display: contents;
}

.home-featured-grid .catalog-item-meta {
  grid-area: meta;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
}

.home-featured-grid .catalog-item-actions {
  grid-area: quick;
  margin-top: 0.14rem;
}

.home-featured-grid .catalog-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  padding: 0;
  background: transparent;
  color: #005ba5;
  box-shadow: none;
  font-size: 0.84rem;
  width: fit-content;
}

.home-featured-grid .catalog-item-link:hover {
  color: #0a4b89;
  background: transparent;
}

.home-b2b-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid rgba(239, 121, 0, 0.18);
  background:
    radial-gradient(circle at top right, rgba(239, 121, 0, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(0, 91, 165, 0.14), transparent 34%),
    linear-gradient(145deg, #fff6eb, #ffffff 52%, #f4f9ff 100%);
  box-shadow: 0 20px 46px rgba(0, 44, 92, 0.12);
}

.home-b2b-copy {
  position: relative;
  z-index: 2;
}

.home-b2b-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  margin: 0;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(239, 121, 0, 0.18);
  color: #b45309;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.home-b2b-kicker .bx {
  font-size: 1rem;
}

.home-b2b-title {
  margin-top: 0.9rem;
  margin-bottom: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.home-b2b-subtitle {
  margin-top: 0.8rem;
  max-width: 40rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: #526377;
}

.home-b2b-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.home-b2b-point {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  padding: 0.56rem 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 91, 165, 0.14);
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 44, 92, 0.08);
}

.home-b2b-point .bx {
  font-size: 1rem;
  color: #ef7900;
}

.home-b2b-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  border-radius: 16px;
  padding: 0.95rem 1.25rem;
  background: linear-gradient(135deg, #ef7900, #ff9e2d);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 18px 32px rgba(239, 121, 0, 0.28);
  width: fit-content;
}

.home-b2b-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(239, 121, 0, 0.32);
}

.home-b2b-button .bx {
  font-size: 1.15rem;
}

.home-b2b-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 2rem;
}

.home-b2b-glow {
  position: absolute;
  inset: auto 1.4rem 1.2rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(239, 121, 0, 0.42), rgba(239, 121, 0, 0));
  filter: blur(10px);
}

.home-b2b-card {
  position: relative;
  border-radius: 24px;
  backdrop-filter: blur(12px);
  z-index: 1;
}

.home-b2b-card-main {
  width: min(100%, 24rem);
  padding: 1.15rem 1.15rem 1.1rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.88));
  border: 1px solid rgba(0, 91, 165, 0.14);
  box-shadow: 0 22px 42px rgba(0, 44, 92, 0.14);
}

.home-b2b-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 91, 165, 0.12);
  background: linear-gradient(145deg, #f4f9ff, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: 0.8rem;
}

.home-b2b-card-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 230px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.home-b2b-card-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.home-b2b-card-list > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.home-b2b-card-list .bx {
  font-size: 1rem;
  color: #ef7900;
}

.enterprise-solutions {
  display: grid;
  gap: 0.95rem;
}

.enterprise-solution {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(0, 91, 165, 0.12);
  background:
    radial-gradient(circle at top right, rgba(0, 91, 165, 0.08), transparent 28%),
    linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 30px rgba(0, 44, 92, 0.08);
}

.enterprise-solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #ef7900, #ffab45);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(239, 121, 0, 0.22);
}

.enterprise-solution-icon .bx {
  font-size: 2rem;
}

.enterprise-solution-icon-blue {
  background: linear-gradient(135deg, #005ba5, #2a7ecc);
  box-shadow: 0 16px 28px rgba(0, 91, 165, 0.18);
}

.enterprise-solution-icon-orange {
  background: linear-gradient(135deg, #cf6400, #ef7900);
}

.enterprise-solution-copy {
  min-width: 0;
}

.enterprise-solution-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.enterprise-solution-title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  line-height: 1.05;
  color: #0f172a;
}

.enterprise-solution-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(239, 121, 0, 0.12);
  color: #a24d00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.enterprise-solution-text {
  margin-top: 0.42rem;
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: #5b6f86;
}

@media (min-width: 901px) {
  .product-grid-home.home-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
  }

  .home-featured-grid .product-home-card {
    grid-template-columns: 1fr 1fr;
  }

  .home-b2b-cta {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.85fr);
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.24rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-recibido {
  color: #0b5394;
  background: #e9f2fc;
  border: 1px solid #c5ddf6;
}

.status-preparacion {
  color: #7a4a00;
  background: #fff4dd;
  border: 1px solid #f2d69c;
}

.status-despachado {
  color: #14532d;
  background: #e8f7ee;
  border: 1px solid #b9e8cc;
}

.status-entregado {
  color: #155e75;
  background: #e8f8fc;
  border: 1px solid #b8e9f3;
}

.status-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.status-step {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  padding: 0.55rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
}

.status-step .dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: #cbd5e1;
}

.status-step.done {
  border-color: #94c8f2;
  color: #0b5394;
  background: #f3f9ff;
}

.status-step.done .dot {
  background: #2b7fc8;
}

.status-step.active {
  box-shadow: 0 0 0 2px rgba(0, 91, 165, 0.16);
}

.order-mini-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.22rem;
  max-width: 170px;
}

.order-mini-step {
  height: 0.36rem;
  border-radius: 999px;
  background: #cbd5e1;
}

.order-mini-step.is-done {
  background: #2b7fc8;
}

.order-mini-step.is-active {
  background: #EF7900;
}

.text-brand-link {
  color: #005BA5;
}

html.dark-mode .text-brand-link {
  color: #7cc7ff !important;
}

html.dark-mode .bg-white,
html.dark-mode .bg-slate-50 {
  background: rgba(15, 23, 42, 0.9) !important;
}

html.dark-mode .border-slate-200,
html.dark-mode .border-slate-300 {
  border-color: rgba(100, 116, 139, 0.58) !important;
}

html.dark-mode .text-slate-400 {
  color: #9fb2ca !important;
}

html.dark-mode .text-red-600,
html.dark-mode .text-red-700 {
  color: #fda4af !important;
}

html.dark-mode .text-emerald-700 {
  color: #6ee7b7 !important;
}

html.dark-mode .bg-red-50 {
  background: rgba(127, 29, 29, 0.28) !important;
}

html.dark-mode .border-red-200 {
  border-color: rgba(248, 113, 113, 0.52) !important;
}

html.dark-mode .bg-emerald-50 {
  background: rgba(6, 78, 59, 0.30) !important;
}

html.dark-mode .border-emerald-200 {
  border-color: rgba(52, 211, 153, 0.48) !important;
}

html.dark-mode .product-gallery-main,
html.dark-mode .product-gallery-thumb,
html.dark-mode .product-price-stack,
html.dark-mode .scale-row {
  border-color: rgba(100, 116, 139, 0.58) !important;
}

html.dark-mode .product-gallery-thumb,
html.dark-mode .qty-btn,
html.dark-mode .scale-row {
  background: rgba(15, 23, 42, 0.9) !important;
  color: #e2e8f0 !important;
}

html.dark-mode .scale-row.is-active {
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: rgba(125, 211, 252, 0.42) !important;
}

html.dark-mode .btn-ghost,
html.dark-mode .filter-chip:hover,
html.dark-mode .filter-chip.active {
  color: #c7e8ff;
}

html.dark-mode .catalog-item-add {
  border-color: rgba(251, 191, 36, 0.5) !important;
  background: rgba(146, 64, 14, 0.36) !important;
  color: #fde7c7 !important;
}

html.dark-mode .catalog-item-mobile-qty {
  border-color: rgba(125, 211, 252, 0.42) !important;
  background: rgba(15, 23, 42, 0.86) !important;
  color: #e2e8f0 !important;
}

html.dark-mode .detail-image-badges .product-badge-chip {
  background: rgba(15, 23, 42, 0.9) !important;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
}

html.dark-mode .detail-discount-chip {
  border-color: rgba(251, 113, 133, 0.55) !important;
  background: rgba(127, 29, 29, 0.36) !important;
  color: #fecdd3 !important;
}

html.dark-mode .detail-scale-discount {
  border-color: rgba(250, 204, 21, 0.48) !important;
  background: rgba(146, 64, 14, 0.3) !important;
  color: #fcd34d !important;
}

html.dark-mode .stat-card-feature {
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.45);
}

html.dark-mode .stat-card-feature::before {
  background: radial-gradient(circle, rgba(var(--feature-rgb), 0.34), transparent 72%);
}

html.dark-mode .stat-card-feature-ship {
  border-color: rgba(56, 189, 248, 0.42);
  background: linear-gradient(155deg, rgba(3, 105, 161, 0.42), rgba(15, 23, 42, 0.94) 52%, rgba(2, 6, 23, 0.96));
}

html.dark-mode .stat-card-feature-wholesale {
  border-color: rgba(251, 191, 36, 0.44);
  background: linear-gradient(155deg, rgba(180, 83, 9, 0.42), rgba(15, 23, 42, 0.94) 52%, rgba(2, 6, 23, 0.96));
}

html.dark-mode .stat-card-feature-stock {
  border-color: rgba(45, 212, 191, 0.42);
  background: linear-gradient(155deg, rgba(13, 148, 136, 0.42), rgba(15, 23, 42, 0.94) 52%, rgba(2, 6, 23, 0.96));
}

html.dark-mode .stat-card-feature-quote {
  border-color: rgba(148, 163, 184, 0.42);
  background: linear-gradient(155deg, rgba(71, 85, 105, 0.55), rgba(15, 23, 42, 0.94) 52%, rgba(2, 6, 23, 0.96));
}

html.dark-mode .stat-icon-badge {
  color: #f8fafc;
  text-shadow: 0 2px 10px rgba(2, 6, 23, 0.45);
}

html.dark-mode .stat-feature-title {
  color: #f8fafc;
}

html.dark-mode .stat-feature-copy {
  color: #d5dfec;
}

html.dark-mode .detail-price-wrap {
  border-color: rgba(100, 116, 139, 0.62) !important;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9)) !important;
}

html.dark-mode .detail-purchase-main {
  border-color: rgba(100, 116, 139, 0.62) !important;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.88)) !important;
}

html.dark-mode #product-detail-scale-wrap {
  border-color: rgba(100, 116, 139, 0.62) !important;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.84)) !important;
}

html.dark-mode .product-info-panel .text-slate-500 {
  color: #9fb2ca !important;
}

html.dark-mode .product-info-panel .text-slate-600 {
  color: #d6e0ee !important;
}

html.dark-mode .product-info-panel .text-slate-700 {
  color: #e2e8f0 !important;
}

html.dark-mode .product-info-panel .text-slate-900 {
  color: #f8fafc !important;
}

html.dark-mode #product-detail-qty {
  border-color: rgba(125, 211, 252, 0.45) !important;
  background: rgba(15, 23, 42, 0.86) !important;
  color: #f8fafc !important;
}

html.dark-mode .detail-scale-row {
  border-color: rgba(100, 116, 139, 0.62) !important;
  background: rgba(15, 23, 42, 0.84) !important;
}

html.dark-mode .detail-scale-row .detail-scale-label {
  color: #cbd5e1 !important;
}

html.dark-mode .detail-scale-row.is-active {
  border-color: rgba(125, 211, 252, 0.55) !important;
  background: rgba(8, 47, 73, 0.62) !important;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.18);
}

html.dark-mode .detail-scale-row.is-active .detail-scale-label {
  color: #f8fafc !important;
}

html.dark-mode .btn-ghost {
  border-color: rgba(125, 211, 252, 0.45) !important;
  background: rgba(15, 23, 42, 0.84) !important;
}

html.dark-mode .section-title,
html.dark-mode .deal-name,
html.dark-mode .stat-value,
html.dark-mode .category-name,
html.dark-mode .promo-title,
html.dark-mode .product-home-name,
html.dark-mode .spotlight-card-title,
html.dark-mode .status-step,
html.dark-mode .status-badge {
  color: #f8fafc !important;
}

html.dark-mode .deal-label,
html.dark-mode .stat-kicker,
html.dark-mode .category-cta,
html.dark-mode .promo-mini,
html.dark-mode .product-home-cat,
html.dark-mode .section-link,
html.dark-mode .deal-link,
html.dark-mode .promo-link,
html.dark-mode .product-home-link {
  color: #cbd5e1 !important;
}

html.dark-mode .deal-price,
html.dark-mode .product-home-price,
html.dark-mode .stat-online {
  color: #7cc7ff !important;
}

html.dark-mode .stat-icon {
  color: #7cc7ff;
}

html.dark-mode .home-order-flow {
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9));
  border-color: rgba(100, 116, 139, 0.58);
}

html.dark-mode .home-order-flow-kicker {
  color: #94a3b8;
}

html.dark-mode .home-order-flow-title,
html.dark-mode .home-order-step-title {
  color: #f8fafc;
}

html.dark-mode .home-order-track::before {
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 50%, rgba(148, 163, 184, 0.35) 100%);
}

html.dark-mode .home-order-step-icon {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(100, 116, 139, 0.85);
  color: #cbd5e1;
}

html.dark-mode .home-order-step.is-done .home-order-step-icon {
  background: #1d4ed8;
  border-color: #60a5fa;
  color: #eff6ff;
}

html.dark-mode .home-order-step.is-active .home-order-step-icon {
  background: #f59e0b;
  border-color: #fbbf24;
  color: #1f2937;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
}

html.dark-mode .home-order-step.is-done .home-order-step-title {
  color: #93c5fd;
}

html.dark-mode .home-order-step.is-active .home-order-step-title {
  color: #fcd34d;
}

html.dark-mode .home-order-step::after {
  background: rgba(148, 163, 184, 0.45);
}

html.dark-mode .order-mini-step {
  background: rgba(148, 163, 184, 0.45);
}

html.dark-mode .order-mini-step.is-done {
  background: #60a5fa;
}

html.dark-mode .order-mini-step.is-active {
  background: #f59e0b;
}

html.dark-mode .category-media {
  border-color: rgba(100, 116, 139, 0.58);
}

html.dark-mode .category-media-fallback {
  background: linear-gradient(155deg, rgba(30, 58, 138, 0.4), rgba(180, 83, 9, 0.35));
}

html.dark-mode .category-media-fallback .bx {
  color: #bfdbfe;
}

html.dark-mode .home-category-stack-head {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.9) 76%, rgba(2, 6, 23, 0) 100%);
}

html.dark-mode .home-b2b-cta {
  border-color: rgba(249, 115, 22, 0.22);
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.2), transparent 34%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.92) 52%, rgba(30, 41, 59, 0.96) 100%);
  box-shadow: 0 20px 46px rgba(2, 6, 23, 0.28);
}

html.dark-mode .home-b2b-kicker,
html.dark-mode .home-b2b-point,
html.dark-mode .home-b2b-card-main {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(125, 211, 252, 0.16);
}

html.dark-mode .home-b2b-title,
html.dark-mode .home-b2b-point,
html.dark-mode .home-b2b-card-list > span,
html.dark-mode .enterprise-solution-title {
  color: #f8fafc;
}

html.dark-mode .home-b2b-subtitle,
html.dark-mode .enterprise-solution-text {
  color: #cbd5e1;
}

html.dark-mode .home-b2b-card-media {
  border-color: rgba(125, 211, 252, 0.16);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.92));
}

html.dark-mode .enterprise-solution {
  border-color: rgba(125, 211, 252, 0.14);
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.94));
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.24);
}

html.dark-mode .enterprise-solution-stat {
  background: rgba(249, 115, 22, 0.18);
  color: #fdba74;
}

html.dark-mode .promo-tile-blue {
  background: linear-gradient(145deg, #1d4f86, #1b5a98) !important;
  border-color: rgba(125, 211, 252, 0.35) !important;
}

html.dark-mode .promo-tile-orange {
  background: linear-gradient(145deg, #8a4d0f, #a86117) !important;
  border-color: rgba(251, 191, 36, 0.35) !important;
}

html.dark-mode .guest-account-menu a:hover {
  background: rgba(51, 65, 85, 0.65) !important;
}

html.dark-mode .product-badge {
  background: #fcd34d !important;
  color: #1f2937 !important;
}

html.dark-mode .spotlight-dots {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(100, 116, 139, 0.58);
}

html.dark-mode .spotlight-dot {
  background: rgba(148, 163, 184, 0.66);
}

html.dark-mode .spotlight-dot.is-active {
  background: #f59e0b;
}

html.dark-mode .home-scene::before {
  opacity: 0.1;
}

html.dark-mode .checkout-delivery-group {
  border-color: rgba(100, 116, 139, 0.58) !important;
  background: rgba(15, 23, 42, 0.86) !important;
}

html.dark-mode .checkout-delivery-group-title {
  color: #f8fafc !important;
}

html.dark-mode .checkout-delivery-group-meta {
  color: #cbd5e1 !important;
}

html.dark-mode .checkout-item-card {
  border-color: rgba(100, 116, 139, 0.58) !important;
  background: rgba(15, 23, 42, 0.9) !important;
}

html.dark-mode .checkout-item-media {
  border-color: rgba(100, 116, 139, 0.62) !important;
  background: rgba(15, 23, 42, 0.72) !important;
}

html.dark-mode .checkout-item-name {
  color: #f8fafc !important;
}

html.dark-mode .checkout-item-price {
  color: #cbd5e1 !important;
}

html.dark-mode .checkout-item-line {
  color: #f8fafc !important;
}

html.dark-mode .checkout-qty-btn,
html.dark-mode .checkout-qty-input {
  border-color: rgba(125, 211, 252, 0.42) !important;
  background: rgba(15, 23, 42, 0.84) !important;
  color: #f8fafc !important;
}

html.dark-mode .checkout-delete-btn {
  border-color: rgba(251, 113, 133, 0.45) !important;
  background: rgba(127, 29, 29, 0.38) !important;
  color: #fecdd3 !important;
}

@media (max-width: 1100px) {
  :root {
    --layout-gutter: 0.95rem;
  }

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

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

@media (max-width: 900px) {
  :root {
    --layout-gutter: 0.875rem;
  }

  /* Checkout movil: reducir efecto de cuadro sobre cuadro en el contenedor externo. */
  .checkout-page .surface {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0.45rem !important;
  }

  .home-scene {
    gap: 1rem;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery-main {
    min-height: 300px;
  }

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

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

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

  .home-showcase {
    grid-template-columns: 1fr;
  }

  .spotlight-main {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 1.2rem 1.5rem 1.2rem 1.2rem;
    gap: 0.9rem;
    overflow: hidden;
  }

  .spotlight-badge-mobile {
    display: block;
    order: 1;
    margin: 0;
  }

  .spotlight-badge-desktop {
    display: none;
  }

  .spotlight-main-image-wrap {
    --spotlight-main-box-width: min(100%, 260px);
    --spotlight-main-box-height: 260px;
    order: 2;
    min-height: 230px;
    margin-top: 0.05rem;
  }

  .spotlight-main-info {
    order: 3;
    height: auto;
    gap: 0.2rem;
    grid-template-rows: none;
    align-content: start;
    overflow: visible;
  }

  .spotlight-main-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .spotlight-brand {
    margin-top: 0;
    font-size: 0.82rem;
  }

  .spotlight-price {
    margin-top: 0.45rem;
  }

  .spotlight-buttons {
    margin-top: 0.75rem;
    flex-wrap: wrap;
    min-height: 0;
    overflow: visible;
  }

  .spotlight-side {
    position: absolute;
    inset: 0;
    width: auto;
    min-height: 0;
    pointer-events: none;
  }

  .spotlight-nav {
    display: none;
  }

  .spotlight-nav-btn {
    display: none;
  }

  .spotlight-stack {
    --stack-offset: 0;
    position: absolute;
    top: 0.85rem;
    right: 0.2rem;
    bottom: 0.85rem;
    width: 0.62rem;
    padding-right: 0;
    overflow: hidden;
    border-radius: 0.7rem;
    pointer-events: none;
  }

  .spotlight-card {
    padding: 0;
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.2);
    box-shadow: none;
    opacity: 0.9;
  }

  .spotlight-card-image,
  .spotlight-card-title {
    display: none;
  }

  .spotlight-card:nth-child(2) {
    transform: translateX(1px);
    opacity: 0.72;
  }

  .spotlight-card:nth-child(3) {
    transform: translateX(2px);
    opacity: 0.58;
  }

  .spotlight-card:nth-child(4) {
    transform: translateX(3px);
    opacity: 0.46;
  }

  .spotlight-dots {
    margin-top: 0.6rem;
    padding: 0.26rem 0.42rem;
    gap: 0.36rem;
  }

  .hero-main {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .home-order-track {
    grid-template-columns: repeat(var(--order-steps, 5), minmax(148px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .home-order-track::before {
    display: none;
  }

  .home-order-step {
    min-height: 72px;
  }

  .home-order-step::after {
    content: '';
    position: absolute;
    top: 0.96rem;
    right: -0.42rem;
    width: 0.72rem;
    height: 2px;
    background: #cbd5e1;
  }

  .home-order-step:last-child::after {
    display: none;
  }

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

  .home-category-stack-section {
    --home-category-stack-title-height: 3.15rem;
    position: relative;
  }

  .home-category-stack-head {
    position: sticky;
    top: 5.02rem;
    z-index: 46;
    margin-bottom: 0.9rem;
    padding: 0.18rem 0 0.72rem;
    background: linear-gradient(180deg, rgba(245, 247, 250, 0.98) 0%, rgba(245, 247, 250, 0.94) 76%, rgba(245, 247, 250, 0) 100%);
    backdrop-filter: blur(8px);
  }

  .category-grid-home-stack {
    display: block;
    padding-bottom: 2.3rem;
  }

  .category-grid-home-stack .category-tile {
    position: sticky;
    top: calc(5.02rem + var(--home-category-stack-title-height, 3.15rem) + (var(--stack-index, 0) * 0.48rem));
    z-index: calc(20 + var(--stack-index, 0));
    margin-bottom: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 44, 92, 0.16);
  }

  .category-grid-home-stack .category-tile:last-child {
    margin-bottom: 0;
  }

  .category-grid-home-stack .category-tile:hover {
    transform: none;
  }

  .category-grid-home-stack .category-media {
    height: clamp(172px, 44vw, 250px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .category-grid-home-stack .category-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .category-grid-home-stack .category-copy {
    padding: 0 0.08rem 0.14rem;
  }

  .home-b2b-cta {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 1.12rem;
    border-radius: 24px;
  }

  .home-b2b-title {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .home-b2b-subtitle {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .home-b2b-points {
    gap: 0.52rem;
  }

  .home-b2b-point {
    font-size: 0.76rem;
    padding: 0.5rem 0.78rem;
  }

  .home-b2b-button {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
  }

  .home-b2b-visual {
    min-height: 250px;
    padding: 0.7rem 0.35rem 1.6rem;
  }

  .home-b2b-card-main {
    width: min(100%, 22rem);
    padding: 1rem 1rem 0.95rem;
  }

  .home-b2b-card-media {
    margin-top: 0.85rem;
    border-radius: 16px;
  }

  .home-b2b-card-media img {
    height: 190px;
  }

  .home-b2b-card-list {
    gap: 0.48rem;
  }

  .home-b2b-card-list > span {
    font-size: 0.78rem;
  }

  .enterprise-solution {
    grid-template-columns: 1fr;
    gap: 0.78rem;
    padding: 1rem;
  }

  .enterprise-solution-icon {
    width: 3.8rem;
    height: 3.8rem;
  }

  .enterprise-solution-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .enterprise-solution-title {
    font-size: 1.04rem;
  }

  .enterprise-solution-text {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

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

  .product-grid-home.home-mobile-catalog {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .home-mobile-catalog .product-home-card {
    display: grid;
    grid-template-columns: 7.3rem minmax(0, 1fr);
    grid-template-areas:
      "media badges"
      "media title"
      "media meta"
      "media quick";
    gap: 0.3rem 0.66rem;
    align-items: start;
    padding: 0.64rem;
  }

  .home-mobile-catalog .product-home-card .catalog-item-media {
    grid-area: media;
    height: 7.3rem;
    margin: 0;
  }

  .home-mobile-catalog .product-home-card .catalog-item-media img {
    padding: 0.36rem;
  }

  .home-mobile-catalog .product-home-card .catalog-soldout-ribbon {
    top: 0.4rem;
    left: -2.2rem;
    min-width: 8.9rem;
    font-size: 0.64rem;
  }

  .home-mobile-catalog .product-home-card .catalog-item-content {
    display: contents;
  }

  .home-mobile-catalog .product-home-card .catalog-item-badges {
    grid-area: badges;
    margin-top: 0;
  }

  .home-mobile-catalog .home-new-badge {
    padding: 0.24rem 0.7rem;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    box-shadow: 0 8px 18px rgba(239, 121, 0, 0.22);
  }

  .home-mobile-catalog .product-home-card .catalog-item-title {
    grid-area: title;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.2;
    min-height: 0;
  }

  .home-mobile-catalog .product-home-card .catalog-item-meta {
    grid-area: meta;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
  }

  .home-mobile-catalog .product-home-card .catalog-item-price {
    margin-top: 0;
    font-size: 1.06rem;
    line-height: 1.15;
  }

  .home-mobile-catalog .product-home-card .catalog-item-scale {
    margin-top: 0.05rem;
    font-size: 0.66rem;
    line-height: 1.2;
    color: #64748b;
    font-weight: 700;
  }

  .home-mobile-catalog .product-home-card .catalog-item-brand {
    margin-top: 0.16rem;
    font-size: 0.69rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-mobile-catalog .product-home-card .product-home-stock {
    margin-top: 0.08rem;
    font-size: 0.68rem;
    line-height: 1.2;
    color: #64748b;
  }

  .home-mobile-catalog .product-home-card .catalog-item-actions {
    grid-area: quick;
    margin-top: 0.16rem;
  }

  .home-mobile-catalog .product-home-card .catalog-item-link {
    margin-top: 0;
    font-size: 0.86rem;
    gap: 0.26rem;
    width: fit-content;
  }

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

@media (max-width: 620px) {
  :root {
    --layout-gutter: 0.75rem;
  }

  .home-scene::before {
    opacity: 0.1;
  }

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

  .product-detail-related-grid {
    grid-template-columns: 1fr;
  }

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

  .product-grid-home {
    grid-template-columns: 1fr;
  }

  .spotlight-stack {
    top: 0.72rem;
    bottom: 0.72rem;
    width: 0.78rem;
    right: -0.18rem;
  }

  .spotlight-title {
    font-size: 1.35rem;
    min-height: calc(2 * 1.08em);
  }
}


@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
