﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


body {
    margin-bottom: 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Focus styling */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Avaryday Brand Colors */
:root {
    --primary-color: #0b5ed7; /* Darker Blue */
    --accent-color: #ff9800; /* Vibrant Orange */
    --background-color: #ffffff; /* White */
    --text-color: #212529; /* Dark Gray */
}

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Navbar Brand */
.navbar-brand {
    color: var(--background-color) !important;
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

    .navbar-brand:hover {
        color: var(--accent-color) !important;
    }


.nav-link {
    color: var(--background-color) !important; /* White text */
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-link:hover,
    .nav-link:focus {
        color: var(--accent-color) !important; /* Orange on hover/focus */
    }


/* Centered and modern search form */
#searchForm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

    #searchForm select,
    #searchForm input {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
        border: 1px solid #ccc;
        border-radius: 0.375rem;
        outline: none;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        #searchForm select:focus,
        #searchForm input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 5px rgba(11, 94, 215, 0.3);
        }

    /* Full width for input */
    #searchForm input {
        flex-grow: 1;
        max-width: none;
    }

    /* Button in line with form */
    #searchForm button {
        padding: 0.4rem 0.9rem;
        font-size: 0.9rem;
        border: none;
        background-color: var(--primary-color);
        color: var(--background-color);
        border-radius: 0.375rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        #searchForm button:hover {
            background-color: #0a53be; /* slightly darker blue */
        }


#autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.btn-outline-primary {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Cart Icon */
.cart-icon,
.navbar .fa-shopping-cart {
    color: white !important;
    font-size: 1.6rem;
    position: relative;
    transition: color 0.3s ease;
}

    .cart-icon:hover,
    .navbar .fa-shopping-cart:hover {
        color: var(--accent-color) !important; /* Orange on hover */
    }

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--accent-color); /* Orange */
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    box-shadow: 0 0 0 2px white;
}



/* Responsive styles */
@media (max-width: 768px) {
    #searchForm {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

        .navbar-nav .nav-item {
            margin-bottom: 0.5rem;
        }

    .cart-icon {
        margin-left: 0;
    }
}

/* Utility Classes */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge-danger {
    background-color: red !important;
}


/* Hero Header */
.hero-header {
    text-align: center;
    padding: 2rem 1rem 1rem;
}

    .hero-header h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-header p {
        font-size: 1.1rem;
        opacity: 0.8;
        margin-top: 0.5rem;
    }

/* Four panels container */
.hero-panels {
    display: flex;
    height: 75vh;
    overflow: hidden;
}

.panel {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
}
    /* dark overlay on each panel */
    .panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1;
    }

.panel-content {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 3;
    color: #fff;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}



    .panel-content .btn {
        pointer-events: auto; /* make it clickable */
    }


/* Scrollable row inside each panel */
.scroll-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

    .scroll-strip img {
        flex-shrink: 0;
        width: 100px;
        height: 100px;
        object-fit: cover;
        border: 2px solid #fff;
        border-radius: 8px;
        transition: transform .3s;
    }

        .scroll-strip img:hover {
            transform: scale(1.05);
        }


/* Subtle Entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}


.category-label {
    font-size: 1.1rem;
    color: white;
    font-weight: bold;
    
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn {
    background-color: #005a2c;
    color: #fff;
    padding: 0.4rem 0.8rem; /* smaller padding */
    border: none;
    border-radius: 6px;
    font-weight: normal; /* or lighter if preferred */
    font-size: 0.9rem; /* reduce font size */
    cursor: pointer;
    transition: background-color 0.3s ease;
}


    .btn:hover {
        background-color: #007d3a; /* lighter green on hover */
    }


.slider-track:hover .slide {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}


/* CTA Button - Frosted Glass Look */
.cta-button {
    display: inline-block;
    background: var(--button-bg-glass);
    color: #ffffff;
    padding: 18px 48px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 30px rgba(13, 94, 215, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

    .cta-button:hover,
    .cta-button:focus {
        background: var(--button-bg-hover);
        box-shadow: 0 8px 40px rgba(13, 94, 215, 0.4);
        transform: scale(1.08);
        outline: none;
    }

/* Dots (Slider Indicators) */
.dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 5;
}

.dot {
    width: 14px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

    .dot.active,
    .dot:hover {
        background: #ffffff;
        opacity: 1;
        box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
        transform: scaleX(1.8);
    }


/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 320px; /* smaller width */
        padding: 15px 20px; /* less padding */
    }

        .hero-content h1 {
            font-size: 2.8rem;
        }

        .hero-content p {
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
        }

    .cta-button {
        padding: 14px 36px;
        font-size: 1.1rem;
    }

    .dot {
        width: 12px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }
}
:root {
    --primary: #0b5ed7; /* Darker Blue */
    --accent: #ff9800; /* Orange */
    --text: #212529; /* Dark Gray */
    --light-bg: #ffffff; /* White */
}


body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
    color: var(--text);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }

    33% {
        transform: translateX(-100%);
    }

    66% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ===== Slider ===== */
.image-slider {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slideAnimation 12s ease-in-out infinite;
}

    .slides img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
        transition: transform 0.5s ease-in-out;
        border-radius: 12px;
    }


/* ===== CTA Button ===== */
.cta-button {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #0b5ed7; /* Darker Blue - Primary */
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(11, 94, 215, 0.2);
}

    .cta-button:hover {
        background-color: #094ec2; /* Slightly darker on hover */
        transform: translateY(-2px);
    }



/* Arrow styles */
.swiper-button-next,
.swiper-button-prev {
    color: #2e8b57;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.2rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    top: 45%;
    transition: background 0.3s ease;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: linear-gradient(to right, #11998e, #38ef7d);
        color: white;
    }

.highlight-full-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
}

    .highlight-full-image video {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
        display: block;
        border-radius: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }


.payment-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.3s;
}

    .payment-option:hover {
        border-color: #0d6efd;
    }

    .payment-option img {
        width: 28px;
        height: 28px;
        margin-right: 12px;
    }

    .payment-option input[type="radio"] {
        margin-right: 10px;
    }

.mySwiperAd {
    width: 100%;
    height: 220px;
    position: relative;
}

    .mySwiperAd .swiper-slide {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #f8f9fa;
    }

        .mySwiperAd .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
            display: block;
        }

.swiper-pagination {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

@media (max-width: 576px) {
    .mySwiperAd {
        height: 160px;
    }
}

@media (min-width: 768px) {
    .mySwiperAd {
        height: 240px;
    }
}

@media (min-width: 1200px) {
    .mySwiperAd {
        height: 300px;
    }
}



/* ==== VARIABLES ==== */
:root {
  --primary: #007bff;        /* Blue accent */
  --secondary: #ffffff;      /* White background */
  --bg-light: #f1f3f5;       /* Very light grey */
  --text-main: #222;         /* Main text color */
  --text-light: #555;        /* Secondary text */
  --radius: 12px;            /* Border radius */
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --transition: 0.3s ease;
  --font: 'Segoe UI', Roboto, sans-serif;
}

/* ==== GLOBAL RESET ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font);
  background: var(--secondary);
  color: var(--text-main);
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ==== SWIPER BANNER (Position 1) ==== */
.mySwiperAd {
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0;
}
.mySwiperAd .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
    .mySwiperAd {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 0 1rem;
    }

        .mySwiperAd .swiper-wrapper {
            align-items: center; /* vertically center slides */
        }

        .mySwiperAd .swiper-slide {
            /* fixed aspect ratio box */
            width: auto !important;
            flex-shrink: 0;
            aspect-ratio: 16/9;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .mySwiperAd .swiper-slide-active {
            transform: scale(1.05); /* Highlight the centered slide */
        }

        .mySwiperAd .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

    /* Arrows */
    .swiper-button-prev,
    .swiper-button-next {
        top: 50%;
        transform: translateY(-50%);
        color: #333;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.9);
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .swiper-button-prev {
        left: 0;
    }

    .swiper-button-next {
        right: 0;
    }
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
    color: #003366; /* Dark Blue */
    position: relative;
}

    .category-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background: #003366; /* Dark Blue */
        margin: 6px auto 0;
        border-radius: 3px;
    }

.category-scroll {
    display: grid;
    grid-auto-flow: column; /* flow items into columns */
    grid-auto-columns: 80px; /* shrink slots to 80px */
    grid-template-rows: repeat(2, auto); /* exactly 2 rows */

    gap: 0.5rem; /* tighter spacing */
    padding: 0.5rem; /* less padding around edges */

    overflow-x: auto; /* only horizontal scroll */
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* hide Firefox scrollbar */
    -ms-overflow-style: none; /* hide IE scrollbar */
}

    .category-scroll::-webkit-scrollbar {
        display: none; /* hide Chrome/Safari scrollbar */
    }

.category-icon {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* explicitly match the grid slot width */
    width: 80px;
    margin: 0; /* remove any extra default margins */
}

    /* === Common Icon Styling (Smaller) === */
.category-icon {
    display: flex;
    flex-direction: column; /* stack image over text */
    align-items: center; /* center children horizontally */
    width: 40px; /* match the img width */
    margin: 0; /* reset any margins */
    text-align: center; /* fallback centering */
}

    .category-icon img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        background: #f0f8ff;
        border-radius: 50%;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
        transition: transform 0.2s ease;
        margin-bottom: 0.25rem; /* space between img and p */
    }

        .category-icon img:hover {
            transform: scale(1.05);
        }

    .category-icon p {
        font-size: 0.7rem;
        font-weight: 500;
        margin: 0; /* remove default top/bottom margins */
        line-height: 1.2;
        color: #333;
        word-wrap: break-word; /* ensure longer labels wrap inside 40px */
    }

@media (min-width: 769px) {
    .category-scroll {
        display: flex;
        flex-wrap: nowrap; /* one row only */
        gap: 0.5rem; /* spacing between icons */
        padding: 0.5rem; /* container padding */

        overflow-x: auto; /* enable horizontal scroll */
        overflow-y: hidden; /* prevent vertical scroll */
        scroll-snap-type: x mandatory;
  
      /* hide scrollbars */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .category-scroll::-webkit-scrollbar {
            display: none;
        }

    .category-icon {
        flex: 0 0 80px; /* each icon box is 80px wide */
        width: 80px; /* explicit width for safety */
        scroll-snap-align: start;
    }
}

/* === SECTION TITLE === */
.section-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px; /* Reduced bottom margin */
    color: #003366;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background: #003366;
        margin: 6px auto 0;
        border-radius: 3px;
    }

/* === PRODUCT SECTION STYLING === */
.product-section {
    padding: 20px 0 10px 0; /* Reduced top and bottom padding */
}

/* === SWIPER CONTAINER FOR PRODUCTS ONLY === */
.swiper.product-swiper {
    width: 100%;
    padding: 10px 0;
    overflow: hidden;
}

/* === SWIPER WRAPPER FOR PRODUCTS === */
.product-swiper .swiper-wrapper {
    display: flex;
    gap: 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 0;
    scrollbar-width: none;
}

    .product-swiper .swiper-wrapper::-webkit-scrollbar {
        display: none;
    }

/* === SWIPER SLIDE === */
.product-swiper .swiper-slide {
    width: 140px;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
}

/* === PRODUCT CARD === */
.product-card {
    width: 130px;
    height: 190px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .product-card:hover {
        transform: scale(1.03);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    /* === PRODUCT IMAGE === */
    .product-card img {
        width: 100%;
        height: 90px;
        object-fit: cover;
        border-radius: 6px;
    }

/* === PRODUCT INFO === */
.product-info h3 {
    font-size: 0.85rem;
    margin: 6px 0 4px 0;
    color: #333;
    line-height: 1.2;
}

/* === CTA BUTTON === */
.cta-button {
    display: inline-block;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #0d6efd;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .cta-button:hover {
        background-color: #0b5ed7;
    }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .product-swiper .swiper-slide {
        width: 120px;
    }

    .product-card {
        width: 110px;
        height: 170px;
        padding: 6px;
    }

        .product-card img {
            height: 80px;
        }

    .product-info h3 {
        font-size: 0.75rem;
    }

    .cta-button {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}




:root {
    --primary: #0f3f78; /* Pleasant dark blue */
    --secondary: #ffffff; /* White text */
    --muted: #d1d9e6; /* Soft gray-blue */
    --accent: #5cb3fd; /* Light blue accent */
}

.site-footer {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem; /* Reduced gap */
}

.footer-section {
    flex: 1 1 250px;
    min-width: 200px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li,
    .footer-contact li {
        margin-bottom: 0.3rem; /* Tightened spacing */
        line-height: 1.4;
    }

    .footer-links a {
        color: var(--secondary);
        text-decoration: none;
    }

        .footer-links a:hover {
            text-decoration: underline;
        }

    .footer-contact i {
        margin-right: 0.4rem;
        color: var(--accent);
    }

.social-icons {
    margin-top: 0.5rem;
}

    .social-icons a {
        color: var(--accent);
        margin-right: 0.5rem;
        font-size: 1.1rem;
        transition: color 0.3s;
    }

        .social-icons a:hover {
            color: var(--secondary);
        }

.footer-divider {
    margin: 1rem 0 0.5rem;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.75;
}

/* === Updated Mobile Layout === */
@media (max-width: 768px) {
    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Side by side */
        gap: 1rem;
    }

    .footer-section {
        flex: 1 1 auto;
        min-width: unset;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 1rem;
    }
}


/* ==== RESPONSIVE TWEAKS ==== */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mySwiperAd {
    height: 140px;
  }
}


/* ── Desktop‑Only Styles (≥768px) ── */
@media (min-width: 768px) {

    .header-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70px;
        text-decoration: none;
        color: #000;
    }

        .header-icon img {
            border-radius: 6px;
            background: #fff;
            padding: 4px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

    .search-bar {
        background: #f8f9fa;
        border: 1px solid #ced4da;
        border-radius: 6px;
        padding: 0 0.5rem;
        height: 34px;
    }

        .search-bar input {
            border: none;
            background: transparent;
            flex: 1;
            padding: 0.3rem;
        }

        .search-bar button {
            border: none;
            background: transparent;
            color: #555;
        }

    .icon-link {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #212529;
    }

        .icon-link:hover {
            color: #0d6efd;
        }

    .cart-count-number {
        position: absolute;
        top: -6px;
        right: -6px;
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 50%;
        background: #dc3545;
        color: #fff;
    }

    .install-btn {
        height: 32px;
        padding: 0.25rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ── Mobile: hide desktop container ── */
@media (max-width: 767px) {
    .header-desktop {
        display: none !important;
    }
}

/* ── Mobile Header Styling ── */
.mobile-header {
    background: linear-gradient(135deg, #fafdff, #dff2ff, #a8d8ff, #4d9fff) !important;
    border-bottom: 1px solid #eee;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 1100;
}

/* Row 1: Icon Cards */
.mobile-icons-row {
    gap: 0.25rem;
}

.mobile-icon {
    flex: 1;
    max-width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: transform 0.15s ease;
}

    .mobile-icon:hover {
        transform: translateY(-2px);
    }

    .mobile-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        margin-bottom: 0.25rem;
    }

    .mobile-icon .small {
        font-size: 10px;
        line-height: 1;
    }


/* ── Row 2: Address + Install ── */
.mobile-utility-row {
    padding: 0 0.25rem;
    margin-top: 0.35rem;
    height: 32px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1100;
}

/* Address Section */
.address-mobile {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 0 0.5rem;

}

    .address-mobile i {
        font-size: 13px;
        color: #0d6efd;
        margin-right: 6px;
    }

    .address-mobile a {
        display: inline-block;
        width: 100%;
        padding: 8px 0;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }



/* Install Button (Pill-style) */
.install-mobile-btn {
    background-color: #0d6efd;
    color: #fff;
    font-size: 11.5px;
    padding: 4px 12px;
    height: 26px;
    border-radius: 999px;
    border: none;
    font-weight: 500;
    margin-left: 6px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

    .install-mobile-btn:hover {
        background-color: #0b5ed7;
    }




/* ==========================
   Mobile Bottom Nav - Premium
   ========================== */
.ecomus-mobile-navigation-bar {
     position: fixed;
    bottom: 10px;
    left: 8px;
    right: 8px;
    height: 58px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 12px;
    transition: transform 0.3s ease-in-out;
}
    .ecomus-mobile-navigation-bar.hide-on-scroll {
        transform: translateY(100%); /* Moves nav out of view */
    }
/* Nav Item */
.ecomus-mobile-navigation-bar__icon {
    flex: 1;
    text-align: center;
    color: #333;
    text-decoration: none;
    font-size: 11.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
}

    .ecomus-mobile-navigation-bar__icon i {
        font-size: 18px;
        margin-bottom: 2px;
        color: #555;
    }

    .ecomus-mobile-navigation-bar__icon span {
        font-size: 10.5px;
        font-weight: 500;
        color: #222;
        line-height: 1;
    }

    /* Tap effect */
    .ecomus-mobile-navigation-bar__icon:active {
        transform: scale(0.95);
    }

    /* Active highlight (optional: add class "active" to current page icon) */
    .ecomus-mobile-navigation-bar__icon.active i,
    .ecomus-mobile-navigation-bar__icon.active span {
        color: #0d6efd;
    }

    .ecomus-mobile-navigation-bar__icon.active::after {
        content: '';
        position: absolute;
        bottom: -6px;
        width: 6px;
        height: 6px;
        background-color: #0d6efd;
        border-radius: 50%;
    }

/* Cart/Wishlist Counter */
.header-counter {
    position: absolute;
    top: 2px;
    right: 18%;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 18px;
    line-height: 1;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

    .header-counter.empty-counter {
        display: none;
    }

/* Hide on large screens */
@media (min-width: 768px) {
    .ecomus-mobile-navigation-bar {
        display: none;
    }
}


/* === Section Titles === */
section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 0 12px;
    color: #333;
}

/* === Product Grid Layout === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    padding: 12px;
}

.grid-item, .product-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .grid-item:hover, .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

    .grid-item img,
    .product-card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        display: block;
    }

    .grid-item p,
    .product-card p {
        padding: 10px 12px;
        font-size: 15px;
        font-weight: 500;
        text-align: center;
        color: #222;
        margin: 0;
    }

/* === Carousel Scroll (Horizontal scroll layout) === */
.carousel-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 12px;
    scroll-snap-type: x mandatory;
}

    .carousel-scroll > * {
        scroll-snap-align: start;
        flex: 0 0 auto;
    }

    .carousel-scroll::-webkit-scrollbar {
        display: none;
    }

/* === Banner Cards Section === */
.banner-section {
    padding: 12px;
}

    .banner-section .banner-card {
        border-radius: 14px;
        overflow: hidden;
        margin: 14px 0;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
        background: #fff;
        transition: transform 0.2s ease;
    }

        .banner-section .banner-card:hover {
            transform: scale(1.02);
        }

    .banner-section img {
        background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
        padding: 8px;
        border-radius: 12px;
        background-clip: padding-box;
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .banner-section img {
        background-color: #f9f9f9; /* or match your site's background */
    }


@media (min-width: 768px) {
    .banner-section img {
        max-height: 320px;
        padding: 12px;
    }
}


roduct-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    padding: 10px;
    transition: transform 0.2s ease-in-out;
    width: 180px;
}

    .product-card:hover {
        transform: scale(1.03);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

.product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.product-title {
    font-size: 1rem;
    margin: 10px 0 0 0;
    color: #333;
}

.cta-button {
    display: inline-block;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 4px;
}


