:root {
    --primary: #0b6e99;
    --primary-dark: #074f6e;
    --accent: #00a896;
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #eef5f9;
    --text-main: #1e293b;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 15px 35px rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] {
    --primary: #38bdf8;
    --primary-dark: #0284c7;
    --accent: #2dd4bf;
    --bg-body: #0f172a;
    --bg-surface: #1e293b;
    --bg-alt: #162033;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.65;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.25s ease;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* =========================================
   1. TOP BAR (Height: 30px)
========================================= */
.top-bar {
    height: 30px;
    background: linear-gradient(90deg, #074f6e, #008080);
    color: #ffffff;
    font-size: 12px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-left i {
    color: #7dd3fc;
    margin-right: 4px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    color: #e0f2fe;
    font-size: 12px;
}

.social-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.theme-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.15);
    color: #fde047;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.theme-btn:hover {
    background: #ffffff;
    color: #0f172a;
}

/* =========================================
   2. STICKY NAVBAR (Height: 110px)
========================================= */
.main-navbar {
    height: 110px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    max-height: 76px;
    width: auto;
}

.logo-fallback {
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: var(--primary);
}

.logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

/* =========================================
   3. HERO SLIDER (3 Distinct PNG Slides)
========================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 620px;
}

.slide {
    display: none;
    min-height: 620px;
    align-items: center;
    padding: 30px 0 0;
    animation: fadeSlide 0.7s ease;
}

.slide.active {
    display: flex;
}

@keyframes fadeSlide {
    from { opacity: 0.4; transform: scale(1.01); }
    to { opacity: 1; transform: scale(1); }
}

/* 3 Distinct Backgrounds optimized for Transparent PNGs */
.slide-bg-1 {
    background: radial-gradient(circle at 20% 50%, #e0f2fe 0%, #bae6fd 45%, #7dd3fc 100%);
    color: #0f172a;
}

.slide-bg-2 {
    background: linear-gradient(135deg, #064e3b 0%, #0f766e 50%, #0d9488 100%);
    color: #ffffff;
}

.slide-bg-3 {
    background: linear-gradient(120deg, #1e1b4b 0%, #1e3a8a 55%, #0284c7 100%);
    color: #ffffff;
}

.slide-grid {
    display: grid;
    grid-template-columns: 485px 1fr;
    align-items: center;
    gap: 50px;
}

.slide-grid.reverse-desktop {
    grid-template-columns: 1fr 485px;
}

.slide-grid.reverse-desktop .slide-image {
    order: 2;
}

.slide-grid.reverse-desktop .slide-content {
    order: 1;
}

.slide-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.slide-image img {
    width: 485px;
    height: 618px;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.slide-subtitle {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    margin-bottom: 16px;
}

.slide-bg-1 .slide-subtitle {
    background: rgba(11, 110, 153, 0.12);
    color: #074f6e;
}

.slide-title {
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.slide-bg-1 .slide-title span {
    color: #0369a1;
}

.slide-bg-2 .slide-title span,
.slide-bg-3 .slide-title span {
    color: #5eead4;
}

.slide-desc {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.92;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.btn-primary {
    background: #0b6e99;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(11, 110, 153, 0.3);
}

.slide-bg-2 .btn-primary {
    background: #ffffff;
    color: #064e3b;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.playstore-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.playstore-btn i {
    font-size: 30px;
    color: #34d399;
}

.playstore-btn small {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.playstore-btn strong {
    font-size: 18px;
}

.playstore-btn:hover {
    transform: translateY(-3px);
    background: #000000;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.slider-arrow:hover {
    background: #0b6e99;
    color: #ffffff;
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid #0b6e99;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background: #0b6e99;
}

/* =========================================
   4. ABOUT HOME & PRODUCT CARDS
========================================= */
.about-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 55px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.mega-heading {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 10px;
}

.sub-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 22px;
}

.lead-paragraph {
    font-size: 16.5px;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 35px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.highlight-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-box i {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--bg-alt);
    color: var(--primary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-box h4 {
    font-size: 16px;
    font-weight: 700;
}

.highlight-box span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Products Section */
.product-wrapper {
    background: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
}

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

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.cat-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.product-card h3 {
    font-size: 19px;
    margin: 6px 0 10px;
}

.product-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.text-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =========================================
   5. ABOUT US PAGE STYLES
========================================= */
.breadcrumb-banner {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.breadcrumb-overlay {
    width: 100%;
    min-height: 280px;
    background: linear-gradient(90deg, rgba(7, 79, 110, 0.88), rgba(15, 23, 42, 0.72));
    display: flex;
    align-items: center;
    color: #ffffff;
}

.breadcrumb-overlay h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #cbd5e1;
}

.breadcrumb-list a:hover {
    color: #ffffff;
}

.breadcrumb-list .active {
    color: #5eead4;
    font-weight: 600;
}

/* Section 1: 33% Left Image + 67% Right Text */
.split-33-67 {
    display: flex;
    align-items: center;
    gap: 45px;
}

.col-33 {
    flex: 0 0 33%;
    max-width: 33%;
}

.col-67 {
    flex: 1;
}

.image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-surface);
}

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

.block-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.content-block p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.85;
}

/* Section 2: Left Text + Right Image */
.alt-bg {
    background: var(--bg-alt);
}

.split-50-50 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 16px;
}

.info-item {
    background: var(--bg-surface);
    padding: 24px 28px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}

.info-item h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

.sticky-img {
    position: sticky;
    top: 130px;
}

/* =========================================
   6. FOOTER & HOVER POPUP & WHATSAPP FLOAT
========================================= */
.site-footer {
    background: #0b192c;
    color: #cbd5e1;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 45px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #5eead4;
    transform: translateX(4px);
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14.5px;
}

.contact-details i {
    color: #38bdf8;
    margin-top: 4px;
}

.contact-details a:hover {
    color: #5eead4;
}

.footer-bottom {
    background: #06101e;
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Hover Link Image Preview */
.sarvoday-hover-wrap {
    position: relative;
    display: inline-block;
}

.sarvoday-link {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: underline;
}

.hover-ad-popup {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    background: #ffffff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1200;
    pointer-events: none;
}

.hover-ad-popup::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.sarvoday-hover-wrap:hover .hover-ad-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 1100;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* =========================================
   7. RESPONSIVE MEDIA QUERIES
========================================= */
@media (max-width: 1024px) {
    .slide-grid,
    .slide-grid.reverse-desktop {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .slide-image img {
        width: 100%;
        height: auto;
        max-height: 480px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-address, .divider {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 110px;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        display: none;
        padding: 20px;
    }
    .nav-menu.open {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .slide-grid,
    .slide-grid.reverse-desktop,
    .split-33-67,
    .split-50-50,
    .footer-grid,
    .about-highlights {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .col-33 {
        max-width: 100%;
        width: 100%;
    }
    .slide-grid.reverse-desktop .slide-image {
        order: 0;
    }
    .about-card {
        padding: 30px 22px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
}



















/* =========================================
   8. PRODUCTS CATALOG PAGE
========================================= */
.products-hero {
    background: linear-gradient(120deg, #074f6e 0%, #0b6e99 55%, #008080 100%);
    color: #ffffff;
    padding: 55px 0;
    text-align: center;
}

.products-hero .pill-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #e0f2fe;
}

.products-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    margin-bottom: 10px;
}

.products-hero p {
    font-size: 17px;
    color: #e2e8f0;
    max-width: 650px;
    margin: 0 auto;
}

.shop-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 32px;
    align-items: start;
}

/* Left Sidebar */
.shop-sidebar {
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.cat-btn:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.cat-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.count-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgba(148, 163, 184, 0.2);
}

.cat-btn.active .count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.promo-box {
    background: linear-gradient(135deg, #064e3b, #0f766e);
    color: #ffffff;
    border: none;
}

.promo-box i {
    font-size: 30px;
    color: #4ade80;
    margin-bottom: 10px;
}

.promo-box h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.promo-box p {
    font-size: 13.5px;
    color: #d1fae5;
}

/* Toolbar (List | Grid & Page 20, 50 Dropdown) */
.shop-toolbar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.toolbar-left {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    padding: 5px 12px;
    border-radius: 8px;
}

.view-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
}

.view-btn.active {
    color: var(--primary);
    background: var(--bg-surface);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.view-sep {
    color: var(--border-color);
}

.per-page-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.per-page-box select {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* 3-Column Box Style Product List */
.catalog-grid.grid-mode {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.catalog-grid.list-mode {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.prod-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.prod-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.prod-box.has-qty {
    border: 2px solid #25d366;
}

.prod-img-wrap {
    position: relative;
    height: 220px;
    background: radial-gradient(circle, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-bottom: 1px solid var(--border-color);
}

.prod-img-wrap img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.prod-box:hover .prod-img-wrap img {
    transform: scale(1.05);
}

.prod-cat-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.prod-details {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prod-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.prod-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex: 1;
}

.prod-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
}

.prod-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
}

/* Quantity Stepper: - 0 + */
.qty-control {
    display: inline-flex;
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.qty-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.qty-val {
    min-width: 32px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
}

/* List View Adjustments */
.catalog-grid.list-mode .prod-box {
    flex-direction: row;
    align-items: center;
}

.catalog-grid.list-mode .prod-img-wrap {
    width: 210px;
    height: 170px;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
}

.catalog-grid.list-mode .prod-details {
    text-align: left;
}

/* Pagination Bar: Page 1 2 > >> */
.pagination-bar {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.page-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Sticky Bottom Order Via WhatsApp Bar */
.whatsapp-order-bar {
    position: sticky;
    bottom: 0;
    background: var(--bg-surface);
    border-top: 2px solid #25d366;
    padding: 14px 0;
    box-shadow: 0 -10px 25px rgba(15, 23, 42, 0.12);
    z-index: 990;
}

.order-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.items-badge {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 2px;
}

.order-summary-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-wa-order {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease;
}

.btn-wa-order:hover {
    transform: translateY(-2px);
}

.btn-wa-order i {
    font-size: 22px;
}

/* Popup Detail Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    background: var(--bg-surface);
    color: var(--text-main);
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    animation: popModal 0.25s ease;
}

@keyframes popModal {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    background: linear-gradient(135deg, #074f6e, #128c7e);
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.modal-body {
    padding: 24px;
}

.order-preview-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.order-preview-box h4 {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

#modalOrderList {
    max-height: 120px;
    overflow-y: auto;
    font-size: 13.5px;
    margin-bottom: 10px;
}

#modalOrderList li {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed var(--border-color);
}

.modal-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: var(--primary);
    padding-top: 6px;
}

.form-group {
    margin-bottom: 14px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-group label span {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-continue-wa {
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #25d366;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.25s;
}

.btn-continue-wa:hover {
    background: #1ebe5d;
}

/* Keep floating WA icon above sticky order bar */
.whatsapp-float {
    bottom: 86px;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        position: static;
    }
    .catalog-grid.grid-mode {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .catalog-grid.grid-mode {
        grid-template-columns: 1fr;
    }
    .catalog-grid.list-mode .prod-box {
        flex-direction: column;
    }
    .catalog-grid.list-mode .prod-img-wrap {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .order-bar-inner {
        flex-direction: column;
        text-align: center;
    }
    .btn-wa-order {
        width: 100%;
        justify-content: center;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}











/* =========================================
   9. STOCKIST PAGE & GOOGLE MAP
========================================= */
.stockist-hero {
    background: linear-gradient(120deg, #074f6e 0%, #0b6e99 55%, #008080 100%);
    color: #ffffff;
    padding: 55px 0;
    text-align: center;
}

.stockist-hero .pill-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #e0f2fe;
}

.stockist-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    margin-bottom: 10px;
}

.stockist-hero p {
    font-size: 17px;
    color: #e2e8f0;
    max-width: 650px;
    margin: 0 auto;
}

.stockist-map-section {
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.map-multi-marker {
    height: 620px;
    width: 100%;
    background: #e2e8f0;
}

.map-legend-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 12px 0;
}

.map-legend-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.map-legend-inner i {
    color: #ef4444;
    margin-right: 6px;
}

.btn-reset-map {
    background: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--border-color);
    padding: 7px 14px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s;
}

.btn-reset-map:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Header & Search Bar */
.stockist-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.stockist-main-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
}

.stockist-search-box {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.stockist-search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.stockist-search-box input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.stockist-search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

/* City Filter Pills */
.city-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.city-pill {
    padding: 7px 15px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.city-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.city-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* 4-Column Stockist Cards Grid */
.stockist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.stockist-card {
    background: var(--card-tint, var(--bg-surface));
    color: #1e293b;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .stockist-card {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--card-tint, var(--primary));
}

.stockist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.st-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.st-city-badge {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.78);
    color: #074f6e;
    padding: 4px 10px;
    border-radius: 50px;
}

[data-theme="dark"] .st-city-badge {
    background: var(--bg-alt);
    color: var(--primary);
}

.st-pin-btn {
    background: rgba(15, 23, 42, 0.08);
    border: none;
    color: #0f172a;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: 0.2s;
}

[data-theme="dark"] .st-pin-btn {
    background: var(--bg-alt);
    color: var(--text-main);
}

.st-pin-btn:hover {
    background: #0b6e99;
    color: #ffffff;
}

.st-name {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #0f172a;
}

[data-theme="dark"] .st-name {
    color: #f8fafc;
}

.st-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
    margin-bottom: 16px;
    flex: 1;
}

[data-theme="dark"] .st-address {
    color: var(--text-muted);
}

.st-address i {
    color: #0b6e99;
    margin-top: 3px;
    flex-shrink: 0;
}

.st-contact-list {
    padding-top: 12px;
    border-top: 1px dashed rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

[data-theme="dark"] .st-contact-list {
    border-top-color: var(--border-color);
}

.st-phone {
    font-size: 15px;
    font-weight: 800;
    color: #074f6e;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .st-phone {
    color: var(--accent);
}

.st-email,
.st-web {
    font-size: 12.5px;
    font-weight: 600;
    color: #0b6e99;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    word-break: break-all;
}

.no-results-box {
    text-align: center;
    padding: 50px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-muted);
}

.no-results-box i {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 10px;
}

@media (max-width: 1100px) {
    .stockist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .stockist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .map-multi-marker {
        height: 450px;
    }
}

@media (max-width: 540px) {
    .stockist-grid {
        grid-template-columns: 1fr;
    }
}












/* =========================================
   11. CONTACT US PAGE & 404 ERROR PAGE
========================================= */
.contact-hero {
    background: linear-gradient(120deg, #074f6e 0%, #0b6e99 55%, #008080 100%);
    color: #ffffff;
    padding: 55px 0;
    text-align: center;
}

.contact-hero .pill-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #e0f2fe;
}

.contact-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 17px;
    color: #e2e8f0;
    max-width: 650px;
    margin: 0 auto;
}

/* 3 Top Info Cards */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.c-info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.c-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.c-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-info-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.c-info-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.75;
}

.c-info-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* 2-Column Form & Map Split */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: stretch;
}

.contact-form-box,
.contact-map-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.contact-form-box h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.form-subtext {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.btn-wa-direct {
    background: #25d366;
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.btn-wa-direct:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.contact-map-box {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.map-card-header {
    padding: 22px 26px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.map-card-header h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-card-header span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.iframe-wrap {
    flex: 1;
    min-height: 400px;
}

.iframe-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
}

/* =========================================
   404 ERROR PAGE
========================================= */
.error-404-section {
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.error-404-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.error-404-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.error-code-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.err-num {
    font-size: clamp(68px, 10vw, 105px);
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.err-pill-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(11, 110, 153, 0.3);
}

.error-404-card h1 {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    margin-bottom: 14px;
}

.error-404-card p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 32px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn-outline {
    background: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

@media (max-width: 960px) {
    .contact-cards-grid,
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-form-box {
        padding: 24px 18px;
    }
    .error-404-card {
        padding: 40px 22px;
    }
}








