    /* Imagen centrada y tamaño adecuado en destacados */
    .featured-img-wrapper {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 1.2rem;
      margin-bottom: 0.7rem;
    }
    .featured-img-wrapper .product-img {
      max-width: 180px;
      max-height: 180px;
      width: auto;
      height: auto;
      border-radius: 14px;
      box-shadow: 0 2px 12px #0052a322;
    }
    @media (max-width: 768px) {
      .featured-img-wrapper .product-img {
        max-width: 120px;
        max-height: 120px;
      }
    }
    /* Fondo degradado para destacados */
    .featured-bg-gradient {
      background: linear-gradient(135deg, #eaf4ff 0%, #f6f8fb 100%);
      border-radius: 14px;
      padding: 2rem 0.5rem 1.5rem 0.5rem;
      margin-bottom: 2.5rem;
      box-shadow: 0 2px 16px #0052a322;
    }

    .featured-row {
  margin-left: 0;
  margin-right: 0;
  justify-content: center !important;
  align-items: stretch !important;
  min-height: 1px;
}
.featured-row .col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  padding-bottom: 1.5rem;
}
.featured-card {
  width: 100%;
  max-width: 320px;
}
    }
    .featured-card {
      position: relative;
      overflow: visible;
      box-shadow: 0 6px 32px #0052a322;
      margin-bottom: 0;
      margin-top: 1.2rem;
      min-height: 420px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }
    .featured-badge {
      position: absolute;
      top: 12px;
      left: 18px;
      background: linear-gradient(90deg,#0070e0,#0052a3);
      color: #fff;
      font-size: 1rem;
      font-weight: 700;
      border-radius: 999px;
      padding: 0.35rem 1.1rem;
      box-shadow: 0 2px 8px #0052a322;
      z-index: 2;
    }
    .product-img {
      margin-top: 2.2rem;
      margin-bottom: 1rem;
    }
    @media (max-width: 768px) {
      .featured-bg-gradient {
        padding: 1.2rem 0.2rem 1.2rem 0.2rem;
        border-radius: 8px;
      }
      .featured-row {
        margin-left: 0;
        margin-right: 0;
      }
      .featured-card {
        min-height: 340px;
        margin-top: 0.8rem;
      }
      .product-img {
        margin-top: 1.2rem;
        margin-bottom: 0.7rem;
      }
    }
    }

    /* Badge destacado */
    .featured-card {
      position: relative;
      overflow: visible;
      box-shadow: 0 6px 32px #0052a322;
    }
    .featured-badge {
      position: absolute;
      top: -18px;
      left: 18px;
      background: linear-gradient(90deg,#0070e0,#0052a3);
      color: #fff;
      font-size: 1rem;
      font-weight: 700;
      border-radius: 999px;
      padding: 0.35rem 1.1rem;
      box-shadow: 0 2px 8px #0052a322;
      z-index: 2;
    }
    .featured-btn-view {
      border-radius: 999px;
      font-weight: 600;
      font-size: 1.05rem;
      box-shadow: 0 2px 8px #0052a322;
    }
    .featured-btn-add {
      border-radius: 999px;
      font-weight: 700;
      font-size: 1.05rem;
      box-shadow: 0 4px 16px #0052a322;
      background: linear-gradient(90deg,#0070e0,#0052a3);
      color: #fff;
      border: none;
    }
    .featured-btn-add:hover, .featured-btn-add:focus {
      background: linear-gradient(90deg,#0052a3,#0070e0);
      color: #fff;
      box-shadow: 0 8px 32px #0052a3aa;
    }
    .product-card {
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e0e7ef;
  background: #fff;
  transition: box-shadow 0.18s, transform 0.18s;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,82,163,0.12);
  transform: translateY(-4px);
}
.product-img {
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  height: 180px;
  width: 100%;
  background: #f8f9fa;
}
.product-card .btn {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  box-shadow: none;
  transition: background 0.18s, color 0.18s;
}
.product-card .btn-primary {
  background: #0052a3;
  border: none;
}
.product-card .btn-primary:hover, .product-card .btn-primary:focus {
  background: #0070e0;
  color: #fff;
}
.product-card .btn-outline-secondary {
  border-radius: 999px;
  border-width: 2px;
}
.product-card .btn-outline-secondary:hover, .product-card .btn-outline-secondary:focus {
  background: #f0f0f0;
  color: #0052a3;
}
  .cart-animated {
    font-size: 1.2rem !important;
  }
  .cart-count-badge {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
    border-radius: 999px !important;
    top: 0.2rem !important;
    right: 0.2rem !important;
  }
}
}
/* Ajuste carrito en móvil para igualar estilo de botones */
/* Carrito resaltado al pasar el mouse */
/* Modern cart icon styles */
.cart-icon-link {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #0070e0 0%, #0052a3 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,82,163,0.22);
  position: relative;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.18s;
}

.cart-icon-link:hover, .cart-icon-link:focus {
  box-shadow: 0 12px 32px rgba(0,82,163,0.28);
  background: linear-gradient(90deg, #0052a3 0%, #0070e0 100%);
  color: #fff;
  transform: scale(1.07);
}

.cart-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  width: 2.2rem;
  height: 2.2rem;
}

.cart-animated {
  font-size: 1.5rem;
  transition: color 0.18s;
}

.cart-count-badge {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ff3b3b;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255,59,59,0.18);
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  z-index: 2;
}
  border-radius: 50px;
  background: linear-gradient(135deg, #0052a3 60%, #ffd600 100%);
  box-shadow: 0 4px 16px rgba(0,82,163,0.18), 0 0 12px #ffd60033;
  position: relative;
  transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
}
.cart-icon-link.cart-glow {
  box-shadow: 0 0 16px 4px #ffd60088, 0 4px 16px rgba(0,82,163,0.18);
}
.cart-icon-link:hover, .cart-icon-link:focus {
  background: linear-gradient(135deg, #ffd600 60%, #0052a3 100%);
  box-shadow: 0 0 24px 8px #ffd600cc, 0 8px 24px rgba(0,82,163,0.22);
  transform: scale(1.07);
}
.cart-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 2px 8px #ffd60033;
}
.cart-animated {
  color: #fff;
  text-shadow: 0 0 8px #ffd600, 0 2px 8px #0052a3;
  transition: color 0.18s, transform 0.18s, text-shadow 0.18s;
}
.cart-icon-link:hover .cart-animated {
  color: #ffd600;
  transform: scale(1.18) rotate(-8deg);
  text-shadow: 0 0 16px #ffd600, 0 2px 12px #0052a3;
}
.cart-count-badge {
  font-size: .75rem;
  box-shadow: 0 2px 8px #ffd60033;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7em;
  min-height: 1.7em;
  text-align: center;
  padding: 0.25em 0.5em;
}
/* FAB group for mobile */
.mobile-fab-group {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
  pointer-events: none;
}
.mobile-fab-group .mobile-fab {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(0,82,163,0.18);
  background: #fff;
  color: var(--color-primary);
  border: none;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s;
  margin-bottom: 0;
}
.mobile-fab-group .mobile-fab-quote {
  background: linear-gradient(180deg,var(--color-primary-600),var(--color-primary-700));
  color: #fff;
}
.mobile-fab-group .mobile-fab-wa {
  background: #25d366;
  color: #fff;
}
.mobile-fab-group .mobile-fab:hover, .mobile-fab-group .mobile-fab:focus {
  box-shadow: 0 8px 24px rgba(0,82,163,0.22);
  filter: brightness(1.07);
}
@media (min-width: 768px) {
  .mobile-fab-group { display: none !important; }
}
:root {
  --font-base: 14px;
  --font-md: 16px;
  --color-primary: #0052a3;
  --color-primary-600: #0062cc;
  --color-primary-700: #0052a3;
  --muted: #495057;
  --bg-soft: #f8f9fa;
  --card-shadow: rgba(0,0,0,0.12);
}

html {
  font-size: var(--font-base);
}

@media (min-width: 768px) {
  html { font-size: var(--font-md); }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(37,140,251,0.25);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
  color: #212529;
}

/* Tienda styles */
.product-card {
  transition: transform .12s ease-in-out, box-shadow .12s ease-in-out;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px var(--card-shadow);
}
.product-img {
  height: 220px;
  width: 100%;
  object-fit: contain;
  background: var(--bg-soft);
  padding: 16px;
  border-radius: 12px 12px 0 0;
}
.product-detail-img {
  max-height: 420px;
  object-fit: contain;
  background: #f8f9fa;
  padding: 16px;
}

.products-page {
  margin-bottom: 2rem;
}

.quote-request-page {
  margin-bottom: 2rem;
}

/* Home hero */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%); }

/* Enhanced home hero */
.home-hero {
  background: linear-gradient(135deg, rgba(0,82,163,0.95) 0%, rgba(0,99,204,0.85) 100%);
  color: white;
  border-radius: 12px;
  padding: 3rem 1.5rem;
  overflow: hidden;
}
.home-hero .display-5 { color: #fff; font-weight: 700; }
.home-hero .lead { color: rgba(255,255,255,0.9); }
.home-hero .hero-art { max-width: 380px; opacity: 0.95; }
.home-hero-pill {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
}
.home-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  font-size: .9rem;
}

.home-offer-bar {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: .75rem 1rem;
}

.home-promo-band {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: .9rem 1rem;
}

.home-benefit-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
}
.home-benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .55rem;
  background: var(--bg-soft);
  color: var(--color-primary);
}

.home-mobile-cta {
  position: fixed;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  z-index: 1030;
}
.home-mobile-cta .btn {
  border-radius: 999px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.featured-title { border-left: 4px solid var(--color-primary); padding-left: .75rem; }
.featured-head {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: .65rem;
}

/* Featured cards entrance animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.featured-row .product-card {
  animation: fadeUp 560ms cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 0.12s);
}
.featured-row .col { will-change: transform, opacity; }
.home-empty {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
}

/* slight hover lift for product cards */
.product-card:hover { transform: translateY(-6px) scale(1.01); transition: transform .18s ease; }
.hero .display-5 { font-weight: 600; }

@media (max-width: 768px) {
  .home-hero { padding: 2.1rem 1rem; }
  .home-hero .display-5 { font-size: 1.85rem; }
  .home-offer-bar { padding: .65rem .8rem; }
  .home-offer-bar .btn { width: 100%; }
  .home-promo-band { padding: .8rem .85rem; }
  .home-promo-band .btn { width: 100%; }
  .featured-row { margin-bottom: 5.5rem !important; }
  .products-page { margin-bottom: 2.5rem; }
  .quote-request-page { margin-bottom: 2.5rem; }
}

/* Theme */
.navbar-dark .navbar-brand { font-weight: 700; letter-spacing: .3px }
.btn-primary {
  background: linear-gradient(180deg,var(--color-primary-600),var(--color-primary-700));
  border: none;
}
.btn-primary:hover { filter: brightness(1.03); }
.card { border: none; border-radius: 12px; }
.card .card-body { padding: 1.25rem }
.text-primary { color: var(--color-primary) !important }
.lead { color: var(--muted) }

/* Navbar icon spacing */
.navbar .nav-link .bi { margin-right: 0.35rem; vertical-align: -.125em; }
.navbar .nav-link { display: inline-flex; align-items: center; gap: .25rem; }

/* Footer tweak */
.footer {
  background: linear-gradient(90deg, #0c2d6b 0%, #0052a3 55%, #0070e0 100%);
  color: rgba(255,255,255,.9) !important;
  border-top-color: rgba(255,255,255,.18) !important;
  padding: .9rem 0;
  margin-top: 2.5rem;
  margin-bottom: 0 !important;
}

.content-wrapper {
  min-height: 70vh;
  margin-bottom: 6rem;
}

.featured-row .product-card {
  overflow: visible !important;
}
.product-img {
  height: 220px;
  width: 100%;
  object-fit: contain;
  background: var(--bg-soft);
  padding: 16px;
  border-radius: 12px 12px 0 0;
  display: block;
  overflow: visible !important;
}
}

@media (max-width: 768px) {
  .content-wrapper {
    margin-bottom: 6rem;
  }
  .footer {
    margin-top: 2.5rem !important;
    margin-bottom: 0 !important;
    padding-bottom: 1.5rem !important;
  }
}
.footer a {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer a:hover,
.footer a:focus {
  color: #e8f1ff !important;
}

/* Category list tweaks */
.list-group-item { border-radius: 6px; }
.list-group-item a { color: inherit; display: block; width: 100%; }
.list-group-item.active {
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  border-left: 4px solid var(--color-primary);
}
.list-group-item.active a { color: var(--color-primary); text-decoration: none; }

/* Auth (login/register) styles */
.auth-page { padding: 2rem; }
.auth-card { max-width: 920px; width: 100%; overflow: hidden; border-radius: 14px; }
.auth-hero { background: linear-gradient(180deg, rgba(0,82,163,0.95), rgba(0,99,204,0.95)); }
.auth-hero h3 { font-weight: 700; }
.auth-hero .lead { color: rgba(255,255,255,0.9); }
.auth-hero .hero-art { max-width: 240px; opacity: 0.98; }
.auth-card .form-control-lg { padding: .9rem 1rem; font-size: 1rem; }
.auth-card .btn-lg { padding: .8rem 1rem; }
.auth-login-page {
  min-height: calc(100vh - 240px);
  margin-bottom: 2rem;
  border-radius: 14px;
  background: linear-gradient(120deg, #f8fafc 0%, #e0e7ef 100%);
}

@media (max-width: 767.98px) {
  .auth-card { border-radius: 10px; }
  .auth-hero { display: none !important; }
  .auth-login-page {
    min-height: auto;
    margin-bottom: 1.25rem;
    border-radius: 10px;
  }
}

/* Cart styles */
.cart-page h1 { letter-spacing: .2px; }
.cart-empty { border-radius: 12px; }
.cart-item { padding: 12px 10px; }
.cart-item-img { width:56px; height:56px; background:var(--bg-soft); color:var(--muted); font-size:18px; }
.order-summary { border-radius: 12px; }

/* Shipping & Privacy helper */
.page-card .card { border-radius: 12px; }
.sticky-top { top: 86px; }

/* Category Filter Styles */
.category-filter-container {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-filter-container h5 {
  color: #0052a3;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.btn-category {
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 2px solid #0052a3;
  color: #0052a3;
  background: transparent;
}

.btn-category:hover:not(.active) {
  background: #f0f5ff;
  transform: translateY(-2px);
}

.btn-category.active,
.btn-category.btn-primary {
  background: #0052a3;
  color: white;
  border-color: #0052a3;
  box-shadow: 0 4px 12px rgba(0, 82, 163, 0.3);
}

.btn-category.active:hover {
  background: #003d80;
  border-color: #003d80;
  box-shadow: 0 6px 16px rgba(0, 82, 163, 0.4);
}

.btn-outline-primary.active {
  background-color: #0052a3;
  border-color: #0052a3;
  color: white;
}

/* Navbar and logo custom styles */
.custom-navbar {
  background: linear-gradient(90deg, #0c2d6b 0%, #0052a3 55%, #0070e0 100%) !important;
  min-height: 72px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

  /* Ajuste carrito en móvil */
  @media (max-width: 767.98px) {
    .cart-icon-link,
    .cart-icon-wrapper {
      width: 2rem !important;
      height: 2rem !important;
      padding: 0.2rem 0.4rem !important;
    }
    .cart-animated {
      font-size: 1.2rem !important;
    }
    .cart-count-badge {
      font-size: 0.65rem !important;
      padding: 2px 6px !important;
    }
  }
.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
}
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus,
.custom-navbar .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}
.custom-navbar .navbar-toggler {
  border-color: rgba(255,255,255,.4);
}
.navbar-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0;
  padding-right: 10px;
  transition: height 0.2s;
}
@media (max-width: 576px) {
  .navbar-logo {
    height: 30px;
    padding-right: 5px;
  }
}