@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ============================================
   ESET WEBSITE - MAIN STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #d9710e;
    --secondary-color: #183884;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #ddd;
    --success-color: #28a745;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Flaticon Base Fix */
.fi {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.top-header {
    background-color: var(--bg-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    margin-top: -1.6rem;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.licensed-badge {
    background-color: #ffcc00;
    /* Gold/Yellow */
    color: #000;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
}

.partner-badge {
    font-weight: bold;
    color: var(--secondary-color);
}

.email-link {
    color: var(--primary-color);
}

.email-link:hover {
    text-decoration: underline;
}

.user-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.user-link {
    color: var(--secondary-color);
    font-size: 0.9em;
}

.user-link:hover {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
    color: var(--secondary-color);
    font-weight: bold;
}

.cart-count {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8em;
    margin-left: 5px;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    gap: 30px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.logo img {
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span {
    color: var(--primary-color);
}

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.search-box {
    position: relative;
    height: 38px;
    display: flex;
    align-items: center;
    background: #f1f3f5;
    border-radius: 20px;
    border: 1px solid #e1e8ed;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(217, 113, 14, 0.1);
}

.search-input {
    width: 200px;
    height: 100%;
    padding: 0 40px 0 15px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9em;
    color: var(--text-dark);
}

.search-btn {
    position: absolute;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--primary-color);
}

/* Responsive Search */
@media (max-width: 768px) {
    .search-container {
        margin-left: 0;
        padding: 10px 20px;
        width: 100%;
        order: -1;
    }

    .search-box {
        width: 100%;
    }

    .search-input {
        width: 100% !important;
        opacity: 1 !important;
        padding: 0 40px 0 15px !important;
        border-color: #ddd !important;
    }
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    padding: 10px 12px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    position: relative;
}

.nav-link:hover::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    right: 12px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--secondary-color);
}

.mobile-nav-header {
    display: none;
}

.mobile-nav-actions {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--secondary-color), #2161f6cc);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 60px 0;
}

/* .section-alt {
    background-color: var(--bg-light);
} */

.section-title {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1em;
}

/* ============================================
   TABLES & RESPONSIVE CONTAINERS
   ============================================ */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.internal-tariffs-container {
    margin-top: 30px;
}

.tariff-year-group {
    margin-bottom: 50px;
    margin-top: -10px;
}

.tariff-year-group h3 {
    background: #f1f8ff;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 5px;
    color: var(--secondary-color);
    border-left: 5px solid #1a73e8;
    font-size: 1.3rem;
    font-weight: 700;
}

.tariff-year-group h4 {
    background: #e1e8ed;
    padding: 10px 20px;
    text-align: center;
    font-weight: 800;
    margin-bottom: 0;
    border: 1px solid #ddd;
    color: #333;
}

.internal-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 800px;
    /* Force scroll on small screens */
}

.internal-table th {
    background: #f8f9fa;
    color: #333;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 12px 8px;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.internal-table td {
    border: 1px solid #ddd;
    padding: 10px 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.internal-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.internal-table td:nth-child(1) {
    background: #f1f8ff;
    font-weight: 700;
    color: var(--secondary-color);
}

/* ============================================
   PRODUCTS
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

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

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}


.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--success-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    z-index: 10;
}

/* Horizontal Product Card Styles */
.product-card.horizontal {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 320px;
    /* Fixed height for all cards - increased */
}

.product-card-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
    padding: 12px;
    /* Better padding for content */
    height: 100%;
    /* Take full height of card */
    overflow: hidden;
    /* Prevent overflow */
}

.product-image-side {
    flex: 0 0 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px;
    border-right: 1px solid #eee;
    position: relative;
}

.product-image-side img {
    max-width: 80px;
    height: auto;
    margin-bottom: 5px;
}

.product-brand-info {
    display: none;
}

.product-compatibility-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.75em;
    width: 100%;
}

.product-compatibility-icons .icons-row {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.product-compatibility-icons span {
    font-weight: 600;
    margin-right: 4px;
}

.product-compatibility-icons i,
.product-compatibility-icons img {
    font-size: 1em;
    height: 16px;
    width: auto;
    transition: var(--transition);
    cursor: help;
    object-fit: contain;
}

.product-compatibility-icons i:hover,
.product-compatibility-icons img:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.brand-name {
    font-weight: 700;
    color: var(--secondary-color);
}

.product-model {
    font-size: 0.9em;
    color: var(--text-light);
}

.product-info-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Reduced gap for better fit */
    overflow: hidden;
    /* Prevent content overflow */
}

.product-badge-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.product-badge.orange {
    background-color: #d9710e;
    color: white;
    padding: 4px 12px 4px 10px;
    /* Enhanced padding, especially right */
    border-radius: 15px 3px 3px 15px;
    /* Round left, squarer right */
    font-size: 0.4em;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    top: 45%;
    right: 27px;
    left: auto;
    transform: translateY(-50%);
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    z-index: 5;
    margin-top: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #d9710e;
    width: max-content;
    max-width: 90%;
}

.compatibility-badge.blue {
    display: inline-block;
    background-color: #179aa5;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65em;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-subtitle {
    color: var(--text-light);
    font-size: 0.8em;
    /* Slightly smaller */
    margin-top: 2px;
    line-height: 1.3;
    max-height: 90px;
    /* Increased max height */
    overflow-y: auto;
    /* Scroll if content is too long */
    overflow-x: hidden;
    padding-right: 5px;
    /* Space for scrollbar */
}

.product-pricing-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: var(--bg-light);
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 5px;
    margin-right: 8px;
    /* Reduced margin */
}

.price-from {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
}

.price-from span:first-child {
    font-size: 0.75em;
    color: var(--text-light);
    white-space: nowrap;
}

.price-value {
    font-size: 1.1em;
    font-weight: 800;
    color: var(--secondary-color);
}

.license-info {
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 0;
    font-size: 0.75em;
    color: var(--text-light);
    font-weight: 500;
}

.product-actions-bar {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

.product-actions-bar .btn {
    padding: 5px 8px;
    font-size: 0.75em;
    /* Slightly smaller to fit better */
    white-space: normal;
    /* Allow text wrapping */
    flex: 1;
    text-align: center;
    line-height: 1.2;
    min-height: 32px;
    /* Ensure buttons have consistent height */
}

.product-footer-details {
    margin-top: 5px;
    border-top: 1px dashed #ddd;
    padding-top: 5px;
}

@media (max-width: 768px) {
    .product-card-body {
        flex-direction: column;
        align-items: center;
    }

    .product-image-side {
        border-right: none;
        border-bottom: 1px solid #eee;
        width: 100%;
        flex: none;
    }

    .product-img-wrapper {
        position: relative;
        display: inline-block;
    }

    .product-badge.orange {
        right: -2px;
        border-radius: 20px 0 0 20px;
        padding: 6px 12px;
        top: 55%;
    }
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3em;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 1.1em;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 20px;
}

.product-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 8px;
}

.compatibility-toggle,
.compatibility-toggle-biz,
.compatibility-toggle-mac {
    background-color: var(--bg-light);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
}

.compatibility-toggle span {
    font-size: 0.75em;
    font-weight: 600;
}

.compatibility-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.compatibility-toggle.active i,
.compatibility-toggle-biz.active i,
.compatibility-toggle-mac.active i {
    transform: rotate(180deg);
}

.compatibility-toggle:hover {
    background-color: #e0e0e0;
}

.compatibility-content {
    display: none;
    padding: 8px;
    background-color: var(--bg-light);
    border-radius: 5px;
    margin-bottom: 5px;
}

.compatibility-content.active {
    display: block;
}

.compatibility-section {
    margin-bottom: 15px;
}

.compatibility-section h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1em;
}

.compatibility-section ul {
    list-style: disc;
    margin-left: 20px;
}

.compatibility-section li {
    color: var(--text-dark);
    font-size: 0.9em;
    line-height: 1.5;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.product-actions .btn {
    display: flex;
    width: 50%;
    justify-content: center;
    font-size: 0.80em;
    padding: 6px 12px;
    margin-right: auto;
    margin-top: 10px;
}

.product-act .btn {
    display: flex;
    width: 50%;
    justify-content: center;
    font-size: 0.80em;
    padding: 6px 12px;
    margin-left: auto;
    margin-top: 10px;

}


/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
    background: linear-gradient(135deg, #183884 0%, #102a63 100%);
    color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 10px 40px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonials-scroller::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.prev {
    left: -25px;
}

.nav-arrow.next {
    right: -25px;
}

/* Hide arrows on very small screens if they overlap too much */
@media (max-width: 768px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .nav-arrow.prev {
        left: -10px;
    }

    .nav-arrow.next {
        right: -10px;
    }
}

.testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.testimonial-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-icon i {
    font-size: 2rem;
    color: white;
}

.testimonial-comment {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.testimonial-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.scroll-indicator .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator .dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.testimonial-link {
    display: table;
    margin: 40px auto 0;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.testimonial-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   NEWS SECTION
   ============================================ */

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.news-title:hover {
    color: var(--primary-color);
}

.news-more {
    text-align: center;
    margin-top: 30px;
}

.news-more a {
    color: var(--secondary-color);
    font-weight: 600;
}

.news-more a:hover {
    color: var(--primary-color);
}

/* ============================================
   FOOTER (AfriPayHub Style)
   ============================================ */

.footer {
    background: linear-gradient(rgba(24, 56, 132, 0.92), rgba(24, 56, 132, 0.92)), url('../images/products/esetimg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 60px 0 20px;
    /* Réduit de 80px/40px à 60px/20px */
    font-size: 0.95em;
    border-radius: 60px 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer h5 {
    color: var(--white);
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 1.1em;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Links Column */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-list li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Contact Info Column */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--white);
    font-size: 1.2em;
    opacity: 0.9;
}

/* Footer Bottom Links Color Fix */
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9em;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    /* Réduit de 30px à 20px */
    margin-top: 30px;
    /* Réduit de 40px/20px à 30px */
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    margin: 0;
}

.copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 10px;
}

.copyright a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand,
    .footer-section {
        text-align: center;
    }

    .social-links,
    .footer-contact li {
        justify-content: center;
    }
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 113, 14, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.hidden {
    display: none;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail-hero {
    padding: 60px 0 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.product-detail-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}

.product-detail-image {
    flex: 0 0 250px;
    /* background: white; */
    padding: 20px;
    border-radius: 12px;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05); */
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

.product-detail-summary {
    flex: 1;
}

.product-detail-summary h1 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.5em;
}

.product-detail-desc {
    font-size: 1.1em;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 25px;
}

.product-detail-compat {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    width: fit-content;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.product-detail-compat img {
    height: 24px;
    opacity: 0.8;
}

.product-detail-pricing {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.from-label {
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.main-price {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin: 5px 0;
}

.product-detail-actions {
    display: flex;
    gap: 20px;
}

.product-detail-table-section {
    padding: 60px 0;
}

.product-detail-table-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.product-detail-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.product-detail-table th,
.product-detail-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.product-detail-table th {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.product-detail-table tr:hover {
    background-color: #f8f9fa;
}

.product-detail-accordion-section {
    padding: 20px 0 80px;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: #f8f9fa;
    border: none;
    text-align: left;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:after {
    content: '▼';
    font-size: 0.7em;
    transition: transform 0.3s;
}

.accordion-header.active {
    background: var(--primary-color);
    color: white;
}

.accordion-header.active:after {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 30px;
    background: white;
}

.accordion-content.active {
    display: block;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    list-style: none;
}

.feature-list li {
    padding: 10px 15px;
    background: #f1f8f9;
    border-radius: 6px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li:before {
    content: '✓';
    color: #17939e;
    font-weight: bold;
}

.product-detail-ref {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    color: var(--text-light);
}

/* Responsive Detail Page */
@media (max-width: 992px) {
    .product-detail-flex {
        flex-direction: column;
        text-align: center;
    }

    .product-detail-image {
        flex: 0 0 auto;
        max-width: 300px;
    }

    .product-detail-summary h1 {
        justify-content: center;
    }

    .product-detail-compat {
        margin-left: auto;
        margin-right: auto;
    }

    .product-detail-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .product-detail-actions {
        flex-direction: column;
    }

    .main-price {
        font-size: 2.2em;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

.products-duo {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.product-column {
    flex: 1;
    min-width: 280px;
}

.product-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.product-inner.reverse {
    flex-direction: row-reverse;
}

.product-image-side {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-right: 1px solid #e5e5e5;
}

.product-info-side {
    flex: 1;
}

.product-actions-bar {
    margin-top: 10px;
}

.btn-left {
    padding: 8px 18px;
}

.btn-right {
    padding: 8px 18px;
}

/* Actions communes */
.products-footer-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-inner.reverse .product-image-side {
    border-right: none;
    border-left: 1px solid #e5e5e5;
}

.btn-info-small {
    font-size: 0.75rem;
    padding: 6px 12px;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

.compatibility-badge.blue {
    font-size: 0.6em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 6px;
    width: 60%;
}



/* --- CARD HORIZONTALE --- */
.products-horizontal-card {
    display: flex;
    overflow: hidden;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e8ed;
    margin: 40px auto;
    max-width: 1100px;
    gap: 40px;
}

/* ============================================
   BUSINESS & CATEGORY CARDS (REUSABLE)
   ============================================ */

.business-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.business-cat-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    height: 100%;
}

.business-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cat-header {
    background: var(--secondary-color);
    color: #fff;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cat-header i {
    font-size: 1.6em;
}

.cat-header h3 {
    margin: 0;
    font-size: 1.15em;
    font-weight: 700;
}

.business-cat-body {
    display: flex;
    flex-grow: 1;
    background: #fff;
}

.cat-image-side {
    flex: 0 0 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background-color: #fafafa;
}

.cat-image-side img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.business-cat-card:hover .cat-image-side img {
    transform: scale(1.08);
}

.cat-info-side {
    flex: 1;
    padding: 25px;
    border-left: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.business-plist {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.business-plist li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dotted #e5e5e5;
    gap: 15px;
}

.business-plist li:last-child {
    border-bottom: none;
}

.p-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
    line-height: 1.4;
}

.p-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.8em;
    white-space: nowrap;
    transition: var(--transition);
}

.p-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.cat-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.f-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85em;
    color: #666;
}

.f-item i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.f-item a {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.f-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .business-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .business-categories-grid {
        grid-template-columns: 1fr;
    }

    .business-cat-body {
        flex-direction: column;
    }

    .cat-image-side {
        flex: none;
        height: 130px;
        border-bottom: 1px solid #f0f0f0;
    }

    .cat-info-side {
        border-left: none;
    }

    .business-plist li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* --- PRODUCT GENERIC --- */
.product-section {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 280px;
    position: relative;
    padding: 20px 30px;
}

/* --- IMAGE --- */
.product-section .product-image {
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.product-section.left-product {
    border-right: none;
}

.product-section.right-product {
    border-left: none;
}

/* --- INFO --- */
.product-section .product-info {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-section.right-product .product-info {
    text-align: left;
}

/* --- CENTER PRODUCT --- */
.center-product {
    position: relative;
}

.center-product img {
    width: 40%;
    display: block;
}

.center-product .overlay-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
}

.center-product .overlay-text h3 {
    margin: 0;
    font-size: 0.9em;
}

.center-product .overlay-text p {
    margin: 3px 0;
    font-size: 0.75em;
}

.center-product .overlay-text .price {
    font-weight: bold;
    font-size: 0.8em;
}

.center-product .overlay-text .btn {
    font-size: 0.75em;
    padding: 4px 10px;
}

/* --- BADGE --- */
.compatibility-badge {
    display: inline-block;
    background-color: #179aa5;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    margin-bottom: 5px;
}

/* --- BOUTONS --- */
.product-actions .btn {
    font-size: 0.80em;
    padding: 6px 12px;
    margin-top: auto;
}

.compatibility-badge.en {
    display: inline-block;
    background-color: #179aa5;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65em;
    font-weight: 600;
    margin-bottom: 5px;
    width: 50%;
    margin-left: auto;
}

.compatibility-badge.tpe {
    display: inline-block;
    background-color: #179aa5;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65em;
    font-weight: 600;
    margin-bottom: 5px;
    width: 50%;
    margin-right: auto;
}