:root {
  --nexo-navy: #062b5c;
  --nexo-blue: #1769aa;
  --nexo-blue-light: #2a84cf;
  --nexo-gray: #6f747b;
  --nexo-pale: #f3f5f7;
  --nexo-white: #fff;
  --nexo-ink: #172231;
  --nexo-radius: 10px;
  --nexo-shadow: 0 12px 32px rgba(6, 43, 92, .10);
}

body { color: var(--nexo-ink); background: var(--nexo-white); font-family: "Montserrat", "Inter", Arial, sans-serif; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.container { max-width: 1200px; }
#wrapper { background: #fff; box-shadow: none; padding-top: 0; }
#wrapper .breadcrumb { padding-top: 1rem; }
body#index #wrapper .breadcrumb { display: none; }
body#index #wrapper > .container { max-width: none; width: 100%; padding: 0; }
body#index #content-wrapper { width: 100%; padding: 0; }
body#index #main { margin: 0; }

#header { background: #fff; box-shadow: 0 2px 14px rgba(6, 43, 92, .08); position: relative; z-index: 20; }
#header .header-nav { background: var(--nexo-navy); border: 0; color: #fff; margin: 0; max-height: none; }
#header .header-nav a, #header .header-nav .blockcart { color: #fff; }
#header .header-top { padding: 1.2rem 0; }
#header .header-top a[data-depth="0"] { color: var(--nexo-ink); font-weight: 600; text-transform: none; }
#header .header-top a[data-depth="0"]:hover { color: var(--nexo-blue); }
#header .header-top .menu { padding-left: 0; }
#header .logo { max-height: 88px; width: auto; }
.search-widget form input[type=text] { border: 1px solid #dbe1e8; border-radius: 24px; min-width: 220px; padding-left: 1rem; }
.search-widget form button[type=submit] { color: var(--nexo-navy); }

.nexofibra-home { width: 100%; overflow: hidden; }
.nexo-hero { background: linear-gradient(115deg, #031f44 0%, #073d78 58%, #1769aa 100%); min-height: 510px; position: relative; color: #fff; }
.nexo-slide { display: none; min-height: 510px; animation: nexoFade .45s ease; }
.nexo-slide.is-active { display: block; }
.nexo-slide__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 510px; gap: 3rem; padding-top: 2.5rem; padding-bottom: 3.5rem; }
.nexo-slide__copy { position: relative; z-index: 2; }
.nexo-eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .13em; margin-bottom: 1rem; text-transform: uppercase; color: #b9ddff; }
.nexo-slide h1, .nexo-slide h2 { color: #fff; font-size: clamp(2.35rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 1.2rem; max-width: 720px; text-transform: none; }
.nexo-slide p { color: rgba(255,255,255,.9); font-size: 1.08rem; margin: 0 0 1.7rem; }
.nexo-slide__visual { display: flex; justify-content: center; align-items: center; }
.nexo-slide__visual img { width: min(500px, 100%); aspect-ratio: 1; object-fit: contain; border-radius: 45% 55% 50% 50%; mix-blend-mode: screen; filter: drop-shadow(0 22px 30px rgba(0,0,0,.25)); }
.nexo-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.nexo-btn { align-items: center; border: 2px solid transparent; border-radius: 6px; display: inline-flex; font-size: .83rem; font-weight: 800; justify-content: center; letter-spacing: .02em; min-height: 48px; padding: .75rem 1.45rem; text-transform: uppercase; }
.nexo-btn:hover { text-decoration: none; transform: translateY(-2px); }
.nexo-btn--primary { background: var(--nexo-blue-light); color: #fff; }
.nexo-btn--primary:hover { background: #0c5d9f; color: #fff; }
.nexo-btn--outline { border-color: rgba(255,255,255,.85); color: #fff; }
.nexo-btn--outline:hover { background: #fff; color: var(--nexo-navy); }
.nexo-btn--light { background: #fff; color: var(--nexo-navy); }
.nexo-btn--light:hover { background: #e8f3ff; color: var(--nexo-navy); }
.nexo-slider-arrow { position: absolute; top: 47%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; opacity: .9; }
.nexo-slider-arrow--prev { left: 1.2rem; }
.nexo-slider-arrow--next { right: 1.2rem; }
.nexo-slider-dots { position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: .55rem; }
.nexo-slider-dots button { width: 10px; height: 10px; border: 1px solid #fff; border-radius: 50%; padding: 0; background: transparent; cursor: pointer; }
.nexo-slider-dots button.is-active { background: #fff; }

.nexo-buy, .nexo-products { padding-top: 4rem; padding-bottom: 4rem; }
.nexo-section-title { color: var(--nexo-navy); font-size: clamp(1.8rem, 3vw, 2.45rem); letter-spacing: -.025em; margin: 0 0 2rem; text-align: center; text-transform: none; }
.nexo-section-intro { color: var(--nexo-gray); text-align: center; margin: -1rem auto 2.2rem; }
.nexo-buy__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.nexo-buy-card { background: linear-gradient(135deg, #f8fbff, #eef3f8); border: 1px solid #e6ebf0; border-radius: var(--nexo-radius); box-shadow: 0 8px 24px rgba(6,43,92,.06); padding: 2.5rem; text-align: center; }
.nexo-buy-card:hover { box-shadow: var(--nexo-shadow); transform: translateY(-3px); }
.nexo-buy-card h3 { color: var(--nexo-navy); font-size: 1.65rem; margin: .7rem 0 .5rem; text-transform: uppercase; }
.nexo-buy-card p { color: #353f4c; min-height: 48px; }
.nexo-icon { align-items: center; background: #fff; border-radius: 50%; color: var(--nexo-blue); display: inline-flex; font-size: 2rem; height: 78px; justify-content: center; width: 78px; }

.nexo-products { padding-top: 1.5rem; }
.nexo-hook-home .featured-products { margin: 0; }
.nexo-hook-home .featured-products > h2, .nexo-hook-home .featured-products > .all-product-link { display: none; }
.nexo-hook-home .products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.nexo-hook-home .products::after { display: none; }
.nexo-hook-home .product-miniature { margin: 0; width: auto; }
.nexo-hook-home .product-miniature .thumbnail-container { background: #fff; border: 1px solid #e4e8ed; border-radius: var(--nexo-radius); box-shadow: 0 8px 24px rgba(6,43,92,.06); height: 100%; margin: 0; overflow: hidden; width: 100%; }
.nexo-hook-home .product-miniature .thumbnail-container:hover { box-shadow: var(--nexo-shadow); }
.nexo-hook-home .product-miniature .product-thumbnail img { width: 100%; object-fit: cover; }
.nexo-hook-home .product-miniature .product-description { background: #fff; position: relative; width: 100%; }
.nexo-hook-home .product-miniature .product-title a { color: var(--nexo-ink); font-weight: 700; }
.nexo-hook-home .product-miniature .product-price-and-shipping { color: var(--nexo-navy); font-size: 1.15rem; }

.nexo-benefits { background: var(--nexo-pale); border-top: 1px solid #e3e7eb; border-bottom: 1px solid #e3e7eb; padding: 2rem 0; }
.nexo-benefits__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nexo-benefit { align-items: center; border-right: 1px solid #d9dde2; color: var(--nexo-ink); display: flex; flex-direction: column; gap: .65rem; padding: .7rem; text-align: center; }
.nexo-benefit:last-child { border-right: 0; }
.nexo-benefit span { color: var(--nexo-blue); font-size: 2rem; line-height: 1; }
.nexo-benefit strong { font-size: .93rem; }
.nexo-wholesale { align-items: center; background: linear-gradient(110deg, #062b5c, #084986); border-radius: var(--nexo-radius); color: #fff; display: flex; justify-content: space-between; margin-top: 3.5rem; margin-bottom: 3.5rem; padding: 2rem 3rem; }
.nexo-wholesale h2 { color: #fff; font-size: 1.8rem; margin: 0 0 .35rem; text-transform: none; }
.nexo-wholesale p { color: #fff; margin: 0; }

#footer { background: #f5f6f8; border-top: 1px solid #e3e7eb; padding-top: 3rem; }
#footer .h3, #footer .h4, #footer .block-contact-title { color: var(--nexo-navy); font-weight: 800; }
#footer a { color: #394654; }
#footer a:hover { color: var(--nexo-blue); }

@keyframes nexoFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 991px) {
  .nexo-slide__inner { grid-template-columns: 1fr 1fr; padding-left: 3.25rem; padding-right: 3.25rem; }
  .nexo-slide h1, .nexo-slide h2 { font-size: 2.5rem; }
  .nexo-hook-home .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #header .header-top { padding: .8rem 0; }
}

@media (max-width: 767px) {
  .nexo-hero, .nexo-slide, .nexo-slide__inner { min-height: 650px; }
  .nexo-slide__inner { grid-template-columns: 1fr; gap: .5rem; padding: 3rem 2rem 4rem; text-align: center; }
  .nexo-slide__copy { order: 1; }
  .nexo-slide__visual { order: 0; }
  .nexo-slide__visual img { width: 260px; }
  .nexo-slide h1, .nexo-slide h2 { font-size: 2.05rem; }
  .nexo-actions { justify-content: center; }
  .nexo-slider-arrow { display: none; }
  .nexo-buy, .nexo-products { padding: 3rem 1rem; }
  .nexo-buy__grid { grid-template-columns: 1fr; gap: 1rem; }
  .nexo-buy-card { padding: 2rem 1.2rem; }
  .nexo-benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nexo-benefit { border-bottom: 1px solid #d9dde2; }
  .nexo-benefit:nth-child(2) { border-right: 0; }
  .nexo-benefit:nth-child(n+3) { border-bottom: 0; }
  .nexo-wholesale { align-items: stretch; flex-direction: column; gap: 1.2rem; margin: 2rem 1rem; padding: 2rem; text-align: center; }
}

@media (max-width: 480px) {
  .nexo-hook-home .products { grid-template-columns: 1fr; }
  .nexo-btn { width: 100%; }
}

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


/* Anular el grid de Bootstrap (col-xs-12 col-sm-6 col-lg-4 col-xl-3) que trae el módulo */
.nexo-hook-home .products > .product {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
  margin: 0;
}

.nexo-hook-home .product-miniature { margin: 0; width: auto; height: 100%; }
