/* =============================================
   EXELINK - styles-2.css
   Fuente: Montserrat (todo el sitio)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6, p, span, li, a, button, input, select, label {
  font-family: 'Montserrat', sans-serif;
}

/* =============================================
   FIXED HEADER WRAPPER
   ============================================= */
.header-fixed-2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  width: 100%;
}

/* Compensate body for fixed header height — adjusted by JS on load/resize */
body {
  padding-top: 130px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > .hero-section-2,
body > section,
body > .page-section-2,
body > .products-section-2,
body > .info-section-2 {
  flex: 1;
}

@media (max-width: 991px) {
  body { padding-top: 150px; }
}

@media (max-width: 767px) {
  body { padding-top: 120px; }
}

/* =============================================
   TOP BAR
   ============================================= */
.topbar-2 {
  background: #1a1a2e;
  color: #aaa;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 0;
  width: 100%;
  overflow: hidden;
}

.topbar-2 .topbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-2 .topbar-left {
  display: flex;
  gap: 20px;
}

.topbar-2 .topbar-left span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #aaa;
  font-size: 11px;
}

.topbar-2 .topbar-left i {
  color: #7ab800;
}

.topbar-2 .topbar-left a {
  color: #aaa;
  transition: color 0.25s ease;
}

.topbar-2 .topbar-left a:hover {
  color: #fff;
}

/* =============================================
   MIDDLE BAR (logo + buscador)
   ============================================= */
.middlebar-2 {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.middlebar-2 .mb-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.middlebar-2 .logo a {
  display: block;
}

.middlebar-2 .logo img {
  height: 45px;
  width: auto;
}

/* Search bar */
.search-bar-2 {
  flex: 1;
  max-width: 550px;
}

.search-bar-2 form {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border: 2px solid transparent;
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
  padding: 0;
}

.search-bar-2 form:focus-within {
  border-color: #7ab800;
  background: #fff;
}

.search-bar-2 input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #333;
  outline: none;
}

.search-bar-2 input::placeholder {
  color: #999;
  font-weight: 400;
}

.search-bar-2 button {
  background: #7ab800;
  border: none;
  color: #fff;
  padding: 10px 22px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  align-self: stretch;
  border-radius: 0 48px 48px 0;
  flex-shrink: 0;
  margin: 0;
}

.search-bar-2 button:hover {
  background: #5e8f00;
}

/* Search results dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 9999;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.search-results-dropdown.active {
  display: block;
}

.search-results-dropdown .srd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.15s;
}

.search-results-dropdown .srd-item:last-child {
  border-bottom: none;
}

.search-results-dropdown .srd-item:hover {
  background: #fafafa;
}

.search-results-dropdown .srd-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
  background: #f5f5f5;
}

.search-results-dropdown .srd-item .srd-name {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.search-results-dropdown .srd-item .srd-model {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

.srd-sku {
  color: #7ab800;
  font-weight: 600;
}

.search-results-dropdown .srd-empty {
  padding: 20px;
  text-align: center;
  color: #999;
  font-size: 13px;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 550px;
}

/* =============================================
   NAVBAR PRINCIPAL (Inicio, Marca, etc.)
   ============================================= */
.navbar-main-2 {
  background: #fff;
  border-bottom: 2px solid #7ab800;
  width: 100%;
  position: relative;
}

.navbar-main-2 .nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.navbar-main-2 .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-main-2 .nav-links li > a {
  display: block;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #333;
  transition: color 0.2s, background 0.2s;
}

.navbar-main-2 .nav-links li > a:hover,
.navbar-main-2 .nav-links li.active > a {
  color: #7ab800;
}

.navbar-main-2 .nav-links li.active > a {
  border-bottom: 3px solid #7ab800;
}

/* Mobile toggle */
.nav-toggle-2 {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-2 span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   CATEGORIES NAVBAR (megamenu)
   ============================================= */
.navbar-cats-2 {
  background: #1a1a2e;
  position: relative;
  z-index: auto;
  width: 100%;
}

.navbar-cats-2 .cats-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  position: static;
}

.navbar-cats-2 .cats-label {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 13px 20px 13px 0;
  border-right: 1px solid rgba(255,255,255,0.15);
  margin-right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.navbar-cats-2 .cats-label i {
  font-size: 14px;
}

.cats-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex: 1;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  /* overflow-x:auto fuerza overflow-y:auto en spec, pero el megamenu
     se posiciona fixed-like via z-index alto, así que no se corta visualmente */
}

.cats-nav-list::-webkit-scrollbar {
  display: none;
}

/* Each top-level category item */
.cats-nav-list > li {
  position: static;
}

.cats-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.cats-nav-list > li > a i.arrow {
  font-size: 9px;
  transition: transform 0.2s;
}

.cats-nav-list > li:hover > a {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.cats-nav-list > li:hover > a i.arrow {
  transform: rotate(180deg);
}

/* =============================================
   MEGAMENU
   ============================================= */
.megamenu {
  display: none;
  position: fixed;
  top: auto;
  min-width: 260px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  border-top: 3px solid #7ab800;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  padding: 20px;
  animation: fadeSlideDown 0.18s ease;
  pointer-events: auto;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cats-nav-list > li:hover > .megamenu {
  display: block;
}

/* Wide megamenu for items with subcategories */
.megamenu.wide {
  min-width: 520px;
  display: none;
}

.cats-nav-list > li:hover .megamenu.wide {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0;
}

.megamenu-col {
  flex: 0 0 50%;
  padding: 4px 12px 4px 0;
}

.megamenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.megamenu ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #444;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.megamenu ul li a:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #7ab800;
  border-radius: 50%;
  flex-shrink: 0;
}

.megamenu ul li a:hover {
  background: #f4faeb;
  color: #7ab800;
}

/* Direct link (no subcategories) megamenu */
.megamenu.single {
  padding: 8px 0;
  min-width: 220px;
}

.megamenu.single a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.15s, color 0.15s;
}

.megamenu.single a:hover {
  background: #f4faeb;
  color: #7ab800;
}

/* =============================================
   CATS MORE BUTTON (overflow dropdown)
   ============================================= */
.cats-more {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cats-more-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.cats-more-btn:hover,
.cats-more.open .cats-more-btn {
  background: rgba(255,255,255,0.15);
}

.cats-more-btn .fa-angle-down {
  font-size: 10px;
  transition: transform 0.2s;
}

.cats-more.open .cats-more-btn .fa-angle-down {
  transform: rotate(180deg);
}

.cats-more-dropdown {
  display: none;
  position: fixed;
  left: 0 !important;
  right: 0;
  background: #1a1a2e;
  border-top: 3px solid #7ab800;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  z-index: 9999;
  padding: 20px 24px;
  animation: fadeSlideDown 0.18s ease;
}

.cats-more.open .cats-more-dropdown {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.cats-more-dropdown .cmd-item {
  flex: 0 0 auto;
  width: 20%;
  padding: 0;
  border: none;
  cursor: pointer;
  position: relative;
}

@media (max-width: 1100px) {
  .cats-more-dropdown .cmd-item { width: 25%; }
}

@media (max-width: 850px) {
  .cats-more-dropdown .cmd-item { width: 33.33%; }
}

.cats-more-dropdown .cmd-item a,
.cats-more-dropdown .cmd-item .cmd-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cats-more-dropdown .cmd-item a:before,
.cats-more-dropdown .cmd-item .cmd-item-header:before {
  display: none;
}

.cats-more-dropdown .cmd-item a:hover,
.cats-more-dropdown .cmd-item .cmd-item-header:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.cats-more-dropdown .cmd-item-header {
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
}

.cats-more-dropdown .cmd-item-header i.fa-angle-down {
  font-size: 9px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.cats-more-dropdown .cmd-item.sub-open .cmd-item-header i.fa-angle-down {
  transform: rotate(180deg);
}

/* Subcategorías: flotante encima, no empuja el layout */
.cats-more-dropdown .cmd-subs {
  display: none;
  position: fixed;
  background: #0f1120;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid #7ab800;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 10000;
  padding: 6px 0;
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  animation: fadeSlideDown 0.15s ease;
}

.cats-more-dropdown .cmd-item:hover > .cmd-subs {
  display: block;
}

.cats-more-dropdown .cmd-subs a {
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: 0;
  letter-spacing: 0.3px;
  display: block;
  transition: background 0.15s, color 0.15s;
  text-transform: uppercase;
}

.cats-more-dropdown .cmd-subs a:before {
  display: none;
}

.cats-more-dropdown .cmd-subs a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* =============================================
   HERO / SLIDER SECTION
   ============================================= */
.hero-section-2 {
  background: #fff;
  padding: 30px 0 10px;
}

.hero-section-2 .hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Owl carousel overrides */
.hero-section-2 .owl-carousel .item img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 420px;
}

.hero-section-2 .owl-nav button {
  background: rgba(0,0,0,0.4) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 18px !important;
}

/* =============================================
   FEATURED PRODUCTS SECTION
   ============================================= */
.products-section-2 {
  padding: 40px 0;
  background: #f5f5f5;
}

.products-section-2 .section-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title-2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title-2 h2 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a1a2e;
}

.section-title-2 .title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, #7ab800, transparent);
}

/* Product card */
.product-card-2 {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card-2:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-card-2 .card-img {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-2 .card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.35s ease;
}

.product-card-2:hover .card-img img {
  transform: scale(1.08);
}

.product-card-2 .card-overlay {
  display: none;
}

.product-card-2 .card-body {
  padding: 14px;
  flex: 1;
}

.product-card-2 .card-body h6 {
  font-size: 12px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
  line-height: 1.4;
}

.product-card-2 .card-body a {
  color: #222;
  transition: color 0.2s;
}

.product-card-2 .card-body a:hover {
  color: #7ab800;
}

/* Products grid using flex */
.products-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* =============================================
   INFO BOXES SECTION
   ============================================= */
.info-section-2 {
  background: #1a1a2e;
  padding: 40px 0;
  width: 100%;
  overflow: hidden;
}

.info-section-2 .section-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-box-2 {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 24px;
  transition: background 0.2s;
}

.info-box-2:hover {
  background: rgba(255,255,255,0.1);
}

.info-box-2 .ib-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.info-box-2 .ib-icon.blue  { background: #0077b6; }
.info-box-2 .ib-icon.amber { background: #f4a261; }
.info-box-2 .ib-icon.red   { background: #7ab800; }

.info-box-2 .ib-text h6 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.info-box-2 .ib-text p {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-2 {
  background: #111;
  color: #aaa;
  padding: 50px 0 0;
  width: 100%;
  overflow: hidden;
}

.footer-2 .footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-2 .footer-brand img {
  height: 40px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-2 .footer-brand p {
  font-size: 12px;
  line-height: 1.8;
  color: #888;
}

.footer-2 h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 18px;
}

.footer-2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-2 ul li {
  margin-bottom: 10px;
}

.footer-2 ul li a {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-2 ul li a:hover {
  color: #7ab800;
}

.footer-2 ul li a i {
  color: #7ab800;
  font-size: 10px;
}

.footer-bottom-2 {
  background: #0a0a0a;
  text-align: center;
  padding: 16px 20px;
  font-size: 11px;
  color: #555;
  margin-top: 40px;
  letter-spacing: 0.5px;
}

.footer-bottom-2 a {
  color: #7ab800;
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */

/* ---- TABLET (≤ 991px) ---- */
@media (max-width: 991px) {
  .middlebar-2 .mb-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .search-wrapper {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .info-section-2 .section-inner {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .footer-2 .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .navbar-cats-2 .cats-label {
    display: none;
  }

  .products-grid-2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- MOBILE (≤ 767px) ---- */
@media (max-width: 767px) {

  /* --- Top bar --- */
  .topbar-2 { display: none; }

  /* --- Middle bar --- */
  .middlebar-2 {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .middlebar-2 .mb-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px;
  }

  .middlebar-2 .logo img {
    height: 36px;
  }

  .search-wrapper {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .search-bar-2 form {
    border-radius: 8px;
  }

  /* --- Navbar principal --- */
  .navbar-main-2 {
    position: relative;
    overflow: visible;
  }

  .navbar-main-2 .nav-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 12px;
  }

  .nav-toggle-2 {
    display: flex;
    margin-left: auto;
  }

  .navbar-main-2 .nav-links {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    display: none;
    z-index: 9998;
    border-top: 2px solid #7ab800;
    overflow: visible;
  }

  .navbar-main-2 .nav-links.open {
    display: flex;
  }

  .navbar-main-2 .nav-links li > a {
    padding: 13px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
  }

  .navbar-main-2 .nav-links li.active > a {
    border-bottom: 1px solid #f0f0f0;
    color: #7ab800;
    border-left: 3px solid #7ab800;
  }

  /* --- Navbar categorías: modo acordeón --- */
  .navbar-cats-2 {
    z-index: 999;
  }

  .navbar-cats-2 .cats-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .cats-toggle-mobile {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    background: #1a1a2e;
    border: none;
    width: 100%;
  }

  .cats-toggle-mobile i {
    transition: transform 0.25s;
  }

  .cats-toggle-mobile.open i {
    transform: rotate(180deg);
  }

  .cats-nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
    background: #1a1a2e;
  }

  .cats-nav-list.open {
    display: flex;
  }

  .cats-nav-list > li {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  .cats-nav-list > li > a {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .cats-nav-list > li > a i.arrow {
    transition: transform 0.2s;
  }

  .cats-nav-list > li.sub-open > a i.arrow {
    transform: rotate(180deg);
  }

  /* Megamenu en móvil: desplegable inline */
  .megamenu,
  .megamenu.wide,
  .megamenu.single {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border-top: none !important;
    background: rgba(255,255,255,0.05) !important;
    padding: 0 !important;
    min-width: unset !important;
    width: 100% !important;
    animation: none !important;
  }

  .cats-nav-list > li.sub-open > .megamenu,
  .cats-nav-list > li.sub-open > .megamenu.wide {
    display: block !important;
    flex-wrap: unset !important;
  }

  .megamenu-col {
    flex: unset;
    width: 100%;
    padding: 0;
  }

  .megamenu ul li a {
    padding: 10px 28px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
  }

  .megamenu ul li a:before {
    background: rgba(255,255,255,0.4);
  }

  .megamenu ul li a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }

  /* Deshabilitar hover del megamenu en móvil — solo click */
  .cats-nav-list > li:hover > .megamenu,
  .cats-nav-list > li:hover > .megamenu.wide,
  .cats-nav-list > li:hover .megamenu,
  .cats-nav-list > li:hover .megamenu.wide {
    display: none !important;
  }

  .cats-nav-list > li.sub-open > .megamenu,
  .cats-nav-list > li.sub-open > .megamenu.wide {
    display: block !important;
  }

  /* --- Productos --- */
  .products-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* --- Info boxes --- */
  .info-section-2 .section-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 12px;
  }

  .info-box-2 {
    padding: 18px;
  }

  /* --- Footer --- */
  .footer-2 .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-2 {
    padding: 30px 0 0;
  }

  .footer-2 .footer-inner {
    padding: 0 16px;
  }

  /* --- Hero --- */
  .hero-section-2 {
    padding: 14px 0 6px;
  }

  .hero-section-2 .hero-inner {
    padding: 0 8px;
  }

  .hero-section-2 .owl-carousel .item img {
    max-height: 200px;
    border-radius: 6px;
  }

  /* --- Section padding --- */
  .products-section-2 {
    padding: 24px 0;
  }

  .products-section-2 .section-inner {
    padding: 0 12px;
  }
}

/* =============================================
   INNER PAGE SECTION
   ============================================= */
.page-section-2 {
  background: #f8f9fa;
  padding: 40px 0;
}

.page-section-2 .section-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-section-2 h2.title,
.page-section-2 h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
}

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail-2 {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pd-gallery {
  flex: 0 0 420px;
  max-width: 420px;
}

.pd-main-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 12px;
}

.pd-img {
  display: none;
  width: 100%;
  object-fit: contain;
  max-height: 380px;
}

.pd-img.active {
  display: block;
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.pd-thumb.active,
.pd-thumb:hover {
  border-color: #7ab800;
}

.pd-info {
  flex: 1;
  min-width: 280px;
}

.pd-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.pd-code {
  font-size: 12px;
  color: #888;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
}

.pd-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 24px;
}

.pd-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.pd-share span {
  font-size: 12px;
  color: #888;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.pd-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #555;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.pd-share a:hover {
  background: #7ab800;
  color: #fff;
}

@media (max-width: 767px) {
  .pd-gallery {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .product-detail-2 {
    flex-direction: column;
  }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info-panel {
  flex: 0 0 300px;
  background: #7ab800;
  border-radius: 12px;
  padding: 32px 28px;
  color: #fff;
}

.contact-info-panel h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.contact-info-panel p {
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.ci-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.contact-info-item .ci-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: 0.75;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-form-panel {
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 32px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.cf-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cf-row .cf-group {
  flex: 1;
  min-width: 180px;
}

.cf-group {
  margin-bottom: 18px;
}

.cf-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #555;
  margin-bottom: 6px;
}

.cf-group input,
.cf-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.cf-group input:focus,
.cf-group textarea:focus {
  border-color: #7ab800;
  box-shadow: 0 0 0 3px rgba(122,184,0,0.12);
  background: #fff;
}

.cf-group textarea {
  resize: vertical;
}

.cf-captcha {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.cf-captcha-img {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cf-captcha-img img {
  border-radius: 6px;
  border: 1.5px solid #e0e0e0;
  height: 42px;
}

.captcha-refresh {
  background: #f4faeb;
  border: 1.5px solid #c5e080;
  color: #7ab800;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}

.captcha-refresh:hover {
  background: #7ab800;
  color: #fff;
}

.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #7ab800;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}

.cf-submit:hover {
  background: #5a8c00;
  transform: translateY(-1px);
}

label.error {
  display: block;
  color: #e63946;
  font-size: 11px;
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
}

#after_submit .alert-success {
  background: #f0fadf;
  border: 1.5px solid #7ab800;
  color: #3d6600;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13px;
}

@media (max-width: 767px) {
  .contact-layout {
    flex-direction: column;
  }
  .contact-info-panel {
    flex: 0 0 100%;
    width: 100%;
  }
  .cf-row {
    flex-direction: column;
    gap: 0;
  }
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 260px;
}

.about-text p {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-text a {
  color: #7ab800;
  text-decoration: none;
  font-weight: 600;
}

.about-text a:hover {
  text-decoration: underline;
}

.about-stats {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-stat {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-left: 4px solid #7ab800;
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #7ab800;
  line-height: 1.2;
}

.stat-label {
  font-size: 11px;
  color: #888;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.about-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.about-client-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.about-client-card:hover {
  border-color: #7ab800;
  box-shadow: 0 4px 16px rgba(122,184,0,0.12);
}

.ac-icon {
  width: 52px;
  height: 52px;
  background: #eef7d5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #7ab800;
}

.about-client-card span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.about-cert-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #7ab800 0%, #5a8c00 100%);
  border-radius: 12px;
  padding: 28px 32px;
  color: #fff;
}

.acb-icon {
  font-size: 48px;
  flex-shrink: 0;
  opacity: 0.9;
}

.acb-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.acb-text p {
  font-size: 13px;
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .about-hero-block {
    flex-direction: column;
  }
  .about-stats {
    flex: 0 0 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .about-stat {
    flex: 1;
    min-width: 120px;
  }
  .about-cert-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}

/* =============================================
   MANUALS PAGE
   ============================================= */
.manuals-intro {
  font-size: 14px;
  color: #555;
  margin-bottom: 28px;
  line-height: 1.7;
}

.manuals-rack-block {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

.rack-steps {
  flex: 1;
  min-width: 260px;
}

.rack-steps h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rack-steps h3 i {
  color: #7ab800;
}

.rack-step-list {
  padding-left: 20px;
  margin: 0;
}

.rack-step-list li {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 4px;
}

.rack-step-list li::marker {
  color: #7ab800;
  font-weight: 700;
}

.rack-video {
  flex: 0 0 360px;
}

.rack-video iframe {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  border: none;
}

@media (max-width: 767px) {
  .manuals-rack-block {
    flex-direction: column;
  }
  .rack-video {
    flex: 0 0 100%;
  }
  .rack-video iframe {
    height: 200px;
  }
}

/* =============================================
   CATÁLOGOS PAGE
   ============================================= */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.catalogo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.catalogo-card:hover {
  border-color: #7ab800;
  box-shadow: 0 6px 20px rgba(122,184,0,0.15);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.catalogo-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #f4faeb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #7ab800;
}

.catalogo-info {
  flex: 1;
}

.catalogo-info h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
}

.catalogo-info span {
  font-size: 11px;
  color: #888;
  font-family: 'Montserrat', sans-serif;
}

.catalogo-arrow {
  flex-shrink: 0;
  color: #7ab800;
  font-size: 16px;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

.catalogo-card:hover .catalogo-arrow {
  opacity: 1;
  transform: translateY(2px);
}

/* ---- SMALL MOBILE (≤ 480px) ---- */
@media (max-width: 480px) {
  .products-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card-2 .card-body h6 {
    font-size: 10px;
  }

  .middlebar-2 .logo img {
    height: 30px;
  }
}
