/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.5.20_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/.pnpm/next@15.5.20_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --background: #f7f7f8;
  --foreground: #171717;
  --card: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.button {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: #111827;
  color: white;
  cursor: pointer;
  font-weight: 700;
}
input,
select,
textarea,
.input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: white;
  font: inherit;
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  font-size: 11px;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Admin panel */
.admin-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}
.admin-sidebar {
  background: #0f172a;
  color: white;
  padding: 20px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.admin-brand small,
.admin-topbar small {
  display: block;
  opacity: 0.72;
  margin-top: 3px;
}
.admin-brand-icon,
.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
}
.admin-nav {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  color: #cbd5e1;
}
.admin-nav-link.active,
.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}
.admin-main {
  min-width: 0;
}
.admin-topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: white;
  border-bottom: 1px solid var(--border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
}
.admin-content {
  padding: 24px;
}
.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.admin-page-header h1 {
  margin: 0 0 6px;
}
.admin-page-header p {
  margin: 0;
  color: #64748b;
}
.button-secondary {
  background: white;
  color: #111827;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.button-danger {
  background: #991b1b;
}
.button-small {
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 10px;
}
.table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th,
.table td {
  border-bottom: 1px solid var(--border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
.table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  background: #f8fafc;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.form-field {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 18px;
}
.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.stat-card p {
  margin: 0 0 6px;
  color: #64748b;
  font-size: 13px;
}
.stat-card strong {
  display: block;
  font-size: 24px;
}
.stat-card small {
  display: block;
  margin-top: 4px;
  color: #64748b;
}
.stat-icon {
  background: #eef2ff;
  color: #1e293b;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e2e8f0;
  color: #334155;
}
.status-paid,
.status-delivered,
.status-active {
  background: #dcfce7;
  color: #166534;
}
.status-pending-payment,
.status-preparing,
.status-shipped {
  background: #fef3c7;
  color: #92400e;
}
.status-cancelled,
.status-refunded,
.status-blocked,
.status-disabled {
  background: #fee2e2;
  color: #991b1b;
}
.notice {
  padding: 12px 14px;
  border-radius: 14px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: #155e75;
  margin: 12px 0;
}
.error {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  margin: 12px 0;
}
.muted {
  color: #64748b;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tab {
  border: 1px solid var(--border);
  background: white;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.tab.active {
  background: #111827;
  color: white;
}

@media (max-width: 1100px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
  }
  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .form-grid,
  .form-grid-3,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .admin-content {
    padding: 16px;
  }
  .admin-topbar {
    padding: 0 16px;
  }
}
.span-2 {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .span-2 {
    grid-column: span 1;
  }
}

.code-block {
  display: block;
  padding: 10px;
  border-radius: 10px;
  background: #0f172a;
  color: white;
  overflow-x: auto;
}
textarea.input {
  resize: vertical;
  font-family: inherit;
}
.xml-preview {
  max-height: 440px;
  overflow: auto;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.5;
}

.status-generated,
.status-signed,
.status-sent,
.status-received {
  background: #e0f2fe;
  color: #075985;
}
.status-authorized {
  background: #dcfce7;
  color: #166534;
}
.status-returned,
.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status-new,
.status-assigned,
.status-in-review,
.status-quoted,
.status-negotiation {
  background: #fef3c7;
  color: #92400e;
}
.status-approved {
  background: #dcfce7;
  color: #166534;
}
.status-closed {
  background: #e2e8f0;
  color: #334155;
}

/* Public storefront */
.public-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  color: #f8fafc;
  background: rgba(2, 6, 23, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.18);
}
.public-header__top {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.78));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: #dbeafe;
  font-size: 13px;
}
.public-header__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.public-header__top .public-header__container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.public-header__main {
  background: rgba(2, 6, 23, 0.68);
}
.public-header__row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.public-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: #fff;
}
.public-header__logo {
  width: 48px;
  height: 48px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24 45%, #0f172a 46%);
  box-shadow: 0 14px 32px rgba(251, 191, 36, 0.22);
}
.public-header__logo::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.58);
}
.public-header__logo span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 950;
  letter-spacing: -0.08em;
}
.public-header__brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.public-header__brand strong::after {
  content: 'Pro';
  margin-left: 3px;
  color: #fbbf24;
}
.public-header__brand small {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  margin-top: 2px;
}
.public-header__nav,
.public-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.public-header__nav {
  justify-content: center;
}
.public-header__nav a,
.public-header__ghost,
.public-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.public-header__nav a {
  color: #e2e8f0;
}
.public-header__nav a:hover,
.public-header__ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}
.public-header__cart {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.public-header__cart span {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fbbf24;
  color: #111827;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.public-header__ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.public-header__cta {
  color: #111827;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.24);
}
.public-header__cta:hover {
  transform: translateY(-1px);
}
.public-header__quote span {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #111827;
  color: #fbbf24;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  color: white;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      104deg,
      rgba(2, 6, 23, 0.96) 0%,
      rgba(15, 23, 42, 0.91) 38%,
      rgba(15, 23, 42, 0.62) 66%,
      rgba(15, 23, 42, 0.32) 100%
    ),
    url('/images/home/hero-bus.svg') center / cover no-repeat,
    linear-gradient(135deg, #020617, #0f172a 52%, #1e293b);
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 18%, rgba(251, 191, 36, 0.35), transparent 26%),
    radial-gradient(circle at 18% 78%, rgba(59, 130, 246, 0.2), transparent 28%);
}
.home-hero::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -22%;
  height: 46%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(-4deg);
  opacity: 0.42;
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 48%,
      rgba(251, 191, 36, 0.18) 49%,
      transparent 50%
    );
  background-size:
    48px 48px,
    48px 48px,
    100% 100%;
  opacity: 0.22;
  pointer-events: none;
}
.home-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  grid-gap: 42px;
  gap: 42px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.home-hero-copy h1 {
  font-size: clamp(44px, 5.8vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.058em;
  margin: 16px 0;
  max-width: 880px;
}
.home-hero-copy p {
  font-size: 19px;
  line-height: 1.62;
  max-width: 730px;
  color: #e2e8f0;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fde68a;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.hero-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.18);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-button {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 18px 35px rgba(245, 158, 11, 0.26);
}
.hero-button-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  max-width: 720px;
  margin-top: 28px;
}
.hero-stats span {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 10px;
  column-gap: 10px;
  grid-row-gap: 2px;
  row-gap: 2px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-stats svg {
  color: #fbbf24;
  grid-row: span 2;
}
.hero-stats strong {
  font-size: 15px;
}
.hero-stats small {
  color: #cbd5e1;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.74), rgba(51, 65, 85, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  padding: 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22),
    transparent 30%,
    rgba(251, 191, 36, 0.16)
  );
  opacity: 0.55;
  pointer-events: none;
}
.hero-panel > * {
  position: relative;
  z-index: 1;
}
.hero-panel strong {
  display: block;
  font-size: 27px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.hero-panel p {
  color: #e2e8f0;
  line-height: 1.55;
}
.hero-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 22px;
}
.hero-panel-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.hero-panel-item > span {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fbbf24;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-panel-item b {
  display: block;
  margin-bottom: 3px;
}
.hero-panel-item small {
  display: block;
  color: #dbeafe;
  line-height: 1.45;
}
.home-section {
  padding-top: 68px;
  padding-bottom: 18px;
}
.section-heading {
  max-width: 850px;
  margin-bottom: 28px;
}
.centered-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.038em;
  margin: 12px 0;
}
.section-heading p {
  color: #64748b;
  font-size: 17px;
  line-height: 1.62;
}
.compact-heading {
  margin-bottom: 22px;
}
.row-heading {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.home-products-intro {
  position: relative;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
}
.category-card {
  min-height: 245px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: 28px;
  color: #fff;
  background: #0f172a;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transform: translateZ(0);
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.14), rgba(2, 6, 23, 0.86));
}
.category-card:hover img {
  transform: scale(1.06);
  opacity: 0.92;
}
.category-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.category-card__content span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fbbf24;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.category-card h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  margin: 0;
}
.category-card p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.45;
}
.section-center-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.home-brand-showcase {
  position: relative;
  margin-top: 56px;
  padding: 70px 0;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.86)),
    url('/images/home/brands-bg.svg') center / cover no-repeat,
    #020617;
}
.home-brand-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.24), transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.2), transparent 25%);
  pointer-events: none;
}
.home-brand-showcase .container {
  position: relative;
  z-index: 1;
}
.brand-heading p {
  color: #cbd5e1;
}
.brand-carousel-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-gap: 14px;
  gap: 14px;
}
.brand-control {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.brand-wall {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(120px, 1fr);
  grid-gap: 12px;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 3px 14px;
  scrollbar-width: thin;
}
.brand-tile {
  min-height: 82px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 950;
  color: #0f172a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.brand-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}
.brand-tile-0 {
  color: #1d4ed8;
}
.brand-tile-1 {
  color: #0f172a;
}
.brand-tile-2 {
  color: #dc2626;
}
.brand-tile-3 {
  color: #047857;
}
.brand-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.brand-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}
.brand-dots span:first-child {
  width: 22px;
  background: #fbbf24;
}
.featured-products-section {
  padding-top: 66px;
}
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-card--featured {
  position: relative;
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}
.product-card__sku {
  align-self: flex-end;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #0f3b6d;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.product-image-box {
  width: 100%;
  min-height: 150px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
}
.product-image-box img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 10px;
  display: block;
}
.product-image-placeholder {
  height: 150px;
  display: grid;
  place-items: center;
  color: #94a3b8;
}
.product-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.product-card p {
  font-size: 14px;
  line-height: 1.45;
}
.product-card__action {
  margin-top: auto;
  padding-top: 12px;
}
.product-card__action .button {
  width: 100%;
  background: #0f172a;
}
.home-why {
  position: relative;
  margin-top: 64px;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.88)),
    url('/images/home/benefits-bg.svg') center / cover no-repeat,
    #0f172a;
  color: white;
  padding: 74px 0;
  overflow: hidden;
}
.home-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(251, 191, 36, 0.16), transparent 25%),
    radial-gradient(circle at 95% 75%, rgba(59, 130, 246, 0.18), transparent 30%);
}
.home-why .container {
  position: relative;
  z-index: 1;
}
.home-why h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin: 12px 0;
  letter-spacing: -0.035em;
}
.home-why p {
  color: #cbd5e1;
  line-height: 1.6;
}
.light-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fde68a;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.why-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  grid-gap: 32px;
  gap: 32px;
  align-items: start;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.why-cards div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.why-cards svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 999px;
  color: #111827;
  background: #fbbf24;
}
.why-cards strong {
  font-size: 18px;
}
.why-cards span {
  color: #cbd5e1;
  line-height: 1.45;
}
.public-footer {
  background: #020617;
  color: #cbd5e1;
  padding: 34px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  grid-gap: 22px;
  gap: 22px;
}
.footer-grid strong {
  color: white;
  display: block;
  margin-bottom: 10px;
}
.footer-grid a {
  display: block;
  margin: 7px 0;
  color: #cbd5e1;
}
.footer-grid p {
  margin: 6px 0;
}

@media (max-width: 1120px) {
  .public-header__row {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .public-header__nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
  .featured-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .home-hero-content,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .home-hero {
    min-height: auto;
  }
  .hero-panel {
    max-width: 640px;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .row-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand-carousel-shell {
    grid-template-columns: 1fr;
  }
  .brand-control {
    display: none;
  }
}
@media (max-width: 720px) {
  .public-header__top .public-header__container {
    justify-content: center;
    text-align: center;
  }
  .public-header__top .public-header__container span:last-child {
    display: none;
  }
  .public-header__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .public-header__nav,
  .public-header__actions {
    width: 100%;
    justify-content: flex-start;
  }
  .home-hero-content {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .hero-stats,
  .category-grid,
  .featured-products-grid,
  .why-cards {
    grid-template-columns: 1fr;
  }
  .brand-wall {
    grid-auto-columns: minmax(135px, 72%);
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .public-header__nav a,
  .public-header__ghost,
  .public-header__cta {
    font-size: 13px;
    padding: 9px 11px;
  }
  .home-hero-copy h1 {
    font-size: clamp(38px, 12vw, 52px);
  }
  .home-hero-copy p {
    font-size: 16px;
  }
  .category-card {
    min-height: 220px;
  }
}
/* Inventory import and barcode labels */
.import-summary-card {
  margin-top: 18px;
}
.import-count-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin: 14px 0;
}
.import-count-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #f8fafc;
}
.import-count-box small {
  display: block;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.import-count-box strong {
  display: block;
  font-size: 24px;
  margin: 4px 0;
}
.import-count-box span {
  color: #64748b;
  font-size: 12px;
}
.import-step-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 8px 4px 0;
  color: #475569;
  font-weight: 700;
}
.import-step-row span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-size: 12px;
}
.import-rules {
  padding-left: 18px;
  line-height: 1.6;
}
.barcode-print-area {
  display: none;
}
.barcode-label {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px;
  background: white;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  align-content: center;
  min-height: 112px;
  page-break-inside: avoid;
  break-inside: avoid;
}
.barcode-label strong {
  font-size: 12px;
  line-height: 1.2;
}
.barcode-label span {
  font-size: 10px;
  color: #64748b;
}
.barcode-label b {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}
.barcode-box {
  width: 100%;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.barcode-svg {
  width: 100%;
  height: 44px;
  fill: #000;
  display: block;
}

@media (max-width: 900px) {
  .import-count-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  body {
    background: #fff;
  }
  .admin-sidebar,
  .admin-topbar,
  .inventory-import-screen {
    display: none !important;
  }
  .admin-layout {
    display: block;
    min-height: auto;
  }
  .admin-main,
  .admin-content {
    padding: 0 !important;
    margin: 0 !important;
  }
  .barcode-print-area {
    display: grid !important;
    grid-template-columns: repeat(3, 64mm);
    grid-gap: 4mm;
    gap: 4mm;
    padding: 6mm;
  }
  .barcode-label {
    width: 64mm;
    min-height: 34mm;
    border: 1px solid #111;
    border-radius: 0;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* Configuración administrable de la página principal */
.public-main {
  font-size: var(--site-font-scale, 100%);
}
.public-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: white;
  padding: 4px;
  position: relative;
  z-index: 1;
}
.public-header__brand strong::after {
  content: none;
}
.home-hero {
  background:
    linear-gradient(
      104deg,
      rgba(2, 6, 23, 0.96) 0%,
      rgba(15, 23, 42, 0.91) 38%,
      rgba(15, 23, 42, 0.62) 66%,
      rgba(15, 23, 42, 0.32) 100%
    ),
    var(--hero-bg-image, url('/images/home/hero-bus.svg')) center / cover no-repeat,
    linear-gradient(135deg, #020617, #0f172a 52%, #1e293b);
}
.home-hero-copy h1 {
  font-size: clamp(38px, 6vw, var(--hero-title-size, 64px));
}
.home-hero-copy p {
  font-size: var(--hero-text-size, 19px);
}
.hero-button,
.public-header__cta,
.category-card__content span,
.product-card__sku,
.floating-contact-button--agent {
  background: linear-gradient(
    135deg,
    var(--primary-color, #f59e0b),
    var(--secondary-color, #fbbf24)
  );
}
.hero-kicker,
.public-header__brand strong,
.brand-tile,
.section-heading .badge {
  color: var(--secondary-color, #fbbf24);
}
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  justify-items: end;
  grid-gap: 12px;
  gap: 12px;
}
.floating-contact-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.floating-contact-button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
  cursor: pointer;
}
.floating-contact-button--whatsapp {
  background: #16a34a;
}
.floating-contact-button--agent {
  color: #111827;
}
.floating-agent-card {
  width: min(330px, calc(100vw - 34px));
  background: white;
  color: #0f172a;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.28);
  position: relative;
}
.floating-agent-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 950;
}
.floating-agent-card p {
  color: #475569;
  line-height: 1.45;
}
.floating-agent-card a {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 13px;
  background: #0f172a;
  color: white;
  font-weight: 800;
}
.floating-agent-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: #f1f5f9;
  color: #0f172a;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 720px) {
  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
  .floating-contact-actions {
    display: grid;
  }
}

/* UX final: búsqueda guiada, catálogo premium y barra de cotización */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button:disabled {
  opacity: 0.68;
  cursor: not-allowed;
  transform: none;
}
.quote-add-button {
  width: 100%;
  background: #0f172a;
}
.quote-add-button--added {
  background: #166534;
}
.hero-search-panel {
  max-width: 780px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.48);
  box-shadow: 0 20px 55px rgba(2, 6, 23, 0.28);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
.hero-search-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff7ed;
  font-weight: 950;
  margin-bottom: 12px;
}
.hero-search-panel__fields {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr auto;
  grid-gap: 10px;
  gap: 10px;
}
.hero-search-panel input {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.94);
}
.hero-search-panel__fields .button {
  color: #111827;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.hero-search-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.hero-search-panel__chips a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13px;
  font-weight: 800;
}
.trust-strip {
  margin-top: -34px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.trust-strip__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 12px;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
}
.trust-strip__item svg {
  color: #0f3b6d;
}
.trust-strip__item strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}
.trust-strip__item span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
.quote-process-section {
  padding-top: 72px;
}
.quote-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
}
.quote-process-card {
  position: relative;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.quote-process-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  right: -38px;
  top: -44px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
}
.quote-process-card > span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #0f172a;
  color: #fde68a;
  font-weight: 950;
  font-size: 12px;
}
.quote-process-card svg {
  color: #f59e0b;
}
.quote-process-card h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.quote-process-card p {
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}
.quote-sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 32px));
  z-index: 88;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 6, 23, 0.94);
  color: white;
  box-shadow: 0 26px 80px rgba(2, 6, 23, 0.38);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
.quote-sticky-bar strong {
  display: block;
  font-size: 15px;
}
.quote-sticky-bar span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  margin-top: 2px;
}
.quote-sticky-bar__button {
  color: #111827;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  white-space: nowrap;
}
.floating-contact {
  bottom: 96px;
}

.catalog-page {
  background: #f8fafc;
  min-height: 100vh;
}
.catalog-hero {
  color: white;
  background:
    radial-gradient(circle at 8% 20%, rgba(251, 191, 36, 0.18), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.2), transparent 28%),
    linear-gradient(135deg, #020617, #0f172a 55%, #1e293b);
  padding: 58px 0 72px;
}
.catalog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  grid-gap: 28px;
  gap: 28px;
  align-items: center;
}
.catalog-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 16px 0;
  max-width: 820px;
}
.catalog-hero p {
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
}
.catalog-hero__quick-links {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.catalog-hero__quick-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #fde68a;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.catalog-hero__panel {
  display: grid;
  justify-items: start;
  grid-gap: 8px;
  gap: 8px;
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 28px 75px rgba(0, 0, 0, 0.24);
}
.catalog-hero__panel svg {
  color: #fbbf24;
}
.catalog-hero__panel strong {
  font-size: 52px;
  line-height: 0.95;
}
.catalog-hero__panel span {
  font-weight: 950;
}
.catalog-hero__panel small {
  color: #cbd5e1;
  line-height: 1.45;
}
.catalog-layout {
  margin-top: -42px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
}
.catalog-filter-card {
  position: -webkit-sticky;
  position: sticky;
  top: 132px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: white;
  padding: 18px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}
.catalog-filter-card__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #0f172a;
}
.catalog-filter-form {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}
.catalog-filter-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}
.catalog-filter-form label span {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}
.catalog-filter-form .button {
  width: 100%;
}
.catalog-results {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  min-width: 0;
}
.catalog-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: white;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.06);
}
.catalog-results__bar strong {
  display: block;
  color: #0f172a;
}
.catalog-results__bar span {
  display: block;
  color: #64748b;
  margin-top: 2px;
  font-size: 13px;
}
.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}
.catalog-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: white;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}
.catalog-product-card__image {
  position: relative;
  min-height: 188px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
}
.catalog-product-card__image img {
  width: 100%;
  object-fit: contain;
  padding: 16px;
  display: block;
}
.catalog-product-card__image > span {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: white;
  font-size: 12px;
  font-weight: 900;
}
.catalog-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1;
  padding: 18px;
}
.catalog-product-card__meta,
.catalog-product-card__tags {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.catalog-product-card__meta span,
.catalog-product-card__tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}
.catalog-product-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.catalog-product-card p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  font-size: 14px;
}
.catalog-product-card small {
  color: #64748b;
}
.catalog-product-card__price {
  color: #0f172a;
  font-size: 18px;
}
.catalog-product-card .quote-add-button {
  margin-top: auto;
}
.catalog-empty-state {
  display: grid;
  justify-items: center;
  grid-gap: 12px;
  gap: 12px;
  text-align: center;
  padding: 56px 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 28px;
  background: white;
}
.catalog-empty-state svg {
  color: #94a3b8;
}
.catalog-empty-state h2 {
  margin: 0;
}
.catalog-empty-state p {
  max-width: 620px;
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}
.catalog-empty-state div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0 28px;
}
.catalog-pagination span {
  color: #475569;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .hero-search-panel__fields,
  .catalog-hero__grid,
  .catalog-layout,
  .quote-process-grid {
    grid-template-columns: 1fr;
  }
  .catalog-filter-card {
    position: static;
  }
}
@media (max-width: 720px) {
  .trust-strip,
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }
  .catalog-hero {
    padding: 42px 0 58px;
  }
  .catalog-results__bar,
  .quote-sticky-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .quote-sticky-bar__button {
    width: 100%;
  }
  .floating-contact {
    bottom: 132px;
  }
}
@media (max-width: 520px) {
  .hero-search-panel {
    padding: 12px;
  }
  .hero-search-panel__chips a,
  .catalog-hero__quick-links a {
    font-size: 12px;
  }
}

/* Admin UX refresh */
.admin-layout-v2 {
  grid-template-columns: 306px 1fr;
  background: #f5f7fb;
}
.admin-sidebar-v2 {
  background:
    radial-gradient(circle at 20% 0%, rgba(79, 70, 229, 0.32), transparent 34%),
    linear-gradient(180deg, #0b1222 0%, #0f1b33 58%, #0b1222 100%);
  padding: 18px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 18px 0 45px rgba(15, 23, 42, 0.08);
  overflow-y: auto;
}
.admin-brand-v2 {
  margin-bottom: 16px;
  padding: 8px 4px;
}
.admin-brand-v2 .admin-brand-icon {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.28);
}
.admin-sidebar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  margin-bottom: 16px;
}
.admin-sidebar-search input {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  outline: 0;
  font-size: 14px;
}
.admin-sidebar-search input::placeholder {
  color: #94a3b8;
}
.admin-nav-v2 {
  gap: 15px;
}
.admin-nav-section {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}
.admin-nav-title {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 10px 4px;
}
.admin-nav-link-v2 {
  position: relative;
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid transparent;
  color: #dbeafe;
}
.admin-nav-link-v2:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}
.admin-nav-link-v2.active {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}
.admin-nav-active-dot {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
}
.admin-sidebar-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.admin-sidebar-card small {
  display: block;
  color: #cbd5e1;
  margin-top: 3px;
}
.admin-user-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  font-weight: 900;
}
.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  margin-right: 6px;
}
.admin-topbar-v2 {
  height: 78px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.admin-topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-global-search {
  width: min(360px, 32vw);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  color: #64748b;
}
.admin-global-search input {
  border: 0;
  outline: 0;
  padding: 0;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: #334155;
  cursor: pointer;
}
.icon-button:hover {
  background: #f8fafc;
}
.admin-content-v2 {
  padding: 28px;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.section-title-row h2 {
  margin: 0 0 6px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.section-title-row p {
  margin: 0;
}
.design-card {
  padding: 24px;
}
.design-identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
}
.logo-manager {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.logo-manager > label {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}
.logo-preview-box {
  min-height: 118px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f8fafc);
  overflow: hidden;
}
.logo-preview-box img {
  max-width: 86%;
  max-height: 95px;
  object-fit: contain;
}
.logo-preview-box strong {
  font-size: 34px;
  color: #1e293b;
}
.logo-upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  grid-gap: 4px;
  gap: 4px;
  min-height: 86px;
  border: 1px dashed #94a3b8;
  border-radius: 18px;
  background: #f8fafc;
  cursor: pointer;
  text-align: center;
  color: #334155;
}
.logo-upload-zone span {
  font-weight: 850;
}
.logo-upload-zone small {
  color: #64748b;
}
.logo-upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.color-control {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-gap: 10px;
  gap: 10px;
}
.color-control input[type='color'] {
  min-height: 46px;
  padding: 4px;
}
.import-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-gap: 18px;
  gap: 18px;
  align-items: stretch;
}
.import-main-card,
.import-help-card {
  height: 100%;
}
.import-drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  grid-gap: 8px;
  gap: 8px;
  min-height: 172px;
  border: 1px dashed #93c5fd;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff, #fff);
  color: #1e3a8a;
  text-align: center;
  margin: 16px 0;
  padding: 18px;
}
.import-drop-zone strong {
  font-size: 18px;
}
.import-drop-zone small {
  color: #475569;
}
.import-drop-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.import-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}
.import-stepper .import-step-row {
  align-items: flex-start;
  min-height: 74px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}
.import-step-row b {
  display: block;
  color: #0f172a;
}
.import-step-row small {
  display: block;
  color: #64748b;
  margin-top: 3px;
}
.import-help-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.import-helper-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}
.import-helper-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 9px;
  gap: 9px;
  align-items: start;
  color: #475569;
}
.import-helper-list svg {
  color: #2563eb;
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .admin-layout-v2 {
    grid-template-columns: 1fr;
  }
  .admin-sidebar-v2 {
    position: static;
    height: auto;
  }
  .admin-nav-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-global-search {
    display: none;
  }
  .design-identity-grid,
  .import-workbench {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .admin-nav-v2,
  .import-stepper {
    grid-template-columns: 1fr;
  }
  .admin-topbar-actions .button {
    display: none;
  }
  .admin-content-v2 {
    padding: 16px;
  }
}

/* Visualizador inmersivo de productos */
.catalog-product-card__image-button {
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
  position: relative;
}
.catalog-product-card__image-button img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  background: #fff;
  transition: transform 0.25s ease;
}
.catalog-product-card:hover .catalog-product-card__image-button img {
  transform: scale(1.035);
}
.catalog-product-card__image-button em {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  opacity: 0;
  transform: translateY(5px);
  transition: 0.2s ease;
}
.catalog-product-card:hover .catalog-product-card__image-button em,
.catalog-product-card__image-button:focus-visible em {
  opacity: 1;
  transform: none;
}
.product-viewer {
  width: min(1500px, 96vw);
  max-width: none;
  height: min(900px, 94vh);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #08111f;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.product-viewer::-webkit-backdrop {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.product-viewer::backdrop {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.product-viewer__shell {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-viewer__header {
  min-height: 50px;
  padding: 7px 12px 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 17, 31, 0.96);
}
.product-viewer__header span {
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-viewer__header button,
.product-viewer__toolbar button,
.product-viewer__arrow {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.product-viewer__header button {
  width: 36px;
  height: 36px;
}
.product-viewer__content {
  min-height: 0;
  flex: 1 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
}
.product-viewer__stage {
  min-width: 0;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at center, #1d2b3f 0, #0b1422 60%, #050a12 100%);
}
.product-viewer__toolbar {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border-radius: 14px;
  background: rgba(3, 7, 18, 0.72);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.product-viewer__toolbar button {
  width: 34px;
  height: 34px;
}
.product-viewer__toolbar span {
  width: 52px;
  text-align: center;
  font-size: 12px;
  color: #cbd5e1;
}
.product-viewer__image-wrap {
  flex: 1 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 70px 80px 28px;
}
.product-viewer__image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.18s ease;
  transform-origin: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.product-viewer__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 58px;
  transform: translateY(-50%);
}
.product-viewer__arrow--left {
  left: 18px;
}
.product-viewer__arrow--right {
  right: 18px;
}
.product-viewer__thumbs {
  height: 94px;
  padding: 10px 18px 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
}
.product-viewer__thumbs button {
  width: 70px;
  min-width: 70px;
  height: 64px;
  border-radius: 10px;
  border: 2px solid transparent;
  padding: 3px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}
.product-viewer__thumbs button.active {
  border-color: var(--primary, #f59e0b);
}
.product-viewer__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}
.product-viewer__details {
  overflow-y: auto;
  padding: 28px;
  background: #fff;
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-viewer__details h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.18;
}
.product-viewer__details p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}
.product-viewer__stock {
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
}
.product-viewer__details dl {
  display: grid;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}
.product-viewer__details dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-gap: 12px;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid #e2e8f0;
}
.product-viewer__details dl div:last-child {
  border-bottom: 0;
}
.product-viewer__details dt {
  color: #64748b;
  font-size: 13px;
}
.product-viewer__details dd {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
}
.product-viewer__price {
  font-size: 30px;
}
.product-viewer__actions {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.product-viewer__actions .button {
  width: 100%;
  justify-content: center;
}
.product-viewer__details > small {
  color: #64748b;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .product-viewer {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
  .product-viewer__content {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .product-viewer__stage {
    min-height: 56vh;
  }
  .product-viewer__details {
    overflow: visible;
  }
  .product-viewer__image-wrap {
    padding: 65px 55px 20px;
  }
}
.whatsapp-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}
.whatsapp-status-grid > div {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}
.whatsapp-status-grid span {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.whatsapp-status-grid strong {
  font-size: 15px;
}
@media (max-width: 800px) {
  .whatsapp-status-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Asesor virtual de producto */
.virtual-advisor-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(3, 7, 18, 0.72);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.virtual-advisor {
  position: relative;
  width: min(520px, 100%);
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  text-align: center;
}
.virtual-advisor__close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.virtual-advisor__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #111;
}
.virtual-advisor > span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--muted);
}
.virtual-advisor h2 {
  margin: 6px 0 10px;
}
.virtual-advisor__product {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft, #f8fafc);
  margin: 18px 0;
}
.virtual-advisor__product img {
  width: 82px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.virtual-advisor__product div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.virtual-advisor__product small {
  color: var(--muted);
}
.virtual-advisor__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
  margin: 20px 0 14px;
}
.virtual-advisor__actions .button {
  justify-content: center;
}
.virtual-advisor > small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
}
@media (max-width: 560px) {
  .virtual-advisor {
    padding: 24px 18px;
  }
  .virtual-advisor__actions {
    grid-template-columns: 1fr;
  }
}

/* Zoom y visualización de imágenes en productos destacados */
.product-image-box--zoomable {
  width: 100%;
  border: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  background: transparent;
}
.product-image-box--zoomable img {
  transition: transform 0.25s ease;
}
.product-card--featured:hover .product-image-box--zoomable img,
.product-image-box--zoomable:focus-visible img {
  transform: scale(1.045);
}
.featured-image-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.product-card--featured:hover .featured-image-zoom-hint,
.product-image-box--zoomable:focus-visible .featured-image-zoom-hint {
  opacity: 1;
  transform: none;
}
.product-image-box--zoomable:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.45);
  outline-offset: 3px;
}

/*
 * Corrección móvil 2026-07:
 * - Evita el efecto de “tarjetas fantasma” al hacer scroll en Chrome/Samsung Internet.
 * - Reduce capas con blur/composición dentro del hero.
 * - Hace que el encabezado y el buscador ocupen menos espacio en teléfonos.
 */
@media (max-width: 720px) {
  html {
    overflow-x: hidden;
    background: #020617;
  }

  body {
    overflow-x: clip;
  }

  /* En móvil un header alto + sticky + backdrop-filter provoca fallos de repintado. */
  .public-header {
    position: relative;
    top: auto;
    background: #020617;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.24);
  }

  .public-header__main {
    background: #020617;
  }

  .public-header__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .public-header__row {
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 14px;
    align-items: stretch;
    gap: 12px;
  }

  .public-header__brand {
    width: 100%;
    min-width: 0;
  }

  .public-header__brand > div:last-child {
    min-width: 0;
  }

  .public-header__brand strong,
  .public-header__brand small {
    overflow-wrap: anywhere;
  }

  .public-header__nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    grid-gap: 8px;
    gap: 8px;
  }

  .public-header__nav a {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
  }

  .public-header__actions,
  .public-header__cta {
    width: 100%;
  }

  .home-hero {
    min-height: 0;
    overflow: hidden;
    isolation: auto;
    contain: paint;
    background-attachment: scroll;
  }

  /* Esta franja inclinada añade una capa GPU grande y no aporta en pantallas pequeñas. */
  .home-hero::after {
    display: none;
  }

  .home-hero-overlay {
    opacity: 0.12;
  }

  .home-hero-content {
    padding-top: 36px;
    padding-bottom: 44px;
    gap: 28px;
  }

  .hero-kicker {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.3;
  }

  .home-hero-copy h1 {
    margin: 14px 0;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .home-hero-copy p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-search-panel {
    width: 100%;
    max-width: none;
    margin-top: 20px;
    padding: 14px;
    border-radius: 20px;
    background: #0b1326;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.28);
    contain: layout paint;
  }

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

  .hero-search-panel input,
  .hero-search-panel__fields .button {
    min-height: 52px;
    font-size: 16px;
  }

  .hero-search-panel__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search-panel__chips a {
    min-width: 0;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /*
   * Fondo opaco + contención de pintura: evita que Android conserve copias
   * visuales de las tarjetas cuando el usuario sube y baja rápidamente.
   */
  .hero-stats {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
    contain: layout paint;
  }

  .hero-stats span {
    position: relative;
    min-height: 76px;
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 14px 16px;
    border-radius: 18px;
    background: #081225;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none !important;
    filter: none !important;
    will-change: auto;
    contain: layout paint;
  }

  .hero-stats svg {
    grid-row: 1 / span 2;
    align-self: center;
  }

  .hero-stats strong,
  .hero-stats small {
    position: relative;
    z-index: 1;
  }

  .hero-panel {
    padding: 22px;
    border-radius: 24px;
    background: #111c30;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.26);
    contain: layout paint;
  }

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

  .trust-strip {
    margin-top: 0;
    padding-top: 18px;
  }

  .trust-strip__item {
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .quote-sticky-bar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #020617;
  }

  /* El botón no debe quedar innecesariamente alto cuando no existe barra de cotización. */
  .floating-contact {
    right: 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  body:has(.quote-sticky-bar) .floating-contact {
    bottom: calc(146px + env(safe-area-inset-bottom));
  }

  .floating-contact-button {
    min-height: 46px;
    padding: 11px 14px;
    font-size: 15px;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
  }
}

@media (max-width: 390px) {
  .container,
  .public-header__container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .public-header__logo {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .public-header__brand strong {
    font-size: 18px;
  }

  .public-header__brand small {
    font-size: 12px;
  }

  .hero-search-panel__chips a {
    padding-left: 7px;
    padding-right: 7px;
  }
}

