@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&display=swap');

:root {
  --brand: #0b5cff;
  --brand-dark: #003fc7;
  --ink: #071226;
  --muted: #667085;
  --line: #e5eaf3;
  --panel: #f5f8fc;
  --paper: #ffffff;
  --navy: #061124;
  --navy-2: #071a35;
  --green: #079455;
  --star: #ff9f1c;
  --shadow: 0 20px 45px rgba(15, 23, 42, .10);
  --soft-shadow: 0 10px 26px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--panel);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(229,234,243,.9);
  backdrop-filter: blur(14px);
}
.header-main {
  max-width: 1720px;
  margin: 0 auto;
  min-height: 66px;
  display: grid;
  grid-template-columns: 245px 155px minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 0 clamp(18px, 5vw, 72px);
}
.brand { display: flex; gap: 12px; align-items: center; min-width: max-content; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--brand);
  background: linear-gradient(180deg, #f8fbff, #eaf2ff);
  border: 1px solid #cfe0ff;
  font-weight: 950;
}
.brand-mark.small { width: 34px; height: 34px; border-radius: 11px; color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.brand strong { display: block; font-size: 26px; font-weight: 950; letter-spacing: -.055em; }
.brand strong span { color: var(--brand); }
.brand small { display: block; color: #667085; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.catalog-trigger {
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(11,92,255,.22);
}
.search-box {
  height: 44px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15,23,42,.045);
}
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 16px; font-weight: 700; }
.search-box span { padding: 0 14px; font-weight: 900; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 900; white-space: nowrap; }
.account-button, .cart-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
}
.cart-button strong { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; }
.nav-row {
  max-width: 1720px;
  margin: 0 auto;
  height: 42px;
  display: flex;
  gap: 38px;
  align-items: center;
  padding: 0 clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(229,234,243,.65);
  font-size: 14px;
  font-weight: 850;
}
.nav-row a:first-child { color: var(--brand); }

.hero-pro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 42%) minmax(600px, 58%);
  align-items: center;
  min-height: 405px;
  padding: 38px clamp(28px, 7vw, 112px) 58px;
  background:
    radial-gradient(circle at 78% 22%, rgba(11,92,255,.16), transparent 30%),
    linear-gradient(90deg, #ffffff 0%, #f8fbff 44%, #dce8f8 100%);
  overflow: hidden;
}
.hero-content { position: relative; z-index: 4; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.eyebrow span, .section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand);
  display: inline-block;
}
.hero-pro h1 {
  margin: 0 0 14px;
  max-width: 620px;
  font-size: clamp(48px, 5.2vw, 84px);
  line-height: .93;
  letter-spacing: -.075em;
}
.hero-pro p {
  max-width: 575px;
  margin: 0;
  color: #344054;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}
.hero-actions { display: flex; gap: 16px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.primary-btn, .secondary-btn, .play-btn {
  min-height: 44px;
  border-radius: 11px;
  padding: 0 20px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}
.primary-btn { border: 0; color: #fff; background: var(--brand); box-shadow: 0 14px 28px rgba(11,92,255,.23); }
.primary-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.secondary-btn { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.secondary-btn.full, .primary-btn.full { width: 100%; }
.secondary-btn.danger { color: #b42318; }
.play-btn { border: 0; background: #fff; color: #1d2939; box-shadow: var(--soft-shadow); }
.play-btn span { width: 27px; height: 27px; border-radius: 50%; background: #eef4ff; color: var(--brand); display: grid; place-items: center; font-size: 10px; }

.hero-visual-pro {
  position: relative;
  min-height: 305px;
  z-index: 2;
}
.hero-visual-pro::before {
  content: "";
  position: absolute;
  right: 155px;
  top: 0;
  width: 250px;
  height: 150px;
  border: 4px solid rgba(79,195,255,.86);
  border-radius: 58px 76px 44px 88px;
  filter: drop-shadow(0 0 16px rgba(79,195,255,.55));
}
.hero-visual-pro::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 10px;
  width: 760px;
  height: 80px;
  border-radius: 28px;
  background: rgba(255,255,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.hero-panel {
  position: absolute;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(218,226,240,.92);
  box-shadow: 0 28px 55px rgba(15,23,42,.16);
}
.hero-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-panel-main {
  right: 125px;
  bottom: 32px;
  width: 505px;
  height: 220px;
  border-radius: 25px;
}
.hero-panel-side {
  left: 80px;
  bottom: 72px;
  width: 116px;
  height: 170px;
  border-radius: 30px;
}
.hero-panel-camera {
  right: 18px;
  bottom: 68px;
  width: 145px;
  height: 120px;
  border-radius: 30px;
}
.hero-panel-audio {
  right: 305px;
  bottom: 18px;
  width: 130px;
  height: 84px;
  border-radius: 25px;
}
.hero-accent-ring { position: absolute; right: 95px; bottom: 54px; width: 86px; height: 86px; border-radius: 50%; background: linear-gradient(135deg, #f8fbff, #fff); box-shadow: 0 18px 30px rgba(15,23,42,.12); }

.trust-strip {
  max-width: 1500px;
  margin: -36px auto 0;
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.trust-strip article { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 20px 30px; border-right: 1px solid var(--line); }
.trust-strip article:last-child { border-right: 0; }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--brand); background: #eef4ff; font-weight: 950; }
.trust-strip strong { display: block; font-size: 15px; }
.trust-strip small { display: block; color: var(--muted); font-size: 12px; font-weight: 750; margin-top: 2px; }

.section { max-width: 1500px; margin: 0 auto; padding: 28px 24px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 16px; }
.section-head.compact { margin-bottom: 14px; }
.section-head h2 { margin: 0; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.045em; }
.section-head a { color: var(--brand); font-weight: 950; font-size: 13px; }
.featured-categories { display: grid; grid-template-columns: repeat(8, minmax(110px,1fr)); gap: 14px; }
.chip {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg,#fff,#f7faff);
  box-shadow: var(--soft-shadow);
  display: grid;
  place-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--ink);
}
.chip::before {
  content: "";
  width: 62px;
  height: 34px;
  border-radius: 13px;
  background: linear-gradient(180deg, #eef5ff, #fff);
  border: 1px solid rgba(11,92,255,.12);
}
.chip.active { border-color: rgba(11,92,255,.32); color: var(--brand); box-shadow: 0 16px 34px rgba(11,92,255,.12); }

.product-showcase { padding-top: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.product-card {
  position: relative;
  min-height: 344px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}
.product-card.selected { border-color: rgba(11,92,255,.45); }
.product-image-wrap {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(180deg,#f8fbff,#eef4fb);
}
.product-image-wrap img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.availability {
  position: absolute;
  left: 14px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.availability.consult { background: #475467; }
.product-copy { padding: 14px 15px 4px; }
.meta-row { display: flex; justify-content: space-between; gap: 10px; color: var(--brand); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.meta-row span, .meta-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-copy h3 {
  min-height: 44px;
  max-height: 44px;
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sku-line { margin: 0; color: var(--muted); font-size: 11px; font-weight: 750; }
.product-commercial { padding: 0 15px 12px; }
.rating-line { display: flex; gap: 7px; align-items: center; margin-bottom: 2px; }
.rating-line span { color: var(--star); font-size: 12px; }
.rating-line small { color: var(--muted); font-size: 11px; font-weight: 800; }
.price { font-size: 23px; font-weight: 950; letter-spacing: -.035em; }
.stock-line { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 850; }
.stock-line span:first-child { color: var(--green); }
.stock-line span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; padding: 0 15px 15px; }
.product-actions button { min-height: 38px; border-radius: 10px; font-size: 12px; }

.catalog-section { display: grid; grid-template-columns: 295px 1fr; gap: 22px; align-items: start; }
.filters-card {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.filters-card h2 { margin: 0; }
.filters-card label { display: grid; gap: 7px; color: #344054; font-size: 13px; font-weight: 900; }
.filters-card input, .filters-card select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 12px;
  background: #fff;
  outline: 0;
}
.filters-card textarea, textarea { min-height: 82px; padding: 10px 12px; resize: vertical; }
.category-list { display: grid; gap: 8px; max-height: 240px; overflow: auto; }
.category-list button { min-height: 38px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-weight: 850; text-align: left; padding: 0 10px; }
.category-list button.active { color: var(--brand); border-color: rgba(11,92,255,.32); background: #eef4ff; }
.check-row { grid-template-columns: auto 1fr !important; align-items: center; }
.check-row input { width: auto; min-height: auto; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
}
.catalog-toolbar h2 { margin: 0; font-size: 30px; letter-spacing: -.045em; }
.toolbar-actions { display: flex; gap: 9px; align-items: center; }
.view-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-weight: 950; }
.view-btn.active { color: #fff; background: var(--brand); border-color: var(--brand); }
.toolbar-actions select { height: 42px; border: 1px solid var(--line); border-radius: 11px; padding: 0 12px; background: #fff; font-weight: 850; }
.load-more { margin: 22px auto 0; display: flex; }

.detail-card {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) 1.15fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}
.detail-image-wrap { min-height: 390px; display: grid; place-items: center; background: linear-gradient(180deg,#f8fbff,#eef4fb); padding: 28px; }
.detail-image-wrap img { max-height: 330px; object-fit: contain; mix-blend-mode: multiply; }
.detail-content { padding: 30px; }
.detail-content h2 { margin: 0 0 10px; font-size: clamp(26px, 2.2vw, 38px); line-height: 1.1; letter-spacing: -.05em; }
.detail-content > p { color: var(--muted); font-weight: 650; line-height: 1.5; }
.detail-price-row { display: flex; gap: 12px; align-items: center; margin: 16px 0; }
.detail-price-row strong { color: var(--brand); font-size: 32px; }
.detail-price-row span { color: var(--muted); font-size: 12px; font-weight: 850; }
.spec-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin: 14px 0; }
.spec-list div, .stock-table div { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbff; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.order-banner {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  padding: 38px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #061124, #0a2045);
}
.order-banner .section-kicker { color: #60a5fa; }
.order-banner .section-kicker::before { background: #0b5cff; }
.order-banner h2 { margin: 0 0 10px; font-size: 34px; letter-spacing: -.045em; }
.order-banner p { color: rgba(255,255,255,.72); line-height: 1.55; }
.order-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.order-steps span { min-height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(255,255,255,.08); font-weight: 900; }

.quote-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  min-width: 230px;
  display: none;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 20px 40px rgba(11,92,255,.32);
}
.quote-panel.active { display: flex; }
.quote-panel span { display: block; color: rgba(255,255,255,.78); font-size: 12px; }

dialog { border: 0; padding: 0; border-radius: 24px; box-shadow: 0 28px 70px rgba(15,23,42,.3); }
dialog::backdrop { background: rgba(6,17,36,.42); backdrop-filter: blur(4px); }
.cart-drawer, .login-modal form, .admin-modal form { width: min(760px, calc(100vw - 24px)); max-height: 88vh; overflow: auto; display: grid; gap: 16px; padding: 22px; background: #fff; }
.admin-modal form { width: min(1050px, calc(100vw - 24px)); }
.drawer-head, .admin-head, .panel-title { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.drawer-head h2 { margin: 0; font-size: 28px; letter-spacing: -.045em; }
.icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 22px; font-weight: 900; }
.cart-items, .orders-list { display: grid; gap: 10px; }
.cart-item, .order-card { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #f8fbff; }
.cart-summary { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: #f8fbff; }
.cart-summary div { display: flex; justify-content: space-between; }
.total-row { padding-top: 10px; border-top: 1px solid var(--line); font-size: 20px; }
.checkout-form { display: grid; gap: 12px; }
.checkout-form label, .login-modal label, .admin-modal label { display: grid; gap: 7px; color: #344054; font-weight: 900; font-size: 13px; }
.payment-box { padding: 14px; border-radius: 16px; background: #eef4ff; color: #1d2939; }
.qr-payment-area { display: grid; gap: 10px; place-items: center; }
.qr-payment-area img { max-width: 230px; border-radius: 14px; }
.drawer-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.login-error { color: #b42318; font-weight: 900; }
.sync-card { padding: 18px; border-radius: 18px; background: #eef4ff; }
.sync-card span { color: var(--brand); font-weight: 950; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
.sync-card strong { display: block; margin-top: 6px; font-size: 22px; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.admin-stats div { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #f8fbff; }
.admin-stats span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.admin-stats strong { display: block; margin-top: 8px; font-size: 26px; }
.ops-summary { display: flex; gap: 10px; flex-wrap: wrap; }
.ops-summary span { padding: 8px 10px; border-radius: 999px; background: #f8fbff; font-size: 12px; font-weight: 850; }
.category-margins { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr .7fr .75fr 1.15fr 1fr;
  gap: 34px;
  padding: 34px clamp(22px, 7vw, 110px);
  color: #cbd5e1;
  background: radial-gradient(circle at 18% 0%, rgba(11,92,255,.18), transparent 30%), linear-gradient(135deg, var(--navy), var(--navy-2));
}
.site-footer strong, .site-footer span { color: #fff; font-weight: 950; }
.site-footer p, .site-footer a, .site-footer small { color: #cbd5e1; line-height: 1.5; font-size: 14px; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.footer-brand { display: flex; gap: 14px; }
.footer-brand strong { display: block; font-size: 23px; }
.footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.footer-socials span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.footer-newsletter { display: grid; gap: 8px; align-content: start; }
.footer-newsletter label { display: flex; height: 42px; }
.footer-newsletter input { min-width: 0; flex: 1; border: 0; padding: 0 12px; border-radius: 10px 0 0 10px; }
.footer-newsletter button { width: 48px; border: 0; background: var(--brand); color: #fff; border-radius: 0 10px 10px 0; font-weight: 950; }
.payment-footer { display: grid; gap: 10px; align-content: start; }
.payment-logos { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.payment-logos b {
  min-width: 52px;
  height: 32px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 12px 22px rgba(0,0,0,.18);
}
.qr-logo { color: var(--brand) !important; }
.visa-logo { color: #1434cb !important; font-size: 14px !important; letter-spacing: .04em; }
.mc-logo { position: relative; width: 54px; background: #fff !important; }
.mc-logo i { position: absolute; top: 7px; width: 18px; height: 18px; border-radius: 50%; }
.mc-logo i:first-child { left: 15px; background: #eb001b; }
.mc-logo i:last-child { right: 15px; background: #f79e1b; mix-blend-mode: multiply; }
.card-logo { color: #1434cb !important; font-size: 10px !important; }

@media (max-width: 1180px) {
  .header-main { grid-template-columns: 220px 1fr 1fr; }
  .catalog-trigger { display: none; }
  .hero-pro { grid-template-columns: 1fr 1.05fr; padding-inline: 34px; }
  .hero-panel-main { right: 70px; width: 430px; }
  .featured-categories { grid-template-columns: repeat(4,1fr); }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .catalog-section { grid-template-columns: 1fr; }
  .filters-card { position: static; }
  .site-footer { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .header-main { grid-template-columns: 1fr; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .header-actions, .nav-row { overflow: auto; gap: 20px; }
  .hero-pro { grid-template-columns: 1fr; min-height: auto; padding: 38px 22px 64px; }
  .hero-visual-pro { display: none; }
  .trust-strip { grid-template-columns: 1fr; margin: 0 16px; }
  .trust-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding-inline: 16px; }
  .featured-categories { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .detail-card { grid-template-columns: 1fr; }
  .order-banner { grid-template-columns: 1fr; padding: 24px; }
  .order-steps, .drawer-actions, .admin-stats, .category-margins { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}


/* === Premium header final polish === */

.premium-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.045);
}

.top-ribbon {
  background:
    linear-gradient(90deg, #061124 0%, #071a35 52%, #0b5cff 100%);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.top-ribbon-inner {
  max-width: 1720px;
  margin: 0 auto;
  min-height: 34px;
  padding: 0 clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  white-space: nowrap;
  overflow: hidden;
}

.top-ribbon-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-ribbon-inner span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.header-main {
  min-height: 76px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.premium-brand {
  gap: 13px;
}

.premium-brand .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.35), transparent 32%),
    linear-gradient(135deg, #0b5cff, #003fc7);
  border: 1px solid rgba(11, 92, 255, 0.35);
  box-shadow:
    0 18px 32px rgba(11, 92, 255, 0.22),
    inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 23px;
}

.premium-brand strong {
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.065em;
}

.premium-brand small {
  margin-top: 4px;
  color: #667085;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.premium-catalog-trigger {
  height: 48px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #0b5cff, #003fc7);
  box-shadow: 0 16px 32px rgba(11, 92, 255, 0.24);
}

.premium-catalog-trigger span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.16);
}

.premium-search-box {
  height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.premium-search-box:focus-within {
  border-color: rgba(11, 92, 255, 0.42);
  box-shadow:
    0 18px 38px rgba(11, 92, 255, 0.12),
    0 0 0 4px rgba(11, 92, 255, 0.10);
}

.premium-search-box input {
  font-size: 14px;
  color: #101828;
}

.premium-search-box input::placeholder {
  color: #8a94a6;
}

.premium-search-box span {
  width: 42px;
  height: 42px;
  margin-right: 4px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: #0b5cff;
  font-size: 18px;
  padding: 0;
}

.premium-header-actions {
  gap: 12px;
}

.premium-header-actions .header-link {
  min-height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  color: #1f2937;
  transition: background .18s ease, color .18s ease;
}

.premium-header-actions .header-link:hover {
  color: #0b5cff;
  background: #eef4ff;
}

.premium-account {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 13px;
  background: #f8fbff;
  border: 1px solid #e5eaf3;
}

.premium-account:hover {
  background: #eef4ff;
  color: #0b5cff;
}

.premium-cart {
  min-height: 44px;
  padding: 0 13px 0 15px;
  border-radius: 15px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #061124, #0a2045);
  box-shadow: 0 14px 28px rgba(6, 17, 36, 0.18);
}

.premium-cart strong {
  min-width: 22px;
  height: 22px;
  background: #0b5cff;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,.75);
}

.premium-nav-row {
  height: 46px;
  gap: 34px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.premium-nav-row a {
  position: relative;
  height: 46px;
  display: inline-flex;
  align-items: center;
}

.premium-nav-row a.active,
.premium-nav-row a:hover {
  color: #0b5cff;
}

.premium-nav-row a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #0b5cff;
}

.catalog-live-pill {
  margin-left: auto;
  min-height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  font-size: 12px;
  font-weight: 950;
}

.catalog-live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: #12b76a;
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.14);
}

@media (max-width: 1180px) {
  .top-ribbon-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .premium-header-actions .header-link {
    display: none;
  }

  .catalog-live-pill {
    display: none;
  }
}

@media (max-width: 760px) {
  .top-ribbon {
    display: none;
  }

  .header-main {
    min-height: auto !important;
  }

  .premium-brand strong {
    font-size: 25px;
  }

  .premium-search-box {
    height: 48px;
  }

  .premium-header-actions {
    justify-content: space-between;
  }

  .premium-cart {
    flex: 1;
    justify-content: center;
  }

  .premium-nav-row {
    height: 44px;
    overflow-x: auto;
    gap: 24px;
  }
}


/* === Premium hero showcase upgrade === */

.hero-pro {
  min-height: 470px !important;
  padding-top: 54px !important;
  padding-bottom: 82px !important;
  background:
    radial-gradient(circle at 76% 18%, rgba(11, 92, 255, 0.20), transparent 28%),
    radial-gradient(circle at 90% 70%, rgba(96, 165, 250, 0.16), transparent 24%),
    linear-gradient(90deg, #ffffff 0%, #f8fbff 42%, #dbe8f8 100%) !important;
}

.hero-pro::before {
  content: "";
  position: absolute;
  inset: auto -80px -150px auto;
  width: 760px;
  height: 360px;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  filter: blur(12px);
  pointer-events: none;
}

.hero-content {
  transform: translateY(-6px);
}

.hero-pro h1 {
  font-size: clamp(56px, 5.6vw, 92px) !important;
  line-height: .9 !important;
  letter-spacing: -0.08em !important;
  max-width: 690px !important;
}

.hero-pro p {
  max-width: 590px !important;
  font-size: 18px !important;
  color: #344054 !important;
}

.hero-visual-pro {
  min-height: 360px !important;
  isolation: isolate;
}

.hero-visual-pro::before {
  right: 128px !important;
  top: 10px !important;
  width: 270px !important;
  height: 162px !important;
  border-width: 4px !important;
  opacity: .95;
}

.hero-visual-pro::after {
  right: 14px !important;
  bottom: 18px !important;
  width: 720px !important;
  height: 94px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.25)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 25px 45px rgba(15,23,42,.08) !important;
}

.hero-panel {
  border: 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,246,255,.94)) !important;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, .18),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.hero-panel img {
  object-fit: cover !important;
  transform: scale(1.02);
}

.hero-panel-main {
  right: 115px !important;
  bottom: 48px !important;
  width: 560px !important;
  height: 245px !important;
  border-radius: 30px !important;
  z-index: 3;
}

.hero-panel-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(11,92,255,.05), transparent 48%),
    linear-gradient(0deg, rgba(8,18,37,.10), transparent 42%);
  pointer-events: none;
}

.hero-panel-side {
  left: 34px !important;
  bottom: 92px !important;
  width: 126px !important;
  height: 188px !important;
  border-radius: 34px !important;
  z-index: 4;
}

.hero-panel-camera {
  right: 20px !important;
  bottom: 96px !important;
  width: 150px !important;
  height: 126px !important;
  border-radius: 34px !important;
  z-index: 4;
}

.hero-panel-audio {
  right: 330px !important;
  bottom: 28px !important;
  width: 146px !important;
  height: 92px !important;
  border-radius: 28px !important;
  z-index: 5;
}

.hero-accent-ring {
  right: 82px !important;
  bottom: 72px !important;
  width: 92px !important;
  height: 92px !important;
  z-index: 2;
  background:
    radial-gradient(circle at 35% 30%, #ffffff, #eef5ff 62%, #dbeafe) !important;
  box-shadow:
    0 24px 40px rgba(15,23,42,.13),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.hero-visual-pro .hero-panel-main img {
  content: url("https://images.unsplash.com/photo-1517336714731-489689fd1ca8?auto=format&fit=crop&w=1300&q=90");
}

.hero-visual-pro .hero-panel-side img {
  content: url("https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=700&q=90");
}

.hero-visual-pro .hero-panel-camera img {
  content: url("https://images.unsplash.com/photo-1580894908361-967195033215?auto=format&fit=crop&w=700&q=90");
}

.hero-visual-pro .hero-panel-audio img {
  content: url("https://images.unsplash.com/photo-1606220588913-b3aacb4d2f46?auto=format&fit=crop&w=700&q=90");
}

.trust-strip {
  margin-top: -52px !important;
}

@media (max-width: 1180px) {
  .hero-panel-main {
    right: 60px !important;
    width: 440px !important;
    height: 220px !important;
  }

  .hero-panel-side {
    left: 10px !important;
  }

  .hero-panel-camera {
    right: -6px !important;
  }

  .hero-panel-audio {
    right: 250px !important;
  }
}

@media (max-width: 760px) {
  .hero-pro {
    padding-top: 42px !important;
    padding-bottom: 72px !important;
  }
}


/* === FINAL NEXOTECH HERO: premium product-sales image === */
.hero-pro {
  min-height: 455px !important;
  display: grid !important;
  grid-template-columns: minmax(390px, 40%) minmax(620px, 60%) !important;
  align-items: center !important;
  overflow: hidden !important;
  padding-top: 48px !important;
  padding-bottom: 78px !important;
  background:
    radial-gradient(circle at 78% 24%, rgba(11, 92, 255, .18), transparent 30%),
    linear-gradient(90deg, #ffffff 0%, #f8fbff 42%, #dce8f8 100%) !important;
}

.hero-pro h1 {
  font-size: clamp(56px, 5.65vw, 92px) !important;
  line-height: .9 !important;
  letter-spacing: -.08em !important;
  max-width: 700px !important;
}

.hero-pro p {
  max-width: 590px !important;
  font-size: 18px !important;
}

.hero-final-product-image {
  position: relative !important;
  min-height: 330px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  overflow: visible !important;
  isolation: isolate !important;
}

.hero-final-product-image::before {
  content: "";
  position: absolute;
  right: 80px;
  bottom: 8px;
  width: 760px;
  height: 110px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  filter: blur(2px);
  z-index: 0;
}

.hero-final-product-image::after {
  content: "";
  position: absolute;
  right: 84px;
  top: 2px;
  width: 286px;
  height: 170px;
  border: 4px solid rgba(88, 196, 255, .82);
  border-radius: 62px 84px 46px 94px;
  filter: drop-shadow(0 0 16px rgba(88, 196, 255, .50));
  z-index: 0;
}

.hero-final-product-image img {
  position: relative !important;
  z-index: 2 !important;
  width: min(980px, 112%) !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: right center !important;
  display: block !important;
  margin-right: -72px !important;
  filter: drop-shadow(0 28px 40px rgba(15, 23, 42, .13)) !important;
}

/* Apagar por completo el hero viejo de paneles */
.hero-panel,
.hero-accent-ring,
.hero-stage,
.hero-static-sample,
.hero-catalog-stage,
.hero-showcase,
.hero-approved-visual,
.hero-main-product,
.hero-floating,
.hero-real-main,
.hero-real-float,
.device,
.plant {
  display: none !important;
}

.hero-final-product-image {
  display: flex !important;
}

.trust-strip {
  margin-top: -50px !important;
}

@media (max-width: 1180px) {
  .hero-pro {
    grid-template-columns: 1fr 1.05fr !important;
    padding-inline: 34px !important;
  }

  .hero-final-product-image img {
    width: min(760px, 118%) !important;
    margin-right: -60px !important;
  }
}

@media (max-width: 760px) {
  .hero-pro {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 42px 22px 70px !important;
  }

  .hero-final-product-image {
    display: none !important;
  }
}

/* === FIX: separar imágenes y textos en Novedades === */

.novelties-grid .product-card,
.product-grid .product-card {
  display: grid !important;
  grid-template-rows: 210px auto auto auto !important;
  min-height: 390px !important;
  overflow: hidden !important;
}

.novelties-grid .product-image-wrap,
.product-grid .product-image-wrap {
  position: relative !important;
  height: 210px !important;
  min-height: 210px !important;
  max-height: 210px !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  padding: 18px !important;
  background: linear-gradient(180deg, #f8fbff, #eef4fb) !important;
  z-index: 1 !important;
}

.novelties-grid .product-image-wrap img,
.product-grid .product-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-height: 176px !important;
  object-fit: contain !important;
  display: block !important;
}

.novelties-grid .product-copy,
.product-grid .product-copy {
  position: relative !important;
  z-index: 2 !important;
  background: #ffffff !important;
  padding: 14px 15px 6px !important;
  margin: 0 !important;
}

.novelties-grid .product-copy h3,
.product-grid .product-copy h3 {
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 8px 0 4px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-height: 1.35 !important;
}

.novelties-grid .product-commercial,
.product-grid .product-commercial {
  position: relative !important;
  z-index: 2 !important;
  background: #ffffff !important;
  padding: 0 15px 12px !important;
}

.novelties-grid .product-actions,
.product-grid .product-actions {
  position: relative !important;
  z-index: 2 !important;
  background: #ffffff !important;
  margin-top: 0 !important;
  padding: 0 15px 15px !important;
}

.novelties-grid .novelty-card::before,
.product-grid .novelty-card::before {
  display: none !important;
}

.novelties-grid .availability,
.product-grid .availability {
  top: 12px !important;
  left: 12px !important;
  z-index: 3 !important;
}

@media (max-width: 760px) {
  .novelties-grid .product-card,
  .product-grid .product-card {
    grid-template-rows: 190px auto auto auto !important;
    min-height: 360px !important;
  }

  .novelties-grid .product-image-wrap,
  .product-grid .product-image-wrap {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
  }

  .novelties-grid .product-image-wrap img,
  .product-grid .product-image-wrap img {
    max-height: 158px !important;
  }
}


/* === PUBLIC FIX: product cards image/text separation === */

.novelties-grid .product-card,
.product-grid .product-card {
  display: grid !important;
  grid-template-rows: 210px auto auto auto !important;
  min-height: 390px !important;
  overflow: hidden !important;
}

.novelties-grid .product-image-wrap,
.product-grid .product-image-wrap {
  height: 210px !important;
  min-height: 210px !important;
  max-height: 210px !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  padding: 18px !important;
  background: linear-gradient(180deg, #f8fbff, #eef4fb) !important;
}

.novelties-grid .product-image-wrap img,
.product-grid .product-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-height: 176px !important;
  object-fit: contain !important;
  display: block !important;
}

.novelties-grid .product-copy,
.product-grid .product-copy,
.novelties-grid .product-commercial,
.product-grid .product-commercial,
.novelties-grid .product-actions,
.product-grid .product-actions {
  position: relative !important;
  z-index: 2 !important;
  background: #ffffff !important;
}

.novelties-grid .product-copy,
.product-grid .product-copy {
  padding: 14px 15px 6px !important;
  margin: 0 !important;
}

.novelties-grid .product-copy h3,
.product-grid .product-copy h3 {
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 8px 0 4px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-height: 1.35 !important;
}

.novelties-grid .product-commercial,
.product-grid .product-commercial {
  padding: 0 15px 12px !important;
}

.novelties-grid .product-actions,
.product-grid .product-actions {
  margin-top: 0 !important;
  padding: 0 15px 15px !important;
}

.novelties-grid .novelty-card::before,
.product-grid .novelty-card::before {
  display: none !important;
}

.novelties-grid .availability,
.product-grid .availability {
  top: 12px !important;
  left: 12px !important;
  z-index: 3 !important;
}


/* === FIX PROFESIONAL: legibilidad sobre imágenes oscuras === */

.product-card {
  background: #ffffff !important;
  overflow: hidden !important;
}

.product-image-wrap {
  position: relative !important;
  isolation: isolate !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.95), rgba(235,241,250,0.92) 58%, #eaf1fa 100%) !important;
}

.product-image-wrap::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(1px);
}

.product-image-wrap img {
  position: relative !important;
  z-index: 1 !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.12)) !important;
}

.product-copy,
.product-commercial,
.product-actions {
  position: relative !important;
  z-index: 4 !important;
  background: #ffffff !important;
}

.product-copy {
  border-top: 1px solid rgba(229, 234, 243, 0.95) !important;
}

.product-copy h3,
.product-copy p,
.meta-row,
.meta-row span,
.meta-row strong,
.price,
.stock-line,
.stock-line span {
  text-shadow: none !important;
}

.product-copy h3 {
  color: #071226 !important;
}

.meta-row span,
.meta-row strong {
  color: #0b5cff !important;
}

.sku-line,
.stock-line {
  color: #667085 !important;
}

.price {
  color: #071226 !important;
}

.availability {
  z-index: 5 !important;
  color: #ffffff !important;
  background: #0b5cff !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  box-shadow: 0 10px 18px rgba(11, 92, 255, 0.24) !important;
  text-shadow: none !important;
}

.availability.consult {
  background: #344054 !important;
}

/* Si alguna card tipo novedad tenía texto encima de la imagen, queda anulada */
.novelty-card::before,
.product-card::before {
  pointer-events: none !important;
}

.novelties-grid .product-copy,
.novelties-grid .product-commercial,
.novelties-grid .product-actions {
  background: #ffffff !important;
}


/* === UX: que Novedades no bloquee el flujo desde Categorías hacia Catálogo === */
.product-showcase {
  padding-top: 8px !important;
  padding-bottom: 12px !important;
}

.product-showcase .section-head {
  margin-bottom: 10px !important;
}

.product-showcase .section-head h2 {
  font-size: clamp(22px, 1.8vw, 28px) !important;
}

#catalog {
  scroll-margin-top: 140px !important;
}

.categories-section {
  padding-bottom: 12px !important;
}


/* === HOME FLOW: Categorías -> Catálogo -> Novedades === */

.categories-section {
  padding-bottom: 14px !important;
}

#catalog {
  scroll-margin-top: 145px !important;
  padding-top: 18px !important;
}

#novelties {
  padding-top: 24px !important;
  margin-top: 8px !important;
}

.product-showcase {
  border-top: 1px solid rgba(229, 234, 243, 0.95);
}

#featuredCategories .chip {
  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#featuredCategories .chip:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 92, 255, 0.36) !important;
  box-shadow: 0 18px 38px rgba(11, 92, 255, 0.12) !important;
}

.catalog-toolbar {
  padding-top: 4px !important;
}


/* === SCALE POLISH: encabezado y categorías más profesionales === */

/* Reducir impacto visual del hero */
.hero-pro {
  min-height: 410px !important;
  padding-top: 38px !important;
  padding-bottom: 64px !important;
}

.hero-pro h1 {
  font-size: clamp(40px, 4.4vw, 68px) !important;
  line-height: .98 !important;
  letter-spacing: -0.062em !important;
  max-width: 620px !important;
}

.hero-pro p {
  max-width: 545px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

/* Header superior más fino */
.header-main {
  min-height: 66px !important;
}

.top-ribbon-inner {
  min-height: 28px !important;
  font-size: 11px !important;
}

.premium-brand .brand-mark,
.brand-mark {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  font-size: 20px !important;
}

.premium-brand strong,
.brand strong {
  font-size: 24px !important;
  letter-spacing: -0.055em !important;
}

.premium-brand small,
.brand small {
  font-size: 9px !important;
}

.premium-search-box,
.search-box {
  height: 44px !important;
  border-radius: 14px !important;
}

.premium-catalog-trigger,
.catalog-trigger {
  height: 42px !important;
  border-radius: 13px !important;
  font-size: 13px !important;
}

.premium-nav-row,
.nav-row {
  height: 40px !important;
  gap: 26px !important;
  font-size: 12px !important;
}

/* Categorías destacadas más compactas */
.featured-categories {
  grid-template-columns: repeat(8, minmax(96px, 1fr)) !important;
  gap: 10px !important;
}

#featuredCategories .chip,
.featured-categories .chip {
  min-height: 68px !important;
  padding: 8px 10px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  gap: 5px !important;
}

#featuredCategories .chip::before,
.featured-categories .chip::before {
  width: 46px !important;
  height: 24px !important;
  border-radius: 10px !important;
}

.categories-section .section-head {
  margin-bottom: 12px !important;
}

.categories-section h2 {
  font-size: clamp(22px, 1.8vw, 28px) !important;
}

/* Ajuste en tablets */
@media (max-width: 1180px) {
  .featured-categories {
    grid-template-columns: repeat(4, minmax(96px, 1fr)) !important;
  }

  .hero-pro h1 {
    font-size: clamp(38px, 5vw, 60px) !important;
  }
}

/* Ajuste en móvil */
@media (max-width: 760px) {
  .hero-pro h1 {
    font-size: 38px !important;
  }

  .hero-pro p {
    font-size: 15px !important;
  }

  .featured-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #featuredCategories .chip,
  .featured-categories .chip {
    min-height: 64px !important;
  }
}


/* === UX AUTO SCROLL OFFSET === */
#catalog,
#novelties,
#order,
.detail-section,
.catalog-content,
.categories-section {
  scroll-margin-top: 150px !important;
}

@media (max-width: 760px) {
  #catalog,
  #novelties,
  #order,
  .detail-section,
  .catalog-content,
  .categories-section {
    scroll-margin-top: 110px !important;
  }
}


/* === UX: detalle del producto visible al seleccionar una card === */
.detail-section {
  scroll-margin-top: 150px !important;
}

.detail-focus-pulse .detail-card {
  animation: nexotechDetailPulse 1.1s ease;
}

@keyframes nexotechDetailPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(11, 92, 255, 0.28), 0 14px 34px rgba(15, 23, 42, 0.08);
    transform: translateY(0);
  }

  45% {
    box-shadow: 0 0 0 7px rgba(11, 92, 255, 0.12), 0 22px 48px rgba(15, 23, 42, 0.14);
    transform: translateY(-2px);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(11, 92, 255, 0), 0 14px 34px rgba(15, 23, 42, 0.08);
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .detail-section {
    scroll-margin-top: 110px !important;
  }
}



/* === NEXOTECH COMMERCIAL HOME CATEGORIES STYLE === */

.premium-nav-row,
.nav-row {
  gap: 22px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
}

.premium-nav-row a,
.nav-row a {
  font-size: 13px !important;
}

.featured-categories {
  grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
  gap: 12px !important;
}

.primary-home-category-chip {
  min-height: 78px !important;
  display: grid !important;
  grid-template-columns: 42px 1fr !important;
  align-items: center !important;
  justify-items: start !important;
  padding: 12px 14px !important;
  text-align: left !important;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, #ffffff, #f7faff) !important;
}

.primary-home-category-chip::before {
  display: none !important;
}

.primary-category-icon {
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 13px !important;
  background: #eef4ff !important;
  color: #0b5cff !important;
  font-size: 20px !important;
}

.primary-home-category-chip strong {
  color: #071226 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

#catalog {
  scroll-margin-top: 145px !important;
}

#novelties {
  margin-top: 12px !important;
  border-top: 1px solid rgba(229, 234, 243, 0.95) !important;
}

@media (max-width: 1180px) {
  .featured-categories {
    grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .featured-categories {
    grid-template-columns: 1fr !important;
  }
}


/* === NEXOTECH HOME COMMERCIAL PRODUCT SEARCH STYLE === */

.premium-nav-row,
.nav-row {
  gap: 20px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
}

.premium-nav-row a,
.nav-row a {
  font-size: 12.5px !important;
  font-weight: 950 !important;
}

.featured-categories {
  grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
  gap: 12px !important;
}

.nx-commercial-chip {
  min-height: 78px !important;
  display: grid !important;
  grid-template-columns: 42px 1fr !important;
  align-items: center !important;
  justify-items: start !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  text-align: left !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff, #f7faff) !important;
}

.nx-commercial-chip::before {
  display: none !important;
}

.nx-commercial-icon {
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 13px !important;
  background: #eef4ff !important;
  color: #0b5cff !important;
  font-size: 20px !important;
}

.nx-commercial-chip strong {
  display: block !important;
  color: #071226 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.nx-commercial-chip small {
  display: block !important;
  margin-top: 2px !important;
  color: #667085 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.home-commercial-products {
  padding-top: 10px !important;
  padding-bottom: 12px !important;
}

.home-commercial-tabs {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding-bottom: 12px !important;
  margin-bottom: 6px !important;
}

.home-commercial-tabs button {
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid #e5eaf3 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #344054 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05) !important;
}

.home-commercial-tabs button.active {
  color: #ffffff !important;
  background: #0b5cff !important;
  border-color: #0b5cff !important;
  box-shadow: 0 14px 28px rgba(11, 92, 255, 0.20) !important;
}

.home-commercial-tabs small {
  min-width: 22px !important;
  height: 22px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: rgba(11, 92, 255, 0.10) !important;
  color: inherit !important;
  font-size: 11px !important;
}

.home-commercial-tabs button.active small {
  background: rgba(255, 255, 255, 0.20) !important;
}

.home-commercial-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.home-commercial-card {
  min-height: 360px !important;
}

#catalog {
  scroll-margin-top: 145px !important;
}

#novelties {
  margin-top: 12px !important;
  border-top: 1px solid rgba(229, 234, 243, 0.95) !important;
}

@media (max-width: 1180px) {
  .featured-categories,
  .home-commercial-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .featured-categories,
  .home-commercial-grid {
    grid-template-columns: 1fr !important;
  }
}

/* === ADMIN OWN PRODUCTS PANEL === */

.own-product-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(11, 92, 255, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(11, 92, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.own-product-panel h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.own-product-badge {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #0b5cff;
  background: #eef4ff;
  font-size: 12px;
  font-weight: 950;
}

.own-product-help {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.own-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.own-product-wide {
  grid-column: 1 / -1;
}

.own-product-preview {
  min-height: 130px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.own-product-preview img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  display: block;
}

.own-product-preview img:not([src]) {
  display: none;
}

.own-product-preview span {
  color: #98a2b3;
  font-size: 13px;
  font-weight: 850;
}

.own-product-preview img[src] + span {
  display: none;
}

.own-product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.own-product-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 850;
}

.own-product-status[data-type="ok"] {
  color: #079455;
}

.own-product-status[data-type="error"] {
  color: #b42318;
}

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


/* === NexoTech City Stock Selector === */
.city-stock-modal[hidden],
.city-stock-chip[hidden] {
  display: none !important;
}

.city-stock-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.city-stock-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.city-stock-modal__card {
  position: relative;
  width: min(620px, 100%);
  border-radius: 28px;
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34%),
    #ffffff;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.city-stock-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.city-stock-modal__card h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.city-stock-modal__card p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.55;
}

.city-stock-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.city-stock-option {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 18px;
  padding: 16px;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.city-stock-option:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.45);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.14);
}

.city-stock-option strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 4px;
}

.city-stock-option span {
  display: block;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.35;
}

.city-stock-chip {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9000;
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.city-stock-chip span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.city-stock-chip strong {
  color: #1d4ed8;
  font-size: 0.9rem;
}

body.city-stock-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .city-stock-modal {
    padding: 16px;
  }

  .city-stock-modal__card {
    padding: 24px;
    border-radius: 22px;
  }

  .city-stock-modal__grid {
    grid-template-columns: 1fr;
  }

  .city-stock-chip {
    left: 16px;
    right: 16px;
    justify-content: center;
  }
}

/* =========================================================
   Visual polish: product cards + availability states
   ========================================================= */

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.13);
  border-color: rgba(11, 92, 255, 0.22);
}

.product-image-wrap {
  background:
    radial-gradient(circle at 50% 30%, rgba(11, 92, 255, .08), transparent 42%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.availability {
  max-width: calc(100% - 20px);
  white-space: normal;
  text-align: center;
  line-height: 1.05;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: .02em;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .13);
}

.availability.status-city {
  background: #079455;
  color: #fff;
}

.availability.status-distribution_confirmation {
  background: #f79009;
  color: #111827;
}

.availability.status-showroom_only {
  background: #155eef;
  color: #fff;
}

.availability.status-out_of_stock {
  background: #667085;
  color: #fff;
}

.stock-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  min-height: 42px;
  padding: 10px 11px;
  border-radius: 14px;
  background: rgba(248, 250, 252, .95);
  border: 1px solid rgba(15, 23, 42, .07);
}

.stock-line span,
.stock-line span:first-child,
.stock-line span:last-child {
  overflow: visible;
  white-space: normal;
  text-overflow: unset;
  text-align: left;
  line-height: 1.25;
}

.stock-line span:first-child {
  color: #101828;
  font-size: 12px;
  font-weight: 900;
}

.stock-line span:last-child {
  color: #475467;
  font-size: 11.5px;
  font-weight: 800;
}

.availability-mode-city .stock-line {
  background: rgba(236, 253, 243, .9);
  border-color: rgba(7, 148, 85, .18);
}

.availability-mode-city .stock-line span:first-child {
  color: #067647;
}

.availability-mode-distribution_confirmation .stock-line {
  background: rgba(255, 250, 235, .96);
  border-color: rgba(247, 144, 9, .25);
}

.availability-mode-distribution_confirmation .stock-line span:first-child {
  color: #b54708;
}

.availability-mode-showroom_only .stock-line {
  background: rgba(239, 248, 255, .96);
  border-color: rgba(21, 94, 239, .18);
}

.availability-mode-showroom_only .stock-line span:first-child {
  color: #175cd3;
}

.availability-mode-out_of_stock .stock-line {
  background: rgba(242, 244, 247, .96);
  border-color: rgba(102, 112, 133, .18);
}

.product-actions {
  align-items: stretch;
}

.product-actions .primary-btn,
.product-actions .secondary-btn {
  min-height: 42px;
  border-radius: 13px;
  font-weight: 900;
}

.product-actions .consult-action {
  background: #111827;
  color: #fff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, .18);
}

.availability-mode-distribution_confirmation .product-actions .consult-action {
  background: #f79009;
  color: #111827;
}

.availability-mode-showroom_only .product-actions .consult-action {
  background: #155eef;
  color: #fff;
}

.availability-mode-out_of_stock .product-actions .consult-action {
  background: #667085;
  color: #fff;
}

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

  .product-actions .primary-btn,
  .product-actions .secondary-btn {
    width: 100%;
  }
}


/* =========================================================
   Visual polish: detail availability + stock rows
   ========================================================= */

#detailSku {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.detail-sku-code,
.detail-stock-summary,
.detail-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.detail-sku-code {
  color: #344054;
  background: #f2f4f7;
}

.detail-stock-summary {
  color: #101828;
  background: #eef5ff;
}

.detail-status-pill.status-city {
  background: #079455;
  color: #fff;
}

.detail-status-pill.status-distribution_confirmation {
  background: #f79009;
  color: #111827;
}

.detail-status-pill.status-showroom_only {
  background: #155eef;
  color: #fff;
}

.detail-status-pill.status-out_of_stock {
  background: #667085;
  color: #fff;
}

.stock-table {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.stock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}

.stock-row strong {
  display: block;
  color: #101828;
  font-size: 13px;
  line-height: 1.2;
}

.stock-row small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 11.5px;
  font-weight: 800;
}

.stock-row span {
  font-size: 12px;
  font-weight: 950;
  color: #101828;
  white-space: nowrap;
}

.stock-row-city {
  background: rgba(236, 253, 243, .82);
  border-color: rgba(7, 148, 85, .18);
}

.stock-row-distribution_confirmation {
  background: rgba(255, 250, 235, .95);
  border-color: rgba(247, 144, 9, .26);
}

.stock-row-showroom_only {
  background: rgba(239, 248, 255, .95);
  border-color: rgba(21, 94, 239, .18);
}

.stock-row-out_of_stock {
  background: rgba(242, 244, 247, .95);
  border-color: rgba(102, 112, 133, .20);
}

@media (max-width: 720px) {
  #detailSku {
    align-items: stretch;
  }

  .detail-sku-code,
  .detail-stock-summary,
  .detail-status-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

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

  .stock-row span {
    white-space: normal;
  }
}


/* =========================================================
   VISUAL POLISH LAYOUT - NexoTech cards/detail/mobile
   ========================================================= */

.product-grid,
.novelties-grid {
  align-items: stretch;
}

.product-card {
  isolation: isolate;
  min-height: 100%;
}

.product-copy h3 {
  line-height: 1.16;
  letter-spacing: -.02em;
}

.product-copy .sku-line {
  font-size: 11.5px;
  color: #667085;
  font-weight: 800;
}

.product-commercial .price {
  letter-spacing: -.03em;
}

.rating-line {
  opacity: .9;
}

.availability.status-city {
  background: #079455;
  color: #fff;
}

.availability.status-distribution_confirmation {
  background: #f79009;
  color: #101828;
}

.availability.status-showroom_only {
  background: #155eef;
  color: #fff;
}

.availability.status-out_of_stock {
  background: #667085;
  color: #fff;
}

.stock-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 10px 11px;
  border-radius: 14px;
  min-height: 44px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .07);
}

.stock-line span,
.stock-line span:first-child,
.stock-line span:last-child {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  text-align: left;
  line-height: 1.25;
}

.stock-line span:first-child {
  color: #101828;
  font-size: 12px;
  font-weight: 950;
}

.stock-line span:last-child {
  color: #475467;
  font-size: 11.5px;
  font-weight: 850;
}

.availability-mode-city .stock-line {
  background: rgba(236, 253, 243, .9);
  border-color: rgba(7, 148, 85, .18);
}

.availability-mode-city .stock-line span:first-child {
  color: #067647;
}

.availability-mode-distribution_confirmation .stock-line {
  background: rgba(255, 250, 235, .96);
  border-color: rgba(247, 144, 9, .28);
}

.availability-mode-distribution_confirmation .stock-line span:first-child {
  color: #b54708;
}

.availability-mode-showroom_only .stock-line {
  background: rgba(239, 248, 255, .96);
  border-color: rgba(21, 94, 239, .20);
}

.availability-mode-showroom_only .stock-line span:first-child {
  color: #175cd3;
}

.product-actions .primary-btn,
.product-actions .secondary-btn {
  min-height: 42px;
  border-radius: 13px;
  font-weight: 950;
}

.product-actions .consult-action {
  background: #111827;
  color: #fff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, .18);
}

.availability-mode-distribution_confirmation .product-actions .consult-action {
  background: #f79009;
  color: #101828;
}

.availability-mode-showroom_only .product-actions .consult-action {
  background: #155eef;
  color: #fff;
}

.availability-mode-out_of_stock .product-actions .consult-action {
  background: #667085;
  color: #fff;
}

.detail-section {
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(11, 92, 255, .09), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
  border: 1px solid rgba(15, 23, 42, .08);
}

#detailImage {
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, .14));
}

#detailName {
  letter-spacing: -.03em;
  line-height: 1.08;
}

#detailPrice {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 16px;
  background: #101828;
  color: #fff;
  box-shadow: 0 16px 34px rgba(16, 24, 40, .20);
}

#detailSku {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.detail-sku-code,
.detail-stock-summary,
.detail-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.detail-sku-code {
  color: #344054;
  background: #f2f4f7;
}

.detail-stock-summary {
  color: #101828;
  background: #eef5ff;
}

.detail-status-pill.status-city {
  background: #079455;
  color: #fff;
}

.detail-status-pill.status-distribution_confirmation {
  background: #f79009;
  color: #101828;
}

.detail-status-pill.status-showroom_only {
  background: #155eef;
  color: #fff;
}

.detail-status-pill.status-out_of_stock {
  background: #667085;
  color: #fff;
}

.stock-table {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.stock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}

.stock-row strong {
  display: block;
  color: #101828;
  font-size: 13px;
  line-height: 1.2;
}

.stock-row small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 11.5px;
  font-weight: 800;
}

.stock-row span {
  font-size: 12px;
  font-weight: 950;
  color: #101828;
  white-space: nowrap;
}

.stock-row-city {
  background: rgba(236, 253, 243, .82);
  border-color: rgba(7, 148, 85, .18);
}

.stock-row-distribution_confirmation {
  background: rgba(255, 250, 235, .95);
  border-color: rgba(247, 144, 9, .26);
}

.stock-row-showroom_only {
  background: rgba(239, 248, 255, .95);
  border-color: rgba(21, 94, 239, .18);
}

.stock-row-out_of_stock {
  background: rgba(242, 244, 247, .95);
  border-color: rgba(102, 112, 133, .20);
}

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

  .product-actions .primary-btn,
  .product-actions .secondary-btn {
    width: 100%;
  }

  #detailSku {
    align-items: stretch;
  }

  .detail-sku-code,
  .detail-stock-summary,
  .detail-status-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

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

  .stock-row span {
    white-space: normal;
  }
}


/* =========================================================
   VISUAL POLISH HEADER / HERO / FOOTER - 20260615
   ========================================================= */

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(11, 92, 255, .08), transparent 28%),
    radial-gradient(circle at 95% 8%, rgba(0, 63, 199, .06), transparent 30%),
    #f5f8ff;
}

.site-header.premium-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
}

.top-ribbon {
  background:
    linear-gradient(90deg, #061124 0%, #0b2c6f 48%, #061124 100%);
  color: #eaf1ff;
  overflow: hidden;
}

.top-ribbon-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.top-ribbon-inner span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.top-ribbon-inner span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, .14);
}

.header-main {
  max-width: 1380px;
  margin: 0 auto;
  padding: 13px 24px;
  gap: 16px;
}

.premium-brand {
  padding: 8px 10px 8px 0;
  border-radius: 18px;
  text-decoration: none;
}

.premium-brand .brand-mark,
.brand-mark {
  background:
    radial-gradient(circle at 35% 20%, rgba(255,255,255,.95), transparent 20%),
    linear-gradient(135deg, #0b5cff 0%, #003fc7 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow:
    0 16px 28px rgba(11, 92, 255, .28),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.premium-brand strong,
.brand strong {
  letter-spacing: -.065em;
}

.premium-brand small,
.brand small {
  color: #667085;
}

.premium-catalog-trigger {
  height: 46px;
  padding: 0 16px;
  border-radius: 15px;
  border: 1px solid rgba(11, 92, 255, .17);
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  color: #0b3b91;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(11, 92, 255, .10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.premium-catalog-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(11, 92, 255, .15);
}

.premium-search-box {
  min-height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, .07),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.premium-search-box:focus-within {
  border-color: rgba(11, 92, 255, .42);
  box-shadow:
    0 0 0 5px rgba(11, 92, 255, .10),
    0 20px 42px rgba(11, 92, 255, .12);
}

.premium-search-box input {
  font-size: 14px;
  color: #101828;
}

.premium-search-box span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-right: 4px;
  border-radius: 50%;
  background: #eef5ff;
  color: #0b5cff;
}

.premium-header-actions {
  gap: 10px;
}

.premium-header-actions .header-link,
.premium-account,
.premium-cart {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255,255,255,.72);
  color: #101828;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.premium-header-actions .header-link:hover,
.premium-account:hover,
.premium-cart:hover {
  background: #eef5ff;
  color: #0b5cff;
  transform: translateY(-1px);
}

.premium-cart {
  background: #101828;
  color: #fff;
  border-color: rgba(16,24,40,.9);
}

.premium-cart:hover {
  background: #0b5cff;
  color: #fff;
}

.premium-cart strong {
  background: #fff;
  color: #0b5cff;
}

.premium-nav-row {
  max-width: 1380px;
  margin: 0 auto;
  padding: 8px 24px 14px;
  gap: 10px;
}

.premium-nav-row a,
.catalog-live-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15, 23, 42, .08);
  color: #344054;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.premium-nav-row a.active,
.premium-nav-row a:hover {
  background: #0b5cff;
  color: #fff;
  border-color: #0b5cff;
}

.catalog-live-pill {
  margin-left: auto;
  background: rgba(236, 253, 243, .95);
  border-color: rgba(7, 148, 85, .18);
  color: #067647;
}

.hero-pro {
  max-width: 1380px;
  margin: 26px auto 0;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, .25), transparent 24%),
    radial-gradient(circle at 15% 0%, rgba(11, 92, 255, .24), transparent 30%),
    linear-gradient(135deg, #061124 0%, #0b2c6f 48%, #071a35 100%);
  box-shadow: 0 30px 90px rgba(15, 23, 42, .22);
  border: 1px solid rgba(255,255,255,.14);
}

.hero-content {
  max-width: 650px;
}

.hero-content .eyebrow {
  color: #bfdbfe;
  font-weight: 950;
  letter-spacing: .14em;
}

.hero-pro h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .93;
  letter-spacing: -.075em;
  text-wrap: balance;
}

.hero-pro p {
  color: rgba(255,255,255,.76);
  font-size: clamp(16px, 1.4vw, 20px);
}

.hero-actions .primary-btn {
  min-height: 50px;
  padding-inline: 20px;
  border-radius: 16px;
  background: #ffffff;
  color: #0b2c6f;
  box-shadow: 0 18px 40px rgba(255,255,255,.12);
}

.hero-actions .primary-btn:hover {
  background: #eaf1ff;
  color: #0b5cff;
}

.hero-actions .play-btn {
  min-height: 50px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.hero-actions .play-btn span {
  background: #60a5fa;
  color: #061124;
}

.hero-final-product-image {
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.24));
}

.hero-final-product-image img {
  transform: scale(1.04);
}

.trust-strip {
  max-width: 1320px;
  margin: -22px auto 26px;
  position: relative;
  z-index: 4;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 22px 54px rgba(15, 23, 42, .10);
  backdrop-filter: blur(16px);
}

.trust-strip article {
  padding: 18px;
}

.trust-icon {
  background: linear-gradient(135deg, #eef5ff, #dbeafe);
}

.site-footer {
  margin-top: 42px;
  border-radius: 34px 34px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(96, 165, 250, .22), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(11, 92, 255, .18), transparent 28%),
    linear-gradient(135deg, #061124 0%, #071a35 100%);
  border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 -20px 60px rgba(15, 23, 42, .12);
}

.footer-brand {
  align-items: flex-start;
}

.footer-brand p {
  max-width: 320px;
}

.footer-socials span {
  transition: transform .16s ease, background .16s ease;
}

.footer-socials span:hover {
  transform: translateY(-2px);
  background: rgba(96, 165, 250, .24);
}

.site-footer nav a {
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.site-footer nav a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-newsletter label {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

.footer-newsletter input {
  color: #101828;
}

.payment-logos b {
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

@media (max-width: 980px) {
  .top-ribbon-inner {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px;
  }

  .header-main {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .premium-brand {
    justify-content: center;
  }

  .premium-catalog-trigger,
  .premium-search-box,
  .premium-header-actions {
    width: 100%;
  }

  .premium-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .premium-header-actions .header-link {
    display: none;
  }

  .premium-nav-row {
    overflow-x: auto;
    padding-inline: 18px;
  }

  .catalog-live-pill {
    margin-left: 0;
    white-space: nowrap;
  }

  .hero-pro {
    margin: 16px 14px 0;
    border-radius: 26px;
    padding: 34px 22px 46px;
  }

  .hero-pro h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

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

  .hero-actions .primary-btn,
  .hero-actions .play-btn {
    width: 100%;
    justify-content: center;
  }

  .trust-strip {
    margin: 14px 14px 24px;
    border-radius: 22px;
  }

  .site-footer {
    border-radius: 28px 28px 0 0;
  }
}


/* =========================================================
   FIX HERO ALIGNMENT / CONTRAST - 20260615
   ========================================================= */

.hero-pro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(440px, 1.14fr);
  align-items: center;
  gap: 28px;
  min-height: 430px;
  padding: 58px 44px;
  background:
    radial-gradient(circle at 78% 18%, rgba(11, 92, 255, .16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 48%, #eaf2ff 100%);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .12);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 10px 0;
}

.hero-content .eyebrow {
  color: #344054;
}

.hero-content .eyebrow span,
.hero-pro .eyebrow span {
  background: #0b5cff;
}

.hero-pro h1 {
  color: #061124;
  text-shadow: none;
  max-width: 560px;
}

.hero-pro p {
  color: #344054;
  max-width: 520px;
  font-weight: 850;
}

.hero-actions .primary-btn {
  background: #0b5cff;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(11, 92, 255, .22);
}

.hero-actions .primary-btn:hover {
  background: #003fc7;
  color: #ffffff;
}

.hero-actions .play-btn {
  background: #ffffff;
  color: #0b2c6f;
  border: 1px solid rgba(11, 92, 255, .14);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}

.hero-actions .play-btn span {
  background: #eef5ff;
  color: #0b5cff;
}

.hero-final-product-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 360px;
  overflow: visible;
}

.hero-final-product-image img {
  width: min(100%, 620px);
  max-height: 360px;
  object-fit: contain;
  transform: none;
  margin-left: auto;
  filter: drop-shadow(0 24px 42px rgba(15, 23, 42, .18));
}

.hero-final-product-image::before,
.hero-final-product-image::after {
  pointer-events: none;
}

.trust-strip {
  margin-top: -30px;
}

@media (max-width: 980px) {
  .hero-pro {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 22px 34px;
    min-height: auto;
  }

  .hero-content {
    max-width: none;
    text-align: left;
  }

  .hero-pro h1 {
    color: #061124;
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-pro p {
    color: #344054;
  }

  .hero-final-product-image {
    min-height: auto;
    justify-content: center;
  }

  .hero-final-product-image img {
    width: 100%;
    max-height: 260px;
  }

  .trust-strip {
    margin-top: 14px;
  }
}


/* =========================================================
   FIX DEFINITIVO HERO DESKTOP/MOBILE - 20260615
   ========================================================= */

.hero-pro {
  max-width: 1320px !important;
  margin: 28px auto 0 !important;
  padding: 52px 46px 72px !important;
  min-height: 430px !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr) !important;
  align-items: center !important;
  gap: 42px !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 78% 16%, rgba(11, 92, 255, .13), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 50%, #edf5ff 100%) !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .12) !important;
}

.hero-content {
  position: relative !important;
  z-index: 3 !important;
  max-width: 560px !important;
  padding: 0 !important;
}

.hero-pro h1 {
  color: #061124 !important;
  text-shadow: none !important;
  max-width: 560px !important;
  font-size: clamp(44px, 4.6vw, 68px) !important;
  line-height: .95 !important;
  letter-spacing: -.07em !important;
}

.hero-pro p {
  color: #344054 !important;
  max-width: 520px !important;
  font-weight: 850 !important;
}

.hero-content .eyebrow,
.hero-pro .eyebrow {
  color: #344054 !important;
}

.hero-visual-pro.hero-final-product-image,
.hero-final-product-image {
  position: relative !important;
  inset: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 100%) !important;
  box-shadow: 0 24px 56px rgba(15, 23, 42, .16) !important;
  filter: none !important;
}

.hero-final-product-image::before,
.hero-final-product-image::after,
.hero-visual-pro::before,
.hero-visual-pro::after {
  display: none !important;
  content: none !important;
}

.hero-final-product-image img,
.hero-visual-pro.hero-final-product-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
  margin: 0 !important;
  filter: none !important;
}

.hero-actions .primary-btn {
  background: #0b5cff !important;
  color: #fff !important;
}

.hero-actions .play-btn {
  background: #fff !important;
  color: #0b2c6f !important;
  border: 1px solid rgba(11, 92, 255, .16) !important;
}

.trust-strip {
  max-width: 1240px !important;
  margin: -34px auto 34px !important;
  position: relative !important;
  z-index: 8 !important;
  overflow: hidden !important;
}

.trust-strip article {
  min-height: 78px !important;
  align-items: center !important;
}

@media (max-width: 980px) {
  .hero-pro {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    margin: 18px 14px 0 !important;
    padding: 34px 22px 32px !important;
    min-height: auto !important;
    border-radius: 26px !important;
  }

  .hero-content {
    max-width: none !important;
  }

  .hero-pro h1 {
    font-size: clamp(38px, 12vw, 54px) !important;
    max-width: none !important;
  }

  .hero-pro p {
    max-width: none !important;
  }

  .hero-visual-pro.hero-final-product-image,
  .hero-final-product-image {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    border-radius: 22px !important;
  }

  .trust-strip {
    margin: 16px 14px 28px !important;
  }
}


/* =========================================================
   FIX HEADER / HERO / TRUST STRIP VERTICAL ALIGNMENT - 20260615
   ========================================================= */

.site-header.premium-header {
  padding-bottom: 0 !important;
}

.header-main {
  padding-top: 10px !important;
  padding-bottom: 6px !important;
}

.premium-nav-row,
.nav-row {
  padding-top: 0 !important;
  padding-bottom: 6px !important;
  transform: translateY(-6px);
  margin-bottom: -8px !important;
}

.hero-pro {
  margin-top: 16px !important;
}

.trust-strip {
  margin-top: -52px !important;
  margin-bottom: 34px !important;
  transform: translateY(-4px);
}

.categories-section {
  margin-top: 28px !important;
}

@media (max-width: 980px) {
  .premium-nav-row,
  .nav-row {
    transform: translateY(-4px);
    margin-bottom: -4px !important;
  }

  .hero-pro {
    margin-top: 12px !important;
  }

  .trust-strip {
    margin-top: 14px !important;
    transform: none;
  }

  .categories-section {
    margin-top: 22px !important;
  }
}


/* =========================================================
   PRODUCT DETAIL PREMIUM LAYOUT - 20260615
   ========================================================= */

.detail-section {
  max-width: 1320px;
  margin: 46px auto;
  padding: 0 18px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(420px, 1.08fr);
  gap: 34px;
  align-items: stretch;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 12%, rgba(11,92,255,.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 28px 80px rgba(15,23,42,.10);
}

.detail-image-wrap {
  min-height: 460px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 34%, rgba(11,92,255,.12), transparent 36%),
    linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
  border: 1px solid rgba(15,23,42,.07);
  overflow: hidden;
}

.detail-image-wrap img,
#detailImage {
  width: 92%;
  height: 92%;
  max-height: 420px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 38px rgba(15,23,42,.16));
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

#detailCategory {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef5ff;
  color: #0b5cff;
  font-weight: 950;
}

#detailName {
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -.055em;
  color: #061124;
}

#detailDescription {
  margin: 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 750;
}

.detail-price-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 4px;
}

#detailPrice {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 18px;
  background: #101828;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 18px 38px rgba(16,24,40,.20);
  white-space: nowrap;
}

#detailSku {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.spec-list div {
  padding: 12px 13px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
}

.spec-list dt {
  color: #667085;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.spec-list dd {
  margin: 4px 0 0;
  color: #101828;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.28;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.detail-actions button {
  min-height: 50px;
  border-radius: 16px;
  font-weight: 950;
}

#quoteSelectedWhatsApp {
  border-color: rgba(7,148,85,.22);
  color: #067647;
  background: rgba(236,253,243,.9);
}

#quoteSelectedWhatsApp:hover {
  background: #dcfae6;
}

.documents-list {
  display: grid;
  gap: 8px;
}

.documents-list a,
.documents-list span {
  padding: 10px 12px;
  border-radius: 13px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.07);
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .detail-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px;
    border-radius: 24px;
  }

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

  #detailImage {
    max-height: 280px;
  }

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

  #detailPrice {
    width: fit-content;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

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


/* =========================================================
   CATALOG / FILTERS PREMIUM LAYOUT - 20260615
   ========================================================= */

.catalog-section {
  max-width: 1380px;
  margin: 48px auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: minmax(260px, 310px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filters-card {
  position: sticky;
  top: 154px;
  border-radius: 26px;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 0%, rgba(11,92,255,.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 22px 58px rgba(15,23,42,.08);
}

.filters-card h2 {
  margin: 4px 0 4px;
  letter-spacing: -.045em;
}

.catalog-status {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.filters-card label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 950;
  margin-top: 14px;
}

.filters-card input,
.filters-card select {
  min-height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: #101828;
  font-weight: 800;
  padding: 0 12px;
  outline: none;
}

.filters-card input:focus,
.filters-card select:focus {
  border-color: rgba(11,92,255,.45);
  box-shadow: 0 0 0 4px rgba(11,92,255,.10);
}

.category-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.category-list button {
  min-height: 38px;
  border-radius: 12px;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 900;
}

.category-list button.active {
  background: #0b5cff;
  color: #fff;
  border-color: #0b5cff;
  box-shadow: 0 14px 28px rgba(11,92,255,.18);
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 11px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.07);
}

.check-row input {
  min-height: auto;
}

.catalog-content {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 44px rgba(15,23,42,.07);
  backdrop-filter: blur(14px);
}

#resultCount {
  margin: 0;
  letter-spacing: -.045em;
}

.catalog-toolbar p,
.catalog-toolbar small {
  color: #667085;
  font-weight: 800;
}

.view-options,
.sort-options {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}

.view-btn {
  min-height: 38px;
  min-width: 42px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: #344054;
  font-weight: 950;
}

.view-btn.active {
  background: #101828;
  color: #fff;
  border-color: #101828;
}

#sortSelect {
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  padding: 0 12px;
  font-weight: 850;
  background: #fff;
}

.product-grid {
  gap: 18px;
}

.load-more {
  display: block;
  min-height: 48px;
  width: min(100%, 360px);
  margin: 26px auto 0;
  border-radius: 16px;
  font-weight: 950;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15,23,42,.07);
}

.catalog-message {
  grid-column: 1 / -1;
  border-radius: 22px;
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 44px rgba(15,23,42,.07);
}

@media (max-width: 980px) {
  .catalog-section {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .filters-card {
    position: static;
    top: auto;
    padding: 16px;
  }

  .category-list {
    display: flex;
    max-height: none;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }

  .category-list button {
    white-space: nowrap;
    margin-bottom: 0;
    min-width: max-content;
  }

  .catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .view-options,
  .sort-options {
    width: 100%;
  }

  #sortSelect {
    width: 100%;
  }
}


/* =========================================================
   PRODUCT CARDS PREMIUM POLISH - 20260615
   ========================================================= */

.product-card,
.novelty-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(11,92,255,.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 18px 48px rgba(15,23,42,.075) !important;
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.product-card:hover,
.novelty-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11,92,255,.20) !important;
  box-shadow: 0 28px 70px rgba(15,23,42,.13) !important;
}

.product-card::before,
.novelty-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.75), transparent 38%);
  opacity: .85;
}

.product-card > *,
.novelty-card > * {
  position: relative;
  z-index: 1;
}

.product-card img,
.novelty-card img,
.product-card .product-image,
.novelty-card .product-image {
  transition:
    transform .28s ease,
    filter .28s ease;
}

.product-card:hover img,
.novelty-card:hover img {
  transform: scale(1.045);
  filter: drop-shadow(0 18px 30px rgba(15,23,42,.16));
}

.product-card .product-image-wrap,
.novelty-card .product-image-wrap,
.product-card figure,
.novelty-card figure {
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 50% 35%, rgba(11,92,255,.10), transparent 38%),
    linear-gradient(180deg, #f6faff 0%, #eef5ff 100%) !important;
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
}

.product-card h3,
.novelty-card h3 {
  color: #061124 !important;
  letter-spacing: -.035em;
  line-height: 1.12;
  font-weight: 950 !important;
}

.product-card p,
.novelty-card p {
  color: #667085;
  font-weight: 750;
}

.product-card .price,
.novelty-card .price,
.product-card .product-price,
.novelty-card .product-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 14px;
  background: #101828;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 950 !important;
  letter-spacing: -.035em;
  box-shadow: 0 14px 28px rgba(16,24,40,.18);
}

.product-card .availability,
.novelty-card .availability {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 28px;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .015em;
  border: 1px solid transparent;
}

.product-card .availability::before,
.novelty-card .availability::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.status-city,
.status-available,
.status-in_stock {
  background: #ecfdf3 !important;
  color: #067647 !important;
  border-color: rgba(7,148,85,.18) !important;
}

.status-distribution_confirmation {
  background: #fffaeb !important;
  color: #b54708 !important;
  border-color: rgba(220,104,3,.20) !important;
}

.status-showroom_only {
  background: #eff8ff !important;
  color: #175cd3 !important;
  border-color: rgba(21,112,239,.18) !important;
}

.status-out_of_stock,
.status-unavailable {
  background: #f2f4f7 !important;
  color: #667085 !important;
  border-color: rgba(102,112,133,.18) !important;
}

.product-card .stock-line,
.novelty-card .stock-line {
  display: grid;
  gap: 6px;
  padding: 10px 11px;
  border-radius: 15px;
  background: rgba(248,250,252,.92);
  border: 1px solid rgba(15,23,42,.06);
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}

.product-card .stock-line span:first-child,
.novelty-card .stock-line span:first-child {
  color: #101828;
  font-weight: 950;
}

.product-card .stock-line span:last-child,
.novelty-card .stock-line span:last-child {
  color: #667085;
}

.product-card .product-actions,
.novelty-card .product-actions,
.product-card .card-actions,
.novelty-card .card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 12px;
}

.product-card button,
.novelty-card button {
  min-height: 42px;
  border-radius: 14px !important;
  font-weight: 950 !important;
}

.product-card button.primary-btn,
.novelty-card button.primary-btn {
  box-shadow: 0 14px 28px rgba(11,92,255,.20);
}

.product-card button.secondary-btn,
.novelty-card button.secondary-btn {
  background: #fff;
  border-color: rgba(15,23,42,.10);
}

.product-card.availability-mode-distribution_confirmation button.primary-btn,
.product-card.availability-mode-showroom_only button.primary-btn,
.product-card.availability-mode-out_of_stock button.primary-btn {
  background: #101828 !important;
  box-shadow: 0 14px 28px rgba(16,24,40,.16);
}

.product-card.availability-mode-city {
  border-color: rgba(7,148,85,.12) !important;
}

.product-card.availability-mode-distribution_confirmation {
  border-color: rgba(220,104,3,.15) !important;
}

.product-card.availability-mode-showroom_only {
  border-color: rgba(21,112,239,.15) !important;
}

.product-card.availability-mode-out_of_stock {
  opacity: .88;
}

@media (max-width: 760px) {
  .product-card,
  .novelty-card {
    border-radius: 20px !important;
  }

  .product-card .price,
  .novelty-card .price,
  .product-card .product-price,
  .novelty-card .product-price {
    font-size: 18px !important;
  }

  .product-card .product-actions,
  .novelty-card .product-actions,
  .product-card .card-actions,
  .novelty-card .card-actions {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   CART / CHECKOUT PREMIUM POLISH - 20260615
   ========================================================= */

.quote-panel {
  right: 22px !important;
  bottom: 22px !important;
  min-width: 260px;
  padding: 15px 16px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(11,92,255,.18), transparent 36%),
    linear-gradient(135deg, #101828 0%, #0b1220 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.34) !important;
  backdrop-filter: blur(16px);
}

.quote-panel strong {
  color: #fff !important;
}

.quote-panel span {
  color: rgba(255,255,255,.72) !important;
  font-weight: 800;
}

#quotePanelTotal {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.10);
}

.cart-dialog {
  width: min(960px, calc(100vw - 24px));
  max-height: min(92vh, 920px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  overflow: hidden;
}

.cart-dialog::backdrop {
  background: rgba(2, 6, 23, .62);
  backdrop-filter: blur(10px);
}

.cart-drawer {
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(11,92,255,.09), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 34px 100px rgba(2,6,23,.34);
}

.cart-dialog .drawer-head {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 22px 24px 18px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(16px);
}

.cart-dialog .drawer-head h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.055em;
  color: #061124;
}

.cart-dialog .icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f2f4f7;
  color: #101828;
  border: 1px solid rgba(15,23,42,.08);
  font-size: 24px;
  font-weight: 900;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 20px 24px 10px;
}

.cart-items > div,
.cart-items article {
  border-radius: 20px !important;
  background: #fff !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.cart-summary {
  margin: 14px 24px 18px;
  padding: 16px;
  border-radius: 22px;
  background: #101828;
  color: #fff;
  box-shadow: 0 20px 46px rgba(16,24,40,.18);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 8px 0;
  color: rgba(255,255,255,.72);
  font-weight: 850;
}

.cart-summary strong {
  color: #fff;
}

.cart-summary .total-row {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 18px;
}

.cart-summary .total-row strong {
  font-size: 26px;
  letter-spacing: -.04em;
}

.checkout-form {
  display: grid;
  gap: 14px;
  padding: 0 24px 24px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 950;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 15px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: #101828;
  padding: 0 13px;
  font-weight: 850;
  outline: none;
}

.checkout-form textarea {
  min-height: 86px;
  padding: 12px 13px;
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: rgba(11,92,255,.45);
  box-shadow: 0 0 0 4px rgba(11,92,255,.10);
}

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

.payment-box {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(11,92,255,.13), transparent 32%),
    linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid rgba(11,92,255,.14);
}

.payment-box::before {
  content: "QR";
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 42px;
  font-weight: 1000;
  letter-spacing: -.08em;
  color: rgba(11,92,255,.10);
}

.payment-box strong {
  display: block;
  color: #0b5cff;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.payment-box p {
  margin: 7px 0 0;
  color: #475467;
  line-height: 1.5;
  font-weight: 750;
}

.payment-box.active {
  background:
    radial-gradient(circle at 8% 0%, rgba(7,148,85,.16), transparent 32%),
    linear-gradient(180deg, #ecfdf3 0%, #ffffff 100%);
  border-color: rgba(7,148,85,.18);
}

.payment-box.active strong {
  color: #067647;
}

.qr-payment-area {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px dashed rgba(15,23,42,.16);
}

.qr-payment-area[hidden] {
  display: none !important;
}

#qrImage {
  width: min(100%, 280px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  padding: 10px;
  box-shadow: 0 20px 48px rgba(15,23,42,.10);
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 12px;
  margin-top: 4px;
}

.drawer-actions button,
.drawer-actions .full {
  min-height: 52px;
  border-radius: 16px !important;
  font-weight: 950 !important;
}

#quoteWhatsapp {
  background: #ecfdf3;
  color: #067647;
  border-color: rgba(7,148,85,.18);
}

#sendOrder {
  box-shadow: 0 18px 34px rgba(11,92,255,.22);
}

@media (max-width: 760px) {
  .quote-panel {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    min-width: 0;
  }

  .cart-dialog {
    width: calc(100vw - 12px);
    max-height: 94vh;
    border-radius: 24px;
  }

  .cart-drawer {
    border-radius: 24px;
  }

  .cart-dialog .drawer-head,
  .cart-items,
  .checkout-form {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cart-summary {
    margin-left: 16px;
    margin-right: 16px;
  }

  .checkout-form .price-row,
  .drawer-actions {
    grid-template-columns: 1fr;
  }

  .cart-dialog .drawer-head h2 {
    font-size: 28px;
  }
}


/* === Checkout buttons with visible QR button === */
.drawer-actions {
  grid-template-columns: 1fr 1fr 1.15fr !important;
}

#validateOrder {
  background: #eff6ff !important;
  color: #0b5cff !important;
  border-color: rgba(11,92,255,.18) !important;
}

@media (max-width: 760px) {
  .drawer-actions {
    grid-template-columns: 1fr !important;
  }
}


/* === QR siempre visible dentro del carrito === */
.qr-payment-area {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.qr-payment-area img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}



/* === Checkout steps clarity === */
.checkout-steps-card {
  margin: 0 24px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.checkout-steps-card div {
  min-height: 74px;
  padding: 13px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 30px rgba(15,23,42,.055);
  display: grid;
  gap: 7px;
  align-content: start;
}

.checkout-steps-card strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #0b5cff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.checkout-steps-card span {
  color: #344054;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

@media (max-width: 760px) {
  .checkout-steps-card {
    margin-left: 16px;
    margin-right: 16px;
    grid-template-columns: 1fr;
  }

  .checkout-steps-card div {
    min-height: 58px;
    grid-template-columns: 32px 1fr;
    align-items: center;
  }
}


/* =========================================================
   CART ITEMS PREMIUM ROWS - 20260616
   ========================================================= */

.checkout-cart-item {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 14px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(11,92,255,.07), transparent 34%),
    linear-gradient(180deg, #ffffff0%, rgba(11,92,255,.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 16px 38px rgba(15,23,42,.07) !important;
}

.cart-item-media {
  width: 112px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(11,92,255,.10), transparent 38%),
    linear-gradient(180deg, #f6faff 0%, #eef5ff 100%);
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
}

.cart-item-media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 20px rgba(15,23,42,.13));
}

.cart-item-main {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.cart-item-title-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.checkout-cart-item h3 {
  margin: 0 !important;
  color: #061124 !important;
  font-size: 15px !important;
  line-height: 1.22 !important;
  font-weight: 950 !important;
  letter-spacing: -.025em;
}

.cart-item-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  border: 1px solid transparent;
  white-space: nowrap;
}

.cart-item-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.cart-item-meta,
.cart-item-unit {
  margin: 0 !important;
  color: #667085 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.3;
}

.cart-item-unit strong {
  color: #101828;
}

.checkout-cart-item .qty-control {
  width: fit-content;
  display: inline-grid !important;
  grid-template-columns: 34px 42px 34px;
  align-items: center;
  border-radius: 999px;
  background: #f2f4f7;
  border: 1px solid rgba(15,23,42,.08);
  overflow: hidden;
}

.checkout-cart-item .qty-control button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: #101828;
  font-size: 18px;
  font-weight: 950;
}

.checkout-cart-item .qty-control button:hover {
  background: #e8eef8;
}

.checkout-cart-item .qty-control span {
  text-align: center;
  color: #101828;
  font-size: 13px;
  font-weight: 950;
}

.checkout-cart-item .cart-price {
  min-width: 148px;
  display: grid;
  justify-items: end;
  gap: 7px;
}

.checkout-cart-item .cart-price span {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.checkout-cart-item .cart-price strong {
  padding: 8px 11px;
  border-radius: 13px;
  background: #101828;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(16,24,40,.16);
}

.checkout-cart-item .cart-price button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px !important;
  background: #fff1f3;
  color: #c01048;
  border: 1px solid rgba(192,16,72,.12);
  font-size: 11px;
  font-weight: 950;
}

.checkout-cart-item .cart-price button:hover {
  background: #ffe4e8;
}

@media (max-width: 760px) {
  .checkout-cart-item {
    grid-template-columns: 86px 1fr !important;
    gap: 12px !important;
  }

  .cart-item-media {
    width: 86px;
    height: 84px;
  }

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

  .checkout-cart-item .cart-price {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    justify-items: start;
    padding-top: 8px;
    border-top: 1px solid rgba(15,23,42,.08);
  }

  .checkout-cart-item .cart-price strong {
    justify-self: end;
  }

  .checkout-cart-item .cart-price button {
    justify-self: end;
  }
}


/* =========================================================
   MOBILE PREMIUM EXPERIENCE - 20260616
   ========================================================= */

@media (max-width: 760px) {
  body {
    padding-bottom: 108px;
  }

  .site-header,
  header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15,23,42,.08);
  }

  .header-main,
  .premium-header-main {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }

  .premium-nav-row,
  .nav-row {
    padding: 8px 12px 10px !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scrollbar-width: none;
  }

  .premium-nav-row::-webkit-scrollbar,
  .nav-row::-webkit-scrollbar {
    display: none;
  }

  .premium-nav-row a,
  .nav-row a {
    min-width: max-content;
    padding: 8px 10px !important;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .hero-pro,
  .hero,
  .main-hero {
    margin-top: 12px !important;
    padding: 22px 16px !important;
    border-radius: 24px !important;
  }

  .hero-pro h1,
  .hero h1,
  .main-hero h1 {
    font-size: clamp(31px, 10vw, 44px) !important;
    line-height: .98 !important;
    letter-spacing: -.065em !important;
  }

  .hero-pro p,
  .hero p,
  .main-hero p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .hero-actions,
  .hero-cta,
  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hero-actions a,
  .hero-cta a,
  .hero-buttons a,
  .hero-actions button,
  .hero-cta button,
  .hero-buttons button {
    width: 100%;
    min-height: 46px;
    border-radius: 15px !important;
    font-weight: 950 !important;
  }

  .featured-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .primary-home-category-chip {
    min-height: 72px !important;
    grid-template-columns: 34px 1fr !important;
    padding: 10px !important;
    border-radius: 15px !important;
  }

  .primary-category-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 11px !important;
    font-size: 15px !important;
  }

  .catalog-section,
  .detail-section,
  .section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .product-grid,
  .novelties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }

  .product-card,
  .novelty-card {
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .product-card h3,
  .novelty-card h3 {
    font-size: 13px !important;
    line-height: 1.18 !important;
    min-height: 46px;
  }

  .product-card p,
  .novelty-card p {
    font-size: 11px !important;
  }

  .product-card .availability,
  .novelty-card .availability {
    font-size: 10px !important;
    padding: 5px 8px !important;
  }

  .product-card .stock-line,
  .novelty-card .stock-line {
    font-size: 10.5px !important;
    padding: 8px !important;
  }

  .product-card .price,
  .novelty-card .price,
  .product-card .product-price,
  .novelty-card .product-price {
    font-size: 16px !important;
    padding: 7px 9px !important;
  }

  .product-card button,
  .novelty-card button {
    min-height: 38px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
  }

  .catalog-toolbar {
    position: sticky;
    top: 105px;
    z-index: 30;
    border-radius: 18px !important;
  }

  .filters-card {
    border-radius: 20px !important;
  }

  .quote-panel {
    z-index: 95 !important;
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-radius: 20px !important;
  }

  .quote-panel div {
    min-width: 0;
  }

  .quote-panel strong:first-child {
    font-size: 13px !important;
  }

  #quotePanelItems {
    display: block;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #quotePanelTotal {
    font-size: 14px !important;
  }

  .cart-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .cart-drawer {
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }

  .cart-dialog .drawer-head {
    padding-top: 14px !important;
  }

  .drawer-actions {
    position: sticky;
    bottom: 0;
    z-index: 6;
    margin-left: -16px;
    margin-right: -16px;
    padding: 12px 16px 16px;
    background: rgba(255,255,255,.95);
    border-top: 1px solid rgba(15,23,42,.08);
    backdrop-filter: blur(16px);
  }

  .drawer-actions button {
    min-height: 48px !important;
  }

  #qrImage {
    width: min(100%, 230px) !important;
  }
}

@media (max-width: 420px) {
  .product-grid,
  .novelties-grid {
    grid-template-columns: 1fr !important;
  }

  .featured-categories {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   PRODUCT DETAIL DIGICORP-LIKE FEATURES - 20260616
   ========================================================= */

.detail-features {
  margin-top: 8px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(132,204,22,.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 16px 38px rgba(15,23,42,.055);
}

.detail-features:empty {
  display: none;
}

.detail-features-head {
  margin-bottom: 10px;
}

.detail-features-head h3 {
  margin: 0;
  color: #061124;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.045em;
}

.detail-features-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.detail-features-list li {
  padding: 8px 0;
  border-top: 1px solid rgba(15,23,42,.10);
  color: #344054;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.detail-features-list li:first-child {
  border-top: 0;
}

.detail-features-list .feature-heading {
  color: #344054;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -.01em;
  background: linear-gradient(90deg, rgba(132,204,22,.10), transparent);
  padding-left: 8px;
  border-radius: 10px;
}

.detail-features-list .feature-line {
  position: relative;
  padding-left: 18px;
}

.detail-features-list .feature-line::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #84cc16;
}

@media (max-width: 760px) {
  .detail-features {
    padding: 14px;
    border-radius: 18px;
  }

  .detail-features-list li {
    font-size: 12.5px;
  }
}


/* =========================================================
   PRODUCT DETAIL FULL FEATURES + IMAGE GALLERY - 20260616
   ========================================================= */

.detail-image-wrap {
  align-content: center;
  gap: 14px;
  padding: 18px;
}

.detail-gallery {
  width: 100%;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 2px;
  scrollbar-width: thin;
}

.detail-gallery:empty {
  display: none;
}

.detail-gallery-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.10);
  padding: 5px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.detail-gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(11,92,255,.32);
  box-shadow: 0 12px 24px rgba(15,23,42,.10);
}

.detail-gallery-thumb.active {
  border-color: #0b5cff;
  box-shadow: 0 0 0 3px rgba(11,92,255,.12);
}

.detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-features {
  max-height: none !important;
  overflow: visible !important;
}

.detail-features-list {
  max-height: none !important;
  overflow: visible !important;
}

.detail-features-list li {
  white-space: normal !important;
}

@media (max-width: 760px) {
  .detail-gallery-thumb {
    flex-basis: 58px;
    width: 58px;
    height: 52px;
  }
}


/* =========================================================
   PRODUCT DETAIL FULL FEATURES + IMAGE GALLERY - 20260616
   ========================================================= */

.detail-image-wrap {
  align-content: center;
  gap: 14px;
  padding: 18px;
}

.detail-gallery {
  width: 100%;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 2px;
  scrollbar-width: thin;
}

.detail-gallery:empty {
  display: none;
}

.detail-gallery-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.10);
  padding: 5px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.detail-gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(11,92,255,.32);
  box-shadow: 0 12px 24px rgba(15,23,42,.10);
}

.detail-gallery-thumb.active {
  border-color: #0b5cff;
  box-shadow: 0 0 0 3px rgba(11,92,255,.12);
}

.detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-features {
  max-height: none !important;
  overflow: visible !important;
}

.detail-features-list {
  max-height: none !important;
  overflow: visible !important;
}

.detail-features-list li {
  white-space: normal !important;
}

@media (max-width: 760px) {
  .detail-gallery-thumb {
    flex-basis: 58px;
    width: 58px;
    height: 52px;
  }
}



/* === FIX: galería visible y características sin doble viñeta === */

.detail-image-wrap {
  display: grid !important;
  grid-template-rows: minmax(300px, 1fr) auto !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 16px !important;
  padding: 22px !important;
}

.detail-image-wrap #detailImage {
  width: 100% !important;
  height: auto !important;
  max-width: 520px !important;
  max-height: 380px !important;
  object-fit: contain !important;
}

.detail-gallery {
  width: 100% !important;
  min-height: 72px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding: 8px 4px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.72) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
}

.detail-gallery:empty {
  display: none !important;
}

.detail-gallery-thumb {
  flex: 0 0 74px !important;
  width: 74px !important;
  height: 62px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  padding: 5px !important;
}

.detail-gallery-thumb.active {
  border-color: #0b5cff !important;
  box-shadow: 0 0 0 3px rgba(11,92,255,.14) !important;
}

.detail-gallery-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.detail-features-list .feature-line {
  padding-left: 16px !important;
}

.detail-features-list .feature-line::before {
  content: "" !important;
  left: 2px !important;
  top: 17px !important;
}

.detail-features-list li {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
  .detail-image-wrap {
    grid-template-rows: minmax(230px, auto) auto !important;
    padding: 14px !important;
  }

  .detail-image-wrap #detailImage {
    max-height: 280px !important;
  }

  .detail-gallery {
    min-height: 62px !important;
  }

  .detail-gallery-thumb {
    flex-basis: 62px !important;
    width: 62px !important;
    height: 54px !important;
  }
}

/* === NexoTech: ocultar acceso admin en tienda pública === */
#adminButton {
  display: none !important;
}
