/* Hey Marketoza - Modern E-commerce Stylesheet
    Author: ositandweb.com
    Date: 2026
*/

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #64748b;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --accent: #ef4444;
    --border: #e2e8f0;
    --font-main: 'Montserrat', sans-serif;
    --font-bn: 'Noto Sans Bengali', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .ticker__item {
    font-family: var(--font-main);
    font-weight: 700;
}

/* For Bengali text support */
[lang="bn"], .ticker__item, .card-title, h1, h2 {
    font-family: var(--font-bn), var(--font-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

/* --- THE "MARKETOZA NEON-FLOW" TICKER --- */
:root {
    --ticker-font-bn: 'Noto Sans Bengali', sans-serif;
    /* Luxury Gradient Colors */
    --grad-1: #0f172a; /* Deep Space */
    --grad-2: #1e293b; /* Slate */
    --grad-3: #2563eb; /* Marketoza Blue */
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 14px 0;
    /* Animated shifting gradient background */
    background: linear-gradient(-45deg, var(--grad-1), var(--grad-2), var(--grad-1), var(--grad-3));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Glassmorphism overlays on the sides for a high-end fade */
.ticker-wrap::before,
.ticker-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 1), transparent);
}

.ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(15, 23, 42, 1), transparent);
}

.ticker {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: luxuryScroll 35s linear infinite;
}

.ticker__item {
    display: inline-flex;
    align-items: center;
    padding: 0 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--ticker-font-bn);
    /* Subtle neon text glow */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

/* Classy Animated Icon between items */
.ticker__item::after {
    content: "✦";
    margin-left: 100px;
    color: #3b82f6; /* Marketoza Blue */
    font-size: 1.2rem;
    animation: starPulse 2s infinite ease-in-out;
}

/* Background Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Smooth Scroll Animation */
@keyframes luxuryScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Star/Icon Pulse */
@keyframes starPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); text-shadow: 0 0 15px #3b82f6; }
}

/* Responsive Polish */
@media (max-width: 768px) {
    .ticker-wrap {
        padding: 10px 0;
    }
    .ticker__item {
        font-size: 0.75rem;
        padding: 0 30px;
    }
    .ticker__item::after {
        margin-left: 60px;
    }
}


/* --- MODERN HEADER & SEARCH MODAL STYLES --- */

:root {
    --header-height: 80px;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --primary: #2563eb;
    --dark: #0f172a;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Main Header */
.main-header {
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s var(--ease);
    z-index: 1000;
    position: sticky;
    top: 0;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
}

/* Icons & Buttons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--dark);
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* 2. Search Modal Base */
.search-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.search-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

.search-content {
    position: relative;
    background: white;
    max-width: 600px;
    margin: 10vh auto;
    padding: 30px;
    border-radius: 20px;
    z-index: 2001;
}

/* --- 3. MOBILE RESPONSIVE FIXES --- */

@media (max-width: 768px) {
    /* Header: Logo & Search Only */
    .header-center {
        display: none !important;
    }

    /* Hides Cart and User icons on mobile */
    .header-right .icon-btn:not(.search-trigger) {
        display: none !important;
    }

    .logo img {
        height: 32px;
    }

    /* Modal Fix: Prevents the "dan pashe chole gache" (right overflow) issue */
    .search-content {
        width: 90%;
        margin: 5vh auto;
        padding: 24px;
    }

    /* This stacks the input and button vertically on mobile */
    .search-input-group {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .search-input-group input {
        width: 100% !important;
        box-sizing: border-box;
    }

    .search-input-group button {
        width: 100% !important;
        height: 50px;
        padding: 0 !important;
    }
}

/* --- CINEMATIC HERO SLIDER WITH ZOOM EFFECT --- */

.hero-slider {
    position: relative;
    height: 85vh; /* Standard desktop height */
    overflow: hidden;
    background: #000; /* Fallback for loading */
}

/* 1. Modern Zoom (Ken Burns) Effect */
.hero-bg-img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image slightly for text readability */
    transition: transform 4s ease-out; /* Smooth transition between slides */
}

/* The Zoom Animation */
.carousel-item.active .hero-bg-img {
    animation: kenBurns 6s ease-out forwards;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

/* 2. Classy Overlay Content */
.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.hero-overlay-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive sizing */
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    
    /* Reveal Animation */
    opacity: 0;
    transform: translateY(30px);
}

.hero-overlay-content p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    
    /* Reveal Animation */
    opacity: 0;
    transform: translateY(20px);
}

/* Staggered text reveal when slide becomes active */
.carousel-item.active h1 {
    animation: heroFadeUp 0.8s ease forwards 0.5s;
}

.carousel-item.active p {
    animation: heroFadeUp 0.8s ease forwards 0.8s;
}

.carousel-item.active .btn-hero {
    animation: heroFadeUp 0.8s ease forwards 1.1s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. The Boutique Button */
.btn-hero {
    display: inline-block;
    padding: 16px 45px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0; /* Hidden initially for animation */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    background: #2563eb; /* Marketoza Blue */
    color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

/* 4. Modern Indicators (Pills instead of dots) */
.carousel-indicators [button] {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 60px;
    background-color: #2563eb;
}

/* 5. Custom Control Arrows */
.carousel-control-prev, .carousel-control-next {
    width: 8%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

/* Responsive Scaling */
@media (max-width: 768px) {
    .hero-slider, .hero-bg-img {
        height: 65vh;
    }
    
    .hero-overlay-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-overlay-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 0.8rem;
    }
}


/* ...............................
    --- NEW ARRIVALS: MODERN SLIDER & GRID --- 
    ............................... */

.new-arrivals {
    padding: 60px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #0f172a;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #2563eb;
    margin: 0 auto;
    border-radius: 2px;
}

/* Slider Wrapper */
.slider-outer-wrapper {
    position: relative;
    padding: 0 4%;
}

/* The Scroll Container */
.modern-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    padding: 20px 0;
}

.modern-scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Product Card Styling */
.modern-product-card {
    flex: 0 0 calc(20% - 16px); /* 5 products per row on Desktop */
    background: #fff;
    border-radius: 15px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modern-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #2563eb;
}

/* Image Box */
.image-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1.2;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-product-card:hover .image-box img {
    transform: scale(1.1);
}

/* Badges */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-discount {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-new {
    background: #0f172a;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Card Content */
.card-content {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-now {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2563eb;
}

.price-was {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

/* --- UPDATED: REDUCED BUTTON TEXT SIZE --- */
.modern-cart-btn {
    width: 100%;
    background: #ffffff;
    color: #000000 !important; /* Strictly Black Text */
    border: 1px solid #000000;
    padding: 8px 10px; /* Reduced vertical padding */
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem; /* Reduced from 0.9rem */
    margin-top: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.modern-cart-btn:hover {
    background: #000000;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Navigation Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.slide-arrow:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.slide-arrow.prev { left: 0; }
.slide-arrow.next { right: 0; }

/* --- UPDATED MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .section-title { 
        font-size: 1.6rem; 
        text-align: left;
        margin-left: 10px;
    }

    .slide-arrow { display: none; }

    .slider-outer-wrapper { 
        padding: 0 10px; 
    }

    .modern-scroll-container {
        display: grid;
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;
        grid-auto-columns: calc(50% - 15px); 
        gap: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }

    .modern-product-card {
        width: 100%;
        flex: none;
        scroll-snap-align: start;
        border-radius: 12px;
        padding: 8px;
    }

    .image-box {
        aspect-ratio: 1 / 1;
    }

    .card-title { 
        font-size: 0.85rem; 
        margin-top: 5px;
    }
    
    .price-now { font-size: 0.95rem; }
    
    /* --- UPDATED: COMPACT MOBILE BUTTON TEXT --- */
    .modern-cart-btn {
        padding: 4px 2px;
        font-size: 0.6rem; /* Reduced from 0.65rem */
        border-radius: 5px;
        margin-top: 8px;
        font-weight: 700;
        gap: 4px;
        letter-spacing: -0.2px;
    }
}


/* --- CATEGORIES SECTION --- */
.categories {
    background-color: #ffffff;
    padding: 60px 0;
    overflow: hidden;
}

.categories .section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    color: #0f172a;
    letter-spacing: -1px;
}

/* Base Grid Layout */
.cat-grid {
    display: grid;
    gap: 20px;
    padding: 0 4%;
    transition: all 0.4s ease;
}

/* Category Card Styling */
.cat-card {
    position: relative;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cat-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 2;
    text-align: center;
    padding: 0 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

/* Overlay Effect */
.cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    transition: background 0.3s ease;
    z-index: 1;
}

/* Hover Effects */
.cat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.cat-card:hover::after {
    background: rgba(0,0,0,0.5);
}

.cat-card:hover h3 {
    transform: scale(1.1);
}

/* --- Responsive Logic --- */

/* Mobile & Tablet: 3 Columns x 2 Rows (Total 6) */
@media (max-width: 1023px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }
    
    /* মোবাইলে ৭ নম্বর থেকে ১২ নম্বর ক্যাটাগরি হাইড থাকবে */
    .desktop-only {
        display: none;
    }

    .cat-card {
        height: 120px;
    }

    .cat-card h3 {
        font-size: 0.85rem;
    }
}

/* Computer/Desktop: 6 Columns x 2 Rows (Total 12) */
@media (min-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(6, 1fr); /* ৬ কলাম */
        grid-template-rows: repeat(2, 1fr);   /* ২ সারি */
        gap: 20px;
    }

    .cat-card {
        height: 220px; /* ডেস্কটপে বড় হাইট */
    }
    
    .desktop-only {
        display: flex; /* ডেস্কটপে সবগুলো শো করবে */
    }
}

/* --- HEY MARKETOZA TRENDS: PREMIUM HOME GRID --- */

.products {
    background-color: #fafafa;
    padding: 80px 0;
    position: relative;
    z-index: 1; /* Establishes a clean stacking context for this section */
}

/* 1. Centered Header Logic */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. Layout & Sidebar */
.shop-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 0 5%;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-block {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #0f172a;
}

.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { margin-bottom: 8px; }

.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 12px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover, 
.sidebar-menu li a.active {
    background: #2563eb;
    color: white;
}

/* 3. Product Grid & Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.modern-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex; /* Fix: Makes card a flex container */
    flex-direction: column; /* Fix: Stacks content vertically */
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1.15;
    pointer-events: auto; /* Fix: Prevents image layer from stealing clicks */
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.modern-card:hover .card-media img {
    transform: scale(1.1);
}

.badge-new {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0f172a;
    color: white;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 2;
    pointer-events: auto;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Fix: Ensures body fills remaining space */
    position: relative;
    z-index: 5;
}

.card-category {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.card-title a {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    position: relative;
    z-index: 6;
    pointer-events: auto;
}

.card-price {
    margin: 15px 0;
}

.current {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2563eb;
}

.old {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-left: 10px;
    text-decoration: line-through;
}

/* ==================================================
    ADD TO CART BUTTON: ULTRA COMPACT SIZE
================================================== */
.modern-cart-btn {
    width: 100%;
    padding: 8px 12px; /* Reduced vertical padding */
    border-radius: 8px; /* Slightly tighter corners */
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.85rem; /* Smaller text size */
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* Reduced gap between icon and text */
    
    /* Conflict Prevention */
    margin-top: auto; 
    position: relative;
    z-index: 10; 
    pointer-events: auto !important; 
    box-sizing: border-box;
}

.modern-cart-btn:hover {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

/* 4. Mobile Logic */
@media (max-width: 991px) {
    .shop-sidebar {
        display: none;
    }

    .shop-wrapper {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .section-title { font-size: 1.8rem; }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-grid > .modern-card:nth-child(n+11) {
        display: none;
    }

    .card-body { padding: 15px; }
    .card-title a { font-size: 1rem; }
    .current { font-size: 1.1rem; }

    /* Button adjustments for mobile grid (Matches your image) */
    .modern-cart-btn {
        padding: 6px 8px; 
        font-size: 0.75rem; 
        border-radius: 6px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .product-grid { gap: 10px; }
    .card-body { padding: 10px; }
}

/* ..........
shop by look
Section Base 
...........*/

.shop-look-section {
    background: #fdfdfd;
    overflow: hidden;
}

.look-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

/* 1. Main Image Column & Hotspots */
.look-image-col {
    position: relative;
    flex: 1.2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.look-main-img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.look-image-col:hover .look-main-img {
    transform: scale(1.03);
}

/* Hotspot Animation */
.look-hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: hotspot-pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.look-hotspot::after {
    content: '+';
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

@keyframes hotspot-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* 2. Product List Column */
.look-products-col {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.look-product-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    gap: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    animation: slideInRight 0.5s ease backwards;
}

.look-product-item:hover {
    transform: translateX(10px);
    border-color: #000;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

.look-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.look-details h4 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.look-details span {
    font-weight: 700;
    color: #d63031;
}

.look-add-btn {
    margin-left: auto;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.look-add-btn:hover {
    background: #333;
}

/* Animations */
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Mobile Responsive Styling --- */
@media (max-width: 991px) {
    .look-container {
        flex-direction: column; /* Stack vertically */
    }

    .look-image-col {
        width: 100%;
        margin-bottom: 20px;
    }

    .look-products-col {
        width: 100%;
    }

    .look-product-item {
        padding: 10px;
    }
    
    .look-thumb {
        width: 60px;
        height: 60px;
    }
}

/* Staggering the product entry animations */
.look-product-item:nth-child(1) { animation-delay: 0.1s; }
.look-product-item:nth-child(2) { animation-delay: 0.2s; }
.look-product-item:nth-child(3) { animation-delay: 0.3s; }


/* --- SHOP BY INTEREST: ULTRA MODERN & ZOOM --- */

.concern-section {
    background: #fcfcfc;
    overflow: hidden;
    padding: 80px 0;
}

/* Center Section Title & Subtitle */
.concern-section .section-title {
    text-align: center;
    margin-left: 0 !important; /* Overriding your inline style */
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 20px;
}

.concern-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 10px;
}

/* Tabs & Tags Centering */
.concern-head-tabs, .concern-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

/* Pill Tabs Design */
.c-tab-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    background: white;
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.c-tab-btn.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    transform: scale(1.05);
}

.c-tag {
    padding: 8px 20px;
    background: #f1f5f9;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: 0.3s ease;
}

.c-tag.active, .c-tag:hover {
    background: #2563eb;
    color: white;
}

/* Grid Wrapper & Arrows */
.concern-grid-wrapper {
    position: relative;
    padding: 20px 5%;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 10;
    cursor: pointer;
    transition: 0.3s;
}

.slide-btn:hover {
    background: #2563eb;
    color: white;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Scroll Container */
.scroll-container {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar { display: none; }

/* --- THE ZOOM PRODUCT CARD --- */
.product-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    border: 1px solid #f1f5f9;
    transition: all 0.5s var(--ease, cubic-bezier(0.23, 1, 0.32, 1));
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

/* Zoom Effect on Image */
.product-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.15); /* Classy slow zoom */
}

/* Badges */
.badge-new, .badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
}

.badge-new { background: #0f172a; }
.badge-discount { background: #ef4444; left: auto; right: 15px; }

/* Info Area */
.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.price-container {
    margin-bottom: 15px;
}

.price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2563eb;
}

/* Modern Add to Cart Button */
.add-to-cart {
    width: 100%;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.product-card:hover .add-to-cart {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .concern-section .section-title { font-size: 1.8rem; }
    
    .product-card {
        flex: 0 0 240px; /* Smaller cards for mobile */
    }
    
    .product-image { height: 280px; }
    
    .slide-btn { display: none; } /* Hide arrows on mobile */
    
    .c-tab-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}


/* --- RESET & ISOLATION --- */
#features.features {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important; /* Forces it to show even if .reveal is stuck */
    background: #0f172a !important; /* Deep Navy */
    padding: 80px 0 !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    z-index: 5;
    box-sizing: border-box;
}

/* --- CONTAINER FIX --- */
#features .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: block !important;
    width: 100% !important;
}

/* --- TITLE FIX (Guaranteed Middle) --- */
#features .section-title {
    display: table !important;
    margin: 0 auto 50px auto !important;
    text-align: center !important;
    color: #ffffff !important;
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    font-weight: 800 !important;
    border-bottom: 3px solid #ffffff !important;
    padding-bottom: 15px !important;
    width: auto !important;
    float: none !important;
    transform: none !important; /* Removes conflicts from animations */
}

/* --- GRID SYSTEM --- */
#features .feature-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* --- CARD STYLING --- */
#features .feature-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 35px 20px !important;
    text-align: center !important;
    transition: all 0.3s ease-in-out !important;
    opacity: 1 !important; /* Forces cards to be visible */
    visibility: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#features .feature-item:hover {
    transform: translateY(-10px) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #3b82f6 !important;
}

/* --- EMOJI / ICON --- */
#features .feature-item i {
    display: block !important;
    font-size: 50px !important;
    font-style: normal !important;
    margin-bottom: 15px !important;
    transition: transform 0.4s ease !important;
}

#features .feature-item:hover i {
    transform: scale(1.2) rotate(10deg) !important;
}

/* --- TYPOGRAPHY --- */
#features .feature-item h3 {
    color: #ffffff !important;
    margin-bottom: 10px !important;
    font-size: 1.2rem !important;
}

#features .feature-item p {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 991px) {
    #features .feature-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    #features .feature-grid {
        grid-template-columns: 1fr !important;
    }
    
    #features .feature-item i {
        animation: mobileFloat 3s infinite ease-in-out !important;
    }
}

@keyframes mobileFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}




/* ==================================================
   HEY MARKETOZA: ULTIMATE ANIMATED FOOTER
   (Scaffolded for your specific Blade Structure)
   ================================================== */

footer {
    background: #0f172a; /* Deep Navy */
    padding: 80px 0 40px;
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* 1. Background Glow Animation */
footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    animation: pulseGlow 8s infinite alternate;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 2. Logo Animation */
.footer-logo {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* 3. Social Links (Eye-Catchy Pill Design) */
footer div[style*="margin-bottom: 1rem"] {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem !important;
}

footer div[style*="margin-bottom: 1rem"] a {
    position: relative;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    margin: 0 !important; /* Overriding your inline margin for better control */
}

footer div[style*="margin-bottom: 1rem"] a:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* 4. Footer Links Grid (Animated Underline) */
.footer-links-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links-grid a {
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.footer-links-grid a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: #2563eb;
    transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.footer-links-grid a:hover {
    color: #ffffff !important;
}

.footer-links-grid a:hover::after {
    width: 100%;
}

/* 5. Copyright & Developed Credit */
footer p {
    font-size: 0.85rem;
    color: #475569;
    margin: 5px 0;
}

.footer-credit {
    display: inline-block;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.footer-credit a {
    color: #2563eb !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.footer-credit a:hover {
    color: #3b82f6 !important;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* 6. Responsive Logic */
@media (max-width: 768px) {
    footer { padding: 60px 0 30px; }
    
    .footer-logo { font-size: 2.2rem; }
    
    footer div[style*="margin-bottom: 1rem"] {
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 15px;
    }
}




/* --- Base Modal Overlay --- */
.checkout-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6); /* Soft dark backdrop */
    backdrop-filter: blur(4px); /* Modern blur effect */
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

/* --- Modal Content Wrapper --- */
.checkout-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Form on left, Summary on right */
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.checkout-modal.active {
    display: block !important;
}
/* --- Header Section --- */
.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 10;
}

.checkout-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.checkout-header button {
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-header button:hover {
    background: #fee2e2 !important;
    color: #ef4444;
}

/* --- Form Styles --- */
.checkout-form {
    padding: 2rem;
}

.checkout-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.checkout-form input, 
.checkout-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.checkout-form input:focus, 
.checkout-form textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* --- Selection Options (Delivery & Payment) --- */
.delivery-option {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.delivery-option:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* When selected via JS (add a .selected class via your function) */
.delivery-option.active {
    border-color: #3b82f6;
    background: #eff6ff;
}

.delivery-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #3b82f6; /* Modern radio color */
}

/* --- Order Summary --- */
.checkout-summ {
    background: #f8fafc;
    padding: 2rem;
    border-left: 1px solid #f1f5f9;
}

.co-item-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.summ-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
}

.summ-total {
    border-top: 2px dashed #e2e8f0;
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: #0f172a;
}

/* --- Buttons --- */
.btn-primary {
    background: #2563eb;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        margin: 0;
        border-radius: 0;
    }
    
    .checkout-modal {
        padding: 0;
    }
    
    .checkout-summ {
        border-left: none;
        border-top: 1px solid #f1f5f9;
        order: -1; /* Summary appears on top on mobile */
    }
}

/* Full Page Content specific adjustments */
.full-page-content {
    padding: 2rem;
    line-height: 1.6;
    color: #334155;
}


/* --- Global Shop Layout --- */
:root {
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --border-color: #e2e8f0;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
}

/* --- Shop Header Section --- */
.shop-header-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
}

.shop-header-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* --- Shop Container Layout --- */
.shop-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* --- Filter Sidebar --- */
.filter-sidebar {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.filter-input:focus {
    border-color: var(--primary-blue);
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.2s;
}

.filter-group label:hover {
    color: var(--primary-blue);
}

.filter-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-blue);
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.image-container {
    position: relative;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    background: #f1f5f9;
    cursor: pointer;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .image-container img {
    transform: scale(1.08);
}

/* Badges */
.badge-stack {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge.discount { background: #ef4444; color: white; }
.badge.new { background: #10b981; color: white; }

/* Product Info */
.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
    cursor: pointer;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title:hover {
    color: var(--primary-blue);
}

.price-box {
    margin-top: auto;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.new-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Add Button */
.add-btn {
    width: 100%;
    background: var(--text-main);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.add-btn:hover {
    background: var(--primary-blue);
}

/* --- Mobile Responsive Styles --- */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .mobile-filter-toggle {
        display: block;
    }

    .filter-sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        width: 280px;
        z-index: 1000;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .filter-sidebar.active {
        left: 0;
    }

    .filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .filter-overlay.active {
        display: block;
    }

    .sidebar-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .sidebar-header-mobile h3 { margin: 0; font-size: 1.2rem; }
    .sidebar-header-mobile button { 
        background: none; border: none; font-size: 2rem; color: var(--text-muted); 
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row on mobile */
        gap: 12px;
    }
    .product-info { padding: 10px; }
    .product-title { font-size: 0.9rem; }
    .new-price { font-size: 1rem; }
}

/* Range Input Styling */
input[type=range] {
    accent-color: var(--primary-blue);
}




/* --- Global Overlay --- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5); /* Soft slate backdrop */
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* --- Cart Drawer Container --- */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px; /* Default desktop width */
    max-width: 90%; /* Responsive for smaller screens */
    height: 100%;
    background: #ffffff;
    box-shadow: -10px 0 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateX(100%); /* Start off-screen to the right */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.drawer.open {
    transform: translateX(0); /* Slide into view */
}

/* --- Cart Dynamic Content Wrapper --- */
#cart-dynamic-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* --- Header --- */
.cart-header {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.cart-header h3 {
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Body (Scrollable Area) --- */
.cart-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.cart-body::-webkit-scrollbar {
    width: 6px;
}

.cart-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

/* --- Individual Cart Items --- */
.cart-item {
    transition: opacity 0.2s ease;
}

.cart-item img {
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease;
}

.cart-item:hover img {
    transform: scale(1.05);
}

/* Quantity Control Buttons */
.cart-item button:hover {
    background-color: #f8fafc !important;
    border-radius: 4px;
}

/* --- Footer (Sticky at Bottom) --- */
.cart-footer {
    padding: 1.5rem;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.03);
}

/* Checkout Button */
.cart-footer .btn-primary {
    background: #2563eb !important; /* Modern Royal Blue */
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.cart-footer .btn-primary:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.cart-footer .btn-primary:active {
    transform: translateY(0);
}

/* --- Empty State --- */
.cart-body div[style*="text-align:center"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: 500;
}

/* --- Responsive Adjustments --- */
@media (max-width: 480px) {
    .drawer {
        width: 100%; /* Full screen width on mobile */
    }
    
    .cart-header, .cart-body, .cart-footer {
        padding: 1rem;
    }
}




/* ======================================================
   COMPLETE FIXED CSS FOR STICKY FOOTER & TABS
   ====================================================== */


/* 1. Fixed Bottom Navigation Bar */
.sticky-footer-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    z-index: 1000;
    /* Respects iPhone notch/safe areas */
    padding-bottom: env(safe-area-inset-bottom, 10px); 
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #718096; /* Slate gray */
    font-size: 11px;
    font-weight: 500;
    gap: 4px;
    cursor: pointer;
}

.nav-item svg {
    stroke: #4a5568;
}

/* 1. Dark Overlay Background */
.menu-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    backdrop-filter: blur(2px);
    z-index: 1001;
    display: none; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* When active, show overlay */
.menu-drawer-overlay.active {
    display: block;
    opacity: 1;
}

/* 2. The Sliding Menu Drawer */
.menu-drawer {
    position: fixed;
    bottom: -100%; /* Hidden off-screen at the bottom */
    left: 0;
    width: 100%;
    height: 80vh; /* Drawer height */
    background: #ffffff;
    z-index: 1002;
    border-radius: 24px 24px 0 0; /* Rounded top corners */
    transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth slide effect */
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}

/* When active, slide up into view */
.menu-drawer.active {
    bottom: 0;
}

/* 3. Prevent Background Scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

/* 4. Drawer Header & Tabs */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 10px;
}

.drawer-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
}

#close-drawer {
    background: #f7fafc;
    border: none;
    font-size: 24px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 1;
    cursor: pointer;
}

.drawer-tabs {
    display: flex;
    background: #f1f5f9;
    margin: 10px 20px 20px;
    padding: 4px;
    border-radius: 12px;
}

.tab-link {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
}

/* Matches the blue active state in your screenshot */
.tab-link.active {
    background: #ffffff;
    color: #4f46e5; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 5. Navigation List Inside Drawer */
.tab-pane {
    display: none;
    padding: 0 24px;
    overflow-y: auto;
}

.tab-pane.active {
    display: block;
}

.drawer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-nav li {
    border-bottom: 1px dashed #e2e8f0; /* Dashed line style from your ref */
}

.drawer-nav li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    text-decoration: none;
    color: #4a5568;
    font-size: 15px;
}

.drawer-nav li a span {
    color: #cbd5e0; /* The arrow color */
}

/* 6. Utility Styles */
.blue-text {
    color: #4f46e5 !important;
    font-weight: 600;
}

.cart-icon-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #4f46e5;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #ffffff;
}


/* 1. Background Overlay (The Dimming Effect) */
.menu-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    backdrop-filter: blur(2px); /* Subtle blur for modern look */
    z-index: 1001;
    display: none; /* Controlled by JS */
}

/* 2. The Sliding Drawer (Bottom Sheet) */
.menu-drawer {
    position: fixed;
    bottom: -100%; /* Hidden off-screen */
    left: 0;
    width: 100%;
    height: 80vh; /* Covers most of the screen */
    background: #ffffff;
    z-index: 1002;
    border-radius: 24px 24px 0 0; /* Rounded top corners */
    transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth slide up */
    display: flex;
    flex-direction: column;
}

/* 3. The "Open" State (Triggered by your JS) */
.menu-drawer.open {
    bottom: 0 !important; /* Slide up into view */
}

/* 4. Tab Styling (Blue Active State) */
.drawer-tabs {
    display: flex;
    background: #f1f5f9;
    margin: 10px 20px 20px;
    padding: 4px;
    border-radius: 12px;
}

.tab-link {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

/* This creates the blue highlight from your screenshot */
.tab-link.active {
    background: #ffffff;
    color: #4f46e5; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 5. Navigation List styling */
.tab-pane {
    display: none;
    padding: 0 24px;
    overflow-y: auto;
}

.tab-pane.active {
    display: block; /* Show active pane */
}

.drawer-nav {
    list-style: none;
    padding: 0;
}

.drawer-nav li {
    border-bottom: 1px dashed #e2e8f0; /* Dashed line style */
}

.drawer-nav li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    text-decoration: none;
    color: #334155;
    font-size: 15px;
}

/* Matches the blue text for Login/Register */
.blue-text {
    color: #4f46e5 !important;
    font-weight: 600;
}
/* Ensure the container for the panes is visible */
.tab-content-container {
    flex: 1;
    overflow-y: auto;
    width: 100%;
}

/* Hide all panes by default */
.tab-pane {
    display: none !important;
    padding: 0 24px 40px;
    width: 100%;
}

/* SHOW the pane when it has the .active class */
.tab-pane.active {
    display: block !important;
    animation: fadeInTab 0.3s ease-in-out;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/*  
CONTACT FORM
*/

.contact-section {
            padding: 4rem 1rem;
            display: flex;
            justify-content: center;
            background-color: #f8fafc;
            min-height: 60vh;
        }
        .contact-card {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 500px;
        }
        .card-header { text-align: center; margin-bottom: 2rem; }
        .card-header h2 { font-size: 1.8rem; color: #1e293b; margin-bottom: 0.5rem; }
        .underline { height: 3px; width: 50px; background: #2563eb; margin: 0 auto; }
        .form-group { margin-bottom: 1.5rem; }
        .form-group input, .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }
        .form-group input:focus, .form-group textarea:focus { border-color: #2563eb; }
        .submit-btn {
            width: 100%;
            padding: 1rem;
            background: #2563eb;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }
        .submit-btn:hover { background: #1d4ed8; }


   
/* search
*/

/* --- SEARCH MODAL CONTAINER --- */
/* Hidden by default to prevent the blur effect on page load */
.search-modal-container {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none; /* Base state is hidden */
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Shown ONLY when HeaderModule.openSearch() adds the 'active' class */
.search-modal-container.active {
    display: flex !important;
    opacity: 1;
}

/* --- SEARCH OVERLAY --- */
/* This creates the dark, blurred background */
.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); /* Deep dark overlay */
    backdrop-filter: blur(10px);    /* Professional glass blur */
    cursor: pointer;
}

/* --- SEARCH BOX CONTENT --- */
/* The white box in the middle of the screen */
.search-content {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 100001; /* Sits above the overlay */
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

/* Slide up effect when active */
.search-modal-container.active .search-content {
    transform: translateY(0);
}

/* --- INPUT & BUTTON STYLING --- */
.search-input-group {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.search-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    outline: none;
    font-size: 1.1rem;
    transition: border-color 0.2s;
}

.search-input-group input:focus {
    border-color: #3b82f6; /* Blue focus ring */
}

.search-input-group button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s;
}

.search-input-group button:hover {
    background: #2563eb;
}




/* --- PRODUCT DETAILS PAGE MASTER STYLES --- */
:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --gray: #64748b;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.main-product-container {
    padding: 40px 15px;
    max-width: 1300px;
    margin: 0 auto;
}

/* 1. Breadcrumb & Header */
.product-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-nav {
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb-nav span {
    color: var(--dark);
    font-weight: 600;
}

.close-action {
    cursor: pointer;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-bg);
    transition: 0.3s;
}

.close-action:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* 2. Grid Layout */
.product-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

/* 3. Image Gallery */
.product-gallery-section {
    position: sticky;
    top: 100px;
}

.main-display {
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.main-display img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.2s ease-in-out;
}

.thumbnail-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb-container {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: 0.3s;
}

.thumb-container.active {
    border-color: var(--primary);
}

.thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4. Product Info & Pricing */
.status-row { margin-bottom: 10px; }
.stock-indicator {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
    background: #ecfdf5;
    padding: 5px 12px;
    border-radius: 30px;
}
.stock-indicator i { font-size: 0.6rem; margin-right: 5px; }

.product-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.stars-icons { color: #fb1; }
.rating-text { color: var(--gray); font-size: 0.9rem; }

.pricing-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.price-current { font-size: 2rem; font-weight: 800; color: var(--primary); }
.price-original { font-size: 1.3rem; color: var(--gray); text-decoration: line-through; }
.discount-label { background: #ef4444; color: white; padding: 4px 10px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; }

/* 5. Variant Selection (Modern Boxes) */
.variant-group { margin-bottom: 25px; }
.variant-label { display: block; font-weight: 700; margin-bottom: 12px; color: var(--dark); }

.variant-options { display: flex; gap: 12px; flex-wrap: wrap; }

.size-box {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.size-box.active { border-color: var(--primary); background: #eff6ff; color: var(--primary); }

.color-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 0 0 1px var(--border);
    transition: 0.3s;
}
.color-circle.active { box-shadow: 0 0 0 2px var(--primary); transform: scale(1.1); }

/* 6. Info Tabs (Ultra Modern) */
.info-tabs-wrapper { margin: 35px 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.tabs-header { display: flex; background: var(--light-bg); border-bottom: 1px solid var(--border); }
.tab-link {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-weight: 700;
    color: var(--gray);
    cursor: pointer;
    transition: 0.3s;
}
.tab-link.active { color: var(--primary); background: white; border-bottom: 2px solid var(--primary); }
.tabs-body { padding: 25px; line-height: 1.6; color: #475569; }
.tab-panel { 
    display: none; /* ডিফল্টভাবে সব বন্ধ থাকবে */
}

.tab-panel.active { 
    display: block !important; /* শুধুমাত্র active প্যানেলটি দেখাবে */
    animation: fadeIn 0.4s ease; 
}

/* 7. Cart Actions */
.cart-action-bar { display: flex; gap: 20px; margin-bottom: 30px; }
.qty-stepper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
}
.qty-stepper button { width: 45px; height: 55px; border: none; background: white; font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.qty-stepper button:hover { background: var(--light-bg); }
.qty-stepper input { width: 50px; text-align: center; border: none; font-weight: 800; font-size: 1.1rem; }

.add-to-cart-cta {
    flex-grow: 1;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.add-to-cart-cta:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }

/* 8. Trust Badges */
.trust-badge-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.badge-card {
    text-align: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 15px;
}
.badge-card i { display: block; font-size: 1.2rem; color: var(--primary); margin-bottom: 5px; }
.badge-card span { font-size: 0.75rem; font-weight: 700; color: var(--dark); text-transform: uppercase; }

/* 9. Sharing */
.share-container { display: flex; align-items: center; gap: 15px; }
.share-text { font-weight: 700; font-size: 0.9rem; }
.share-links { display: flex; gap: 10px; }
.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: 0.3s;
}
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }
.share-btn:hover { transform: scale(1.15); filter: brightness(1.1); }

/* 10. Related Products */
.related-section-wrapper { margin-top: 60px; padding-top: 40px; border-top: 2px solid var(--border); }
.related-section-wrapper .section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 30px; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: 0.4s;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.img-wrapper { height: 200px; overflow: hidden; background: var(--light-bg); }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 15px; }
.product-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.product-price { font-weight: 800; color: var(--primary); }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 11. Responsive */
@media (max-width: 991px) {
    .product-main-grid { grid-template-columns: 1fr; gap: 30px; }
    .product-gallery-section { position: relative; top: 0; }
    .product-main-title { font-size: 1.8rem; }
}

@media (max-width: 576px) {
    .cart-action-bar { flex-direction: column; }
    .qty-stepper { justify-content: center; }
    .trust-badge-row { grid-template-columns: 1fr 1fr 1fr; }
}