/*
 Theme Name:   Bexon Child
 Template:     bexon
 Description:  Child theme Bexie Energy — Product Landing v5
 Author:       Bexie
 Version:      5.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── Variables ── */
:root {
  --navy:   #1B3761;
  --teal:   #2395A5;
  --sky:    #6fc4e3;
  --light:  #E3EAEC;
  --white:  #ffffff;
  --text:   #0d1e35;
  --muted:  #4d6a82;
  --r:      16px;
  --r-sm:   10px;
  --ease:   0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ══════════════════════════════════════════
   RESET ONLY INSIDE OUR WRAP
══════════════════════════════════════════ */
.bxl-wrap { display: block; }
.bxl-wrap *, .bxl-wrap *::before, .bxl-wrap *::after {
  box-sizing: border-box;
}
.bxl-wrap img { max-width:100%; height:auto; display:block; }
.bxl-wrap a { text-decoration: none; }

/* Hide default WooCommerce structure */
body.single-product .row > .col-lg-12 { padding: 0 !important; }
body.single-product #content { padding: 0 !important; }

/* Forzar color de texto base en toda la landing */
body.single-product .bxl-wrap {
  color: rgba(255,255,255,0.72) !important;
}
body.single-product .bxl-wrap p,
body.single-product .bxl-wrap li,
body.single-product .bxl-wrap span,
body.single-product .bxl-wrap td,
body.single-product .bxl-wrap div {
  color: rgba(255,255,255,0.72) !important;
}
body.single-product .bxl-wrap h1,
body.single-product .bxl-wrap h2,
body.single-product .bxl-wrap h3,
body.single-product .bxl-wrap h4,
body.single-product .bxl-wrap strong,
body.single-product .bxl-wrap b {
  color: #ffffff !important;
}

/* ══════════════════════════════════════════
   HERO — full-bleed dark gradient background
══════════════════════════════════════════ */
.bxl-hero {
  position: relative;
  background: linear-gradient(135deg, #1a2e4a 0%, #1e3a5f 40%, #1a3d52 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Background FX */
.bxl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bxl-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111,196,227,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,196,227,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.bxl-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: bxl-float 8s ease-in-out infinite;
}
.bxl-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(35,149,165,0.45) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.bxl-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,58,95,0.7) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation-delay: -4s;
}
@keyframes bxl-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,30px) scale(0.97); }
}

.bxl-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 56px;
  width: 100%;
}

/* ── IMAGE COLUMN ── */
.bxl-hero-img-col { display:flex; justify-content:center; align-items:center; }
.bxl-img-container { position:relative; width:100%; max-width:480px; }

/* Pulsing rings behind product */
.bxl-img-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.bxl-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(111,196,227,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.bxl-ring-1 { width:340px; height:340px; animation: bxl-ring-pulse 3s ease-in-out infinite; }
.bxl-ring-2 { width:460px; height:460px; animation: bxl-ring-pulse 3s ease-in-out infinite 1s; }
.bxl-ring-3 { width:580px; height:580px; animation: bxl-ring-pulse 3s ease-in-out infinite 2s; }
@keyframes bxl-ring-pulse {
  0%,100% { opacity:0.3; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:0.7; transform:translate(-50%,-50%) scale(1.03); }
}

.bxl-img-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.97);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(111,196,227,0.25),
    0 24px 60px rgba(0,0,0,0.35),
    0 0 40px rgba(35,149,165,0.1);
  transition: transform var(--ease), box-shadow var(--ease);
}
.bxl-img-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(111,196,227,0.4),
    0 36px 80px rgba(0,0,0,0.4),
    0 0 60px rgba(35,149,165,0.2);
}
/* Top accent line */
.bxl-img-card::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--sky));
  z-index:2;
}
.bxl-main-img { width:100%; height:auto; display:block; }
.bxl-zoom-link { display:block; position:relative; }
.bxl-zoom-icon {
  position:absolute; top:12px; right:12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius:50%; width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  color: var(--teal); opacity:0;
  transition: opacity var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.bxl-img-card:hover .bxl-zoom-icon { opacity:1; }

/* Thumbnails */
.bxl-thumbs {
  display:flex; gap:8px; margin-top:12px; justify-content:center; flex-wrap:wrap;
}
.bxl-thumb {
  width:60px; height:60px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(111,196,227,0.2);
  border-radius:8px; overflow:hidden; cursor:pointer;
  opacity:0.55; transition:all var(--ease);
}
.bxl-thumb img { width:100%; height:100%; object-fit:cover; }
.bxl-thumb:hover, .bxl-thumb-active {
  opacity:1; border-color:var(--sky);
  box-shadow:0 0 0 2px rgba(111,196,227,0.3);
}

/* ── INFO COLUMN ── */
.bxl-hero-info-col {
  display:flex; flex-direction:column; gap:16px;
  color: var(--white);
}

/* Category chip */
.bxl-cat-chip {
  display:inline-flex; align-items:center; gap:8px;
  font-size:0.68rem; font-weight:600; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--sky);
  padding:5px 12px; border:1px solid rgba(111,196,227,0.3);
  border-radius:999px; width:fit-content;
  background: rgba(111,196,227,0.08);
}
.bxl-cat-chip::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--sky); box-shadow:0 0 6px var(--sky);
}

/* Title */
.bxl-title {
  font-size:clamp(2rem,3.5vw,3.2rem) !important;
  line-height:1 !important; letter-spacing:0.02em !important;
  color:transparent !important; margin:0 !important;
  background:linear-gradient(135deg,#ffffff 40%,var(--sky) 100%) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
}

/* Rating */
.bxl-rating {
  display:flex; align-items:center; gap:10px;
}
.bxl-rating .star-rating span::before { color:var(--sky) !important; }
.bxl-review-count { color:rgba(255,255,255,0.45); font-size:0.82rem; }

/* Price */
.bxl-price .price {
  font-size:1.8rem !important; color:var(--sky) !important;
  letter-spacing:0.03em !important; margin:0 !important;
}
.bxl-price .price del { color:rgba(255,255,255,0.35) !important; font-size:1.1rem !important; margin-right:10px !important; }

/* Stock */
.bxl-stock {
  display:inline-flex; align-items:center; gap:8px;
  font-size:0.68rem; font-weight:600; letter-spacing:0.1em;
  text-transform:uppercase; padding:5px 12px; border-radius:999px; width:fit-content;
}
.bxl-instock { background:rgba(0,200,120,0.12); color:#00e896; border:1px solid rgba(0,200,120,0.3); }
.bxl-outstock { background:rgba(255,80,80,0.12); color:#ff5555; border:1px solid rgba(255,80,80,0.3); }
.bxl-stock-dot {
  width:7px; height:7px; border-radius:50%;
}
.bxl-instock .bxl-stock-dot { background:#00e896; box-shadow:0 0 8px #00e896; animation:bxl-pulse 2s infinite; }
.bxl-outstock .bxl-stock-dot { background:#ff5555; }
@keyframes bxl-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* Short desc */
.bxl-excerpt {
  padding:14px 18px; border-left:3px solid var(--teal);
  background:rgba(35,149,165,0.08); border-radius:0 var(--r-sm) var(--r-sm) 0;
  color:rgba(255,255,255,0.65); font-size:0.88rem; line-height:1.7;
}
.bxl-excerpt p { color:rgba(255, 255, 255, 0.83) !important; margin:0; }
.bxl-excerpt ul li { color:rgba(255,255,255,0.65) !important; }

/* Add to cart overrides */
.bxl-atc-wrap form.cart,
.bx-cart-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  gap: 20px !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  flex-wrap: nowrap !important;
}
.bx-quantity-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}
.bx-qty-label {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.4) !important;
}
.bx-add-to-cart-btn,
.bxl-atc-wrap .single_add_to_cart_button,
.bxl-atc-wrap button[name="add-to-cart"] {
  flex: 1 !important;
  width: auto !important;
  min-width: 180px !important;
  max-width: 320px !important;
  height: 54px !important;
  white-space: nowrap !important;
  font-size: 0.88rem !important;
  padding: 0 28px !important;
}
.bxl-atc-wrap .quantity {
  display:flex !important; align-items:center !important;
  background:rgba(255,255,255,0.06) !important;
  border:1px solid rgba(111,196,227,0.25) !important;
  border-radius:var(--r-sm) !important; overflow:hidden !important; height:54px !important;
}
.bxl-atc-wrap .quantity .qty {
  width:52px !important; height:54px !important; background:transparent !important; border:none !important;
  color:white !important; font-size:1rem !important; font-weight:600 !important;
  text-align:center !important; outline:none !important;
}
.bxl-atc-wrap .quantity .plus,
.bxl-atc-wrap .quantity .minus {
  width:38px !important; height:54px !important; background:transparent !important; border:none !important;
  color:rgba(255,255,255,0.5) !important; font-size:1.2rem !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  cursor:pointer !important; transition:all var(--ease) !important;
}
.bxl-atc-wrap .quantity .plus:hover,
.bxl-atc-wrap .quantity .minus:hover { color:var(--sky) !important; }

/* CTA button */
.bxl-atc-wrap .single_add_to_cart_button,
.bxl-atc-wrap button[name="add-to-cart"],
.bxl-atc-wrap .tj-cart-btn {
  position:relative !important; display:inline-flex !important;
  align-items:center !important; justify-content:center !important; gap:10px !important;
  padding:0 40px !important; height:54px !important; flex:1 !important;
  background:linear-gradient(135deg,var(--teal) 0%,#1d7a8a 100%) !important;
  color:white !important; 
  font-size:1.05rem !important; letter-spacing:0.14em !important; text-transform:uppercase !important;
  border:none !important; border-radius:var(--r-sm) !important; cursor:pointer !important;
  overflow:hidden !important;
  box-shadow:0 6px 24px rgba(35,149,165,0.4), 0 1px 0 rgba(255,255,255,0.1) inset !important;
  transition:transform var(--ease),box-shadow var(--ease) !important; text-decoration:none !important;
}
.bxl-atc-wrap .single_add_to_cart_button::after,
.bxl-atc-wrap button[name="add-to-cart"]::after {
  content:'' !important; position:absolute !important; inset:0 !important;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,0.2) 50%,transparent 70%) !important;
  transform:translateX(-100%) !important; transition:transform 0.55s ease !important;
}
.bxl-atc-wrap .single_add_to_cart_button:hover,
.bxl-atc-wrap button[name="add-to-cart"]:hover {
  transform:translateY(-2px) !important; color:white !important;
  box-shadow:0 10px 32px rgba(35,149,165,0.55) !important;
}
.bxl-atc-wrap .single_add_to_cart_button:hover::after,
.bxl-atc-wrap button[name="add-to-cart"]:hover::after { transform:translateX(100%) !important; }

/* Buy now */
.bxl-atc-wrap .tj-product-details-buy-now-btn {
  display:flex !important; align-items:center !important; justify-content:center !important;
  height:54px !important; padding:0 28px !important; width:100% !important;
  background:transparent !important; color:rgba(255,255,255,0.7) !important;
  border:1px solid rgba(255,255,255,0.2) !important; border-radius:var(--r-sm) !important;
  font-size:1rem !important;
  letter-spacing:0.14em !important; text-transform:uppercase !important;
  text-decoration:none !important; transition:all var(--ease) !important; margin-top:4px;
}
.bxl-atc-wrap .tj-product-details-buy-now-btn:hover {
  background:rgba(255,255,255,0.1) !important; color:white !important;
  border-color:rgba(255,255,255,0.4) !important;
}

/* Meta */
.bxl-meta-row {
  display:flex; flex-direction:column; gap:8px;
  padding-top:16px; border-top:1px solid rgba(255,255,255,0.1);
}
.bxl-meta-item { display:flex; gap:12px; align-items:center; font-size:0.83rem; }
.bxl-meta-label {
  font-size:0.68rem; letter-spacing:0.12em; text-transform:uppercase;
  color:rgba(255,255,255,0.35); min-width:72px;
}
.bxl-meta-val { color:rgba(255,255,255,0.75); }
.bxl-meta-val a { color:var(--sky) !important; }

/* Share */
.bxl-share {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.bxl-share-label {
  font-size:0.68rem; letter-spacing:0.12em; text-transform:uppercase;
  color:rgba(255,255,255,0.35);
}
.bxl-share-btn {
  width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,0.15); border-radius:50%;
  color:rgba(255,255,255,0.4); transition:all var(--ease);
}
.bxl-share-btn:hover {
  background:var(--teal); border-color:var(--teal); color:white;
}

/* ══════════════════════════════════════════
   TABS SECTION
══════════════════════════════════════════ */
.bxl-tabs-section {
  background: rgba(10, 22, 50, 0.6);
  border-top: 1px solid rgba(111,196,227,0.18);
  border-bottom: 1px solid rgba(111,196,227,0.18);
  padding: 56px 0 72px;
  position: relative;
  z-index: 1;
  box-shadow:
    inset 0 1px 0 rgba(111,196,227,0.08),
    inset 0 -1px 0 rgba(111,196,227,0.08);
}

body.single-product .bxl-tabs-section {
  background: rgba(10, 22, 50, 0.6) !important;
}

/* Nav de pestañas */
body.single-product .bxl-tab-nav {
  border-bottom: 2px solid rgba(111,196,227,0.15) !important;
  margin-bottom: 0 !important;
}
body.single-product .bxl-tab-btn {
  color: rgba(255,255,255,0.45) !important;
  background: transparent !important;
  border-radius: 8px 8px 0 0 !important;
  padding: 13px 28px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
}
body.single-product .bxl-tab-btn:hover:not(.bxl-tab-active) {
  color: rgba(111,196,227,0.9) !important;
  background: rgba(111,196,227,0.05) !important;
}
body.single-product .bxl-tab-btn.bxl-tab-active {
  color: #6fc4e3 !important;
  background: rgba(111,196,227,0.08) !important;
}
body.single-product .bxl-tab-btn.bxl-tab-active::after {
  background: linear-gradient(90deg, var(--teal), var(--sky)) !important;
  transform: scaleX(1) !important;
}

/* Contenido del panel */
body.single-product .bxl-tab-panel p { color: rgba(255, 255, 255, 0.846) !important; font-size: 18px!important; }
body.single-product .bxl-tab-panel ul li { color: rgba(255,255,255,0.65) !important; }
body.single-product .bxl-tab-panel h2,
body.single-product .bxl-tab-panel h3 { color: #ffffff !important; }
body.single-product .bxl-tab-panel a { color: #6fc4e3 !important; }

/* Forzar todos los textos sueltos dentro del panel */
body.single-product .bxl-tab-panel,
body.single-product .bxl-tab-panel *:not(th) {
  color: rgba(255,255,255,0.72) !important;
}
body.single-product .bxl-tab-panel h1,
body.single-product .bxl-tab-panel h2,
body.single-product .bxl-tab-panel h3,
body.single-product .bxl-tab-panel h4,
body.single-product .bxl-tab-panel strong,
body.single-product .bxl-tab-panel b {
  color: #ffffff !important;
}

/* Tabla de atributos en modo dark */
body.single-product .bxl-tab-panel table,
body.single-product .bxl-tab-panel .woocommerce-product-attributes {
  border-color: rgba(111,196,227,0.1) !important;
}
body.single-product .bxl-tab-panel table th,
body.single-product .bxl-tab-panel .woocommerce-product-attributes th {
  background: rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,0.5) !important;
  border-color: rgba(111,196,227,0.1) !important;
}
body.single-product .bxl-tab-panel table td,
body.single-product .bxl-tab-panel .woocommerce-product-attributes td {
  color: rgba(255,255,255,0.75) !important;
  border-color: rgba(111,196,227,0.1) !important;
}
body.single-product .bxl-tab-panel table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03) !important;
}
.bxl-tabs-inner {
  max-width:1300px; margin:0 auto; padding:0 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(111,196,227,0.15);
  border-radius: 20px;
  padding: 40px 56px 56px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(111,196,227,0.1);
}

.bxl-tab-nav {
  display:flex; gap:4px; border-bottom:2px solid rgba(35,149,165,0.15);
  margin-bottom:0; overflow-x:auto; scrollbar-width:none;
}
.bxl-tab-nav::-webkit-scrollbar { display:none; }
.bxl-tab-btn {
  background:transparent; border:none; padding:14px 24px;
  font-size:0.8rem; font-weight:600;
  letter-spacing:0.08em; text-transform:uppercase; color:var(--muted);
  cursor:pointer; white-space:nowrap; position:relative;
  transition:color var(--ease);
}
.bxl-tab-btn::after {
  content:''; position:absolute; bottom:-2px; left:0; right:0; height:2px;
  background:linear-gradient(90deg,var(--teal),var(--sky));
  transform:scaleX(0); transition:transform var(--ease);
  border-radius:2px 2px 0 0;
}
.bxl-tab-btn.bxl-tab-active { color:var(--navy); }
.bxl-tab-btn.bxl-tab-active::after { transform:scaleX(1); }
.bxl-tab-btn:hover:not(.bxl-tab-active) { color:var(--teal); }

.bxl-tab-panel { display:none; padding:36px 0 0; }
.bxl-panel-active { display:block; }
.bxl-tab-panel p { color:var(--muted); font-size:0.93rem; line-height:1.8; margin-bottom:14px; }
.bxl-tab-panel h2,.bxl-tab-panel h3 {
  color:var(--navy);
  letter-spacing:0.04em; margin-bottom:12px; font-size:1.8rem;
}
.bxl-tab-panel ul li { color:var(--muted); margin-bottom:6px; font-size:0.93rem; }
.bxl-tab-panel ul li::marker { color:var(--teal); }
.bxl-tab-panel a { color:var(--teal); }
.bxl-tab-panel table, .bxl-tab-panel .woocommerce-product-attributes {
  width:100%; border-collapse:collapse; margin-top:8px;
}
.bxl-tab-panel table th, .bxl-tab-panel table td,
.bxl-tab-panel .woocommerce-product-attributes th,
.bxl-tab-panel .woocommerce-product-attributes td {
  padding:11px 16px; border:1px solid rgba(35,149,165,0.12); font-size:0.87rem;
}
.bxl-tab-panel table th, .bxl-tab-panel .woocommerce-product-attributes th {
  background:var(--light); color:var(--navy); font-weight:700;
  font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase; width:200px;
}
.bxl-tab-panel table td, .bxl-tab-panel .woocommerce-product-attributes td { color:var(--muted); }
.bxl-tab-panel table tr:nth-child(even) td { background:#f0f4f8; }

/* ══════════════════════════════════════════
   RELATED PRODUCTS
══════════════════════════════════════════ */
.bxl-related-section {
  background: linear-gradient(180deg, #f5f8fa 0%, var(--light) 100%);
  padding: 72px 0;
  border-top: 1px solid rgba(35,149,165,0.12);
}
.bxl-related-inner { max-width:1300px; margin:0 auto; padding:0 56px; }
.bxl-related-header { text-align:center; margin-bottom:48px; }
.bxl-eyebrow {
  display:inline-block; font-size:0.72rem; font-weight:600; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--teal); margin-bottom:10px;
}
.bxl-related-title {
  
  color:var(--navy); letter-spacing:0.04em; text-transform:uppercase; margin:0;
}

.bxl-related-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.bxl-related-card {
  background:white; border:1px solid rgba(35,149,165,0.15);
  border-radius:var(--r); overflow:hidden;
  transition:all var(--ease); display:flex; flex-direction:column;
  box-shadow:0 4px 16px rgba(27,55,97,0.07);
  position:relative;
}
.bxl-related-card:hover {
  border-color:var(--teal); transform:translateY(-6px);
  box-shadow:0 16px 40px rgba(35,149,165,0.18);
}
.bxl-related-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,var(--navy),var(--teal));
  transform:scaleX(0); transition:transform var(--ease);
}
.bxl-related-card:hover::before { transform:scaleX(1); }
.bxl-related-img { aspect-ratio:4/3; overflow:hidden; background:var(--light); }
.bxl-related-img img { width:100%; height:100%; object-fit:contain; padding:16px; }
.bxl-related-body { padding:20px; flex:1; }
.bxl-related-cat { font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--teal); margin-bottom:6px; }
.bxl-related-name { font-size:1.4rem; color:var(--navy); letter-spacing:0.03em; margin-bottom:8px; }
.bxl-related-price .price { color:var(--teal) !important; font-weight:700 !important; font-size:1rem !important; }
.bxl-related-arrow {
  position:absolute; bottom:20px; right:20px;
  width:32px; height:32px; background:var(--light); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--teal); font-size:1rem;
  transition:all var(--ease);
}
.bxl-related-card:hover .bxl-related-arrow {
  background:var(--teal); color:white; transform:translateX(4px);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width:1024px) {
  .bxl-hero-inner { grid-template-columns:1fr; gap:48px; padding:60px 32px; }
  .bxl-hero { min-height:auto; }
  .bxl-tabs-inner, .bxl-related-inner { padding:0 32px; }
  .bxl-related-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
  .bxl-hero-inner { padding:40px 20px; }
  .bxl-tabs-inner, .bxl-related-inner { padding:0 20px; }
  .bxl-related-grid { grid-template-columns:1fr; }
  .bxl-tabs-section, .bxl-related-section { padding:48px 0; }
  .bxl-atc-wrap form.cart { flex-direction:column !important; }
  .bxl-title { font-size:clamp(2.5rem,10vw,3.5rem) !important; }
}

/* ══════════════════════════════════════════
   PARALLAX JS HOOK
══════════════════════════════════════════ */
[data-bxl-parallax] { will-change:transform; }

/* Fondo uniforme con cuadritos en todo el body */
/* Fondo uniforme en archive de productos (shop + categoría) */
body.woocommerce-shop,
body.tax-product_cat,
body.post-type-archive-product {
    background-color: #1a2e4a !important;
    background-image:
        linear-gradient(rgba(111,196,227,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111,196,227,0.06) 1px, transparent 1px),
        linear-gradient(135deg, #1a2e4a 0%, #1e3a5f 40%, #1a3d52 100%) !important;
    background-size: 48px 48px, 48px 48px, 100% 100% !important;
}

/* Transparencia de contenedores del shop para que se vea el fondo */
body.woocommerce-shop .tj-content,
body.tax-product_cat .tj-content,
body.post-type-archive-product .tj-content,
body.woocommerce-shop .bxs-page,
body.tax-product_cat .bxs-page,
body.post-type-archive-product .bxs-page {
    background: transparent !important;
}

/* EXCEPCIÓN: la zona principal del grid (.bxs-main) debe mantener su fondo claro 
   porque los cards son claras y necesitan contraste. */
body.tax-product_cat .bxs-main,
body.woocommerce-shop .bxs-main,
body.post-type-archive-product .bxs-main {
    background: #f5f7fa !important;
}

body.single-product .tj-content,
body.single-product .tj-product-area,
body.single-product .bx-product-landing,
body.single-product .tj-product-area > .container,
body.single-product .bxl-hero,
body.single-product .bxl-tabs-section,
body.single-product .bxl-related-section {
  background: transparent !important;
}

/* Quitar la grid del hero para que no se dupliquen los cuadritos */
body.single-product .bxl-hero-grid-overlay {
  display: none !important;
}

/* Related */
body.single-product .bxl-related-title { color: #fff !important; }
body.single-product .bxl-related-card { background: rgba(255,255,255,0.04) !important; border-color: rgba(111,196,227,0.15) !important; }
body.single-product .bxl-related-img { background: rgba(255,255,255,0.03) !important; }
body.single-product .bxl-related-name { color: #dce8f5 !important; }
body.single-product .bxl-related-arrow { background: rgba(111,196,227,0.15) !important; }


/*estilos para el archive shop*/

/* ================================================================
   BEXIE ENERGY — Shop Archive — Claro Premium
   Añadir al final del style.css del child theme
   ================================================================ */

/* ── HERO ── */

.bxs-hero {
  position: relative;
  background: #1a2e4a;
  overflow: hidden;
  padding: 72px 5vw 60px;
}
.bxs-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2e4a 0%, #1e3a5f 50%, #1a3d52 100%);
  z-index: 0;
}
.bxs-hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(111,196,227,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,196,227,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bxs-hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.3; z-index: 1;
  animation: bxsFloat 10s ease-in-out infinite;
}
.bxs-glow-1 { width:500px;height:500px; background:radial-gradient(circle,rgba(35,149,165,0.5),transparent 70%); top:-100px;left:-80px; }
.bxs-glow-2 { width:400px;height:400px; background:radial-gradient(circle,rgba(27,55,97,0.8),transparent 70%); bottom:-60px;right:-60px; animation-delay:-4s; }
@keyframes bxsFloat { 0%,100%{transform:translate(0,0);} 50%{transform:translate(20px,-20px);} }

.bxs-hero-inner {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.bxs-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #6fc4e3; margin-bottom: 12px;
}
.bxs-eyebrow::before { content:''; width:24px; height:1px; background:#6fc4e3; }

.bxs-hero-title {
  
  font-size: clamp(2.8rem, 5vw, 5rem) !important;
  letter-spacing: 0.03em !important;
  color: #ffffff !important;
  line-height: 1 !important;
  margin: 0 0 16px !important;
}
.bxs-hero-sub {
  color: rgba(255,255,255,0.5); font-size: 0.92rem; line-height: 1.7; max-width: 520px;
}
.bxs-hero-stats {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(111,196,227,0.15);
  border-radius: 14px; overflow: hidden; flex-shrink: 0;
}
.bxs-hstat {
  padding: 20px 28px; text-align: center;
  border-right: 1px solid rgba(111,196,227,0.1);
}
.bxs-hstat:last-child { border-right: none; }
.bxs-hstat-num { font-size:1.8rem; color:#6fc4e3; line-height:1; }
.bxs-hstat-label { font-size:0.65rem; color:rgba(255,255,255,0.4); margin-top:3px; text-transform:uppercase; letter-spacing:0.08em; }

/* ── BARRA FILTROS ── */
.bxs-filterbar {
  background: #ffffff;
  border-bottom: 1px solid #e8edf4;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 20px rgba(13,30,60,0.06);
}
.bxs-filterbar-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 5vw;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.bxs-filterbar > .bxs-filterbar-inner {
  padding-top: 14px; padding-bottom: 14px;
  justify-content: space-between;
}

/* Pills categorías */
.bxs-filter-group.bxs-cats-group {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.bxs-cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 999px;
  border: 1.5px solid #e8edf4;
  background: #f8fafc; color: #6b849e;
  font-size: 0.8rem; font-weight: 500;
  transition: all 0.2s; text-decoration: none; cursor: pointer;
}
.bxs-cat-pill:hover { border-color: #a8d8e4; color: #2395A5; background: #f0f9fb; text-decoration: none; }
.bxs-cat-pill.bxs-active { background: #2395A5; border-color: #2395A5; color: white; }
.bxs-pill-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 16px; padding: 0 5px;
  border-radius: 999px; background: rgba(0,0,0,0.1);
  font-size: 0.6rem; color: inherit;
}
.bxs-cat-pill.bxs-active .bxs-pill-count { background: rgba(255,255,255,0.25); }

/* Derecha filtros */
.bxs-filter-right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  margin-left: auto;
}
.bxs-filter-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 8px;
  border: 1.5px solid #e8edf4; background: #f8fafc;
  color: #4d6a82; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  position: relative;
}
.bxs-filter-toggle:hover,
.bxs-filter-toggle.bxs-active { border-color: #2395A5; color: #2395A5; background: #f0f9fb; }
.bxs-filter-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #2395A5; color: white; font-size: 0.6rem; font-weight: 700;
}
.bxs-sort select {
  padding: 8px 14px; border-radius: 8px;
  border: 1.5px solid #e8edf4; background: #f8fafc;
  color: #4d6a82; font-size: 0.82rem; 
  outline: none; cursor: pointer; transition: border-color 0.2s;
}
.bxs-sort select:focus { border-color: #2395A5; }
.bxs-results-count { font-size: 0.78rem; color: #a0b4c8; white-space: nowrap; }

/* Panel filtros avanzados */
.bxs-advanced-filters {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 0px solid #e8edf4;
}
.bxs-advanced-filters.bxs-open {
  max-height: 400px;
  border-top: 1px solid #e8edf4;
}
.bxs-advanced-filters > .bxs-filterbar-inner {
  padding-top: 16px; padding-bottom: 16px;
  gap: 20px; align-items: flex-start; flex-wrap: wrap;
}
.bxs-attr-group { display: flex; flex-direction: column; gap: 8px; }
.bxs-attr-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #a0b4c8; }
.bxs-attr-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.bxs-attr-pill {
  padding: 5px 14px; border-radius: 999px;
  border: 1.5px solid #e8edf4; background: #f8fafc;
  color: #4d6a82; font-size: 0.78rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.bxs-attr-pill:hover { border-color: #a8d8e4; color: #2395A5; }
.bxs-attr-pill.bxs-active { background: #2395A5; border-color: #2395A5; color: white; }
.bxs-clear-filters {
  display: none; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 8px;
  border: 1.5px solid #fca5a5; background: #fff5f5;
  color: #dc2626; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  margin-left: auto;
}
.bxs-clear-filters:hover { background: #fee2e2; }

/* ── PRODUCTOS ── */
.bxs-main { background: #f5f7fa; padding: 44px 5vw 72px; }
.bxs-main-inner { max-width: 1300px; margin: 0 auto; }

.bxs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
@media(max-width:1100px){ .bxs-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px)  { .bxs-grid { grid-template-columns: 1fr; } }

/* Loader */
.bxs-loader {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 48px; color: #6b849e; font-size: 0.9rem;
}
.bxs-spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid #e8edf4;
  border-top-color: #2395A5;
  animation: bxsSpin 0.7s linear infinite;
}
@keyframes bxsSpin { to { transform: rotate(360deg); } }

/* Card */
.bxs-card {
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(13,30,60,0.05);
  position: relative;
}
.bxs-card::before {
  content: '';
  position: absolute; top:0; left:0; right:0; height: 3px;
  background: linear-gradient(90deg, #2395A5, #6fc4e3);
  transform: scaleX(0); transition: transform 0.3s;
  border-radius: 16px 16px 0 0; z-index: 2;
}
.bxs-card:hover { transform: translateY(-7px); box-shadow: 0 24px 56px rgba(13,30,60,0.12); border-color: #c8d8e8; }
.bxs-card:hover::before { transform: scaleX(1); }

.bxs-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.bxs-card-link:hover { text-decoration: none; color: inherit; }

/* Imagen */
.bxs-card-img-wrap {
  position: relative; background: #f5f7fa;
  overflow: hidden; border-bottom: 1px solid #e8edf4;
}
.bxs-card-img {
  width: 100%; height: 220px; object-fit: contain;
  padding: 28px; display: block;
  transition: transform 0.4s ease;
}
.bxs-card:hover .bxs-card-img { transform: scale(1.06); }

/* Overlay hover */
.bxs-card-overlay {
  position: absolute; inset: 0;
  background: rgba(10,22,40,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.bxs-card:hover .bxs-card-overlay { opacity: 1; }
.bxs-card-overlay-btn {
  background: #2395A5; color: white;
  font-size: 0.9rem; letter-spacing: 0.1em;
  padding: 10px 22px; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(35,149,165,0.5);
}

/* Badges */
.bxs-badge {
  position: absolute; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px; z-index: 3;
}
.bxs-badge-sale { top:12px; left:12px; background:#2395A5; color:white; box-shadow:0 4px 12px rgba(35,149,165,0.4); }
.bxs-badge-cat  { top:12px; right:12px; background:rgba(10,22,40,0.75); color:#6fc4e3; border:1px solid rgba(111,196,227,0.25); backdrop-filter:blur(8px); }

/* Body */
.bxs-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.bxs-card-title {
  
  font-size: 1.15rem !important; letter-spacing: 0.04em !important;
  color: #0d1e35 !important; margin: 0 0 12px !important; line-height: 1.2 !important;
}

/* Especificaciones técnicas */
.bxs-card-specs {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.bxs-card-spec {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; border-radius: 6px;
  background: #f8fafc; border: 1px solid #f0f4f8;
  font-size: 0.78rem;
}
.bxs-spec-label { color: #a0b4c8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem; }
.bxs-spec-val   { color: #0d1e35; font-weight: 600; }

.bxs-card-desc { font-size: 0.82rem; color: #6b849e; line-height: 1.65; margin-bottom: 14px; flex: 1; }

/* Footer */
.bxs-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid #f0f4f8; gap: 10px; margin-top: auto;
}
.bxs-card-price .price, .bxs-card-price {
  
  font-size: 1.1rem !important; color: #2395A5 !important; letter-spacing: 0.04em !important;
}
.bxs-price-consult { color: #a0b4c8 !important; font-size: 0.85rem !important;  }
.bxs-card-btn {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #2395A5, #1d7a8a);
  color: white; 
  font-size: 0.8rem; letter-spacing: 0.1em;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(35,149,165,0.3); transition: all 0.2s; flex-shrink: 0;
}
.bxs-card:hover .bxs-card-btn { box-shadow: 0 8px 20px rgba(35,149,165,0.45); transform: translateX(2px); }

/* Empty */
.bxs-empty { text-align: center; padding: 72px 20px; }
.bxs-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.bxs-empty h3 { color:#0d1e35; margin-bottom:8px; }
.bxs-empty p { color:#6b849e; }
.bxs-empty a { color:#2395A5; }

/* Paginación */
.bxs-pagination { margin-top: 48px; }
.bxs-pagination .woocommerce-pagination,
.bxs-pagination nav.woocommerce-pagination { display:flex; justify-content:center; }
.bxs-pagination nav.woocommerce-pagination ul { display:flex; gap:6px; list-style:none; padding:0; margin:0; border:none; }
.bxs-pagination nav.woocommerce-pagination ul li a,
.bxs-pagination nav.woocommerce-pagination ul li span {
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:8px;
  font-size:0.88rem; font-weight:600;
  border:1.5px solid #e8edf4; color:#6b849e; background:white;
  transition:all 0.2s; text-decoration:none;
}
.bxs-pagination nav.woocommerce-pagination ul li a:hover { border-color:#2395A5; color:#2395A5; }
.bxs-pagination nav.woocommerce-pagination ul li span.current { background:#2395A5; border-color:#2395A5; color:white; }

/* Responsive */
@media(max-width:768px){
  .bxs-hero-inner { flex-direction:column; }
  .bxs-hero-stats { width:100%; }
  .bxs-filterbar > .bxs-filterbar-inner { flex-direction:column; align-items:flex-start; gap:10px; }
  .bxs-filter-right { width:100%; justify-content:space-between; margin-left:0; }
}

.bexie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.bexie-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.bexie-card:hover {
  transform: translateY(-5px);
}

.bexie-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bexie-content {
  padding: 20px;
}

.bexie-content h2 {
  font-size: 20px;
  margin: 10px 0;
}

.bexie-cat {
  font-size: 12px;
  color: #078586;
  font-weight: bold;
}


/* ═══════════════════════════════════════════════════════════════
   NAVBAR DE PRODUCTO — breadcrumb + paginación entre productos
═══════════════════════════════════════════════════════════════ */

/* Forzar que el hero sea column flex para que la navbar vaya ARRIBA */
.bxl-hero {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.bxl-navbar {
    position: relative;
    z-index: 3;
    width: 100%;
    background: rgba(10, 22, 50, 0.3);
    border-bottom: 1px solid rgba(111, 196, 227, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-shrink: 0;
    overflow: visible !important;
}

.bxl-navbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 14px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Asegurar que el hero-inner mantenga su grid de 2 columnas */
.bxl-hero-inner {
    flex: 1;
    width: 100%;
}

/* ── Breadcrumb ── */
.bxl-navbar-breadcrumb {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.bxl-navbar-bc-list,
.bxl-wrap .bxl-navbar-bc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 !important;
    font-size: 0.82rem;
    line-height: 1.4;
}

.bxl-navbar-bc-item,
.bxl-wrap .bxl-navbar-bc-item {
    display: inline-flex !important;
    align-items: center !important;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bxl-navbar-bc-item::before,
.bxl-navbar-bc-item::marker {
    display: none !important;
    content: none !important;
}

.bxl-navbar-bc-item a {
    display: inline-flex;
    align-items: center;
    padding: 6px 2px;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color var(--ease), border-color var(--ease);
}

.bxl-navbar-bc-item a:hover {
    color: var(--sky) !important;
    border-bottom-color: rgba(111, 196, 227, 0.5);
}

.bxl-navbar-bc-item a:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 3px;
    border-radius: 3px;
}

.bxl-navbar-bc-sep {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    color: rgba(111, 196, 227, 0.4);
    flex-shrink: 0;
}

/* Ocultar el separador en el último item (producto actual) */
.bxl-navbar-bc-current .bxl-navbar-bc-sep,
.bxl-navbar-bc-item:last-child .bxl-navbar-bc-sep {
    display: none !important;
}

.bxl-navbar-bc-current {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    padding: 6px 2px;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bxl-navbar-bc-current span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600 !important;
}

/* ── Paginador (prev / counter / next) ── */
.bxl-navbar-pager {
    display: flex;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.2);
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
    overflow: visible !important;
}

.bxl-pager-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all var(--ease);
    min-height: 34px;
    white-space: nowrap;
    line-height: 1.2;
}

.bxl-pager-btn svg {
    flex-shrink: 0;
    transition: transform var(--ease);
}

.bxl-pager-btn:hover:not(.bxl-pager-disabled) {
    background: rgba(111, 196, 227, 0.15);
    color: var(--sky) !important;
}

.bxl-pager-prev:hover:not(.bxl-pager-disabled) svg {
    transform: translateX(-3px);
}

.bxl-pager-next:hover:not(.bxl-pager-disabled) svg {
    transform: translateX(3px);
}

.bxl-pager-btn:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 2px;
}

.bxl-pager-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}


/* Tooltip — va debajo del botón para no ser recortado por la navbar */
.bxl-pager-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    padding: 8px 12px;
    background: rgba(6, 21, 45, 0.98);
    border: 1px solid rgba(111, 196, 227, 0.3);
    border-radius: 8px;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.bxl-pager-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(111, 196, 227, 0.3);
}

.bxl-pager-btn:hover .bxl-pager-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* Contador central */
.bxl-pager-counter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    border-left: 1px solid rgba(111, 196, 227, 0.15);
    border-right: 1px solid rgba(111, 196, 227, 0.15);
    white-space: nowrap;
    line-height: 1.2;
}

.bxl-pager-counter-current {
    color: var(--sky);
    font-weight: 700;
    font-size: 0.95rem;
}

.bxl-pager-counter-sep {
    color: rgba(111, 196, 227, 0.4);
    margin: 0 1px;
}

.bxl-pager-counter-total {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.bxl-pager-counter-label {
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    border-left: 1px solid rgba(111, 196, 227, 0.12);
    padding-left: 10px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .bxl-navbar-inner { padding: 12px 32px; }
    .bxl-pager-counter-label { display: none; }
    .bxl-navbar-bc-current { max-width: 200px; }
}

@media (max-width: 768px) {
    .bxl-navbar-inner {
        padding: 10px 20px;
        gap: 12px;
    }
    .bxl-pager-btn-label { display: none; }
    .bxl-pager-btn { padding: 8px 10px; }
    .bxl-pager-counter {
        padding: 0 10px;
        font-size: 0.8rem;
    }
    .bxl-navbar-bc-list { font-size: 0.78rem; }
    .bxl-navbar-bc-current { max-width: 140px; }
}

@media (max-width: 560px) {
    .bxl-navbar-inner {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }
    .bxl-navbar-pager { justify-content: space-between; }
    .bxl-navbar-breadcrumb { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO INFO — Precio grande + Stock inline + Acciones B2B
═══════════════════════════════════════════════════════════════ */

/* ─── Fila precio + stock inline ─── */
.bxl-price-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin: 4px 0 2px;
}

/* Precio GRANDE y protagonista */
.bxl-price-row .bxl-price,
.bxl-wrap .bxl-price-row .bxl-price {
    margin: 0 !important;
    line-height: 1 !important;
}

.bxl-price-row .bxl-price .price,
.bxl-price-row .bxl-price .woocommerce-Price-amount,
.bxl-price-row .bxl-price bdi,
.bxl-wrap .bxl-price-row .bxl-price .price {
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    color: var(--sky) !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    margin: 0 !important;
    -webkit-text-fill-color: var(--sky) !important;
}

.bxl-price-row .woocommerce-Price-currencySymbol {
    font-size: 1.6rem !important;
    font-weight: 500 !important;
    margin-left: 4px;
    color: var(--sky) !important;
    opacity: 0.7;
}

/* Fallback "Consultar precio" cuando no hay precio */
.bxl-price-consult {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--sky) !important;
    letter-spacing: 0.01em !important;
    line-height: 1 !important;
}

/* Stock inline (al lado del precio, no como chip separado) */
.bxl-stock-inline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    width: fit-content;
    line-height: 1;
    transform: translateY(-4px);
}

.bxl-stock-inline.bxl-instock {
    background: rgba(0, 200, 120, 0.12);
    color: #00e896 !important;
    border: 1px solid rgba(0, 200, 120, 0.3);
}

.bxl-stock-inline.bxl-outstock {
    background: rgba(255, 80, 80, 0.12);
    color: #ff5555 !important;
    border: 1px solid rgba(255, 80, 80, 0.3);
}

.bxl-stock-inline .bxl-stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bxl-stock-inline.bxl-instock .bxl-stock-dot {
    background: #00e896;
    box-shadow: 0 0 8px #00e896;
    animation: bxl-pulse 2s infinite;
}

.bxl-stock-inline.bxl-outstock .bxl-stock-dot {
    background: #ff5555;
}

/* ─── ACCIONES B2B (sustituyen redes sociales) ─── */
.bxl-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bxl-action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.2);
    border-radius: var(--r-sm);
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    cursor: pointer;
    transition: all var(--ease);
    flex: 1 1 auto;
    min-height: 42px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
}

.bxl-action-btn svg {
    flex-shrink: 0;
    opacity: 0.8;
    transition: transform var(--ease), opacity var(--ease);
}

.bxl-action-btn:hover {
    background: rgba(111, 196, 227, 0.12);
    border-color: rgba(111, 196, 227, 0.4);
    color: var(--sky) !important;
    transform: translateY(-1px);
}

.bxl-action-btn:hover svg {
    opacity: 1;
    transform: scale(1.08);
}

.bxl-action-btn:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 2px;
}

/* Botón primario "Solicitar presupuesto" destacado sutilmente */
.bxl-action-btn.bxl-action-primary {
    background: rgba(35, 149, 165, 0.18);
    border-color: rgba(111, 196, 227, 0.45);
    color: var(--sky) !important;
}

.bxl-action-btn.bxl-action-primary:hover {
    background: rgba(35, 149, 165, 0.3);
    border-color: var(--sky);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(35, 149, 165, 0.25);
}

/* ─── Feedback "Copiado" del botón copiar ─── */
.bxl-action-copy .bxl-action-feedback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 200, 120, 0.2);
    color: #00e896 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bxl-action-copy.bxl-copied .bxl-action-feedback {
    opacity: 1;
}

.bxl-action-copy.bxl-copied {
    border-color: rgba(0, 200, 120, 0.4) !important;
}

.bxl-action-copy.bxl-copied .bxl-action-label,
.bxl-action-copy.bxl-copied > svg {
    opacity: 0;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
    .bxl-price-row .bxl-price .price,
    .bxl-price-row .bxl-price .woocommerce-Price-amount,
    .bxl-price-row .bxl-price bdi {
        font-size: 1.9rem !important;
    }
    .bxl-price-row .woocommerce-Price-currencySymbol {
        font-size: 1.2rem !important;
    }
    .bxl-actions {
        gap: 6px;
    }
    .bxl-action-btn {
        padding: 10px 12px;
        font-size: 0.78rem;
        flex: 1 1 calc(50% - 4px);
    }
    .bxl-action-btn.bxl-action-primary {
        flex: 1 1 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SHOP / CATEGORY — Hero adaptativo
═══════════════════════════════════════════════════════════════ */

/* Contenedor de texto del hero */
.bxs-hero-text {
    flex: 1;
    min-width: 0;
    max-width: 680px;
}

/* Breadcrumb dentro del hero */
.bxs-hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.bxs-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    padding: 2px 4px;
    border-bottom: 1px solid transparent;
    transition: color var(--ease), border-color var(--ease);
}

.bxs-hero-breadcrumb a:hover {
    color: #6fc4e3 !important;
    border-bottom-color: rgba(111, 196, 227, 0.5);
}

.bxs-hero-breadcrumb span[aria-hidden] {
    color: rgba(111, 196, 227, 0.4);
    font-size: 0.9rem;
    line-height: 1;
    user-select: none;
}

.bxs-hero-bc-current {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    padding: 2px 4px;
}

/* Meta info del hero (contador de productos) */
.bxs-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 7px 16px;
    background: rgba(111, 196, 227, 0.1);
    border: 1px solid rgba(111, 196, 227, 0.25);
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    width: fit-content;
}

.bxs-hero-meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6fc4e3;
    box-shadow: 0 0 6px #6fc4e3;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .bxs-hero-text {
        max-width: 100%;
    }
    .bxs-hero-breadcrumb {
        font-size: 0.72rem;
    }
    .bxs-hero-meta {
        margin-top: 16px;
        font-size: 0.78rem;
    }
}


/* ═══════════════════════════════════════════════════════════════
   SHOP / CATEGORY — Bloque SEO al final de la landing
═══════════════════════════════════════════════════════════════ */

.bxs-seo-section {
    position: relative;
    background: transparent;
    padding: 56px 5vw 96px;
    border-top: 1px solid rgba(111, 196, 227, 0.12);
    z-index: 2;
}
.bxs-seo-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

/* Eyebrow + title compartidos */
.bxs-seo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 14px;
}

.bxs-seo-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--sky);
}

.bxs-seo-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    font-weight: 600 !important;
    color: #fff !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    margin: 0 0 28px !important;
    max-width: 760px;
}

/* ─── Descripción larga (prosa de lectura) ─── */
.bxs-seo-content {
    max-width: 760px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.bxs-seo-content p {
    color: rgba(255, 255, 255, 0.78) !important;
    margin: 0 0 18px;
}

.bxs-seo-content h2,
.bxs-seo-content h3,
.bxs-seo-content h4 {
    color: #fff !important;
    margin-top: 40px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.bxs-seo-content h2 { font-size: 1.5rem; }
.bxs-seo-content h3 { font-size: 1.2rem; }
.bxs-seo-content h4 { font-size: 1.05rem; }

.bxs-seo-content ul,
.bxs-seo-content ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.bxs-seo-content li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.78) !important;
}

.bxs-seo-content li::marker {
    color: var(--sky);
}

.bxs-seo-content a {
    color: var(--sky) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(111, 196, 227, 0.35);
    transition: border-color var(--ease);
}

.bxs-seo-content a:hover {
    border-bottom-color: var(--sky);
}

.bxs-seo-content strong,
.bxs-seo-content b {
    color: #fff !important;
    font-weight: 600;
}

/* ─── FAQs en acordeón ─── */
.bxs-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 860px;
}

.bxs-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--ease), background var(--ease);
}

.bxs-faq-item:hover {
    border-color: rgba(111, 196, 227, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.bxs-faq-item[open] {
    border-color: rgba(111, 196, 227, 0.4);
    background: rgba(111, 196, 227, 0.06);
}

.bxs-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    list-style: none;
    user-select: none;
    transition: color var(--ease);
}

.bxs-faq-question::-webkit-details-marker { display: none; }
.bxs-faq-question::marker { display: none; content: ''; }

.bxs-faq-chevron {
    flex-shrink: 0;
    color: var(--sky);
    transition: transform var(--ease);
}

.bxs-faq-item[open] .bxs-faq-chevron {
    transform: rotate(180deg);
}

.bxs-faq-answer {
    padding: 0 22px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(111, 196, 227, 0.1);
    padding-top: 16px;
}

.bxs-faq-answer p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.75) !important;
}

.bxs-faq-answer p:last-child { margin-bottom: 0; }

.bxs-faq-answer a {
    color: var(--sky) !important;
    text-decoration: underline;
}

/* ─── Categorías relacionadas ─── */
.bxs-seo-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bxs-rel-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.15);
    border-radius: 12px;
    text-decoration: none !important;
    transition: all var(--ease);
    overflow: hidden;
}

.bxs-rel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(111, 196, 227, 0.4);
    background: rgba(111, 196, 227, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.bxs-rel-img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bxs-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bxs-rel-img-placeholder {
    color: rgba(111, 196, 227, 0.4);
}

.bxs-rel-body {
    flex: 1;
    min-width: 0;
}

.bxs-rel-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 0 4px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bxs-rel-count {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.bxs-rel-arrow {
    color: var(--sky);
    font-size: 1.2rem;
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform var(--ease), opacity var(--ease);
}

.bxs-rel-card:hover .bxs-rel-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .bxs-seo-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .bxs-seo-section { padding: 56px 5vw 72px; }
    .bxs-seo-inner { gap: 56px; }
    .bxs-seo-related-grid { grid-template-columns: 1fr; }
    .bxs-faq-question { font-size: 0.95rem; padding: 16px 18px; }
    .bxs-faq-answer { padding: 12px 18px 16px; font-size: 0.9rem; }
}


/* ═══════════════════════════════════════════════════════════════
   SHOP TOOLBAR V2 — Dropdown categorías + Drawer filtros
═══════════════════════════════════════════════════════════════ */

/* ─── Barra principal ─── */
.bxs-toolbar {
    background: rgba(10, 22, 50, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(111, 196, 227, 0.15);
    border-bottom: 1px solid rgba(111, 196, 227, 0.15);
    position: sticky;
    top: 0;
    z-index: 50;
}

.bxs-toolbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 14px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   SELECTOR DE CATEGORÍA (dropdown)
═══════════════════════════════════════════ */
.bxs-cat-selector {
    position: relative;
    flex: 0 1 auto;
    min-width: 240px;
    max-width: 360px;
}

.bxs-cat-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(111, 196, 227, 0.25);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ease);
    min-height: 42px;
}

.bxs-cat-trigger:hover {
    background: rgba(111, 196, 227, 0.12);
    border-color: rgba(111, 196, 227, 0.5);
}

.bxs-cat-trigger[aria-expanded="true"] {
    background: rgba(111, 196, 227, 0.15);
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(111, 196, 227, 0.15);
}

.bxs-cat-icon {
    color: var(--sky);
    flex-shrink: 0;
}

.bxs-cat-trigger-label {
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
}

.bxs-cat-trigger-chevron {
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    transition: transform var(--ease);
}

.bxs-cat-trigger[aria-expanded="true"] .bxs-cat-trigger-chevron {
    transform: rotate(180deg);
    color: var(--sky);
}

/* ─── Dropdown panel ─── */
.bxs-cat-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 320px;
    max-width: 420px;
    background: rgba(6, 21, 45, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(111, 196, 227, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(111, 196, 227, 0.1);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
    z-index: 100;
    overflow: hidden;
}

.bxs-cat-dropdown.bxs-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Buscador dentro del dropdown */
.bxs-cat-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(111, 196, 227, 0.15);
    background: rgba(111, 196, 227, 0.04);
}

.bxs-cat-search svg {
    color: rgba(111, 196, 227, 0.6);
    flex-shrink: 0;
}

.bxs-cat-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    padding: 4px 0;
}

.bxs-cat-search input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Lista de categorías */
.bxs-cat-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 6px 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(111, 196, 227, 0.3) transparent;
}

.bxs-cat-list::-webkit-scrollbar { width: 6px; }
.bxs-cat-list::-webkit-scrollbar-track { background: transparent; }
.bxs-cat-list::-webkit-scrollbar-thumb { background: rgba(111, 196, 227, 0.3); border-radius: 6px; }

.bxs-cat-divider {
    height: 1px;
    background: rgba(111, 196, 227, 0.12);
    margin: 4px 8px;
}

.bxs-cat-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: background var(--ease), color var(--ease);
    cursor: pointer;
}

.bxs-cat-option:hover {
    background: rgba(111, 196, 227, 0.1);
    color: #fff !important;
}

.bxs-cat-option.bxs-active {
    background: rgba(111, 196, 227, 0.15);
    color: #fff !important;
}

.bxs-cat-option.bxs-active .bxs-cat-option-dot {
    background: var(--sky);
    box-shadow: 0 0 8px var(--sky);
}

.bxs-cat-option-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(111, 196, 227, 0.25);
    flex-shrink: 0;
    transition: all var(--ease);
}

.bxs-cat-option-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bxs-cat-option-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    min-width: 28px;
    text-align: center;
}

.bxs-cat-option.bxs-active .bxs-cat-option-count {
    background: rgba(111, 196, 227, 0.2);
    color: var(--sky);
}

.bxs-cat-option[hidden] { display: none; }

.bxs-cat-empty {
    text-align: center;
    padding: 24px 16px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   DERECHA: filtros + orden
═══════════════════════════════════════════ */
.bxs-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Botón Filtros */
.bxs-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(111, 196, 227, 0.25);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ease);
    min-height: 42px;
    position: relative;
}

.bxs-filters-btn:hover {
    background: rgba(111, 196, 227, 0.12);
    border-color: rgba(111, 196, 227, 0.5);
    color: #fff;
}

.bxs-filters-btn svg {
    color: var(--sky);
}

.bxs-filters-btn.bxs-has-filters {
    background: rgba(35, 149, 165, 0.2);
    border-color: var(--sky);
    color: #fff;
}

.bxs-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--sky);
    color: #06152d !important;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.bxs-filter-badge[hidden] { display: none; }

/* Select de orden — dark mode */
.bxs-sort select,
.bxs-toolbar .bxs-sort select {
    padding: 10px 36px 10px 14px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(111, 196, 227, 0.25) !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    cursor: pointer;
    min-height: 42px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fc4e3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px !important;
    transition: all var(--ease);
}

.bxs-sort select:hover {
    background-color: rgba(111, 196, 227, 0.12) !important;
    border-color: rgba(111, 196, 227, 0.5) !important;
}

.bxs-sort select:focus {
    border-color: var(--sky) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(111, 196, 227, 0.15);
}

.bxs-sort select option {
    background: #06152d;
    color: #fff;
}

.bxs-results-count {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════
   DRAWER LATERAL DE FILTROS
═══════════════════════════════════════════ */
.bxs-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease);
    z-index: 199;
}

.bxs-drawer-backdrop[hidden] { display: none; }

.bxs-drawer-backdrop.bxs-open {
    opacity: 1;
    pointer-events: auto;
}

.bxs-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #06152d;
    border-left: 1px solid rgba(111, 196, 227, 0.2);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
}

.bxs-drawer.bxs-open {
    transform: translateX(0);
}

/* Header del drawer */
.bxs-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(111, 196, 227, 0.15);
    flex-shrink: 0;
}

.bxs-drawer-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    letter-spacing: 0.02em !important;
    margin: 0 !important;
    text-transform: none !important;
}

.bxs-drawer-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ease);
}

.bxs-drawer-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sky);
}

/* Body del drawer */
.bxs-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(111, 196, 227, 0.3) transparent;
}

.bxs-drawer-body::-webkit-scrollbar { width: 6px; }
.bxs-drawer-body::-webkit-scrollbar-track { background: transparent; }
.bxs-drawer-body::-webkit-scrollbar-thumb { background: rgba(111, 196, 227, 0.3); border-radius: 6px; }

.bxs-drawer-group {
    margin-bottom: 28px;
}

.bxs-drawer-group:last-child { margin-bottom: 0; }

.bxs-drawer-group-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--sky) !important;
    margin: 0 0 12px !important;
}

.bxs-drawer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bxs-drawer-pills .bxs-attr-pill {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(111, 196, 227, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--ease);
}

.bxs-drawer-pills .bxs-attr-pill:hover {
    background: rgba(111, 196, 227, 0.12);
    border-color: rgba(111, 196, 227, 0.5);
    color: #fff;
}

.bxs-drawer-pills .bxs-attr-pill.bxs-active {
    background: var(--sky);
    border-color: var(--sky);
    color: #06152d !important;
    font-weight: 600;
}

/* Footer del drawer */
.bxs-drawer-footer {
    display: flex;
    gap: 10px;
    padding: 18px 24px;
    border-top: 1px solid rgba(111, 196, 227, 0.15);
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.bxs-drawer-btn {
    flex: 1;
    padding: 12px 18px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ease);
    min-height: 44px;
}

.bxs-drawer-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
}

.bxs-drawer-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.bxs-drawer-btn-primary {
    background: linear-gradient(135deg, var(--teal), #1d7a8a);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(35, 149, 165, 0.35);
}

.bxs-drawer-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(35, 149, 165, 0.5);
}

/* Bloquear scroll del body cuando el drawer está abierto */
body.bxs-drawer-open {
    overflow: hidden;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .bxs-toolbar-inner {
        gap: 10px;
    }
    .bxs-cat-selector {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
    }
    .bxs-toolbar-right {
        flex: 1 1 100%;
        justify-content: space-between;
    }
    .bxs-results-count {
        display: none;
    }
    .bxs-cat-dropdown {
        min-width: 280px;
        left: 0;
        right: 0;
    }
    .bxs-drawer {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .bxs-filters-btn span:not(.bxs-filter-badge) {
        display: none;
    }
    .bxs-sort select {
        padding: 10px 32px 10px 12px !important;
        font-size: 0.82rem !important;
    }
}
/* FIX: fondo oscuro del producto */
body.single-product {
  background-color: #1a2e4a !important;
  background-image:
    linear-gradient(rgba(111,196,227,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,196,227,0.06) 1px, transparent 1px),
    linear-gradient(135deg, #1a2e4a 0%, #1e3a5f 40%, #1a3d52 100%) !important;
  background-size: 48px 48px, 48px 48px, 100% 100% !important;
}
body.single-product .tj-content,
body.single-product .tj-product-area,
body.single-product .bx-product-landing,
body.single-product .tj-product-area > .container,
body.single-product .bxl-hero,
body.single-product .bxl-tabs-section,
body.single-product .bxl-related-section {
  background: transparent !important;
}
body.single-product .bxl-hero-grid-overlay {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   BLOG POST — Fondo + ocultar hero padre + estilos propios
═══════════════════════════════════════════════════════════════ */

/* Fondo oscuro coherente */
body.single-post {
    background-color: #1a2e4a !important;
    background-image:
        linear-gradient(rgba(111,196,227,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111,196,227,0.06) 1px, transparent 1px),
        linear-gradient(135deg, #1a2e4a 0%, #1e3a5f 40%, #1a3d52 100%) !important;
    background-size: 48px 48px, 48px 48px, 100% 100% !important;
}

body.single-post .tj-content,
body.single-post .tj-post-details__area {
    background: transparent !important;
    padding: 0 !important;
}

/* Ocultar hero/page-header del tema padre en blog posts */
body.single-post .tj-page-header,
body.single-post .breadcrumb-area,
body.single-post .tj-breadcrumb-area,
body.single-post .page-header,
body.single-post .tj-page-title-area {
    display: none !important;
}

/* ─── HERO PROPIO DEL BLOG ─── */
.bxp-hero {
    position: relative;
    padding: 40px 5vw 0;
    overflow: hidden;
}

.bxp-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bxp-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}

.bxp-glow-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(35,149,165,0.4), transparent 70%);
    top: -100px; left: -80px;
}

.bxp-glow-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(30,58,95,0.6), transparent 70%);
    bottom: -60px; right: -60px;
}

.bxp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

/* Breadcrumb */
.bxp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
    margin-bottom: 28px;
    font-family: 'DM Sans', sans-serif;
}

.bxp-breadcrumb a {
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    transition: color 0.28s cubic-bezier(0.4,0,0.2,1);
}

.bxp-breadcrumb a:hover { color: var(--sky) !important; }

.bxp-breadcrumb span[aria-hidden] {
    color: rgba(111, 196, 227, 0.4);
}

.bxp-bc-current {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Badge categoría */
.bxp-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
    padding: 5px 14px;
    border: 1px solid rgba(111, 196, 227, 0.3);
    border-radius: 999px;
    background: rgba(111, 196, 227, 0.08);
    width: fit-content;
    margin-bottom: 20px;
}

.bxp-cat-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 6px var(--sky);
}

/* Título */
.bxp-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 24px !important;
    letter-spacing: -0.02em !important;
}

/* Meta */
.bxp-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
    font-family: 'DM Sans', sans-serif;
}

.bxp-meta span,
.bxp-meta time {
    color: rgba(255, 255, 255, 0.6) !important;
}

.bxp-meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bxp-meta-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(111, 196, 227, 0.3);
}

.bxp-meta-sep { color: rgba(111, 196, 227, 0.4); }

.bxp-meta-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bxp-meta-read svg { color: var(--sky); }

/* Imagen destacada compacta */
.bxp-hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(111, 196, 227, 0.15);
    margin-top: 8px;
    max-height: 420px;
}

.bxp-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── CONTENIDO + SIDEBAR LAYOUT ─── */
.bxp-content-section {
    padding: 64px 5vw 0;
}

.bxp-content-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 56px;
    align-items: start;
}

.bxp-content-main { min-width: 0; }

.bxp-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
}

.bxp-content p {
    color: rgba(255, 255, 255, 0.82) !important;
    margin-bottom: 22px;
    font-size: 1.1rem !important;
}

.bxp-content h2, .bxp-content h3, .bxp-content h4 {
    color: #fff !important;
    margin-top: 48px;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.bxp-content h2 { font-size: 1.8rem !important; }
.bxp-content h3 { font-size: 1.4rem !important; }
.bxp-content h4 { font-size: 1.15rem !important; }

.bxp-content ul, .bxp-content ol { margin: 0 0 22px 24px; padding: 0; }

.bxp-content li {
    color: rgba(255, 255, 255, 0.78) !important;
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.bxp-content li::marker { color: var(--sky); }

.bxp-content a {
    color: var(--sky) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(111, 196, 227, 0.35);
}

.bxp-content a:hover { border-bottom-color: var(--sky); }
.bxp-content strong, .bxp-content b { color: #fff !important; }

.bxp-content img {
    border-radius: 12px;
    margin: 32px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.bxp-content blockquote {
    border-left: 3px solid var(--teal);
    background: rgba(35, 149, 165, 0.08);
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin: 32px 0;
    font-style: italic;
}

.bxp-content blockquote p { color: rgba(255, 255, 255, 0.85) !important; }

/* ─── SIDEBAR STICKY ─── */
.bxp-sidebar { position: relative; }

.bxp-sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* TOC */
.bxp-toc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 196, 227, 0.15);
    border-radius: 14px;
    padding: 20px;
    overflow: hidden;
}

.bxp-toc-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--sky) !important;
    margin: 0 0 14px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(111, 196, 227, 0.12);
}

.bxp-toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bxp-toc-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bxp-toc-item::before, .bxp-toc-item::marker {
    display: none !important;
    content: none !important;
}

.bxp-toc-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.35;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    border-left: 2px solid transparent;
}

.bxp-toc-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(111, 196, 227, 0.06);
}

.bxp-toc-link.bxp-toc-active {
    color: var(--sky) !important;
    background: rgba(111, 196, 227, 0.08);
    border-left-color: var(--sky);
    font-weight: 600;
}

.bxp-toc-item[data-level="3"] .bxp-toc-link {
    padding-left: 22px;
    font-size: 0.78rem;
}

/* Mini CTA sidebar */
.bxp-sidebar-cta {
    background: linear-gradient(135deg, rgba(35, 149, 165, 0.12), rgba(111, 196, 227, 0.06));
    border: 1px solid rgba(111, 196, 227, 0.25);
    border-radius: 14px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.bxp-sidebar-cta-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 10px var(--sky);
    margin-bottom: 12px;
}

.bxp-sidebar-cta-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 8px;
}

.bxp-sidebar-cta-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.35 !important;
    margin: 0 0 16px !important;
}

.bxp-sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--teal), #1d7a8a);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(35, 149, 165, 0.35);
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    width: 100%;
    justify-content: center;
}

.bxp-sidebar-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(35, 149, 165, 0.5);
}

/* TOC MOBILE */
.bxp-toc-mobile {
    display: none;
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(6, 21, 45, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(111, 196, 227, 0.15);
}

.bxp-toc-mobile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 5vw;
    background: transparent;
    border: none;
    color: var(--sky);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.bxp-toc-mobile-panel { padding: 0 5vw 16px; max-height: 50vh; overflow-y: auto; }
.bxp-toc-mobile-panel[hidden] { display: none; }
.bxp-toc-mobile-panel .bxp-toc-list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 2px; }
.bxp-toc-mobile-panel .bxp-toc-item { list-style: none !important; }
.bxp-toc-mobile-panel .bxp-toc-item::before, .bxp-toc-mobile-panel .bxp-toc-item::marker { display: none !important; content: none !important; }

/* ─── FOOTER: tags + acciones + autor + nav ─── */
.bxp-footer-section { padding: 48px 5vw 64px; }
.bxp-footer-inner { max-width: 760px; margin: 0 auto; }

.bxp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.bxp-tag {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(111, 196, 227, 0.25);
    background: rgba(111, 196, 227, 0.06);
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

.bxp-tag:hover {
    background: rgba(111, 196, 227, 0.15);
    border-color: var(--sky);
    color: #fff !important;
}

.bxp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }

.bxp-divider { height: 1px; background: rgba(111, 196, 227, 0.12); margin-bottom: 32px; }

/* Autor */
.bxp-author-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.15);
    border-radius: 16px;
    margin-bottom: 36px;
}

.bxp-author-avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(111, 196, 227, 0.3); flex-shrink: 0; }
.bxp-author-info { flex: 1; min-width: 0; }
.bxp-author-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); display: block; margin-bottom: 4px; }
.bxp-author-name { font-size: 1.1rem !important; font-weight: 700 !important; color: #fff !important; margin: 0 0 8px !important; }
.bxp-author-bio { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6) !important; line-height: 1.6; margin: 0; }

/* Nav prev/next */
.bxp-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.bxp-post-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.15);
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

.bxp-post-nav-link:hover {
    background: rgba(111, 196, 227, 0.1);
    border-color: rgba(111, 196, 227, 0.4);
    transform: translateY(-2px);
}

.bxp-post-nav-link svg { color: var(--sky); flex-shrink: 0; }
.bxp-post-nav-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.bxp-post-nav-title { display: block; font-size: 0.88rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); line-height: 1.3; }

/* ─── RELACIONADOS ─── */
.bxp-related-section { padding: 64px 5vw 72px; border-top: 1px solid rgba(111, 196, 227, 0.1); }
.bxp-related-inner { max-width: 1100px; margin: 0 auto; }
.bxp-related-header { text-align: center; margin-bottom: 40px; }
.bxp-related-title { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; color: #fff !important; letter-spacing: -0.01em !important; margin: 0 !important; }
.bxp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.bxp-related-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.15);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
}

.bxp-related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(111, 196, 227, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.bxp-related-img { aspect-ratio: 16/9; overflow: hidden; background: rgba(255, 255, 255, 0.03); }
.bxp-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.bxp-related-card:hover .bxp-related-img img { transform: scale(1.06); }
.bxp-related-body { padding: 18px 20px 20px; flex: 1; }
.bxp-related-cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; display: block; }
.bxp-related-name { font-size: 1.05rem !important; color: #fff !important; margin: 0 0 10px !important; line-height: 1.35 !important; font-weight: 600 !important; }
.bxp-related-date { font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); }

.bxp-related-arrow {
    position: absolute;
    bottom: 18px; right: 18px;
    width: 28px; height: 28px;
    background: rgba(111, 196, 227, 0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--sky);
    font-size: 0.9rem;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

.bxp-related-card:hover .bxp-related-arrow {
    background: var(--sky);
    color: #06152d;
    transform: translateX(3px);
}

/* ─── CTA FINAL ─── */
.bxp-cta-section { padding: 0 5vw 80px; }
.bxp-cta-inner { max-width: 1100px; margin: 0 auto; }

.bxp-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(35, 149, 165, 0.12) 0%, rgba(111, 196, 227, 0.06) 100%);
    border: 1px solid rgba(111, 196, 227, 0.25);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.bxp-cta-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(111, 196, 227, 0.1), transparent 70%);
    pointer-events: none;
}

.bxp-cta-text { flex: 1; position: relative; z-index: 1; }
.bxp-cta-title { font-size: 1.8rem !important; color: #fff !important; margin: 8px 0 12px !important; line-height: 1.25 !important; }
.bxp-cta-desc { font-size: 0.95rem; color: rgba(255, 255, 255, 0.65) !important; line-height: 1.6; max-width: 480px; margin: 0; }

.bxp-cta-buttons { display: flex; gap: 12px; flex-shrink: 0; position: relative; z-index: 1; }

.bxp-cta-btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--teal), #1d7a8a);
    color: #fff !important; border: none; border-radius: 10px;
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(35, 149, 165, 0.4);
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
}

.bxp-cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(35, 149, 165, 0.55); }

.bxp-cta-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px;
    background: transparent;
    border: 1.5px solid rgba(111, 196, 227, 0.4);
    border-radius: 10px;
    color: var(--sky) !important;
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
}

.bxp-cta-btn-secondary:hover { background: rgba(111, 196, 227, 0.1); border-color: var(--sky); }

/* ─── RESPONSIVE BLOG ─── */
@media (max-width: 960px) {
    .bxp-content-layout { grid-template-columns: 1fr; gap: 0; }
    .bxp-sidebar { display: none; }
    .bxp-toc-mobile { display: block; }
}

@media (max-width: 900px) {
    .bxp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .bxp-cta-card { flex-direction: column; align-items: flex-start; padding: 32px; gap: 24px; }
    .bxp-cta-buttons { width: 100%; }
    .bxp-cta-btn-primary, .bxp-cta-btn-secondary { flex: 1; justify-content: center; }
}

@media (max-width: 640px) {
    .bxp-hero { padding: 28px 5vw 0; }
    .bxp-content-section { padding: 40px 5vw 0; }
    .bxp-content { font-size: 1rem; }
    .bxp-content p { font-size: 1rem !important; }
    .bxp-related-grid { grid-template-columns: 1fr; }
    .bxp-post-nav { grid-template-columns: 1fr; }
    .bxp-author-card { flex-direction: column; align-items: center; text-align: center; }
    .bxp-cta-buttons { flex-direction: column; }
}


/* Contenedor glass del contenido del blog (como .bxl-tabs-inner del producto) */
.bxp-content-layout {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(111, 196, 227, 0.15);
    border-radius: 20px;
    padding: 40px 56px 56px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(111, 196, 227, 0.1);
}

@media (max-width: 768px) {
    .bxp-content-layout {
        padding: 24px 20px 32px;
        border-radius: 14px;
    }
}

/* Espacio entre el header y el hero del blog */
.bxp-hero {
    padding-top: 80px;
}

/* Navbar del blog (reutiliza estilos del producto) */
.bxp-navbar {
    background: rgba(10, 22, 50, 0.3);
    border-bottom: 1px solid rgba(111, 196, 227, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
    margin-bottom: 32px;
    border-radius: 12px;
    border: 1px solid rgba(111, 196, 227, 0.12);
    overflow: visible !important;
}

.bxp-navbar-inner {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.bxp-navbar-bc {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.82rem;
    flex: 1;
    min-width: 0;
}

.bxp-navbar-bc a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.28s cubic-bezier(0.4,0,0.2,1), border-color 0.28s cubic-bezier(0.4,0,0.2,1);
}

.bxp-navbar-bc a:hover {
    color: var(--sky) !important;
    border-bottom-color: rgba(111, 196, 227, 0.5);
}

.bxp-navbar-sep {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    color: rgba(111, 196, 227, 0.4);
}

.bxp-navbar-current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    padding: 6px 2px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bxp-navbar-pager {
    display: flex;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.2);
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .bxp-navbar-inner {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .bxl-pager-btn-label { display: none; }
    .bxp-navbar-current { max-width: 200px; }
}


/* ═══════════════════════════════════════════════════════════════
   BLOG ARCHIVE — category.php
═══════════════════════════════════════════════════════════════ */

/* Fondo oscuro */
body.category {
    background-color: #1a2e4a !important;
    background-image:
        linear-gradient(rgba(111,196,227,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111,196,227,0.06) 1px, transparent 1px),
        linear-gradient(135deg, #1a2e4a 0%, #1e3a5f 40%, #1a3d52 100%) !important;
    background-size: 48px 48px, 48px 48px, 100% 100% !important;
}

body.category .tj-content,
body.category .tj-post-area {
    background: transparent !important;
    padding: 0 !important;
}

/* Ocultar hero padre */
body.category .tj-page-header {
    display: none !important;
}

.bxba-page {
    font-family: 'DM Sans', sans-serif;
    color: rgba(255, 255, 255, 0.78);
}

/* Hero desc + meta */
.bxba-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 20px;
}

.bxba-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(111, 196, 227, 0.1);
    border: 1px solid rgba(111, 196, 227, 0.25);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* ─── Filtros ─── */
.bxba-filters-section {
    padding: 0 5vw 40px;
}

.bxba-filters-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bxba-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(111, 196, 227, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

.bxba-filter-pill:hover {
    background: rgba(111, 196, 227, 0.1);
    border-color: rgba(111, 196, 227, 0.4);
    color: #fff !important;
}

.bxba-filter-pill.bxba-active {
    background: var(--sky);
    border-color: var(--sky);
    color: #06152d !important;
    font-weight: 600;
}

.bxba-filter-count {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.bxba-filter-pill.bxba-active .bxba-filter-count {
    background: rgba(6, 21, 45, 0.2);
}

/* ─── Featured post ─── */
.bxba-featured-section {
    padding: 0 5vw 56px;
}

.bxba-featured-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.bxba-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 196, 227, 0.15);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

.bxba-featured-card:hover {
    border-color: rgba(111, 196, 227, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.bxba-featured-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.bxba-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bxba-featured-card:hover .bxba-featured-img img {
    transform: scale(1.05);
}

.bxba-featured-body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.bxba-featured-cat {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
}

.bxba-featured-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

.bxba-featured-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.65;
}

.bxba-featured-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.bxba-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sky) !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
    transition: gap 0.28s cubic-bezier(0.4,0,0.2,1);
}

.bxba-featured-card:hover .bxba-featured-cta {
    gap: 12px;
}

/* ─── Grid ─── */
.bxba-grid-section {
    padding: 0 5vw 72px;
}

.bxba-grid-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.bxba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bxba-card-excerpt {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.55;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── SEO block ─── */
.bxba-seo-section {
    padding: 56px 5vw 72px;
    border-top: 1px solid rgba(111, 196, 227, 0.12);
}

.bxba-seo-inner {
    max-width: 760px;
    margin: 0 auto;
}

.bxba-seo-content {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
}

.bxba-seo-content p {
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 16px;
}

.bxba-seo-content a {
    color: var(--sky) !important;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .bxba-featured-card { grid-template-columns: 1fr; }
    .bxba-featured-body { padding: 24px; }
    .bxba-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .bxba-grid { grid-template-columns: 1fr; }
    .bxba-featured-title { font-size: 1.3rem !important; }
}


/* Filtros inline dentro del hero del blog archive */
.bxba-filters-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}


/* Fix colores del blog archive sobre fondo oscuro */
body.category .bexie-blog {
    color: rgba(255, 255, 255, 0.82);
}

body.category .bexie-header h1 {
    color: #fff !important;
}

body.category .bexie-header p {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.category .bexie-featured h2 {
    color: #fff !important;
}

body.category .bexie-featured p {
    color: rgba(255, 255, 255, 0.65) !important;
}

body.category .bexie-tag {
    color: var(--sky) !important;
}

body.category .bexie-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(111, 196, 227, 0.15);
    box-shadow: none !important;
}

body.category .bexie-card h3 {
    color: #fff !important;
}

body.category .bexie-card p {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.category .bexie-filter {
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(111, 196, 227, 0.2);
}

body.category .bexie-filter.active {
    background: var(--sky) !important;
    color: #06152d !important;
    border-color: var(--sky) !important;
}

body.category .bexie-featured-image img {
    border: 1px solid rgba(111, 196, 227, 0.15);
}

body.category .bexie-seo-text h2 {
    color: #fff !important;
}

body.category .bexie-seo-content {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Ocultar título duplicado del hero padre */
body.category .tj-page-header {
    display: none !important;
}

/* Fondo oscuro para TODAS las páginas de blog (archive, author, tag, etc.) */
body.blog,
body.archive:not(.post-type-archive-product):not(.tax-product_cat) {
    background-color: #1a2e4a !important;
    background-image:
        linear-gradient(rgba(111,196,227,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111,196,227,0.06) 1px, transparent 1px),
        linear-gradient(135deg, #1a2e4a 0%, #1e3a5f 40%, #1a3d52 100%) !important;
    background-size: 48px 48px, 48px 48px, 100% 100% !important;
}

body.blog .tj-content,
body.blog .tj-post-area,
body.archive:not(.post-type-archive-product) .tj-content,
body.archive:not(.post-type-archive-product) .tj-post-area {
    background: transparent !important;
    padding: 0 !important;
}

/* Ocultar hero padre en archives de blog */
body.blog .tj-page-header,
body.archive:not(.post-type-archive-product):not(.tax-product_cat) .tj-page-header {
    display: none !important;
}

/* Fix colores para el archive general (usa mismas clases que category) */
body.blog .bexie-blog,
body.archive:not(.post-type-archive-product) .bexie-blog {
    color: rgba(255, 255, 255, 0.82);
}

body.blog .bexie-header h1,
body.archive:not(.post-type-archive-product) .bexie-header h1 {
    color: #fff !important;
}

body.blog .bexie-header p,
body.archive:not(.post-type-archive-product) .bexie-header p {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.blog .bexie-featured h2,
body.archive:not(.post-type-archive-product) .bexie-featured h2 {
    color: #fff !important;
}

body.blog .bexie-featured p,
body.archive:not(.post-type-archive-product) .bexie-featured p {
    color: rgba(255, 255, 255, 0.65) !important;
}

body.blog .bexie-tag,
body.archive:not(.post-type-archive-product) .bexie-tag {
    color: var(--sky) !important;
}

body.blog .bexie-card,
body.archive:not(.post-type-archive-product) .bexie-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(111, 196, 227, 0.15);
    box-shadow: none !important;
}

body.blog .bexie-card h3,
body.archive:not(.post-type-archive-product) .bexie-card h3 {
    color: #fff !important;
}

body.blog .bexie-card p,
body.archive:not(.post-type-archive-product) .bexie-card p {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.blog .bexie-filter,
body.archive:not(.post-type-archive-product) .bexie-filter {
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(111, 196, 227, 0.2);
}

body.blog .bexie-filter.active,
body.archive:not(.post-type-archive-product) .bexie-filter.active {
    background: var(--sky) !important;
    color: #06152d !important;
    border-color: var(--sky) !important;
}

body.blog .bexie-featured-image img,
body.archive:not(.post-type-archive-product) .bexie-featured-image img {
    border: 1px solid rgba(111, 196, 227, 0.15);
}

body.blog .bexie-seo-text h2,
body.archive:not(.post-type-archive-product) .bexie-seo-text h2 {
    color: #fff !important;
}

body.blog .bexie-seo-content,
body.archive:not(.post-type-archive-product) .bexie-seo-content {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ── Lightbox custom ── */
.bxl-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 21, 37, .95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}
.bxl-lightbox-overlay.bxl-lightbox-open {
    display: flex;
    animation: bxlLbFade .25s ease;
}
@keyframes bxlLbFade { from { opacity: 0; } to { opacity: 1; } }

.bxl-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bxl-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.bxl-lightbox-close,
.bxl-lightbox-prev,
.bxl-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s, border-color .2s;
    padding: 0;
}
.bxl-lightbox-close:hover,
.bxl-lightbox-prev:hover,
.bxl-lightbox-next:hover {
    background: #07c5c6;
    border-color: #07c5c6;
}
.bxl-lightbox-close { top: 24px; right: 24px; }
.bxl-lightbox-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.bxl-lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.bxl-lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.bxl-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 768px) {
    .bxl-lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 24px; }
    .bxl-lightbox-prev,
    .bxl-lightbox-next { width: 40px; height: 40px; font-size: 24px; }
    .bxl-lightbox-prev { left: 8px; }
    .bxl-lightbox-next { right: 8px; }
}

.bxl-zoom-link { cursor: zoom-in; }
.bxl-thumb     { cursor: pointer; }



/* ============================================================
   BEXIE · Landing de acceso B2B (Mi Cuenta) — tema Bexon
   Pega en: Apariencia > Personalizar > CSS adicional
   o en un snippet CSS de WPCode.
   Funciona junto al snippet PHP "bexie-login.php".
   ============================================================ */

/* Contenedor general */
.bexie-auth-ready .bexie-auth-shell {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e3e8ef;
    background: #fff;
    box-shadow: 0 10px 40px rgba(26, 57, 103, 0.08);
    min-height: 540px;
    max-width: 940px;
    margin: 20px auto 60px;
}

/* ---- Panel de marca (izquierda) ---- */
.bexie-auth-brand {
    flex: 0 0 40%;
    background: #1A3967;
    background-image: linear-gradient(160deg, #1A3967 0%, #142d52 100%);
    padding: 42px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}
.bexie-auth-brand .bexie-brand-logo {
    margin-bottom: 32px;
}
.bexie-auth-brand .bexie-brand-logo img {
    max-width: 150px;
    height: auto;
    /* el logo es oscuro: lo pasamos a blanco para que se vea sobre azul */
    filter: brightness(0) invert(1);
}
.bexie-auth-brand h2 {
    color: #fff !important;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 14px;
}
.bexie-auth-brand p.lead {
    color: #9fb8d4;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
.bexie-auth-brand ul.bexie-perks {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.bexie-auth-brand ul.bexie-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cfe0f0;
    font-size: 14px;
    margin: 0;
}
.bexie-auth-brand ul.bexie-perks li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #07c5c6;
}

/* ---- Área de formularios (derecha) ---- */
.bexie-auth-main {
    flex: 1;
    padding: 38px 40px;
    min-width: 0;
}

/* Pestañas */
.bexie-auth-tabs {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 26px;
}
.bexie-auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .18s ease;
    user-select: none;
    line-height: 1.3;
}
.bexie-auth-tab.active {
    background: #fff;
    color: #1A3967;
    border-color: #e3e8ef;
    box-shadow: 0 1px 3px rgba(26,57,103,.08);
}

/* Encabezados de cada formulario */
.bexie-form-head { margin-bottom: 20px; }
.bexie-form-head .t { font-size: 19px; font-weight: 600; color: #1A3967; margin: 0 0 4px; }
.bexie-form-head .s { font-size: 13px; color: #64748b; margin: 0; }

/* Paneles: mostrar/ocultar según pestaña */
.bexie-auth-ready .bexie-pane {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
}
.bexie-pane { display: none; }
.bexie-show-login .bexie-pane-login { display: block; }
.bexie-show-register .bexie-pane-register { display: block; }

/* Inputs dentro de la landing */
.bexie-auth-ready .woo-login-form input.input-text,
.bexie-auth-ready .woo-login-form input[type="password"],
.bexie-auth-ready .woo-register-form input.input-text,
.bexie-auth-ready .woo-register-form input[type="email"],
.bexie-auth-ready .woo-register-form input[type="password"],
.bexie-auth-ready .woo-register-form input[type="tel"],
.bexie-auth-ready .woo-register-form input[type="text"],
.bexie-auth-ready .woo-register-form select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.bexie-auth-ready .woo-login-form input:focus,
.bexie-auth-ready .woo-register-form input:focus {
    border-color: #07c5c6;
    box-shadow: 0 0 0 3px rgba(7,197,198,.15);
    outline: none;
}

/* Labels */
.bexie-auth-ready .woo-login-form label,
.bexie-auth-ready .woo-register-form label {
    font-size: 13px;
    color: #475569;
}

/* Botones de submit */
.bexie-auth-ready .woo-login-form button.woocommerce-button,
.bexie-auth-ready .woo-register-form button.woocommerce-Button,
.bexie-auth-ready .woo-login-form .button,
.bexie-auth-ready .woo-register-form .button {
    width: 100%;
    background: #1A3967 !important;
    color: #fff !important;
    border: none !important;
    padding: 13px !important;
    border-radius: 9px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: background .18s;
    margin-top: 8px;
    justify-content: center;
}
.bexie-auth-ready .woo-login-form button:hover,
.bexie-auth-ready .woo-register-form button:hover {
    background: #07c5c6 !important;
}

/* Recordarme / contraseña perdida */
.bexie-auth-ready .woocommerce-form-login__rememberme {
    font-size: 13px;
    color: #64748b;
}
.bexie-auth-ready .lost_password a {
    color: #07c5c6;
    text-decoration: none;
    font-size: 13px;
}

/* El bloque B2B respira */
.bexie-auth-ready .bexie-b2b-fields { margin-top: 18px; }

/* Responsive: panel arriba en móvil */
@media (max-width: 880px) {
    .bexie-auth-ready .bexie-auth-shell {
        flex-direction: column;
        min-height: 0;
        margin: 10px auto 40px;
    }
    .bexie-auth-brand { flex: none; padding: 30px 26px; }
    .bexie-auth-brand h2 { font-size: 22px; }
    .bexie-auth-brand ul.bexie-perks { display: none; }
    .bexie-auth-main { padding: 26px 22px; }
}

/* Arreglar radios y checkboxes del registro B2B */
.bexie-auth-ready .woo-register-form input[type="radio"],
.bexie-auth-ready .woo-register-form input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 6px 0 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    vertical-align: middle;
    flex-shrink: 0;
    appearance: auto;
    -webkit-appearance: auto;
}

/* Que las etiquetas de los radios queden en línea y compactas */
.bexie-auth-ready .woo-register-form .bexie-b2b-fields label[style*="inline-flex"] {
    font-size: 14px;
}

/* Quitar el borde/caja de los inputs de subir archivo (036/037 y CIF) */
.bexie-auth-ready .woo-register-form input[type="file"] {
    width: 100%;
    border: none !important;
    background: none !important;
    padding: 6px 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
    font-size: 13px;
}

/* El botón "Elegir archivo" interno, con un toque de marca (opcional) */
.bexie-auth-ready .woo-register-form input[type="file"]::file-selector-button {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #1A3967;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    margin-right: 12px;
    transition: all .15s;
}
.bexie-auth-ready .woo-register-form input[type="file"]::file-selector-button:hover {
    background: #07c5c6;
    border-color: #07c5c6;
    color: #fff;
}


/* Portal B2B: quitar relleno teal #088586 de los campos */
.bexie-auth-shell input[type="text"],
.bexie-auth-shell input[type="email"],
.bexie-auth-shell input[type="password"],
.bexie-auth-shell input[type="tel"],
.bexie-auth-shell input[type="number"],
.bexie-auth-shell .input-text,
.bexie-auth-shell .woocommerce-Input {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #1A3967 !important;
    border: 1px solid #d4dae3 !important;
}

/* Por si el navegador autocompleta y vuelve a pintar el fondo */
.bexie-auth-shell input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #1A3967 !important;
}

/* ── Fix overflow móvil · hero de producto (bxl) ── */
@media (max-width: 900px) {

  /* CLAVE: las columnas flex/grid no encogen por debajo de su contenido
     (min-width:auto por defecto). Esto es lo que desborda todo. */
  .bxl-hero-inner,
  .bxl-hero-info-col,
  .bxl-hero-img-col {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Título: permitir romper el SKU largo (BE3.6-6KW-1PH) si hace falta */
  .bxl-title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Navbar: que breadcrumb + pager se apilen en vez de desbordar */
  .bxl-navbar-inner       { flex-wrap: wrap; gap: 12px; }
  .bxl-navbar-breadcrumb,
  .bxl-navbar-bc-list     { flex-wrap: wrap; min-width: 0; }
  .bxl-navbar-bc-current span { overflow-wrap: anywhere; }

  /* Acciones B2B: que los tres botones envuelvan en lugar de salirse */
  .bxl-actions                 { flex-wrap: wrap; }
  .bxl-actions .bxl-action-btn { flex: 1 1 auto; justify-content: center; }

  /* Red de seguridad: corta cualquier sangrado residual */
  .bxl-hero { overflow-x: hidden; }
}