/*
.headerCategorias{background: black; color:white}

.mejorCuota {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: black;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.homeDestacados{
	margin-bottom: 0.5rem; background: black; padding: 7px; padding-right: 3rem; color: white; border: black 1px solid;   font-size: 2rem; width: 100%;
}
.superContado{
	background:#002D73
}

.footer-newsletter{
	background: black;
}
.botonNewsletter{
	background: gray;
    border: gray;
}

.swiper-slide category-wrap swiper-slide-active{
	background: black;
}

.category-ellipse1 a:focus,
.category-ellipse1 a:active {
    outline: none;
}
*/
.title-link-wrapper{
	position: unset  !important;
}

.homeDestacados {
    margin-bottom: 1rem;
    background: none;
    padding: 0px;
    border: none;
    border-radius: 5px;
    padding-right: 3rem;
    color: black;
    font-size: 2rem;
    width: 100%;
}

.header-middle{
	background: #0057a8 !important
}
.header{
	background: #0057a8 !important
}
.btn-search{
	background: #3FAE2A !important
}
.headerCategorias{
	background: white !important;
	color: black;
	
}
.has-submenu {
	margin-right: 1rem;
	border-right: 1px solid lightgray;
}
.main-nav .menu > .has-submenu:first-child {
	border-left: 1px solid lightgray;
	padding-left: 1rem;
}

.title-link-wrapper {
	margin-bottom: 0rem !important;
}
.main-nav .menu > .has-submenu {
    padding-right: 2.3rem  !important;
}

.footer-newsletter{
	background: #0057a8;
}
.botonNewsletter{
	background: #3FAE2A;
    border: #3FAE2A;
}

.main-nav .megamenu > li > ul {
    height: auto !important;
    overflow: visible !important;
}

.main-nav .megamenu > li > ul:has(li:nth-child(9)) {
    column-count: 2 !important;
    column-gap: 1.5rem !important;
}

.main-nav .menu > .has-submenu:last-child > .megamenu,
.main-nav .menu > .has-submenu:nth-last-child(2) > .megamenu {
    left: auto !important;
    right: -1.5rem !important;
}

main{
	background: #f9f9f9;
}
.category-wrap:hover {
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}
.category img {
    display: block;
    width: 65%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Card de producto v2 (jerarquía tipo mockup) ---------- */

.product-card-v2 {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
    text-align: left;
}

.product-card-v2 .product-media {
    text-align: center;
    margin-bottom: 12px;
}

.product-card-v2 .product-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-v2 .product-name a {
    color: inherit;
}

.precio-contado-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.precio-contado-valor {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    margin-bottom: 6px;
}

.precio-cuotas-linea {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.precio-cuotas-valor {
    font-weight: 700;
    color: #1b63ad;
}

.precio-regular-linea {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.precio-sinimp-linea {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 12px;
}

.btn-comprar-v2 {
    display: block;
    width: 100%;
    text-align: center;
    background: #002D73;
    color: #fff !important;
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-comprar-v2:hover {
    background: #001f52;
    color: #fff;
}

.precio-regular-linea {
    font-size: 1.2rem;
    color: #999;
    /* sin text-decoration: line-through, tal como en la maqueta */
    margin-bottom: 2px;
	text-decoration: none;
}

.precio-sinimp-linea {
   font-size: 1.1rem;
    color: #999;
    margin-bottom: 12px;
}

.precio-contado-valor {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    margin-bottom: 6px;
}

.precio-cuotas-linea {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 5px;
	font-weight: 800;
}

.precio-contado-label {
   font-size: 1.4rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
/* ---------- Tipografía Manrope ---------- */

body,
.main-nav,
.megamenu,
.product-name,
.product-card-v2,
h1, h2, h3, h4, h5, h6,
.homeDestacados,
.header-search input,
.footer,
.precio-contado-label,
.precio-contado-valor,
.precio-cuotas-linea,
.precio-regular-linea,
.precio-sinimp-linea,
.btn-comprar-v2 {
    font-family: 'Manrope', sans-serif !important;
}

.precio-contado-valor {
    font-weight: 800;
}

.precio-cuotas-valor {
    font-weight: 700;
}

.product-name {
    font-weight: 600;
}

.main-nav .menu > .has-submenu > a {
    font-weight: 700;
}
.header-call::after {
    content: none !important;
}
.header-call {
    margin-right: 2rem;
}
.botonMarcas a{
    color: black !important;
	font-weight: bold  !important;
}
.botonArticulos a{
    color: black !important;
	font-weight: bold  !important;
}
#divPrecios a{
	color: black !important;
	font-weight: bold  !important;
}

.product-single .product-title {
    font-size: 2rem;
}
.product-single .product-divider {
    margin: 10px;
}

.nav-tabs {
    flex-wrap: unset;
}


/* Gutter de 5px entre cards de producto, compensando el ancho
   en cada breakpoint del grid (mobile 2 cols / sm 4 cols / md 3 cols / lg 4 cols)
   para que no se caiga ninguna card de linea. */

.product-wrapper.cols-2 > .product-card-v2,
.product-wrapper.cols-sm-4 > .product-card-v2,
.product-wrapper.cols-md-3 > .product-card-v2,
.product-wrapper.cols-lg-4 > .product-card-v2 {
	margin: 5px;
}

/* Mobile (sin media query, breakpoint base): 2 por fila */
.cols-2 > .product-card-v2 {
	flex: 0 0 calc(50% - 10px) !important;
	max-width: calc(50% - 10px) !important;
}

/* >= 576px: 4 por fila */
@media (min-width: 576px) {
	.cols-sm-4 > .product-card-v2 {
		flex: 0 0 calc(25% - 10px) !important;
		max-width: calc(25% - 10px) !important;
	}
}

/* >= 768px: 3 por fila */
@media (min-width: 768px) {
	.cols-md-3 > .product-card-v2 {
		flex: 0 0 calc(33.3333% - 10px) !important;
		max-width: calc(33.3333% - 10px) !important;
	}
}

/* >= 992px: 4 por fila (desktop) */
@media (min-width: 992px) {
	.cols-lg-4 > .product-card-v2 {
		flex: 0 0 calc(25% - 10px) !important;
		max-width: calc(25% - 10px) !important;
	}
}
