/**
 * Components General CSS
 * 
 * Estilos generales para todos los componentes del sistema modular
 * Se carga automáticamente cuando se usa cualquier componente
 * 
 * @package OnlyCard_Theme
 * @version 1.0.0
 */

/* ==========================================================================
   COMPONENTS GENERAL STYLES
   ========================================================================== */

/* ==========================================================================
   SLIDER COMPONENT STYLES
   ========================================================================== */

.slider-wrapper {
    position: relative;
}

.universal-slider {
    position: relative; 
    overflow: visible;
    overflow-x: clip; 
}

/* Ocultar contenido inicialmente hasta que se cargue */
.universal-slider:not(.slider-loaded) {
    opacity: 0;
}

/* Asegurar que TODO el contenido del slider esté oculto */
.universal-slider:not(.slider-loaded) * {
    opacity: 0 !important;
    visibility: hidden !important;
}

.universal-slider.slider-loading {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.universal-slider.slider-loaded {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Mostrar contenido cuando el slider esté cargado */
.universal-slider.slider-loaded * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Excepción: product-quick-view debe mantener su comportamiento de hover */
.universal-slider.slider-loaded .product-quick-view {
    opacity: 0 !important;
    visibility: visible !important;
}

.universal-slider.slider-loaded .product-card:hover .product-quick-view {
    opacity: 1 !important;
}

/* Modo estático - sin funcionalidad de slider */
.universal-slider.slider-static-mode {
    overflow: visible;
    opacity: 1 !important; /* Mostrar inmediatamente en modo estático */
}

.universal-slider.slider-static-mode * {
    opacity: 1 !important; /* Mostrar todo el contenido en modo estático */
    visibility: visible !important;
}

.universal-slider.slider-static-mode .slider-track {
    display: flex;
    flex-wrap: nowrap; /* Mantener en una sola línea */
    gap: 0; /* JavaScript controla el gap */
    transform: none !important;
    cursor: default;
    transition: none;
    width: 100%;
}

.universal-slider.slider-static-mode .slider-arrow,
.universal-slider.slider-static-mode .slider-dots {
    display: none !important;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
 
    gap: 0; /* JavaScript controla el gap */
    cursor: grab; /* Cursor para indicar que es arrastrable */
    user-select: none; /* Prevenir selección de texto */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Mostrar slides cuando el slider esté listo */
.universal-slider.slider-loaded .slider-slide {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.slider-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: auto; /* JavaScript controla el ancho */
    /* margin y padding controlados por JavaScript */
    opacity: 0; /* Ocultar por defecto hasta que JS los muestre */
}

/* Responsive classes aplicadas por JavaScript */
/* .slider-slide.responsive-desktop,
.slider-slide.responsive-tablet,
.slider-slide.responsive-mobile {
    Width se aplica dinámicamente por JavaScript
} */

/* Navegación del slider */
.slider-arrow {
    opacity: 0; /* Ocultar por defecto */
    visibility: hidden; /* Ocultar por defecto */
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--professional-primary, #5949ff);
    color: var(--professional-text-inverse, #ffffff);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.slider-arrow:hover {
    background-color: var(--professional-secondary, #212529);
    transform: translateY(-50%) scale(1.1);
}

/* Mostrar flechas cuando se hace hover sobre el wrapper */
.slider-wrapper:hover .slider-arrow {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    visibility: visible;
   
}

.slider-prev {
    left: -25px; /* Posicionar fuera del área del slider */
}

.slider-next {
    right: -25px; /* Posicionar fuera del área del slider */
}

/* Indicadores de puntos */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--professional-border-light, #dee2e6);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.slider-dot:hover,
.slider-dot.active {
    background-color: var(--professional-primary, #5949ff);
    transform: scale(1.2);
}

/* Contenedor estático para cuando auto_disable está activo */
.static-container {
    position: relative;
    overflow: visible;
}

.static-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ==========================================================================
   LOOP COMPONENT STYLES
   ========================================================================== */

.loop-item {
    position: relative;
    transition: var(--transition-base);
}

/* Asegurar que los loop-item dentro de sliders no cargados estén ocultos */
.universal-slider:not(.slider-loaded) .loop-item {
    opacity: 0 !important;
}

.loop-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--professional-text-muted, #adb5bd);
}

/* ==========================================================================
   CARD STYLES (GENERAL)
   ========================================================================== */

/* Product Cards */
.product-card {
    background-color: #ffffff;
    border: 1px solid var(--professional-border-light, #dee2e6);
    border-radius: 0.75rem; /* Mantener para compatibilidad, puede sobrescribirse con rounded-xl */
    box-shadow: rgba(20, 85, 172, 0.05) 0px 0.3125rem 0.625rem 0px; /* Mantener para compatibilidad, puede sobrescribirse con shadow-soft */
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
    width: 100%; /* Asegurar que respete el contenedor */
    max-width: 100%; /* Prevenir overflow */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(20, 85, 172, 0.15) 0px 8px 25px 0px;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    width: 100%;
    max-width: 100%;
    background-color: var(--professional-bg-card, #f4f6f8);
}

.product-image img, .featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: transform;
}

/* Animación minimalista para imágenes en cards verticales (basic, extended, minimal) */
.product-card:hover .product-image img {
    transform: scale(1.08);
    opacity: 0.95;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--professional-primary, #5949ff);
    color: var(--professional-text-inverse, #ffffff);
    padding: 6px 10px;
    border-radius: 20px;
    /* font-size: usar clase de utilidad fs-sm si es necesario */
    font-size: 0.75rem; /* 12px - más pequeño que fs-sm, mantener directo */
    font-weight: 600;
    z-index: 2;
}

/* Múltiples badges apilados */
.product-image .product-badge + .product-badge {
    top: 45px; /* Apilar badges verticalmente */
}

.product-image .product-badge + .product-badge + .product-badge {
    top: 78px;
}

/* Estilos específicos para badges */
.product-badge.sale {
    background-color: var(--professional-primary, #5949ff);
}

.product-badge.featured {
    background-color: var(--professional-secondary, #005a87);
}

.product-badge.new {
    background-color: #28a745;
}

.product-quick-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
}

.product-card:hover .product-quick-view {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 1;
}

.quick-view-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--professional-primary, #5949ff);
    font-size: 18px;

    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-btn:hover {
    background-color: var(--professional-primary, #5949ff);
    color: var(--professional-text-inverse, #ffffff);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(89, 73, 255, 0.3);
}

.product-info {
    /* padding se maneja con clases de utilidad p-3 */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.product-title {
    /* font-size se maneja con clases de utilidad fs-6 */
    /* font-weight se maneja con clases de utilidad fw-semibold */
    color: var(--professional-text-primary, #212121);
    /* margin se maneja con clases de utilidad mb-2 */
    line-height: 1.4;
}

.product-price {
    /* font-size se maneja con clases de utilidad fs-6 */
    /* font-weight se maneja con clases de utilidad fw-bold */
    color: var(--professional-primary, #5949ff);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--professional-background-muted, #e9ecef);
    color: var(--professional-text-muted, #adb5bd);
    font-size: 24px;
}

/* Category Cards */
.category-card {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.category-link:hover .category-name, .category-link:focus .category-name {
    text-decoration: none;
    color: var(--professional-primary, #5949ff);
}

.category-icon {
    position: relative;
    width: 80%; /* Relativo al contenedor */
    max-width: 7rem; /* 112px máximo */
    aspect-ratio: 1; /* Mantener circular */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--professional-background-muted, #e9ecef);
    border-radius: 50%; /* Make circular */
    margin: 0 auto; /* Centrar */
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 50%; /* Make circular */
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--professional-background-muted, #e9ecef);
    color: var(--professional-text-muted, #adb5bd);
    font-size: 32px;
}

.category-info {
    margin-top: 15px;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--professional-text-primary, #212121);
    margin: 0 0 5px 0;
    transition: var(--transition-base);
}

.category-count {
    font-size: 14px;
    color: var(--professional-text-muted, #adb5bd);
}

/* Blog Cards */
.blog-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: rgba(20, 85, 172, 0.05) 0px 5px 10px 0px;
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(20, 85, 172, 0.15) 0px 8px 25px 0px;
}

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--professional-background-muted, #e9ecef);
    color: var(--professional-text-muted, #adb5bd);
    font-size: 24px;
}

.blog-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--professional-text-primary, #212121);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--professional-text-secondary, #6c757d);
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--professional-text-muted, #adb5bd);
}

.blog-date,
.blog-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Review Cards */
.review-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: rgba(20, 85, 172, 0.05) 0px 5px 10px 0px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
}

.review-stars .fas.fa-star {
    color: #ffc107;
}

.review-stars .fas.fa-star:not(.filled) {
    color: var(--professional-border-light, #dee2e6);
}

.review-text {
    font-size: 16px;
    font-style: italic;
    color: var(--professional-text-primary, #212121);
    margin: 0 0 20px 0;
    line-height: 1.6;
    border: none;
    padding: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-info {
    flex-grow: 1;
}

.review-author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--professional-text-primary, #212121);
    margin: 0 0 5px 0;
}

.review-author-position {
    font-size: 14px;
    color: var(--professional-text-muted, #adb5bd);
    margin: 0;
}

/* Custom Cards */
.custom-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: rgba(20, 85, 172, 0.05) 0px 5px 10px 0px;
    padding: 20px;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(20, 85, 172, 0.15) 0px 8px 25px 0px;
}

.custom-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--professional-text-primary, #212121);
    margin: 0 0 10px 0;
}

.custom-description {
    font-size: 14px;
    color: var(--professional-text-secondary, #6c757d);
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.custom-image {
    margin-bottom: 15px;
}

.custom-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.custom-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--professional-primary, #5949ff);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.custom-link:hover {
    color: var(--professional-secondary, #212529);
    text-decoration: none;
}

/* Default Cards */
.default-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: rgba(20, 85, 172, 0.05) 0px 5px 10px 0px;
    padding: 20px;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.default-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(20, 85, 172, 0.15) 0px 8px 25px 0px;
}

.default-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.default-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--professional-text-primary, #212121);
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .category-icon {
        width: 100px;
        height: 100px;
    }
    
    .blog-info {
        padding: 15px;
    }
    
    .blog-title {
        font-size: 16px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .slider-arrow {
        display: none;
    }
    
    .slider-dots {
        margin-top: 15px;
    }
    
    .category-icon {
        width: 80px;
        height: 80px;
    }
    
    .review-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   PRODUCT GROUPS - CARDS HORIZONTALES
   ========================================================================== */

.horizontal-product-card {
    transition: var(--transition-base) !important;
}

.horizontal-product-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: rgba(20, 85, 172, 0.15) 0px 8px 25px 0px;
    border-color: var(--professional-primary, #5949ff) !important;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--professional-text-primary, #212121);
}

.group-title i {
    color: var(--professional-primary, #5949ff);
    font-size: 24px;
}

.group-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.horizontal-product-card .product-image-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
}

.horizontal-product-card .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: transform;
}

.horizontal-product-card .product-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.horizontal-product-card .product-title a {
    color: var(--professional-text-primary, #212121);
    text-decoration: none;
    transition: var(--transition-base) !important;
}

.horizontal-product-card .product-title a:hover {
    color: var(--professional-primary, #5949ff) !important;
}

.horizontal-product-card .product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--professional-primary, #5949ff);
}

.horizontal-product-card .product-sku {
    font-size: 12px;
    color: var(--professional-text-muted, #6c757d);
}

.horizontal-product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.horizontal-product-card .product-rating .stars {
    color: var(--professional-warning, #fdcb6e);
}

.horizontal-product-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--professional-border-light, #dee2e6);
    box-shadow: rgba(20, 85, 172, 0.05) 0px 5px 10px 0px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: var(--transition-base);
}

.horizontal-product-card .product-image-wrapper img {
    border-radius: 4px;
}

/* Animación minimalista para imágenes en cards horizontales */
.horizontal-product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
    opacity: 0.95;
}

.horizontal-product-card .product-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.horizontal-product-card .product-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.horizontal-product-card .product-title a {
    color: var(--professional-text-primary, #212121);
    text-decoration: none;
}

.horizontal-product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.horizontal-product-card .product-rating span {
    color: var(--professional-text-muted, #6c757d);
}

/* Admin: Repeater Content */
.repeater-content {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 4px;
}

.repeater-content .repeater-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.repeater-content .repeater-header h3 {
    margin: 0;
}

.remove-group-row {
    color: #dc3232 !important;
}

.remove-group-row:hover {
    color: #a00 !important;
}

/* Admin: Query Fields - Dynamic Display */
.query-field-category,
.query-field-products,
.query-field-attribute,
.query-field-tag {
    display: table;
}

.query-field-attribute-terms {
    display: table-row;
}

/* Select múltiple */
.select-multiple {
    min-height: 120px;
}

/* Checkbox labels */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-label + .checkbox-label {
    margin-bottom: 10px;
}

/* Placeholder image */
.product-image-placeholder {
    width: 100px;
    height: 100px;
    background: var(--professional-bg-light, #f8f9fa);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-placeholder i {
    color: var(--professional-text-muted, #adb5bd);
}

/* Responsive para grupos */
@media (max-width: 768px) {
    .product-groups-section .row > div {
        margin-bottom: 30px;
    }
    
    .group-products {
        grid-template-columns: 1fr;
    }
    
    .horizontal-product-card {
        flex-direction: row;
        padding: 12px;
    }
    
    .horizontal-product-card .product-image-wrapper {
        width: 80px;
        height: 80px;
    }
}

/* ==========================================================================
   INFO CARDS SECTION
   ========================================================================== */


.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid var(--professional-border-light, #dee2e6);
    border-radius: 12px;
    box-shadow: rgba(20, 85, 172, 0.05) 0px 5px 10px 0px;
    text-decoration: none;
    color: var(--professional-text-primary, #212121);
    transition: var(--transition-base);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(20, 85, 172, 0.15) 0px 8px 25px 0px;
    border-color: var(--professional-primary, #5949ff);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--professional-primary, #5949ff);
}

.info-card-icon svg {
    width: 100%;
    height: 100%;
}

.info-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--professional-text-primary, #212121);
}

.info-card-description {
    font-size: 14px;
    color: var(--professional-text-muted, #6c757d);
    margin: 0;
}

/* Responsive para info cards */
@media (max-width: 768px) {
    .info-cards-section .col-md-4 {
        margin-bottom: 20px;
    }
    
    .info-card {
        padding: 25px 15px;
    }
    
    .info-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .info-card-title {
        font-size: 18px;
    }
    
    .info-card-description {
        font-size: 13px;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */


.faq-header {
    margin-bottom: 40px;
}

.faq-title {
    text-align: center;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--professional-border-light, #dee2e6);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: rgba(20, 85, 172, 0.05) 0px 5px 10px 0px;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: rgba(20, 85, 172, 0.15) 0px 8px 25px 0px;
    border-color: var(--professional-primary, #5949ff);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition-base);
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:focus {
    outline: 2px solid var(--professional-primary, #5949ff);
    outline-offset: -2px;
}

.faq-question:hover {
    background: var(--professional-bg-light, #f8f9fa);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--professional-text-primary, #212121);
    text-align: left;
    flex: 1;
}

.faq-question i {
    color: var(--professional-primary, #5949ff);
    font-size: 14px;
    transition: var(--transition-base);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-question:focus-visible {
    outline: 3px solid var(--professional-primary, #5949ff);
    outline-offset: -2px;
}

.faq-item[itemscope][itemtype="https://schema.org/Question"] {
    position: relative;
}

.faq-answer {
    padding: 25px 25px 25px 25px;
    color: var(--professional-text-secondary, #424242);
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 1rem;
}

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

/* Responsive para FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 20px 20px 20px 20px;
    }
}

/* ==========================================================================
   BRANDS SECTION
   ========================================================================== */


.brands-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brands-header .section-title {
    margin: 0;
}

.brands-container {
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .brands-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
