/* ==========================================================================
   PSM Cosmoind — MOBILE REDESIGN
   File: assets/css/mobile.css
   Strategy: Slider hidden, clean vertical stack, premium readability
   ========================================================================== */

/* ── GENERAL CONTAINER & SPACING FIXES ───────────────────────────── */
@media (max-width: 991px) {
    .plr--100, .plr--50, .plr--30 { padding-left: 15px !important; padding-right: 15px !important; }
    .container-fluid { padding-left: 15px !important; padding-right: 15px !important; }
    .pt-100, .pt-80 { padding-top: 40px !important; }
    .pb-80, .pb-100 { padding-bottom: 40px !important; }
    .pt-120 { padding-top: 50px !important; }
    .pb-120 { padding-bottom: 50px !important; }
    .mt-100 { margin-top: 40px !important; }
    .mb-100 { margin-bottom: 40px !important; }

    /* Force all centered headers to actually center on mobile */
    .center-title-area, 
    .ltn__section-title-2.text-center,
    .section-title-area.text-center {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .center-title-area .section-subtitle,
    .center-title-area .section-title,
    .center-title-area .ltn__title-group {
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .center-title-area .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* ── MOBILE HERO BANNER (always-present — display controlled by Bootstrap) ── */
.mobile-hero-banner {
    display: none; /* shown via d-block d-lg-none on the element */
    background: linear-gradient(135deg, #5a664e 0%, #7d8e6c 60%, #8fa07f 100%);
    padding: 56px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mobile-hero-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.mobile-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.mobile-hero-inner { position: relative; z-index: 1; }

.mobile-hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px !important;
    border: 1px solid rgba(255,255,255,0.25);
}

.mobile-hero-banner h1 {
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}

.mobile-hero-banner h1::after { display: none !important; }

.mobile-hero-banner > .mobile-hero-inner > p {
    color: rgba(255,255,255,0.88) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 28px !important;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-hero-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: #fff !important;
    color: #5a664e !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    border: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

.hero-btn-outline {
    background: transparent !important;
    color: #fff !important;
    padding: 11px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    border: 2px solid rgba(255,255,255,0.7) !important;
    display: inline-block;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-btn-outline:hover { background: rgba(255,255,255,0.15) !important; border-color: #fff !important; }

/* ── TABLET (max 991px) ─────────────────────────────────────────────────── */
@media (max-width: 991px) {

    body { overflow-x: hidden !important; }

    .container, .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .container-fluid.plr--100 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .offset-lg-1, .offset-lg-2 { margin-left: 0 !important; }

    /* About Us tablet fix */
    .ltn__about-us-area { padding: 60px 0 40px !important; }
    .about-us-info-wrap  { padding-left: 0 !important; margin-top: 30px; text-align: center; }
    .about-us-info-wrap .section-title-area { text-align: center !important; }
    .about-us-info-wrap .btn-wrapper { display: flex; justify-content: center; }
    .about-us-img-wrap img { max-height: 400px; object-fit: cover; width: 100%; }
}

/* ── MOBILE (max 768px) ─────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* ── Global ─────────────────────────────────────────────────────────── */
    * { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
    body { overflow-x: hidden !important; }

    .container, .container-fluid,
    .container-fluid.plr--100 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .row { margin-left: 0 !important; margin-right: 0 !important; }
    [class*="col-"] { padding-left: 8px !important; padding-right: 8px !important; }
    .offset-lg-1, .offset-lg-2, .offset-md-1 { margin-left: 0 !important; }

    /* Section spacing compression */
    .pt-100 { padding-top: 48px !important; }
    .pb-100 { padding-bottom: 48px !important; }
    .pt-80  { padding-top: 40px !important; }
    .pb-80  { padding-bottom: 40px !important; }
    .pt-50  { padding-top: 32px !important; }
    .pb-50  { padding-bottom: 32px !important; }
    .mb-90  { margin-bottom: 48px !important; }
    .mb-30  { margin-bottom: 20px !important; }
    .mt-40  { margin-top: 24px !important; }

    .ltn__border-top-2 { border-top: none !important; padding-top: 0 !important; }

    /* ── 1. SLIDER — Hidden completely ──────────────────────────────────── */
    .ltn__slider-area,
    .ltn__slider-area *,
    .modern-main-slider,
    .d-none.d-lg-block {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ── 2. HEADER ──────────────────────────────────────────────────────── */
    .ltn__header-top-area { display: none !important; }

    .ltn__header-middle-area { padding: 10px 0 !important; }

    .main-logo-img,
    .site-logo img {
        max-height: 45px !important;
        min-width: auto !important;
        width: auto !important;
    }

    .brand-name-text {
        font-size: 15px !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
        max-width: 160px;
    }

    .brand-name-wrap { margin-left: 8px !important; }

    .ltn__header-options .ltn__header-extra-btn .theme-btn-1,
    .ltn__header-options .theme-btn-1 { display: none !important; }

    /* ── 3. ABOUT US SECTION ────────────────────────────────────────────── */
    .ltn__about-us-area { padding: 48px 0 40px !important; }

    .ltn__about-us-area .row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .ltn__about-us-area [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .about-us-img-wrap {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto 28px auto !important;
        border-radius: 20px !important;
        overflow: hidden;
    }

    .about-us-img-wrap img {
        width: 100% !important;
        height: auto !important;
        border-radius: 20px !important;
        box-shadow: 0 12px 35px rgba(0,0,0,0.12) !important;
    }

    .about-us-info-wrap {
        width: 100% !important;
        text-align: center !important;
        padding: 0 4px !important;
        margin-top: 0 !important;
    }

    .about-us-info-wrap .section-title-area { text-align: center !important; align-items: center !important; margin-bottom: 16px !important; }
    .about-us-info-wrap .section-subtitle   { font-size: 12px !important; margin-bottom: 8px !important; }
    .about-us-info-wrap .section-title      { font-size: 24px !important; line-height: 1.25 !important; margin-bottom: 14px !important; }
    .about-us-info-wrap .description-large  { font-size: 14px !important; line-height: 1.65 !important; }
    .about-us-info-wrap p                   { font-size: 13px !important; line-height: 1.6 !important; margin-bottom: 20px !important; color: #555 !important; }
    .about-us-info-wrap .btn-wrapper        { justify-content: center !important; display: flex !important; }

    /* ── 4. BRAND SLIDER SECTION ────────────────────────────────────────── */
    .ltn__feature-area { padding-top: 44px !important; padding-bottom: 36px !important; }
    .ltn__feature-area .section-title    { font-size: 22px !important; }
    .ltn__feature-area .section-subtitle { font-size: 12px !important; letter-spacing: 1px !important; }

    .brand-slide-item { padding: 6px !important; }

    .brand-d-item {
        height: auto !important;
        min-height: 130px !important;
        padding: 14px 8px !important;
        margin: 4px !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 14px rgba(0,0,0,0.06) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: #fff !important;
    }

    .brand-d-item img {
        height: 64px !important;
        width: auto !important;
        max-width: 90% !important;
        object-fit: contain !important;
        margin: 0 auto 10px auto !important;
        display: block !important;
    }

    .brand-d-item h6 {
        font-size: 12px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        text-align: center;
    }

    /* ── 5. WHY CHOOSE US ───────────────────────────────────────────────── */
    .ltn__about-us-area .col-lg-5 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 28px !important;
    }

    .ltn__about-us-area .col-lg-5 .section-title-area { text-align: center !important; align-items: center !important; }
    .ltn__about-us-area .col-lg-5 .section-title      { font-size: 22px !important; line-height: 1.3 !important; }
    .ltn__about-us-area .col-lg-5 p                   { font-size: 13px !important; line-height: 1.6 !important; }
    .ltn__about-us-area .col-lg-5 .btn-wrapper         { justify-content: center !important; display: flex !important; margin-top: 20px !important; }

    .ltn__about-us-area .col-lg-7 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .ltn__about-us-area .col-lg-7 > .row {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        margin: 0 -6px !important;
    }

    .ltn__about-us-area .col-lg-7 .col-md-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 6px !important;
        margin-bottom: 12px !important;
    }

    .ltn__feature-item-6 {
        padding: 18px 12px !important;
        border-radius: 14px !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        background: #fff !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
        border-bottom: 3px solid transparent !important;
    }

    .ltn__feature-icon { margin-bottom: 12px !important; }
    .ltn__feature-icon img { width: 40px !important; height: 40px !important; object-fit: contain !important; }
    .ltn__feature-info h3 { font-size: 14px !important; font-weight: 600 !important; margin-bottom: 6px !important; line-height: 1.3 !important; }
    .ltn__feature-info p  { font-size: 12px !important; line-height: 1.5 !important; margin-bottom: 0 !important; color: #666 !important; }

    /* ── 6. GLOBAL FOOTPRINT STATS ──────────────────────────────────────── */
    .ltn__progress-bar-area { padding: 44px 0 36px !important; }
    .ltn__progress-bar-area .section-title-area { text-align: center !important; margin-bottom: 28px !important; }
    .ltn__progress-bar-area .section-title { font-size: 22px !important; }

    .ltn__progress-bar-area [class*="col-"] {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 8px !important;
        margin-bottom: 24px !important;
    }

    .ltn__progress-bar-item-2 { text-align: center !important; }
    .ltn__progress-bar-item-2 .progress { width: 100px !important; height: 100px !important; margin: 0 auto 12px auto !important; }
    .progress-count, .counter-value { font-size: 22px !important; font-weight: 700 !important; }
    .ltn__progress-info h3 { font-size: 12px !important; line-height: 1.3 !important; letter-spacing: 0.5px; }

    /* ── 7. CALL TO ACTION ──────────────────────────────────────────────── */
    .ltn__call-to-action-area { padding: 44px 16px !important; background-attachment: scroll !important; }

    .ltn__call-to-action-area .row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px;
    }

    .ltn__call-to-action-area [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        border-left: none !important;
        padding-top: 20px !important;
        border-top: 1px solid rgba(255,255,255,0.2) !important;
    }

    .ltn__call-to-action-area [class*="col-"]:first-child { border-top: none !important; padding-top: 0 !important; }
    .ltn__call-to-action-area h1 { font-size: 22px !important; line-height: 1.3 !important; }
    .ltn__call-to-action-area p  { font-size: 14px !important; line-height: 1.6 !important; }
    .ltn__call-to-action-area .btn-wrapper { display: flex !important; justify-content: center !important; }

    /* ── 8. BREADCRUMB ──────────────────────────────────────────────────── */
    .ltn__breadcrumb-area { padding: 50px 0 !important; }
    .page-title { font-size: 28px !important; font-weight: 700 !important; }

    /* ── 9. PRODUCTS PAGE ───────────────────────────────────────────────── */
    .ltn__product-area { padding-bottom: 50px !important; }
    .ltn__product-area .section-title { font-size: 22px !important; }
    .ltn__card-title { font-size: 16px !important; padding: 16px !important; }
    .ltn__card-title img { max-height: 36px !important; margin-right: 12px !important; }
    .card-body { padding: 20px !important; }

    /* ── 10. CONTACT PAGE ───────────────────────────────────────────────── */
    .ltn__contact-address-area .row { flex-direction: column !important; gap: 16px; }
    .modern-contact-card { padding: 16px !important; }
    .ltn__form-box.contact-form-box-modern { padding: 24px 16px !important; }
    .input-item-modern { margin-bottom: 16px !important; }

    /* ── 11. FOOTER ─────────────────────────────────────────────────────── */
    .footer-top-area { padding: 44px 0 32px !important; }

    .footer-top-area .row {
        flex-direction: column !important;
        gap: 28px;
    }

    .footer-top-area [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .footer-widget { margin-bottom: 0 !important; }
    .footer-title  { font-size: 16px !important; margin-bottom: 12px !important; }
    .footer-title::after { left: 0 !important; transform: none !important; }

    .footer-address ul li { display: flex !important; align-items: flex-start !important; margin-bottom: 10px !important; }
    .footer-address-icon  { margin-right: 10px !important; margin-bottom: 0 !important; flex-shrink: 0; }

    .footer-social-modern { margin-top: 16px !important; display: flex !important; gap: 10px; }
    .footer-social-modern a { width: 36px !important; height: 36px !important; }

    .footer-menu ul li { margin-bottom: 8px !important; }
    .footer-menu ul li a { font-size: 14px !important; }

    .modern-copyright { padding: 16px 0 !important; text-align: center !important; }
    .modern-copyright .row { flex-direction: column !important; gap: 4px; text-align: center !important; }
    .modern-copyright p { font-size: 12px !important; margin-bottom: 0 !important; }

    /* ── 12. WHATSAPP BUTTON ────────────────────────────────────────────── */
    .whatsapp {
        width: 48px !important;
        height: 48px !important;
        bottom: 20px !important;
        right: 16px !important;
        left: auto !important;
        position: fixed !important;
        z-index: 9999;
    }

    .whatsapp img { width: 100% !important; height: 100% !important; }

    /* ── 13. GLOBAL TITLES & BUTTONS ────────────────────────────────────── */
    .section-title    { font-size: 24px !important; padding-bottom: 14px !important; }
    .section-subtitle { font-size: 12px !important; letter-spacing: 1px !important; }
    .theme-btn-1, .theme-btn-2 { padding: 12px 24px !important; font-size: 13px !important; }

    /* ── 14. MOBILE MENU ────────────────────────────────────────────────── */
    .ltn__utilize-mobile-menu { width: 280px !important; }
    .ltn__utilize-menu ul li a { font-size: 15px !important; padding: 12px 20px !important; }

    /* ── 15. POLICY / TERMS ─────────────────────────────────────────────── */
    .ltn__contact-address-area { margin-bottom: 50px !important; }
    .ltn__contact-address-area h2 { font-size: 22px !important; }
    .ltn__contact-address-area h3, .ltn__contact-address-area h4 { font-size: 16px !important; }
    .ltn__contact-address-area p, .ltn__contact-address-area li { font-size: 13px !important; line-height: 1.7 !important; }

    /* ── 16. BRAND SLIDER ARROWS ────────────────────────────────────────── */
    .ltn__brand-logo-active-3x5 .slick-arrow,
    .brand-slider-prev, .brand-slider-next { display: none !important; }

    /* ── 17. IMAGES ─────────────────────────────────────────────────────── */
    img { max-width: 100%; height: auto; }
}

/* ── EXTRA SMALL (max 480px) ────────────────────────────────────────────── */
@media (max-width: 480px) {

    .brand-name-text { font-size: 13px !important; max-width: 130px; }
    .main-logo-img, .site-logo img { max-height: 38px !important; }
    .section-title { font-size: 20px !important; }
    .page-title { font-size: 22px !important; }

    .ltn__feature-item-6 { padding: 14px 8px !important; }
    .ltn__feature-info h3 { font-size: 12px !important; }
    .ltn__feature-info p  { font-size: 11px !important; }

    .ltn__progress-bar-item-2 .progress { width: 85px !important; height: 85px !important; }
    .progress-count, .counter-value { font-size: 18px !important; }

    .ltn__call-to-action-area h1 { font-size: 18px !important; }
    .brand-d-item img { height: 52px !important; }

    .ltn__about-us-area .col-lg-7 .col-md-6 { padding: 0 4px !important; }
}

/* ==========================================================================
   MOBILE-ONLY TARGETED FIXES
   ========================================================================== */
@media (max-width: 768px) {

    /* ── FIX 1: Remove duplicate "Connect Now" button ───────────────────────── */
    #why-choose-us-btn {
        display: none !important;
    }

    /* ── FIX 2: Global Footprint — fully centered header ───────────────────── */
    .ltn__progress-bar-area .container,
    .ltn__progress-bar-area .row,
    .ltn__progress-bar-area .col-lg-12,
    .ltn__progress-bar-area .section-title-area,
    .center-title-area {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .ltn__progress-bar-area .ltn__title-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .ltn__progress-bar-area .section-subtitle,
    .center-title-area .section-subtitle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    .ltn__progress-bar-area .section-subtitle span { 
        margin-right: 8px !important; 
        display: inline-flex !important;
        align-items: center !important;
    }
    .ltn__progress-bar-area .section-title { 
        text-align: center !important; 
        width: 100% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .ltn__progress-bar-area .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
    }

    /* 2x2 Grid for Footprint Counters */
    .ltn__progress-bar-area .row > div {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Clean Circular Backgrounds for Footprint counters on Mobile */
    .ltn__progress-bar-area .progress {
        background: #f8f9f8 !important; /* Soft light background */
        width: 100px !important; /* Slightly smaller for 2x2 */
        height: 100px !important;
        line-height: 100px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
        border: none !important;
        margin: 0 auto 10px auto !important;
        display: flex !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }
    
    .ltn__progress-bar-area .progress-left, 
    .ltn__progress-bar-area .progress-right,
    .ltn__progress-bar-area .progress::after {
        display: none !important;
    }
    
    .ltn__progress-bar-area .progress-value {
        position: static !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
    }

    .ltn__progress-bar-area .progress-count {
        font-size: 24px !important; /* Smaller for 2x2 */
        font-weight: 700 !important;
        color: #5a664e !important; /* Theme Green */
        margin: 0 !important;
    }
    
    .ltn__progress-bar-area .progress-count sup {
        font-size: 14px !important;
        top: -0.5em !important;
    }

    .ltn__progress-bar-area .ltn__progress-info h3 {
        margin-top: 0 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: #333 !important;
        letter-spacing: 0.5px !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
        padding: 0 5px;
        margin-left: auto;
        margin-right: auto;
    }

    /* ── FIX 3: Brand Section — header centered, 4 cards (2×2) square canvas ── */

    /* Brand heading + subtitle: centered */
    .ltn__feature-area .section-title-area {
        text-align: center !important;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 24px !important;
    }
    .ltn__feature-area .section-subtitle {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
        letter-spacing: 2px !important;
    }
    .ltn__feature-area .section-title {
        text-align: center !important;
        font-size: 22px !important;
        color: #1a1a1a !important;
    }
    .ltn__feature-area .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Container: no extra horizontal padding */
    .ltn__feature-area .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Slick track: wrap so 4 cards show as 2×2 */
    .ltn__brand-logo-active-3x5 .slick-list {
        overflow: hidden !important;
    }
    .ltn__brand-logo-active-3x5 .slick-slide {
        padding: 8px !important;
    }
    .ltn__brand-logo-active-3x5 .brand-slide-item {
        padding: 0 !important;
    }

    /* Square card — each card is equal width & height */
    .ltn__brand-logo-active-3x5 .brand-d-item {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 14px !important;
        padding: 8px 6px !important; /* Reduced padding for larger image */
        margin-bottom: 5px !important; /* Extra vertical gap */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.07) !important;
        overflow: hidden !important;
        transition: box-shadow 0.2s ease !important;
    }

    /* Logo image: Filling more of the card */
    .ltn__brand-logo-active-3x5 .brand-d-item img {
        width: 85% !important;
        height: auto !important;
        max-height: 65% !important;
        object-fit: contain !important;
        margin: 0 auto 6px auto !important;
        display: block !important;
        flex-shrink: 0;
    }

    /* Brand name text: compact, centered */
    .ltn__brand-logo-active-3x5 .brand-d-item h6 {
        font-size: 11px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        word-break: break-word !important;
        color: #333 !important;
        padding: 0 4px !important;
    }

    /* Slick dots for brand slider */
    .ltn__brand-logo-active-3x5 .slick-dots {
        margin-top: 16px !important;
    }

    /* ── FIX 4: About Us — image fully visible, text left-aligned below ─────── */

    /* Force vertical stack */
    .ltn__about-us-area .row.align-items-center {
        flex-direction: column !important;
        align-items: stretch !important;
        margin: 0 !important;
    }

    /* Image column: shows first, full width */
    .ltn__about-us-area .col-lg-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
        order: 1 !important;
    }

    /* Image wrapper: full width, no max-width cap */
    .about-us-img-wrap {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        margin: 0 !important;
        display: block !important;
    }

    /* Image: full width, fixed visible height */
    .about-us-img-wrap img {
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
        object-position: center top !important;
        border-radius: 14px !important;
        display: block !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.10) !important;
    }

    /* Text column: shows after image, full width */
    .ltn__about-us-area .col-lg-7 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        order: 2 !important;
    }

    /* Text content: left aligned */
    .about-us-info-wrap {
        text-align: left !important;
        padding: 4px 0 0 0 !important;
        margin-top: 0 !important;
    }
    .about-us-info-wrap .section-title-area { text-align: left !important; align-items: flex-start !important; }
    .about-us-info-wrap .section-subtitle   { text-align: left !important; justify-content: flex-start !important; }
    .about-us-info-wrap .section-title      { text-align: left !important; font-size: 22px !important; }
    .about-us-info-wrap .section-title::after { left: 0 !important; transform: none !important; }
    .about-us-info-wrap p                   { text-align: left !important; font-size: 14px !important; line-height: 1.65 !important; }
    .about-us-info-wrap .btn-wrapper        { justify-content: flex-start !important; }

    /* ── FIX 5: Header — handled in modern-header.css ───────────────────────── */

}

/* ==========================================================================
   PRODUCT PAGE — MOBILE REDESIGN
   ========================================================================== */
@media (max-width: 768px) {

    /* ── About Us image: full natural width, auto height (like PC) ───────────── */
    /* Override the 280px max-width cap and fixed 220px height from earlier rules */
    .about-us-img-wrap {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        margin: 0 0 20px 0 !important;
        display: block !important;
    }

    .about-us-img-wrap img {
        width: 100% !important;
        height: auto !important;          /* natural proportion — not cropped */
        max-height: none !important;
        object-fit: cover !important;
        object-position: center top !important;
        border-radius: 14px !important;
        display: block !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.10) !important;
    }

    /* ── Products page: section title centered ───────────────────────────────── */
    .ltn__product-area .section-title-area {
        text-align: center !important;
        align-items: center !important;
    }
    .ltn__product-area .section-title {
        font-size: 22px !important;
        text-align: center !important;
    }
    .ltn__product-area .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .ltn__product-area .section-subtitle {
        justify-content: center !important;
        text-align: center !important;
    }

    /* ── Products page: container padding ───────────────────────────────────── */
    .ltn__product-area .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* ── Category accordion header (click to expand) ─────────────────────────── */
    .ltn__card-title,
    h6.collapsed.ltn__card-title,
    h6.ltn__card-title {
        padding: 16px 14px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        background: #fff !important;
        line-height: 1.3 !important;
    }

    /* Category icon in accordion header */
    .ltn__card-title img {
        width: 36px !important;
        height: 36px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
    }

    /* ── Category card container ─────────────────────────────────────────────── */
    .card.mb-3 {
        border-radius: 12px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.05) !important;
        overflow: hidden !important;
    }

    /* ── Card body (expanded product list) ───────────────────────────────────── */
    .card-body {
        padding: 16px 12px !important;
        background: #f9f9f9 !important;
    }

    .card-body .row {
        margin: 0 -5px !important;
    }

    /* ── Product cards: 2-column grid ────────────────────────────────────────── */
    .card-body .col-xl-3,
    .card-body .col-lg-4,
    .card-body .col-md-6,
    .card-body .col-sm-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 5px !important;
        margin-bottom: 10px !important;
    }

    /* Individual product card */
    .card-body .brand-d-item {
        padding: 14px 8px !important;
        border-radius: 12px !important;
        background: #fff !important;
        border: 1px solid #f0f0f0 !important;
        text-align: center !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
        transition: box-shadow 0.2s ease !important;
        margin-bottom: 0 !important;
    }

    /* Product image container */
    .card-body .brand-d-item > a > div {
        height: 90px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    /* Product image */
    .card-body .brand-d-item img {
        max-height: 80px !important;
        max-width: 90% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Product brand name */
    .card-body .brand-d-item h6 {
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        color: #333 !important;
        margin: 0 !important;
        text-align: center !important;
        word-break: break-word !important;
        padding: 0 4px !important;
    }

    /* Breadcrumb on product page */
    .ltn__breadcrumb-area {
        padding: 44px 0 !important;
        background-attachment: scroll !important;
    }

    .ltn__breadcrumb-area .page-title {
        font-size: 26px !important;
    }

    /* Empty category message */
    .card-body .col-12 p.text-muted {
        font-size: 13px !important;
        padding: 10px 0 !important;
    }


    /* ── MOBILE HEADER & NAV FIXES ── */
    .ltn__header-options .ltn__header-extra-btn {
        display: none !important;
    }

    .brand-name-text {
        font-size: 13px !important; /* Slightly smaller to prevent wrapping */
        letter-spacing: 0px !important;
        white-space: nowrap !important;
    }

    /* ── MOBILE HERO BANNER STYLES (REFINED) ── */
    .mobile-hero-banner {
        display: block !important;
        background-color: #f8fcf7 !important;
        padding: 40px 20px !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    }
    .mobile-hero-inner {
        max-width: 500px !important;
        margin: 0 auto !important;
    }
    .mobile-hero-tag {
        display: inline-block !important;
        background-color: #7d8e6c !important;
        color: #ffffff !important;
        padding: 4px 12px !important;
        border-radius: 50px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        margin-bottom: 15px !important;
    }
    .mobile-hero-banner h1 {
        font-size: 26px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        color: #1a1a1a !important;
        margin-bottom: 12px !important;
    }
    .mobile-hero-banner p {
        font-size: 14px !important;
        color: #444 !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
    }
    .mobile-hero-btns {
        display: flex !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }
    .hero-btn-primary, .hero-btn-outline {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: center !important;
        text-decoration: none !important;
        min-width: 140px !important;
        transition: all 0.3s ease !important;
    }
    .hero-btn-primary {
        background-color: #7d8e6c !important;
        color: #ffffff !important;
        border: 2px solid #7d8e6c !important;
    }
    .hero-btn-outline {
        background-color: transparent !important;
        color: #7d8e6c !important;
        border: 2px solid #7d8e6c !important;
    }
}
