/*
 * FLAIRE Hardware — capa visual final.
 * Se carga después de los estilos particulares de cada página para mantener
 * una interfaz coherente sin modificar la lógica del ecommerce.
 */
:root {
  --hw-black: #071629;
  --hw-black-2: #0b203a;
  --hw-ink: #0b1f37;
  --hw-muted: #65758a;
  --hw-line: #dce6f1;
  --hw-paper: #f4f8fc;
  --hw-white: #ffffff;
  --hw-yellow: #168cff;
  --hw-yellow-2: #55b8ff;
  --hw-green: #207a46;
  --flaire-cyan: #06b6d4;
  --flaire-violet: #725cff;
  --flaire-gradient: linear-gradient(135deg, #0062ff 0%, #06b6d4 100%);
  --bs-primary: #0062ff;
  --bs-primary-rgb: 0, 98, 255;
  --bs-link-color: #0062ff;
  --bs-link-hover-color: #004bc5;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #b8b9b3 transparent;
}

::selection {
  color: #fff;
  background: #0062ff;
}

body {
  overflow-x: hidden;
  background: var(--hw-paper) !important;
  color: var(--hw-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.015em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--hw-ink);
  font-weight: 780;
  letter-spacing: -.045em;
}

.container {
  width: min(100% - 32px, 1360px);
  max-width: 1360px;
}

body > .border-bottom:first-of-type {
  position: sticky !important;
  top: 0;
  z-index: 1050;
  border: 0 !important;
  background: rgba(7, 22, 41, .92) !important;
  box-shadow: 0 1px 0 rgba(122, 190, 255, .12) !important;
  backdrop-filter: blur(16px);
}

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

.navbar {
  padding: 0 !important;
}

.navbar .container {
  min-height: 76px;
}

.navbar-brand img {
  max-width: 44px;
  border-radius: 50%;
  filter: none;
}

.navbar-brand span,
.navbar .text-dark,
.navbar .text-muted,
.navbar .feather-icon {
  color: #fff !important;
}

.navbar-brand span {
  font-size: 1.08rem;
  font-weight: 800 !important;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.ecom-search-col .input-group {
  min-height: 46px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.ecom-search-col .form-control,
.ecom-search-col .btn {
  border: 0 !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ecom-search-col .form-control::placeholder {
  color: rgba(255,255,255,.5);
}

.navbar .btn-outline-secondary {
  border-color: rgba(255,255,255,.18);
  color: #fff;
  background: transparent;
}

.navbar .btn-outline-secondary:hover {
  border-color: var(--hw-yellow);
  color: var(--hw-black);
  background: var(--hw-yellow);
}

.navbar .badge {
  color: #fff;
  background: var(--flaire-gradient) !important;
}

.ecom-desktop-nav {
  border-color: rgba(255,255,255,.1) !important;
  background: var(--hw-black) !important;
}

.ecom-desktop-nav .btn-primary {
  border: 1px solid var(--hw-yellow);
  border-radius: 12px;
  color: #fff;
  background: var(--flaire-gradient);
  box-shadow: 0 8px 24px rgba(0, 98, 255, .22);
}

.ecom-desktop-nav .btn-primary:hover {
  border-color: var(--hw-yellow-2);
  color: #fff;
  background: linear-gradient(135deg, #1473ff, #19c9df);
}

.ecom-nav .nav-link {
  color: rgba(255,255,255,.76) !important;
  font-size: .84rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.ecom-nav .nav-link:hover {
  color: var(--hw-yellow) !important;
  background: rgba(255,255,255,.06) !important;
}

.dropdown-menu {
  overflow: hidden;
  border: 1px solid var(--hw-line);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}

.dropdown-item {
  padding: .7rem 1rem;
  font-weight: 600;
}

.dropdown-item:hover {
  color: #fff;
  background: var(--flaire-gradient);
}

.btn {
  min-height: 42px;
  border-radius: 12px;
  font-weight: 720;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.bg-primary {
  border-color: #0062ff;
  color: #fff;
  background: var(--flaire-gradient) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: #168cff;
  color: #fff;
  background: linear-gradient(135deg, #1473ff, #19c9df) !important;
  box-shadow: 0 12px 28px rgba(0,98,255,.26);
}

.btn-outline-primary {
  border-color: var(--hw-black);
  color: var(--hw-black);
}

.btn-outline-primary:hover {
  border-color: var(--hw-black);
  color: #fff;
  background: var(--hw-black);
}

.premium-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--hw-muted) !important;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.premium-eyebrow::before {
  width: 25px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--flaire-gradient);
}

.premium-text-link {
  color: var(--hw-ink) !important;
  font-weight: 750;
  text-decoration: none;
}

.premium-text-link span {
  color: #0062ff;
  font-size: 1.35em;
}

.premium-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.premium-hero {
  padding: 22px 0 0 !important;
  background: var(--hw-paper);
}

.premium-hero .premium-hero-shell {
  position: relative;
  display: grid !important;
  grid-template-columns: .9fr 1.1fr !important;
  min-height: 620px !important;
  overflow: hidden;
  border: 1px solid rgba(112, 183, 255, .18);
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 78% 28%, rgba(0,98,255,.28), transparent 31%),
    radial-gradient(circle at 22% 100%, rgba(6,182,212,.14), transparent 35%),
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(145deg, #061426, #0a2340) !important;
  background-size: 42px 42px !important;
}

.premium-hero .premium-hero-shell::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  content: "";
  background: var(--flaire-gradient);
  box-shadow: 0 0 34px rgba(22,140,255,.8);
}

.premium-hero-copy {
  z-index: 2;
  padding: 78px 25px 78px clamp(38px, 6vw, 92px) !important;
}

.premium-hero-copy .premium-eyebrow {
  color: #65cfff !important;
}

.premium-hero-copy .premium-eyebrow::before {
  display: none;
}

.premium-hero-copy h1 {
  max-width: 700px;
  margin: 14px 0 24px;
  color: #fff;
  font-size: clamp(3.4rem, 5.8vw, 6.4rem) !important;
  font-weight: 850;
  letter-spacing: -.075em !important;
  line-height: .9 !important;
  text-wrap: balance;
}

.premium-hero-copy p {
  max-width: 560px;
  color: rgba(255,255,255,.65) !important;
  font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
  font-weight: 500;
  line-height: 1.6;
}

.premium-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.premium-hero-actions .btn-primary {
  min-height: 50px;
  border-color: rgba(255,255,255,.15);
  color: #fff;
  background: var(--flaire-gradient) !important;
  padding: .75rem 1.5rem;
  box-shadow: 0 15px 34px rgba(0,98,255,.34);
}

.premium-hero-actions .premium-text-link {
  color: #fff !important;
}

.premium-hero-product {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 45px 55px 75px 0 !important;
  text-decoration: none;
}

.premium-hero-product::before {
  position: absolute;
  width: min(36vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.85), transparent 22%),
    linear-gradient(145deg, #dceeff 0%, #79c8ff 45%, #0062ff 100%);
  box-shadow: 0 0 80px rgba(0,98,255,.34);
}

.premium-hero-product img {
  z-index: 1;
  width: min(100%, 570px) !important;
  max-height: 510px !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.04) saturate(1.05) drop-shadow(0 35px 25px rgba(0,14,35,.36)) !important;
  transition: transform .35s ease;
}

.premium-hero-product:hover img {
  transform: rotate(-2deg) scale(1.04) !important;
}

.premium-hero-product span {
  position: absolute;
  right: 55px;
  bottom: 34px;
  z-index: 2;
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-categories,
.home-products {
  margin-top: 100px !important;
}

.home-title,
.home-products h2 {
  font-size: clamp(2.25rem, 4vw, 4.2rem) !important;
  font-weight: 820 !important;
  letter-spacing: -.065em !important;
}

.home-categories .card,
.home-products .card,
.store-products .card {
  overflow: hidden;
  border: 1px solid var(--hw-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-categories .card:hover,
.home-products .card:hover,
.store-products .card:hover {
  z-index: 2;
  border-color: #7fc7ff !important;
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(9, 62, 116, .15), 0 0 0 1px rgba(0,98,255,.06) !important;
}

.home-categories .category-thumb,
.home-products .product-thumb,
.store-products .product-thumb {
  background: #f7f7f4 !important;
}

.home-categories .category-thumb {
  min-height: 210px !important;
}

.home-categories .category-img,
.home-products .product-card-img,
.store-products .product-card-img {
  background: transparent !important;
  mix-blend-mode: multiply;
}

.home-categories .category-img {
  height: 185px !important;
  object-fit: contain !important;
}

.home-products .product-thumb {
  min-height: 285px !important;
}

.home-products .product-card-img {
  height: 270px !important;
  padding: 0 !important;
}

.home-products .card h2 {
  min-height: 48px;
  font-size: 1.05rem !important;
  letter-spacing: -.025em !important;
}

.stock-panel,
.home-products .stock-panel {
  border: 1px solid var(--hw-line) !important;
  border-radius: 12px !important;
  background: var(--hw-paper) !important;
}

.home-products .btn-light,
.store-products .btn-light {
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  color: var(--hw-muted);
  background: #fff;
}

/* Catálogo */
.store-page {
  background: var(--hw-paper) !important;
}

.store-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 76px !important;
  color: #fff;
  background:
    radial-gradient(circle at 76% 5%, rgba(0,98,255,.4), transparent 30%),
    linear-gradient(135deg, #061426, #0b2f54) !important;
}

.store-hero::after {
  position: absolute;
  top: -150px;
  right: 6vw;
  width: 420px;
  height: 420px;
  border: 75px solid rgba(77, 181, 255, .3);
  border-radius: 50%;
  content: "";
  opacity: .95;
}

.store-hero .container {
  position: relative;
  z-index: 2;
}

.store-title {
  color: #fff !important;
  font-size: clamp(2.5rem, 4.5vw, 5rem) !important;
  font-weight: 840 !important;
  letter-spacing: -.065em !important;
}

.store-subtitle,
.store-hero .breadcrumb-item.active {
  color: rgba(255,255,255,.6) !important;
}

.store-hero .breadcrumb-item a {
  color: #6ed8ff !important;
}

.store-body {
  margin-top: -28px !important;
}

.tienda-sidebar .py-4 {
  position: sticky;
  top: 132px;
  padding: 24px !important;
  border: 1px solid var(--hw-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(14, 52, 91, .07);
}

.store-sidebar-title {
  font-size: 1.3rem !important;
}

.tienda-sidebar .nav-category {
  border: 0 !important;
  border-radius: 0 !important;
}

.tienda-sidebar .nav-category .nav-item {
  border-color: var(--hw-line) !important;
}

.tienda-sidebar .nav-category .nav-link {
  min-height: 48px;
  padding-right: 10px;
  padding-left: 10px;
  color: var(--hw-muted);
  font-weight: 620;
}

.tienda-sidebar .nav-category .nav-link:hover,
.tienda-sidebar .nav-category .nav-link.text-primary {
  border-radius: 10px;
  color: #fff !important;
  background: var(--flaire-gradient);
}

.store-header {
  padding: 22px 24px;
  border: 1px solid var(--hw-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(14, 52, 91, .055);
}

.store-header h3 {
  font-size: 1.6rem;
}

.form-control,
.form-select,
.input-group-text {
  min-height: 44px;
  border-color: var(--hw-line);
  border-radius: 8px;
  background-color: #fff;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #168cff;
  box-shadow: 0 0 0 3px rgba(22,140,255,.18) !important;
}

.store-products .product-card-body {
  padding: 14px !important;
}

.store-products .product-thumb {
  border-radius: 0 !important;
  padding: 20px !important;
}

.store-products .product-card-title {
  font-size: 1rem !important;
  font-weight: 740;
}

.product-card-price {
  font-size: 1.18rem !important;
  font-weight: 830 !important;
}

.pagination {
  gap: 6px;
}

.page-link {
  border: 1px solid var(--hw-line);
  border-radius: 8px !important;
  color: var(--hw-black);
}

.page-item.active .page-link {
  border-color: #0062ff;
  color: #fff;
  background: var(--flaire-gradient) !important;
}

/* Detalle de producto y páginas internas */
.pd-hero {
  background: var(--hw-black) !important;
}

.pd-hero::before {
  background: var(--hw-yellow) !important;
}

.pd-body .card,
.pd-card-product,
.modal-content {
  border: 1px solid var(--hw-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.pd-card-product:hover {
  border-color: #7fc7ff !important;
  box-shadow: 0 22px 52px rgba(9, 62, 116, .14) !important;
  transform: translateY(-4px);
}

.breadcrumb {
  font-weight: 650;
}

.alert {
  border-radius: 0;
}

/* Footer */
.footer {
  margin-top: 100px !important;
  color: rgba(255,255,255,.66) !important;
  background:
    radial-gradient(circle at 80% 0, rgba(0,98,255,.24), transparent 28%),
    #061426 !important;
}

.footer footer {
  padding-top: 68px !important;
  padding-bottom: 52px !important;
  background: transparent !important;
}

.footer h6 {
  color: #fff !important;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.footer .nav-link {
  padding: .28rem 0;
  color: rgba(255,255,255,.58) !important;
  font-size: .88rem;
}

.footer .nav-link:hover {
  color: #65cfff !important;
}

.footer .nav-link i {
  color: #3faeff;
}

.footer .border-top {
  border-color: rgba(255,255,255,.1) !important;
}

.footer .social-links {
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
}

@media (max-width: 991.98px) {
  .premium-hero .premium-hero-shell {
    min-height: 560px !important;
  }

  .premium-hero-copy h1 {
    font-size: clamp(3rem, 7vw, 4.6rem) !important;
  }

  .store-hero::after {
    right: -150px;
  }
}

@media (max-width: 767.98px) {
  .container {
    width: min(100% - 24px, 1360px);
  }

  body > .border-bottom:first-of-type {
    position: relative !important;
  }

  .navbar .container {
    min-height: auto;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .ecom-mobile-menu-toggle,
  .ecom-mobile-iconbar a {
    border-color: rgba(255,255,255,.16) !important;
    border-radius: 9px !important;
    color: #fff !important;
    background: rgba(255,255,255,.06) !important;
  }

  .ecom-mobile-drawer {
    color: var(--hw-ink);
    background: var(--hw-paper) !important;
  }

  .ecom-mobile-drawer-header {
    border-bottom: 4px solid #168cff !important;
    background: var(--hw-black);
  }

  .ecom-mobile-drawer-header h2 {
    color: #fff !important;
  }

  .ecom-mobile-nav a {
    border: 1px solid var(--hw-line) !important;
    border-radius: 0 !important;
    background: #fff;
  }

  .ecom-mobile-nav a:hover {
    border-color: #168cff !important;
    color: #fff;
    background: var(--flaire-gradient);
  }

  .premium-hero .premium-hero-shell {
    display: flex !important;
    min-height: auto !important;
    flex-direction: column;
  }

  .premium-hero-copy {
    padding: 54px 24px 14px !important;
    text-align: left !important;
  }

  .premium-hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.2rem) !important;
  }

  .premium-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-hero-product {
    min-height: 355px;
    padding: 20px 20px 62px !important;
  }

  .premium-hero-product::before {
    width: 290px;
  }

  .premium-hero-product img {
    max-height: 320px !important;
  }

  .premium-hero-product span {
    right: 24px;
    left: 24px;
    text-align: right;
  }

  .home-categories,
  .home-products {
    margin-top: 68px !important;
  }

  .home-products .row-cols-2 > *,
  .store-products .row-cols-2 > * {
    width: 100% !important;
  }

  .home-products .product-thumb {
    min-height: 250px !important;
    height: 250px !important;
    padding: 8px !important;
    aspect-ratio: auto !important;
  }

  .home-products .product-card-img {
    width: 100% !important;
    height: 236px !important;
    max-height: none !important;
    padding: 0 !important;
    object-fit: contain !important;
    transform: scale(1.18);
  }

  .store-products .product-thumb {
    position: relative;
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    margin-bottom: 12px !important;
    padding: 8px !important;
    aspect-ratio: auto !important;
  }

  .store-products .product-thumb a {
    position: absolute !important;
    inset: 8px !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .store-products .product-thumb .product-card-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    object-fit: contain !important;
    transform: scale(1.28);
    transform-origin: center;
  }

  .store-products .product-card-body {
    padding: 10px 12px 14px !important;
  }

  .store-products .card {
    border-radius: 16px !important;
  }

  .store-products .stock-panel {
    margin-top: 12px !important;
  }

  .store-hero {
    padding: 32px 0 58px !important;
  }

  .store-hero::after {
    top: -80px;
    right: -170px;
    width: 300px;
    height: 300px;
    border-width: 55px;
  }

  .store-title {
    font-size: 2.7rem !important;
  }

  .store-header {
    padding: 18px;
  }

  .footer {
    margin-top: 68px !important;
  }

  .footer footer {
    margin: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 30px !important;
    background: transparent !important;
  }

  .footer footer > [class*="col-"] {
    margin-bottom: 8px;
  }

  .footer h6 {
    margin-bottom: 14px !important;
  }

  .footer .nav-item {
    margin-bottom: 4px !important;
  }

  .footer .border-top {
    padding-top: 24px !important;
    padding-bottom: calc(28px + env(safe-area-inset-bottom)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Home profesional: composición B2B limpia y contenida */
body>div.border-bottom:first-of-type{margin:0!important;padding:0!important;border-color:#cbd5e1!important;background:#fff!important;box-shadow:0 4px 18px rgba(15,35,61,.08)}body>div.border-bottom:first-of-type .ecom-top-strip{display:none!important}body>div.border-bottom:first-of-type .navbar{padding:14px 0!important;background:#fff!important}body>div.border-bottom:first-of-type .navbar-brand span{color:#10233d!important;font-size:1rem;font-weight:850!important;letter-spacing:-.02em}body>div.border-bottom:first-of-type .navbar-brand img{max-width:42px;object-fit:contain}.ecom-search-col .input-group{overflow:hidden;border:1px solid #aebccc!important;border-radius:10px!important;background:#f7f9fc!important;box-shadow:none!important}.ecom-search-col .form-control,.ecom-search-col .btn{min-height:44px;border:0!important;background:transparent!important}.ecom-search-col .form-control:focus{box-shadow:none}.ecom-quick-link,#locationTrigger{min-height:42px!important;border-color:#b7c3d1!important;border-radius:10px!important;color:#405066!important;background:#fff!important;box-shadow:none!important}.ecom-cart-link{border-color:#1463d6!important;color:#fff!important;background:#1463d6!important}.ecom-desktop-nav{border-color:#d4dde7!important;background:#fff!important}.ecom-desktop-nav>.container>.row{min-height:56px}.ecom-desktop-nav .dropdown>.btn{height:42px;border:0!important;border-radius:9px!important;background:#10233d!important;box-shadow:none!important}.ecom-nav{gap:3px!important}.ecom-nav .nav-link{padding:10px 14px!important;color:#405066!important;font-size:.76rem!important;font-weight:800!important;letter-spacing:.045em;text-transform:uppercase}.ecom-nav .nav-link:hover{color:#0f53b8!important;background:#eaf2ff!important}
.premium-hero{padding:28px 0 0!important;background:#edf2f7!important}.premium-hero .premium-hero-shell{display:grid!important;min-height:520px!important;grid-template-columns:1.08fr .92fr!important;overflow:hidden;border:1px solid #2b4a6c!important;border-radius:18px!important;background:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(120deg,#10233d,#0c1c31)!important;background-size:42px 42px!important;box-shadow:0 18px 42px rgba(16,35,61,.18)!important}.premium-hero .premium-hero-shell:before{width:6px!important;background:#1463d6!important;box-shadow:none!important}.premium-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:54px 34px 54px clamp(42px,6vw,82px)!important}.premium-hero-copy .premium-eyebrow{color:#76b6ff!important;font-size:.72rem!important;letter-spacing:.13em!important}.premium-hero-copy h1{max-width:620px;margin:15px 0 20px!important;color:#fff;font-size:clamp(3.2rem,5.1vw,5.4rem)!important;font-weight:830!important;letter-spacing:-.067em!important;line-height:.94!important}.premium-hero-copy h1 em{color:#4aa0ff!important;font-style:normal}.premium-hero-copy p{max-width:510px!important;color:#bac9da!important;font-size:1.05rem!important;line-height:1.55!important}.premium-hero-benefits{display:flex!important;flex-wrap:wrap;gap:18px!important;margin-top:4px!important;color:#dce8f5!important}.premium-hero-benefits span{font-size:.78rem!important}.premium-hero-actions{gap:14px!important;margin-top:28px!important}.premium-hero-actions .btn-primary{min-height:46px!important;border:0!important;border-radius:8px!important;background:#1463d6!important;box-shadow:none!important}.premium-hero-actions .premium-text-link{padding:11px 8px!important;color:#fff!important;font-size:.84rem!important}
.premium-hero-product{position:relative!important;align-self:center;width:calc(100% - 64px)!important;height:400px!important;margin:0 42px 0 12px!important;padding:56px 28px 74px!important;border:1px solid #c4cfdb!important;border-radius:14px!important;background:#f5f7fa!important;box-shadow:0 18px 38px rgba(0,10,25,.28)!important;transform:none!important;transition:border-color .2s ease,transform .2s ease!important}.premium-hero-product:hover{border-color:#6da9f4!important;transform:translateY(-3px)!important}.premium-hero-product:before{display:none!important;animation:none!important}.premium-hero-product img{width:100%!important;height:100%!important;max-height:270px!important;padding:4px!important;object-fit:contain!important;mix-blend-mode:multiply!important;filter:none!important;transform:none!important}.premium-hero-product:hover img{transform:none!important}.premium-hero-product>.hero-product-kicker{top:18px!important;right:auto!important;bottom:auto!important;left:20px!important;padding:6px 9px!important;border:1px solid #9dbce2!important;border-radius:6px!important;color:#0f53b8!important;background:#eaf2ff!important;font-size:.62rem!important}.hero-product-info{right:18px!important;bottom:16px!important;left:18px!important;display:flex!important;min-height:49px!important;align-items:center!important;justify-content:space-between!important;padding:10px 13px!important;border:1px solid #b8c4d2!important;border-radius:8px!important;color:#10233d!important;background:#fff!important;box-shadow:none!important}.hero-product-info span{position:static!important;max-width:70%!important;color:#405066!important;font-size:.78rem!important;text-transform:none!important;letter-spacing:0!important}.hero-product-info strong{color:#10233d!important;font-size:1.15rem!important}.premium-hero-product>.hero-product-stock{top:18px!important;right:18px!important;bottom:auto!important;padding:6px 9px!important;border:1px solid #91c4ad!important;border-radius:6px!important;color:#075b40!important;background:#e7f6ef!important;font-size:.62rem!important}.premium-scroll-cue{display:none!important}
.flaire-trust{margin:18px 0 0!important}.flaire-trust-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.flaire-trust-item,.flaire-trust-item:nth-child(even){min-height:76px!important;padding:14px 16px!important;border:1px solid #aebccc!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}.flaire-trust-item:before{display:none!important}.flaire-trust-item i{border-radius:8px!important;color:#1463d6!important;background:#eaf2ff!important}.home-categories,.home-products{margin-top:76px!important}.home-title,.home-products h2{color:#10233d!important;font-size:clamp(2.2rem,3.5vw,3.5rem)!important;letter-spacing:-.05em!important}.home-categories .card,.home-products .card,.store-products .card,.home-categories .item:nth-child(n) .card,.home-products .col:nth-child(n) .card,.store-products .col:nth-child(n) .card{border-color:#aebccc!important;border-radius:12px!important;box-shadow:none!important}.card-product .product-card-img,.card-product .category-img,.card-product:hover .product-card-img,.card-product:hover .category-img{transform:none!important;will-change:auto!important}
@media(max-width:991.98px){.premium-hero .premium-hero-shell{min-height:0!important;grid-template-columns:1fr!important}.premium-hero-copy{padding:48px!important}.premium-hero-product{width:calc(100% - 96px)!important;height:380px!important;margin:0 48px 48px!important}.flaire-trust-grid{grid-template-columns:1fr 1fr!important}}@media(max-width:767.98px){.premium-hero{padding:0!important}.premium-hero .container{max-width:none!important;padding:0!important}.premium-hero .premium-hero-shell{border-right:0!important;border-left:0!important;border-radius:0 0 22px 22px!important}.premium-hero-copy{padding:38px 22px!important}.premium-hero-copy h1{font-size:3.25rem!important}.premium-hero-product{width:calc(100% - 32px)!important;height:330px!important;margin:0 16px 24px!important;padding:52px 18px 70px!important}.flaire-trust{margin:12px 0 0!important}.flaire-trust-grid{gap:8px!important}.flaire-trust-item{min-height:70px!important;padding:10px!important}.home-categories,.home-products{margin-top:54px!important}}

/* Categorías: tarjetas e imágenes homogéneas */
.home-categories .category-slider .item{height:100%;padding-bottom:10px}.home-categories .category-slider .card{height:244px!important;min-height:244px!important;border-radius:18px!important}.home-categories .category-slider .card-body{display:flex;height:100%;flex-direction:column;padding:1.1rem!important}.home-categories .category-thumb{width:calc(100% + 2.2rem);height:184px!important;min-height:184px!important;max-height:184px!important;flex:0 0 184px;margin:-1.1rem -1.1rem .75rem!important;padding:12px!important;border-radius:18px 18px 0 0!important;background-color:#eef2f6!important}.home-categories .category-thumb.category-atlas{background-image:url('../images/category/hardware-category-atlas.png')!important;background-repeat:no-repeat!important;background-size:700% 300%!important;background-position:calc(var(--atlas-col) * 16.6666667%) calc(var(--atlas-row) * 50%)!important}.home-categories .category-img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;border-radius:10px!important;object-fit:contain!important;mix-blend-mode:normal!important}.home-categories .card-body>.fw-semibold{display:flex;min-height:38px;align-items:center;justify-content:center;flex:1;color:#253142;font-size:.78rem;line-height:1.25;text-align:center}
@media(max-width:767.98px){.home-categories .category-slider .card{height:222px!important;min-height:222px!important}.home-categories .category-thumb{height:164px!important;min-height:164px!important;max-height:164px!important;flex-basis:164px}}

/* Accesos persistentes a deseos y carrito */
.ecom-quick-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 8px 10px 8px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255,255,255,.06);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.ecom-quick-link:hover {
  border-color: rgba(143,200,255,.5);
  color: #fff !important;
  background: rgba(41,151,255,.14);
  transform: translateY(-2px);
}

.ecom-quick-link i {
  color: #8fc8ff !important;
  font-size: 1rem;
}

.ecom-quick-count {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: var(--flaire-navy);
  background: #fff;
  font-size: .72rem;
  line-height: 1;
}

.ecom-cart-link {
  border-color: var(--flaire-primary);
  background: var(--flaire-primary);
}

.ecom-cart-link:hover {
  border-color: var(--flaire-light);
  background: #0057c4;
}

.ecom-cart-link i {
  color: #fff !important;
}

.ecom-mobile-shop-dock {
  display: none;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .ecom-mobile-shop-dock {
    position: fixed;
    z-index: 1180;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 22px;
    background: rgba(255,255,255,.90);
    box-shadow: 0 18px 50px rgba(3,20,38,.24);
    backdrop-filter: blur(20px);
  }

  .ecom-mobile-dock-link {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--flaire-border);
    border-radius: 16px;
    color: var(--flaire-text);
    background: var(--flaire-mist);
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
  }

  .ecom-mobile-dock-cart {
    border-color: var(--flaire-primary);
    color: #fff;
    background: var(--flaire-primary);
    box-shadow: 0 9px 22px rgba(0,102,230,.22);
  }

  .ecom-mobile-dock-icon {
    position: relative;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    font-size: 1.05rem;
  }

  .ecom-mobile-dock-icon b {
    position: absolute;
    top: -7px;
    right: -8px;
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #ef4444;
    font-size: .61rem;
    line-height: 1;
  }

  .ecom-mobile-dock-cart .ecom-mobile-dock-icon b {
    color: var(--flaire-primary);
    background: #fff;
  }

  .ecom-mobile-drawer.is-open ~ .ecom-mobile-shop-dock {
    opacity: 0;
    pointer-events: none;
  }

  .ecom-chat-widget {
    right: 16px !important;
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }
}

/* Catálogo FLAIRE: portada compacta y jerarquía comercial */
.ecom-nav,
.nav-lb-tab {
  border-bottom: 0 !important;
}

.store-hero {
  min-height: 280px;
  padding: 54px 0 72px !important;
}

.store-hero::after {
  top: -210px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-width: 62px;
  opacity: .55;
}

.store-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
}

.store-hero-copy {
  min-width: 0;
}

.store-hero .breadcrumb {
  margin: 0 0 22px;
  font-size: .75rem;
}

.store-hero-eyebrow,
.store-header-kicker {
  display: block;
  margin-bottom: 9px;
  color: #8fc8ff;
  font-size: .7rem;
  font-weight: 780;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.store-title {
  max-width: 820px;
  margin: 0 0 12px !important;
  font-size: clamp(3rem, 5.5vw, 5.6rem) !important;
  line-height: .92;
  text-wrap: balance;
}

.store-subtitle {
  font-size: .95rem;
}

.store-hero-aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px;
  padding-bottom: 4px;
}

.store-hero-feature {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 17px;
  color: #fff;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(12px);
}

.store-hero-feature i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  color: #8fc8ff;
  background: rgba(41,151,255,.14);
  font-size: 1.05rem;
}

.store-hero-feature span {
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,.58);
  font-size: .68rem;
  line-height: 1.35;
}

.store-hero-feature strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: .78rem;
}

.store-body {
  margin-top: -36px !important;
}

.store-header {
  min-height: 108px;
  align-items: center !important;
  margin-bottom: 22px !important;
  padding: 20px 24px;
}

.store-header-kicker {
  margin-bottom: 5px;
  color: var(--flaire-primary);
}

.store-header h3 {
  color: var(--flaire-text) !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.store-filter-title {
  color: var(--flaire-muted) !important;
  font-size: .66rem !important;
  letter-spacing: .11em !important;
}

.store-sort-form .form-select {
  min-width: 210px;
  border-radius: 12px;
}

.tienda-sidebar .py-4 {
  padding: 22px !important;
}

.store-sidebar-title {
  margin-bottom: 14px !important;
  font-size: 1.2rem !important;
}

@media (max-width: 991.98px) {
  .store-hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .store-hero-aside {
    max-width: 520px;
  }
}

@media (max-width: 767.98px) {
  .store-hero {
    min-height: auto;
    padding: 32px 0 58px !important;
  }

  .store-hero::after {
    top: -130px;
    right: -180px;
    width: 360px;
    height: 360px;
    border-width: 48px;
  }

  .store-hero .breadcrumb {
    margin-bottom: 17px;
  }

  .store-title {
    max-width: 90%;
    font-size: clamp(2.55rem, 13vw, 3.7rem) !important;
  }

  .store-hero-aside {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .store-hero-feature {
    min-height: 66px;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .store-hero-feature i {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: .9rem;
  }

  .store-hero-feature strong {
    font-size: .7rem;
  }

  .store-hero-feature span {
    font-size: .6rem;
  }

  .store-body {
    margin-top: -28px !important;
  }

  .store-header {
    min-height: auto;
    padding: 18px;
  }

  .store-sort-form,
  .store-sort-form .form-select {
    width: 100%;
  }
}

/* Hero comercial: recorrido visual, producto estrella y señales de compra */
.premium-hero-copy h1 em {
  color: var(--flaire-light);
  font-style: normal;
}

.premium-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  font-weight: 600;
}

.premium-hero-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.premium-hero-benefits i {
  color: #8fc8ff;
  font-size: 1rem;
}

.premium-hero-product {
  isolation: isolate;
}

.premium-hero-product::before {
  width: min(34vw, 490px);
  background:
    radial-gradient(circle at 33% 27%, rgba(255,255,255,.94), transparent 24%),
    linear-gradient(145deg, #dceeff 0%, #8fc8ff 48%, #0066e6 100%);
}

.premium-hero-product img {
  width: min(92%, 540px) !important;
  max-height: 480px !important;
  border-radius: 38% 62% 54% 46% / 45% 43% 57% 55%;
  mix-blend-mode: multiply;
}

.premium-hero-product > .hero-product-kicker {
  position: absolute;
  z-index: 4;
  top: 62px;
  right: 52px;
  bottom: auto;
  left: auto;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(3,20,38,.58);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-product-info {
  position: absolute;
  z-index: 4;
  right: 42px;
  bottom: 82px;
  left: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  color: #fff;
  background: rgba(3,20,38,.74);
  box-shadow: 0 16px 34px rgba(3,20,38,.22);
  backdrop-filter: blur(16px);
}

.hero-product-info span {
  position: static !important;
  color: rgba(255,255,255,.78) !important;
  font-size: .82rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
}

.hero-product-info strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.premium-hero-product > .hero-product-stock {
  position: absolute;
  z-index: 5;
  top: 112px;
  right: 34px;
  bottom: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--flaire-text);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 26px rgba(3,20,38,.16);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero-product-stock i {
  color: var(--flaire-primary);
}

.premium-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 22px;
  left: 50%;
  display: none;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.55);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.premium-scroll-cue span {
  position: relative;
  width: 18px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 99px;
}

.premium-scroll-cue span::after {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 3px;
  height: 6px;
  border-radius: 5px;
  content: "";
  background: #fff;
  animation: flaire-scroll-dot 1.8s infinite;
}

@keyframes flaire-scroll-dot {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(9px); opacity: 1; }
}

@media (max-width: 767.98px) {
  .premium-hero-benefits {
    display: grid;
    gap: 8px;
    margin-top: 18px;
  }

  .premium-hero-product {
    min-height: 390px !important;
    padding-bottom: 86px !important;
  }

  .premium-hero-product::before {
    width: 300px;
  }

  .premium-hero-product img {
    width: 94% !important;
    max-height: 300px !important;
  }

  .premium-hero-product > .hero-product-kicker {
    top: 24px;
    right: 18px;
  }

  .premium-hero-product > .hero-product-stock {
    top: 66px;
    right: 12px;
  }

  .hero-product-info {
    right: 16px;
    bottom: 52px;
    left: 16px;
    padding: 14px;
  }

  .hero-product-info strong {
    font-size: 1.1rem;
  }

  .premium-scroll-cue {
    display: none;
  }
}

/* Identidad oficial FLAIRE — alineada con flairemonterrey.com */
:root {
  --flaire-navy: #031426;
  --flaire-navy-soft: #08233f;
  --flaire-blue: #003c82;
  --flaire-primary: #0066e6;
  --flaire-light: #2997ff;
  --flaire-pale: #eaf4ff;
  --flaire-mist: #f8fbff;
  --flaire-bg: #e2e6eb;
  --flaire-bg-deep: #d4d9e0;
  --flaire-bg-light: #eef1f4;
  --flaire-text: #101828;
  --flaire-muted: #667085;
  --flaire-border: rgba(15, 35, 60, .10);
  --bs-primary: #0066e6;
  --bs-primary-rgb: 0, 102, 230;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.72), transparent 29%),
    radial-gradient(circle at 88% 32%, rgba(195,205,217,.58), transparent 30%),
    linear-gradient(145deg, var(--flaire-bg-light) 0%, var(--flaire-bg) 48%, var(--flaire-bg-deep) 100%) fixed !important;
  color: var(--flaire-text);
}

.store-page,
.account-page {
  background: transparent !important;
}

.home-categories,
.home-products,
.store-body,
.account-body {
  position: relative;
}

.home-categories::before,
.home-products::before {
  position: absolute;
  z-index: -1;
  inset: -38px 0;
  content: "";
  border-radius: 42px;
  background: rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42);
  pointer-events: none;
}

body > .border-bottom:first-of-type {
  top: 12px;
  width: min(calc(100% - 48px), 1460px);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 22px;
  background: rgba(3,20,38,.93) !important;
  box-shadow: 0 12px 38px rgba(3,20,38,.16) !important;
  backdrop-filter: blur(20px);
}

.navbar-brand img,
.ecom-mobile-brand img {
  width: 150px !important;
  max-width: 150px !important;
  max-height: 46px !important;
  border-radius: 0 !important;
  object-fit: contain;
  object-position: left center;
}

.navbar-brand span,
.ecom-mobile-brand span {
  display: none !important;
}

.btn {
  border-radius: 999px !important;
}

.btn-primary,
.bg-primary,
.ecom-desktop-nav .btn-primary {
  border-color: var(--flaire-primary) !important;
  color: #fff !important;
  background: var(--flaire-primary) !important;
  box-shadow: 0 10px 24px rgba(0,102,230,.18);
}

.btn-primary:hover,
.btn-primary:focus,
.ecom-desktop-nav .btn-primary:hover {
  border-color: #0057c4 !important;
  color: #fff !important;
  background: #0057c4 !important;
}

.premium-hero {
  padding: 104px 12px 0 !important;
}

.premium-hero > .container {
  width: min(100%, 1460px);
  max-width: 1460px;
  padding: 0;
}

.premium-hero .premium-hero-shell {
  min-height: 650px !important;
  border: 0 !important;
  border-radius: 0 0 40px 40px !important;
  background:
    radial-gradient(circle at 79% 25%, rgba(41,151,255,.23), transparent 30%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--flaire-navy) !important;
  background-size: auto, 42px 42px, 42px 42px, auto !important;
}

.premium-hero .premium-hero-shell::before {
  display: none;
}

.premium-hero-copy h1 {
  font-weight: 680;
  letter-spacing: -.065em !important;
  text-wrap: balance;
}

.premium-hero-copy .premium-eyebrow {
  color: #8fc8ff !important;
}

.premium-hero-actions .btn-primary {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--flaire-navy) !important;
  box-shadow: none;
}

.premium-hero-actions .btn-primary:hover {
  background: var(--flaire-pale) !important;
}

.premium-hero-product::before {
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), transparent 22%),
    linear-gradient(145deg, #eaf4ff 0%, #8fc8ff 48%, #0066e6 100%);
  box-shadow: 0 0 80px rgba(0,102,230,.28);
}

.premium-eyebrow {
  color: var(--flaire-primary) !important;
}

.premium-eyebrow::before {
  background: var(--flaire-primary);
}

.premium-text-link,
.premium-text-link span {
  color: var(--flaire-primary) !important;
}

.premium-hero-actions .premium-text-link {
  color: #fff !important;
}

.home-categories .card,
.home-products .card,
.store-products .card {
  border-color: rgba(15,35,60,.09) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 7px 0 rgba(27,50,75,.07), 0 18px 42px rgba(3,20,38,.09) !important;
}

.home-categories .card:hover,
.home-products .card:hover,
.store-products .card:hover {
  border-color: rgba(0,102,230,.28) !important;
  box-shadow: 0 10px 0 rgba(0,60,130,.10), 0 24px 48px rgba(3,20,38,.13) !important;
}

.home-categories .category-thumb,
.home-products .product-thumb,
.store-products .product-thumb {
  background: var(--flaire-mist) !important;
}

.store-hero,
.pd-hero {
  background:
    radial-gradient(circle at 78% 0, rgba(41,151,255,.22), transparent 28%),
    var(--flaire-navy) !important;
}

.store-hero::after {
  border-color: rgba(41,151,255,.20);
}

.store-hero .breadcrumb-item a {
  color: #8fc8ff !important;
}

.tienda-sidebar .py-4,
.store-header {
  border-color: var(--flaire-border);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 7px 0 rgba(27,50,75,.055), 0 18px 42px rgba(3,20,38,.075);
  backdrop-filter: blur(14px);
}

.tienda-sidebar .nav-category .nav-link:hover,
.tienda-sidebar .nav-category .nav-link.text-primary {
  border-radius: 999px;
  color: var(--flaire-primary) !important;
  background: var(--flaire-pale);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--flaire-light);
  box-shadow: 0 0 0 3px rgba(41,151,255,.18) !important;
}

.page-item.active .page-link {
  border-color: var(--flaire-primary);
  color: #fff;
  background: var(--flaire-primary) !important;
}

.footer {
  background: var(--flaire-navy) !important;
}

.flaire-footer-logo {
  display: block;
  width: 170px;
  height: 56px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.flaire-footer-intro {
  max-width: 330px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.52);
  font-size: .9rem;
  line-height: 1.65;
}

.flaire-trust {
  position: relative;
  z-index: 12;
  margin-top: -36px;
}

.flaire-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  padding: 12px 12px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: var(--flaire-blue);
  box-shadow: 0 28px 60px rgba(3,20,38,.18);
}

.flaire-trust-item {
  position: relative;
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 11px;
  padding: 14px 13px;
  overflow: hidden;
  border: 1px solid rgba(0,60,130,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 0 rgba(3,20,38,.28), 0 13px 22px rgba(3,20,38,.13);
  transform: translateY(-4px);
  transition: transform .3s ease, box-shadow .3s ease;
}

.flaire-trust-item:nth-child(even) {
  background: var(--flaire-pale);
}

.flaire-trust-item::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  border-radius: 0 0 5px 5px;
  content: "";
  background: var(--flaire-primary);
}

.flaire-trust-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 9px 0 rgba(3,20,38,.24), 0 18px 30px rgba(3,20,38,.16);
}

.flaire-trust-item i {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 13px;
  color: var(--flaire-primary);
  background: var(--flaire-pale);
  font-size: 1.2rem;
}

.flaire-trust-item span {
  display: flex;
  flex-direction: column;
  color: var(--flaire-muted);
  font-size: .72rem;
  line-height: 1.35;
}

.flaire-trust-item strong {
  color: var(--flaire-text);
  font-size: .88rem;
}

@media (max-width: 767.98px) {
  body > .border-bottom:first-of-type {
    top: 0;
    width: 100%;
    border-radius: 0;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .navbar-brand img,
  .ecom-mobile-brand img {
    width: 125px !important;
    max-width: 125px !important;
    max-height: 38px !important;
  }

  .premium-hero {
    padding: 0 !important;
  }

  .premium-hero .premium-hero-shell {
    min-height: auto !important;
    border-radius: 0 0 28px 28px !important;
  }

  .premium-hero-copy {
    width: 100% !important;
    min-width: 0 !important;
    padding: 48px 20px 18px !important;
    overflow: hidden;
  }

  .premium-hero-copy h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.35rem) !important;
    line-height: .96 !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .premium-hero-copy p {
    width: 100%;
    max-width: 100%;
    font-size: .98rem !important;
  }

  .ecom-mobile-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    z-index: 1900 !important;
  }

  .ecom-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    width: min(90vw, 390px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    overflow: hidden !important;
    z-index: 2000 !important;
    color: var(--flaire-text);
    background: var(--flaire-bg) !important;
    box-shadow: 28px 0 70px rgba(3,20,38,.24) !important;
  }

  .ecom-mobile-drawer-header {
    min-height: 70px;
    flex: 0 0 auto;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
    background: var(--flaire-navy) !important;
  }

  .ecom-mobile-close {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: rgba(255,255,255,.1) !important;
  }

  .ecom-mobile-drawer-content {
    min-height: 0 !important;
    flex: 1 1 auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 14px 16px calc(28px + env(safe-area-inset-bottom)) !important;
    overscroll-behavior: contain;
  }

  .ecom-mobile-nav {
    gap: 8px !important;
  }

  .ecom-mobile-nav a {
    min-height: 52px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--flaire-border) !important;
    border-radius: 14px !important;
    background: #fff !important;
  }

  .ecom-mobile-nav a:hover,
  .ecom-mobile-nav a:focus {
    border-color: rgba(0,102,230,.28) !important;
    color: var(--flaire-primary) !important;
    background: var(--flaire-pale) !important;
  }

  .ecom-mobile-subtitle {
    margin-top: 24px !important;
    color: var(--flaire-primary) !important;
    font-weight: 750;
  }

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

  .flaire-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px 9px 15px;
    border-radius: 22px;
  }

  .flaire-trust-item {
    min-height: 82px;
    padding: 10px;
    gap: 8px;
    border-radius: 15px;
  }

  .flaire-trust-item i {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
    font-size: 1rem;
  }

  .flaire-trust-item strong {
    font-size: .78rem;
  }

  .flaire-trust-item span {
    font-size: .66rem;
  }
}

/* Profundidad orgánica y parallax sutil */
.premium-hero .premium-hero-shell {
  --parallax-x: 0px;
  --parallax-y: 0px;
  border-radius: 0 0 48px 48px !important;
}

/* Aprovechamiento vertical entre navegación y contenido principal */
@media (min-width: 768px) {
  .premium-hero {
    padding: 24px 12px 0 !important;
  }

  .premium-hero .premium-hero-shell {
    min-height: 590px !important;
    border-radius: 38px !important;
  }

  .premium-hero-copy {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .premium-hero-product {
    padding-top: 34px !important;
    padding-bottom: 56px !important;
  }

  body > .border-bottom:first-of-type {
    margin-bottom: 0;
  }
}

.premium-hero-product {
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform .18s ease-out;
  will-change: transform;
}

.premium-hero-product::before {
  border-radius: 46% 54% 58% 42% / 43% 48% 52% 57%;
  animation: flaire-organic-float 9s ease-in-out infinite alternate;
}

.home-categories .item:nth-child(4n + 1) .card,
.home-products .col:nth-child(4n + 1) .card,
.store-products .col:nth-child(4n + 1) .card {
  border-radius: 28px 28px 28px 10px !important;
}

.home-categories .item:nth-child(4n + 2) .card,
.home-products .col:nth-child(4n + 2) .card,
.store-products .col:nth-child(4n + 2) .card {
  border-radius: 28px 10px 28px 28px !important;
}

.home-categories .item:nth-child(4n + 3) .card,
.home-products .col:nth-child(4n + 3) .card,
.store-products .col:nth-child(4n + 3) .card {
  border-radius: 10px 28px 28px 28px !important;
}

.home-categories .item:nth-child(4n) .card,
.home-products .col:nth-child(4n) .card,
.store-products .col:nth-child(4n) .card {
  border-radius: 28px 28px 10px 28px !important;
}

.card-product {
  --card-parallax-x: 0px;
  --card-parallax-y: 0px;
}

@media (min-width: 768px) {
  .card-product .product-card-img,
  .card-product .category-img {
    transform: translate3d(var(--card-parallax-x), var(--card-parallax-y), 0) scale(1.02);
    transition: transform .28s cubic-bezier(.22,.8,.3,1);
    will-change: transform;
  }

  .card-product:hover .product-card-img,
  .card-product:hover .category-img {
    transform: translate3d(var(--card-parallax-x), var(--card-parallax-y), 0) scale(1.075);
  }
}

.flaire-trust-grid,
.tienda-sidebar .py-4,
.store-header {
  border-radius: 30px 16px 30px 16px;
}

@keyframes flaire-organic-float {
  0% {
    border-radius: 46% 54% 58% 42% / 43% 48% 52% 57%;
    transform: rotate(-2deg) scale(.98);
  }
  100% {
    border-radius: 54% 46% 42% 58% / 52% 57% 43% 48%;
    transform: rotate(2deg) scale(1.025);
  }
}

@media (max-width: 767.98px) {
  .premium-hero .premium-hero-shell {
    border-radius: 0 0 32px 32px !important;
  }

  .premium-hero-product {
    transform: none !important;
  }

  .home-categories .card,
  .home-products .card,
  .store-products .card {
    border-radius: 22px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-hero-product,
  .card-product .product-card-img,
  .card-product .category-img {
    transform: none !important;
  }

  .premium-hero-product::before {
    animation: none !important;
  }
}
