/**
 * Interparquet - Custom Styles V9
 * SOLUCIÓN: Romper el contenedor .container de Warehouse en la home
 */

/* ===========================================
   VARIABLES CSS
   =========================================== */
:root {
    --ip-color-primary: #8B8B00;
    --ip-color-primary-dark: #6B6B00;
    --ip-color-accent: #FFD700;
    --ip-color-text: #333333;
    --ip-color-text-light: #666666;
    --ip-color-bg-light: #F5F5F5;
    --ip-color-white: #FFFFFF;
    --ip-color-border: #E5E5E5;

    --ip-spacing-xs: 0.5rem;
    --ip-spacing-sm: 1rem;
    --ip-spacing-md: 2rem;
    --ip-spacing-lg: 3rem;
    --ip-spacing-xl: 4rem;

    --ip-radius: 8px;
    --ip-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --ip-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --ip-transition: 0.3s ease;
}

/* ===========================================
   MENU
   =========================================== */
/* Opción 1: Si son pseudo-elementos */
.cbp-horizontal>ul>li>a,
.cbp-horizontal>ul>li>a:not([href]):not([tabindex]),
.cbp-horizontal>ul>li>.cbp-main-link {
    border-left: none !important;
}

.col-header-center.col-header-menu {
    display: flex;
    justify-content: flex-end;
}

.header-top a.header-cart-btn:not(:hover) {
    color: #777777;
}

/* Reducir tamaño de imágenes del megamenú a la mitad y centrar */
.iqitmegamenu-submenu-container .cbp-category-thumb img {
    max-width: 40%;
    height: auto;
}

.iqitmegamenu-submenu-container .cbp-category-thumb {
    display: flex;
    justify-content: center;
}

.mobile-menu__category-image {
    display: block;
    margin-bottom: 1rem;
    width: 20%;
}

/* Centrar también el título de la categoría */
.iqitmegamenu-submenu-container .cbp-category-link-w {
    text-align: center;
}

/* Centrar el contenido de cada columna */
.iqitmegamenu-submenu-container .cbp-menu-column-inner {
    text-align: center;
}

/* ===========================================
   SLIDER HERO - Forzar imágenes a ancho completo
   =========================================== */
.iqithtmlandbanners-block-banner-slider .swiper-slide {
    width: 100% !important;
}

.iqithtmlandbanners-block-banner-slider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ===========================================
   ⭐ OCULTAR SLIDER EN PÁGINAS QUE NO SEAN HOME
   =========================================== */
body:not(.page-index) .iqithtmlandbanners-block-banner-slider {
    display: none !important;
}

/* También ocultar el contenedor padre si existe */
body:not(.page-index) #iqithtmlandbanners-block-2 {
    display: none !important;
}

/* ===========================================
   PRODUCTOS EN PÁGINAS DE CATEGORÍA - Espaciado
   =========================================== */
/*body.page-category .products.row,
body.page-search .products.row {
    gap: 20px;
}*/

body.page-category .js-product-miniature-wrapper,
body.page-search .js-product-miniature-wrapper {
    margin-bottom: 20px;
    padding: 10px !important;
}

body.page-category .product-miniature,
body.page-search .product-miniature {
    height: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

body.page-category .product-miniature:hover,
body.page-search .product-miniature:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   ⭐ CLAVE: Romper el contenedor de Warehouse SOLO en la home
   =========================================== */
body.page-index #inner-wrapper.container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

body.page-index #content-wrapper {
    padding: 0 !important;
}

body.page-index #main {
    max-width: none !important;
}

/* ===========================================
   BASE
   =========================================== */
#ip-home {
    width: 100%;
}

.ip-section {
    padding: var(--ip-spacing-xl) 0;
}

.ip-section__header {
    text-align: center;
    margin-bottom: var(--ip-spacing-lg);
    padding: 0 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ip-section__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ip-color-text);
    margin-bottom: var(--ip-spacing-sm);
}

.ip-section__subtitle {
    font-size: 1.125rem;
    color: var(--ip-color-text-light);
    line-height: 1.6;
}

.ip-section__footer {
    text-align: center;
    margin-top: var(--ip-spacing-lg);
}

#footer-container-main,
#checkout-footer {
    padding-top: 0px;
    padding-bottom: 0px;
}

#index #wrapper {
    padding-bottom: 0px !important;
}

/* ===========================================
   BOTONES
   =========================================== */
.ip-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ip-spacing-xs);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--ip-radius);
    transition: var(--ip-transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.ip-btn--primary {
    background-color: var(--ip-color-primary);
    color: var(--ip-color-white) !important;
    border-color: var(--ip-color-primary);
}

.ip-btn--primary:hover {
    background-color: var(--ip-color-primary-dark);
    border-color: var(--ip-color-primary-dark);
    color: var(--ip-color-white);
}

.ip-btn--outline {
    background-color: transparent;
    color: var(--ip-color-text);
    border-color: var(--ip-color-border);
}

.ip-btn--outline:hover {
    background-color: #b1ad0b;
    color: #fff;
    border-color: #b1ad0b;
}

/* ===========================================
   SECCIÓN: BARRA DE BENEFICIOS
   =========================================== */
.ip-benefits {
    background-color: var(--ip-color-white);
    padding: var(--ip-spacing-md) 0;
    border-bottom: 1px solid var(--ip-color-border);
}

.ip-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ip-spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ip-benefit {
    display: flex;
    align-items: center;
    gap: var(--ip-spacing-sm);
    padding: var(--ip-spacing-sm);
}

.ip-benefit__icon {
    flex-shrink: 0;
    color: var(--ip-color-text);
}

.ip-benefit__icon svg {
    width: 40px;
    height: 40px;
}

.ip-benefit__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ip-color-text);
    margin: 0 0 0.25rem 0;
}

.ip-benefit__text {
    font-size: 0.8125rem;
    color: var(--ip-color-text-light);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .ip-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ip-spacing-sm);
    }
}

@media (max-width: 575px) {
    .ip-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 10px;
    }

    .ip-benefit {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding: var(--ip-spacing-xs);
    }

    .ip-benefit__icon svg {
        width: 32px;
        height: 32px;
    }

    .ip-benefit__title {
        font-size: 0.8125rem;
    }

    .ip-benefit__text {
        font-size: 0.75rem;
    }
}

/* ===========================================
   SECCIÓN: PRODUCTOS DESTACADOS (SOLO HOME)
   =========================================== */
.ip-featured-products {
    background-color: var(--ip-color-white);
}

.ip-featured-products .ip-products__wrapper {
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ocultar el título "Nuestros productos" del módulo */
.ip-featured-products .ip-products__wrapper .block-title,
.ip-featured-products .ip-products__wrapper h2:not(.ip-section__title),
.ip-featured-products .ip-products__wrapper>h2 {
    display: none !important;
}

/* Grid de productos: 4 columnas con espacio - SOLO en la sección ip-featured-products */
.ip-featured-products .products.row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0;
}

/* Cada producto ocupa su espacio completo - SOLO HOME */
.ip-featured-products .js-product-miniature-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    flex: none !important;
}

/* Contenedor de imagen más alto y proporcionado - SOLO HOME */
.ip-featured-products .thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--ip-radius);
    background: #f5f5f5;
}

.ip-featured-products .product-thumbnail {
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.ip-featured-products .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ip-featured-products .product-miniature:hover .product-thumbnail img {
    transform: scale(1.05);
}

/* Simplificar información del producto - SOLO HOME */
.ip-featured-products .product-description {
    padding: 15px 5px;
    text-align: center;
}

/* Ocultar elementos innecesarios - SOLO HOME */
.ip-featured-products .product-category-name,
.ip-featured-products .product-brand,
.ip-featured-products .product-reference,
.ip-featured-products .product-description-short,
.ip-featured-products .product-add-cart,
.ip-featured-products .product-availability {
    display: none !important;
}

/* Título del producto - SOLO HOME */
.ip-featured-products .product-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: auto;
}

.ip-featured-products .product-title a {
    color: var(--ip-color-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ip-featured-products .product-title a:hover {
    color: var(--ip-color-primary);
}

/* Precios - SOLO HOME */
.ip-featured-products .product-price-and-shipping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ip-featured-products .product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ip-color-primary);
}

.ip-featured-products .regular-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

/* Badges de descuento - SOLO HOME */
.ip-featured-products .product-flags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ip-featured-products .product-flag {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.ip-featured-products .product-flag.discount {
    background-color: #e74c3c;
    color: white;
}

.ip-featured-products .product-flag.new {
    background-color: var(--ip-color-primary);
    color: white;
}

.ip-featured-products .product-flag.on-sale {
    background-color: #f39c12;
    color: white;
}

/* Badges de descuento - Todo el sitio */
.product-miniature-default li.product-flag:first-child {
    margin-top: .3rem;
}

/* Botones de acción (quick view, compare) - SOLO HOME */
.ip-featured-products .product-functional-buttons {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.ip-featured-products .product-miniature:hover .product-functional-buttons {
    opacity: 1;
}

.ip-featured-products .product-functional-buttons-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ip-featured-products .product-functional-buttons-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ip-color-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.ip-featured-products .product-functional-buttons-links a:hover {
    background: var(--ip-color-primary);
    color: white;
}

/* Responsive - SOLO HOME */
@media (max-width: 991px) {
    .ip-featured-products .products.row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .ip-featured-products .products.row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ip-featured-products .product-title {
        font-size: 0.85rem;
    }

    .ip-featured-products .product-price {
        font-size: 1.1rem;
    }
}

/* ===========================================
   SECCIÓN: CATEGORÍAS - ANCHO COMPLETO
   =========================================== */
.ip-categories {
    background-color: #f0f0f0;
    background-image: url('/img/cms/01-interparquet-textura-fondo.svg');
    background-repeat: repeat;
    background-size: auto;
    padding: var(--ip-spacing-xl) 0;
    width: 100%;
}

.ip-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ip-spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ip-spacing-lg);
}

.ip-category-box {
    position: relative;
    display: block;
    border-radius: var(--ip-radius);
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 3/4;
    box-shadow: var(--ip-shadow);
    transition: var(--ip-transition);
    background: #fff;
}

.ip-category-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--ip-shadow-hover);
}

.ip-category-box__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ip-category-box__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ip-transition);
}

.ip-category-box:hover .ip-category-box__image img {
    transform: scale(1.05);
}

.ip-category-box__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%);
}

.ip-category-box__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--ip-spacing-md);
    color: var(--ip-color-white);
    text-align: center;
}

.ip-category-box__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.ip-category-box__text {
    font-size: 0.875rem;
    margin: 0 0 0.75rem 0;
    opacity: 0.9;
    line-height: 1.5;
}

.ip-category-box__link {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #8b8b00;
}

@media (max-width: 991px) {
    .ip-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ip-spacing-md);
        padding: 0 var(--ip-spacing-md);
    }
}

@media (max-width: 767px) {
    .ip-categories__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ===========================================
   SECCIÓN: MARCAS
   =========================================== */
.ip-brands {
    background-color: var(--ip-color-white);
}

.ip-brands .ip-section__header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ip-brands__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--ip-spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ip-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ip-spacing-md);
    background-color: var(--ip-color-white);
    border: 1px solid var(--ip-color-border);
    border-radius: var(--ip-radius);
    transition: var(--ip-transition);
    min-height: 100px;
}

.ip-brand:hover {
    border-color: var(--ip-color-primary);
    box-shadow: var(--ip-shadow);
}

.ip-brand img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--ip-transition);
}

.ip-brand:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 991px) {
    .ip-brands__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .ip-brands__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================================
   SECCIÓN: BANNERS DUO - ANCHO COMPLETO con contenido centrado
   =========================================== */
.ip-banners-duo {
    padding: 0;
    width: 100%;
}

.ip-banners-duo__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

.ip-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 350px;
    text-decoration: none;
    overflow: hidden;
}

/* Banner izquierdo: contenido alineado hacia el centro */
.ip-banner:first-child {
    justify-content: flex-end;
}

.ip-banner:first-child .ip-banner__content {
    margin-right: 0;
    margin-left: auto;
    padding-left: var(--ip-spacing-xl);
    padding-right: var(--ip-spacing-xl);
}

/* Banner derecho: contenido alineado hacia el centro */
.ip-banner:last-child {
    justify-content: flex-start;
}

.ip-banner:last-child .ip-banner__content {
    margin-left: 0;
    margin-right: auto;
    padding-left: var(--ip-spacing-xl);
    padding-right: var(--ip-spacing-xl);
}

.ip-banner__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ip-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ip-transition);
}

.ip-banner:hover .ip-banner__image img {
    transform: scale(1.05);
}

.ip-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.ip-banner__content {
    position: relative;
    z-index: 1;
    padding: var(--ip-spacing-xl);
    color: var(--ip-color-white);
    width: 100%;
    max-width: 635px;
    /* Mitad de 1270px */
    box-sizing: border-box;
}

.ip-banner__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.ip-banner__text {
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
    line-height: 1.6;
}

@media (max-width: 1300px) {
    .ip-banner__content {
        max-width: none;
        padding: var(--ip-spacing-lg);
    }
}

@media (max-width: 767px) {
    .ip-banners-duo__grid {
        grid-template-columns: 1fr;
    }

    .ip-banner {
        min-height: 300px;
        justify-content: flex-start !important;
    }

    .ip-banner__content {
        padding: var(--ip-spacing-md);
        margin: 0 !important;
    }
}

/* ===========================================
   FIX IMÁGENES DE PRODUCTO (SOLICITUD USUARIO)
   =========================================== */

/* 1. Listados de categoría: Llenar el cajón sin bordes blancos */
.product-thumbnail img {
    height: 100% !important;
    object-fit: cover !important;
}

/* 2. Ficha de producto: Llenar el cajón y DESACTIVAR ZOOM */
.product-cover .product-images-large .swiper-slide {
    height: auto;
}

/* Forzar imagen a cubrir todo */
.product-cover .product-images-large .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Desactivar zoom (EasyZoom) y ocultar disparador */
.easyzoom-product {
    display: none !important;
    pointer-events: none !important;
}

/* Eliminar cursor de zoom */
.product-cover .product-images-large .swiper-slide,
.product-cover .product-images-large .swiper-slide img {
    cursor: default !important;
}

/* ===========================================
   SECCIÓN: TESTIMONIOS
   =========================================== */
.ip-testimonials {
    background-color: var(--ip-color-white);
}

.ip-testimonials .ip-section__header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ip-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ip-spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ip-testimonial {
    background-color: var(--ip-color-white);
    border: 1px solid var(--ip-color-border);
    border-radius: var(--ip-radius);
    padding: var(--ip-spacing-md);
    transition: var(--ip-transition);
}

.ip-testimonial:hover {
    box-shadow: var(--ip-shadow-hover);
}

.ip-testimonial__rating {
    margin-bottom: var(--ip-spacing-sm);
}

.ip-stars {
    color: #FFC107;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.ip-testimonial__quote {
    margin: 0 0 var(--ip-spacing-sm) 0;
    padding: 0;
}

.ip-testimonial__quote p {
    font-size: 0.9375rem;
    color: var(--ip-color-text);
    line-height: 1.6;
    margin: 0;
}

.ip-testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--ip-spacing-xs);
    padding-top: var(--ip-spacing-sm);
    border-top: 1px solid var(--ip-color-border);
}

.ip-testimonial__avatar {
    width: 40px;
    height: 40px;
    background-color: var(--ip-color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ip-color-text-light);
}

.ip-testimonial__name {
    font-style: normal;
    font-weight: 600;
    color: var(--ip-color-text);
}

@media (max-width: 991px) {
    .ip-testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* ===========================================
   SECCIÓN: FAQ - ANCHO COMPLETO
   =========================================== */
.ip-faq {
    position: relative;
    padding: var(--ip-spacing-xl) 15px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ip-faq__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #8B7355;
}

.ip-faq__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ip-faq__wrapper {
    position: relative;
    z-index: 1;
    background-color: var(--ip-color-white);
    border-radius: var(--ip-radius);
    padding: var(--ip-spacing-xl);
    width: 100%;
    max-width: 700px;
    box-shadow: var(--ip-shadow-hover);
}

.ip-faq__header {
    text-align: center;
    margin-bottom: var(--ip-spacing-md);
}

.ip-faq__footer {
    text-align: center;
    margin-top: var(--ip-spacing-md);
}

/* Acordeón */
.ip-accordion {
    border: 1px solid var(--ip-color-border);
    border-radius: var(--ip-radius);
    overflow: hidden;
}

.ip-accordion__item {
    border-bottom: 1px solid var(--ip-color-border);
}

.ip-accordion__item:last-child {
    border-bottom: none;
}

.ip-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ip-spacing-sm) var(--ip-spacing-md);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ip-color-text);
    text-align: left;
    transition: var(--ip-transition);
}

.ip-accordion__trigger:hover {
    background-color: var(--ip-color-bg-light);
}

.ip-accordion__trigger[aria-expanded="true"] {
    background-color: var(--ip-color-bg-light);
}

.ip-accordion__icon {
    flex-shrink: 0;
    transition: var(--ip-transition);
}

.ip-accordion__trigger[aria-expanded="true"] .ip-accordion__icon {
    transform: rotate(180deg);
}

.ip-accordion__content {
    overflow: hidden;
}

.ip-accordion__body {
    padding: 0 var(--ip-spacing-md) var(--ip-spacing-md) var(--ip-spacing-md);
}

.ip-accordion__body p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ip-color-text-light);
    line-height: 1.6;
}

@media (max-width: 767px) {
    .ip-faq__wrapper {
        padding: var(--ip-spacing-md);
    }
}

/* ===========================================
   TOPBAR - NÚMEROS DE TELÉFONO
   =========================================== */
.header-nav {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
}

.topbar-phone-numbers {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: 1.5rem;
}

.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.topbar-phone:hover {
    color: var(--ip-color-primary);
}

.topbar-phone i {
    font-size: 0.875rem;
}

/* Alinear todo el contenido del topbar a la derecha */
.header-nav .row {
    justify-content: flex-end !important;
}

.header-nav .right-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Responsive - ocultar números en móvil */
@media (max-width: 767px) {
    .topbar-phone-numbers {
        display: none;
    }
}

/* ===========================================
   PÁGINAS DE CATEGORÍA - PRECIOS SIMPLIFICADOS
   =========================================== */

/* Ocultar el precio de caja (after_price) en listados de categoría */
body.page-category .ip-flooring-box-info,
body.page-search .ip-flooring-box-info {
    display: none !important;
}

/* Ocultar el precio completo alternativo (unit_price) en listados */
body.page-category .ip-flooring-complete-price,
body.page-search .ip-flooring-complete-price {
    display: none !important;
}

/* Ocultar el precio estándar de PrestaShop en listados (ya que usamos IP Flooring Prices) */
body.page-category .product-price-and-shipping .product-price,
body.page-search .product-price-and-shipping .product-price {
    display: none !important;
}

/* Estilizar el precio por m² principal */
body.page-category .ip-flooring-price-main,
body.page-search .ip-flooring-price-main {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: center;
}

body.page-category .ip-price-sqm,
body.page-search .ip-price-sqm {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ip-color-primary);
}

/* Si hay descuento, el precio por m² debe estar en negrita */
body.page-category .product-miniature.has-discount .ip-price-sqm,
body.page-search .product-miniature.has-discount .ip-price-sqm {
    font-weight: 700;
}

body.page-category .ip-price-sqm-unit,
body.page-search .ip-price-sqm-unit {
    font-size: 0.875rem;
    color: #666;
}

/* Precio original en la misma línea, más pequeño y en rojo */
body.page-category .ip-price-sqm-original,
body.page-search .ip-price-sqm-original {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #e74c3c !important;
    font-weight: 400;
    margin-left: 0.25rem;
}

body.page-category .ip-price-sqm-unit-original,
body.page-search .ip-price-sqm-unit-original {
    font-size: 0.75rem;
    color: #e74c3c !important;
    text-decoration: line-through;
}

/* Ocultar el precio regular de PrestaShop que aparece debajo */
body.page-category .regular-price,
body.page-search .regular-price {
    display: none !important;
}

/* Asegurar que el precio por m² se muestre correctamente */
body.page-category .product-price-and-shipping,
body.page-search .product-price-and-shipping {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Eliminar estilos de la versión anterior del precio original */
body.page-category .ip-flooring-price-original,
body.page-search .ip-flooring-price-original {
    display: none !important;
}

/*******  LOOP DE PRODUCTOS  *******/
/* Forzar imagen a ocupar todo el contenedor */
.product-miniature .thumbnail-container .product-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    /* O la proporción que prefieras: 3/4, 1/1, etc. */
    overflow: hidden;
}

.product-miniature .product-thumbnail img,
.product-miniature .product-thumbnail-first,
.product-miniature .product-thumbnail picture {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Por si el picture también tiene estilos */
.product-miniature .product-thumbnail picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Forzar imagen a ocupar todo el contenedor */
.product-miniature .thumbnail-container .product-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.product-miniature .product-thumbnail img,
.product-miniature .product-thumbnail-first,
.product-miniature .product-thumbnail picture {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    20 object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Por si el picture también tiene estilos */
.product-miniature .product-thumbnail picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Fix product cover image size to fill container - ROBUST TEXT V8 */
/* Position flags absolutely to avoid pushing image down */
.product-cover {
    position: relative !important;
}

.product-cover .product-flags {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 10 !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    /* Reset display for ul */
    flex-direction: column !important;
}

/* Fix easyzoom pushing content down */
.product-cover .easyzoom {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 5 !important;
}

/* Ensure images fill the container without breaking Swiper */
/* Target specific elements to avoid breaking swiper-wrapper layout */
.product-cover .swiper-slide {
    width: 100% !important;
    /* Ensure single column view */
    height: 100% !important;
    /* Propagate height from container if available */
}

.product-cover .swiper-slide picture,
.product-cover .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* ==========================================
   FICHA DE PRODUCTO - IMAGEN PRINCIPAL
   ========================================== */

/* El contenedor del swiper se ajusta al contenido */
#product-images-large {
    height: auto !important;
}

/* Cada slide se ajusta a la imagen */
#product-images-large .swiper-slide,
#product-images-large .product-lmage-large {
    height: auto !important;
    width: 100% !important;
}

/* La imagen ocupa todo el ancho */
#product-images-large .swiper-slide img,
#product-images-large .product-lmage-large img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Quitar padding/margin que pueda causar espacios */
.product-cover {
    padding: 0 !important;
}

.images-container {
    padding-bottom: 0 !important;
}


#product-images-large {
    aspect-ratio: 1 / 1;
    overflow: hidden !important;
}

#product-images-large .swiper-slide,
#product-images-large .product-lmage-large {
    height: 100% !important;
}

#product-images-large .swiper-slide picture,
#product-images-large .product-lmage-large picture {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

#product-images-large .swiper-slide img,
#product-images-large .product-lmage-large img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

*/
/* ==========================================
   LISTADO DE PRODUCTOS - MINIATURAS
   ========================================== */

/* Contenedor de imagen en listados */
.product-miniature .thumbnail-container,
.product-miniature .product-thumbnail {
    overflow: hidden;
}

/* Imagen en listados ocupa todo */
.product-miniature .thumbnail-container img,
.product-miniature .product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/**
 * IP Facets - Estilos para 5 colores principales
 * BLANCO, GRIS, MARRÓN, ROJO, NEGRO
 * 
 * Añadir este CSS al tema o en:
 * Diseño > Tema y Logo > Configuración de páginas > CSS personalizado
 */

/* =====================================================
   FILTRO DE COLOR - BOLITAS VISUALES
   ===================================================== */

/* Contenedor de colores - disposición horizontal */
.facet[data-type="color"] ul,
.facet ul[class*="color"],
#facet_color ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
}

/* Cada item de color */
.facet[data-type="color"] li,
.facet li[class*="color"] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ocultar checkbox y texto por defecto */
.facet[data-type="color"] .custom-checkbox,
.facet[data-type="color"] label span:not(.color),
.facet[data-type="color"] .facet__label span {
    /* Mantener accesible pero oculto visualmente */
}

/* =====================================================
   FIX BOLITAS DE COLOR - RESETEAR ESTILOS DE OCULTACIÓN
   ===================================================== */

/* Resetear el wrapper */
#search_filters .color-swatch-wrapper,
.facet .color-swatch-wrapper,
.facet-label .color-swatch-wrapper {
    position: relative !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Resetear la bolita */
#search_filters .color-swatch-circle,
.facet .color-swatch-circle,
.facet-label .color-swatch-circle {
    position: relative !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    display: inline-block !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    border-width: 3px !important;
    border-style: solid !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar el radio button */
.facet-color-swatches .custom-radio {
    display: none !important;
}

/* Contenedor en horizontal */
.facet-color-swatches ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 10px 0 !important;
}

/* Hover */
#search_filters .color-swatch-circle:hover,
.facet .color-swatch-circle:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Activo */
.facet li.active .color-swatch-circle {
    border-color: #d4a039 !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 57, 0.3) !important;
}

/* Tooltip */
#search_filters .tooltip-text,
.facet .tooltip-text {
    position: absolute !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    visibility: hidden !important;
    background-color: #333 !important;
    color: #fff !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    bottom: 125% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    opacity: 0 !important;
    transition: opacity 0.2s !important;
    white-space: nowrap !important;
    z-index: 100 !important;
    width: auto !important;
    height: auto !important;
}

.color-swatch-wrapper:hover .tooltip-text {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Solo ocultar el TEXTO, no las bolitas */
.facet .color-text-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===========================================
   LISTADO DE PRODUCTOS - OCULTAR BADGES DE DESCUENTO
   =========================================== */
.product-flag.on-sale,
.product-flag.new {
    display: none !important;
}

.product-flags .new {
    background: #8B8B00;
}

.product-flags .discount {
    background: #e74c3c;
}

/* ===========================================
   OCULTAR BOTÓN DE USUARIO EN LA CABECERA
   =========================================== */
#header-user-btn {
    display: none !important;
}

/* ============================================
   ASPECTO DE LOS FILTROS
   ============================================ */

/* Contenedor de cada facet */
#search_filters aside.facet {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    margin-bottom: 1rem;
    background: #fff;
}

/* Título del facet */
#search_filters aside.facet .facet-title {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 15px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Lista de opciones */
#search_filters aside.facet ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: none;
    overflow: visible;
}

/* Cada item */
#search_filters aside.facet ul li {
    border-bottom: 1px solid #f0f0f0;
}

#search_filters aside.facet ul li:last-child {
    border-bottom: none;
}

/* Label */
#search_filters aside.facet .facet-label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#search_filters aside.facet .facet-label:hover {
    background-color: #fafafa;
}

/* Checkbox visual */
#search_filters aside.facet .custom-checkbox,
#search_filters aside.facet .custom-radio {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Radio buttons redondos */
#search_filters aside.facet .custom-radio {
    border-radius: 50%;
}

#search_filters aside.facet .custom-checkbox input[type="checkbox"],
#search_filters aside.facet .custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
}

#search_filters aside.facet .custom-checkbox .ps-shown-by-js,
#search_filters aside.facet .custom-radio .ps-shown-by-js {
    display: none;
}

#search_filters aside.facet .custom-checkbox input:checked+.ps-shown-by-js,
#search_filters aside.facet .custom-radio input:checked+.ps-shown-by-js {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Link del filtro */
#search_filters aside.facet .search-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

/* Contador */
#search_filters aside.facet .magnitude {
    color: #999;
    font-size: 13px;
    margin-left: auto;
    padding-left: 8px;
}

/* ============================================
   FACET COLOR - Ajustes específicos para swatches
   ============================================ */

/* Si el facet de color usa swatches circulares, mantener su layout */
#search_filters aside.facet.facet--color ul {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 15px;
    gap: 8px;
}

#search_filters aside.facet.facet--color ul li {
    border-bottom: none;
}

#search_filters aside.facet.facet--color .facet-label {
    padding: 0;
}

/* Ocultar el checkbox/radio en el facet de color (ya tiene el swatch) */
#search_filters aside.facet.facet--color .custom-radio {
    display: none;
}

/* ============================================
   FIX 1: Color swatches - más padding interior
   ============================================ */
#search_filters aside.facet.facet--color ul {
    padding: 15px 20px;
    gap: 12px;
}

/* ============================================
   FIX 2: Checkbox de Marca - quitar el rectángulo fantasma
   ============================================ */
#search_filters aside.facet .custom-checkbox {
    padding: 0;
    overflow: hidden;
}

/* Resetear completamente el pseudo-elemento que genera el rectángulo */
#search_filters aside.facet .custom-checkbox::before,
#search_filters aside.facet .custom-checkbox::after,
#search_filters aside.facet .custom-checkbox span::before,
#search_filters aside.facet .custom-checkbox span::after {
    content: none;
    display: none;
}

/* Forzar que el checkbox visual sea limpio */
#search_filters aside.facet .custom-checkbox .ps-shown-by-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

/* El icono de check cuando está seleccionado */
#search_filters aside.facet .custom-checkbox .ps-shown-by-js i {
    font-size: 12px;
    color: #333;
}

/* FIX Color swatches - separar del borde */
#search_filters aside.facet.facet--color .facet-type-radio,
#search_filters aside.facet.facet-color-swatches ul {
    padding: 15px 20px !important;
    gap: 12px;
}

/* FIX 1: Border-bottom faltante en COLOR TIPO */
#search_filters aside.facet.facet--color {
    border-bottom: 1px solid #e0e0e0;
}

/* FIX 2: Quitar padding-top extra del título COLOR TIPO */
#search_filters aside.facet .facet-title {
    padding-top: 0;
}

/* Reajustar el padding uniforme del título */
#search_filters aside.facet .facet-title {
    padding: 10px 15px;
}

/* Quitar padding del aside que el tema añade */
#search_filters aside.facet {
    padding: 0 !important;
}

/* ============================================
   REORDENAR FILTROS SIDEBAR
   ============================================ */

/* Hacer el contenedor padre flex en columna */
#left-column {
    display: flex;
    flex-direction: column;
}

/* 1º - ¿Cuántos metros necesitas? */
#ip-stock-filter {
    order: 1;
}

/* ── IP Stock Filter sidebar styles ── */
#ip-stock-filter {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

#ip-stock-filter .block-categories-title {
    padding: 12px 15px;
    background: #f6f6f6;
    border-bottom: 1px solid #e5e5e5;
}

#ip-stock-filter .block-categories-title .title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    margin: 0;
}

#ip-stock-filter .block-categories-content {
    padding: 15px;
}

.ip-sqm-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ip-sqm-filter-item {
    margin-bottom: 8px;
}

.ip-sqm-filter-link {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.ip-sqm-filter-link:hover {
    background-color: #f9f9f9;
    color: #333;
}

.ip-sqm-filter-item.active .ip-sqm-filter-link {
    background-color: #e8f4e8;
}

.ip-sqm-checkbox-visual {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
}

.ip-sqm-checkbox-visual.checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.ip-sqm-checkbox-visual.checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ip-sqm-filter-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.ip-sqm-label {
    font-size: 14px;
    color: #333;
}

.ip-sqm-count {
    font-size: 12px;
    color: #888;
    margin-left: 5px;
}

.ip-sqm-clear-filter {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.ip-sqm-clear-filter .btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    color: #666;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ip-sqm-clear-filter .btn:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #333;
}

/* ── IP Stock Filter: ocultar botón móvil en desktop ── */
.ip-stock-filter-mobile-trigger,
#ip-stock-filter-mobile-trigger {
    display: none !important;
}

@media (max-width: 991px) {

    .ip-stock-filter-mobile-trigger,
    #ip-stock-filter-mobile-trigger {
        display: block !important;
        visibility: visible !important;
        position: fixed !important;
        bottom: 80px !important;
        right: 15px !important;
        z-index: 999999 !important;
    }
}

/* ── Modal móvil oculto por defecto ── */
.ip-stock-filter-modal,
#ip-stock-filter-modal {
    display: none !important;
}

.ip-stock-filter-modal.open,
#ip-stock-filter-modal.open {
    display: block !important;
    visibility: visible !important;
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
}

/* ── Ocultar sidebar del filtro en móvil ── */
@media (max-width: 991px) {
    #ip-stock-filter.ip-stock-filter-desktop {
        display: none !important;
    }
}

/* ── IP Stock Filter: botón flotante móvil ── */
.ip-mobile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #B1AD0B;
    color: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(177, 173, 11, 0.4);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ip-mobile-btn:hover,
.ip-mobile-btn:focus {
    background: #9a9808;
    box-shadow: 0 6px 20px rgba(177, 173, 11, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.ip-ruler-icon {
    font-size: 18px;
    line-height: 1;
}

/* ── IP Stock Filter: Modal móvil ── */
.ip-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.ip-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: ip-slideUp 0.3s ease;
}

@keyframes ip-slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ip-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.ip-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.ip-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    font-size: 24px;
    line-height: 1;
    padding: 0;
}

.ip-modal-body {
    padding: 15px 20px;
    overflow-y: auto;
    flex: 1;
}

.ip-modal-body .ip-sqm-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ip-modal-body .ip-sqm-filter-item {
    margin-bottom: 5px;
}

.ip-modal-body .ip-sqm-filter-link {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    background: #f9f9f9;
    transition: all 0.2s ease;
}

.ip-modal-body .ip-sqm-filter-item.active .ip-sqm-filter-link,
.ip-modal-body .ip-sqm-filter-link:hover {
    background: #e8f4e8;
}

.ip-modal-body .ip-sqm-checkbox-visual {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
}

.ip-modal-body .ip-sqm-checkbox-visual.checked {
    background: #B1AD0B;
    border-color: #B1AD0B;
}

.ip-modal-body .ip-sqm-checkbox-visual.checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ip-modal-body .ip-sqm-filter-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.ip-modal-body .ip-sqm-label {
    font-size: 16px;
    font-weight: 500;
}

.ip-modal-body .ip-sqm-count {
    font-size: 14px;
    color: #888;
    background: #fff;
    padding: 4px 10px;
    border-radius: 15px;
}

.ip-modal-footer {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
}

.ip-modal-clear-btn {
    flex: 1;
    padding: 15px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.ip-modal-apply-btn {
    flex: 2;
    padding: 15px;
    background: #B1AD0B;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.ip-modal-apply-btn:hover {
    background: #9a9808;
}

/* 2º - Bloque de facets (contiene Marca y Color) */
#facets_search_wrapper {
    order: 2;
}

/* Reordenar facets internos */
#search_filters {
    display: flex;
    flex-direction: column;
}

/* Color primero */
#search_filters aside.facet.facet--color {
    order: 1;
}

/* Marca después */
#search_filters aside.facet[data-facet-name="Marca"] {
    order: 2;
}

/* Cualquier otro facet futuro al final */
#search_filters aside.facet {
    order: 3;
}

/* Badge de descuento */
.product-flag.discount {
    background-color: #dc3545 !important;
    /* el verde/amarillo que ves ahora */
}

/* Badge de "Nuevo" */
.product-flag.new {
    background-color: #b1ad0b !important;
}

/* Badge de "¡En oferta!" */
.product-flag.on-sale {
    background-color: #dc3545 !important;
}

/* Alineación de precios en listado de productos */
.product-miniature .product-description {
    display: flex;
    flex-direction: column;
}

/* 1. Ocultar bien la tercera línea — asegura que no se vea nada */
.product-miniature .product-title {
    min-height: 2.8em;
    max-height: 2.8em;
    /* Añade max-height para cortar limpio */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    /* Asegúrate de que coincida con tu line-height real */
}

/* 2. Más espacio antes del banner de ÚLTIMO PACK */
.ip-special-lot-banner--list {
    margin-top: 10px;
}

/* FICHA DE PRODUCTO*/
.ip-price-main .ip-discount-badge {
    display: none;
}

.product_header_container clearfix .label {
    display: none;
}

/* 1. Ocultar "Marca: Moderna" y la línea separadora */
#col-product-info .product_header_container .label,
#col-product-info .product_header_container .label+span {
    display: none;
}

/* Si hay un hr o border actuando como línea separadora */
#col-product-info .product_header_container {
    border-bottom: none;
}

/* 2. Precio tachado encima del precio de oferta */
.ip-price-main {
    display: flex;
    flex-wrap: wrap;
}

.ip-price-original {
    display: block;
    width: 100%;
    margin-bottom: 2px;
}

.product_header_container {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

/* ============================================
   CARRITO
   ============================================ */

/* Ocultar precio original tachado y badge de descuento en carrito */
.cart-items .product-discount {
    display: none !important;
}

/* Ocultar precio por m2 en carrito */
.cart-items .unit-price-cart {
    display: none !important;
}

.ip-benefit__text {
    display: none !important;
}

.ip-featured-products .ip-products__wrapper .section-title {
    display: none;
}
/* =============================================
   FAQ InterParquet - Estilos
   ============================================= */

.ip-faq-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #222;
}

.ip-faq-intro {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 20px;
  background: #000;
  border-radius: 12px;
  border-bottom: 4px solid #b1ad0b;
}

.ip-faq-intro h2 {
  font-size: 26px;
  color: #fff;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.ip-faq-intro p {
  font-size: 15px;
  color: #ccc;
  margin: 0;
  line-height: 1.6;
}

.ip-faq-section {
  margin-bottom: 30px;
}

.ip-faq-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b1ad0b;
}

.ip-faq-section-title .ip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: #b1ad0b;
  color: #000;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}

.ip-faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s ease;
}

.ip-faq-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.ip-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  background: #fafafa;
  user-select: none;
  gap: 12px;
  transition: background 0.2s ease;
}

.ip-faq-question:hover {
  background: #f4f4f0;
}

.ip-faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #b1ad0b;
  min-width: 24px;
  text-align: center;
  transition: transform 0.3s ease;
  line-height: 1;
}

.ip-faq-item.active .ip-faq-question {
  background: #f4f4f0;
  color: #000;
  border-bottom: 1px solid #e0e0e0;
}

.ip-faq-item.active .ip-faq-question::after {
  content: "\2212";
}

.ip-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ip-faq-answer-inner {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

.ip-faq-answer-inner p {
  margin: 0 0 12px;
}

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

.ip-faq-answer-inner strong {
  color: #000;
}

.ip-faq-answer-inner ul {
  margin: 8px 0;
  padding-left: 22px;
}

.ip-faq-answer-inner ul li {
  margin-bottom: 4px;
}

.ip-faq-highlight {
  background: #f9f9ec;
  border-left: 3px solid #b1ad0b;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin: 10px 0;
  font-size: 13.5px;
}

.ip-faq-highlight-danger {
  border-left-color: #c0392b;
  background: #fef0ef;
}

.ip-faq-contact-box {
  text-align: center;
  padding: 30px 20px;
  background: #000;
  border-radius: 12px;
  margin-top: 40px;
  color: #fff;
  border-top: 4px solid #b1ad0b;
}

.ip-faq-contact-box h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ip-faq-contact-box p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

.ip-faq-contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ip-faq-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ip-faq-contact-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ip-faq-btn-phone {
  background: #b1ad0b;
  color: #000;
}

.ip-faq-btn-email {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
  .ip-faq-wrapper { padding: 5px 8px 30px; }
  .ip-faq-intro { padding: 20px 15px; }
  .ip-faq-intro h2 { font-size: 21px; }
  .ip-faq-question { padding: 14px 15px; font-size: 14px; }
  .ip-faq-answer-inner { padding: 14px 15px; font-size: 13.5px; }
  .ip-faq-contact-links { flex-direction: column; align-items: center; }
}
/* =============================================
   ENVÍO - InterParquet
   ============================================= */

.ip-shipping-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #222;
}

/* Hero */
.ip-shipping-hero {
  background: #000;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 4px solid #b1ad0b;
}

.ip-shipping-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.ip-shipping-hero .ip-shipping-hero-sub {
  font-size: 15px;
  color: #b1ad0b;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Intro */
.ip-shipping-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.ip-shipping-intro strong {
  color: #000;
}

/* Plazos grid */
.ip-shipping-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 680px) {
  .ip-shipping-times {
    grid-template-columns: 1fr;
  }
}

.ip-shipping-time-card {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 24px;
  border-top: 3px solid #b1ad0b;
}

.ip-shipping-time-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.ip-shipping-time-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
}

.ip-shipping-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.ip-shipping-time-row:last-child {
  border-bottom: none;
}

.ip-shipping-time-label {
  color: #444;
}

.ip-shipping-time-value {
  font-weight: 700;
  color: #000;
  background: #f9f9ec;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 13px;
}

.ip-shipping-time-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: #777;
  line-height: 1.6;
  font-style: italic;
}

/* Secciones informativas */
.ip-shipping-section {
  margin-bottom: 30px;
}

.ip-shipping-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b1ad0b;
}

.ip-shipping-section-title .ip-s-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: #b1ad0b;
  color: #000;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}

.ip-shipping-block {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #444;
}

.ip-shipping-block p {
  margin: 0 0 12px;
}

.ip-shipping-block p:last-child {
  margin-bottom: 0;
}

.ip-shipping-block strong {
  color: #000;
}

.ip-shipping-block ul {
  margin: 8px 0;
  padding-left: 22px;
}

.ip-shipping-block ul li {
  margin-bottom: 6px;
}

/* Highlight boxes */
.ip-shipping-highlight {
  background: #f9f9ec;
  border-left: 3px solid #b1ad0b;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin: 12px 0;
  font-size: 13.5px;
}

.ip-shipping-highlight-danger {
  background: #fef0ef;
  border-left-color: #c0392b;
}

/* Pesos tabla */
.ip-shipping-weights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

@media (max-width: 600px) {
  .ip-shipping-weights {
    grid-template-columns: 1fr 1fr;
  }
}

.ip-shipping-weight-item {
  text-align: center;
  padding: 14px 10px;
  background: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.ip-shipping-weight-type {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.ip-shipping-weight-kg {
  font-size: 18px;
  font-weight: 800;
  color: #b1ad0b;
}

/* CTA contacto */
.ip-shipping-cta {
  text-align: center;
  padding: 30px 20px;
  background: #000;
  border-radius: 12px;
  margin-top: 40px;
  border-top: 4px solid #b1ad0b;
}

.ip-shipping-cta h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ip-shipping-cta p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

.ip-shipping-cta-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ip-shipping-cta-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ip-shipping-cta-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ip-shipping-btn-phone {
  background: #b1ad0b;
  color: #000;
}

.ip-shipping-btn-email {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
  .ip-shipping-wrapper { padding: 5px 8px 30px; }
  .ip-shipping-hero { padding: 28px 18px; }
  .ip-shipping-hero h2 { font-size: 22px; }
  .ip-shipping-block { padding: 16px 18px; }
  .ip-shipping-cta-links { flex-direction: column; align-items: center; }
}
/* =============================================
   SOBRE NOSOTROS - InterParquet
   ============================================= */

.ip-about-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #222;
}

/* Hero */
.ip-about-hero {
  background: #000;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 4px solid #b1ad0b;
}

.ip-about-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.ip-about-hero .ip-about-hero-sub {
  font-size: 15px;
  color: #b1ad0b;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Intro texto */
.ip-about-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.ip-about-intro strong {
  color: #000;
}

/* Grid 2 columnas */
.ip-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 680px) {
  .ip-about-grid {
    grid-template-columns: 1fr;
  }
}

.ip-about-card {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow 0.25s ease;
}

.ip-about-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.ip-about-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #b1ad0b;
  color: #000;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 14px;
}

.ip-about-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px;
  line-height: 1.4;
}

.ip-about-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #444;
  margin: 0 0 10px;
}

.ip-about-card p:last-child {
  margin-bottom: 0;
}

/* Bloque destacado (garantía) */
.ip-about-guarantee {
  background: #000;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  border-left: 5px solid #b1ad0b;
}

.ip-about-guarantee-icon {
  font-size: 40px;
  min-width: 50px;
  text-align: center;
}

.ip-about-guarantee-text {
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}

.ip-about-guarantee-text strong {
  color: #b1ad0b;
}

@media (max-width: 600px) {
  .ip-about-guarantee {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}

/* Valores / stats */
.ip-about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .ip-about-values {
    grid-template-columns: 1fr;
  }
}

.ip-about-value {
  text-align: center;
  padding: 24px 16px;
  background: #f9f9ec;
  border-radius: 10px;
  border: 1px solid #e8e6c8;
}

.ip-about-value-number {
  font-size: 32px;
  font-weight: 800;
  color: #b1ad0b;
  margin-bottom: 4px;
  line-height: 1.2;
}

.ip-about-value-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Marcas */
.ip-about-brands {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 20px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.ip-about-brands h3 {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px;
}

.ip-about-brands-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ip-about-brand-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  transition: all 0.2s ease;
}

.ip-about-brand-tag:hover {
  background: #b1ad0b;
  color: #000;
  border-color: #b1ad0b;
}

/* CTA contacto */
.ip-about-cta {
  text-align: center;
  padding: 30px 20px;
  background: #000;
  border-radius: 12px;
  border-top: 4px solid #b1ad0b;
}

.ip-about-cta h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ip-about-cta p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

.ip-about-cta-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ip-about-cta-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ip-about-cta-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ip-about-btn-phone {
  background: #b1ad0b;
  color: #000;
}

.ip-about-btn-email {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
  .ip-about-wrapper { padding: 5px 8px 30px; }
  .ip-about-hero { padding: 28px 18px; }
  .ip-about-hero h2 { font-size: 22px; }
  .ip-about-cta-links { flex-direction: column; align-items: center; }
}
/* =============================================
   AVISO LEGAL - InterParquet
   Añadir al final de custom.css del child theme
   ============================================= */

.ip-legal-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #222;
}

/* Hero */
.ip-legal-hero {
  background: #000;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 4px solid #b1ad0b;
}

.ip-legal-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.ip-legal-hero .ip-legal-hero-sub {
  font-size: 15px;
  color: #b1ad0b;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Intro */
.ip-legal-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* Ficha titular */
.ip-legal-card {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 36px;
  border-left: 4px solid #b1ad0b;
}

.ip-legal-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0 0 16px;
}

.ip-legal-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

@media (max-width: 600px) {
  .ip-legal-card-grid {
    grid-template-columns: 1fr;
  }
}

.ip-legal-card-row {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.ip-legal-card-label {
  font-weight: 600;
  color: #000;
  min-width: 140px;
  flex-shrink: 0;
}

.ip-legal-card-value {
  color: #444;
}

/* Secciones legales */
.ip-legal-section {
  margin-bottom: 24px;
}

.ip-legal-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b1ad0b;
}

.ip-legal-section-title .ip-l-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #b1ad0b;
  color: #000;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
}

.ip-legal-text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  padding: 0 0 0 42px;
}

.ip-legal-text p {
  margin: 0 0 12px;
}

.ip-legal-text p:last-child {
  margin-bottom: 0;
}

.ip-legal-text strong {
  color: #000;
}

@media (max-width: 600px) {
  .ip-legal-text {
    padding-left: 0;
  }
  .ip-legal-wrapper { padding: 5px 8px 30px; }
  .ip-legal-hero { padding: 28px 18px; }
  .ip-legal-hero h2 { font-size: 22px; }
  .ip-legal-card { padding: 18px 16px; }
  .ip-legal-card-label { min-width: 110px; }
}
/* =============================================
   POLÍTICA DE PRIVACIDAD - InterParquet
   Añadir al final de custom.css del child theme
   ============================================= */

.ip-privacy-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #222;
}

.ip-privacy-hero {
  background: #000;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 4px solid #b1ad0b;
}

.ip-privacy-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.ip-privacy-hero .ip-privacy-hero-sub {
  font-size: 15px;
  color: #b1ad0b;
  font-weight: 600;
  margin: 0;
}

.ip-privacy-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.ip-privacy-intro strong {
  color: #000;
}

/* Ficha responsable */
.ip-privacy-card {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 36px;
  border-left: 4px solid #b1ad0b;
}

.ip-privacy-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
}

.ip-privacy-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 6px;
}

.ip-privacy-card p:last-child {
  margin-bottom: 0;
}

.ip-privacy-card strong {
  color: #000;
}

/* Secciones */
.ip-privacy-section {
  margin-bottom: 28px;
}

.ip-privacy-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b1ad0b;
}

.ip-privacy-section-title .ip-p-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #b1ad0b;
  color: #000;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
}

.ip-privacy-section-title .ip-p-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #b1ad0b;
  color: #000;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
}

.ip-privacy-text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  padding: 0 0 0 42px;
}

.ip-privacy-text p {
  margin: 0 0 12px;
}

.ip-privacy-text p:last-child {
  margin-bottom: 0;
}

.ip-privacy-text strong {
  color: #000;
}

.ip-privacy-text ul {
  margin: 6px 0 12px;
  padding-left: 20px;
}

.ip-privacy-text ul li {
  margin-bottom: 4px;
}

/* Sub-bloques (finalidad/base jurídica) */
.ip-privacy-sub-title {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin: 18px 0 10px;
  padding-top: 10px;
  border-top: 1px dashed #ddd;
}

.ip-privacy-sub-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ip-privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 16px;
  font-size: 13.5px;
}

.ip-privacy-table th {
  background: #f4f4f0;
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  color: #000;
  border-bottom: 2px solid #b1ad0b;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ip-privacy-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: #444;
  vertical-align: top;
  line-height: 1.6;
}

.ip-privacy-table tr:last-child td {
  border-bottom: none;
}

.ip-privacy-table td:first-child {
  font-weight: 600;
  color: #333;
  width: 45%;
}

/* Highlight */
.ip-privacy-highlight {
  background: #f9f9ec;
  border-left: 3px solid #b1ad0b;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin: 12px 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #444;
}

.ip-privacy-highlight strong {
  color: #000;
}

/* Normas RRSS lista */
.ip-privacy-rules {
  margin: 10px 0;
  padding-left: 0;
  list-style: none;
}

.ip-privacy-rules li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.ip-privacy-rules li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #b1ad0b;
  font-weight: 700;
  font-size: 16px;
}

/* Footer nota */
.ip-privacy-footer-note {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .ip-privacy-wrapper { padding: 5px 8px 30px; }
  .ip-privacy-hero { padding: 28px 18px; }
  .ip-privacy-hero h2 { font-size: 22px; }
  .ip-privacy-text { padding-left: 0; }
  .ip-privacy-card { padding: 18px 16px; }
  .ip-privacy-table th,
  .ip-privacy-table td { padding: 8px 10px; font-size: 12.5px; }
  .ip-privacy-table td:first-child { width: auto; }
}
/* =============================================
   PAGO SEGURO - InterParquet
   Añadir al final de custom.css del child theme
   ============================================= */

.ip-payment-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #222;
}

.ip-payment-hero {
  background: #000;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 4px solid #b1ad0b;
}

.ip-payment-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.ip-payment-hero .ip-payment-hero-sub {
  font-size: 15px;
  color: #b1ad0b;
  font-weight: 600;
  margin: 0;
}

.ip-payment-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.ip-payment-intro strong {
  color: #000;
}

/* Métodos de pago grid */
.ip-payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 680px) {
  .ip-payment-methods {
    grid-template-columns: 1fr;
  }
}

.ip-payment-method {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 3px solid #b1ad0b;
}

.ip-payment-method-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.ip-payment-method h3 {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px;
}

.ip-payment-method p {
  font-size: 14px;
  line-height: 1.75;
  color: #444;
  margin: 0 0 10px;
}

.ip-payment-method p:last-child {
  margin-bottom: 0;
}

.ip-payment-method strong {
  color: #000;
}

.ip-payment-cards {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.ip-payment-card-tag {
  display: inline-block;
  padding: 5px 14px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

/* Secciones */
.ip-payment-section {
  margin-bottom: 28px;
}

.ip-payment-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b1ad0b;
}

.ip-payment-section-title .ip-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #b1ad0b;
  color: #000;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
}

.ip-payment-block {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: #444;
}

.ip-payment-block p {
  margin: 0 0 12px;
}

.ip-payment-block p:last-child {
  margin-bottom: 0;
}

.ip-payment-block strong {
  color: #000;
}

.ip-payment-highlight {
  background: #f9f9ec;
  border-left: 3px solid #b1ad0b;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin: 12px 0;
  font-size: 13.5px;
  line-height: 1.7;
}

.ip-payment-highlight strong {
  color: #000;
}

.ip-payment-highlight-danger {
  background: #fef0ef;
  border-left-color: #c0392b;
}

/* CTA */
.ip-payment-cta {
  text-align: center;
  padding: 30px 20px;
  background: #000;
  border-radius: 12px;
  margin-top: 40px;
  border-top: 4px solid #b1ad0b;
}

.ip-payment-cta h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ip-payment-cta p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

.ip-payment-cta-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ip-payment-cta-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ip-payment-cta-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ip-payment-btn-phone {
  background: #b1ad0b;
  color: #000;
}

.ip-payment-btn-email {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
  .ip-payment-wrapper { padding: 5px 8px 30px; }
  .ip-payment-hero { padding: 28px 18px; }
  .ip-payment-hero h2 { font-size: 22px; }
  .ip-payment-block { padding: 16px 18px; }
  .ip-payment-cta-links { flex-direction: column; align-items: center; }
}
/* =============================================
   TÉRMINOS Y CONDICIONES - InterParquet
   Añadir al final de custom.css del child theme
   ============================================= */

.ip-terms-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #222;
}

.ip-terms-hero {
  background: #000;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 4px solid #b1ad0b;
}

.ip-terms-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.ip-terms-hero .ip-terms-hero-sub {
  font-size: 15px;
  color: #b1ad0b;
  font-weight: 600;
  margin: 0;
}

/* Índice */
.ip-terms-index {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 36px;
  border-left: 4px solid #b1ad0b;
}

.ip-terms-index h3 {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px;
}

.ip-terms-index-list {
  columns: 2;
  column-gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ip-terms-index-list li {
  padding: 4px 0;
  font-size: 13.5px;
  color: #555;
  break-inside: avoid;
}

.ip-terms-index-list li span {
  font-weight: 700;
  color: #b1ad0b;
  margin-right: 4px;
}

@media (max-width: 600px) {
  .ip-terms-index-list {
    columns: 1;
  }
}

/* Secciones */
.ip-terms-section {
  margin-bottom: 28px;
}

.ip-terms-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b1ad0b;
}

.ip-terms-section-title .ip-t-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: #b1ad0b;
  color: #000;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.ip-terms-text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  padding: 0 0 0 42px;
}

.ip-terms-text p {
  margin: 0 0 12px;
}

.ip-terms-text p:last-child {
  margin-bottom: 0;
}

.ip-terms-text strong {
  color: #000;
}

.ip-terms-text ul {
  margin: 6px 0 12px;
  padding-left: 20px;
}

.ip-terms-text ul li {
  margin-bottom: 5px;
}

.ip-terms-highlight {
  background: #f9f9ec;
  border-left: 3px solid #b1ad0b;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin: 12px 0;
  font-size: 13.5px;
  line-height: 1.7;
}

.ip-terms-highlight strong {
  color: #000;
}

.ip-terms-highlight-danger {
  background: #fef0ef;
  border-left-color: #c0392b;
}

/* Plazos mini */
.ip-terms-delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}

@media (max-width: 600px) {
  .ip-terms-delivery-grid {
    grid-template-columns: 1fr;
  }
}

.ip-terms-delivery-item {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.ip-terms-delivery-item span:last-child {
  font-weight: 700;
  color: #000;
  background: #f9f9ec;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12.5px;
}

/* Tarjetas pago */
.ip-terms-cards {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}

.ip-terms-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #333;
}

/* Footer */
.ip-terms-footer {
  text-align: center;
  padding: 30px 20px;
  background: #000;
  border-radius: 12px;
  margin-top: 40px;
  border-top: 4px solid #b1ad0b;
}

.ip-terms-footer h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ip-terms-footer p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #aaa;
}

.ip-terms-footer a {
  color: #b1ad0b;
  text-decoration: none;
  font-weight: 600;
}

.ip-terms-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .ip-terms-wrapper { padding: 5px 8px 30px; }
  .ip-terms-hero { padding: 28px 18px; }
  .ip-terms-hero h2 { font-size: 22px; }
  .ip-terms-text { padding-left: 0; }
  .ip-terms-index { padding: 18px 16px; }
}

/* ================================================
   Fix gap entre productos en páginas de marca/fabricante
   ================================================ */
.page-manufacturer .products.row {
    margin-left: -0.75rem !important;
    margin-right: -0.75rem !important;
    row-gap: 1.5rem;
}

.page-manufacturer .js-product-miniature-wrapper {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}
.page-manufacturer .product-miniature {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-manufacturer .product-miniature:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}


/* ================================================
  Categorías
   ================================================ */
.category-additional-description {
    margin-top: 48px;
    margin-bottom: 48px; !important
}

.category-additional-description h2 {
    color: #b0ac0b; !important
    font-size: 28px; !important
}

.category-additional-description h3 {
    font-size: 24px; !important
}

.category-additional-description a:link:not(.nav-link):not(.btn), 
.category-additional-description a:visited:not(.nav-link):not(.btn) {
    color: #b0ac0b !important;
}

.category-additional-description a:hover {
  color: #000000; !important
  opacity: 0.8;
}

/* Móvil */
@media (max-width: 768px) {
    .category-additional-description {
        margin-top: 48px;
        margin-bottom: 48px;
        margin-left: 10px; !important
        margin-right: 10px; !important
    }

    .category-additional-description h2 {
        font-size: 24px; !important
    }

    .category-additional-description h3 {
        font-size: 20px; !important
    }
}

/* ================================================
  Filtro de colores
   ================================================ */
/* ── Color Tipo: layout unificado bolita + nombre ── */

/* Forzar lista en flex wrap horizontal */
.facet .facet-type-radio,
.facet-color-swatches .facet-type-radio {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Cada li ocupa solo lo que necesita */
.facet-color-swatches .facet-type-radio li {
    width: auto;
}

/* El label en columna centrada */
.facet-color-swatches .facet-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px;
    padding: 0 !important;
    cursor: pointer;
    width: 48px;
}

/* Ocultar el radio nativo */
.facet-color-swatches .custom-radio {
    display: none !important;
}

/* El wrapper bolita ocupa toda la fila */
.facet-color-swatches .color-swatch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

/* La bolita */
.facet-color-swatches .color-swatch-circle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: block;
    flex-shrink: 0;
}

/* Quitar tooltip nativo (texto en mayúsculas sobre hover) */
.facet-color-swatches .tooltip-text {
    display: none !important;
}

/* Nombre oculto → hacerlo visible bajo la bolita */
.facet-color-swatches .color-text-hidden {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    display: block !important;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    color: #444;
}

/* Ocultar el contador "(1)" */
.facet-color-swatches .magnitude {
    display: none !important;
}

/* El enlace que envuelve bolita+texto: también en columna */
.facet-color-swatches .search-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}

/* Colores sin .color-swatch-wrapper (Haya, Roble sin hex)
   — el texto del <a> va centrado bajo donde iría la bolita */
.facet-color-swatches .search-link:not(:has(.color-swatch-wrapper)) {
    flex-direction: column !important;
    text-align: center;
    font-size: 10px;
}
/* Capitalizar nombres de color: primera mayúscula, resto minúsculas */
.facet-color-swatches .color-text-hidden,
.facet-color-swatches .search-link {
    text-transform: capitalize !important;
}
/* =============================================
   POLÍTICA DE COOKIES - InterParquet
   Añadir al final de custom.css del child theme
   ============================================= */

.ip-cookies-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 15px 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #222;
}

.ip-cookies-hero {
  background: #000;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 4px solid #b1ad0b;
}

.ip-cookies-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.ip-cookies-hero .ip-cookies-hero-sub {
  font-size: 15px;
  color: #b1ad0b;
  font-weight: 600;
  margin: 0;
}

.ip-cookies-updated {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.ip-cookies-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

/* Secciones */
.ip-cookies-section {
  margin-bottom: 28px;
}

.ip-cookies-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b1ad0b;
}

.ip-cookies-section-title .ip-c-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  background: #b1ad0b;
  color: #000;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.ip-cookies-text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  padding: 0 0 0 42px;
}

.ip-cookies-text p {
  margin: 0 0 12px;
}

.ip-cookies-text p:last-child {
  margin-bottom: 0;
}

.ip-cookies-text strong {
  color: #000;
}

@media (max-width: 600px) {
  .ip-cookies-text {
    padding-left: 0;
  }
}

/* Categoría de cookies */
.ip-cookies-category {
  margin-bottom: 20px;
}

.ip-cookies-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f4f0;
  padding: 12px 16px;
  border-radius: 8px 8px 0 0;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  flex-wrap: wrap;
  gap: 8px;
}

.ip-cookies-category-name {
  font-size: 15px;
  font-weight: 700;
  color: #000;
}

.ip-cookies-category-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ip-cookies-badge-active {
  background: #b1ad0b;
  color: #000;
}

.ip-cookies-badge-consent {
  background: #e0e0e0;
  color: #555;
}

.ip-cookies-category-note {
  width: 100%;
  font-size: 12.5px;
  color: #666;
  margin-top: 2px;
}

/* Tabla de cookies */
.ip-cookies-table-wrap {
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
  margin-bottom: 0;
}

.ip-cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ip-cookies-table th {
  background: #fafafa;
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  color: #555;
  border-bottom: 1px solid #e0e0e0;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ip-cookies-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  vertical-align: top;
  line-height: 1.5;
}

.ip-cookies-table tr:last-child td {
  border-bottom: none;
}

.ip-cookies-table code {
  background: #f4f4f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  color: #333;
  font-family: "SF Mono", Consolas, monospace;
}

/* Tabla base jurídica */
.ip-cookies-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}

.ip-cookies-legal-table th {
  background: #f4f4f0;
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  color: #000;
  border-bottom: 2px solid #b1ad0b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ip-cookies-legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  vertical-align: top;
  line-height: 1.6;
}

.ip-cookies-legal-table tr:last-child td {
  border-bottom: none;
}

.ip-cookies-legal-table td:first-child {
  font-weight: 600;
  color: #333;
}

/* Proveedores tabla */
.ip-cookies-providers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}

.ip-cookies-providers-table th {
  background: #f4f4f0;
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  color: #000;
  border-bottom: 2px solid #b1ad0b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ip-cookies-providers-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  vertical-align: top;
  line-height: 1.6;
}

.ip-cookies-providers-table tr:last-child td {
  border-bottom: none;
}

.ip-cookies-providers-table td:first-child {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

/* Highlight */
.ip-cookies-highlight {
  background: #f9f9ec;
  border-left: 3px solid #b1ad0b;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin: 14px 0;
  font-size: 13.5px;
  line-height: 1.7;
}

.ip-cookies-highlight strong {
  color: #000;
}

/* Lista navegadores */
.ip-cookies-browsers {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 500px) {
  .ip-cookies-browsers {
    grid-template-columns: 1fr;
  }
}

.ip-cookies-browsers li a {
  display: block;
  padding: 10px 16px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.ip-cookies-browsers li a:hover {
  background: #b1ad0b;
  color: #000;
  border-color: #b1ad0b;
}

.ip-cookies-browsers li a span {
  margin-right: 6px;
}

@media (max-width: 600px) {
  .ip-cookies-wrapper { padding: 5px 8px 30px; }
  .ip-cookies-hero { padding: 28px 18px; }
  .ip-cookies-hero h2 { font-size: 22px; }
  .ip-cookies-table th,
  .ip-cookies-table td { padding: 7px 10px; font-size: 12px; }
}