/* ==========================================================================
   1. CORE GLOBAL VARIABLES & RESETS
   ========================================================================== */
:root {
    --red: #ce1a1a;
    --dark: #222222;
    --grey: #f5f5f5;
    --border: #eeeeee;
    --white: #ffffff;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
}

body { 
    background: #fff; 
    color: var(--dark); 
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: auto; 
}

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

/* ==========================================================================
   2. HEADER & NAVIGATION (DESKTOP)
   ========================================================================== */
.header-top { background: var(--dark); color: #ccc; padding: 8px 0; font-size: 13px; }
.header-top a { color: #ccc; margin-left: 15px; text-decoration: none; }

.main-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 15px 0; }
.sticky { position: sticky; top: 0; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.logo { display: flex; align-items: center; }
.site-logo { max-height: 50px; width: auto; display: block; transition: transform 0.3s ease; }
.brand-text { font-size: 24px; font-weight: 800; color: var(--dark); letter-spacing: -1px; white-space: nowrap; }
.brand-text span { color: var(--red); }

.nav-links { display: flex; list-style: none; }
.nav-links li { padding: 10px 20px; position: relative; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; text-transform: uppercase; font-size: 14px; }
.nav-links a:hover { color: var(--red); }
.active-link { color: var(--red) !important; }

/* Mega Menu Engine */
.mega-menu {
    position: absolute; 
    top: 100%; 
    left: -380px; 
    width: 890px;
    background: var(--white); 
    border-top: 3px solid var(--red);
    display: none; 
    grid-template-columns: repeat(4, 1fr);
    padding: 25px 25px 80px 25px; /* Increased bottom padding to 80px to hold bottom dropdowns */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    max-height: calc(100vh - 120px); 
    overflow-y: auto; 
    scrollbar-width: thin;
}
.has-mega:hover .mega-menu { display: grid; }
.mega-col h4 { border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 15px; font-size: 15px; color: var(--red); }
.mega-col a { display: block; font-size: 13px; padding: 5px 0; color: #555; text-transform: capitalize; }

.featured-item { text-align: center; padding: 10px; }
.featured-item img { max-width: 150px !important; height: auto; border-radius: 8px; margin-bottom: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: inline-block; }
.featured-item p { font-size: 13px; font-weight: 600; color: #333; margin-top: 5px; }
/* Ensure parent retains active hover connection across the expanded height */
li.has-mega {
    position: relative;
}

/* Make sure the mega menu stays visible while moving mouse inside it */
li.has-mega:hover .mega-menu {
    display: grid;
}

/* Nested Dropdowns Level-2 */
.nested-submenu-container { 
    position: relative; 
    display: block; 
	margin-bottom: 5px;
}

.nested-trigger i { 
    font-size: 11px; 
    margin-left: 5px; 
    transition: transform 0.3s ease; 
}

/* Opens downward inside the column as regular */
.nested-links {
    display: none;
    padding-left: 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.02);
    border-left: 2px solid #d9232d;
}

.nested-submenu-container {
    position: relative;
    padding-bottom: 2px;
}

.nested-submenu-container:hover .nested-links { 
    display: flex; 
    flex-direction: column; 
}

.nested-submenu-container:hover .nested-trigger i { 
    transform: rotate(180deg); 
}

.nested-links a { 
    padding: 6px 0 6px 10px !important; 
    font-size: 13px !important; 
    color: #555 !important; 
}

.nested-links a:hover { 
    color: #d9232d !important; 
}


/* Action Buttons */
.header-actions { display: flex; align-items: center; gap: 20px; }
.search-box { display: flex; background: var(--grey); border-radius: 20px; padding: 5px 15px; border: 1px solid var(--border); }
.search-box input { border: none; background: transparent; padding: 5px; outline: none; font-size: 13px; width: 150px; }
.search-box button { border: none; background: transparent; color: var(--dark); cursor: pointer; }
.enquiry-pill { background: var(--red); color: white !important; padding: 8px 20px; border-radius: 25px; text-decoration: none; font-weight: bold; font-size: 13px; transition: 0.3s; text-transform: uppercase; }
.enquiry-pill:hover { background: var(--dark); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

.mobile-menu-toggle, .close-menu { display: none; }

/* ==========================================================================
   3. HERO SLIDER SECTION
   ========================================================================== */
.hero-premium.slider-wrapper { position: relative; background: #0f0f0f; min-height: 600px; overflow: hidden; }
.slider-container { height: 100%; width: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; display: flex; align-items: center; transition: opacity 1s ease-in-out; background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 45%, #2a2a2a 100%); }
.slide.active { opacity: 1; visibility: visible; }

.hero-wrapper { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; gap: 0; }
.hero-text-side { flex: 0 0 50%; z-index: 10; position: relative; }
.hero-text-side h1 { font-size: 56px; font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 35px; letter-spacing: -1px; }
.hero-text-side h1 span { color: #888; }
.hero-text-side h1 span.highlight { color: #e41e26; }

.btn-catalog { display: inline-flex; align-items: center; background: linear-gradient(180deg, #444 0%, #222 100%); color: #fff; padding: 18px 35px; text-decoration: none; font-weight: 700; font-size: 18px; border-radius: 6px; border: 1px solid #555; box-shadow: 0 10px 20px rgba(0,0,0,0.4); transition: 0.3s ease; margin-bottom: 40px; }
.btn-catalog i { margin-left: 15px; font-size: 16px; }
.btn-catalog:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(228, 30, 38, 0.3); border-color: #e41e26; }

.hero-trust-indicators { display: flex; gap: 25px; }
.hero-trust-indicators span { color: #ccc; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hero-trust-indicators i { color: #fff; }

.hero-image-side { flex: 0 0 50%; display: flex; justify-content: flex-end; align-items: center; }
.hero-image-side img { max-width: 120%; width: auto; height: auto; object-fit: contain; margin-right: -15%; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8)); }

.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 100; }
.dot { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.3); border-radius: 50%; cursor: pointer; transition: 0.3s ease; }
.dot.active { background: #e41e26; width: 30px; border-radius: 10px; }

.btn-red { background: var(--red); color: white; padding: 15px 35px; text-decoration: none; font-weight: bold; border-radius: 4px; display: inline-block; margin-right: 15px; transition: 0.3s; }
.btn-red:hover { background: #a51414; }
.btn-video { border: 2px solid white; color: white; padding: 13px 35px; text-decoration: none; font-weight: bold; border-radius: 4px; }

/* Entrance Animations */
.slide.active .hero-text-side { animation: slideUpFade 0.8s ease forwards 0.3s; }
.slide.active .hero-image-side img { animation: zoomFade 1s ease forwards; }

/* ==========================================================================
   4. LAYOUT MODULES & COMPONENTS
   ========================================================================== */
/* Feature Strip */
.feature-strip { display: flex; justify-content: space-around; background: var(--white); padding: 40px 0; margin-top: -20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px;position: relative;
    z-index: 20; }
.feature-item { display: flex; align-items: center; gap: 15px; }
.feature-item i { font-size: 35px; color: var(--red); }
.feature-item h3 { font-size: 16px; margin-bottom: 2px; }
.feature-item p { font-size: 12px; color: #777; }

/* Shop / Grid Templates */
.shop-section { padding: 60px 0; }
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.shop-layout-wrapper { display: flex; gap: 40px; align-items: flex-start; }

/* Filter Sidebar System */
.filter-sidebar { flex: 0 0 280px; }
.widget, .filter-widget { border: 1px solid var(--border); padding: 25px; margin-bottom: 30px; background: #fff; }
.widget h3, .filter-widget h4 { font-size: 16px; margin-bottom: 20px; color: var(--dark); border-bottom: 2px solid var(--red); display: inline-block; padding-bottom: 5px; text-transform: uppercase; }
.category-list, .filter-links { list-style: none; }
.category-list li, .filter-links li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.category-list li a, .filter-links li a { text-decoration: none; color: #666; font-size: 14px; display: flex; justify-content: space-between; transition: 0.3s; }
.category-list li a:hover, .filter-links li a:hover { color: var(--red); padding-left: 5px; }
.filter-links a.active { color: var(--red); font-weight: bold; }
.filter-checkbox { display: block; margin-bottom: 10px; cursor: pointer; font-size: 14px; color: #555; }
.filter-checkbox input { accent-color: var(--red); margin-right: 10px; }

.promo-banner, .sidebar-promo { background: var(--dark); color: white; padding: 25px; text-align: center; border: none; border-radius: 4px; }
.promo-banner h4, .sidebar-promo h5 { color: var(--red); margin-bottom: 10px; font-size: 18px; }
.sidebar-promo a { color: white; font-weight: bold; text-decoration: none; }
.btn-sm-red { background: var(--red); color: white; text-decoration: none; padding: 8px 15px; display: inline-block; margin-top: 15px; font-size: 12px; font-weight: bold; }

/* Core Catalog Product Grid */
.grid-header, .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 15px; width: 100%; }
.sort-dropdown { padding: 8px; border: 1px solid var(--border); outline: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; width: 100%; }

/* Product Cards */
.product-card { border: 1px solid var(--border); position: relative; transition: 0.3s; background: white; padding: 15px; }
.product-card:hover { border-color: var(--red); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.img-box { height: 200px; background: #fafafa; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; border-radius: 4px; margin-bottom: 15px; }
.img-box img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: 0.5s; }
.product-card:hover .img-box img { transform: scale(1.05); }

.hover-actions { position: absolute; bottom: -50px; left: 0; width: 100%; display: flex; justify-content: center; gap: 10px; transition: 0.3s; padding: 10px; }
.product-card:hover .hover-actions { bottom: 0; background: rgba(255,255,255,0.8); }
.hover-actions button { background: var(--dark); color: white; border: none; width: 40px; height: 40px; cursor: pointer; border-radius: 50%; }
.hover-actions button:hover { background: var(--red); }
.badge-new { position: absolute; top: 10px; left: 10px; background: #27ae60; color: white; padding: 3px 10px; font-size: 10px; font-weight: bold; z-index: 5; }

.product-details { padding: 10px 0; text-align: center; }
.cat-name { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.product-details h4 { font-size: 16px; margin: 10px 0; color: var(--dark); }
.capacity { font-size: 13px; color: var(--red); font-weight: bold; margin-bottom: 15px; }
.btn-enquire { border: 1px solid var(--red); color: var(--red); text-decoration: none; padding: 8px 15px; display: inline-block; font-size: 13px; font-weight: bold; transition: 0.3s; }
.btn-enquire:hover { background: var(--red); color: white; }

/* Utilities */
.section-header-center { text-align: center; margin-bottom: 50px; }
.section-header-center h2 { font-size: 32px; color: var(--dark); text-transform: uppercase; }
.section-header-center span { color: var(--red); font-weight: bold; font-size: 14px; letter-spacing: 2px; }

/* ==========================================================================
   5. BANNERS & ACCORDIONS COMPONENTS
   ========================================================================== */
/* Inline Ad Strip */
.ad-strip { position: relative; background: url('images/factory-bg.jpg') no-repeat center center/cover; background-attachment: fixed; padding: 80px 0; margin: 60px 0; color: #fff; overflow: hidden; }
.ad-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(228, 30, 38, 0.95) 0%, rgba(34, 34, 34, 0.9) 100%); z-index: 1; }
.ad-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.ad-text h2 { font-size: 36px; margin-bottom: 15px; line-height: 1.2; }
.ad-text h2 span { color: #ffd700; }
.ad-badge { background: rgba(255, 255, 255, 0.2); padding: 5px 15px; border-radius: 50px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 20px; }
.ad-features { display: flex; gap: 20px; margin-top: 25px; }
.ad-features span { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.ad-action { display: flex; flex-direction: column; gap: 15px; min-width: 250px; }
.btn-white-outline { border: 2px solid #fff; color: #fff; padding: 12px 25px; text-align: center; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-solid-white { background: #fff; color: #e41e26; padding: 12px 25px; text-align: center; text-decoration: none; font-weight: 700; transition: 0.3s; }
.btn-white-outline:hover { background: #fff; color: #e41e26; }
.btn-solid-white:hover { background: #222; color: #fff; border-color: #222; }

/* Mid-Grid Content Display Banner */
.center-ad-banner { display: flex; align-items: center; background: linear-gradient(135deg, #fdfdfd 0%, #f0f0f0 100%); border-radius: 15px; margin: 40px 0; padding: 30px; border: 1px solid #e0e0e0; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.banner-graphics { flex: 1; text-align: center; }
.banner-graphics img { max-width: 280px; height: auto; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); transition: transform 0.3s ease; }
.center-ad-banner:hover .banner-graphics img { transform: translateY(-10px) scale(1.05); }
.banner-info { flex: 1.5; padding-left: 30px; }
.banner-tag { background: #e41e26; color: #fff; padding: 4px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; border-radius: 4px; display: inline-block; margin-bottom: 15px; }
.banner-info h2 { font-size: 28px; color: #222; line-height: 1.2; margin-bottom: 10px; }
.banner-info h2 strong { color: #e41e26; display: block; }
.banner-info p { font-size: 15px; color: #666; margin-bottom: 20px; max-width: 400px; }
.banner-meta { display: flex; gap: 20px; margin-bottom: 25px; }
.banner-meta span { font-size: 13px; color: #444; font-weight: 600; }
.banner-meta i { color: #e41e26; margin-right: 5px; }
.btn-banner-main { display: inline-block; background: #222; color: #fff; padding: 12px 30px; text-decoration: none; font-weight: 700; border-radius: 5px; transition: 0.3s; }
.btn-banner-main:hover { background: #e41e26; transform: scale(1.05); }

/* Premium Features Lists Grid */
.cs-premium-features-section { width: 100%; max-width: 1200px; margin: 50px auto; padding: 20px; box-sizing: border-box; }
.cs-premium-features-section .section-title { font-size: 24px; font-weight: 700; color: #2c3e50; text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 35px; }
.cs-premium-features-section .features-grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.cs-premium-features-section .feature-card-item { background-color: #fbfbfb; border-radius: 4px; padding: 25px 25px 30px 25px; border-left: 4px solid #d9232d; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cs-premium-features-section .feature-card-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.cs-premium-features-section .card-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 12px 0; font-size: 18px; font-weight: 700; color: #d9232d; line-height: 1.3; }
.cs-premium-features-section .icon-red { color: #d9232d; font-size: 16px; flex-shrink: 0; }
.cs-premium-features-section .card-description { margin: 0; font-size: 14px; line-height: 1.65; color: #555555; font-weight: 400; }

.full-width-features { width: 100%; margin: 40px 0; padding: 20px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.full-width-features h2 { font-size: 24px; color: #333; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 0.5px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.feat-card { background: #fafafa; padding: 20px; border-radius: 6px; border-left: 4px solid #d9232d; }
.feat-card h3 { margin: 0 0 10px 0; font-size: 16px; color: #333; display: flex; align-items: center; font-weight: bold; }
.feat-card h3 i { margin-right: 10px; font-size: 14px; color: #d9232d; }
.feat-card p { margin: 0; font-size: 14px; line-height: 1.6; color: #555; }

/* ==========================================================================
   6. INNER PAGES (ABOUT, PRODUCT DETAILS, CONTACT)
   ========================================================================== */
/* Breadcrumbs Layout */
.breadcrumb-area {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

/* Let the image define natural banner height */
.breadcrumb-area .banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dark Overlay */
.breadcrumb-area .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* Align content to the bottom of the banner */
.breadcrumb-area .container {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    text-align: center;
    box-sizing: border-box;
}

.breadcrumb-area .page-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.breadcrumb-area .breadcrumb-links {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: #ffffff;
}

.breadcrumb-area .breadcrumb-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-area .breadcrumb-links a:hover {
    color: #e41e26;
}

.breadcrumb-area .separator {
    margin: 0 8px;
    color: #ffffff;
}

.breadcrumb-area .current-page {
    color: #e41e26;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .breadcrumb-area .container {
        bottom: 15px;
    }

    .breadcrumb-area .page-title {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .breadcrumb-area .breadcrumb-links {
        font-size: 11px;
    }
}
.breadcrumb-area h1 { font-size: clamp(24px, 5vw, 42px); margin-bottom: 15px; font-weight: 700; text-transform: uppercase; color: #ffffff; }
.breadcrumb-area p { font-size: 18px; margin: 0; color: #b0b0b0; }
.breadcrumb-area p a { color: #ff4d4d; text-decoration: none; transition: 0.3s; }
.breadcrumb-area p a:hover { color: #ffffff; }

/* About Page Structure */
.about-story { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: 5px; box-shadow: 20px 20px 0px var(--grey); }
.experience-badge { position: absolute; bottom: -30px; right: -30px; background: var(--red); color: white; padding: 30px; text-align: center; border-radius: 5px; }
.experience-badge h2 { font-size: 40px; }
.sub-title { color: var(--red); font-weight: bold; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; }
.about-text h2 { font-size: 38px; margin: 15px 0 25px; line-height: 1.2; }
.about-text p { color: #666; line-height: 1.8; margin-bottom: 20px; }
.check-list { list-style: none; margin: 30px 0; }
.check-list li { margin-bottom: 15px; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.check-list i { color: var(--red); font-size: 20px; }

.why-choose-us { background: var(--dark); color: white; padding: 80px 0; }
.why-choose-us .section-header-center h2 { color: white; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.value-item { background: #2a2a2a; padding: 40px; border-radius: 5px; transition: 0.3s; text-align: center; }
.value-item:hover { background: var(--red); transform: translateY(-10px); }
.value-item i { font-size: 45px; margin-bottom: 20px; color: var(--red); }
.value-item:hover i { color: white; }
.value-item h3 { margin-bottom: 15px; }
.value-item p { font-size: 14px; color: #bbb; }
.value-item:hover p { color: white; }

.factory-gallery { padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 15px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 4px; cursor: pointer; }
.gallery-item.large { grid-row: span 2; grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(206, 26, 26, 0.85); display: flex; align-items: center; justify-content: center; text-align: center; color: white; opacity: 0; transition: 0.4s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }
.overlay-content h4 { font-size: 18px; margin-bottom: 5px; transform: translateY(20px); transition: 0.4s ease; }
.overlay-content p { font-size: 13px; margin-bottom: 15px; transform: translateY(20px); transition: 0.5s ease; }
.gallery-item:hover .overlay-content h4, .gallery-item:hover .overlay-content p { transform: translateY(0); }
.overlay-content i { font-size: 24px; background: white; color: var(--red); width: 50px; height: 50px; line-height: 50px; border-radius: 50%; }

/* Product Details Page Components */
.product-main { padding: 50px 0; }
.product-essential { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 80px; }
.main-img-container { background: var(--grey); border: 1px solid var(--border); padding: 40px; border-radius: 4px; text-align: center; }
.main-img-container img { max-width: 100%; height: auto; }
.thumb-list { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.thumb { width: 80px; height: 80px; border: 2px solid #ddd; cursor: pointer; object-fit: cover; transition: all 0.3s ease; border-radius: 4px; }
.thumb.active { border-color: #e31e24; transform: scale(1.05); }
.thumb:hover { border-color: #999; }

.sku { font-weight: bold; color: #999; font-size: 13px; }
.product-summary h1 { font-size: 32px; margin: 10px 0; line-height: 1.2; }
.rating-row { color: #f1c40f; font-size: 14px; margin-bottom: 20px; }
.rating-row span { color: #888; margin-left: 10px; }
.short-desc { line-height: 1.7; color: #555; margin-bottom: 25px; }
.key-features { background: #fafafa; padding: 20px; border-left: 4px solid var(--red); margin-bottom: 30px; }
.feat { margin-bottom: 10px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.feat i { color: var(--red); }
.btn-red-large { background: var(--red); color: white; padding: 18px 40px; text-decoration: none; display: inline-block; font-weight: bold; font-size: 16px; text-transform: uppercase; margin-right: 15px; }
.btn-download { border: 2px solid var(--dark); color: var(--dark); padding: 16px 30px; text-decoration: none; display: inline-block; font-weight: bold; }

.tab-headers { border-bottom: 2px solid var(--border); margin-bottom: 30px; }
.tab-btn { background: none; border: none; padding: 15px 30px; font-weight: bold; cursor: pointer; color: #888; font-size: 16px; border-bottom: 3px solid transparent; transition: 0.3s; }
.tab-btn.active { color: var(--red); border-bottom: 3px solid var(--red); }
.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }

.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 20px; }
.technical-table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--border); min-width: 600px; font-size: 14px; }
.technical-table th, .technical-table td { border: 1px solid #ddd; padding: 12px; text-align: center !important; vertical-align: middle !important; }
.technical-table th { background-color: #f8f8f8; font-weight: bold; text-align: center !important; }
.technical-table td:first-child { background: var(--grey); font-weight: bold; color: var(--dark); width: 200px; text-align: left !important; }
.technical-table tr:nth-child(even) { background-color: #fafafa; }
.video-placeholder { background: var(--dark); color: white; height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px; }
.video-placeholder i { font-size: 60px; color: var(--red); margin-bottom: 15px; cursor: pointer; }

/* Contact Page Layout */
.contact-hero { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/factory-bg.jpg'); background-size: cover; color: white; padding: 80px 0; text-align: center; }
.contact-grid { display: grid; grid-template-columns: 400px 1fr; gap: 30px; margin: -50px auto 60px; position: relative; z-index: 10; }
.contact-info-card { background: #d30000; color: white; padding: 40px; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
/* Card Container Heading */
.contact-info-card h3 {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Individual Location Cards */
.location-block {
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #ffffff;
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.location-block:last-child {
    margin-bottom: 0;
}

.location-block h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.location-block h4 i {
    font-size: 15px;
}

.location-block .address {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    opacity: 0.9;
}

/* Icons & Interactive Contact Links */
.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 6px;
}

.contact-line i {
    width: 16px;
    text-align: center;
    opacity: 0.85;
}

.contact-line a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.contact-line a:hover {
    text-decoration: underline;
    opacity: 0.85;
}
.enquiry-form-container { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #333; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 16px; }
.btn-submit { background: #d30000; color: white; border: none; padding: 15px 30px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: background 0.3s; }
.btn-submit:hover { background: #b00000; }

/* Media Elements */
.client-bar { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 60px; }
.client-track { display: flex; justify-content: space-between; align-items: center; /*filter: grayscale(100%); opacity: 0.6;*/ }
.client-track img { height: 70px; transition: 0.3s; }
.client-track img:hover { filter: grayscale(0%); opacity: 1; }

.video-demos { background: var(--grey); padding: 80px 0; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.video-thumb { position: relative; border-radius: 8px; overflow: hidden; height: 300px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--red); color: white; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; text-decoration: none; box-shadow: 0 0 20px rgba(206, 26, 26, 0.4); transition: 0.3s; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.video-card h4 { margin-top: 20px; font-size: 18px; color: var(--dark); }

.testimonials { padding: 80px 0; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.test-card { background: var(--white); border: 1px solid var(--border); padding: 40px; border-bottom: 4px solid var(--red); }
.rating { color: #f1c40f; margin-bottom: 15px; font-size: 14px; }
.test-card p { font-style: italic; color: #555; line-height: 1.8; margin-bottom: 25px; font-size: 16px; }
.user-details h4 { font-size: 18px; color: var(--dark); margin-bottom: 2px; }
.user-details span { color: var(--red); font-size: 13px; font-weight: 600; }

/* ==========================================================================
   7. FOOTER MODULES
   ========================================================================== */
.main-footer { background: #1a1a1a; color: #b0b0b0; padding: 70px 0 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: var(--white); font-size: 18px; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--red); }
.footer-logo { font-size: 26px; font-weight: 800; color: var(--white); margin-bottom: 20px; }
.footer-logo span { color: var(--red); }
.footer-col p { 
  line-height: 1.6; 
  margin-bottom: 20px; 
}

/* Link color & hover rules */
.footer-col a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #ff0000;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #b0b0b0; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--red); padding-left: 5px; }
.contact-info p { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.contact-info i { color: var(--red); }

.footer-newsletter { display: flex; margin-top: 15px; }
.footer-newsletter input { padding: 12px; border: none; background: #2a2a2a; color: white; width: 100%; }
.footer-newsletter button { background: var(--red); color: white; border: none; padding: 0 20px; cursor: pointer; }

.footer-socials { margin-top: 25px; display: flex; gap: 15px; }
.footer-socials a { width: 35px; height: 35px; background: #2a2a2a; display: flex; align-items: center; justify-content: center; color: white; border-radius: 3px; transition: 0.3s; text-decoration: none; }
.footer-socials a:hover { background: var(--red); }

.footer-bottom { background: #111; padding: 20px 0; border-top: 1px solid #252525; margin-top: 30px; }
.payment-icons { font-size: 24px; display: flex; align-items: center; gap: 15px; }
.payment-icons span { font-size: 12px; border-left: 1px solid #333; padding-left: 15px; color: #666; }

.product-features-note {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #d30000;
    border-radius: 6px;
}

.note-label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.note-label i {
    color: #d30000;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Global Base Keyframes */
@keyframes slideUpFade { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomFade { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   8. INTEGRATED CONSOLIDATED RESPONSIVE ARCHITECTURE (CASCADING DOWN)
   ========================================================================== */

/* --- A. Desktop Scaling (Max-Width: 1200px) --- */
@media screen and (max-width: 1200px) {
    .mega-menu { width: 820px; left: -350px; }
}

/* --- B. Large Tablets & Small Laptops (Max-Width: 1024px) --- */
@media screen and (max-width: 1024px) {
    .mobile-menu-toggle { display: block; }
    .container { width: 92%; }
    .search-box input { width: 100px; }
    .header-actions { gap: 12px; }
    
    .shop-layout, .shop-layout-wrapper { grid-template-columns: 250px 1fr; gap: 25px; }
    .filter-sidebar { flex: 0 0 240px; }
    
    .hero-slider { height: 500px; padding-left: 5%; }
    .hero-content h1 { font-size: 42px; }
    .video-grid { gap: 20px; }
    .video-thumb { height: 250px; }
    .client-track { flex-wrap: wrap; justify-content: center; gap: 30px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-newsletter { max-width: 100%; }
    .test-card { padding: 30px; }
    .about-grid { gap: 40px; }
    .about-text h2 { font-size: 30px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .overlay-content h4 { font-size: 16px; }
    .overlay-content i { width: 40px; height: 40px; line-height: 40px; font-size: 20px; }
    .product-essential { gap: 30px; }
    .product-summary h1 { font-size: 28px; }
    .technical-table td { padding: 15px; }
}

/* --- C. Standard Tablets & Mobile Navigation Jump (Max-Width: 992px) --- */
@media screen and (max-width: 992px) {
    /* 1. Viewport Structure Reset */
    html, body { overflow-x: hidden !important; width: 100%; }
    
    .has-mega:hover .mega-menu { display: none !important; }
    .header-actions { gap: 8px; }
    .search-box input { display: none; }
    .search-box { padding: 5px; border-radius: 50%; width: 35px; height: 35px; justify-content: center; }
    .enquiry-pill { padding: 6px 12px; font-size: 11px; letter-spacing: 0; }
    
    /* 2. Unified Hamburger & Core Navbar Structural Controls */
    #mobile-toggle { display: flex !important; align-items: center; justify-content: center; font-size: 24px; color: #333; cursor: pointer; padding: 5px; z-index: 1001; }
    .navbar { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; padding: 10px 15px !important; }

    /* 3. Sliding Navigation Drawer Core Styles Configuration */
    ul.nav-links, .nav-links-container, div.nav-menu {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        right: -100% !important;
        width: 300px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 99999 !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out !important;
        overflow-y: auto !important;
        padding: 70px 20px !important;
    }
    
    ul.nav-links.active, .nav-links-container.active, div.nav-menu.active { right: 0 !important; }
    .nav-links li { width: 100% !important; border-bottom: 1px solid #eee !important; padding: 10px 0 !important; list-style: none !important; }
    .nav-links a:hover { color: var(--dark); }

    /* 4. Dropdowns / Accordion Mega Menus Toggles Inside Drawer */
    .nav-links .mega-menu, .nav-links .dropdown-menu {
        display: none !important;
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #fdfdfd !important;
        box-shadow: none !important;
        padding: 10px 15px !important;
        border-top: none !important;
        border-left: 3px solid #e41e26 !important;
    }

    .nav-links li.mobile-open .mega-menu,
    .nav-links li.mobile-open .dropdown-menu,
    .nav-links li.active .mega-menu,
    .nav-links li.active .dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .has-mega.mobile-open .fa-chevron-down { transform: rotate(180deg) !important; color: #e41e26 !important; }

    /* 5. Mobile Dynamic Columns Link Configurations */
    .mega-col, .mega-menu a, .dropdown-menu a {
        display: block !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        color: #555 !important;
        padding: 8px 0 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
    }
    .mega-col { margin-bottom: 20px !important; clear: both; }
    .mega-col h4 { color: var(--red); font-size: 14px !important; text-transform: uppercase !important; border-bottom: 1px solid #eee !important; padding-bottom: 5px !important; margin-bottom: 10px !important; }

    /* Branding Size Fixes */
    .logo { display: flex !important; align-items: center !important; gap: 8px !important; }
    .brand-text { font-size: 18px !important; white-space: nowrap !important; }
    .site-logo { max-height: 30px !important; width: auto !important; }

    /* Content Layout Structure Shift */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .ad-content, .hero-wrapper { flex-direction: column; text-align: center; }
    .ad-features, .hero-trust-indicators { justify-content: center; flex-wrap: wrap; }
    .ad-action, .hero-image-side img { width: 100%; }
    .hero-image-side img { margin-top: 10px; margin-right: 0; max-width: 100%; }
    .hero-text-side h1 { font-size: 42px; }
}

/* --- D. Mobile Landscapes & Medium Views (Max-Width: 768px) --- */
@media screen and (max-width: 768px) {
	
	/* 1. Fix the main layout container */
    .main-content-wrapper, 
    .container-class-name-you-used { /* Replace with your actual wrapper class */
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
        padding: 0 15px;
    }

    /* 2. Force the sidebar to take full width */
    .sidebar, 
    .category-sidebar-class { /* Replace with your sidebar class */
        width: 100% !important;
        margin-bottom: 20px;
    }

    /* 3. Force the product grid area to take full width */
    .product-section, 
    .product-column-class { /* Replace with your products column class */
        width: 100% !important;
    }
    .header-top { display: none; }
    .main-header { padding: 10px 0; }
    .site-logo { max-height: 35px; }

    .hero-slider { height: 450px; padding-left: 0; text-align: center; justify-content: center; }
    .hero-content h1 { font-size: 32px; line-height: 1.2; }
    .btn-red, .btn-video { display: block; margin-right: 0; margin-bottom: 15px; width: 100%; text-align: center; }
    
    .feature-strip { margin-top: 0px; flex-direction: column; gap: 30px; padding: 30px 20px; width: 95%; margin-left: auto; margin-right: auto; }
    .feature-item { justify-content: center; }

    .shop-layout, .shop-layout-wrapper { flex-direction: column; }
    .filter-sidebar { width: 100%; flex: none; margin-bottom: 30px; }
    .filter-widget { padding: 15px; }
    .sidebar-promo { display: none; }
    .shop-section { padding: 40px 0; }
    .widget { padding: 20px; }
    .grid-header, .category-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .sort-dropdown { width: 100%; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-card { padding: 10px; }
    .img-box { height: 150px; }
    .product-details h4 { font-size: 14px; }
    .btn-enquire { width: 100%; text-align: center; padding: 10px 5px; font-size: 12px; }
    .hover-actions { position: relative; bottom: 0; opacity: 1; background: #f9f9f9; margin-top: 10px; padding: 5px; }
    .product-card:hover .hover-actions { background: #f9f9f9; }

    .section-header-center h2 { font-size: 24px; }
    .video-grid { grid-template-columns: 1fr; }
    .video-thumb { height: 220px; }
    .play-btn { width: 60px; height: 60px; font-size: 20px; }
    .client-track img { height: 30px; filter: grayscale(0%); opacity: 1; }
    .contact-grid { grid-template-columns: 1fr; margin-top: 20px; }
    .center-ad-banner { flex-direction: column; text-align: center; padding: 40px 20px; }
    .banner-info { padding-left: 0; margin-top: 30px; }
    .banner-meta { justify-content: center; }

    .testimonials, .main-footer { padding: 50px 0 0 0; }
    .testimonial-grid, .footer-grid { grid-template-columns: 1fr; }
    .test-card { padding: 25px; }
    .footer-grid { gap: 40px; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-col ul li a:hover { padding-left: 0; }
    
    .footer-newsletter { flex-direction: column; gap: 10px; }
    .footer-newsletter input, .footer-newsletter button { border-radius: 4px; }
    .footer-newsletter button { padding: 12px; width: 100%; }
    .footer-socials, .payment-icons { justify-content: center; }
    .footer-socials { margin-top: 20px; }
    .footer-bottom .flex-between { flex-direction: column; gap: 20px; text-align: center; }
    .payment-icons { gap: 10px; }
    .payment-icons span { border-left: none; padding-left: 0; display: block; width: 100%; margin-top: 5px; }

    .breadcrumb-area { padding: 30px 0; text-align: center; }
    .breadcrumb-area h1 { font-size: 22px; }
    .about-story { padding: 60px 0; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-img { margin-bottom: 50px; }
    .about-img img { box-shadow: 10px 10px 0px var(--grey); }
    .experience-badge { position: relative; bottom: 0; right: 0; margin: -40px auto 0; width: 150px; padding: 15px; }
    .experience-badge h2 { font-size: 28px; }
    .check-list { display: inline-block; text-align: left; }
    .values-grid { grid-template-columns: 1fr; }
    .value-item { padding: 30px 20px; }
    
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
    .gallery-item.large { grid-row: span 1; grid-column: span 2; }
    .gallery-overlay { opacity: 0.9; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); align-items: flex-end; padding-bottom: 15px; }
    .gallery-item:hover img { transform: none; }
    .overlay-content h4, .overlay-content p { transform: translateY(0); margin-bottom: 5px; }
    .overlay-content p { font-size: 11px; }
    .overlay-content i { display: none; }

    .product-main { padding: 30px 0; }
    .product-essential { grid-template-columns: 1fr; gap: 40px; }
    .main-img-container { padding: 20px; }
    .thumb-list { overflow-x: auto; padding-bottom: 10px; }
    .thumb { width: 70px; height: 70px; flex-shrink: 0; }
    .btn-red-large, .btn-download { display: block; width: 100%; text-align: center; margin-right: 0; margin-bottom: 15px; padding: 15px; }
    .tab-headers { display: flex; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .tab-btn { padding: 12px 20px; font-size: 14px; }
    
    /* Responsive Stack Table Mechanics */
    .technical-table td { display: block; width: 100% !important; font-size: 14px; text-align: center !important; }
    .technical-table td:first-child { background: #f1f1f1; border-bottom: none; padding-bottom: 5px; width: 100% !important; text-align: center !important; }
    .technical-table td:last-child { padding-top: 5px; font-weight: 600; }
    .video-placeholder { height: 250px; }
    .video-placeholder i { font-size: 45px; }
}

/* --- E. Small Mobile Viewports (Max-Width: 600px) --- */
@media screen and (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* --- F. Micro Device Viewports (Max-Width: 480px) --- */
@media screen and (max-width: 480px) {
    .brand-text, .logo { font-size: 20px; }
    .container { width: 92%; }
    .search-box { display: none; }
    .enquiry-pill { font-size: 10px; padding: 5px 10px; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-column: span 1; }
    .img-box { height: 200px; }
    
    .hero-slider { height: 400px; }
    .hero-content h1 { font-size: 26px; }
    .feature-item i { font-size: 28px; }
    .feature-item h3 { font-size: 14px; }
    
    .video-thumb { height: 200px; }
    .section-header-center h2 { font-size: 20px; }
    .test-card p { font-size: 14px; line-height: 1.6; }
    .footer-logo { font-size: 22px; }
    .footer-bottom { font-size: 12px; }
    .payment-icons { font-size: 20px; gap: 10px; }
    .about-text h2 { font-size: 24px; }
    .experience-badge { width: 100%; margin-top: 10px; }
    
    .product-summary h1 { font-size: 24px; }
    .sku { font-size: 11px; }
    .short-desc { font-size: 14px; }
}

/* --- G. Pure Touch Interfaces Fixes --- */
@media (hover: none) {
    .gallery-item:active .gallery-overlay { opacity: 1; }
}

@media screen and (max-width: 768px) {
    /* 1. Hide the sidebar completely on mobile screens */
    aside.sidebar {
        display: none !important;
    }

    /* 2. Force the product container to expand to 100% width now that the sidebar is gone */
    main,
    .content-area,
    .product-section,
    [class*="product"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

@media screen and (max-width: 768px) {
    /* 1. Reset the layout display to stack properly without side spacing */
    .shop-layout,
    .shop-layout-wrapper {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

    /* 2. Center align the text headings and metadata */
    .grid-header, 
    .category-header,
    .shop-section h2,
    .shop-section p,
    div:has(> .product-grid) > h2 { 
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }

    /* 3. Center the grid of product cards completely */
    .product-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Single column layout for focus */
        justify-content: center !important;
        justify-items: center !important; /* Centers individual cards within the grid */
        align-items: center !important;
        width: 100% !important;
        max-width: 480px !important; /* Prevents cards from stretching too wide */
        margin: 0 auto !important; /* Perfectly balances left and right margins */
        padding: 0 10px !important;
    }

    /* 4. Ensure the cards themselves expand elegantly */
    .product-card {
        width: 100% !important;
        margin: 0 auto 20px auto !important;
    }
}
/*for table start*/
@media screen and (max-width: 768px) {
    /* 1. Make the parent specs container handle the horizontal scroll */
    #specs {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch; /* Smooth swiping on iOS */
        padding-bottom: 15px !important; /* Extra breathing room for scrollbar */
    }

    /* 2. Keep the tables behaving as native tables, but lock their wide layout */
    #specs table.technical-table {
        display: table !important; /* Restore normal table rendering */
        width: 100% !important;
        min-width: 750px !important; /* Prevent squeezing */
        border-collapse: collapse !important;
        margin-bottom: 30px !important;
    }

    /* 3. Ensure all table structural parts render correctly */
    #specs table.technical-table thead,
    #specs table.technical-table tbody,
    #specs table.technical-table tr {
        display: table-row-group !important;
    }
    
    #specs table.technical-table tr {
        display: table-row !important;
    }

    #specs table.technical-table td,
    #specs table.technical-table th {
        display: table-cell !important; /* Force them to stay side-by-side */
        white-space: nowrap !important;
        padding: 12px 15px !important;
    }
}
/*for table end*/


.hero-banner-single {
    width: 100%;
    /* Set a minimum height for mobile so the crop is visible */
    min-height: 300px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-single picture, 
.hero-banner-single img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space without distortion */
    object-position: center; /* Keeps the main content (Oven/Coffee machine) in focus */
    display: block;
}

/* Optional: Tweak height for tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-banner-single { min-height: 450px; }
}

@media (max-width: 768px) {
    /* Keep the slider structure intact so the slides don't disappear */
    .slider-container,
    .slide {
        display: flex !important;
    }

    /* Target the active or visible slide content wrapper */
    .hero-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: flex-start !important;
        padding: 10px 15px !important;
        height: 100% !important;
    }
    
    /* Minimize margins inside the text block */
    .hero-text-side {
        width: 100% !important;
        margin-bottom: 5px !important;
    }
    
    .hero-text-side h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }
    
    .hero-text-side .btn-catalog {
        margin-bottom: 8px !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    
    .hero-trust-indicators {
        margin-bottom: 0 !important;
        font-size: 11px !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    
    /* Position the image right below with a clean, controlled gap */
    .hero-image-side {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        margin-top: 10px !important; /* Controls the exact gap above the image safely */
    }
    
    .hero-image-side img {
        width: 75% !important;
        max-width: 260px !important;
        height: auto !important;
    }
}