/* Brand Models Stylesheet */

.brand-models-container {
    max-width: 1300px;
    margin: -80px auto;
    padding: 0 20px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.brand-header {
    margin-bottom: 40px;
    text-align: center;
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* ==========================================================================
   CARTES MODÈLE — design identique aux cartes .kcd-card
   (repris depuis filters/assets/style.css + cars-list.css)
   ========================================================================== */

/* Grid */
.models-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .models-grid .model-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .models-grid .model-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 639px) {
    .models-grid {
        gap: 16px;
    }

    .models-grid .model-card {
        flex: 0 0 100%;
    }
}

/* Card */
.model-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    width: 423px;
    max-width: 100%;
    height: 424px;
    position: relative;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #16a34a;
}

/* Media — box image 423x219 */
.card-image-wrapper {
    position: relative;
    background: #f3f4f6;
    overflow: hidden;
    width: 100%;
    height: 219px;
    padding-top: 0;
}

.model-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card:hover .model-image {
    transform: scale(1.05);
}

/* Photo counter badge */
.image-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 6;
}

.image-count {
    min-width: 52px;
    height: 34px;
    background: rgba(53, 56, 62, 0.94);
    color: #fff;
    padding: 7px 11px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.image-count svg {
    width: 15px;
    height: 15px;
    stroke-width: 3;
}

@media (max-width: 768px) {
    .image-count {
        min-width: 48px;
        height: 32px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Body */
.card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    width: 100%;
}

.card-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

/* Nom du modèle — Outfit 600 16px */
.model-name {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #24272C;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
}

/* Badge promo — 53x23, rouge */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 52px;
    height: 23px;
    padding: 4px 8px;
    border-radius: 4px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.badge.promo {
    background: #FFEBEB;
    color: #FF0000;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: none;
}

/* ==========================================================================
   DYNAMIC BADGES
   ========================================================================== */

/* TOP-RIGHT IMAGE BADGES (RECOMMANDE / SPONSORISE) */
.image-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: #E6F7E9;
    color: #247A34;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* RECOMMANDÉ CARD */
.model-card.is-recommended {
    background: #E1F5E5;
}

.image-badge.recommended,
.image-badge.sponsored {
    background: rgba(255, 255, 255, 0.84);
    color: #24272C;
}

.image-badge.recommended {
    background: #E6F7E9;
    color: #247A34;
}

/* Prix — Outfit 600 16px, vert primaire */
.price-section {
    margin: 0;
}

.price-range {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: rgba(36, 122, 52, 1);
    height: 20px;
    display: block;
}

/* Catégorie / body type — Outfit 500 13px, gris */
.details-section {
    color: #555555;
}

.body-type {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0;
    color: #555555;
    height: 16px;
}

.body-type strong {
    font-weight: 500;
    color: #555555;
}

/* Description — Outfit 400 14px, line-height 166%, letter-spacing 0.5px */
.model-description {
    margin: 8px 0 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 166%;
    letter-spacing: 0.5px;
    color: #555555;
    height: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer / button container — bandeau vert clair */
.card-footer {
    background: #EFFAF1;
    padding: 10px;
    border: none !important;
    margin-top: auto;
}

.voir-plus-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: #247A34;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    height: 40px;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.3s ease;
}

.voir-plus-btn:hover {
    background: #1e632b;
    color: #fff;
    transform: translateY(-1px);
}

.voir-plus-btn:active,
.voir-plus-btn:focus {
    background: #1a5a24;
    transform: translateY(0);
    outline: none;
}

/* Empty state */
.no-models {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
    border-radius: 20px;
    color: #666;
}

/* Responsive — same breakpoints as .kcd-card */
@media (max-width: 639px) {
    .model-card {
        height: 460px;
    }

    .card-image-wrapper {
        height: 160px;
    }

    .card-content {
        padding: 16px 20px;
        height: 300px;
    }

    .model-name {
        font-size: 14px;
        line-height: 1.3;
        min-height: 36px;
    }

    .price-range {
        font-size: 16px;
    }

    .body-type {
        font-size: 12px;
    }

    .model-description {
        font-size: 12px;
        line-height: 1.4;
        height: 48px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .card-footer {
        padding: 12px 20px;
    }

    .voir-plus-btn {
        font-size: 13px;
        padding: 10px 16px;
        height: 36px;
        border-radius: 4px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .model-card {
        height: 490px;
    }

    .card-image-wrapper {
        height: 180px;
    }

    .card-content {
        padding: 18px 22px;
        height: 310px;
    }

    .model-name {
        font-size: 15px;
        min-height: 40px;
    }

    .price-range {
        font-size: 17px;
    }

    .model-description {
        font-size: 12px;
        height: 54px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .card-footer {
        padding: 14px 22px;
    }

    .voir-plus-btn {
        font-size: 14px;
        padding: 11px 18px;
        height: 38px;
        border-radius: 5px;
    }
}

/* Variants Modal Styles */
.variants-modal-overlay {
    --modal-surface: #fff;
    --modal-surface-alt: #fbfbfc;
    --modal-surface-muted: #f3f4f6;
    --modal-border: #eef0f3;
    --modal-border-strong: #edf0f2;
    --modal-text: #20242a;
    --modal-text-soft: #3f454d;
    --modal-text-muted: #6b7280;
    --modal-primary: #247A34;
    --modal-primary-hover: #1d632a;
    --modal-shadow: rgba(15, 23, 42, 0.22);
    --modal-shadow-soft: rgba(15, 23, 42, 0.05);

    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.variants-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.variants-modal-box {
    width: min(920px, 100%);
    max-height: min(88vh, 780px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--modal-surface);
    border: 1px solid var(--modal-border);
    border-radius: 18px;
    box-shadow: 0 24px 70px var(--modal-shadow);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.24s ease;
    font-family: 'Outfit', sans-serif;
}

.variants-modal-overlay.active .variants-modal-box {
    transform: translateY(0) scale(1);
}

.variants-modal-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 22px 30px;
    border-bottom: 1px solid var(--modal-border);
    background: var(--modal-surface);
}

.variants-modal-header h2 {
    max-width: 100%;
    margin: 0;
    color: var(--modal-text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.variants-modal-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7a7f87;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.variants-modal-close:hover {
    background: var(--modal-surface-muted);
    color: var(--modal-text);
    transform: rotate(90deg);
}

.variants-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 22px;
    background: var(--modal-surface-alt);
}

.variants-table-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
    padding: 16px 2px 12px;
    background: var(--modal-surface-alt);
    border-bottom: 1px solid var(--modal-border-strong);
    color: #3d4249;
    font-size: 13px;
    font-weight: 800;
}

.variants-table-head span:last-child {
    text-align: right;
}

.variants-list {
    display: grid;
    gap: 12px;
    padding-top: 14px;
}

.variants-empty {
    margin: 0;
    padding: 28px 10px;
    color: var(--modal-text-muted);
    text-align: center;
}

.variant-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    background: var(--modal-surface);
    border: 1px solid var(--modal-border-strong);
    border-radius: 12px;
    box-shadow: 0 8px 22px var(--modal-shadow-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.variant-row:hover {
    border-color: rgba(36, 122, 52, 0.24);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
    transform: translateY(-2px);
}

.v-info-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.v-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.v-name {
    margin: 0;
    color: #24272C;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.v-badge {
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0;
    white-space: nowrap;
}

.v-badge.promo,
.v-badge.promo-discount {
    background: #FFEBEB;
    color: #FF0000;
}

.v-badge.nouveau {
    width: 64px;
    padding: 4px 8px;
    background: #FFF8EB;
    color: #FEA401;
}

.v-badge.best_seller {
    width: auto;
    padding: 4px 8px;
    background: #E6F7E9;
    color: var(--modal-primary);
}

.v-badge.limited {
    background: #F3E8FF;
    color: #7E22CE;
}

.v-badge:not(.promo):not(.promo-discount):not(.nouveau):not(.best_seller):not(.limited) {
    background: #eef2f4;
    color: #4b5563;
}

.v-specs {
    margin: 0 0 11px;
    color: #777d86;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.v-promo-text {
    display: inline-flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #E1F5E5;
    color: var(--modal-primary);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.v-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: auto;
    padding: 9px 18px;
    border-radius: 7px;
    background: var(--modal-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.v-detail-btn:hover,
.v-detail-btn:focus {
    background: var(--modal-primary-hover);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(36, 122, 52, 0.22);
    transform: translateY(-1px);
}

.v-price-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    padding-left: 18px;
    text-align: right;
}

.v-price-block {
    display: grid;
    gap: 3px;
}

.v-price-main-row,
.v-price-secondary-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.v-price-current {
    color: #24272C;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
}

.v-price-old {
    color: #a1a6ad;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: line-through;
}

.v-price-dollar {
    color: #24272C;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
}

.v-price-dollar-old {
    color: #a1a6ad;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: line-through;
}

.v-price-discount-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.v-price-discount-amount {
    color: #FF0000;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.v-price-discount-amount-sec {
    color: #FF0000;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.v-compare-row-new {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
}

.v-compare-label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--modal-text-soft);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.v-compare-checkbox {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--modal-primary);
    cursor: pointer;
}

.variants-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--modal-border);
    background: var(--modal-surface);
    text-align: center;
}

.compare-btn {
    min-height: 42px;
    padding: 11px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--modal-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.compare-btn:hover:not(:disabled) {
    background: var(--modal-primary-hover);
    transform: translateY(-1px);
}

.compare-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .variants-modal-overlay {
        align-items: flex-start;
        padding: 88px 4px 0;
        background: rgba(17, 24, 39, 0.56);
    }

    .variants-modal-box {
        width: 100%;
        max-height: calc(100vh - 88px);
        border-radius: 14px 14px 0 0;
        box-shadow: 0 -8px 34px rgba(15, 23, 42, 0.18);
    }

    .variants-modal-header {
        justify-content: flex-start;
        min-height: 58px;
        padding: 14px 48px 13px 16px;
    }

    .variants-modal-header h2 {
        font-size: 17px;
        font-weight: 800;
        line-height: 1.25;
    }

    .variants-modal-close {
        top: 11px;
        right: 11px;
        width: 34px;
        height: 34px;
        font-size: 28px;
    }

    .variants-modal-body {
        padding: 0 14px 16px;
        background: #fff;
    }

    .variants-table-head {
        grid-template-columns: minmax(0, 1fr) 108px;
        gap: 10px;
        padding: 13px 0 12px;
        background: #fff;
        font-size: 12px;
    }

    .variants-list {
        gap: 0;
        padding-top: 0;
    }

    .variant-row {
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 10px;
        padding: 14px 0 16px;
        border: 0;
        border-bottom: 1px solid #eef0f3;
        border-radius: 0;
        box-shadow: none;
    }

    .variant-row:hover {
        border-color: #eef0f3;
        box-shadow: none;
        transform: none;
    }

    .v-title-row {
        gap: 6px;
        margin-bottom: 7px;
    }

    .v-name {
        width: 100%;
        font-size: 14px;
        line-height: 1.25;
    }

    .v-badge {
        height: 23px;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
    }

    .v-specs {
        margin-bottom: 9px;
        font-size: 11px;
        line-height: 1.35;
    }

    .v-promo-text {
        margin-bottom: 10px;
        padding: 5px 9px;
        font-size: 10px;
    }

    .v-detail-btn {
        min-height: 32px;
        padding: 8px 14px;
        border-radius: 5px;
        font-size: 11px;
    }

    .v-price-col {
        padding-left: 0;
        border-left: 0;
        align-items: flex-end;
        justify-content: flex-start;
    }

    .v-price-current {
        font-size: 13px;
    }

    .v-price-old {
        font-size: 11px;
    }

    .v-price-dollar {
        font-size: 12px;
    }

    .v-price-dollar-old {
        font-size: 10px;
    }

    .v-price-discount-amount {
        font-size: 11px;
    }

    .v-price-discount-amount-sec {
        font-size: 10px;
    }

    .v-compare-row-new {
        margin-top: auto;
        padding-top: 18px;
    }

    .v-compare-label {
        gap: 7px;
        font-size: 11px;
    }

    .v-compare-checkbox {
        width: 15px;
        height: 15px;
    }

    .variants-modal-footer {
        padding: 12px 14px 14px;
    }

    .compare-btn {
        width: 100%;
        min-height: 38px;
        padding: 10px 16px;
        border-radius: 7px;
        font-size: 13px;
    }
}


/* --- Hero Brand Header --- */
.brand-hero-header {
    background: repeating-linear-gradient(-45deg,
            #e8f5e9,
            #e8f5e9 80px,
            #f1f8e9 80px,
            #f1f8e9 160px);
    border-radius: 12px;
    padding: 80px 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.brand-hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 80%);
}

.brand-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-hero-logo {
    max-width: 220px;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 12px;
}

.brand-hero-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    text-transform: capitalize;
}

/* --- Premium Hero Brand Header (Override) --- */
.brand-hero-header {
    background: url('https://karhabty.com/wp-content/uploads/2024/10/Frame-2121454125-1.png') center/cover no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    border-radius: 16px;
    padding: 100px 20px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    color: #fff;
}

.brand-hero-header::before {
    display: none !important;
}

.brand-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent !important;
    z-index: 1;
}

.brand-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-hero-logo-box {
    width: 220px;
    min-height: 100px;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-hero-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    display: block;
    margin-bottom: 0 !important;
}

.brand-hero-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    margin: 0;

    letter-spacing: 2px;

}

@media (max-width: 768px) {
    .brand-hero-header {
        padding: 60px 20px !important;
    }

    .brand-hero-title {
        font-size: 2rem !important;
    }

    .brand-hero-logo-box {
        padding: 15px 20px !important;
    }

    .brand-hero-logo {
        max-width: 140px !important;
        max-height: 60px !important;
    }
}
/* ============================================================
   Brand banner slider (placed between hero and models grid)
   ============================================================ */
.brand-banner-slider-section {
    width: 100%;
    max-width: 1280px;
    margin: 24px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.brand-banner-slider {
    width: 100%;
    padding-bottom: 32px !important;
}

.brand-banner-card {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
    transition: transform 0.3s ease;
}

.brand-banner-card:hover {
    transform: scale(1.01);
}

.brand-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pagination dots: inactive 12x12 #DEDEDE, active 12x12 #247A34 */
.brand-banner-slider .swiper-pagination {
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.brand-banner-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #DEDEDE;
    opacity: 1;
    border-radius: 9999px;
    margin: 0 !important;
    transition: background-color 0.3s ease;
}

.brand-banner-slider .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background: #247A34;
}
