/**
 * PC KUMAR — DEDICATED TERMS & CONDITIONS STYLESHEET (terms.css)
 * Matching Site Theme: Clean Light Aesthetics, High Contrast Typography, & Structured TOC.
 */


/* ==========================================================================
   PC KUMAR — HEADER, NAVIGATION & MOBILE DRAWER STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & GLOBAL RESETS (REQUIRED FOR HEADER STYLING)
   -------------------------------------------------------------------------- */
:root {
    --bg-surface: #ffffff;
    --bg-hero-black: #050505;

    /* Logo Crimson Red Accent: #dc2626 */
    --theme-red: #dc2626;
    --theme-red-dark: #b91c1c;
    --theme-red-bright: #ef4444;
    --theme-red-glow: rgba(220, 38, 38, 0.4);
    
    --gradient-red: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --gradient-red-hover: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-white: #ffffff;

    --border-light: #e2e8f0;
    --border-dark: #cbd5e1;
    --border-red: #dc2626;

    --font-body: 'Poppins', -apple-system, sans-serif;
    --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. MAIN HEADER NAVBAR & CONTAINERS
   -------------------------------------------------------------------------- */
.navbar {
    position: relative !important;
    top: auto !important;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2e8f0;
}

.navbar.sticky-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
}

.top-nav-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.main-header-row {
    padding: 16px 0;
    background: #ffffff;
}

/* --------------------------------------------------------------------------
   3. HEADER SEARCH BAR & RECOMMENDATIONS DROPDOWN
   -------------------------------------------------------------------------- */
.md-search-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: visible !important;
    position: relative !important;
    flex-grow: 1;
    max-width: 580px;
    margin: 0 32px;
    height: 42px;
    transition: border-color 0.2s ease;
}

.md-search-wrapper:focus-within {
    border-color: #dc2626;
}

.md-search-input {
    flex-grow: 1;
    padding: 0 16px;
    height: 100%;
    border: none;
    outline: none;
    font-size: 13.5px;
    color: #0f172a;
    font-family: inherit;
}

.md-search-input::placeholder {
    color: #94a3b8;
}

.md-search-btn {
    background: #dc2626;
    color: #ffffff;
    border: none;
    width: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.md-search-btn:hover {
    background: #b91c1c;
}

/* Search Recommendations Dropdown */
.search-recommendations-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
    z-index: 500;
    overflow: hidden;
    display: none;
}

.search-recommendations-dropdown.active {
    display: block;
    animation: dropDownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropDownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.recommendation-header-label {
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.recommendation-item:last-child {
    border-bottom: none;
}

.recommendation-item:hover,
.recommendation-item.selected {
    background: #f4f5f8;
}

.rec-thumb-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px;
    flex-shrink: 0;
}

.rec-info-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    min-width: 0;
}

.rec-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommendation-item:hover .rec-title {
    color: #dc2626;
}

.rec-cat-badge {
    font-size: 10px;
    font-weight: 400;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rec-price {
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: auto;
    flex-shrink: 0;
}

.recommendation-footer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.recommendation-footer-link:hover {
    background: #dc2626;
}

/* --------------------------------------------------------------------------
   4. HEADER RIGHT CONTACT & USER ACTIONS
   -------------------------------------------------------------------------- */
.md-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.md-contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    font-size: 26px;
}

.contact-icon-divider {
    width: 1.5px;
    height: 28px;
    background: #cbd5e1;
    margin: 0 2px;
}

.contact-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-size: 12px;
    color: #475569;
}

.call-text {
    font-size: 13px;
    font-weight: 700;
}

.email-text {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
}

.btn-header-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--theme-red);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-header-contact:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    transform: translateY(-1px);
}

.md-user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.md-action-link {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.md-action-link:hover {
    color: #dc2626;
}

.badge-num {
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   5. SUB HEADER NAVIGATION ROW & CENTER LINKS
   -------------------------------------------------------------------------- */
.md-subnav-row {
    position: relative;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.md-subnav-row .nav-container {
    justify-content: space-between;
}

.btn-md-categories {
    background: #dc2626;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.btn-md-categories:hover {
    background: #b91c1c;
}

.md-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 auto;
}

.md-nav-item {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #0f172a;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
}

.nav-arrow {
    font-size: 11px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    margin-left: 3px;
}

.nav-dropdown-item:hover .nav-arrow,
.nav-category-dropdown:hover .arrow-ic {
    transform: rotate(180deg);
}

.nav-pill-badge {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.3;
}

.red-pill {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.green-pill {
    background: rgba(5, 150, 105, 0.12);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.yellow-pill {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* --------------------------------------------------------------------------
   6. HEADER DROPDOWN MENUS (CATEGORIES, OUR PRODUCTS & MORE)
   -------------------------------------------------------------------------- */
.nav-dropdown-item,
.nav-category-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Categories Dropdown Container (Left Aligned) */
.category-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 290px;
    max-width: 340px;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 14px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.02);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.99);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 500;
    margin-top: 6px;
}

/* Simple Dropdown Container for OUR PRODUCTS & MORE (Centered) */
.simple-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.99);
    width: max-content;
    min-width: 270px;
    max-width: 320px;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 14px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.02);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 500;
    margin-top: 6px;
}

/* Invisible Hover Bridge to prevent gap glitches */
.category-dropdown-menu::before,
.simple-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

/* Hover Triggers */
.nav-category-dropdown:hover .category-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-dropdown-item:hover .simple-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Dropdown Link Item Styling */
.category-dropdown-menu .dropdown-link-item,
.simple-dropdown-menu .dropdown-link-item {
    border-bottom: 1px solid #e2e8f0;
}

.category-dropdown-menu .dropdown-link-item:last-of-type,
.simple-dropdown-menu .dropdown-link-item:last-of-type {
    border-bottom: none;
}

.dropdown-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.drop-text-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    line-height: 1.3;
}

.drop-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s ease;
    letter-spacing: -0.1px;
}

.dropdown-link-item:hover .drop-title {
    color: #dc2626;
}

.drop-sub {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 1px;
}

.dropdown-footer-link {
    margin-top: 8px;
    padding-top: 6px;
}

.drop-all-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drop-all-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.drop-all-btn i {
    transition: transform 0.2s ease;
}

.drop-all-btn:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. FULL-WIDTH MEGA MENU STYLES
   -------------------------------------------------------------------------- */
.nav-dropdown-item.has-mega-menu {
    position: static;
}

.full-width-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-top: 3px solid #dc2626;
    border-radius: 20px;
    padding: 36px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 600;
    overflow: hidden;
}

.mega-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.mega-column {
    display: flex;
    flex-direction: column;
}

.mega-heading {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #475569;
    text-transform: uppercase;
    padding-bottom: 8px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.mega-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 24px;
    height: 2px;
    background: #dc2626;
    border-radius: 2px;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-list li a {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
    transition: color 0.18s ease, transform 0.18s ease;
    display: inline-block;
}

.mega-list li a:hover {
    color: var(--theme-red);
    font-weight: 600;
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   8. HAMBURGER TOGGLE BUTTON & MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
/* Hamburger Toggle Button (Hidden on Desktop, Visible below 1024px) */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 20px;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Mobile Slide-Out Drawer Overlay */
.mobile-nav-drawer {
    position : fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 340px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999 !important;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 340;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-drawer-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    background: #f8fafc;
}

.mobile-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-drawer-close:hover {
    background: var(--theme-red);
    color: #ffffff;
    border-color: var(--theme-red);
}

.mobile-search-wrapper {
    position: relative !important;
    overflow: visible !important;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-search-wrapper .search-recommendations-dropdown {
    left: 24px;
    width: calc(100% - 48px);
    top: calc(100% + 6px);
}

.mobile-search-input {
    width: 100%;
    padding: 10px 16px 10px 38px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: #f1f5f9;
    font-size: 0.85rem;
    outline: none;
}

.mobile-search-input:focus {
    border-color: var(--theme-red);
    background: #ffffff;
}

.mobile-search-icon {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--theme-red);
    font-size: 0.85rem;
}

/* Mobile Segmented Tabs (MENU | CATEGORIES) */
.mobile-tab-nav {
    display: flex;
    align-items: center;
    padding: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-tab-btn {
    flex: 1;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.mobile-tab-btn.active {
    background: #dc2626;
    color: #ffffff;
}

.mobile-tab-content {
    width: 100%;
}

.mobile-nav-list {
    list-style: none;
    padding: 12px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    padding: 14px 24px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}

.mobile-nav-item i {
    color: var(--theme-red);
    width: 20px;
    text-align: center;
}

.mobile-nav-item:hover, 
.mobile-nav-item.active {
    background: rgba(220, 38, 38, 0.05);
    color: var(--theme-red);
    padding-left: 30px;
}

/* Mobile Accordion Dropdowns */
.mobile-dropdown-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    text-transform: uppercase;
}

.mobile-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    transition: max-height 0.35s ease;
}

.mobile-dropdown-item.open .mobile-sub-menu {
    max-height: 1000px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-dropdown-item.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
    color: #dc2626;
}

.mobile-drawer-footer {
    padding: 24px;
    margin-top: auto;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
}

.btn-mobile-quote {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: var(--gradient-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-contact-info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE MEDIA QUERIES FOR HEADER
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .nav-container {
        padding-left: 25px;
        padding-right: 25px;
    }
    .md-search-wrapper {
        margin: 0 20px;
    }
    .md-nav-links {
        gap: 18px;
    }
    .md-user-actions {
        gap: 12px;
    }
    .md-action-link {
        font-size: 11px;
    }
}

@media (max-width: 1024px) {
    .nav-container { padding: 0 24px; }
    
    .main-header-row {
        padding: 12px 0;
    }

    .main-header-row .nav-container {
        gap: 15px;
    }

    .brand-logo-img {
        height: 40px;
    }

    .md-search-wrapper {
        flex: 1;
        max-width: none;
        margin: 0;
    }

    .md-header-right {
        gap: 10px;
    }

    .md-contact-info {
        display: none;
    }

    .btn-header-contact {
        display: none;
    }

    .btn-header-contact {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }

    /* Hide desktop sub-navigation on screens <= 1024px */
    .md-subnav-row {
        display: none;
    }

    /* Show Mobile Hamburger Toggle Button */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: #ffffff;
        border-radius: 8px;
        border: 1px solid var(--border-light);
        font-size: 1.15rem;
        color: #0f172a;
        cursor: pointer;
        transition: var(--transition);
    }

    .mobile-menu-toggle:hover {
        background: rgba(220, 38, 38, 0.1);
        color: var(--theme-red);
        border-color: var(--theme-red);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-header-row {
        padding: 10px 0;
    }

    .main-header-row .nav-container {
        justify-content: space-between;
    }

    .brand-logo-img {
        height: 38px;
    }

    .md-search-wrapper {
        display: none;
    }

    .md-header-right {
        margin-left: auto;
    }

    .btn-header-contact {
        display: none;
    }

    .mobile-nav-drawer {
        display: flex;
    }
}

@media (max-width: 576px) {
    .navbar {
        position: sticky;
        top: 0;
    }

    .main-header-row {
        padding: 9px 0;
    }

    .brand-logo-img {
        height: 34px;
    }
}



.terms-page-body {
    color: #0f172a;
}

.terms-main-layout {
    padding: 50px 0 80px;
}

/* Common container */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* Small laptops and tablets */
@media screen and (max-width: 1200px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Small mobile */
@media screen and (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.terms-container-single .privacy-content-area {
    width: 100%;
}


/*FOOTER SECTION CSS*/

.footer-section {
    background: var(--bg-hero-black);
    color: #cbd5e1;
    position: relative;
    z-index: 30;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    font-family: var(--font-body);
}

.footer-top-strip {
    background: linear-gradient(132deg, #000000 0%, #202121 100%);
    padding: 44px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 540px;
}

.newsletter-title {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.newsletter-sub {
    font-size: 0.85rem;
    color: #94a3b8;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 480px;
    max-width: 100%;
}

.newsletter-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 18px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-input:focus {
    border-color: var(--theme-red);
    background: rgba(255, 255, 255, 0.1);
}

.btn-subscribe {
    padding: 12px 26px;
    border-radius: 8px;
    background: var(--gradient-red);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
    white-space: nowrap;
    transition: var(--transition);
}

.btn-subscribe:hover {
    background: var(--gradient-red-hover);
    transform: translateY(-2px);
}

.footer-trust-perks {
    display: flex;
    align-items: center;
    gap: 36px;
}

.trust-perk-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.perk-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--theme-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.perk-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.perk-text span {
    font-size: 0.72rem;
    color: #94a3b8;
}

.footer-main-body {
    padding: 70px 0 50px 0;
}

.footer-main-container {
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-item i {
    color: var(--theme-red);
    width: 16px;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.social-link-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-link-btn:hover {
    background: var(--theme-red);
    border-color: var(--theme-red);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-col-heading {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--theme-red);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: var(--theme-red);
    transform: translateX(4px);
}

.footer-bottom-bar {
    background:var(--bg-hero-black);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #64748b;
}

.payment-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    color: #94a3b8;
}

.payment-badge-tag {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}





/* Prevent footer elements from overflowing */
.footer-section,
.footer-section * {
    box-sizing: border-box;
}

.footer-brand-col,
.footer-col,
.newsletter-box,
.footer-trust-perks,
.trust-perk-item {
    min-width: 0;
}

.footer-contact-item {
    align-items: flex-start;
}

.footer-contact-item span,
.footer-brand-desc,
.copyright-text {
    overflow-wrap: anywhere;
}

/* Medium desktop */
@media (max-width: 1400px) {
    .footer-top-container,
    .footer-main-container,
    .footer-bottom-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer-top-container {
        align-items: flex-start;
    }

    .footer-trust-perks {
        gap: 24px;
    }

    .footer-main-container {
        gap: 30px;
    }

    .footer-links-list li a {
        font-size: 0.78rem;
    }
}

/* Small desktop and tablet */
@media (max-width: 1200px) {
    .footer-top-container {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .newsletter-box {
        width: 100%;
        max-width: 700px;
    }

    .newsletter-form {
        width: 100%;
        max-width: 650px;
    }

    .footer-trust-perks {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .trust-perk-item {
        padding: 16px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .perk-icon {
        flex-shrink: 0;
    }

    /*
     * Brand section takes the full first row.
     * Four footer link columns appear below.
     */
    .footer-main-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-brand-col {
        grid-column: 1 / -1;
        max-width: 800px;
        margin-bottom: 15px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .footer-top-strip {
        padding: 38px 0;
    }

    .footer-top-container,
    .footer-main-container,
    .footer-bottom-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-main-body {
        padding: 55px 0 40px;
    }

    .footer-main-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
        row-gap: 45px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-bottom-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .copyright-text {
        max-width: 100%;
        line-height: 1.7;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .footer-top-strip {
        padding: 34px 0;
    }

    .newsletter-title {
        font-size: 1.2rem;
        line-height: 1.35;
    }

    .newsletter-sub {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .footer-trust-perks {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trust-perk-item {
        width: 100%;
    }

    .footer-main-body {
        padding: 45px 0 35px;
    }

    .footer-logo-img {
        height: 42px;
        max-width: 180px;
    }

    .footer-social-row {
        flex-wrap: wrap;
    }

    .footer-bottom-bar {
        padding: 20px 0;
    }

    .payment-badges {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Small mobile */
@media (max-width: 560px) {
    .footer-top-container,
    .footer-main-container,
    .footer-bottom-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .newsletter-input,
    .btn-subscribe {
        width: 100%;
        min-height: 46px;
    }

    .btn-subscribe {
        text-align: center;
    }

    .footer-main-container {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer-col-heading {
        margin-bottom: 16px;
    }

    .footer-contact-item {
        line-height: 1.5;
    }

    .footer-social-row {
        gap: 9px;
    }

    .social-link-btn {
        width: 36px;
        height: 36px;
    }

    .footer-bottom-container {
        align-items: center;
        text-align: center;
    }

    .payment-badges {
        justify-content: center;
    }
}

/* Very small mobile */
@media (max-width: 380px) {
    .footer-top-container,
    .footer-main-container,
    .footer-bottom-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .newsletter-title {
        font-size: 1.05rem;
    }

    .trust-perk-item {
        padding: 13px;
        gap: 10px;
    }

    .perk-icon {
        width: 40px;
        height: 40px;
    }

    .perk-text strong {
        font-size: 0.76rem;
    }

    .perk-text span {
        font-size: 0.68rem;
    }

    .payment-badge-tag {
        width: 100%;
        text-align: center;
    }
}
