/* =========================================================
   MEGAMENU / NAV
========================================================= */
.bt-megamenu-header > li > span,
.bt-megamenu-header > li > a {
  font-weight: 400 !important;
  font-size: 12px !important;
}

.bt-nav-menu-content ul a {
  font-weight: 400 !important;
  font-size: 12px !important;
}

.bt-megamenu-content {
  width: 100vw !important;
}

.bt-megamenu-content .container-main-app {
  width: 85% !important;
}

/* =========================================================
   PRODUCT BLOCK / ACCORDION
========================================================= */
.section-product-block .accordion-body a,
.section-product-block ul a {
  font-size: 12px !important;
}

.section-product-block li {
  line-height: 16px;
}

.accordion-body {
  padding: 7px 8px 20px;
}

/* =========================================================
   HOME CARDS
========================================================= */
#in-section-cards-home a h4 {
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
}

#in-section-cards-home a img {
  border: 1px solid #d8dbda;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   TYPOGRAPHY / TITLES
========================================================= */
.global-group-title {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -2px;
}

.h3hero {
  color: #fff;
  font-size: 5rem;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -2px;
}

.nstyl {
  color: #fff;
  font-size: 20px;
}

.home-banner-contain h1.h11 {
  line-height: 1.5;
  font-weight: 900;
  font-size: 7rem;
  color: #fff;
  text-align: right;
  margin-bottom: 0 !important;
  letter-spacing: -2px;
}

.home-banner-contain h2.h22 {
  line-height: 1.2;
  font-weight: 500;
  font-size: 3.2rem;
  color: #fff;
  text-align: right;
}

/* =========================================================
   STATS / NEWS COLORS
========================================================= */
.stat-number {
  color: #f94848 !important;
}

.news-link {
  color: #fff !important;
}

.news-link:hover {
  color: #b71c1c !important;
}

/* =========================================================
   SECTIONS PADDING
========================================================= */
.news-section .calidad-destacada {
  padding-top: 5px !important;
  padding-bottom: 54px !important;
}

.global-group-section .calidad-destacada {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

/* =========================================================
   FOOTER
========================================================= */
a.link-legal {
  color: #887e7e;
  font-size: 13px;
}

.container-footer h5 {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.enlFooter {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500 !important;
  line-height: 19px;
}

.container-footer ul {
  margin-top: -2px !important;
  margin-left: 17px !important;
  list-style: circle;
  font-size: 14px;
}

/* =========================================================
   PRODUCTS / LAYOUT / SIDEBAR
========================================================= */
.grupoFa {
  min-width: 200px;
  max-width: 18%;
}

.contenedorProdSect {
  display: flex;
  align-items: self-start;
  gap: 35px;
  justify-content: space-between;
}

.contenedorProdSect .product-title,
.contenedorSectionCard .product-title {
  font-size: 14px !important;
  margin-top: 22px;
  padding: 11px 13px;
  text-align: center;
  height: 48px;
  display: flex;
  align-items: center;justify-content: center;
}

.contenedorProdSect .product-card{
  width: 175px;
  min-width: 175px;
  margin-bottom: 25px;
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
}

.contenedorSectionCard .product-card {
  width: 220px;
  min-width: 220px;
  margin-bottom: 25px;
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
}

.contenedorProdSect .product-nav-arrow,
.contenedorSectionCard .product-nav-arrow {
  bottom: 11px;
  right: 11px;
  width: 37px;
  height: 37px;
  background: rgb(255, 255, 255);
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.25);
}

.sidebar-products-section-ajustado {
  min-width: 300px;
}

.sidebar-products-section-ajustado .sidebar {
  flex-direction: column !important;
}

.buscador {
  margin-bottom: 25px !important;
}

#container-product-item-image-main {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================================================
   MISC
========================================================= */
.category-list {
  margin-bottom: 0px;
}

.right-arrow span {
  font-size: 25px;
  background-color: #fff;
  border-radius: 35px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aa2e2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  line-height: 15px !important;
  padding-top: 0px;
  padding-bottom: 2px;
}

.left-arrow span {
  font-size: 25px;
  background-color: #fff;
  border-radius: 35px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aa2e2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  line-height: 15px !important;
  padding-top: 0px;
  padding-bottom: 2px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1716px) {
  #in-section-cards-home a h4 {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1693px) {
  .contenInver {
    display: flex;
    flex-direction: column-reverse !important;
    gap: 28px;
  }

  .contenInver .bellota-img-container {
    width: 100%;
    height: 226px;
  }

  .contenInver .bellota-content {
    width: 100%;
  }
}

@media (max-width: 1399px) {
  ul.containerMap {
    margin-left: 0px !important;
  }

  .containerMap li {
    line-height: 24px;
  }
}

@media (max-width: 1199px) {
  .contenedorProdSect {
    flex-direction: column;
    margin-bottom: 70px;
  }
}

@media (max-width: 991px) {
  .search-section {
    width: 100%;
    margin: 0 auto;
    gap: 10px !important;
    padding-bottom: 26px !important;
  }

  .news-image-container {
    max-width: 289px;
  }
	
	.familiacontanier{
	flex-direction: column-reverse;}
}

#accordionSectionProducts .accordion-button{
background-color: #f7f7f7;font-size: 14px;}
.section-products-accordion-container .accordion-item{
padding-bottom: 2px !important;}

.category-list .category-item a {
  font-size: 13px;
  color: #222;
}

.section-products-accordion-container .accordion-button:not(.collapsed) {
  background-color: #f7f7f7;
}

.machinery-course-container a{
font-size: 12px;}

.news-section-container h1{
margin-bottom: 5px;}

.news-section-container h2 {
  margin-bottom: -20px !important;
}

.news-item-title {
  font-size: 14px !important;
}

.news-item-container {
  border: 1px solid #e3e3e3;
  padding: 10px;margin: 3px;max-width: 312px;
	gap: 8px;
}

.news-item-tag-date {
  padding: 7px;
  align-items: center;
}

.news-resent-item a:hover h6{
	color: var(--bellota-color-primary) !important;
}

.suscriber-button-container h4 {
	font-size: 14px;}
.listcat a:hover{
	color: var(--bellota-color-primary) !important;
}

.suscriber-button-container .suscriber-button {
  font-size: 14px;
}

@media (max-width: 1899px) {
	.news-item-container {
  border: 1px solid #e3e3e3;
  padding: 10px;
	gap: 8px;
		margin: 6px;
    max-width: 280px;
}
}
@media (max-width: 1702px) {
	.news-item-container {
  border: 1px solid #e3e3e3;
  padding: 10px;
	gap: 8px;
		margin: 6px;
    max-width: 250px;
}
}@media (max-width: 1200px) {
	.sidbrmarca{
	min-width: 295px !important;
    max-width: 340px;}
}
@media (min-width: 992px) and (max-width: 1128px) {
  .bt-megamenu-header {
    gap: 24px !important;
  }

  .bt-megamenu-header > li > span,
  .bt-megamenu-header > li > a {
    font-weight: 400 !important;
    font-size: 11px !important;
  }
}

@media (max-width: 830px) {
  .product-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .news-item-title {
    text-align: center;
  }
}

@media (max-width: 766px) {
  .category-product-section .category-list {
    margin-bottom: 0px;
    gap: 15px;
  }

  .category-product-section .category-list img {
    width: 100px;
    max-height: 70px;
  }

  .category-product-section .category-list .category-item div {
    width: auto !important;
  }
}

@media (max-width: 677px) {
  .img-catalog-home a {
    text-align: center;
  }
	
}

@media (max-width: 640px) {
  .banner-title {
    font-size: 25px;
  }

  .bellota-content h3 {
    font-size: 26px;
  }

  .h3hero {
    font-size: 26px;
    text-align: center !important;
  }

  .hero-section .intro-text {
    text-align: center !important;
  }

  .global-group-title {
    font-size: 26px;
  }

  .featured-products-title {
    font-size: 22px;
  }

  .news-title {
    font-size: 22px;
  }

  .news-item-title {
    font-size: 17px;
  }

  .nstyl {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px !important;
  }

  .home-banner-contain h1.h11 {
    line-height: 58px;
  }

  .home-banner-contain h2.h22 {
  }

  .home-banner-contain {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 438px) {
  .h22 br {
    display: none;
  }
}

@media (max-width: 414px) {
  .link-legal {
    text-align: center;
    line-height: 15px;
  }
	
	.grupoFa {
  min-width: 180px;
  max-width: 4%;
}
	
	  #in-section-cards-home a h4 {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
#in-section-cards-home a h4 {
  margin-bottom: 10px;
  font-size: 16px;
  text-align: center;
  line-height: 20px;
}
	  .news-item-title {
    font-size: 16px;
    margin-bottom: -4px;
  }

.global-group-section {
  padding-bottom: 40px;
}
}

.ficha-producto-tabla th {
  padding-top: 14px;
  padding-bottom: 6px;
}

.ficha-producto-tabla .filtros-row th {
  padding-top: 0px;
  padding-bottom: 14px;
}
.ficha-producto-tabla .filtros-row th input {
  width: 78px;
}

/* Wrapper con scroll (si ya lo tienes, ok) */
.ficha-producto-tabla-wrapper{
  overflow: auto;
}

/* IMPORTANTE: el sticky se hace en los TH */
.ficha-producto-tabla thead th{
  position: sticky;
  z-index: 5;
  background: var(--bellota-color-primary); /* o el color que uses */
}

/* 1ª fila (cabecera iconos/texto) */
.ficha-producto-tabla thead tr:first-child th{
  top: 0;
  z-index: 7;
}

/* 2ª fila (filtros) -> debajo de la cabecera */
.ficha-producto-tabla thead tr.filtros-row th{
  top: 42px;               /* <-- AJUSTA este valor a la altura real de tu 1ª fila */
  z-index: 6;
  background: var(--bellota-color-primary); /* o si quieres otro color */
  padding: 6px 8px !important;
  height: auto !important;
}

/* Inputs de filtro */
.ficha-producto-tabla .tabla-filtro-input{
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 6px 8px;
  font-size: 12px;
}

/* Fila de filtros: centra el contenido del TH */
.ficha-producto-tabla thead tr.filtros-row th{
  text-align: center !important;      /* centra inline */
  padding: 6px 8px !important;
}

/* Input centrado como bloque dentro del TH */
.ficha-producto-tabla thead tr.filtros-row input.tabla-filtro-input{
  display: inline-block !important;   /* permite centrado con text-align */
  width: 66px !important;              /* ajusta (60-90%) a gusto */
  max-width: 140px;                   /* opcional: limita el ancho */
  box-sizing: border-box !important;
  margin: 0 auto !important;          /* por si lo cambias a block */
  text-align: center !important;       /* centra el texto dentro del input */
}



/* Solo el banner */
.home-banner-header{
  position: relative;
  min-height: 475px;   /* o la altura real de tu banner */
  overflow: hidden;    /* evita que el overlay se salga */
}

/* Overlay SOLO dentro del banner */
.home-banner-header::before{
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient( 90deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.35) 55%, rgba(0, 0, 0, 0.5) 100% );
  pointer-events: none;
  z-index: 0;
}

/* Texto por encima */
.home-banner-contain{
  position: relative;
  z-index: 5;
}


.ficha-producto-tabla th{
padding-bottom: 0px !important;}