:root {
    --primary-color: #00897B; /* Teal theme color */
    --secondary-color: #F8F9FA;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #E0E0E0;
    --red-banner: #C62828;
    --cyan-banner: #00BCD4;
    --orange-banner: #FF9800;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #F5F7F8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Sliding Ticker Bar */
.sliding-ticker-bar {
    background-color: #2F1454;
    color: #FFD600;
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 700;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: tickerAnim 25s linear infinite;
}

@keyframes tickerAnim {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.top-bar {
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 30px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.admin-portal-link:hover {
    text-decoration: underline;
}

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

.logo img {
    height: 48px;
    object-fit: contain;
    transition: transform 0.2s;
}

.logo img:hover {
    transform: scale(1.02);
}

.search-bar {
    flex-grow: 1;
    max-width: 650px;
    margin: 0 50px;
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 137, 123, 0.12);
}

.search-bar input {
    flex-grow: 1;
    padding: 12px 24px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-dark);
}

.search-bar input::placeholder {
    color: #9e9e9e;
}

.search-bar button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 28px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.2s;
}

.search-bar button:hover {
    background-color: #00796b;
}

.user-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.user-actions a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.user-actions a:hover {
    color: var(--primary-color);
}

.user-actions i {
    font-size: 18px;
}

.cart-icon {
    position: relative;
}

.cart-count {
    background-color: #ff9800;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    position: absolute;
    top: -8px;
    right: -12px;
    box-shadow: 0 2px 5px rgba(255, 152, 0, 0.4);
}

.category-nav {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background-color: #ffffff;
}

.category-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 12px 0;
}

.category-nav a {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.category-nav a:hover {
    color: #00BCD4;
}

.nav-dept-dropdown {
    position: relative;
}

.nav-dept-dropdown a {
    color: #333333;
    font-weight: 600;
}

.nav-dept-dropdown a i {
    color: #00BCD4;
    font-size: 12px;
    margin-left: 2px;
}

/* Mega Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 680px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    z-index: 1000;
    margin-top: 8px;
}

.nav-dept-dropdown:hover .dropdown-menu {
    display: grid;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-column a {
    font-size: 13px;
    font-weight: 500;
    color: #444444;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-column a i {
    color: var(--primary-color);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.dropdown-column a:hover {
    background-color: #E8F5E9;
    color: var(--primary-color);
}

.dropdown-column a.highlight-dept {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-divider {
    color: #00BCD4;
    font-weight: 300;
    font-size: 15px;
    user-select: none;
}

.nav-deals a {
    color: #00BCD4;
    font-weight: 700;
}

.nav-deals a i {
    background-color: #00BCD4;
    color: #ffffff;
    font-size: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Main Content area */
main {
    width: 100%;
    background-color: #fff;
}

.container {
    width: 100%;
    padding: 0 20px;
}

/* Sections */
section {
    margin-bottom: 30px;
}

.hero-section {
    width: 100%;
}
.hero-section img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}

.section-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    text-align: center;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 10px;
    color: var(--primary-color);
}

/* Carousel */
.product-section {
    position: relative;
    padding: 10px 0;
}

.carousel-container {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    justify-content: center;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev { left: -5px; }
.carousel-btn.next { right: -5px; }

/* Product Card */
.product-card {
    flex: 0 0 calc(25% - 12px);
    min-width: 175px;
    height: 370px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    position: relative;
    background: #ffffff;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: #bdbdbd;
}

.product-image {
    width: 100%;
    height: 170px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.discount-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #FFD600;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.product-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #222222;
    line-height: 1.3;
    height: 32px;
    margin: 8px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.current-price {
    background-color: #FFF9C4;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 3px;
}

.old-price {
    text-decoration: line-through;
    color: #888888;
    font-size: 11px;
}

.add-to-cart-btn {
    width: 100%;
    background-color: #00897B;
    color: #ffffff;
    border: none;
    padding: 9px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.add-to-cart-btn:hover {
    background-color: #00695C;
}

/* Category Grid */
.shop-by-category {
    padding: 30px 0;
}

.category-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0;
    gap: 15px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.category-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

/* Banner Grids */
.banner-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 10px 0;
}

.banner-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px 0;
}

.banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.banner:hover img {
    transform: scale(1.03);
}

.full-width-banner img,
.app-banner-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

/* Side Banner + Products */
.side-banner-products,
.product-grid-banner {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    width: 100%;
    align-items: center;
}

.side-banner {
    flex: 0 0 32%;
    max-width: 32%;
    height: 370px;
    border-radius: 12px;
    overflow: hidden;
}

.side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.side-carousel-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 15px;
    overflow: hidden;
}

.product-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.product-grid::-webkit-scrollbar {
    display: none;
}

.centered-products .product-grid {
    justify-content: center;
    padding: 0 20px;
}

/* Bottom Banners Overlays */
.bottom-banners .banner {
    position: relative;
}
.banner-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}
.banner-overlay h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.banner-overlay .btn {
    background: #ffffff;
    color: var(--text-dark);
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-size: 13px;
}
.banner-overlay .btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* App Download */
.app-download {
    margin-top: 40px;
}

/* Footer */
.main-footer {
    background-color: #E8F5E9; /* Light green tint */
    padding-top: 40px;
    color: var(--text-dark);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 30px;
    padding: 0 20px;
    margin-bottom: 40px;
}
.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}
.social-links a {
    font-size: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}
.footer-links h4 {
    margin-bottom: 15px;
}
.footer-links li {
    margin-bottom: 8px;
    font-size: 14px;
}
.newsletter-input {
    display: flex;
    margin-top: 15px;
}
.newsletter-input input {
    padding: 10px;
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
}
.newsletter-input button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.footer-bottom {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .side-banner-products, 
    .product-grid-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .side-banner {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 250px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .category-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    .top-bar {
        font-size: 10px;
        padding: 4px;
    }

    .main-header {
        flex-direction: column;
        gap: 12px;
        padding: 10px 15px;
    }

    .logo img {
        height: 38px;
    }

    .search-bar {
        margin: 0;
        width: 100%;
    }

    .search-bar input {
        padding: 10px 16px;
        font-size: 13px;
    }

    .user-actions {
        gap: 16px;
        font-size: 13px;
    }

    .category-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 12px;
        gap: 20px;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .category-nav ul::-webkit-scrollbar {
        display: none;
    }

    .dropdown-menu {
        width: calc(100vw - 24px);
        left: 0;
        grid-template-columns: 1fr;
        max-height: 350px;
        overflow-y: auto;
    }

    .hero-section img {
        max-height: 240px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .banner-grid-3, 
    .banner-grid-2 {
        grid-template-columns: 1fr;
    }

    .full-width-banner img,
    .app-banner-img {
        max-height: 200px;
    }

    .side-banner {
        height: 180px;
    }

    .product-card {
        flex: 0 0 155px;
        min-width: 145px;
        height: 330px;
        padding: 10px;
    }

    .product-image {
        height: 130px;
    }

    .product-title {
        font-size: 10px;
        height: 28px;
    }

    .current-price {
        font-size: 11px;
    }

    .add-to-cart-btn {
        padding: 7px 0;
        font-size: 10px;
    }

    .category-grid {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .category-grid::-webkit-scrollbar {
        display: none;
    }

    .category-item {
        min-width: 75px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
    }

    .category-banner {
        padding: 20px 15px;
    }

    .category-banner h1 {
        font-size: 20px;
    }

    .category-banner p {
        font-size: 12px;
    }

    .category-toolbar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Global Hero Section Slider */
.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slides-track {
    position: relative;
    width: 100%;
    min-height: 380px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-sale-badge {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 22px 28px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.7);
    max-width: 360px;
    z-index: 10;
}

.badge-tag {
    background-color: #E53935;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-tag.green-tag {
    background-color: #2E7D32;
}

.badge-tag.blue-tag {
    background-color: #1565C0;
}

.hero-sale-badge h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 8px 0 4px 0;
}

.hero-sale-badge p {
    font-size: 12px;
    color: #555555;
    margin-bottom: 12px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background-color: #00695C;
    transform: translateY(-2px);
}

/* Slider Controls & Dots */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #333333;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.hero-slider-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-btn.prev-slide { left: 20px; }
.hero-slider-btn.next-slide { right: 20px; }

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

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

.hero-dots .dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

.promo-pill-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #E53935;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 5;
}

.promo-pill-badge.teal-bg {
    background-color: #00BCD4;
}

.promo-pill-badge.orange-bg {
    background-color: #FF9800;
}

.banner-promo-wrapper {
    position: relative;
    width: 100%;
}

.full-banner-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 22px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 10;
}

.full-banner-overlay.right-align {
    left: auto;
    right: 5%;
}

.full-banner-overlay h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.full-banner-overlay p {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFD600;
}

.banner-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

@media (max-width: 768px) {
    .hero-sale-badge {
        position: absolute;
        top: 50%;
        left: 15px;
        right: 15px;
        transform: translateY(-50%);
        max-width: none;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.92);
    }
    .hero-sale-badge h2 {
        font-size: 18px;
        margin: 4px 0;
    }
    .hero-sale-badge p {
        font-size: 11px;
        margin-bottom: 8px;
    }
    .full-banner-overlay {
        position: absolute;
        top: 50%;
        left: 15px;
        right: 15px;
        transform: translateY(-50%);
        padding: 12px 16px;
    }
    .full-banner-overlay h3 {
        font-size: 16px;
    }
    .full-banner-overlay p {
        font-size: 11px;
    }
}

/* Category Subpage Styles */
.page-content {
    padding-top: 20px;
    padding-bottom: 40px;
}

.breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.category-banner {
    background: linear-gradient(135deg, #00897B, #004D40);
    color: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.15);
}

.category-banner h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-banner p {
    font-size: 14px;
    opacity: 0.9;
}

.category-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 25px;
    align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 20px;
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.filter-group ul {
    list-style: none;
}

.filter-group li {
    margin-bottom: 10px;
}

.filter-group label {
    font-size: 13px;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.price-inputs input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
}

.filter-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Toolbar & Sorting */
.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 20px;
    font-size: 13px;
}

.sort-by label {
    margin-right: 8px;
    color: #555;
}

.sort-by select {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.category-grid-view {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 20px !important;
}

/* Page Title */
.page-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1a1a1a;
}

/* Cart Page Styles */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.cart-items-section {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 20px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    border-bottom: 2px solid #F0F0F0;
}

.cart-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #F0F0F0;
    vertical-align: middle;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-cell img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.product-info h3 {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.product-info .sku {
    font-size: 11px;
    color: #888;
}

.price-cell, .subtotal-cell {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-control .qty-btn {
    background: #f5f5f5;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: 700;
}

.quantity-control .qty-input {
    width: 36px;
    height: 28px;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    outline: none;
}

.remove-btn {
    background: none;
    border: none;
    color: #E53935;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.remove-btn:hover {
    transform: scale(1.15);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.continue-btn, .clear-btn {
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
}

.continue-btn {
    background: #f0f0f0;
    color: #333;
}

.clear-btn {
    background: none;
    border: 1px solid #ccc;
    color: #666;
}

/* Order Summary Panel */
.cart-summary-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 22px;
}

.cart-summary-card h2 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F0F0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 12px;
    color: #444;
}

.summary-line.margin-top {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.free-shipping {
    color: #2E7D32;
    font-size: 11px;
}

.promo-box {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.promo-box input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
}

.promo-box button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    margin: 18px 0;
    padding-top: 12px;
    border-top: 2px solid #F0F0F0;
    color: #1a1a1a;
}

.checkout-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
    padding: 12px 0;
    border-radius: 6px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkout-btn:hover {
    background-color: #00695C;
}

.trust-badges {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    color: #666;
}

/* Checkout Page Styles */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

.checkout-block {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 20px;
}

.checkout-block h2 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-num {
    background: var(--primary-color);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.form-group input, .form-group select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.radio-card input {
    margin-right: 12px;
}

.radio-card.selected {
    border-color: var(--primary-color);
    background-color: #E8F5E9;
}

.radio-info {
    flex: 1;
}

.radio-info strong {
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.radio-info p {
    font-size: 11px;
    color: #666;
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.checkout-item-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.checkout-item-mini img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #eee;
}

.checkout-item-mini .mini-details {
    flex: 1;
}

.checkout-item-mini h4 {
    font-size: 12px;
    font-weight: 700;
}

.guarantee-text {
    font-size: 11px;
    color: #777;
    text-align: center;
    margin-top: 12px;
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icon {
    font-size: 56px;
    color: #2E7D32;
    margin-bottom: 15px;
}

.modal-card h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.modal-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.modal-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    font-size: 12px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .cart-layout, .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-items-section {
        padding: 12px;
    }

    /* Mobile Stacked Card View for Cart Table */
    .cart-table, 
    .cart-table thead, 
    .cart-table tbody, 
    .cart-table th, 
    .cart-table td, 
    .cart-table tr {
        display: block;
    }

    .cart-table thead {
        display: none;
    }

    .cart-item-row {
        position: relative;
        padding: 15px 0;
        border-bottom: 1px solid #F0F0F0;
    }

    .cart-table td {
        padding: 4px 0;
        border-bottom: none;
    }

    .product-cell {
        margin-bottom: 8px;
        padding-right: 35px;
    }

    .product-cell img {
        width: 55px;
        height: 55px;
    }

    .product-info h3 {
        font-size: 12px;
        line-height: 1.3;
    }

    .price-cell {
        display: none;
    }

    .qty-cell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 6px;
    }

    .qty-cell::before {
        content: 'Quantity:';
        font-size: 12px;
        font-weight: 700;
        color: #666;
    }

    .subtotal-cell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 6px;
        font-size: 14px;
        color: var(--primary-color);
        font-weight: 800;
    }

    .subtotal-cell::before {
        content: 'Subtotal:';
        font-size: 12px;
        font-weight: 700;
        color: #666;
    }

    .action-cell {
        position: absolute;
        top: 14px;
        right: 0;
    }

    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }

    .continue-btn, .clear-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }

    .radio-card {
        padding: 10px 12px;
    }

    .checkout-block {
        padding: 16px;
    }

    .modal-card {
        padding: 25px 20px;
        max-width: 90vw;
    }
}

/* Hide Prices & Hide Add to Cart Display Options */
body.hide-prices .product-price-row,
body.hide-prices .price-cell,
body.hide-prices .current-price,
body.hide-prices .old-price {
    display: none !important;
}

body.hide-add-to-cart .add-to-cart-btn {
    display: none !important;
}

.whatsapp-inquire-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none !important;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.whatsapp-inquire-btn:hover {
    background-color: #128C7E;
    transform: translateY(-1px);
}
