    /**
 * Product Compare Module Styles
 * PrestaShop 8.4 Compatible
 * Modern B2B Design
 */
    /* ===========================
   CSS Variables (Brand Colors)
   =========================== */
    
     :root {
        --tvcms-brand-primary: #12a8be;
        --tvcms-brand-primary-dark: #0d8a9d;
        --tvcms-brand-secondary: #e23333;
        --tvcms-brand-secondary-dark: #c52d2d;
        --tvcms-gray-100: #f8f9fa;
        --tvcms-gray-200: #e9ecef;
        --tvcms-gray-300: #dee2e6;
        --tvcms-gray-600: #6c757d;
        --tvcms-gray-900: #212529;
        --tvcms-white: #ffffff;
        --tvcms-border-radius: 8px;
        --tvcms-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        --tvcms-box-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
        --tvcms-transition: all 0.3s ease;
    }
    /* ===========================
   Page Header
   =========================== */
    
    .compare-header {
        background: linear-gradient(135deg, var(--tvcms-brand-primary) 0%, var(--tvcms-brand-primary-dark) 100%);
        color: var(--tvcms-white);
        padding: 2rem;
        border-radius: var(--tvcms-border-radius);
        margin-bottom: 2rem;
        box-shadow: var(--tvcms-box-shadow);
    }
    
    .compare-header h1 {
        margin: 0;
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.2;
    }
    
    .compare-date {
        opacity: 0.9;
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }
    /* ===========================
   Products Grid
   =========================== */
    
    .compare-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    /* ===========================
   Product Card
   =========================== */
    
    .compare-product-card {
        background: var(--tvcms-white);
        border: 1px solid var(--tvcms-gray-300);
        border-radius: var(--tvcms-border-radius);
        padding: 1.5rem;
        box-shadow: var(--tvcms-box-shadow);
        transition: var(--tvcms-transition);
        display: flex;
        flex-direction: column;
        max-width: 400px;
    }
    
    @media screen and (max-width: 767px) {
        .compare-product-card {
            max-width: 100%;
        }
    }
    
    .compare-product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--tvcms-box-shadow-hover);
    }
    /* ===========================
   Product Image
   =========================== */
    
    .product-image-container {
        position: relative;
        width: 100%;
        padding-bottom: 100%;
        /* 1:1 aspect ratio */
        margin-bottom: 1rem;
        border-radius: calc(var(--tvcms-border-radius) - 2px);
        overflow: hidden;
        background: var(--tvcms-gray-100);
    }
    
    .product-image-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    
    .product-image-container:hover img {
        transform: scale(1.05);
    }
    /* ===========================
   Product Info
   =========================== */
    
    .product-name {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--tvcms-gray-900);
        min-height: 3rem;
        line-height: 1.4;
    }
    /* ===========================
   Price Section
   =========================== */
    
    .price-container {
        margin-bottom: 1rem;
    }
    
    .special-price {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .price-new {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--tvcms-brand-secondary);
        line-height: 1;
    }
    
    .price-old {
        font-size: 1rem;
        text-decoration: line-through;
        color: var(--tvcms-gray-600);
    }
    
    .price-discount {
        background: var(--tvcms-brand-secondary);
        color: var(--tvcms-white);
        padding: 0.25rem 0.5rem;
        border-radius: calc(var(--tvcms-border-radius) / 2);
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .price-regular {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--tvcms-gray-900);
        line-height: 1;
    }
    /* ===========================
   Product Description
   =========================== */
    
    .product-description {
        font-size: 0.875rem;
        color: var(--tvcms-gray-600);
        margin-bottom: 1rem;
        line-height: 1.6;
        flex-grow: 1;
    }
    /* ===========================
   Action Buttons
   =========================== */
    
    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: auto;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        border: none;
        border-radius: calc(var(--tvcms-border-radius) - 2px);
        font-weight: 600;
        font-size: 0.875rem;
        cursor: pointer;
        transition: var(--tvcms-transition);
        text-align: center;
        text-decoration: none;
        display: inline-block;
        line-height: 1.2;
    }
    
    .btn:disabled,
    .btn.disabled {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
    }
    
    .btn-primary {
        background: var(--tvcms-brand-primary);
        color: var(--tvcms-white);
    }
    
    .btn-primary:hover:not(:disabled) {
        background: var(--tvcms-brand-primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(18, 168, 190, 0.3);
    }
    
    .compare-header-left h1 img {
        margin-right: 10px;
    }
    
    .btn-quote {
        background: var(--tvcms-brand-secondary);
        color: var(--tvcms-white);
    }
    
    .btn-quote .fa,
    .btn-remove .fa {
        margin-inline: 10px;
        font-size: large;
    }
    
    .btn-quote:hover:not(:disabled) {
        background: var(--tvcms-brand-secondary-dark);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(226, 51, 51, 0.3);
    }
    
    .btn-quote.added-to-quote {
        background: #28a745;
    }
    
    .btn-remove {
        background: var(--tvcms-gray-200);
        color: var(--tvcms-gray-600);
        font-size: 0.8125rem;
        padding: 0.5rem;
    }
    
    .btn-remove:hover:not(:disabled) {
        background: var(--tvcms-gray-300);
    }
    
    .btn-loading::after {
        content: "...";
        animation: loading-dots 1s infinite;
    }
    
    @keyframes loading-dots {
        0%,
        20% {
            content: ".";
        }
        40% {
            content: "..";
        }
        60%,
        100% {
            content: "...";
        }
    }
    /* ===========================
   Features Section
   =========================== */
    
    .features-section {
        background: var(--tvcms-white);
        border: 1px solid var(--tvcms-gray-300);
        border-radius: var(--tvcms-border-radius);
        padding: 1.5rem;
        box-shadow: var(--tvcms-box-shadow);
    }
    
    .features-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        padding: 1rem;
        background: var(--tvcms-gray-100);
        border-radius: calc(var(--tvcms-border-radius) - 2px);
        margin-bottom: 1rem;
        transition: background 0.2s ease;
    }
    
    .features-header:hover {
        background: var(--tvcms-gray-200);
    }
    
    .features-header h2 {
        margin: 0;
        font-size: 1.25rem;
        color: var(--tvcms-gray-900);
    }
    
    .features-header span {
        transition: transform 0.3s ease;
    }
    
    .features-header[aria-expanded="false"] span {
        transform: rotate(-90deg);
    }
    /* ===========================
   Features Table
   =========================== */
    
    .features-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .features-table th,
    .features-table td {
        padding: 0.75rem;
        text-align: left;
        border-bottom: 1px solid var(--tvcms-gray-300);
    }
    
    .features-table thead th {
        background: var(--tvcms-gray-100);
        font-weight: 600;
        color: var(--tvcms-gray-900);
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .features-table tbody td {
        color: var(--tvcms-gray-600);
        font-size: 0.875rem;
    }
    
    .features-table tbody tr:hover {
        background: var(--tvcms-gray-100);
    }
    
    .features-table tbody tr:last-child td {
        border-bottom: none;
    }
    /* ===========================
   Empty State
   =========================== */
    
    .empty-state {
        text-align: center;
        padding: 4rem 2rem;
        background: var(--tvcms-white);
        border-radius: var(--tvcms-border-radius);
        border: 2px dashed var(--tvcms-gray-300);
    }
    
    .empty-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
        opacity: 0.5;
        padding-bottom: 2rem;
    }
    
    .empty-state h2 {
        color: var(--tvcms-gray-900);
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
    
    .empty-state p {
        color: var(--tvcms-gray-600);
        font-size: 1.125rem;
        margin: 0;
    }
    /* ===========================
   Compare Counter Badge
   =========================== */
    
    .tvcms-compare-count,
    [data-compare-count] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.5rem;
        height: 1.5rem;
        padding: 0 0.5rem;
        background: var(--tvcms-brand-secondary);
        color: var(--tvcms-white);
        border-radius: 1rem;
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .tvcms-compare-count.has-items {
        animation: pulse 0.5s ease;
    }
    
    @keyframes pulse {
        0%,
        100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.2);
        }
    }
    /* ===========================
   Responsive Design
   =========================== */
    
    @media (max-width: 1200px) {
        .compare-grid {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }
    }
    
    @media (max-width: 768px) {
        .compare-grid {
            grid-template-columns: 1fr;
        }
        .compare-header h1 {
            font-size: 1.5rem;
        }
        .features-table {
            font-size: 0.8125rem;
        }
        .features-table th,
        .features-table td {
            padding: 0.5rem;
        }
    }
    
    @media (max-width: 576px) {
        .compare-header {
            padding: 1.5rem;
        }
        .compare-product-card {
            padding: 1rem;
        }
        .product-name {
            font-size: 1rem;
            min-height: auto;
        }
        .price-new,
        .price-regular {
            font-size: 1.25rem;
        }
    }
    /* ===========================
   Print Styles
   =========================== */
    
    @media print {
        .action-buttons,
        .btn-remove {
            display: none !important;
        }
        .compare-product-card {
            break-inside: avoid;
            box-shadow: none;
            border: 1px solid #000;
        }
        .compare-header {
            background: #000 !important;
            color: #fff !important;
            -webkit-print-color-adjust: exact;
            print-color-adjust: exact;
        }
    }
    /* ===========================
   HEADER WITH ASK AI BUTTON
   =========================== */
    
    .compare-header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .compare-header-left {
        flex: 1;
        min-width: 0;
        /* Allow text to wrap */
    }
    
    .compare-header-right {
        flex-shrink: 0;
    }
    /* ===========================
   ASK AI BUTTON
   =========================== */
    
    .btn-ask-ai {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        color: #ffffff;
        border: none;
        border-radius: 50px;
        /* Pill shape */
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .btn-ask-ai::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }
    
    .btn-ask-ai:hover::before {
        width: 300px;
        height: 300px;
    }
    
    .btn-ask-ai:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    }
    
    .btn-ask-ai:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    }
    
    .btn-ask-ai:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }
    
    .ai-icon {
        font-size: 1.25rem;
        display: inline-flex;
        align-items: center;
        animation: sparkle 2s ease-in-out infinite;
    }
    
    @keyframes sparkle {
        0%,
        100% {
            transform: scale(1) rotate(0deg);
            opacity: 1;
        }
        50% {
            transform: scale(1.2) rotate(180deg);
            opacity: 0.8;
        }
    }
    
    .ai-text {
        position: relative;
        z-index: 1;
        font-size: 0.9375rem;
        letter-spacing: 0.3px;
    }
    /* Alternative: Shimmer effect */
    
    .btn-ask-ai.shimmer::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
        animation: shimmer 3s infinite;
    }
    
    @keyframes shimmer {
        0% {
            transform: translateX(-100%) translateY(-100%) rotate(45deg);
        }
        100% {
            transform: translateX(100%) translateY(100%) rotate(45deg);
        }
    }
    /* Responsive adjustments */
    
    @media (max-width: 768px) {
        .compare-header-content {
            flex-direction: column;
            align-items: flex-start;
        }
        .compare-header-right {
            width: 100%;
        }
        .btn-ask-ai {
            width: 100%;
            justify-content: center;
            padding: 1rem 1.5rem;
        }
    }
    
    @media (max-width: 576px) {
        .btn-ask-ai {
            font-size: 0.875rem;
            padding: 0.875rem 1.25rem;
        }
        .ai-icon {
            font-size: 1.125rem;
        }
    }
    
    .btn-ask-ai {
        display: none !important;
    }
    /* Center products when <= 3 */
    
    .compare-grid--centered {
        justify-content: center;
    }
    /* Prevent cards from stretching */
    
    .compare-grid--centered .compare-product-card {
        width: 100%;
        max-width: 400px;
    }
    /* Center products when <= 3 */
    
    .compare-grid--centered {
        justify-content: center;
        grid-template-columns: repeat(auto-fit, minmax(280px, max-content));
    }
    
    .features-section .features-header .fa,
    .features-section .features-header .collapse-icon {
        color: var(--tvcms-brand-primary);
        margin-right: 10px;
    }