/* ==================== THEME VARIABLES (Logo Matched) ==================== */
:root {
    --primary: #65b342;         /* Leaf Green from Logo */
    --primary-dark: #529633;    /* Dark Green Hover */
    --dark: #232323;            /* Dark Charcoal from Logo text */
    --light-bg: #f8fafc;        /* Soft background */
    --border-color: #e2e8f0;    /* Borders */
    --text-muted: #64748b;      /* Muted text color */
    --badge-sale: #ef4444;      /* Red tag */
}

/* ==================== BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
}

body, html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==================== TOP UTILITY BAR ==================== */
.top-utility-bar {
    background-color: var(--dark);
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 0.5rem 0;
}

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

.utility-left {
    display: flex;
    gap: 1.5rem;
}

.utility-right {
    display: flex;
    gap: 1.5rem;
}

.utility-right a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.utility-right a:hover {
    color: var(--primary);
}

/* ==================== MAIN HEADER ==================== */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    gap: 1.5rem;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

/* Search Bar Component */
.search-bar-container {
    flex: 0 0 45%;
}

.search-form {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 6px;
    overflow: hidden;
    width: 100%; /* Ensures it fills its container cleanly on mobile */
}

.category-select {
    background: var(--light-bg);
    border: none;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: var(--dark);
    border-right: 1px solid var(--border-color);
    outline: none;
}

.search-form input {
    flex: 1;
    min-width: 0; /* Prevents input from overflowing flex containers on mobile */
    padding: 0.7rem 1rem;
    border: none;
    outline: none;
    font-size: 0.95rem;
}

.search-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 1.2rem;
    cursor: pointer;
    flex-shrink: 0; /* Ensures the search button never gets squished or hidden */
    transition: background 0.2s;}

.search-form button:hover {
    background: var(--primary-dark);
}

/* Header Right Group & Action Buttons */
.header-right-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.header-actions {
    display: flex;
    gap: 1.5rem;
}

.action-btn {
    position: relative;
    color: var(--dark);
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.2s;
}

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

.count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 0.1rem 0.4rem;
    border-radius: 50%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Navigation */
.main-nav {
    background: var(--dark);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 0;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-highlight {
    color: var(--primary) !important;
}

/* Dropdown Sub-menu Styling */
.nav-links .dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    display: none;
    z-index: 100;
}

.dropdown-menu li a {
    color: var(--dark) !important;
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
    display: block;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background: #f1f5f9;
    color: var(--primary) !important;
}

/* Show Dropdown on Hover */
.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* Distinct Track My Order Button Styling */
.nav-right-action {
    display: flex;
    align-items: center;
}

.nav-track-btn {
    background: var(--primary);
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s, transform 0.2s;
}

.nav-track-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ==================== HERO BANNER SECTION ==================== */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://picsum.photos/1400/600?random=50') center/cover no-repeat;
    color: #fff;
    padding: 7rem 0;
}

.hero-content {
    max-width: 650px;
}

.hero-content .sub-title {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

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

.btn-secondary {
    background: #fff;
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--light-bg);
}

/* ==================== TRUST FEATURES ROW ==================== */
.features-row {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-box h5 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.feature-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==================== GENERAL SECTION LAYOUTS ==================== */
.section-padding {
    padding: 2rem 0;
}

.section-title-box {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title-box h2 {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}

.section-title-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==================== CATEGORY SHOWCASE GRID ==================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.cat-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dark);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.3s;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.cat-img {
    height: 180px;
    overflow: hidden;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.cat-card:hover .cat-img img {
    transform: scale(1.06);
}

.cat-card h3 {
    padding: 1.2rem;
    text-align: center;
    font-size: 1.1rem;
}

/* ==================== PROMOTIONAL BANNER GRID ==================== */
.promo-banner-section {
    padding: 2rem 0 4rem 0;
}

.promo-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.promo-box {
    height: 220px;
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.promo-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.promo-bg-1 { background-image: url('https://picsum.photos/600/300?random=60'); }
.promo-bg-2 { background-image: url('https://picsum.photos/600/300?random=61'); }

.promo-text {
    position: relative;
    z-index: 2;
}

.promo-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
}

.promo-text h3 {
    font-size: 1.5rem;
    margin: 0.3rem 0 0.5rem;
}

.promo-text p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.link-arrow {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.link-arrow:hover {
    color: var(--primary);
}

/* ==================== PRODUCT GRID STYLES ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--dark);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    z-index: 2;
}

.badge.sale { background: var(--badge-sale); }
.badge.bestseller { background: var(--primary); }

.product-thumb {
    width: 100%;
    height: 300px; /* Adjust this to match your design's thumbnail box height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* Background color behind the image if needed */
    overflow: hidden;
}

.product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* This scales your full 500x625 image uniformly so nothing gets cut off */
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-actions-hover {
    position: absolute;
    top: 10px;
    right: -40px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: right 0.3s ease;
}

.product-card:hover .product-actions-hover {
    right: 10px;
}

.product-actions-hover button {
    background: #fff;
    border: 1px solid var(--border-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s;
}

.product-actions-hover button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.product-details {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.star-rating {
    font-size: 0.75rem;
    color: #f59e0b;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.star-rating span {
    color: var(--text-muted);
    margin-left: 0.3rem;
}

.product-details h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price-box {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.cart-btn {
    margin-top: auto;
    background: var(--light-bg);
    color: var(--dark);
    border: 1px solid var(--border-color);
    padding: 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.product-card:hover .cart-btn {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter-section-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-top: 1px solid #bbf7d0;
    border-bottom: 1px solid #bbf7d0;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

.newsletter-form-box {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.newsletter-form-box input {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-right: none;
    outline: none;
    font-size: 0.95rem;
}

.newsletter-form-box button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form-box button:hover {
    background: var(--primary-dark);
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: var(--dark);
    color: #fff;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-logo {
    height: 38px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-widget p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background: #334155;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-socials a:hover {
    background: var(--primary);
}

.footer-widget h4 {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.6rem;
}

.footer-widget ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-widget ul li a:hover {
    color: var(--primary);
}

.footer-bottom-bar {
    background: #1a1a1a;
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    border-top: 1px solid #334155;
}

/* ==================== MOBILE RESPONSIVE MEDIA QUERY ==================== */
@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .utility-flex {
        font-size: 0.75rem;
    }

    .header-flex {
        flex-wrap: wrap;
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }

    .logo-link {
        order: 1;
    }

    .header-right-group {
        order: 2;
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .search-bar-container {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .main-nav {
        background: #fff;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-flex-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links.show-mobile-menu {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-links a {
        color: var(--dark) !important;
        padding: 0.7rem 1rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
        background: #f8fafc;
    }

    .nav-right-action {
        padding: 0.6rem 1rem;
        background: var(--light-bg);
        border-top: 1px solid var(--border-color);
    }

    .nav-track-btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem;
    }
}

/*=====================*/
/* Hide top utility bar on mobile devices */
@media (max-width: 992px) {
    .top-utility-bar {
        display: none !important;
    }
}

/*==============================*/
/* ==================== TEXT-FREE 3-6-3 BANNER SECTION STYLES ==================== */
.banner-grid-section {
    padding: 1rem 0;
    width: 100%;
}

.banner-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 0 1rem;
}

/* Column Spacing: Left (3), Center (6), Right (3) */
.left-ads {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.center-hero {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
}

.right-ads {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Pure Image Ad Card Styles */
.ad-card-link {
    display: block;
    height: 220px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.ad-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ad-card-link:hover img {
    transform: scale(1.04);
}

/* Center Hero Banner Box */
.hero-slider-box {
    position: relative;
    height: 452px; /* Matches 2 ad cards (220px * 2 + 12px gap) */
    border-radius: 6px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.hero-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-slider-box:hover .hero-slider-img {
    transform: scale(1.02);
}

/* Responsive collapse */
@media (max-width: 1024px) {
    .banner-grid-container {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }

    .left-ads, .center-hero, .right-ads {
        grid-column: span 12;
    }

    .hero-slider-box {
        height: 300px;
    }
}

/*==============*/
/* ==================== HERO SLIDER ANIMATION STYLES ==================== */
.hero-slider-box {
    position: relative;
    width: 100%;
    height: 460px; /* Adjust to your banner height */
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

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

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #ffffff;
}

/*=========*/
/* ==================== MOBILE AD COLUMNS SIDE-BY-SIDE ==================== */
@media (max-width: 1024px) {
    /* Ensure the 3-6-3 grid container stacks nicely */
    .banner-grid-container {
        grid-template-columns: 1fr;
        padding: 0 0.5srem;
        gap: 1rem;
    }

    .left-ads, .right-ads {
        grid-column: span 12;
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Makes the two ads sit side by side horizontally */
        gap: 1rem;
    }

    .center-hero {
        grid-column: span 12;
    }

    /* Adjust ad card height slightly for mobile horizontal split */
    .ad-card-link {
        height: 160px; 
    }

    .hero-slider-box {
        height: 280px; /* Keeps the center hero slider proportionate */
    }
}

/*=============================*/
/* ==================== NEW ARRIVALS SECTION STYLES ==================== */
.full-width-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.container-padding {
    padding: 0 1.5rem;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
    margin-bottom: 2rem;
}

.section-header-flex h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.view-all-btn {
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.view-all-btn:hover {
    background: var(--primary-dark);
}

/* Edge-to-Edge Asymmetrical Layout Wrapper */
.new-arrivals-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: stretch;
    width: 100%;
    padding: 0 1rem;
}

/* Left Promo Banner Card */
.na-promo-banner {
    background: #38bdf8;
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    min-height: 400px;
}

.na-banner-badge {
    background: var(--dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    align-self: flex-start;
    z-index: 2;
}

.na-banner-content {
    z-index: 2;
}

.na-banner-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.na-shop-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.na-shop-link:hover {
    opacity: 0.85;
}

.na-banner-img {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 190px;
    z-index: 1;
    opacity: 0.9;
}

.na-banner-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Right Side: Product Viewport Container for Slider */
.na-grid-viewport {
    overflow: hidden; /* Clips extra products when sliding pages */
    width: 100%;
}

.na-product-grid {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

/* On Desktop: Each product card takes up exactly 25% width (so 4 fit side-by-side per slide) */
.na-product-grid .product-card {
    min-width: calc(25% - 1.125rem);
    flex: 0 0 calc(25% - 1.125rem);
    box-sizing: border-box;
}

/* Pagination Dots Indicator */
.na-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2rem;
}

.na-pagination-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
}

.na-pagination-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--badge-sale);
}

/* ==================== RESPONSIVE MEDIA QUERY ==================== */
@media (max-width: 1024px) {
    .new-arrivals-wrapper {
        grid-template-columns: 1fr;
    }

    /* Hide promo banner on mobile */
    .na-promo-banner {
        display: none !important;
    }

    /* Make the viewport match 100% of the container width cleanly */
    .na-grid-viewport {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }

    /* Ensure zero gap so cards snap perfectly */
    .na-product-grid {
        gap: 0; 
    }

    /* On mobile, each card must occupy exactly 100% of the visible container */
    .na-product-grid .product-card {
        min-width: 100%;
        flex: 0 0 100%;
        box-sizing: border-box;
    }
}

/*===================================*/
/* ==================== HORIZONTAL 3-PART ADS STYLES ==================== */
.horizontal-ads-section {
    padding: 1.5rem 0;
    width: 100%;
}

.horizontal-ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Always 3 equal parts side-by-side */
    gap: 0.75rem; /* Slightly tighter gap for mobile screens */
    width: 100%;
    padding: 0 1rem;
}

.h-ad-card {
    position: relative;
    height: 175px; /* Fixed height for desktop mode */
    border-radius: 6px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    display: block;
}

.h-ad-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.h-ad-card:hover img {
    transform: scale(1.04);
}

.h-ad-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 100%);
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h-ad-overlay span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    font-weight: 700;
}

.h-ad-overlay h4 {
    font-size: 1rem;
    margin-top: 0.1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ==================== PROPORTIONAL MOBILE SCALING (STAY SIDE-BY-SIDE) ==================== */
@media (max-width: 768px) {
    .horizontal-ads-grid {
        gap: 0.5rem; /* Even tighter gap for small phones */
        padding: 0 0.5rem;
    }

    .h-ad-card {
        height: 95px; /* Proportionally scales down height so all 3 fit nicely side-by-side on mobile */
    }

    .h-ad-overlay {
        padding: 0.6rem;
    }

    .h-ad-overlay span {
        font-size: 0.5rem;
    }

    .h-ad-overlay h4 {
        font-size: 0.75rem; /* Scales text down to prevent breaking layout */
    }
}


/*==========================================*/
/* ==================== BEST SELLERS SECTION STYLES ==================== */
.bs-container-wrapper {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.bs-grid-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Ensure the carousel track lays items out horizontally with zero unwanted flex wrap */
.bs-product-grid {
    display: flex;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

/* Desktop default: Force each product card to take up exactly 20% so 5 fit perfectly */
.bs-product-grid .product-card.carousel-item {
    flex: 0 0 20%;
    max-width: 20%;
    box-sizing: border-box;
    padding: 0 8px; /* Internal spacing between cards */
}

/* Fix thumbnail spacing/gaps without touching your core layout dimensions */
.bs-product-grid .product-card.carousel-item .product-thumb {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.bs-product-grid .product-card.carousel-item .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Fills the container edge-to-edge cleanly */
    display: block;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* Smaller Desktops / Laptops (e.g., 1200px and below) */
@media (max-width: 1200px) {
    .bs-product-grid .product-card.carousel-item {
        flex: 0 0 25%; /* 4 cards on screen */
        max-width: 25%;
    }
}

/* Tablets / Medium Screens (e.g., 1024px and below) */
@media (max-width: 1024px) {
    .bs-container-wrapper {
        padding: 0 0.5rem;
    }
    .bs-product-grid .product-card.carousel-item {
        flex: 0 0 33.333%; /* 3 cards on screen for tablets */
        max-width: 33.333%;
    }
}

/* Small Tablets / Large Phones (e.g., 768px and below) */
@media (max-width: 768px) {
    .bs-product-grid .product-card.carousel-item {
        flex: 0 0 50%; /* 2 cards side-by-side on mobile view */
        max-width: 50%;
        padding: 0 4px; /* Tighter padding for mobile screens */
    }
}

/* Extra Small Phones (e.g., 480px and below) */
@media (max-width: 480px) {
    .bs-product-grid .product-card.carousel-item {
        flex: 0 0 50%; /* Keeps 2 compact cards visible or switch to 100% if preferred */
        max-width: 50%;
    }
}

/* ==================== PAGINATION DOTS ==================== */

.bs-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1.5rem;
}

.bs-pagination-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bs-pagination-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--badge-sale, #ff4757);
}

/*===================================*/
/* ==================== OCCASIONAL SECTION STYLES ==================== */

.occasional-section {
    background: linear-gradient(135deg, #008000 0%, #65b342 100%);
    padding: 4rem 0;
}

.occasional-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.occasional-header-wrapper h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Occasion Tab Navigation Links */
.occasion-tabs {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.occasion-tabs .tab-btn {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    position: relative;
    padding-bottom: 0.3rem;
    transition: color 0.3s;
}

.occasion-tabs .tab-btn:hover,
.occasion-tabs .tab-btn.active {
    color: #fff;
}

.occasion-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.85rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

/* Tab Panes */
.occasion-pane {
    display: none;
}

.occasion-pane.active {
    display: block;
}

/* Static 8-Product Grid on Desktop (4 Columns x 2 Rows) */
.static-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Custom Product Card Border for this section */
.occasional-section .product-card {
    border: 1px solid #529633;
}

/* Pagination dots hidden by default on desktop */
.occ-pagination-dots {
    display: none;
}

/* ==================== MOBILE RESPONSIVE SLIDER VIEW ==================== */
@media (max-width: 1024px) {
    .occasional-content-wrapper {
        padding: 0;
        overflow: hidden; /* Clips out-of-view products */
        width: 100%;
        box-sizing: border-box;
    }

    /* Turn the grid into a horizontal slider track on mobile */
    .static-product-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        transition: transform 0.4s ease-in-out;
        width: 800%; /* Exactly 800% since there are 8 product cards per tab (8 x 100%) */
        box-sizing: border-box;
    }

    /* Each card takes up 12.5% of the track width (which equals 100% of the mobile screen viewport) */
    .static-product-grid .product-card {
        width: 12.5%; 
        min-width: 12.5%;
        flex: 0 0 12.5%;
        box-sizing: border-box;
        margin: 0;
        border: 1px solid #529633;
    }

    /* Enable pagination dots on mobile */
    .occ-pagination-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 1.5rem;
    }

    .occ-pagination-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: all 0.3s;
    }

    .occ-pagination-dots .dot.active {
        width: 24px;
        border-radius: 4px;
        background-color: #fff;
    }
}


/*==============================*/
/* ==================== TESTIMONIALS SECTION STYLES ==================== */
.testimonials-section {
    width: 100%;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    padding: 3rem 0;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: 25% 75%; /* Exactly 25% and 75% split */
    align-items: center;
    width: 100%;
}

/* Left Sidebar (25%) */
.testimonial-sidebar {
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-sidebar-content span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
}

.testimonial-sidebar-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 0.4rem;
    line-height: 1.2;
}

.testimonial-girl-img {
    margin-top: 1.5rem;
    max-width: 220px;
}

.testimonial-girl-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Right Marquee Container (75%) */
.testimonial-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
}

/* Auto-Scrolling Track */
.testimonial-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollTestimonials 25s linear infinite;
}

/* Pause animation on hover for user readability */
.testimonial-marquee-container:hover .testimonial-track {
    animation-play-state: paused;
}

/* Testimonial Card Styling */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.8rem;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.t-rating {
    color: #f59e0b; /* Star color */
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.t-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.t-author h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.t-author span {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Marquee Animation Keyframes (Right to Left) */
@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==================== RESPONSIVE MEDIA QUERY ==================== */
@media (max-width: 992px) {
    .testimonials-wrapper {
        grid-template-columns: 1fr; /* Stack on mobile/tablet */
        text-align: center;
    }

    .testimonial-sidebar {
        padding: 0 1rem 2rem 1rem;
        align-items: center;
    }

    .testimonial-girl-img {
        display: none; /* Hide or scale illustration on mobile to save vertical space */
    }
}

/* ==================== DESKTOP ONLY VISIBILITY ==================== */
@media (max-width: 1024px) {
    .testimonials-section {
        display: none !important; /* Completely hides the section on mobile and tablet devices */
    }
}

/*============================================*/
/* ==================== NEWSLETTER SECTION STYLES ==================== */
.newsletter-section {
    width: 100%;
    background-color: #65b342; /* Requested background color */
    padding: 2.5rem 2rem;
    box-sizing: border-box;
}

.newsletter-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Left Info Layout */
.newsletter-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.newsletter-icon {
    font-size: 2.2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.2rem 0;
}

.newsletter-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Right Form Layout (Pill Shape) */
.newsletter-form {
    flex: 1;
    max-width: 520px;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px; /* Fully rounded pill shape */
    padding: 6px 6px 6px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #333;
    background: transparent;
    padding: 8px 0;
}

.newsletter-input-group input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    background-color: #1e293b; /* Dark charcoal/black button styling from screenshot */
    color: #ffffff;
    border: none;
    outline: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-info {
        flex-direction: column;
        gap: 0.8rem;
    }

    .newsletter-form {
        width: 100%;
    }
}


/*==================================*/
/* ==================== FOOTER SECTION STYLES ==================== */
.main-footer {
    background-color: #1e293b; /* Dark, professional background tone */
    color: #cbd5e1;
    padding-top: 4rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget .footer-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-widget p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5krem;
}

.footer-widget h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
}

/* Footer Links Lists */
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 0.75rem;
}

.footer-widget ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #65b342; /* Matches your brand green */
    padding-left: 4px; /* Subtle shift on hover */
}

/* Contact Info Icons */
.footer-widget p i {
    color: #65b342;
    margin-right: 0.5rem;
    width: 16px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: #65b342;
    color: #ffffff;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    background-color: #0f172a;
    padding: 1.2rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-bottom-bar p {
    margin: 0;
}

/* ==================== RESPONSIVE FOOTER ==================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-trust-widget {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon-img {
    width: 42px; /* Fixed width for consistent alignment */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.trust-badge-item .trust-text {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.trust-badge-item .trust-text strong {
    color: #ffffff;
    font-weight: 600;
}


/*=================================*/
/* ==================== 20% / 80% CATALOGUE STYLES ==================== */
.plp-wrapper {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.plp-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.plp-breadcrumb a {
    color: #475569;
    text-decoration: none;
}

.plp-breadcrumb span {
    color: #65b342;
    font-weight: 500;
}

.plp-layout-split {
    display: grid;
    grid-template-columns: minmax(0, 20%) minmax(0, 80%);
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

/* 20% Sidebar Styling */
.plp-sidebar-20 {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    height: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
}

.plp-sidebar-20 h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0;
    border-bottom: 2px solid #65b342;
    padding-bottom: 0.5rem;
}

.plp-sidebar-20 h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin: 1.5rem 0 0.8rem 0;
}

.filter-dropdown-container {
    width: 100%;
}

.filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 0.9rem;
    color: #334155;
    outline: none;
    cursor: pointer;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.filter-list label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #475569;
    cursor: pointer;
}

/* 80% Content Header & Sort Dropdown */

.plp-content-80 {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.plp-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 1rem;
}

.plp-header-bar h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.result-count {
    font-size: 0.85rem;
    font-weight: 400;
    color: #64748b;
    margin-left: 0.5rem;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-wrapper label {
    font-size: 0.9rem;
    color: #64748b;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    font-size: 0.9rem;
    color: #334155;
    outline: none;
    cursor: pointer;
}

/* 4-Column Product Grid */
.plp-product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
}

/* Product Card Styling (Vertical Ratio & GPU hardware acceleration to avoid blinking) */
.plp-product-grid-4 .product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
}

.plp-product-grid-4 .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.product-img-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f1f5f9;
    overflow: hidden;
}

.product-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.plp-product-grid-4 .product-card:hover .product-img-link img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #65b342;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
}

.product-card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.8rem 0;
}

.product-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover {
    color: #65b342;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    margin-top: auto;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.original-price {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-view-product {
    display: block;
    text-align: center;
    background-color: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view-product:hover {
    background-color: #65b342;
    color: #ffffff;
    border-color: #65b342;
}

/* Explore More Button */
.explore-more-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-explore-more {
    background-color: #ffffff;
    color: #1e293b;
    border: 2px solid #cbd5e1;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.btn-explore-more:hover {
    background-color: #65b342;
    color: #ffffff;
    border-color: #65b342;
}

/* Responsive queries */
@media (max-width: 1024px) {
    .plp-layout-split {
        grid-template-columns: 1fr;
    }
    .plp-sidebar-20 {
        display: none;
    }
    .plp-product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .plp-product-grid-4 {
        grid-template-columns: 1fr;
    }
}

/*=============================*/
/* ==================== 2-COLUMN MOBILE GRID & FIXED BOTTOM NAV ==================== */

/* Ensure the product grid is 2 columns on tablets/mobile */
@media (max-width: 1024px) {
    .plp-product-grid-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; /* Forces strict 2-column grid */
        gap: 0.75rem;
    }
    
    /* Add bottom padding to body so content isn't hidden behind the fixed bottom nav */
    body {
        padding-bottom: 60px; 
    }
}

/* Screen-Fixed Bottom Navigation Bar for Mobile */
.mobile-bottom-nav {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 8px 0;
    border-top: 1px solid #8dd26e;
}

.mobile-bottom-nav-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-bottom-nav-flex li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 500;
    gap: 3px;
    transition: color 0.2s;
}

.mobile-bottom-nav-flex li a i {
    font-size: 1.1rem;
}

.mobile-bottom-nav-flex li a:hover,
.mobile-bottom-nav-flex li a.active {
    color: #65b342;
}

/* Show bottom nav only on mobile screens */
@media (max-width: 1024px) {
    .mobile-bottom-nav {
        display: block;
    }
}

/* Ensure Explore More button is fully visible on both desktop and mobile */
.explore-more-container {
    text-align: center;
    margin: 2.5rem 0;
    width: 100%;
    grid-column: 1 / -1; /* Ensures it spans across grid columns if necessary */
}

.btn-explore-more {
    background-color: #ffffff;
    color: #1e293b;
    border: 2px solid #cbd5e1;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.btn-explore-more:hover {
    background-color: #65b342;
    color: #ffffff;
    border-color: #65b342;
}

/*===================================*/
/* ==================== MOBILE SLIDE-IN FILTER DRAWER ==================== */

/* Backdrop overlay when mobile filter is open */
.mobile-filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.mobile-filter-overlay.active {
    display: block;
}

@media (max-width: 1024px) {
    /* Transform the desktop 20% sidebar into a hidden mobile slide-in drawer */
    .plp-sidebar-20 {
        position: fixed !important;
        top: 0;
        left: -100%; /* Hidden off-screen to the left */
        width: 80% !important;
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        z-index: 2000;
        box-shadow: 5px 0 25px rgba(0,0,0,0.15);
        overflow-y: auto;
        transition: left 0.35s ease-in-out;
        border-radius: 0 !important;
        padding: 2rem 1.5rem !important;
    }

    /* When active class is added via JS, slide it into view from the left */
    .plp-sidebar-20.mobile-drawer-open {
        left: 0 !important;
        display: block !important;
    }

    /* Add a close button inside the mobile drawer header */
    .mobile-drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.8rem;
    }

    .mobile-drawer-header h3 {
        margin: 0;
        border: none !important;
        padding: 0 !important;
    }

    .close-drawer-btn {
        background: none;
        border: none;
        font-size: 1.3rem;
        color: var(--dark);
        cursor: pointer;
    }
}

/* Hide mobile drawer header on desktop */
.mobile-drawer-header {
    display: none;
}

/* Hide mobile apply button by default on desktop */
.mobile-apply-container {
    display: none;
}

/* Mobile Slide-In Drawer & Apply Button Styles */
@media (max-width: 1024px) {
    .mobile-apply-container {
        display: block;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .btn-apply-filters {
        width: 100%;
        background-color: var(--primary);
        color: #ffffff;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s;
        box-shadow: 0 4px 10px rgba(101, 179, 66, 0.2);
    }

    .btn-apply-filters:hover {
        background-color: var(--primary-dark);
    }
}

/*===============================================*/
/* ==================== PRODUCT DETAILS PAGE (PDP) STYLES ==================== */

.pdp-main-container {
    background-color: #f8fafc;
    padding: 2rem 0 4rem 0;
}

.pdp-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pdp-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.pdp-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.pdp-breadcrumb a:hover {
    color: var(--primary);
}

.pdp-breadcrumb span {
    color: var(--primary);
    font-weight: 500;
}

/* 2-Column Split Layout */
.pdp-layout-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Left Gallery Section - Slider Container */
.pdp-gallery-section {
    position: relative;
    width: 500px;
    height: 625px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e2e8f0);
}

/* Slider Track / Wrapper */
.pdp-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Individual Slider Image (500px X 625px) */
.pdp-slide-img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Lightbox Modal Popup Overlay */
.pdp-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdp-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.pdp-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.pdp-lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
}

/* Close Button for Lightbox */
.pdp-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #ffffff;
    color: #000000;
    border: none;
    font-size: 24px;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Mobile Responsive Adjustment */
@media (max-width: 768px) {
    .pdp-gallery-section {
        width: 100%;
        height: 400px;
    }
}

/* Slider Pagination Dots */
.pdp-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.pdp-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.pdp-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* Right Info Section */
.pdp-info-section {
    display: flex;
    flex-direction: column;
}

.pdp-product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.pdp-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.stock-status {
    font-size: 0.88rem;
    font-weight: 600;
}

.stock-status.in-stock {
    color: #16a34a;
}

.pdp-pricing-box {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    background-color: #f8fafc; /* Light grey/blue background */
    border: 1px solid #e2e8f0; /* Subtle border */
    padding: 12px 16px;
    border-radius: 10px;       /* Rounded corners */
    margin: 15px 0;
}

.pdp-current-price {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
}

.pdp-old-price {
    font-size: 16px;
    color: #64748b;
    text-decoration: line-through;
}

.pdp-discount-badge {
    color: #e7261c;; /* Clean green text for the discount */
    font-size: 15px;
    font-weight: 600;
}

.pdp-short-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Quantity & Action Buttons */
.pdp-action-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.pdp-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    background: #f8fafc;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e2e8f0;
}

.pdp-quantity-wrapper input {
    width: 45px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    background: transparent;
}

.btn-add-to-cart, .btn-buy-now {
    flex: 1;
    min-width: 140px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.btn-add-to-cart {
    background-color: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-buy-now {
    background-color: var(--primary);
    color: #ffffff;
    border: 2px solid var(--primary);
}

.btn-buy-now:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Stock Status Colors */
.stock-status {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-status.in-stock {
    color: #16a34a; /* Green */
}

.stock-status.few-left {
    color: #f97316; /* Orange */
}

.stock-status.out-of-stock {
    color: #dc2626; /* Red */
}

/* Disabled State for Action Buttons & Quantity Picker */
.btn-add-to-cart:disabled,
.btn-buy-now:disabled,
.qty-btn:disabled {
    background-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    border-color: #cbd5e1 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none;
}

.btn-add-to-cart:disabled *,
.btn-buy-now:disabled * {
    color: #94a3b8 !important;
}

.disabled-wrapper {
    opacity: 0.6;
    background-color: #f1f5f9;
}

/* PIN Code Box */
.pdp-pincode-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.pdp-pincode-box h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdp-pincode-box h4 i {
    color: var(--primary);
}

.pincode-form {
    display: flex;
    gap: 0.5rem;
}

.pincode-form input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    font-size: 0.9rem;
    background: #fff;
}

.pincode-form button {
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 0 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.pincode-form button:hover {
    background: var(--primary);
}

.pincode-msg {
    font-size: 0.85rem;
    margin-top: 0.6rem;
    font-weight: 500;
}

/* Features List */
.pdp-features-list {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    color: var(--primary);
    font-size: 1rem;
}

/* ==================== RESPONSIVE DESIGN (PDP) ==================== */
@media (max-width: 992px) {
    .pdp-layout-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .pdp-product-title {
        font-size: 1.5rem;
    }
}

/* ==================== MOBILE RESPONSIVE FIXES FOR PDP ==================== */
@media (max-width: 768px) {
    .pdp-main-container {
        padding: 1rem 0 3rem 0;
    }

    .pdp-layout-split {
        padding: 1rem;
        gap: 1.5rem;
        border-radius: 8px;
    }

    .pdp-product-title {
        font-size: 1.3rem;
    }

    .pdp-current-price {
        font-size: 1.5rem;
    }

    /* Stack quantity selectors and action buttons nicely on small screens */
    .pdp-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pdp-quantity-wrapper {
        justify-content: center;
        width: 100%;
    }

    .pdp-quantity-wrapper input {
        flex: 1;
    }

    .btn-add-to-cart, .btn-buy-now {
        width: 100%;
    }

    /* Stack features list vertically on mobile */
    .pdp-features-list {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ==================== PDP MOBILE OVERFLOW FIXES ==================== */
@media (max-width: 992px) {
    .pdp-layout-split {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        box-sizing: border-box;
        overflow: hidden;
    }

    .pdp-gallery-section, 
    .pdp-info-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Prevent the thumbnail row from breaking layout bounds */
    .pdp-thumbnail-row {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        width: 100%;
        max-width: 100%;
        padding-bottom: 5px;
    }

    .pdp-thumb {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    /* Lock the PIN code form inside screen width */
    .pincode-form {
        display: flex;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pincode-form input {
        min-width: 0;
        flex: 1;
    }
}

/* ==================== DESKTOP THUMBNAIL SCROLL & BOUNDS ==================== */
.pdp-gallery-section {
    max-width: 100%;
    overflow: hidden;
}

/* Force the thumbnail container to stay within the left column bounds */
.pdp-thumbnail-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding-bottom: 8px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* Custom scrollbar styling for a cleaner look */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f5f9;
}

/* Webkit scrollbar for Chrome/Safari/Edge */
.pdp-thumbnail-row::-webkit-scrollbar {
    height: 6px;
}

.pdp-thumbnail-row::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.pdp-thumbnail-row::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 4px;
}

/* Ensure each thumbnail calculates its width so exactly 5 fit nicely in view */
.pdp-thumb {
    flex: 0 0 calc((100% - (4 * 0.75rem)) / 5);
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    background: #f1f5f9;
    transition: all 0.2s ease;
}


/*===========================================*/
/* ==================== PDP TABS & RELATED PRODUCTS STYLING ==================== */

/* Tabbed Information Section */
.pdp-tabs-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-top: 3rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.pdp-tabs-header {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.pdp-tab-btn {
    background: transparent;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

.pdp-tab-btn:hover {
    color: var(--primary);
}

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

.pdp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.pdp-tabs-content {
    padding: 2rem;
}

.pdp-tab-pane {
    display: none;
}

.pdp-tab-pane.active {
    display: block;
}

.pdp-tab-pane h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.pdp-tab-pane p, .pdp-tab-pane ul {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pdp-tab-pane ul {
    padding-left: 1.5rem;
}

/* Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 700px;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 35%;
    background: #f8fafc;
}

.specs-table td:last-child {
    color: var(--text-muted);
}

/* Review Items */
.review-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-header strong {
    color: var(--dark);
    font-size: 0.95rem;
}

/* Related Products Section */
.pdp-related-section {
    margin-top: 3.5rem;
}

/* Success Toast Notification Popup */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e293b;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Mobile Responsive Adjustments for Tabs */
@media (max-width: 768px) {
    .pdp-tabs-container {
        margin-top: 2rem;
        border-radius: 10px;
    }

    .pdp-tabs-content {
        padding: 1.2rem;
    }

    .pdp-tab-btn {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
}


/*============================================*/
/* ==================== CHECKOUT PAGE STYLING ==================== */
.checkout-main-container {
    background-color: #f8fafc;
    padding: 2rem 0 4rem 0;
}

.checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.checkout-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.checkout-breadcrumb a {
    color: #475569;
    text-decoration: none;
}

.checkout-breadcrumb span {
    color: var(--primary);
    font-weight: 500;
}

.checkout-grid-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
}

/* Left Form Section */
.checkout-form-section, 
.checkout-summary-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.checkout-form-section h2,
.checkout-summary-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.checkout-form-section h2 i {
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    font-size: 0.95rem;
    background: #f8fafc;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--primary);
    background: #fff;
}

.payment-heading {
    margin-top: 2rem;
}

.payment-options-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    background: #f0fdf4;
    cursor: pointer;
}

.payment-label-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.payment-label-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.btn-place-order {
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 4px 12px rgba(101, 179, 66, 0.25);
}

.btn-place-order:hover {
    background-color: var(--primary-dark);
}

/* Right Summary Section */
.summary-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.summary-item-card img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.summary-item-details {
    flex: 1;
}

.summary-item-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.summary-item-details span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.summary-item-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.summary-calculations {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.free-shipping {
    color: #16a34a;
    font-weight: 600;
}

.calc-row.grand-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 0.4rem;
}

.checkout-trust-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.checkout-trust-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .checkout-grid-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/*=====================================*/
.success-main-container {
    padding: 5rem 1.5rem;
    display: flex;
    justify-content: center;
    background: #f8fafc;
}
.success-card {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.success-icon-box {
    font-size: 4rem;
    color: #16a34a;
    margin-bottom: 1rem;
}
.success-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
}
.success-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.order-id-box {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 2rem;
}
.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}


/*===================================================*/
