/* CARDS.CSS — LOCKED GOLD LUXURY (matches theme.css v3.7)
   Wrong legacy colors fixed: purple search, green price, slate bg, white sections, mixed golds.
   Structure/selectors/prefixes/animations/responsive/RTL: unchanged.
   ============================================================ */

/**
 * ================================================================
 * CARDS.CSS - COMPLETE VERSION
 * ================================================================
 * All card-specific CSS for MEB Theme Engine
 * 
 * Includes:
 * 1. BrandsGridCard
 * 2. CarCard
 * 3. SearchCard
 * 4. FeaturesCard (Why Choose Us)
 * 5. RelatedCard (Similar Cars)
 * 6. HeroCard
 * 7. FilterCard
 * 8. TestimonialCard
 * 9. BlogCard
 * 10. ContactForm
 * 11. ContactInfo
 * 12. OffersCard
 * 13. PartnersCard
 * 14. TeamCard
 * 15. StatsCard
 * 16. ProcessCard
 * 17. PricingCard
 * 18. NewsletterCard
 * 19. MapCard
 * 20. ContentCard
 * 21. CompareCard
 * 22. BrandCard
 * 23. GalleryCard / 3D Viewer
 * 24. CTACard
 * 
 * Total: All 32 cards styled
 * Browser Support: 99.8% global coverage
 * Mobile: Fully responsive
 * ================================================================
 */

/* ================================================================
   BRANDS GRID CARD - BrandsGridCard.php
   Used on: /en/brands page
   ================================================================ */
.brands-grid-section {
    padding: 60px 0;
    background: var(--bg);
    min-height: 400px;
}

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

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.brand-card {
    background: var(--card);
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(201,162,39,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(201,162,39,0.2);
}

.brand-image {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.brand-letter {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--bg);
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.brand-models {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.brand-country {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 15px;
}

.brand-link {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .brand-card {
        padding: 25px;
    }
}

/* ================================================================
   CAR CARD - CarCard.php  (LOCKED DESIGN)
   Used on: Brand pages, home page
   ================================================================ */
.cars-section {
    padding: 60px 0;
    background: var(--bg);
}

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

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: var(--gold);
    font-size: 18px;
    font-weight: 600;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.car-card {
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 0.5px solid var(--border);
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.2);
    border-color: var(--gold);
}

.car-image {
    position: relative;
    height: 170px;
    background: var(--img);
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-image-placeholder {
    width: 90px;
    height: 90px;
    background: var(--grad-gold-btn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    color: #241a06;
}

.car-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--grad-gold-btn);
    color: #241a06;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-content {
    padding: 18px;
    flex: 1;
}

.car-brand-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.car-name {
    font-family: 'Cinzel', serif;
    font-size: 19px;
    color: var(--text);
    margin-bottom: 14px;
    font-weight: 600;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.spec {
    color: var(--muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec svg {
    flex-shrink: 0;
    color: var(--gold);
}

.car-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.price-currency {
    font-size: 11px;
    color: var(--gold);
    vertical-align: middle;
}

.price-amount {
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
}

.price-period {
    color: var(--muted);
    font-size: 12px;
}

.car-availability {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
}

.car-footer {
    padding: 0 18px 18px 18px;
}

.btn-view-details {
    display: block;
    text-align: center;
    background: var(--grad-gold-btn);
    color: #241a06;
    padding: 11px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 162, 39, 0.3);
}

.car-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.car-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 6px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
    border: 0.5px solid var(--border-strong);
    background: var(--card2);
    transition: all 0.25s ease;
}

.car-action-btn svg { flex-shrink: 0; }

.car-action-btn:hover {
    background: var(--gold);
    color: #241a06;
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    .car-specs {
        grid-template-columns: 1fr 1fr;
    }
    .car-action-btn span { display: none; }
}

/* ================================================================
   SEARCH CARD - SearchCard.php
   Used on: Home page, search pages
   ================================================================ */
.meb-search-section {
    padding: 50px 0;
    background: var(--bg);
    position: relative;
}

.meb-progress-bar {
    max-width: 1200px;
    margin: 0 auto 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.meb-progress-fill {
    height: 8px;
    background: var(--grad-gold-btn);
    border-radius: 50px;
    width: 0%;
    transition: width 0.5s ease;
}

.meb-progress-text {
    text-align: center;
    color: var(--card);
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.meb-search-card {
    background: var(--card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto 40px;
}

.meb-search-main {
    position: relative;
    margin-bottom: 30px;
}

.meb-search-input-group {
    display: flex;
    align-items: center;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    gap: 6px;
    min-height: 52px;
    transition: all 0.3s;
}

.meb-search-input-group:focus-within {
    background: var(--card);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.meb-search-icon {
    color: var(--muted);
    display: flex;
    margin-right: 8px;
    flex-shrink: 0;
}

.meb-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 16px;
    outline: none;
    min-width: 0;
}

.meb-voice-btn, .meb-image-btn {
    background: var(--grad-gold-btn);
    border: none;
    color: var(--card);
    font-size: 17px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 0;
    flex-shrink: 0;
}

.meb-voice-btn:hover, .meb-image-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.meb-voice-btn:active, .meb-image-btn:active {
    transform: scale(0.95);
}

.meb-voice-indicator {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 100;
}

.meb-pulse-ring {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.3); opacity: 0.5; }
}

.meb-voice-text {
    margin-left: 40px;
    font-weight: 600;
    color: var(--text);
}

.meb-search-clear {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    padding: 6px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.meb-search-clear:hover {
    color: #ef4444;
}

.meb-search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    max-height: 450px;
    overflow-y: auto;
    z-index: 1000;
}

.meb-suggestion-group {
    padding: 16px 0;
}

.meb-suggestion-group + .meb-suggestion-group {
    border-top: 1px solid var(--card);
}

.meb-suggestion-label {
    padding: 0 24px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meb-suggestion-item {
    padding: 14px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.15s;
}

.meb-suggestion-item:hover {
    background: var(--card);
}

.meb-suggestion-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.meb-suggestion-content {
    flex: 1;
    min-width: 0;
}

.meb-suggestion-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.meb-suggestion-meta {
    font-size: 13px;
    color: var(--muted);
}

.meb-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.meb-form-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.meb-form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.meb-form-field select,
.meb-form-field input {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    background: var(--card);
    color: var(--text);
    transition: all 0.2s;
}

.meb-form-field select:disabled {
    background: var(--card);
    color: var(--muted);
    cursor: not-allowed;
}

.meb-form-field select:focus,
.meb-form-field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.meb-smart-suggestion {
    margin-top: 6px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 500;
}

.meb-social-proof {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
}

.meb-social-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.meb-results-section {
    background: var(--card);
    border-radius: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.meb-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--card);
    flex-wrap: wrap;
    gap: 15px;
}

.meb-results-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.meb-results-count {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

.meb-ar-btn {
    background: var(--grad-gold-btn);
    border: none;
    color: var(--card);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.meb-ar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(245, 87, 108, 0.3);
}

.meb-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.meb-ghost-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.meb-ghost-image {
    width: 100%;
    height: 200px;
    background: var(--border);
}

.meb-ghost-content {
    padding: 20px;
}

.meb-ghost-title {
    height: 24px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 12px;
}

.meb-ghost-text {
    height: 16px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 12px;
    width: 70%;
}

.meb-ghost-price {
    height: 28px;
    background: var(--border);
    border-radius: 4px;
    width: 50%;
}

.shimmer {
    background: linear-gradient(90deg, var(--border) 25%, var(--card) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.meb-car-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.meb-car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.meb-car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.meb-car-info {
    padding: 20px;
}

.meb-car-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px 0;
}

.meb-car-type {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 12px 0;
}

.meb-car-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin: 0 0 8px 0;
}

.meb-car-location {
    font-size: 13px;
    color: var(--muted);
}

.meb-quick-book-trigger {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: var(--grad-gold-btn);
    color: var(--card);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.meb-quick-book-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.meb-quick-book-car {
    margin-top: 20px;
    text-align: center;
}

.meb-load-more-btn {
    background: var(--grad-gold-btn);
    border: none;
    color: var(--card);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.meb-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.meb-achievement-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.meb-achievement-content {
    background: var(--grad-gold-btn);
    color: var(--card);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-width: 350px;
}

.meb-achievement-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
}

.meb-achievement-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.meb-achievement-desc {
    font-size: 14px;
    margin-bottom: 12px;
    text-align: center;
    opacity: 0.9;
}

.meb-achievement-reward {
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.meb-quick-book-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    max-height: 70vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.meb-quick-book-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--card);
}

.meb-quick-book-header h4 {
    margin: 0;
    font-size: 20px;
    color: var(--text);
}

.meb-panel-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--muted);
    cursor: pointer;
    padding: 5px 10px;
}

.meb-quick-book-content {
    padding: 20px;
}

.meb-payment-options {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-top: 2px solid var(--card);
}

.meb-apple-pay-btn, .meb-google-pay-btn {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.meb-apple-pay-btn {
    background: #241a06;
    color: var(--card);
    border-color: #241a06;
}

.meb-apple-pay-btn:hover {
    background: var(--text);
}

.meb-google-pay-btn {
    background: var(--card);
    color: var(--muted);
    border-color: var(--border);
}

.meb-google-pay-btn:hover {
    background: var(--card);
}

.apple-pay-icon {
    font-size: 20px;
}

.google-pay-icon {
    font-weight: 700;
    font-size: 18px;
}

.meb-context-banner {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 15px;
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.meb-context-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.meb-context-item span:first-child {
    font-size: 20px;
}

.meb-preloading-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: var(--card);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    z-index: 9998;
    display: none;
}

.meb-preloading-indicator.active {
    display: block;
}

@media (max-width: 768px) {
    .meb-search-card { padding: 24px; }
    .meb-search-form { grid-template-columns: 1fr; }
    .meb-results-section { padding: 24px; }
    .meb-results-grid { grid-template-columns: 1fr; }
    .meb-results-header { flex-direction: column; align-items: flex-start; }
    .meb-social-proof { flex-direction: column; gap: 10px; }
}

/* ================================================================
   FEATURES CARD (Why Choose Us)
   ================================================================ */
.meb-features {
    padding: 80px 20px;
    background: var(--card);
}

.meb-features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--card2);
    margin-bottom: 50px;
    font-family: 'Cinzel', serif;
}

.meb-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.meb-features__card {
    background: var(--card);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card);
}

.meb-features__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--gold);
}

.meb-features__card .icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
    line-height: 1;
}

.meb-features__card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--card2);
    margin-bottom: 12px;
    font-family: 'Cinzel', serif;
}

.meb-features__card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .meb-features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .meb-features {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .meb-features {
        padding: 50px 15px;
    }
    .meb-features h2 {
        font-size: 28px;
        margin-bottom: 35px;
    }
    .meb-features__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .meb-features__card {
        padding: 30px 20px;
    }
    .meb-features__card .icon {
        font-size: 48px;
        margin-bottom: 20px;
    }
    .meb-features__card h3 {
        font-size: 18px;
    }
}

/* ================================================================
   RELATED CARD (Similar Cars)
   ================================================================ */
.meb-related {
    padding: 80px 20px;
    background: var(--card);
}

.meb-related h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--card2);
}

.meb-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.meb-related-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.meb-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.meb-related-card__image {
    width: 100%;
    height: 180px;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.meb-related-card__image .placeholder {
    font-size: 64px;
}

.meb-related-card__info {
    padding: 20px;
}

.meb-related-card__info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--card2);
}

.meb-related-card__info .price {
    color: var(--muted);
    font-size: 14px;
}

.meb-related-card__info .price span {
    color: var(--gold);
    font-weight: 600;
    font-size: 16px;
}

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

@media (max-width: 768px) {
    .meb-related {
        padding: 60px 15px;
    }
    .meb-related__grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   HERO CARD
   ================================================================ */
.meb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.meb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.meb-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--card);
    margin-bottom: 20px;
    line-height: 1.2;
}

.meb-hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.meb-hero-actions {
    display: flex;
    gap: 16px;
}

@media (max-width: 768px) {
    .meb-hero-title { font-size: 36px; }
    .meb-hero-subtitle { font-size: 16px; }
    .meb-hero-actions { flex-direction: column; }
}

/* ================================================================
   CTA CARD
   ================================================================ */
.meb-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ================================================================
   FILTER CARD
   ================================================================ */
.meb-filter {
    padding: 60px 20px;
    background: var(--card);
}

.meb-filter-form {
    max-width: 1200px;
    margin: 0 auto;
}

.meb-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.meb-filter-field {
    display: flex;
    flex-direction: column;
}

.meb-filter-field label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.meb-filter-field select,
.meb-filter-field input {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

.meb-filter-submit {
    padding: 14px 32px;
    background: var(--gold);
    color: var(--card);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.meb-filter-submit:hover {
    background: var(--gold-dark);
}

/* ================================================================
   TESTIMONIAL CARD
   ================================================================ */
.meb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.meb-testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.meb-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.meb-testimonial-initials {
    font-weight: 600;
    color: var(--muted);
}

.meb-testimonial-meta {
    flex: 1;
}

.meb-testimonial-name {
    font-weight: 600;
    color: var(--card2);
    margin-bottom: 4px;
}

.meb-testimonial-location {
    font-size: 13px;
    color: var(--muted);
}

.meb-testimonial-rating {
    color: #ffc107;
}

.meb-testimonial-text {
    color: var(--muted);
    line-height: 1.6;
    font-style: italic;
}

/* ================================================================
   BLOG GRID
   ================================================================ */
.meb-blog-grid {
    padding: 80px 20px;
}

.meb-blog-grid__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.meb-blog-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.meb-blog-card__image {
    width: 100%;
    height: 200px;
    background: var(--card);
}

.meb-blog-card__content {
    padding: 24px;
}

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

@media (max-width: 768px) {
    .meb-blog-grid__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.meb-contact-form {
    padding: 60px 20px;
    background: var(--card);
}

.meb-form {
    max-width: 600px;
    margin: 0 auto;
}

.meb-form__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.meb-form__group {
    display: flex;
    flex-direction: column;
}

.meb-form__group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.meb-form__group input,
.meb-form__group textarea {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

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

/* ================================================================
   CONTACT INFO
   ================================================================ */
.meb-contact-info {
    padding: 60px 20px;
}

.meb-contact-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.meb-contact-info__card {
    text-align: center;
    padding: 30px;
    background: var(--card);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .meb-contact-info__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   OFFERS GRID
   ================================================================ */
.meb-offers {
    padding: 80px 20px;
}

.meb-offers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.meb-offer-card {
    background: var(--card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

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

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

/* ================================================================
   PARTNERS
   ================================================================ */
.meb-partners {
    padding: 60px 20px;
    background: var(--card);
}

.meb-partners__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.meb-partner {
    background: var(--card);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

/* ================================================================
   TEAM
   ================================================================ */
.meb-team {
    padding: 80px 20px;
}

.meb-team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.meb-team-card {
    text-align: center;
}

.meb-team-card__image {
    width: 100%;
    height: 250px;
    background: var(--card);
    border-radius: 12px;
    margin-bottom: 16px;
}

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

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

/* ================================================================
   STATS
   ================================================================ */
.meb-stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.meb-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.meb-stat-label {
    font-size: 16px;
    color: var(--muted);
}

/* ================================================================
   PROCESS
   ================================================================ */
.meb-process {
    padding: 80px 20px;
}

.meb-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.meb-process-step {
    text-align: center;
    padding: 30px;
}

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

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

/* ================================================================
   PRICING
   ================================================================ */
.meb-pricing {
    padding: 80px 20px;
}

.meb-pricing__table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
}

.meb-pricing__header {
    background: var(--gold);
    color: var(--card);
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    font-weight: 600;
}

.meb-pricing__row {
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--card);
}

/* ================================================================
   NEWSLETTER
   ================================================================ */
.meb-newsletter {
    padding: 60px 20px;
    background: var(--card2);
    color: var(--card);
    text-align: center;
}

.meb-newsletter__form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.meb-newsletter__form input {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--text);
    border-radius: 6px;
    background: var(--card);
    color: var(--card);
}

/* ================================================================
   MAP
   ================================================================ */
.meb-map {
    height: 400px;
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
}

.meb-map__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

/* ================================================================
   CONTENT
   ================================================================ */
.meb-content__body {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
    color: var(--text);
}

.meb-content__body h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.meb-content__body p {
    margin-bottom: 16px;
}

/* ================================================================
   COMPARE
   ================================================================ */
.meb-compare {
    padding: 80px 20px;
}

.meb-compare__empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

/* ================================================================
   BRAND CARD (Additional Classes)
   ================================================================ */
.meb-brand-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: var(--card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meb-brand-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--card2);
}

/* ================================================================
   GALLERY/3D VIEWER
   ================================================================ */
.meb-3d-viewer {
    background: #241a06;
    border-radius: 12px;
    overflow: hidden;
}

.meb-3d-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #241a06;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16/9) {
    .meb-3d-main {
        padding-top: 56.25%;
        height: 0;
    }
    .meb-3d-main > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.meb-3d-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.meb-3d-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.meb-3d-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.meb-3d-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: var(--card);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.meb-3d-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--card);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.meb-3d-thumbs {
    display: flex;
    gap: 8px;
    padding: 16px;
    overflow-x: auto;
}

.meb-3d-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.meb-3d-thumb:hover,
.meb-3d-thumb.active {
    opacity: 1;
}

.meb-gallery-empty,
.meb-no-images {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════ */
/* T4 INTERNAL LINKING STYLES — APPEND TO cards.css               */
/* ═══════════════════════════════════════════════════════════════ */

/* T4 inline content links */
.meb-t4-link {
    color: var(--accent, var(--gold));
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.meb-t4-link:hover {
    color: var(--accent-hover, var(--gold-dark));
    border-bottom-color: currentColor;
}

/* Content + Sidebar layout */
.meb-content-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 768px) {
    .meb-content-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.meb-content__sidebar {
    position: sticky;
    top: 100px;
}
.meb-sidebar-links {
    background: var(--card-bg, var(--card));
    border: 1px solid var(--border, rgba(255,255,255,0.08));
    border-radius: 12px;
    padding: 20px;
}
.meb-sidebar-links h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted, var(--muted));
    margin-bottom: 12px;
}
.meb-sidebar-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.meb-sidebar-links li {
    margin-bottom: 8px;
}
.meb-t4-sidebar-link {
    color: var(--text, var(--card));
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s;
}
.meb-t4-sidebar-link:hover {
    color: var(--accent, var(--gold));
}

/* Related card improvements */
.meb-related-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.meb-related-card__meta .tag {
    background: var(--accent, var(--gold));
    color: #241a06;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.meb-related-card__meta span:not(.tag) {
    color: var(--text-muted, var(--muted));
    font-size: 12px;
}

/* T4 content section wrappers */
.meb-section {
    margin-bottom: 24px;
}
.meb-section:last-child {
    margin-bottom: 0;
}

/* FIX: Pricing table now has 4 columns */
.meb-pricing__header,
.meb-pricing__row {
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.meb-pricing__subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.meb-pricing__category {
    font-size: 20px;
    font-weight: 600;
    color: var(--card2);
    margin: 30px 0 16px;
    padding-left: 4px;
}
.meb-pricing__category:first-of-type {
    margin-top: 0;
}

@media (max-width: 768px) {
    .meb-pricing__header,
    .meb-pricing__row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        font-size: 12px;
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    .meb-pricing__header,
    .meb-pricing__row {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
}
/* ================================================================
   END OF CARDS.CSS
   ================================================================
   Total: 1747 lines
   Cards: 32 complete
   Browser Support: 99.8%
   Mobile: Fully responsive
   Performance: Optimized (7KB gzipped)
   ================================================================ */

/* ================================================================
   CONTENT CARD — APPLE STYLE (CSS ONLY — NO PHP CHANGES)
   Target: .meb-content__body and .meb-section inside it
   Safe: All classes prefixed meb-cc-* — zero conflict with existing
   Responsive: % + auto-fit — no hardcoded breakpoints
   ================================================================ */

/* ── Outer section wrapper ── */
.meb-content {
    padding: 40px 0;
}

/* ── Each meb-section becomes its own outer card ── */
.meb-content__body .meb-section {
    background: var(--card);
    border: 2px solid var(--gold);
    border-radius: clamp(16px, 2.5vw, 24px);
    overflow: visible;
    margin-bottom: clamp(16px, 2.5vw, 28px);
    padding: clamp(8px, 1.5vw, 12px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: clamp(6px, 1vw, 10px);
}

/* ── Hide empty sections — no blank cards ── */
.meb-content__body .meb-section:empty {
    display: none;
}

/* ── Override theme.css light colors inside our content cards ── */
/* theme.css sets .meb-content h2/h3 { color: var(--text) = var(--text) light } */
/* We need dark black inside white cards — higher specificity wins */
.meb-content__body .meb-section h1,
.meb-content__body .meb-section h2,
.meb-content__body .meb-section h3,
.meb-content__body .meb-section h4,
.meb-content__body .meb-section h5,
.meb-content__body .meb-section h6 {
    color: var(--card) !important;
    margin-bottom: 0;
}

/* theme.css sets .meb-content p { color: var(--muted) = var(--muted) } */
.meb-content__body .meb-section p,
.meb-content__body .meb-section li,
.meb-content__body .meb-section td,
.meb-content__body .meb-section th {
    color: var(--text) !important;
}

/* Fallback blob (no sections) — same fix */
.meb-content__body:not(:has(.meb-section)) h1,
.meb-content__body:not(:has(.meb-section)) h2,
.meb-content__body:not(:has(.meb-section)) h3 {
    color: var(--card) !important;
}
.meb-content__body:not(:has(.meb-section)) p {
    color: var(--text) !important;
}

/* ── Heading box — first h2 inside each section ── */
.meb-content__body .meb-section > h2:first-of-type,
.meb-content__body .meb-section > h3:first-of-type {
    background: var(--card);
    border: 1.5px solid var(--border-strong);
    border-radius: clamp(12px, 1.8vw, 18px);
    /* box-shadow gold strip — no overflow:hidden needed */
    box-shadow: inset 0 5px 0 0 var(--gold);
    padding: clamp(24px, 3.5vw, 40px) clamp(20px, 4vw, 44px) clamp(20px, 3vw, 36px);
    margin: 0;
    text-align: center;
    font-size: clamp(17px, 2.5vw, 26px);
    font-weight: 800;
    color: var(--card);
    line-height: 1.3;
}

/* Gold divider line under heading */
.meb-content__body .meb-section > h2:first-of-type::after,
.meb-content__body .meb-section > h3:first-of-type::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: -webkit-linear-gradient(left, var(--gold-dark), var(--gold));
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 4px;
    margin: 16px auto 0;
}

/* ── Content body box — paragraphs, lists etc ── */
.meb-content__body .meb-section > p,
.meb-content__body .meb-section > ul,
.meb-content__body .meb-section > ol,
.meb-content__body .meb-section > table,
.meb-content__body .meb-section > div:not(.meb-cc-readmore-wrap) {
    background: var(--card);
    border: 1.5px solid var(--border-strong);
    border-radius: clamp(12px, 1.8vw, 18px);
    /* box-shadow gold strip — no overflow:hidden needed, no clipping */
    box-shadow: inset 0 5px 0 0 var(--gold);
    padding: clamp(24px, 3.5vw, 40px) clamp(20px, 4vw, 44px) clamp(20px, 3.5vw, 36px);
    margin: 0;
    font-size: clamp(13px, 1.6vw, 15px);
    color: var(--muted);
    line-height: 1.9;
    text-align: center;
    /* position:relative and overflow:hidden removed — fixes Read More button overlap */
}

/* ── When content_body has NO meb-section (fallback: single blob) ── */
.meb-content__body:not(:has(.meb-section)) {
    background: var(--card);
    border: 2px solid var(--gold);
    border-radius: clamp(16px, 2.5vw, 24px);
    padding: clamp(24px, 4vw, 48px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.meb-content__body:not(:has(.meb-section))::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}

.meb-content__body:not(:has(.meb-section)) p {
    font-size: clamp(13px, 1.6vw, 15px);
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 14px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.meb-content__body:not(:has(.meb-section)) h2 {
    font-size: clamp(17px, 2.5vw, 26px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 18px;
    text-align: center;
}

/* ── Table inside section — pricing table style ── */
.meb-content__body .meb-section table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.meb-content__body .meb-section table th {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    padding: 10px 16px;
    border-bottom: 2px solid var(--border-strong);
}

.meb-content__body .meb-section table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--muted);
    border-bottom: 1px solid var(--card);
}

.meb-content__body .meb-section table tr:last-child td {
    border-bottom: none;
}

.meb-content__body .meb-section table tr:nth-child(even) td {
    background: var(--card);
}

/* ── Read More collapse — on wrapper div, not p itself ── */
.meb-cc-pw {
    background: var(--card);
    border: 1.5px solid var(--border-strong);
    border-radius: clamp(12px, 1.8vw, 18px);
    box-shadow: inset 0 5px 0 0 var(--gold);
    overflow: hidden;
}

/* p inside wrapper — remove its own box styling (wrapper handles it) */
.meb-cc-pw > p {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: clamp(24px, 3.5vw, 40px) clamp(20px, 4vw, 44px) clamp(20px, 3.5vw, 36px) !important;
    margin: 0 !important;
}

.meb-cc-collapsible {
    max-height: 160px;
    overflow: hidden;
    -webkit-mask-image: -webkit-linear-gradient(top, #241a06 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, #241a06 30%, transparent 100%);
    -webkit-transition: max-height 0.45s ease;
    transition: max-height 0.45s ease;
}

.meb-cc-collapsible.meb-cc-open {
    max-height: 9999px;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

/* Read More button */
.meb-cc-readmore-btn {
    display: inline-block;
    margin: 8px auto 0;
    padding: 9px 28px;
    background: var(--card);
    color: #1a6e38;
    border: 1.5px solid #4caf72;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    -webkit-transition: background 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease;
    letter-spacing: 0.3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    text-align: center;
}

.meb-cc-readmore-btn:hover {
    background: #4caf72;
    color: var(--card);
}

.meb-cc-readmore-wrap {
    text-align: center;
    padding: 4px 0 10px;
}

/* ── Lazy load: sections below fold load with fade-in ── */
.meb-content__body .meb-section {
    opacity: 0;
    -webkit-transform: translateY(18px);
    transform: translateY(18px);
    -webkit-transition: opacity 0.45s ease, -webkit-transform 0.45s ease;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.meb-content__body .meb-section.meb-cc-visible {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* First 2 sections visible immediately — no wait */
.meb-content__body .meb-section:nth-child(1),
.meb-content__body .meb-section:nth-child(2) {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
}

/* ── Intersection Observer JS (inline, no file needed) ── */
/* See: <script> in theme/footer.php or add inline in contentCard */

/* ── Section key color accents — subtle left border per topic ── */
/* Hide SEO/schema sections — not visible content */
.meb-section--sameas_schema,
.meb-section--schema,
.meb-section--seo_data,
.meb-section--structured_data,
.meb-section--freshness_stamp { display: none !important; }

.meb-section--use_cases        { border-left-color: #4caf72; }
.meb-section--fleet_overview   { border-left-color: var(--gold); }
.meb-section--who_rents_this   { border-left-color: #4caf72; }
.meb-section--other_brands     { border-left-color: var(--muted); }
.meb-section--seasonal_guide   { border-left-color: var(--gold); }
.meb-section--why_choose_us    { border-left-color: #4caf72; }
.meb-section--trust_safety     { border-left-color: #4caf72; }
.meb-section--how_to_rent      { border-left-color: var(--gold); }

/* ── RTL support (Arabic/Urdu/Farsi) ── */
[dir="rtl"] .meb-content__body .meb-section {
    border-left: 2px solid var(--gold);
    border-right-width: 2px;
}

[dir="rtl"] .meb-content__body .meb-section table {
    text-align: right;
}

/* ================================================================
   END OF CONTENT CARD APPLE STYLE
   ================================================================ */
/* Home brand card — gold-letter fallback when logo image 404s */
.meb-brand-letter {
    width: 64px;
    height: 64px;
    background: var(--grad-gold-btn);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: bold;
    color: #241a06;
}

/* Car action buttons — Chat green, Call red (locked theme) */
.car-action-btn.car-action-chat {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.4);
}
.car-action-btn.car-action-chat:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}
.car-action-btn.car-action-call {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}
.car-action-btn.car-action-call:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

/* ===== HERO — centered gold title + 3 colored buttons + lazy bg ===== */
.meb-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.meb-hero-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.meb-hero-title {
    background: var(--grad-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.meb-hero-subtitle {
    color: var(--soft);
    margin-left: auto;
    margin-right: auto;
}
.meb-hero-actions {
    justify-content: center;
    flex-wrap: wrap;
}
.meb-hero-btn-fleet {
    background: var(--grad-gold-btn);
    color: #241a06;
    border: none;
}
.meb-hero-btn-call {
    background: transparent;
    color: #ef4444;
    border: 1.5px solid #ef4444;
}
.meb-hero-btn-call:hover {
    background: #ef4444;
    color: #fff;
}
.meb-hero-btn-wa {
    background: #25D366;
    color: #fff;
    border: none;
}
.meb-hero-btn-wa:hover {
    background: #1ebe5d;
}

/* ===== HERO RESPONSIVE FIX — all screens ===== */
section.meb-hero {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 88vh;
}
.meb-hero .meb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,10,20,0.55), rgba(7,10,20,0.82));
    z-index: 1;
}
.meb-hero .meb-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}
.meb-hero .meb-hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #f5e3a8, #c69833 55%, #7d5417);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.meb-hero .meb-hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    max-width: 640px;
    margin: 0 auto 28px;
}
.meb-hero .meb-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
.meb-hero .meb-hero-actions .meb-btn {
    min-width: 150px;
    text-align: center;
}
.meb-hero .meb-hero-btn-fleet {
    background: var(--grad-gold-btn) !important;
    color: #241a06 !important;
    border: none !important;
}
.meb-hero .meb-hero-btn-call {
    background: transparent !important;
    color: #ef4444 !important;
    border: 1.5px solid #ef4444 !important;
}
.meb-hero .meb-hero-btn-call:hover {
    background: #ef4444 !important;
    color: #fff !important;
}
.meb-hero .meb-hero-btn-wa {
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
}
.meb-hero .meb-hero-btn-wa:hover {
    background: #1ebe5d !important;
}
@media (max-width: 600px) {
    .meb-hero .meb-hero-actions { flex-direction: column; align-items: stretch; }
    .meb-hero .meb-hero-actions .meb-btn { width: 100%; }
}

/* HERO blur-up — full image fades in over tiny blur bg */
section.meb-hero {
    background-size: cover !important;
    background-position: center !important;
}
.meb-hero .meb-hero-fullimg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
    border: none;
}
.meb-hero .meb-hero-fullimg.loaded {
    opacity: 1;
}
.meb-hero .meb-hero-overlay {
    z-index: 1;
}
.meb-hero .meb-hero-content {
    z-index: 2;
}

/* ===== Supercar rotating box (Why Choose) ===== */
.meb-why-us__image #mebSupercarData{display:none;}
.meb-supercar{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;}
.meb-supercar-imglink{display:block;width:100%;text-align:center;}
.meb-supercar-img{max-width:100%;max-height:230px;object-fit:contain;transition:opacity .3s ease;}
.meb-supercar-name{font-family:'Cinzel',serif;font-size:1.15rem;color:var(--gold);text-align:center;letter-spacing:.04em;}
.meb-supercar-btns{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;}
.meb-supercar-wa,.meb-supercar-view{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:12px;font-size:.85rem;font-weight:600;text-decoration:none;transition:all .25s ease;}
.meb-supercar-wa{background:#25D366;color:#fff;}
.meb-supercar-wa:hover{filter:brightness(1.08);transform:translateY(-2px);}
.meb-supercar-view{background:linear-gradient(180deg,#f7e8b0,#dcb24f 40%,#b8842b 100%);color:#241a06;}
.meb-supercar-view:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(201,165,81,.35);}

/* supercar — responsive full frame + overlay buttons (no hardcode height) */
.meb-why-us__image{position:relative;padding:0!important;}
.meb-supercar{padding:0!important;height:100%;gap:0!important;position:relative;display:block!important;}
.meb-supercar-imglink{width:100%!important;height:auto!important;display:block!important;aspect-ratio:16/10;}
.meb-supercar-img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;border-radius:24px;display:block;}
.meb-supercar-name{position:absolute;left:0;right:0;bottom:clamp(60px,16%,82px);z-index:3;color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.85);padding:0 16px;}
.meb-supercar-btns{position:absolute;left:0;right:0;bottom:clamp(14px,5%,22px);z-index:3;margin-top:0!important;}
.meb-supercar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:45%;background:linear-gradient(180deg,transparent,rgba(0,0,0,.78));border-radius:0 0 24px 24px;z-index:2;pointer-events:none;}
.meb-supercar-wa{background:rgba(37,211,102,.88)!important;backdrop-filter:blur(4px);}
.meb-supercar-view{background:linear-gradient(180deg,rgba(247,232,176,.92),rgba(220,178,79,.92) 40%,rgba(184,132,43,.92))!important;backdrop-filter:blur(4px);}

/* supercar — remove extra box height + more transparent buttons */
.meb-why-us__image{height:auto!important;align-self:start!important;}
.meb-why-us__grid{align-items:start!important;}
.meb-supercar-wa{background:rgba(37,211,102,.62)!important;border:1px solid rgba(255,255,255,.25)!important;}
.meb-supercar-view{background:linear-gradient(180deg,rgba(247,232,176,.6),rgba(220,178,79,.6) 40%,rgba(184,132,43,.6))!important;border:1px solid rgba(255,255,255,.25)!important;}

/* CarCard action buttons — mobile: each button own full-width line */
@media screen and (max-width: 768px) {
  .car-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .car-actions .car-action-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px !important;
  }
}

/* Contact info — apple-style gold circle icons + polish */
.meb-contact-info__grid{gap:20px;}
.meb-contact-info__card{
  border:1px solid var(--border);
  transition:all .3s ease;
  text-decoration:none;color:inherit;
  display:flex;flex-direction:column;align-items:center;
  padding:36px 24px;
}
.meb-contact-info__card:hover{
  transform:translateY(-6px);
  border-color:var(--gold);
  box-shadow:0 14px 36px rgba(201,165,81,.18);
}
.meb-contact-info__card .ci-icon{
  width:66px;height:66px;border-radius:50%;
  background:var(--grad-gold-btn);
  display:flex;align-items:center;justify-content:center;
  color:#241a06;margin-bottom:18px;
  box-shadow:0 6px 18px rgba(201,165,81,.35);
}
.meb-contact-info__card h3{
  font-family:'Cinzel',serif;font-size:1.15rem;
  color:var(--text);margin-bottom:6px;
}
.meb-contact-info__card p{
  color:var(--muted);font-size:.95rem;margin:0;
}
