/* --- Artisan Bazaar - Premium Design System --- */
:root {
    /* Palette: Warm Stone & Earthy Accents */
    --color-primary: #1c1917;
    /* Stone 900 */
    --color-primary-light: #292524;
    /* Stone 800 */

    --color-accent: #b45309;
    /* Amber 700 */
    --color-accent-light: #d97706;
    /* Amber 600 */
    --color-accent-subtle: #fffbeb;
    /* Amber 50 */

    --color-bg-body: #fafaf9;
    /* Stone 50 */
    --color-bg-surface: #ffffff;
    --color-bg-subtle: #f5f5f4;
    /* Stone 100 */
    --color-bg-alt: #e7e5e4;
    /* Stone 200 */

    --color-text-main: #1c1917;
    --color-text-muted: #57534e;
    /* Stone 600 */
    --color-text-light: #a8a29e;
    /* Stone 400 */

    --color-border: #e7e5e4;
    /* Stone 200 */
    --color-border-hover: #d6d3d1;
    /* Stone 300 */

    --color-success: #15803d;
    --color-warning: #b45309;
    --color-danger: #b91c1c;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --header-height: 80px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

   /* UPDATE THESE SHADOWS for a "floaty" fintech feel */
    --shadow-sm: 0 1px 2px 0 rgba(28, 25, 23, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(28, 25, 23, 0.02), 0 2px 4px -1px rgba(28, 25, 23, 0.02), 0 0 0 1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(28, 25, 23, 0.05), 0 4px 6px -2px rgba(28, 25, 23, 0.02), 0 0 0 1px rgba(0,0,0,0.03);
    --shadow-xl: 0 25px 30px -5px rgba(28, 25, 23, 0.08), 0 10px 10px -5px rgba(28, 25, 23, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.7);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    /* Subtle mesh gradient background instead of flat color */
   background: 
        /* Top Left: Soft Cyan Glow */
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        /* Bottom Right: Soft Indigo/Purple Glow */
        radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        /* Center: Crisp White Base */
        #ffffff;
    background-attachment: fixed; /* Parallax feel */
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
	padding-top: var(--header-height);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    top: 10px;
}


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

button,
input {
    font-family: inherit;
    border: none;
    outline: none;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-xs {
    font-size: 0.75rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.w-full {
    width: 100%;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
    letter-spacing: -0.01em;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
    /* Subtle inner lighting */
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(0,0,0,0.1);
}


 


.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%; /* Shine effect on hover */
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-black {
    background: #000;
    color: #fff;
}

.btn-black:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background: #fff;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-white:hover {
    border-color: var(--color-text-main);
    background: var(--color-bg-subtle);
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.icon-btn:hover {
    background: var(--color-bg-subtle);
    color: var(--color-accent);
}

/* --- Navbar --- */
.navbar {
    position: fixed;       /* Force it to stay at the viewport top */
    top: 0;                /* Always 0px from top */
    left: 0;
    width: 100%;           /* Ensure full width */
    z-index: 1000;
    height: var(--header-height);
    
    /* Your Original Styling */
   background: #1c1917;
       color: #fff;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.6);
    transition: box-shadow 0.3s ease; /* Only animate the shadow */
}

.navbar.scrolled {
    /* When scrolling, keep background solid and add shadow */
    background: #1c1917;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    top: 0; /* IMPORTANT: Keep it at 0px, do not jump to 10px */
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: #fafaf9;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-links li a {
    display: block;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links li a:hover {
    color: var(--color-text-main);
    background: var(--color-bg-subtle);
}

.nav-links li a.active {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-pill-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-pill-btn:hover {
    border-color: var(--color-text-muted);
}

.btn-shop {
    background: var(--color-accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-shop:hover {
    background: var(--color-accent-light);
}

/* Profile & Dropdowns */
.profile-wrapper {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.profile-trigger:hover {
    background: var(--color-bg-subtle);
}

.user-avatar-small {
    width: 36px;
    height: 36px;
    background: var(--color-bg-alt);
    color: var(--color-text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 1001;
    overflow: hidden;
}

.dropdown-menu:hover,
.profile-wrapper:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
    background: var(--color-bg-subtle);
    border-bottom: 1px solid var(--color-border);
}

.user-name {
    font-weight: 600;
    color: var(--color-text-main);
}

.user-email {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.dropdown-list {
    padding: 8px;
}

.dropdown-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-list li a:hover {
    background: var(--color-bg-subtle);
    color: var(--color-text-main);
}

.dropdown-list li.divider {
    height: 1px;
    background: var(--color-border);
    margin: 8px 0;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    padding: 8px;
    margin: 0;
}

.dropdown-menu ul li {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between flag/symbol and text */
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

/* Hover Effect */
.dropdown-menu ul li:hover {
    background: var(--color-bg-subtle);
    color: var(--color-text-main);
}

/* Active/Selected State */
.dropdown-menu ul li.active {
    background: var(--color-bg-subtle);
    color: var(--color-accent);
    font-weight: 600;
}

/* Style for Flag Images */
.dropdown-menu ul li img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Style for Currency Symbols (span) */
.dropdown-menu ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px; /* Fixed width to align with flags */
    height: 20px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Active state for Currency Symbol */
.dropdown-menu ul li.active span {
    background: var(--color-accent);
    color: #fff;
}

.text-red {
    color: var(--color-danger) !important;
}

/* --- Hero Section --- */
.hero-section {
    padding: 60px 0 80px;
    position: relative;
	background: /* Top Left: Soft Cyan Glow */ radial-gradient(circle at 0% 0%, rgb(56 189 248) 0%, #ffffff61 50%), /* Bottom Right: Soft Indigo/Purple Glow */ radial-gradient(circle at 100% 100%, rgb(24 165 223 / 11%) 0%, #bee1ff 50%), /* Center: Crisp White Base */ #5d0e0e47;
    overflow: hidden;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-accent-subtle);
    border: 1px solid rgba(180, 83, 9, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Stats (Responsive) */
.hero-stats {
    margin-top: 48px;
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.stat-item p:first-child,
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-item p:last-child,
.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img-item {
    position: absolute;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.hero-img-item:nth-child(1) {
    width: 320px;
    height: 440px;
    top: 50%;
    left: 50%;
    transform: translate(-85%, -55%) rotate(-4deg);
    z-index: 1;
}

.hero-img-item:nth-child(2) {
    width: 280px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-15%, -45%) rotate(4deg);
    z-index: 2;
    border: 6px solid #fff;
}

@keyframes float {
    0% { transform: translate(-85%, -55%) rotate(-4deg) translateY(0px); }
    50% { transform: translate(-85%, -55%) rotate(-4deg) translateY(-15px); }
    100% { transform: translate(-85%, -55%) rotate(-4deg) translateY(0px); }
}

@keyframes floatReverse {
    0% { transform: translate(-15%, -45%) rotate(4deg) translateY(0px); }
    50% { transform: translate(-15%, -45%) rotate(4deg) translateY(10px); }
    100% { transform: translate(-15%, -45%) rotate(4deg) translateY(0px); }
}

.hero-img-item:nth-child(1) {
    /* Keep existing positioning properties */
    animation: float 6s ease-in-out infinite;
}

.hero-img-item:nth-child(2) {
    /* Keep existing positioning properties */
    animation: floatReverse 7s ease-in-out infinite;
}

/* --- Steps Section --- */
.steps-section {
    padding: 60px 0; /* Reduced top/bottom padding */
    background: var(--color-bg-subtle);
}

.steps-wrapper {
    background: #fff9f5;
    border-radius: 20px; /* Slightly tighter radius */
    padding: 32px; /* Reduced internal padding (was 40px) */
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Give text slightly more space */
    gap: 40px; /* Reduced gap (was 60px) */
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

/* --- Left Side: Compact Video --- */
.steps-video {
    position: relative;
    width: 100%;
    height: 320px; /* Reduced height (was 380px) */
    background: linear-gradient(145deg, #1a1a1a, #000000);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}

.steps-video:hover {
    transform: translateY(-4px);
}

/* Red Tag - Scaled Down */
.label-tag {
    position: absolute;
    top: 20px;
    left: -10px; /* Smaller hang */
    background: #e11d48;
    color: #fff;
    font-size: 0.75rem; /* Smaller text */
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
    z-index: 10;
    letter-spacing: 0.03em;
}

/* Play Button - Scaled Down */
.play-button {
    width: 60px; /* Smaller (was 72px) */
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    z-index: 5;
    transition: transform 0.3s ease;
    animation: pulse-white 2s infinite;
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

/* UI Controls (Fake) */
.steps-video::after {
    content: '\f04c \00a0 \00a0 \f028';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 24px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    letter-spacing: 10px;
}

/* --- Right Side: Content --- */
.steps-content {
    padding-right: 0;
}

.steps-content h2.section-title {
    font-size: 2rem; /* Reduced (was 2.5rem) */
    font-weight: 800;
    color: #1c1917;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.steps-content p.section-desc {
    color: #78716c;
    font-size: 1rem; /* Reduced (was 1.1rem) */
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Step Items */
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px; /* Tighter gap */
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(6px);
}

.step-icon {
    width: 44px; /* Smaller icons (was 56px) */
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Colors */
.icon-red { background: #ffe4e6; color: #be123c; }
.icon-yellow { background: #fef3c7; color: #b45309; }
.icon-green { background: #dcfce7; color: #15803d; }

.step-text h3 {
    font-size: 1rem; /* Smaller headers */
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 4px;
}

.step-text p {
    font-size: 0.9rem;
    color: #78716c;
    line-height: 1.4;
}


.reel-actions {
    position: absolute;
    right: 16px;
    bottom: 120px; /* Sits above the user info/text */
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 16px; /* Space between buttons */
    z-index: 20;
}

/* 2. Glassmorphism Button Style */
.action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    
    /* Frosted Glass Effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 3. Hover Effects */
.action-btn:hover {
    background: #fff; /* Solid white on hover */
    color: #e11d48;   /* Change icon to Red (or your accent color) */
    transform: scale(1.15); /* Grow slightly */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-color: #fff;
}

/* Active/Click State */
.action-btn:active {
    transform: scale(0.9);
}

/* --- Mobile Version (Perfectly Fitted) --- */
@media (max-width: 900px) {
	

.filter-row {
    display: flex;
    flex-direction: row;       /* Force single row */
    flex-wrap: nowrap;         /* STRICTLY prevent wrapping */
    gap: 12px;                 /* Space between buttons */
    overflow-x: auto;          /* Enable horizontal scrolling */
    
    /* Edge-to-Edge Layout */
    width: 100vw;              /* Force full viewport width */
    margin-left: -24px;        /* Pull left to ignore container padding */
    padding: 0 24px 20px 24px; /* Padding for scroll space */
    
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    scrollbar-width: none;     /* Hide scrollbar on Firefox */
}

/* Hide Scrollbar on Chrome/Safari for cleaner look */
.filter-row::-webkit-scrollbar {
    display: none;
}

/* 1. Base Pill Style (Inactive - White) */
.filter-pill {
    flex: 0 0 auto;            /* Prevent button from shrinking */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;              /* Fixed height */
    padding: 0 20px;
    border-radius: 100px;      /* Pill shape */
    white-space: nowrap;       /* Keep text on one line */
    font-size: 0.95rem;
    font-weight: 600;
    
    /* Colors */
    background: #ffffff;
    border: 1px solid #e5e5e5; /* Light grey border */
    color: #44403c;           /* Dark grey text */
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* 2. Active Pill Style (Active - Black) */
.filter-pill.active {
    background: #1c1917;       /* Pure Black */
    border-color: #1c1917;
    color: #ffffff;            /* White text */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Lift effect */
}

/* Icon Styling */
.filter-pill i {
    font-size: 0.9rem;
    color: inherit;
}

/* Active Icon Color (Gold) */
.filter-pill.active i {
    color: #fbbf24;            /* Gold spark */
}

.section-header {
    display: flex;
    flex-direction: row;       /* Keep them side-by-side */
    justify-content: space-between; /* Push title left, button right */
    align-items: center;       /* Center vertically */
    gap: 12px;                 /* Consistent gap */
    margin-bottom: 24px;
    padding: 0 24px;
    width: 100%;
}

/* 1. Left Side: Title Container */
.section-header > div {
    flex: 1;                   /* Allow it to take available space */
    min-width: 0;             /* Critical fix for overflow */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 2. Title & Icon */
.section-title-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Playfair Display', serif; /* Ensure font matches "Featured" look */
    font-size: 1.5rem;        /* Good size for mobile */
    font-weight: 700;
    color: #1c1917;
    line-height: 1.1;
    margin-bottom: 4px;
    white-space: nowrap;      /* Keep on one line */
}

.section-title-icon i {
    font-size: 1.25rem;
    color: #be123c;           /* Burgundy Icon Color from image */
    flex-shrink: 0;
}

@media (max-width: 380px) {
    .section-title-icon {
        font-size: 1.3rem; 
    }
}

.section-title-icon i {
    font-size: 1.4rem;
    color: #be123c;           /* Burgundy Icon */
    flex-shrink: 0;
}

/* 3. Description */
.section-desc {
    font-size: 0.9rem;
    color: #78716c;
    line-height: 1.3;
    display: block;
    margin: 0;
    /* Hide description on very small screens if needed to match clean look */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; 
}

/* 4. Right Side: "View All" - STACKED to save space */
.view-all-link {
    flex-shrink: 0;           /* Protect button from squashing */
    font-size: 0.8rem;
    font-weight: 700;
    color: #be123c;           /* Burgundy Text */
    display: flex;
    flex-direction: column;   /* Stack "View" and "All" vertically */
    align-items: flex-end;    /* Align to the right */
    justify-content: center;
    line-height: 1.1;
    text-align: right;
    min-width: 40px;          /* Reserve distinct space */
}

 
.view-all-link:active {
    background: rgba(190, 18, 60, 0.1);
}

.view-all-link i {
    font-size: 0.9rem;
}


    /* 1. Reduce outer section padding */
    .steps-section {
        padding: 0; /* Remove extra white space above/below */
        background: #fff9f5; /* Match the wrapper bg so it looks seamless */
    }

    /* 2. Make the Beige Wrapper Full Width (Edge-to-Edge) */
    .steps-wrapper {
		background: rgba(255, 255, 255, 0.7); /* 70% opacity white */
    backdrop-filter: blur(12px);          /* Blurs the blue gradient behind it */
    border: 1px solid rgba(255, 255, 255, 0.8);
        width: 100vw;           /* Force full screen width */
        margin-left: -24px;     /* Pull left to cover container padding */
        padding: 40px 24px;     /* Internal spacing */
        border-radius: 0;       /* Remove rounded corners */
        border: none;
        box-shadow: none;       /* Flat, clean look */
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 32px;
    }
    
    /* 3. Adjust Video for Mobile */
    .steps-video {
        width: 100%;
        height: 240px; /* Perfect height for mobile */
        order: -1;     /* Put video on top */
        border-radius: 16px; /* Keep video corners rounded */
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    /* 4. Fix the Red Tag Position */
    .label-tag {
        left: 16px; 
        top: 16px;
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    /* 5. Typography & Spacing adjustments */
    .steps-content {
        padding: 0 8px; /* Slight indent for text */
    }

    .steps-content h2.section-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .steps-content p.section-desc {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    /* Disable hover effects on touch */
    .step-item:hover {
        background: transparent;
        transform: none;
    }
    
    .step-item {
        padding: 0;
        margin-bottom: 24px;
    }
}

@media (max-width: 370px) {
    .view-all-link {
        flex-direction: column; /* Stack 'View' on top of 'All' */
        align-items: flex-end;
        gap: 0;
    }
}

@media (max-width: 360px) {
    .section-title-icon {
        font-size: 1.15rem; /* Even smaller for tiny phones */
    }
    .view-all-link {
        flex-direction: column; /* Stack words to save width */
        gap: 2px;
    }
    .view-all-link i {
        transform: rotate(90deg); /* Point arrow down or hide it */
        display: none;
    }
}

/* --- Artisans Section --- */
.artisans-section {
    padding: 80px 0;
    background: var(--color-bg-subtle);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-title-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.view-all-link {
    color: var(--color-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.artisan-card {
    background: #fff; /* or rgba(255,255,255,0.6) for glass */
    border-radius: 20px; /* Smoother curves */
    overflow: hidden;
    /* Clean border technique using box-shadow instead of border property */
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.artisan-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px -5px rgba(0,0,0,0.1), 0 0 0 1px rgba(180, 83, 9, 0.1); /* Subtle accent glow */
}

.card-banner {
    height: 140px;
    overflow: hidden;
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 0 24px 24px;
}

.avatar-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 4px solid #fff;
    overflow: hidden;
    margin: -36px 0 16px 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-primary);
}

.status-indicator {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-weight: 500;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-indicator.closed .dot {
    background: var(--color-text-muted);
}

.status-indicator.open .dot {
    background: var(--color-success);
}

.location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.rating {
    color: #b45309;
    font-weight: 700;
}

.card-bio {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: var(--color-bg-subtle);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.sales-count {
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Reels Section --- */
.reels-section {
    padding: 80px 0;
	    background: var(--color-bg-subtle);
}

.reels-scroll-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 0 30px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.reels-scroll-container::-webkit-scrollbar {
    display: none;
}

.reel-card {
    min-width: 280px;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.reel-card:hover {
    transform: scale(1.02);
}

.reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.reel-info {
    color: #fff;
}

.reel-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.reel-user img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #fff;
}

.reel-price {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

/* --- Products Section --- */
.products-section {
    padding: 80px 0;
   background: var(--color-bg-subtle);
}

.filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-pill {
    border: 1px solid transparent;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
    background: #fff;
}

.filter-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.filter-pill.active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(28, 25, 23, 0.3); /* Colored glow */
}

.filter-pill {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-pill:hover {
    background: var(--color-bg-subtle);
    color: var(--color-text-main);
}

.filter-pill.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.product-card {
    cursor: pointer;
}

.product-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 16px;
    background: var(--color-bg-subtle);
    /* Inner shadow for depth */
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}

/* Add a floating entry animation to cards */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.artisan-card, .product-card {
    animation: fadeInUp 0.6s ease-out forwards;
}


.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.like-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-main);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.product-card:hover .like-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-author {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.product-author img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-main);
}

.product-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.product-tags {
    display: flex;
    gap: 6px;
}

.tag-sm {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--color-bg-subtle);
    color: var(--color-text-muted);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
	    background: var(--color-bg-subtle);
}

.cta-card {
    background: var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 80px 24px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.3) 0%, transparent 70%);
    filter: blur(60px);
}

.cta-card h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.cta-card p {
    color: #d6d3d1;
    max-width: 600px;
    margin: 0 auto 48px auto;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.benefit-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: #fff;
}

/* --- Footer --- */
.site-footer {
    background: #1c1917;
    color: #a8a29e;
    padding: 80px 0 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand .brand-text {
    color: #fff;
}

.footer-brand p {
    margin-top: 24px;
    max-width: 320px;
    line-height: 1.7;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 16px;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #292524;
    padding-top: 32px;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Mobile / Responsive --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-open .mobile-sidebar {
    right: 0;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff9f5;
    background: none;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-list {
    padding: 24px;
}

.mobile-nav-list li a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    border-bottom: 1px solid var(--color-bg-subtle);
}

.close-btn {
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text-muted);
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.8);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.search-modal.show {
    opacity: 1;
    visibility: visible;
}

.search-content {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.search-modal.show .search-content {
    transform: scale(1);
}

.search-bar-container {
    display: flex;
    align-items: center;
    background: var(--color-bg-subtle);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.search-bar-container input {
    width: 100%;
    background: transparent;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.search-icon {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-right: 12px;
}

 

/* --- Media Queries --- */
@media (max-width: 1200px) {
	


    .nav-links {
        display: none;
    }

    .hero-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-subtitle {
        margin: 0 auto 40px auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .card-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* --- Mobile Styles (Max-Width: 768px) --- */
@media (max-width: 768px) {

.product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;             /* Smaller gap (was 12px) to gain width */
        
        /* Edge-to-Edge Logic */
        width: 100vw;         /* Force full viewport width */
        margin-left: -24px;   /* Pull left to cover container padding */
        padding: 0 12px 24px 12px; /* Minimal side padding (12px) */
    }

    /* 2. Wider Card Container */
    .product-card {
        background: #fff;
        border-radius: 8px;   /* Slightly sharper corners for bigger look */
        box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Stronger mobile shadow */
        border: none;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
    }

    /* 3. Taller Images */
    .product-image {
        width: 100%;
        aspect-ratio: 4 / 5;  /* Taller ratio (Instagram style) makes it feel bigger */
        margin: 0;
        background: #f5f5f4;
        position: relative;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 4. Badges (Visible & Scaled) */
    .video-badge {
        display: flex !important;
        position: absolute;
        top: 8px;
        left: 8px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        font-size: 0.7rem;
        padding: 4px 8px;
        border-radius: 4px;
        font-weight: 600;
        gap: 4px;
        z-index: 2;
    }

    .like-btn {
        display: flex !important;
        top: 8px;
        right: 8px;
        width: 32px; /* Larger button */
        height: 32px;
        background: #fff;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        opacity: 1;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15);
        z-index: 2;
    }

    /* 5. Typography (Increased Sizes) */
    .product-details {
        padding: 12px 10px; /* More breathing room */
    }

    /* Author */
    .product-author {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
    }
    .product-author img { width: 20px; height: 20px; border-radius: 50%; }
    .product-author span { font-size: 0.75rem; color: #78716c; }

    /* Title */
    .product-title {
        font-size: 0.95rem; /* Larger font */
        font-weight: 600;
        color: #1c1917;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Price */
    .product-price {
        font-size: 1.1rem; /* Bigger price */
        font-weight: 800;
        color: #1c1917;
        margin-bottom: 8px;
    }

    /* Tags */
    .product-tags {
        display: flex !important;
        flex-wrap: wrap;
        gap: 6px;
    }
    .tag-sm {
        font-size: 0.7rem;
        padding: 4px 8px;
        border-radius: 4px;
        background: #fffbeb;
        color: #b45309;
        font-weight: 600;
    }
    .tag-sm.text-red { background: #fff1f2; color: #be123c; }


.hero-section {
    padding: 5px 0 20px;
    
}

    /* --- 1. GLOBAL NAV & LAYOUT --- */
    .nav-links, 
     .icon-btn,
    .btn-shop,
	.ln2
     {
        display: none; /* Hide desktop nav items */
    }

    .hamburger {
        display: block; /* Show mobile menu trigger */
        font-size: 1.5rem;
    }

    .container {
        padding: 0 24px;
    }

    /* --- 2. HERO SECTION --- */
    .hero-title {
        font-size: 2.5rem; /* Prevent huge text */
		right: 10px;
        position: relative;
    }

    .hero-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Hero Buttons - Side by Side */
    .hero-buttons {
        flex-direction: row;
        width: 100%;
        gap: 12px;
        flex-wrap: nowrap;
    }
    
    .hero-buttons .btn {
        flex: 1;
        padding: 14px 10px;
        font-size: 0.9rem;
        white-space: nowrap;
        width: auto;
    }

    /* Hero Visual - Swipeable App Cards */
    .hero-visual {
        height: auto;
        width: 100vw;
        margin-left: -24px;
        margin-top: 32px;
        overflow: hidden;
    }

    .hero-gallery {
        display: flex;
        gap: 16px;
        padding: 0 24px 24px 24px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hero-gallery::-webkit-scrollbar { display: none; }

    .hero-img-item,
    .hero-img-item:nth-child(1),
    .hero-img-item:nth-child(2) {
        position: relative !important;
        top: auto !important; left: auto !important;
        transform: none !important;
        border: none !important;
        min-width: 85vw;
        height: 400px;
        border-radius: 20px;
        scroll-snap-align: center;
        animation: none !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    /* Hero Stats - Horizontal Row */
    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 16px 0;
        border-top: 1px solid var(--color-border);
    }
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
    }
    .stat-item .stat-value { font-size: 1.25rem; }
    .stat-item .stat-label { font-size: 0.75rem; white-space: nowrap; }

    /* --- 3. STEPS SECTION (Edge-to-Edge) --- */
    .steps-section {
        padding: 40px 0;
    }

    .steps-wrapper {
		background: rgba(255, 255, 255, 0.7); /* 70% opacity white */
    backdrop-filter: blur(12px);          /* Blurs the blue gradient behind it */
    border: 1px solid rgba(255, 255, 255, 0.8);
        width: 100vw;
        margin-left: -24px;
        border-radius: 0;
        padding: 40px 24px;
        grid-template-columns: 1fr;
        border: none;
        box-shadow: none;
    }

    .steps-video {
        height: 240px;
        border-radius: 16px;
        order: -1; /* Video on top */
    }

    .label-tag {
        left: 16px; 
        top: 16px;
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .steps-content { padding: 0 8px; }
    .steps-content h2.section-title { font-size: 1.75rem; margin-bottom: 12px; }
    .step-item { padding: 0; margin-bottom: 24px; }
    .step-item:hover { background: transparent; transform: none; }

    /* --- 4. HEADERS (Fix Overlap) --- */
    .section-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end; /* Align bottom */
        gap: 12px;
        margin-bottom: 32px;
        width: 100%;
        padding: 0 24px;
    }

    .section-title-icon {
        font-size: 1.75rem; /* Smaller font to fit */
        line-height: 1.1;
        flex: 1;
        min-width: 0;
    }

    .view-all-link {
        flex-shrink: 0;
        display: flex;
        flex-direction: column; /* Stack 'View' over 'All' */
        align-items: flex-end;
        line-height: 1.1;
        font-size: 0.8rem;
        text-align: right;
        padding-bottom: 4px;
        min-width: 40px;
    }

    /* --- 5. FILTER ROW (Horizontal Scroll, No Wrapping) --- */
    .filter-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* STRICTLY prevent wrapping */
        gap: 12px;
        overflow-x: auto !important;
        width: 100vw;
        margin-left: -24px;
        padding: 0 24px 20px 24px;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 24px;
        justify-content: flex-start; /* Reset center alignment */
    }

    /* Styling pills for horizontal list */
    .filter-pill {
        flex: 0 0 auto !important; /* Don't shrink */
        white-space: nowrap;
        margin: 0;
    }

    /* Scrollbar Styling */
    .filter-row::-webkit-scrollbar { height: 4px; display: block; }
    .filter-row::-webkit-scrollbar-track { background: transparent; margin: 0 24px; }
    .filter-row::-webkit-scrollbar-thumb { background: #e5e5e5; border-radius: 10px; }

    /* --- 6. GRIDS & GENERAL --- */
    .card-grid, 
    .product-grid {
        grid-template-columns: 1fr; /* 1 Column */
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-card { padding: 60px 20px; }
    .cta-card h2 { font-size: 2rem; }
    .cta-benefits { flex-direction: column; gap: 12px; }
    .benefit-tag { width: 100%; }
	
	
	.cta-section {
        padding: 40px 0;      /* Reduce vertical spacing */
        overflow: hidden;     /* Prevent any scrollbar glitches */
    }

    .cta-card {
        width: 100vw;           /* Force full viewport width */
        margin-left: -24px;     /* Pull left to cover container padding */
        border-radius: 0;       /* Remove rounded corners */
        padding: 60px 24px;     /* Internal spacing */
        box-shadow: none;       /* Remove shadow for a clean flat look */
        border-left: none;
        border-right: none;
    }

    /* Typography & Layout Adjustments */
    .cta-card h2 {
        font-size: 2rem;        /* Smaller, readable heading */
        margin-bottom: 16px;
    }

    .cta-card p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    /* Benefits Tags - Stack Vertically */
    .cta-benefits {
        flex-direction: column; /* Stack them */
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .benefit-tag {
        width: 100%;           /* Full width buttons */
        display: flex;
        justify-content: center;
        background: rgba(255,255,255,0.15); /* Slightly lighter for visibility */
    }
    
    /* Button Full Width */
    .cta-card .btn {
        width: 100%;
    }
	
	/* 1. Push content up so it doesn't hide behind the bottom bar */
    body {
        padding-bottom: 90px; /* Adjust based on nav height */
    }

    /* 2. Main Nav Container */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 2000;
        padding-bottom: env(safe-area-inset-bottom); /* Fix for iPhone Home Bar */
        box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
    }

    /* 3. Individual Nav Items */
    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--color-text-muted);
        font-size: 0.7rem;
        font-weight: 500;
        gap: 4px;
        flex: 1; /* Distribute space evenly */
        background: transparent; /* Reset button styles */
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .nav-item i {
        font-size: 1.25rem;
        margin-bottom: 2px;
        transition: transform 0.2s;
    }

    /* Active State (You can toggle this with JS) */
    .nav-item.active,
    .nav-item:hover {
        color: var(--color-primary);
    }
    
    .nav-item.active i {
        transform: translateY(-2px);
    }

    /* 4. Center "Shop" Button (Floating Action) */
    .nav-item.center-item {
        position: relative;
        top: -20px; /* Float above the bar */
        overflow: visible;
    }

    .center-circle {
        width: 56px;
        height: 56px;
        background: var(--color-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        box-shadow: 0 8px 20px rgba(28, 25, 23, 0.3);
        border: 4px solid #fff; /* White ring to separate from bar */
        transition: transform 0.2s;
    }

    .nav-item.center-item i {
        font-size: 1.2rem;
        color: #fff;
        margin: 0;
    }

    /* Animation for Center Button */
    .nav-item.center-item:active .center-circle {
        transform: scale(0.9);
    }
	
		.mobile-bottom-nav {
    display: flex !important;
}

.brand-text {
        display: none;
    }
	
	
	.nav-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-light); /* Stone 400 */
    padding: 12px 0 8px 0;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Horizontal Row for Buttons */
.mobile-lang-row {
    display: flex;
    gap: 12px;
    padding-bottom: 8px;
    /* Optional: overflow-x: auto if you add many languages */
}

/* Individual Language Pill */
.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1; /* Make them equal width */
    justify-content: center;
}

.lang-option img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Active State (Black button) */
.lang-option.active {
    background: var(--color-primary); /* Black/Dark Stone */
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Hover/Touch State */
.lang-option:active {
    transform: scale(0.95);
}

.sidebar-footer {
    padding: 24px;           /* Adds space around the button */
    margin-top: auto;        /* Pushes the footer to the very bottom */
    border-top: 1px solid var(--color-border); /* Separator line */
    background: #fff;        /* Clean background */
}

/* Style the button specifically inside the footer */
.sidebar-footer .btn {
    width: 100%;             /* Fills the space inside the padding */
    padding: 12px 0;         /* Reduces the height (less chunky) */
    font-size: 0.95rem;      /* Clean, readable text size */
    border-radius: 50px;     /* Pill shape */
    box-shadow: 0 4px 15px rgba(28, 25, 23, 0.2); /* Nice floaty shadow */
}

.mobile-sidebar {
    background: #fafaf9; /* Stone 50 - Slightly off-white for premium feel */
    display: flex;
    flex-direction: column;
    /* Maintain existing transition/position props */
}

/* 2. Header Area */
.sidebar-header {
    padding: 32px 24px 24px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.menu-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    display: block;
}

.menu-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.close-btn {
    width: 40px;
    height: 40px;
    background: var(--color-bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text-main);
    transition: transform 0.2s;
}

.close-btn:active {
    transform: scale(0.9);
}

/* 3. Scrollable Content Area */
.sidebar-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px 0;
}

/* 4. Navigation Rows (The "App" Look) */
.mobile-nav-list {
    background: #fff;
    margin-bottom: 24px;
    /* Optional: Card look */
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.nav-row {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: var(--color-text-main);
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(0,0,0,0.03); /* Subtle separator */
}

.nav-row:last-child {
    border-bottom: none;
}

.nav-row:active {
    background: var(--color-bg-subtle);
}

.nav-icon {
    width: 32px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
}

.nav-text {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.nav-arrow {
    font-size: 0.8rem;
    color: #d6d3d1; /* Very light grey chevron */
}

/* 5. Section Labels */
.menu-section-label {
    padding: 0 24px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* 6. Language Chips (Modern Row) */
.mobile-lang-wrapper {
    padding: 0 24px 32px;
    display: flex;
    gap: 10px;
}

.lang-chip {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.lang-chip img {
    width: 18px;
    border-radius: 2px;
}

.lang-chip.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 7. Footer (Pinned to Bottom) */
.sidebar-footer {
    padding: 24px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
    /* Safe area for iPhone home bar */
    padding-bottom: calc(24px + env(safe-area-inset-bottom)); 
}

.shadow-btn {
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.25);
    width: 100%;
}

	
}

	.mobile-bottom-nav {
    display: none;
}

/* Tiny Phone Adjustments */
@media (max-width: 370px) {
    .section-title-icon { font-size: 1.5rem; }
}