/* =========================================
   1. VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
    /* Colors */
    --color-primary: #ffffff; /* Premium White */
    --color-secondary: #111111; /* Dark Accents */
    --color-accent: #d32f2f; /* Rugged Red */
    --color-accent-hover: #b71c1c;
    --color-dark-grey: #fdfdfd; /* White Card background */
    --color-medium-grey: #f5f5f5; /* Subtle card/section details */
    --color-light-grey: #fafafa; /* Page background / secondary section background */
    --color-text-main: #1a1a1a; /* Dark charcoal for body copy */
    --color-text-muted: #666666; /* Slate gray for captions and details */
    --color-border: #e8e8e8; /* Soft light gray borders */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1300px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-premium: 0 12px 35px rgba(0, 0, 0, 0.08); /* Ultra-soft premium light shadow */
}

/* =========================================
   2. RESET & GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px; /* Offset for sticky header height */
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-text-main);
    line-height: 1.6;
}

/* Force 16px font size on inputs to prevent iOS Safari auto-zoom issues */
input, select, textarea, .header-search-input {
    font-size: 16px !important;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

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

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header {
    background-color: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-accent);
    box-shadow: var(--shadow-premium);
}

.main-header {
    padding: 15px 0;
    background: #ffffff;
}

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

.header-logo img {
    height: 55px;
    filter: brightness(1.2);
}

.header-search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
}

.header-search-input {
    width: 100%;
    padding: 12px 20px;
    background: var(--color-dark-grey);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: white;
    font-family: inherit;
}

.header-search-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.mobile-toggle {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   4. TWO-WAY FILTERING UI
   ========================================= */
.filter-section {
    background: var(--color-dark-grey);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.filter-group {
    margin-bottom: var(--spacing-md);
}

.filter-group h4 {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 15px;
    text-align: center;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.filter-card {
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    border: 1.5px solid var(--color-border);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    user-select: none;
}

.filter-card i {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.filter-card span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none;
}

.filter-card:hover,
.filter-card.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.filter-card:hover i,
.filter-card.active i {
    color: white;
}

/* =========================================
   5. PRODUCT GRID & CARDS
   ========================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--color-dark-grey);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-accent);
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.status-badge.in-stock { background: #2e7d32; color: white; }
.status-badge.out-of-stock { background: #c62828; color: white; }
.status-badge.waiting-for-design { background: #f9a825; color: black; }

.product-image {
    height: 250px;
    position: relative;
    background: #ffffff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1; /* Pure opacity for white theme clarity */
}

.design-ref-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(211, 47, 47, 0.95);
    color: white;
    font-size: 0.7rem;
    padding: 8px;
    text-align: center;
    font-weight: 600;
}

.product-info {
    padding: 18px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.1rem;
    margin: 8px 0;
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.product-actions {
    padding: 0 20px 20px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* =========================================
   6. LOCATION PROMPT
   ========================================= */
.location-prompt {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--color-dark-grey);
    border: 1px solid var(--color-accent);
    padding: 20px;
    border-radius: 12px;
    z-index: 2000;
    box-shadow: var(--shadow-premium);
    animation: slideInLeft 0.5s ease forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.location-prompt-content p {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.location-buttons {
    display: flex;
    gap: 10px;
}

.location-buttons button {
    background: #222;
    border: 1px solid var(--color-border);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.location-buttons button:hover {
    background: var(--color-accent);
}

.close-prompt {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

/* =========================================
   7. SLIDE-OUT MENU
   ========================================= */
/* =========================================
   7. SLIDE-OUT MENU
   ========================================= */
.slide-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.slide-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slide-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--color-primary);
    z-index: 1999;
    transition: var(--transition-smooth);
    padding: 40px 20px 0;
    border-left: 2px solid var(--color-accent);
    display: flex;
    flex-direction: column;
}

.slide-menu.active {
    right: 0;
}

.slide-menu-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.slide-menu-links a,
.slide-menu-links .slide-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.slide-menu-links a:hover,
.slide-menu-links .slide-menu-link:hover {
    color: var(--color-accent);
}

/* Red ribbon at the bottom of the full screen menu */
.red-ribbon {
    background-color: var(--color-accent);
    height: 15px;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-top: auto;
    flex-shrink: 0;
    z-index: 10;
}

/* Slide Menu Header (Logo and Close) */
.slide-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.slide-menu-close {
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    font-weight: 300;
}

.slide-menu-close:hover {
    color: var(--color-accent);
}

.slide-menu-logo img {
    height: 45px;
}

/* Full screen menu overlay on mobile with WHITE background */
@media (max-width: 768px) {
    .slide-menu {
        width: 100vw;
        right: -100vw;
        border-left: none;
        padding: 80px 30px 0; /* Space for close button and bottom ribbon */
        background: #ffffff; /* White background */
        align-items: center;
        text-align: center;
        overflow-y: auto;
    }
    
    .slide-menu.active {
        right: 0;
    }

    .slide-menu-header {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
        margin-bottom: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .red-ribbon {
        width: calc(100% + 60px);
        margin-left: -30px;
        margin-right: -30px;
    }

    .slide-menu-close {
        font-size: 2.8rem;
        color: #111111; /* Dark close button */
    }

    .slide-menu-close:hover {
        color: var(--color-accent);
    }

    .slide-menu-links {
        width: 100%;
        margin-top: 40px;
    }

    .slide-menu-links a,
    .slide-menu-links .mobile-link,
    .slide-menu-links .slide-menu-link {
        font-size: 1.6rem;
        margin-bottom: 25px;
        padding-bottom: 12px;
        font-weight: 800;
        color: #111111; /* Dark text link */
        border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Darker thin divider */
    }

    .slide-menu-links a:hover,
    .slide-menu-links .mobile-link:hover,
    .slide-menu-links .slide-menu-link:hover {
        color: var(--color-accent);
        padding-left: 0;
        border-bottom-color: var(--color-accent);
    }

    /* Accordion adjustments for full screen view */
    .mobile-accordion {
        width: 100%;
        margin-bottom: 25px;
    }

    .accordion-toggle {
        font-size: 1.6rem;
        font-weight: 800;
        text-transform: uppercase;
        color: #111111; /* Dark toggle text */
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 12px;
        justify-content: center;
        gap: 12px;
        background: none;
        width: 100%;
        border-left: none;
        border-right: none;
        border-top: none;
        cursor: pointer;
    }

    .accordion-toggle:hover {
        color: var(--color-accent);
    }

    .accordion-content {
        padding-left: 0;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 8px;
    }

    .accordion-content a {
        font-size: 1.2rem;
        border-bottom: none;
        padding: 5px 0;
        margin-bottom: 10px;
        color: #444444; /* Secondary dark gray for submenu links */
    }
    
    .accordion-content a:hover {
        color: var(--color-accent);
    }
}


/* =========================================
   8. BUSHVELD BACKGROUNDS
   ========================================= */
.bushveld-section {
    position: relative;
    background-image: url('assets/images/hero-slide-1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bushveld-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.bushveld-content {
    position: relative;
    z-index: 1;
}

/* =========================================
   9. DESKTOP NAVIGATION
   ========================================= */
.desktop-nav {
    display: none;
}

@media (min-width: 992px) {
    .mobile-toggle {
        display: none !important;
    }
    .desktop-nav {
        display: block;
    }
    .desktop-nav ul {
        display: flex;
        gap: 30px;
        align-items: center;
    }
    .desktop-nav > ul > li {
        position: relative;
    }
    .desktop-nav a {
        color: #1a1a1a;
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        padding: 10px 0;
        display: flex;
        align-items: center;
        letter-spacing: 0.5px;
    }
    .desktop-nav a:hover {
        color: var(--color-accent);
    }
    
    /* Dropdown Styles */
    .desktop-nav .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-dark-grey);
        min-width: 250px;
        box-shadow: var(--shadow-premium);
        border: 1px solid var(--color-border);
        border-top: 3px solid var(--color-accent);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 100;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    .desktop-nav .has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .desktop-nav .dropdown li {
        width: 100%;
    }
    .desktop-nav .dropdown a {
        padding: 10px 20px;
        font-size: 0.85rem;
        text-transform: none;
        border-bottom: 1px solid var(--color-border);
    }
    .desktop-nav .dropdown li:last-child a {
        border-bottom: none;
    }
    .desktop-nav .dropdown a:hover {
        background: #222;
        padding-left: 25px; /* Slight indent on hover */
    }
}

/* =========================================
   10. MOBILE ACCORDION MENU
   ========================================= */
.mobile-accordion {
    margin-bottom: 20px;
}
.accordion-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-family: inherit;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.accordion-toggle:hover {
    color: var(--color-accent);
}
.accordion-toggle i:last-child {
    transition: transform 0.3s ease;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}
.accordion-content.expanded {
    max-height: 1000px; /* Arbitrary large height to fit all links */
    margin-top: 15px;
}
.accordion-content a {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.accordion-content a:hover {
    color: var(--color-accent);
}
.mobile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 700;
    color: #1a1a1a;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mobile-link:hover {
    color: var(--color-accent);
}

/* =========================================
   11. HERO SLIDER
   ========================================= */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-slider-section .hero-slider {
    width: 100%;
    aspect-ratio: 1600 / 900;
    max-height: 80vh;
    position: relative;
}
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}
.slider-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Dark overlay on second slide for better text contrast */
.slide-second .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    z-index: 2;
}

/* Specific positioning for secondimageslide (wider aspect ratio) */
.slide-second .slide-bg {
    object-position: center 35%;
}

@media (max-width: 768px) {
    /* On mobile, show the full second image without cropping (letterboxed on dark bg) */
    .slide-second .slide-bg {
        object-fit: contain;
        object-position: center;
        background: #000;
    }
}
.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
}
.slide-content h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.slide-content p {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 2px;
}

/* Slider Controls: Tap arrows left & right */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

.prev-arrow {
    left: 30px;
}

.next-arrow {
    right: 30px;
}

@media (max-width: 768px) {
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 1rem; }
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .prev-arrow {
        left: 15px;
    }
    .next-arrow {
        right: 15px;
    }
}

@media (min-width: 769px) {
    .hero-slider-section .hero-slider {
        max-height: 95vh;
    }
    .slide-bg {
        object-position: center 30%;
    }
}


/* =========================================
   12. FEATURED CATEGORIES
   ========================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.category-card-lg {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-border);
}
.category-card-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card-lg:hover img {
    transform: scale(1.1);
}
.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    z-index: 2;
}
.cat-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.cat-overlay p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}
.cat-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
}
.category-card-lg:hover .cat-link i {
    transform: translateX(5px);
}
.cat-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

/* =========================================
   13. NEW GENERAL & RESPONSIVE STYLES
   ========================================= */
.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--color-accent);
    color: white;
    font-weight: 700;
    border-radius: 4px;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

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

/* About / History Section */
.about-section {
    background: var(--color-dark-grey);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-text-main);
    line-height: 1.7;
}

.about-text {
    margin-bottom: 25px;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.about-subheading {
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
    width: 100%;
}

/* Mobile Responsiveness Overrides */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-slider-section .hero-slider {
        aspect-ratio: 1600 / 900;
        max-height: 50vh;
        min-height: 250px;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.95rem;
        margin-top: 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1; /* Place image on top on mobile for better flow */
    }

    .header-logo img {
        height: 45px;
    }

    .main-header {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr); /* 2-column mobile layout */
        gap: 15px;
    }
    
    .product-card {
        border-radius: 8px;
    }
    
    .product-image {
        height: 160px; /* Shorter image height on mobile for 2-column balance */
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 0.95rem;
        margin: 5px 0;
        line-height: 1.3;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .product-actions {
        padding: 0 12px 12px;
    }
    
    .btn-whatsapp {
        padding: 8px;
        font-size: 0.8rem;
        gap: 5px;
        border-radius: 4px;
    }
    
    .status-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
        top: 8px;
        right: 8px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card-lg {
        height: 280px;
    }

    .about-subheading {
        font-size: 1.4rem;
    }
}

/* =========================================
   14. REDESIGNED STICKY TOP RIBBON
   ========================================= */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* =========================================
   15. MANUFACTURING PROCESS TIMELINE
   ========================================= */
.manufacturing-section {
    background-color: var(--color-primary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    background: var(--color-dark-grey);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-premium);
}

.process-step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.process-icon {
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-top: 10px;
    margin-bottom: 20px;
}

.process-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.process-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* =========================================
   16. TRUST BUILDER TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    background-color: var(--color-light-grey);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    position: relative;
}

.testimonial-stars {
    color: #ffb300;
    margin-bottom: 15px;
    font-size: 1rem;
}

.testimonial-quote {
    font-style: italic;
    color: var(--color-text-main);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-size: 0.95rem;
    margin: 0;
    color: var(--color-secondary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* =========================================
   17. ANIMATED FLOATING WHATSAPP SYSTEM
   ========================================= */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
}

/* Pulsating shadow animation */
.whatsapp-float-trigger::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsapp-pulse 1.8s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-float-trigger:hover {
    transform: scale(1.08);
    background-color: #128C7E;
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.5);
}

.whatsapp-float-trigger.active {
    transform: rotate(135deg);
    background-color: #333333;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.whatsapp-float-trigger.active::after {
    display: none;
}

.whatsapp-popup-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    padding: 10px 0;
}

.whatsapp-popup-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-menu-header {
    padding: 10px 20px 15px;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 8px;
}

.whatsapp-menu-header h4 {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
    letter-spacing: 0.5px;
}

.whatsapp-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333333;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-menu-item i {
    font-size: 1.1rem;
    color: var(--color-accent);
}

.whatsapp-menu-item:hover {
    background: #f9f9f9;
    color: var(--color-accent);
    padding-left: 25px;
}

@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-trigger {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .whatsapp-popup-menu {
        bottom: 65px;
        width: 220px;
    }
}

/* =========================================
   11b. FEATURE RIBBON (Bottom Red Ribbon)
   ========================================= */
.feature-ribbon {
    background: var(--color-accent, #d32f2f);
    padding: 20px 0;
    margin-top: 0;
}

.feature-ribbon-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.ribbon-item i,
.ribbon-item .ribbon-icon,
.ribbon-icon-img {
    font-size: 1rem;
    flex-shrink: 0;
    width: 1.1em;
    text-align: center;
}

.ribbon-icon-img {
    height: 1.1em;
    width: auto;
    object-fit: contain;
}

.ribbon-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.35);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .feature-ribbon {
        padding: 14px 0;
    }
    .feature-ribbon-inner {
        flex-wrap: wrap;
        gap: 10px 20px;
        justify-content: center;
        padding: 0 12px;
    }
    .ribbon-item {
        white-space: nowrap;
        font-size: 0.7rem;
        gap: 6px;
        letter-spacing: 0.3px;
    }
    .ribbon-item i,
    .ribbon-item .ribbon-icon,
    .ribbon-icon-img {
        font-size: 0.75rem;
    }
    
    .ribbon-icon-img {
        height: 0.85rem;
        width: auto;
    }
    .ribbon-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .feature-ribbon {
        padding: 16px 0;
    }
    .feature-ribbon-inner {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .ribbon-item {
        font-size: 0.75rem;
        white-space: normal;
        text-align: center;
    }
    .ribbon-icon-img {
        height: 1rem;
        width: auto;
    }
}

/* =========================================
   12. SHOP BY BRAND & OFFROAD ACCESSORIES GRIDS
   ========================================= */
.brand-grid, .accessories-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.brand-card, .accessory-showcase-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.brand-card:hover, .accessory-showcase-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-premium);
}

.brand-logo-img {
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.8;
}

.brand-card:hover .brand-logo-img {
    transform: scale(1.08);
    filter: grayscale(0%);
    opacity: 1;
}

.accessory-showcase-img {
    width: 100%;
    aspect-ratio: 1600 / 900;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.accessory-showcase-card:hover .accessory-showcase-img {
    transform: scale(1.08);
}

.brand-card h3, .accessory-showcase-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brand-card span, .accessory-showcase-card span {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.brand-card:hover span, .accessory-showcase-card:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   13. MOBILE RESPONSIVE 2X2 GRID & CARDS
   ========================================= */
@media (max-width: 992px) {
    .brand-grid, .accessories-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    /* 2x2 layout on mobile for ALL product grids */
    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .product-card {
        border-radius: 8px;
    }
    
    .product-image {
        height: 140px !important;
    }
    
    .product-title {
        font-size: 0.8rem !important;
        margin: 5px 0 !important;
        height: 2.8em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
    }
    
    .product-price {
        font-size: 0.95rem !important;
        font-weight: 800;
    }
    
    .product-info {
        padding: 8px !important;
    }
    
    .product-category {
        font-size: 0.6rem !important;
    }
    
    .product-actions {
        padding: 0 8px 8px !important;
    }
    
    .btn-whatsapp {
        padding: 8px !important;
        font-size: 0.7rem !important;
        gap: 4px !important;
    }
    
    .status-badge {
        font-size: 0.55rem !important;
        padding: 2px 6px !important;
        top: 6px !important;
        right: 6px !important;
    }
    
    .brand-grid, .accessories-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .brand-card, .accessory-showcase-card {
        padding: 20px 10px;
        min-height: 140px;
    }
    
    .brand-logo-img {
        height: 45px;
        margin-bottom: 12px;
    }
    
    .accessory-showcase-img {
        margin-bottom: 10px;
        aspect-ratio: 1600 / 900;
    }
    
    .brand-card h3, .accessory-showcase-card h3 {
        font-size: 0.85rem;
    }
}

