/* =====================================================
   PRINTPRO — Complete Production CSS
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Syne:wght@700;800&display=swap');

:root {
    --font-display: 'Syne', sans-serif;
    --font-body:    'Inter', sans-serif;
    --radius-sm:    8px;
    --radius-md:    14px;
    --radius-lg:    20px;
    --transition:   0.25s ease;
}


/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg-light); color: var(--dark); font-family: var(--font-body); overflow-x: hidden; max-width: 100vw; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; -webkit-appearance: none; appearance: none; }
ul { list-style: none; }
textarea { font-family: inherit; resize: vertical; }
input, select, textarea { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== TEXT GRADIENT ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 70px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
    overflow: visible;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

/* Brand block: logo + tagline stacked */
.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    flex-shrink: 0;
    line-height: 1;
}
.brand-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-left: 2px;
}
/* Hide tagline on very small screens to save space */
@media (max-width: 480px) {
    .brand-tagline { display: none; }
}

.logo {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--dark);
    line-height: 1;
}
.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-links a { color: var(--text-muted); transition: color var(--transition); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--primary); border-bottom-color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Nav Buttons */
.btn-search-nav {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-light); color: var(--text-muted);
    font-size: 0.95rem; transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.btn-search-nav:hover { background: var(--primary-light); color: var(--primary); }

.btn-outline {
    background: transparent; border: 1.5px solid var(--primary);
    color: var(--primary); padding: 0.5rem 1.2rem; border-radius: 50px;
    font-weight: 600; font-size: 0.88rem; transition: all var(--transition);
    display: flex; align-items: center; gap: 6px;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.cart-wrapper {
    position: relative; cursor: pointer;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--dark);
    transition: all var(--transition);
}
.cart-wrapper:hover { background: var(--primary-light); color: var(--primary); }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--red); color: #fff;
    font-size: 0.65rem; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

/* User Menu */
#userMenuWrapper { position: relative; }
.btn-user-nav {
    display: flex; align-items: center; gap: 6px;
    padding: 0.4rem 0.9rem; border-radius: 50px;
    background: var(--bg-light); font-size: 0.88rem; font-weight: 600;
    color: var(--dark); transition: all var(--transition);
}
.btn-user-nav:hover { background: var(--primary-light); color: var(--primary); }
.user-dropdown {
    display: none;
    position: absolute; top: calc(100% + 10px); right: 0;
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    min-width: 180px; overflow: hidden; z-index: 600;
}
.user-dropdown.open { display: block; animation: dropIn 0.18s ease; }
.user-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 0.75rem 1.25rem; color: var(--dark); font-size: 0.9rem;
    font-weight: 500; transition: background var(--transition);
}
.user-dropdown a:hover { background: var(--bg-light); color: var(--primary); }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    width: 36px; height: 36px; align-items: center; justify-content: center;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--dark); border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
    display: none; flex-direction: column;
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--bg-white); border-bottom: 1px solid var(--border);
    z-index: 490; padding: 1rem 0;
    box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; animation: slideDown 0.2s ease; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li a {
    display: block; padding: 0.9rem 5%;
    color: var(--dark); font-weight: 600;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}
.mobile-nav li a:hover { color: var(--primary); }

/* Search Bar */
.search-bar-wrapper {
    position: fixed; top: 70px; left: 0; right: 0;
    z-index: 480; transform: translateY(-110%);
    transition: transform 0.3s ease;
    background: var(--bg-white); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.search-bar-wrapper.open { transform: translateY(0); }
.search-bar-inner {
    display: flex; align-items: center; gap: 12px;
    padding: 1rem 5%; max-width: 800px; margin: 0 auto;
}
.search-bar-inner i { color: var(--text-muted); font-size: 1rem; }
.search-bar-inner input {
    flex: 1; border: none; outline: none; font-size: 1rem;
    color: var(--dark); background: transparent;
}
.search-bar-inner button { color: var(--text-muted); font-size: 1.1rem; padding: 4px; }
.search-bar-inner button:hover { color: var(--dark); }

.search-results-dropdown {
    max-height: 320px; overflow-y: auto;
    border-top: 1px solid var(--border);
}
.search-result-item {
    display: flex; align-items: center; gap: 12px;
    padding: 0.75rem 5%; cursor: pointer;
    transition: background var(--transition);
}
.search-result-item:hover { background: var(--bg-light); }
.search-result-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.search-result-info h4 { font-size: 0.9rem; font-weight: 600; }
.search-result-info span { font-size: 0.8rem; color: var(--primary); font-weight: 600; }

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: clamp(420px, 75vh, 700px);
    min-height: 420px;
    max-height: 800px;
    overflow: hidden;
    background: #0f172a;
}
.slider-container { width: 100%; height: 100%; position: relative; }
.slide {
    position: absolute; inset: 0;
    opacity: 0;
    z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.slide-bg {
    position: absolute; inset: 0;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #0a0a0a;
}
.slide-overlay {
    display: none;
}
.slide-content {
    position: absolute; top: 50%; left: 5%;
    transform: translateY(-50%);
    max-width: 640px; color: #fff; z-index: 3;
}
.slide-label {
    display: inline-block; background: var(--primary);
    color: #fff; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 50px;
    margin-bottom: 1.2rem;
}
.slide-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.08; margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.slide-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #cbd5e1; margin-bottom: 2rem; line-height: 1.6; max-width: 480px;
}
.slide-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
    background: var(--primary); color: #fff;
    padding: 0.85rem 2rem; border-radius: 50px;
    font-size: 0.95rem; font-weight: 700;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.45); }

.btn-glass {
    background: rgba(255,255,255,0.12);
    color: #fff; padding: 0.85rem 2rem; border-radius: 50px;
    font-size: 0.95rem; font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(5px);
    transition: all var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-glass:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* Slider Controls */
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.35); color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    width: 48px; height: 48px; border-radius: 50%;
    font-size: 1rem; cursor: pointer; z-index: 10;
    transition: all var(--transition);
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 2%; }
.slider-btn.next { right: 2%; }

.slider-dots {
    position: absolute; bottom: 80px; left: 5%; z-index: 10;
    display: flex; gap: 8px; align-items: center;
}
.dot {
    width: 8px; height: 8px; background: rgba(255,255,255,0.4);
    border-radius: 50%; cursor: pointer; transition: all var(--transition);
    border: none;
}
.dot.active { background: var(--primary); width: 28px; border-radius: 4px; }

/* Hero Stats */
.hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(15,23,42,0.75); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    padding: 1.2rem 5%; gap: 2rem; z-index: 10;
    flex-wrap: wrap;
}
.stat { text-align: center; color: #fff; }
.stat strong { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; }
.stat span { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* =====================================================
   STORY CAROUSEL
   ===================================================== */
.story-carousel-section {
    padding: 1.5rem 0; background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    overflow: hidden !important;
    width: 100% !important;
}
.story-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-behavior: auto !important;
    padding: 4px 5%;
    gap: 1rem;
}
.story-container::-webkit-scrollbar { display: none !important; }

.story-item {
    display: inline-flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    white-space: normal !important;
}
.story-item:hover { transform: scale(1.06); }
.story-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444, #8b5cf6, #2563eb);
    padding: 3px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.story-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid #fff;
}
.story-circle img,
.story-circle video {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #e2e8f0;
}
.story-label { font-size: 0.75rem; font-weight: 600; color: var(--dark); text-align: center; white-space: nowrap; max-width: 80px; overflow: hidden; text-overflow: ellipsis; }

/* Video story — play indicator */
.story-item.has-video .story-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.0);
    transition: background 0.2s;
    pointer-events: none;
}
.story-item.has-video .story-circle:hover::after {
    background: rgba(0,0,0,0.08);
}
.story-video-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary, #2563eb);
    color: #fff;
    font-size: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    z-index: 2;
}

/* ---- VIDEO STORY LIGHTBOX ---- */
.story-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}
.story-lightbox.open { display: flex; }
.story-lightbox-inner {
    position: relative;
    max-width: 400px;
    width: 92vw;
    aspect-ratio: 9/16;
    max-height: 90vh;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.story-lightbox-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    display: flex;
    align-items: center;
    gap: .75rem;
    z-index: 2;
}
.story-lightbox-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.story-lightbox-title { color: #fff; font-size: .88rem; font-weight: 700; }
.story-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.story-lightbox-prev,
.story-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background .2s;
}
.story-lightbox-prev:hover,
.story-lightbox-next:hover { background: rgba(255,255,255,.3); }
.story-lightbox-prev { left: max(1rem, calc(50% - 230px)); }
.story-lightbox-next { right: max(1rem, calc(50% - 230px)); }

/* Progress bar strip */
.story-progress-strip {
    position: absolute;
    top: .5rem;
    left: .75rem;
    right: .75rem;
    display: flex;
    gap: 4px;
    z-index: 4;
}
.story-progress-seg {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    overflow: hidden;
}
.story-progress-seg .fill {
    height: 100%;
    background: #fff;
    width: 0;
    transition: width linear;
}
.story-progress-seg.done .fill { width: 100%; }
.story-progress-seg.active .fill { animation: storyProgress var(--dur, 10s) linear forwards; }
@keyframes storyProgress { from { width: 0 } to { width: 100% } }

/* =====================================================
   OFFER BANNER
   ===================================================== */
.offer-banner {
    background: linear-gradient(135deg, var(--dark-2), var(--dark));
    color: #fff; padding: 0.75rem 5%; text-align: center;
}
.offer-content { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 0.9rem; }
.offer-content i { color: #fbbf24; font-size: 0.9rem; }

/* =====================================================
   SECTION COMMON
   ===================================================== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
    display: inline-block; background: var(--primary-light);
    color: var(--primary); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 50px; margin-bottom: 1rem;
}
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* =====================================================
   CATEGORIES SECTION
   ===================================================== */
.category-section { padding: 5rem 5%; }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.cat-card {
    background: var(--bg-white); border-radius: var(--radius-md);
    overflow: hidden; cursor: pointer; border: 1px solid var(--border);
    transition: all var(--transition); text-align: center;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.cat-card-img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    background: var(--bg-light);
}
.cat-card-img-placeholder {
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--primary);
}
.cat-card-body { padding: 1rem; }
.cat-card-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.cat-card-body span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Skeleton Loaders */
.category-skeleton {
    height: 200px; border-radius: var(--radius-md);
    background: linear-gradient(90deg, var(--border) 25%, #f1f5f9 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.product-skeleton {
    height: 340px; border-radius: var(--radius-md);
    background: linear-gradient(90deg, var(--border) 25%, #f1f5f9 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =====================================================
   FEATURED PRODUCTS
   ===================================================== */
.featured-section { padding: 5rem 5%; background: var(--bg-white); }

/* Filter Pills */
.filter-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.pill {
    padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    border: 1.5px solid var(--border); color: var(--text-muted);
    transition: all var(--transition); background: var(--bg-white);
}
.pill:hover, .pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Products Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.item-card {
    display: flex; flex-direction: column;
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden;
    transition: all var(--transition); cursor: pointer;
}
.item-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }

.item-img-wrapper {
    width: 100%; aspect-ratio: 1;
    position: relative; background: var(--bg-light);
    overflow: hidden;
}
.item-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.item-card:hover .item-img-wrapper img { transform: scale(1.06); }

.bestseller-badge {
    position: absolute; top: 12px; right: 0;
    background: var(--red); color: #fff;
    font-size: 0.68rem; font-weight: 700;
    padding: 4px 10px; text-transform: uppercase;
    border-radius: 12px 0 0 12px; letter-spacing: 0.5px;
}

.item-details { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.item-details h3 {
    font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-rating { display: flex; align-items: center; gap: 4px; color: #f59e0b; font-size: 0.78rem; margin-bottom: 8px; }
.item-rating span { color: var(--text-muted); margin-left: 4px; }

.item-price { margin-bottom: 10px; }
.old-price { text-decoration: line-through; color: var(--text-muted); font-size: 0.85rem; margin-right: 6px; }
.new-price { color: var(--red); font-weight: 700; font-size: 1.05rem; }
.regular-price { color: var(--dark); font-weight: 700; font-size: 1.05rem; }

.color-swatches { display: flex; gap: 5px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.swatch {
    width: 14px; height: 14px; border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.swatch-plus { font-size: 0.7rem; color: var(--text-muted); margin-left: 2px; }

.btn-customize {
    margin-top: auto; width: 100%; text-align: center;
    background: transparent !important; border: 1.5px solid var(--primary) !important;
    color: var(--primary) !important; padding: 0.6rem; border-radius: var(--radius-sm);
    font-size: 0.88rem; font-weight: 600; transition: all var(--transition);
    -webkit-appearance: none; appearance: none;
}
.btn-customize:hover { background: var(--primary); color: #fff; }

.load-more-wrapper { text-align: center; margin-top: 3rem; }
.btn-load-more {
    background: var(--bg-white); border: 1.5px solid var(--border);
    color: var(--dark); padding: 0.85rem 2.5rem; border-radius: 50px;
    font-size: 0.95rem; font-weight: 600; transition: all var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-load-more:hover { border-color: var(--primary); color: var(--primary); }
.btn-load-more.loading { opacity: 0.6; pointer-events: none; }

/* =====================================================
   WHY US SECTION
   ===================================================== */
.why-us-section { padding: 5rem 5%; background: var(--bg-light); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.why-card {
    background: var(--bg-white); padding: 2rem;
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    transition: all var(--transition); text-align: center;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.why-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--primary);
    margin: 0 auto 1.2rem;
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section { padding: 6rem 5%; background: var(--bg-white); border-top: 1px solid var(--border); }
.about-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-content > .section-tag { margin-bottom: 1.2rem; }
.about-content h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.15; margin-bottom: 1.2rem; }
.about-content > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 2.5rem; font-size: 1rem; }
.trust-badges { display: flex; flex-direction: column; gap: 1rem; }
.badge {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1.2rem 1.5rem; background: var(--bg-light);
    border-radius: var(--radius-md); border: 1px solid transparent;
    transition: all var(--transition);
}
.badge:hover { transform: translateX(8px); box-shadow: var(--shadow-md); border-color: var(--border); background: var(--bg-white); }
.badge i {
    font-size: 1.6rem; color: var(--primary);
    min-width: 56px; height: 56px; background: var(--bg-white);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; box-shadow: 0 6px 15px rgba(37,99,235,0.1);
}
.badge h4 { font-size: 1rem; margin-bottom: 3px; }
.badge p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; height: 500px; }
.grid-img { border-radius: var(--radius-lg); background-size: cover; background-position: center; box-shadow: var(--shadow-lg); transition: transform 0.4s ease; }
.grid-img:hover { transform: scale(1.02); }
.img-1 { margin-top: 3.5rem; height: 88%; }
.img-2 { margin-bottom: 3.5rem; height: 88%; }

/* =====================================================
   CART SIDEBAR
   ===================================================== */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px); z-index: 800;
    opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(440px, 100vw); background: var(--bg-white);
    z-index: 900; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cart-header h3 span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.cart-header button { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-light); font-size: 1rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.cart-header button:hover { background: var(--border); color: var(--dark); }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; height: 100%; color: var(--text-muted); text-align: center; }
.cart-empty i { font-size: 3rem; opacity: 0.3; }
.cart-empty p { font-size: 1rem; font-weight: 500; }

.cart-item {
    display: flex; align-items: center; gap: 12px;
    padding: 0.9rem 0; border-bottom: 1px solid var(--border);
}
.cart-item-img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--bg-light); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 0.88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info p { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.cart-item-price { font-weight: 700; font-size: 0.95rem; color: var(--primary); flex-shrink: 0; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-light); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.qty-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.qty-val { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-item-remove { width: 28px; height: 28px; border-radius: 50%; color: var(--red); font-size: 0.85rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }
.cart-item-remove:hover { background: #fee2e2; }

.cart-footer { padding: 1.2rem; border-top: 1px solid var(--border); }
.subtotal-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 5px 0; }
.subtotal-row.shipping-row { color: var(--text-muted); font-size: 0.85rem; }
.subtotal-row.total-row { font-weight: 800; font-size: 1.05rem; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }

.btn-checkout {
    width: 100%; padding: 1rem; margin-top: 1rem;
    background: var(--primary); color: #fff;
    border-radius: var(--radius-md); font-size: 1rem; font-weight: 700;
    transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-checkout:hover { background: var(--primary-hover); transform: translateY(-1px); }
.secure-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* =====================================================
   PRODUCT DETAIL MODAL
   ===================================================== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.6); backdrop-filter: blur(5px);
    z-index: 1000; opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.product-modal {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--bg-white); border-radius: var(--radius-lg);
    width: min(900px, 95vw); max-height: 90vh;
    overflow-y: auto; z-index: 1100;
    opacity: 0; pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
}
.product-modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.modal-close-btn {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-light); font-size: 1rem; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); z-index: 10;
}
.modal-close-btn:hover { background: var(--border); color: var(--dark); }

.modal-loading { padding: 4rem; text-align: center; color: var(--text-muted); font-size: 1rem; }
.modal-loading i { margin-right: 8px; }
.product-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.product-modal-img-side { background: var(--bg-light); border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; gap: .75rem; }
.product-modal-img-side img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }

/* ── Product Quick-View Image Auto-Scroll Strip (same as Catalog page) ── */
.prd-marquee-wrap {
    width: 100%;
    overflow: hidden;
    margin-top: 0.6rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.prd-marquee-track {
    display: flex;
    gap: 0.6rem;
    width: max-content;
    animation: prdMarquee 18s linear infinite;
    will-change: transform;
}
.prd-marquee-track:hover { animation-play-state: paused; }
@keyframes prdMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}
.prd-marquee-card {
    flex: 0 0 auto;
    width: 70px;
    cursor: pointer;
    transition: transform 0.2s;
}
.prd-marquee-card:hover { transform: scale(1.08); }
.prd-marquee-card img {
    width: 70px !important;
    height: 70px !important;
    min-height: 0 !important;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg-light);
}
.product-modal-info-side { padding: 2.5rem; overflow-y: auto; }
.product-modal-info-side .category-tag { font-size: 0.78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.product-modal-info-side h2 { font-family: var(--font-display); font-size: 1.6rem; margin: 0.5rem 0; line-height: 1.3; }
.product-modal-info-side .modal-price { font-size: 1.5rem; font-weight: 800; color: var(--red); margin-bottom: 1rem; }
.product-modal-info-side .modal-price s { font-size: 1rem; color: var(--text-muted); font-weight: 400; margin-right: 8px; }
.product-modal-info-side p.desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.5rem; }

.modal-options { margin-bottom: 1.5rem; }
.modal-options label { font-size: 0.82rem; font-weight: 700; display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill {
    padding: 6px 14px; border-radius: 6px; font-size: 0.82rem; font-weight: 600;
    border: 1.5px solid var(--border); color: var(--dark); background: var(--bg-white);
    cursor: pointer; transition: all var(--transition);
}
.option-pill.selected, .option-pill:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.modal-qty-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.modal-qty-label { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.modal-qty-ctrl { display: flex; align-items: center; gap: 10px; background: var(--bg-light); padding: 6px 12px; border-radius: 50px; }
.modal-qty-ctrl button { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-white); border: 1px solid var(--border); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.modal-qty-ctrl button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.modal-qty-ctrl span { font-weight: 700; min-width: 24px; text-align: center; }

.btn-add-to-cart {
    width: 100%; padding: 1rem; border-radius: var(--radius-md);
    background: var(--dark); color: #fff; font-size: 1rem; font-weight: 700;
    transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-add-to-cart:hover { background: var(--primary); transform: translateY(-2px); }

.modal-main-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    aspect-ratio: 1;
}
.modal-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s ease;
}

.modal-gallery-thumbs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.gallery-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 2px solid transparent;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
    flex-shrink: 0;
}
.gallery-thumb:hover  { transform: scale(1.08); }
.gallery-thumb.active { border-color: var(--primary, #2563eb); }

/* Variant color swatches */
.variant-swatch-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .4rem;
}
.variant-swatch-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    outline: none;
    transition: transform .2s, border-color .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    position: relative;
}
.variant-swatch-btn:hover    { transform: scale(1.15); }
.variant-swatch-btn.selected {
    border-color: var(--primary, #2563eb);
    transform: scale(1.15);
}
.variant-swatch-btn.selected::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ---- Tier pricing UI ---- */
.tier-from {
    font-size: .78rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}
.discount-badge {
    background: #dcfce7;
    color: #166534;
    font-size: .72rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    margin-left: .4rem;
    vertical-align: middle;
}

.qty-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .6rem;
    margin-top: .4rem;
}
.qty-tier-btn {
    border: 2px solid var(--border, #e5e7eb);
    border-radius: 12px;
    padding: .65rem .6rem;
    background: var(--bg-light, #f8fafc);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: border-color .2s, background .2s, transform .2s;
    text-align: center;
}
.qty-tier-btn:hover  { border-color: var(--primary, #2563eb); background: #eff6ff; }
.qty-tier-btn.selected {
    border-color: var(--primary, #2563eb);
    background: #eff6ff;
    transform: scale(1.03);
}
.qty-tier-btn .tier-qty  { font-size: .78rem; font-weight: 700; color: var(--text, #1e293b); }
.qty-tier-btn .tier-price{ font-size: 1rem;   font-weight: 800; color: var(--primary, #2563eb); }
.qty-tier-btn .tier-unit { font-size: .68rem; color: var(--text-muted, #64748b); }

.tier-selected-display {
    margin-top: .6rem;
    font-size: .85rem;
    color: var(--text-muted, #64748b);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: .5rem .75rem;
}

/* =====================================================
   AUTH MODAL
   ===================================================== */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(15,23,42,0.7); backdrop-filter: blur(8px);
    z-index: 1200; align-items: center; justify-content: center;
}
.modal.active { display: flex; animation: fadeIn 0.2s ease; }
.modal-content {
    background: var(--bg-white); padding: 2.5rem;
    border-radius: var(--radius-lg); width: min(420px, 95vw);
    position: relative; animation: slideUp 0.25s ease;
}
.close-btn { position: absolute; top: 1rem; right: 1.5rem; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; transition: color var(--transition); line-height: 1; }
.close-btn:hover { color: var(--dark); }

.auth-form h2 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 0.4rem; }
.auth-form > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.8rem; }
.active-form { display: block; }
.hidden-form { display: none; }

.input-group {
    position: relative; margin-bottom: 1rem;
    overflow: hidden; border-radius: var(--radius-sm);
}
.input-group i {
    position: absolute; left: 1rem; top: 50%;
    transform: translateY(-50%); color: var(--text-muted);
    font-size: 0.9rem;
}
.input-group input {
    width: 100%; padding: 0.9rem 1rem 0.9rem 2.6rem;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: var(--bg-light); font-size: 0.95rem; outline: none;
    transition: all var(--transition);
}
.input-group input:focus { border-color: var(--primary); background: var(--bg-white); }
.input-group input[name="password"] { padding-right: 2.6rem; }
.pw-toggle-btn {
    position: absolute !important; right: 1rem !important; left: auto !important; top: 50% !important;
    transform: translateY(-50%) !important;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; outline: none;
    color: var(--text-muted); cursor: pointer; padding: 0;
    font-size: 0.9rem; z-index: 5;
}
.pw-toggle-btn span { font-size: 0.85rem; color: inherit; }
.pw-toggle-btn:hover { color: var(--text); }
.input-group .pw-toggle-btn i {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    color: inherit !important;
    font-size: 0.85rem !important;
}

.btn-submit {
    width: 100%; padding: 0.95rem;
    background: var(--dark); color: var(--bg-white);
    border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem;
    transition: all var(--transition); margin-top: 0.5rem;
}
.btn-submit:hover { background: #000; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; pointer-events: none; }

.switch-text { text-align: center; margin-top: 1.2rem; font-size: 0.88rem; color: var(--text-muted); }
.switch-text a { color: var(--primary); font-weight: 600; }
.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 0.88rem; font-weight: 600; }
.alert.hidden { display: none; }
.alert.error { background: #fee2e2; color: #b91c1c; }
.alert.success { background: #dcfce7; color: #15803d; }

.show-pw-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -0.4rem 0 1rem 2px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}
.show-pw-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    margin: 0;
}
.show-pw-check span { line-height: 1; }

/* =====================================================
   CHECKOUT MODAL
   ===================================================== */
.checkout-modal {
    position: fixed; inset: 0; z-index: 1300;
    overflow-y: auto; padding: 2rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex; align-items: flex-start; justify-content: center;
}
.checkout-modal.open { opacity: 1; pointer-events: all; }
.checkout-inner {
    background: var(--bg-white); border-radius: var(--radius-lg);
    width: min(900px, 100%); position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; min-height: 500px; }
.checkout-form-side { padding: 2.5rem; border-right: 1px solid var(--border); }
.checkout-form-side h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 2rem; }
.checkout-summary-side { padding: 2.5rem; background: var(--bg-light); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.checkout-summary-side h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; }

.form-section { margin-bottom: 1.8rem; }
.form-section h4 { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }
.form-section h4 i { color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.92rem; outline: none;
    background: var(--bg-white); transition: border var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group input.error { border-color: var(--red); }

.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
    display: flex; align-items: center; gap: 12px;
    padding: 0.9rem 1.2rem; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition);
}
.payment-option:hover, .payment-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.payment-option input[type=radio] { accent-color: var(--primary); width: 16px; height: 16px; }
.payment-option span { font-size: 0.92rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }

.btn-place-order {
    width: 100%; padding: 1.1rem; border-radius: var(--radius-md);
    background: var(--green); color: #fff; font-size: 1.05rem; font-weight: 700;
    transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 1.5rem;
}
.btn-place-order:hover { background: #15803d; transform: translateY(-1px); }
.btn-place-order:disabled { background: var(--text-muted); pointer-events: none; }

/* Checkout summary */
.checkout-item { display: flex; gap: 10px; align-items: center; margin-bottom: 1rem; }
.checkout-item img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--border); }
.checkout-item-info h4 { font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.checkout-item-info p { font-size: 0.78rem; color: var(--text-muted); }
.checkout-item-price { margin-left: auto; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }

.checkout-totals { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; }
.total-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.9rem; }
.total-row.grand-total { font-weight: 800; font-size: 1.1rem; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }
.secure-badges { display: flex; gap: 1rem; margin-top: 1.5rem; font-size: 0.8rem; color: var(--text-muted); }
.secure-badges span { display: flex; align-items: center; gap: 5px; }
.secure-badges i { color: var(--green); }

/* ===== ORDER SUCCESS ===== */
.order-success-modal {
    position: fixed; inset: 0; background: rgba(15,23,42,0.8);
    backdrop-filter: blur(8px); z-index: 1500;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.order-success-modal.open { opacity: 1; pointer-events: all; }
.order-success-inner {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 3.5rem; text-align: center; max-width: 420px; width: 95%;
    animation: bounceIn 0.4s ease;
}
.success-icon { font-size: 4rem; color: var(--green); margin-bottom: 1rem; }
.order-success-inner h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 0.75rem; }
.order-success-inner p { color: var(--text-muted); margin-bottom: 0.5rem; }
.order-number-display { font-size: 0.9rem; margin-bottom: 2rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: var(--dark); color: var(--bg-white); padding-top: 5rem; }
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 5% 4rem;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { font-family: var(--font-display); font-size: 1.8rem; color: var(--bg-white); }
.footer-logo span { color: var(--primary); }
.footer-desc { color: var(--text-light); line-height: 1.7; margin: 1rem 0 2rem; font-size: 0.9rem; }
.site-footer h4 { font-size: 1rem; margin-bottom: 1.5rem; font-weight: 700; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-light); font-size: 0.9rem; transition: all var(--transition); display: inline-block; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.contact-info li { display: flex; align-items: center; gap: 10px; color: var(--text-light); font-size: 0.9rem; margin-bottom: 0.8rem; }
.contact-info a { color: var(--text-light); transition: color var(--transition); }
.contact-info a:hover { color: var(--primary); }
.contact-info i { color: var(--primary); font-size: 1rem; }
.social-icons { display: flex; gap: 12px; margin-top: 1.5rem; }
.social-icons a { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border-radius: 50%; color: var(--bg-white); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }

.newsletter-form { display: flex; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; padding: 4px; transition: border var(--transition); }
.newsletter-form:focus-within { border-color: var(--primary); }
.newsletter-form input { background: transparent; border: none; color: var(--bg-white); padding: 8px 14px; flex: 1; outline: none; font-size: 0.88rem; }
.newsletter-form input::placeholder { color: #475569; }
.newsletter-btn { background: var(--primary); color: var(--bg-white); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }
.newsletter-btn:hover { background: var(--primary-hover); transform: scale(1.05); }

.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1.8rem 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.copyright { color: #475569; font-size: 0.85rem; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: #475569; font-size: 0.85rem; transition: color var(--transition); }
.legal-links a:hover { color: var(--primary); }
.payment-icons { display: flex; gap: 12px; font-size: 1.7rem; color: #475569; }
.payment-icons i:hover { color: var(--bg-white); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 400;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); transition: all var(--transition);
    opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary-hover); transform: translateY(-3px); }

/* Floating WhatsApp order button */
.whatsapp-float {
    position: fixed; bottom: 2rem; left: 2rem; z-index: 400;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    animation: whatsappPulse 2.4s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,211,102,0.55);
    color: #fff;
}
@keyframes whatsappPulse {
    0%   { box-shadow: 0 4px 14px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 4px 14px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 4px 14px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

.status-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700; text-transform: capitalize;
}
.status-badge.pending { background: #fef9c3; color: #854d0e; }
.status-badge.confirmed { background: #dbeafe; color: #1e40af; }
.status-badge.processing { background: #ede9fe; color: #6d28d9; }
.status-badge.shipped { background: #e0f2fe; color: #0369a1; }
.status-badge.delivered { background: #dcfce7; color: #15803d; }
.status-badge.cancelled { background: #fee2e2; color: #b91c1c; }
.btn-action { padding: 4px 12px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; transition: all var(--transition); }
.btn-action.edit { background: var(--primary-light); color: var(--primary); }
.btn-action.edit:hover { background: var(--primary); color: #fff; }
.btn-action.delete { background: #fee2e2; color: var(--red); }
.btn-action.delete:hover { background: var(--red); color: #fff; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-form-group { margin-bottom: 1.2rem; }
.admin-form-group label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.admin-form-group input, .admin-form-group select, .admin-form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.92rem; outline: none;
    transition: border var(--transition); background: var(--bg-white);
}
.admin-form-group input:focus, .admin-form-group select:focus, .admin-form-group textarea:focus { border-color: var(--primary); }
.admin-form-group.span-2 { grid-column: 1 / -1; }
.upload-zone {
    border: 2px dashed var(--border); border-radius: var(--radius-md);
    padding: 2.5rem; text-align: center; cursor: pointer;
    transition: all var(--transition); background: var(--bg-light);
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--primary); background: var(--primary-light); }
.upload-zone i { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.upload-zone p { color: var(--text-muted); font-size: 0.9rem; }
.upload-zone p strong { color: var(--primary); }
.upload-preview { margin-top: 1rem; display: flex; gap: 10px; flex-wrap: wrap; }
.upload-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    70% { transform: scale(1.04); opacity: 1; }
    100% { transform: scale(1); }
}

/* =====================================================
   ADMIN LAYOUT
   ===================================================== */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.admin-stat {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 0;
}
.admin-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.admin-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.admin-stat .stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-stat .stat-value {
    font-size: clamp(1rem, 1.8vw, 1.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    font-family: var(--font-display);
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
@media (max-width: 480px) {
    .admin-stat .stat-value { font-size: 1.4rem; }
}

.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
    background: var(--dark);
    position: sticky;
    top: 0; left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 200;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
.admin-logo {
    padding: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    letter-spacing: -0.5px;
}
.admin-nav {
    padding: 1rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.5rem;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}
.admin-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-left-color: rgba(255,255,255,0.3);
}
.admin-nav a.active {
    color: #fff;
    background: rgba(37,99,235,0.2);
    border-left-color: var(--primary);
    font-weight: 600;
}
.admin-nav a i {
    width: 18px;
    font-size: 0.95rem;
    text-align: center;
}
.admin-main {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
    padding: 2rem;
    min-height: 100vh;
    background: #f1f5f9;
}
.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.admin-top-bar h1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--dark);
}
.admin-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.admin-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
}
.admin-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.admin-table th {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: var(--dark);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: #f8fafc; }

.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}
.admin-sidebar-overlay.open { display: block; }

.admin-mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* =====================================================
   VIDEO CAROUSEL SECTION
   ===================================================== */
.video-carousel-section {
    width: 100%;
    background: #0a0a0f;
    position: relative;
    overflow: hidden;
    padding: 0;
}
.vc-inner {
    position: relative;
    width: 100%;
    max-height: 92vh;
    min-height: 420px;
    overflow: hidden;
}
.vc-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.vc-slide {
    display: none;
    position: relative;
    width: 100%;
}
.vc-slide.vc-active {
    display: block;
    animation: vcFadeIn 0.6s ease;
}
@keyframes vcFadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to   { opacity: 1; transform: scale(1); }
}
.vc-video {
    width: 100%;
    max-height: 92vh;
    min-height: 420px;
    object-fit: cover;
    display: block;
    background: #000;
}
.vc-iframe {
    width: 100%;
    min-height: 420px;
    height: 92vh;
    display: block;
    border: none;
    background: #000;
}
.vc-caption {
    position: absolute;
    bottom: 80px;
    left: 0; right: 0;
    text-align: center;
    padding: 0 2rem;
    z-index: 5;
    pointer-events: none;
}
.vc-caption h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.vc-caption p {
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    max-width: 600px;
    margin: 0 auto;
}
.vc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.vc-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}
.vc-prev { left: 1.5rem; }
.vc-next { right: 1.5rem; }
.vc-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.5rem;
    z-index: 10;
}
.vc-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none; cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}
.vc-dot.vc-dot-active,
.vc-dot:hover {
    background: var(--primary);
    transform: scale(1.3);
}
.vc-play-toggle {
    position: absolute;
    bottom: 1.4rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.vc-play-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* =====================================================
   TRACK ORDER PAGE
   ===================================================== */
.track-page {
    min-height: 100vh;
    background: var(--bg-light, #f5f5f5);
    padding: 6rem 1.5rem 3rem;
}
.track-container {
    max-width: 720px;
    margin: 0 auto;
}
.track-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}
.track-hero h1 {
    font-family: var(--font-display, sans-serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.track-hero p { color: var(--text-muted, #666); }
.track-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
}
.track-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.track-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border, #ddd);
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s;
    box-sizing: border-box;
}
.track-input:focus { border-color: var(--primary, #e74c3c); }
.track-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary, #e74c3c);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}
.track-submit:hover { opacity: 0.88; }
.track-result {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    display: none;
}
.track-result.visible { display: block; animation: vcFadeIn 0.4s ease; }
.track-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}
.track-order-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark, #111);
}
.track-order-num span { color: var(--primary, #e74c3c); }
.track-status-badge {
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-pending    { background: #fff3cd; color: #856404; }
.status-confirmed  { background: #d1ecf1; color: #0c5460; }
.status-processing { background: #d0e4ff; color: #084298; }
.status-shipped    { background: #d4edda; color: #155724; }
.status-delivered  { background: #c3f3d2; color: #0a4d21; }
.status-cancelled  { background: #f8d7da; color: #721c24; }
.track-timeline {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}
.track-timeline::before {
    content: '';
    position: absolute;
    left: 11px; top: 0; bottom: 0;
    width: 2px;
    background: var(--border, #ddd);
}
.tl-step {
    position: relative;
    margin-bottom: 1.4rem;
    padding-left: 0.8rem;
}
.tl-step:last-child { margin-bottom: 0; }
.tl-dot {
    position: absolute;
    left: -2rem;
    top: 3px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--border, #ddd);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--border, #ddd);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.55rem;
    color: #fff;
    transition: all 0.3s;
}
.tl-step.done .tl-dot {
    background: #22c55e;
    box-shadow: 0 0 0 2px #22c55e;
}
.tl-step.active .tl-dot {
    background: var(--primary, #e74c3c);
    box-shadow: 0 0 0 3px rgba(231,76,60,0.25);
    animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 3px rgba(231,76,60,0.25); }
    50%      { box-shadow: 0 0 0 6px rgba(231,76,60,0.1); }
}
.tl-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark, #111);
}
.tl-step.pending-step .tl-label { color: var(--text-muted, #888); }
.tl-time {
    font-size: 0.78rem;
    color: var(--text-muted, #888);
    margin-top: 0.15rem;
}
.track-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.td-label { color: var(--text-muted, #888); font-size: 0.8rem; }
.td-value { font-weight: 600; color: var(--dark, #111); }
.track-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    color: #b91c1c;
    font-weight: 600;
    display: none;
    margin-top: 1rem;
}
.track-error.visible { display: block; }

/* =====================================================
   VIDEO MARQUEE STRIP
   ===================================================== */
.vm-section {
    width: 100%;
    background: #08080f;
    padding: 4rem 0 3rem;
    overflow: hidden;
    position: relative;
}
.vm-header {
    text-align: center;
    padding: 0 1.5rem;
    margin-bottom: 2.5rem;
}
.vm-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0.4rem 0 0;
    letter-spacing: -0.5px;
}
.vm-header .section-tag {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.12);
}
.vm-strip-wrapper {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    cursor: grab;
}
.vm-strip-wrapper:active { cursor: grabbing; }
.vm-strip {
    display: flex;
    gap: 1.2rem;
    padding: 0.8rem 1.2rem;
    width: max-content;
    animation: vmScroll 25s linear infinite;
    will-change: transform;
    animation-play-state: running;
}
.vm-strip.vm-paused { animation-play-state: paused !important; }
.vm-strip.vm-slow   { animation-duration: 50s !important; }
.vm-strip:hover     { animation-play-state: paused; }
@keyframes vmScroll {
    0%   { transform: translateX(0px); }
    100% { transform: translateX(-33.3334%); }
}
.vm-card {
    position: relative;
    flex: 0 0 auto;
    width: 280px;
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vm-card:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.7);
    z-index: 2;
}
.vm-card:hover .vm-card-overlay { opacity: 1; }
.vm-card:hover .vm-vid { transform: scale(1.06); }
.vm-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    background: #1a1a2e;
    min-height: 100%;
}
.vm-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vm-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.vm-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    backdrop-filter: blur(6px);
    padding-left: 4px;
}
.vm-card-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vm-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.8rem;
    padding: 0 1.5rem;
}
.vm-ctrl-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.vm-ctrl-btn:hover,
.vm-ctrl-btn.vm-ctrl-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.vm-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.vm-lightbox.vm-lb-open {
    display: flex;
}
.vm-lb-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.vm-lb-close:hover { background: var(--primary); border-color: var(--primary); }
.vm-lb-video {
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 16px;
    outline: none;
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
    background: #000;
}
.vm-strip.vm-dragging { animation-play-state: paused; }

.vm-vid-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.vm-vid-wrap video,
.vm-vid-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================
   PRINTMINE-STYLE PRODUCT MODAL — Size Steppers + Color Grid
   ===================================================== */
.pm-price-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; flex-wrap: wrap; }
.pm-price-sale { font-size: 1.6rem; font-weight: 800; color: var(--dark); line-height: 1; }
.pm-price-orig { font-size: 1rem; color: #999; text-decoration: line-through; }
.pm-save-badge { background: #e53e3e; color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; letter-spacing: .5px; }

.pm-section { margin: 14px 0; }
.pm-section-label {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase; color: #64748b; margin-bottom: 8px;
}
.pm-section-label strong { color: var(--dark); }

.pm-color-grid {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.pm-color-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; cursor: pointer;
}
.pm-color-swatch {
    width: 64px; height: 64px; border-radius: 10px;
    border: 2.5px solid transparent; overflow: hidden;
    transition: border-color .2s, transform .15s;
    background: #e2e8f0;
}
.pm-color-swatch img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.pm-color-item.active .pm-color-swatch,
.pm-color-item:hover .pm-color-swatch {
    border-color: var(--primary);
    transform: scale(1.06);
}
.pm-color-label {
    font-size: 0.7rem; font-weight: 600; color: var(--dark);
    text-align: center; max-width: 64px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}

.pm-size-list { display: flex; flex-direction: column; gap: 8px; }
.pm-size-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border: 1.5px solid var(--border);
    border-radius: 10px; transition: border-color .2s, background .2s;
    background: #fff;
}
.pm-size-row.has-qty {
    background: rgba(212,168,67,0.08) !important;
}
.pm-size-name { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.pm-qty-ctrl { display: flex; align-items: center; gap: 12px; }
.pm-qty-btn {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1.5px solid var(--border); background: #1a1a1a !important;
    font-size: 1.1rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #F5F0E8 !important; transition: all .15s; line-height: 1;
}
.pm-qty-btn:hover { border-color: var(--primary); color: #D4A843 !important; background: rgba(212,168,67,0.1) !important; }
.pm-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.pm-qty-btn:disabled:hover { border-color: var(--border); color: #F5F0E8 !important; background: #1a1a1a !important; }
.pm-qty-val { font-size: 1rem; font-weight: 700; min-width: 24px; text-align: center; color: #F5F0E8 !important; }

.pm-qtytier-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-qtytier-pill {
    background: #1a1a1a !important; color: #F5F0E8 !important; border: 1.5px solid var(--border);
    border-radius: 999px; padding: 8px 16px; font-size: .8rem; font-weight: 700;
    cursor: pointer; transition: all .15s; font-family: inherit;
}
.pm-qtytier-pill:hover { border-color: var(--primary); color: #D4A843 !important; }
.pm-qtytier-pill.active { background: #D4A843 !important; color: #0a0a0a !important; border-color: #D4A843; }

.pm-sample-box {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 6px 12px; margin-top: 10px; padding: 10px 14px;
    background: #FFF4E5; border: 1px solid #F5A623; border-radius: 10px;
}
.pm-sample-text { font-size: .82rem; font-weight: 700; color: #B45309; }
.pm-sample-count { font-size: .8rem; font-weight: 700; color: #B45309; }
.pm-sample-progress {
    width: 100%; height: 6px; background: rgba(245,166,35,0.25);
    border-radius: 999px; overflow: hidden; order: 3;
}
.pm-sample-progress-bar {
    height: 100%; width: 0%; background: #F5A623; transition: width .2s ease;
}

.pm-single-qty { display: flex; align-items: center; gap: 16px; }

.pm-qty-summary {
    display: flex; align-items: center; gap: 8px;
    margin-top: 8px; padding: 8px 14px;
    background: var(--primary); color: #fff;
    border-radius: 8px; font-size: .85rem; font-weight: 700;
}

.pm-tier-section { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.pm-tier-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pm-tier-pill {
    background: #fff; border: 1px solid var(--border);
    border-radius: 20px; padding: 4px 12px;
    font-size: .78rem; font-weight: 700; color: #e53e3e;
}

.pm-upload-section { }
.pm-upload-box {
    border: 2px dashed var(--border); border-radius: 10px;
    padding: 16px; text-align: center; cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    background: #1a1a1a !important;
}
.pm-upload-box:hover { border-color: var(--primary); background: rgba(212,168,67,0.08) !important; }
.pm-upload-box i { font-size: 1.5rem; color: var(--primary); }
.pm-upload-box span { font-size: .85rem; font-weight: 600; color: #F5F0E8 !important; }
.pm-upload-box small { font-size: .72rem; color: rgba(245,240,232,0.4) !important; }
.pm-note-field {
    width: 100%; margin-top: 10px;
    border: 1.5px solid var(--border); border-radius: 8px;
    padding: 10px 12px; font-size: .85rem; resize: vertical;
    font-family: inherit; color: #F5F0E8 !important;
    background: #1a1a1a !important;
    transition: border-color .2s;
    box-sizing: border-box;
}
.pm-note-field::placeholder { color: rgba(245,240,232,0.4) !important; }
.pm-note-field:focus { outline: none; border-color: var(--primary); }

.pm-add-btn {
    width: 100%; padding: 1rem 1.5rem;
    background: #D4A843 !important; color: #0a0a0a !important;
    border: none; border-radius: 10px;
    font-size: 1rem; font-weight: 800;
    letter-spacing: .5px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 10px; transition: background .2s, transform .15s;
    margin-top: 16px;
}
.pm-add-btn:hover { background: #F0C96A !important; transform: translateY(-1px); }
.pm-add-btn:active { transform: translateY(0); }

.pm-whatsapp-btn {
    width: 100%; padding: .85rem 1.5rem;
    background: #25D366 !important; color: #fff !important;
    border: none; border-radius: 10px;
    font-size: .95rem; font-weight: 800;
    letter-spacing: .5px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 10px; transition: background .2s, transform .15s;
    margin-top: 10px;
}
.pm-whatsapp-btn:hover { background: #1EBE5A !important; transform: translateY(-1px); }
.pm-whatsapp-btn:active { transform: translateY(0); }

/* =====================================================
   GLOBAL SAFETY / ACCESSIBILITY
   ===================================================== */
html, body { overflow-x: hidden; max-width: 100vw; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
button:focus-visible, a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

img[loading="lazy"] { background: var(--bg-light); }

.item-card, .cat-card, .why-card, .badge {
    will-change: transform;
}

.story-container { -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.story-container::-webkit-scrollbar { display: none; }

.offer-content { flex-wrap: wrap; gap: 0.5rem; text-align: center; }

@keyframes statFlash { 0%{background:rgba(22,163,74,.2)} 100%{background:transparent} }
.stat-updated { animation: statFlash 0.8s ease; border-radius: 8px; }

/* =====================================================
   NAVBAR RESPONSIVE
   ===================================================== */
.navbar {
    flex-wrap: nowrap;
    min-width: 0;
}
.navbar .logo {
    flex-shrink: 0;
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    white-space: nowrap;
}
.btn-bulk-order {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-actions {
    flex-shrink: 0;
    gap: 8px;
}

/* =====================================================
   RESPONSIVE — DESKTOP DOWN TO MOBILE
   ===================================================== */
@media (max-width: 1024px) {
    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .visual-grid { height: 380px; }
    .img-1 { margin-top: 0; height: 100%; }
    .img-2 { margin-bottom: 0; height: 100%; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary-side { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
    .product-modal-grid { grid-template-columns: 1fr; }
    .product-modal-img-side { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .product-modal-img-side img { min-height: 280px; }
}

@media (max-width: 960px) {
    .btn-bulk-order .bulk-text { display: none; }
    .btn-bulk-order { padding: 0.45rem 0.75rem; }
}

@media (max-width: 900px) {
    .admin-wrapper { flex-direction: column; }
    .admin-sidebar { width: 100%; min-width: unset; height: auto; position: relative; }
    .admin-nav { flex-direction: row !important; flex-wrap: wrap !important; gap: 4px !important; padding: 0.5rem !important; }
    .admin-nav a { font-size: 0.75rem; padding: 6px 10px !important; white-space: nowrap; }
    .admin-nav a[style*="margin-top:auto"] { margin-top: 0 !important; }
    .admin-main { padding: 1rem !important; }
    .order-detail-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-stats { display: none; }
    .slider-dots { bottom: 20px; left: 50%; transform: translateX(-50%); }
    .about-container { gap: 2rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .legal-links { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .items-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .slide-content h1 { font-size: 2.2rem; }

    .btn-bulk-order { display: none; }
    .nav-actions { gap: 6px; }
    .btn-outline { padding: 0.45rem 0.85rem; font-size: 0.82rem; }

    .vc-inner { min-height: 240px; max-height: 60vw; }
    .vc-video, .vc-iframe { min-height: 240px; height: 60vw; }
    .vc-btn { width: 36px; height: 36px; font-size: 0.8rem; }
    .vc-prev { left: 0.5rem; }
    .vc-next { right: 0.5rem; }
    .vc-caption { bottom: 50px; padding: 0 1rem; }

    .vm-card { width: 200px; height: 280px; }
    .vm-section { padding: 3rem 0 2rem; }

    .admin-mobile-toggle { display: flex; }
    .admin-sidebar {
        position: fixed;
        left: -260px;
        width: 240px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    .admin-sidebar.open { left: 0; }
    .admin-main { margin-left: 0 !important; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-card { overflow-x: auto; }
    .admin-table { min-width: 600px; }

    .product-modal { width: 100% !important; height: 100% !important; max-height: 100dvh !important; border-radius: 0 !important; top: 0 !important; left: 0 !important; transform: none !important; overflow-y: auto; }
    .product-modal-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
    .story-item { width: 68px; }
    .story-circle { width: 60px; height: 60px; }
    .qty-tier-grid { grid-template-columns: repeat(2, 1fr); }

    .product-modal {
        width: 100vw;
        max-height: 100vh;
        border-radius: 0;
        top: 0; left: 0;
        transform: none;
        overflow-y: auto;
    }
    .product-modal.open { transform: none; }
    .product-modal-img-side { border-radius: 0; min-height: 220px; }
    .product-modal-img-side img { min-height: 220px; object-fit: cover; }
    .product-modal-info-side { padding: 1.5rem; }
    .modal-close-btn { top: 0.75rem; right: 0.75rem; }

    .checkout-modal { padding: 0; }
    .checkout-inner { border-radius: 0; min-height: 100vh; }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-form-side { padding: 1.5rem 1.2rem; border-right: none; border-bottom: 1px solid var(--border); }
    .checkout-summary-side { padding: 1.5rem 1.2rem; border-radius: 0; }
    .checkout-modal { width: 100vw !important; height: 100dvh !important; max-height: 100dvh !important; border-radius: 0 !important; overflow-y: auto; }
    .checkout-inner { padding: 1rem !important; }

    .about-section { padding: 3rem 4%; }
    .visual-grid { height: 240px; }

    .pm-color-swatch { width: 52px; height: 52px; }
    .pm-price-sale { font-size: 1.35rem; }
    .pm-qtytier-pill { padding: 6px 12px; font-size: .74rem; }
    .pm-sample-text, .pm-sample-count { font-size: .74rem; }
}

@media (max-width: 520px) { .track-form-row { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
    .slide-content { left: 4%; right: 4%; max-width: 100%; }
    .slide-content h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
    .slide-content p { font-size: 0.88rem; margin-bottom: 1.2rem; }
    .btn-primary, .btn-glass { padding: 0.7rem 1.4rem; font-size: 0.88rem; }
    .hero-slider-wrapper { height: 75vw; min-height: 280px; }

    .slide-btns { flex-direction: column; }
    .items-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .checkout-modal { padding: 0; }
    .checkout-inner { border-radius: 0; }
    .auth-form { padding: 0; }
    .modal-content { padding: 1.8rem; }

    .navbar { padding: 0 4%; height: 62px; }
    .logo { font-size: 1.2rem; }
    #authBtn span { display: none; }

    .story-container { gap: 0.75rem; padding: 4px 4%; }
    .story-item { min-width: 70px; }
    .story-circle { width: 64px; height: 64px; }
    .story-label { font-size: 0.7rem; }

    .cart-sidebar { width: 100vw; }

    .site-footer { padding-top: 3rem; }
    .footer-container { padding: 0 4% 3rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
    .payment-icons { justify-content: center; }
    .legal-links { justify-content: center; }

    .modal-content { padding: 1.5rem; border-radius: var(--radius-md); }
    .auth-form h2 { font-size: 1.4rem; }

    .admin-stats { grid-template-columns: 1fr; }
    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 0.6rem 0.5rem; }

    .order-success-inner { padding: 2rem 1.5rem; }
    .order-success-inner h2 { font-size: 1.6rem; }
    .success-icon { font-size: 3rem; }

    .back-to-top { bottom: 1.2rem; right: 1.2rem; width: 38px; height: 38px; font-size: 0.85rem; }
    .whatsapp-float { bottom: 1.2rem; left: 1.2rem; width: 48px; height: 48px; font-size: 1.4rem; }

    .cart-sidebar { width: 100% !important; max-width: 100% !important; }
    .newsletter-form { flex-direction: column; gap: 0.5rem; }
    .newsletter-form input { border-radius: 8px !important; }
    .newsletter-btn { border-radius: 8px !important; width: 100%; }

    .modal-content { width: 100vw !important; max-width: 100vw !important; min-height: 100dvh !important; border-radius: 0 !important; padding: 2rem 1.5rem !important; }
    #authModal { align-items: flex-start !important; padding: 0 !important; }

    .track-details-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .items-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .vm-card { width: 140px; height: 196px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =====================================================
   RED CLUB MERCH — Dark Gold Theme Override
   ===================================================== */
:root {
    --primary:        #D4A843;
    --primary-hover:  #F0C96A;
    --primary-light:  rgba(212,168,67,0.12);
    --accent:         #9B2020;
    --red:            #e53e3e;
    --green:          #22c55e;
    --dark:           #F5F0E8;
    --dark-2:         #111111;
    --text-muted:     rgba(245,240,232,0.55);
    --text-light:     rgba(245,240,232,0.35);
    --bg-light:       #111111;
    --bg-white:       #161616;
    --border:         rgba(212,168,67,0.15);
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.4);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg:      0 15px 40px rgba(0,0,0,0.6);
    --shadow-xl:      0 25px 60px rgba(0,0,0,0.7);
}

body {
    background: #0a0a0a !important;
    color: #F5F0E8 !important;
}

::-webkit-scrollbar-track { background: #111 !important; }
::-webkit-scrollbar-thumb { background: rgba(212,168,67,0.3) !important; }
::-webkit-scrollbar-thumb:hover { background: #D4A843 !important; }

.text-gradient {
    background: linear-gradient(135deg, #D4A843 0%, #F0C96A 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.navbar {
    background: rgba(10,10,10,0.97) !important;
    border-bottom: 1px solid rgba(212,168,67,0.2) !important;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.6) !important; }
.logo { color: #F5F0E8 !important; }
.logo span { color: #D4A843 !important; }
.brand-tagline { color: rgba(245,240,232,0.45) !important; }
.nav-links a { color: rgba(245,240,232,0.6) !important; }
.nav-links a:hover { color: #D4A843 !important; border-bottom-color: #D4A843 !important; }

.btn-search-nav {
    background: rgba(255,255,255,0.06) !important;
    color: rgba(245,240,232,0.6) !important;
}
.btn-search-nav:hover { background: rgba(212,168,67,0.15) !important; color: #D4A843 !important; }

.btn-outline {
    border-color: #D4A843 !important;
    color: #D4A843 !important;
    background: transparent !important;
}
.btn-outline:hover { background: #D4A843 !important; color: #0a0a0a !important; }

.cart-wrapper { background: rgba(255,255,255,0.06) !important; color: #F5F0E8 !important; }
.cart-wrapper:hover { background: rgba(212,168,67,0.15) !important; color: #D4A843 !important; }
.cart-badge { background: #9B2020 !important; }

.btn-user-nav { background: rgba(255,255,255,0.06) !important; color: #F5F0E8 !important; }
.btn-user-nav:hover { background: rgba(212,168,67,0.15) !important; color: #D4A843 !important; }
.user-dropdown {
    background: #161616 !important;
    border-color: rgba(212,168,67,0.2) !important;
}
.user-dropdown a { color: #F5F0E8 !important; }
.user-dropdown a:hover { background: rgba(212,168,67,0.1) !important; color: #D4A843 !important; }

.mobile-nav {
    background: #111111 !important;
    border-bottom-color: rgba(212,168,67,0.2) !important;
}
.mobile-nav li a { color: #F5F0E8 !important; border-bottom-color: rgba(212,168,67,0.1) !important; }
.mobile-nav li a:hover { color: #D4A843 !important; }

.hamburger span { background: #F5F0E8 !important; }

.search-bar-wrapper {
    background: #111111 !important;
    border-bottom-color: rgba(212,168,67,0.2) !important;
}
.search-bar-inner input { color: #F5F0E8 !important; }
.search-bar-inner i, .search-bar-inner button { color: rgba(245,240,232,0.5) !important; }
.search-result-item:hover { background: rgba(212,168,67,0.08) !important; }
.search-result-info span { color: #D4A843 !important; }

.story-carousel-section {
    background: #0d0d0d !important;
    border-bottom-color: rgba(212,168,67,0.12) !important;
}
.story-label { color: #F5F0E8 !important; }

.offer-banner {
    background: linear-gradient(135deg, #1a1200, #0a0a0a) !important;
    border-top: 1px solid rgba(212,168,67,0.2) !important;
    border-bottom: 1px solid rgba(212,168,67,0.2) !important;
}
.offer-content i { color: #D4A843 !important; }

.section-tag {
    background: rgba(212,168,67,0.12) !important;
    color: #D4A843 !important;
}
.section-header h2 { color: #F5F0E8 !important; }
.section-header p { color: rgba(245,240,232,0.55) !important; }

.category-section { background: #0a0a0a !important; }
.cat-card {
    background: #161616 !important;
    border-color: rgba(212,168,67,0.15) !important;
}
.cat-card:hover { border-color: #D4A843 !important; box-shadow: 0 8px 30px rgba(212,168,67,0.15) !important; }
.cat-card-body h3 { color: #F5F0E8 !important; }
.cat-card-body span { color: rgba(245,240,232,0.5) !important; }
.category-skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%) !important;
}

.featured-section { background: #0d0d0d !important; }
.filter-pills .pill {
    background: #161616 !important;
    border-color: rgba(212,168,67,0.2) !important;
    color: rgba(245,240,232,0.6) !important;
}
.pill:hover, .pill.active {
    background: #D4A843 !important;
    color: #0a0a0a !important;
    border-color: #D4A843 !important;
}
.item-card {
    background: #161616 !important;
    border-color: rgba(212,168,67,0.12) !important;
}
.item-card:hover { box-shadow: 0 8px 30px rgba(212,168,67,0.15) !important; }
.item-details h3 { color: #F5F0E8 !important; }
.item-rating { color: #D4A843 !important; }
.item-rating span { color: rgba(245,240,232,0.5) !important; }
.new-price { color: #D4A843 !important; }
.old-price { color: rgba(245,240,232,0.4) !important; }
.regular-price { color: #F5F0E8 !important; }
.bestseller-badge { background: #9B2020 !important; }
.btn-customize {
    border-color: #D4A843 !important;
    color: #D4A843 !important;
    background: transparent !important;
}
.btn-customize:hover { background: #D4A843 !important; color: #0a0a0a !important; }
.btn-load-more {
    background: #161616 !important;
    border-color: rgba(212,168,67,0.25) !important;
    color: #F5F0E8 !important;
}
.btn-load-more:hover { border-color: #D4A843 !important; color: #D4A843 !important; }
.product-skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%) !important;
}

.why-us-section { background: #111111 !important; }
.why-card {
    background: #161616 !important;
    border-color: rgba(212,168,67,0.12) !important;
}
.why-card:hover { border-color: rgba(212,168,67,0.4) !important; box-shadow: 0 8px 30px rgba(212,168,67,0.1) !important; }
.why-icon { background: rgba(212,168,67,0.12) !important; color: #D4A843 !important; }
.why-card h3 { color: #F5F0E8 !important; }
.why-card p { color: rgba(245,240,232,0.55) !important; }

.about-section { background: #0d0d0d !important; border-top-color: rgba(212,168,67,0.12) !important; }
.about-content h2 { color: #F5F0E8 !important; }
.about-content > p { color: rgba(245,240,232,0.6) !important; }
.badge { background: #161616 !important; }
.badge:hover { background: #1c1c1c !important; border-color: rgba(212,168,67,0.3) !important; }
.badge i { color: #D4A843 !important; background: rgba(212,168,67,0.1) !important; }
.badge h4 { color: #F5F0E8 !important; }
.badge p { color: rgba(245,240,232,0.55) !important; }

.cart-overlay { background: rgba(0,0,0,0.75) !important; }
.cart-sidebar { background: #111111 !important; }
.cart-header { border-bottom-color: rgba(212,168,67,0.15) !important; }
.cart-header h3 { color: #F5F0E8 !important; }
.cart-header button { background: rgba(255,255,255,0.06) !important; color: rgba(245,240,232,0.6) !important; }
.cart-empty { color: rgba(245,240,232,0.4) !important; }
.cart-item { border-bottom-color: rgba(212,168,67,0.1) !important; }
.cart-item-info h4 { color: #F5F0E8 !important; }
.cart-item-info p { color: rgba(245,240,232,0.5) !important; }
.cart-item-price { color: #D4A843 !important; }
.qty-btn { background: rgba(255,255,255,0.06) !important; border-color: rgba(212,168,67,0.2) !important; color: #F5F0E8 !important; }
.qty-btn:hover { background: #D4A843 !important; border-color: #D4A843 !important; color: #0a0a0a !important; }
.qty-val { color: #F5F0E8 !important; }
.cart-footer { border-top-color: rgba(212,168,67,0.15) !important; }
.subtotal-row { color: #F5F0E8 !important; }
.subtotal-row.shipping-row { color: rgba(245,240,232,0.5) !important; }
.subtotal-row.total-row { border-top-color: rgba(212,168,67,0.15) !important; }
.btn-checkout { background: #D4A843 !important; color: #0a0a0a !important; }
.btn-checkout:hover { background: #F0C96A !important; }
.secure-note { color: rgba(245,240,232,0.4) !important; }

.product-modal { background: #161616 !important; }
.modal-close-btn { background: rgba(255,255,255,0.06) !important; color: rgba(245,240,232,0.6) !important; }
.modal-close-btn:hover { background: rgba(212,168,67,0.15) !important; color: #D4A843 !important; }
.product-modal-img-side { background: #111111 !important; }
.product-modal-img-side img { background: #111111 !important; }
.modal-main-img-wrap { background: #111111 !important; }
.product-modal-grid { background: #161616 !important; }
.category-tag { color: #D4A843 !important; }
.product-modal-info-side h2 { color: #F5F0E8 !important; }
.modal-price { color: #D4A843 !important; }
.modal-price s { color: rgba(245,240,232,0.4) !important; }
.product-modal-info-side p.desc { color: rgba(245,240,232,0.6) !important; }
.option-pill {
    background: #111111 !important;
    border-color: rgba(212,168,67,0.2) !important;
    color: #F5F0E8 !important;
}
.option-pill.selected, .option-pill:hover { border-color: #D4A843 !important; color: #D4A843 !important; background: rgba(212,168,67,0.1) !important; }
.modal-qty-ctrl { background: #111111 !important; }
.modal-qty-ctrl button { background: #1a1a1a !important; border-color: rgba(212,168,67,0.2) !important; color: #F5F0E8 !important; }
.modal-qty-ctrl button:hover { background: #D4A843 !important; border-color: #D4A843 !important; color: #0a0a0a !important; }
.modal-qty-ctrl span { color: #F5F0E8 !important; }
.btn-add-to-cart { background: #D4A843 !important; color: #0a0a0a !important; }
.btn-add-to-cart:hover { background: #F0C96A !important; }

.pm-size-row {
    background: #1a1a1a !important;
    border-color: rgba(212,168,67,0.15) !important;
    color: #F5F0E8 !important;
}
.pm-size-row.has-qty {
    background: rgba(212,168,67,0.15) !important;
}

#authModal { background: rgba(0,0,0,0.85) !important; }
.modal-content { background: #161616 !important; border: 1px solid rgba(212,168,67,0.2); }
.close-btn { color: rgba(245,240,232,0.5) !important; }
.close-btn:hover { color: #F5F0E8 !important; }
.auth-form h2 { color: #F5F0E8 !important; }
.auth-form > p { color: rgba(245,240,232,0.55) !important; }
.input-group input {
    background: #111111 !important;
    border-color: rgba(212,168,67,0.2) !important;
    color: #F5F0E8 !important;
}
.input-group input:focus { border-color: #D4A843 !important; background: #0a0a0a !important; }
.input-group i { color: rgba(245,240,232,0.4) !important; }
.input-group .pw-toggle-btn { color: rgba(245,240,232,0.4) !important; }
.input-group .pw-toggle-btn:hover { color: #D4A843 !important; }
.btn-submit { background: #D4A843 !important; color: #0a0a0a !important; }
.btn-submit:hover { background: #F0C96A !important; }
.switch-text { color: rgba(245,240,232,0.5) !important; }
.switch-text a { color: #D4A843 !important; }

.checkout-modal { background: rgba(0,0,0,0.85) !important; }
.checkout-inner { background: #161616 !important; }
.checkout-form-side h2 { color: #F5F0E8 !important; }
.checkout-form-side { border-right-color: rgba(212,168,67,0.15) !important; }
.checkout-summary-side { background: #111111 !important; }
.checkout-summary-side h3 { color: #F5F0E8 !important; }
.form-section h4 { color: rgba(245,240,232,0.5) !important; }
.form-section h4 i { color: #D4A843 !important; }
.form-group label { color: #F5F0E8 !important; }
.form-group input, .form-group textarea, .form-group select {
    background: #111111 !important;
    border-color: rgba(212,168,67,0.2) !important;
    color: #F5F0E8 !important;
}
.form-group input:focus, .form-group textarea:focus { border-color: #D4A843 !important; }
.payment-option { border-color: rgba(212,168,67,0.2) !important; color: #F5F0E8 !important; }
.payment-option:hover, .payment-option:has(input:checked) { border-color: #D4A843 !important; background: rgba(212,168,67,0.08) !important; }
.checkout-item-info h4 { color: #F5F0E8 !important; }
.checkout-item-info p { color: rgba(245,240,232,0.5) !important; }
.checkout-totals { border-top-color: rgba(212,168,67,0.15) !important; }
.total-row { color: #F5F0E8 !important; }
.total-row.grand-total { border-top-color: rgba(212,168,67,0.15) !important; }
.btn-place-order { background: #D4A843 !important; color: #0a0a0a !important; }
.btn-place-order:hover { background: #F0C96A !important; }
.secure-badges { color: rgba(245,240,232,0.4) !important; }
.secure-badges i { color: #22c55e !important; }

.order-success-inner { background: #161616 !important; }
.order-success-inner h2 { color: #F5F0E8 !important; }
.order-success-inner p { color: rgba(245,240,232,0.6) !important; }
.success-icon { color: #22c55e !important; }

.site-footer { background: #060606 !important; border-top: 1px solid rgba(212,168,67,0.15) !important; }
.footer-logo { color: #F5F0E8 !important; }
.footer-logo span { color: #D4A843 !important; }
.footer-desc { color: rgba(245,240,232,0.4) !important; }
.site-footer h4 { color: #F5F0E8 !important; }
.footer-links a { color: rgba(245,240,232,0.4) !important; }
.footer-links a:hover { color: #D4A843 !important; }
.contact-info li { color: rgba(245,240,232,0.5) !important; }
.contact-info a { color: rgba(245,240,232,0.5) !important; }
.contact-info a:hover { color: #D4A843 !important; }
.contact-info i { color: #D4A843 !important; }
.social-icons a { background: rgba(255,255,255,0.06) !important; color: #F5F0E8 !important; }
.social-icons a:hover { background: #D4A843 !important; color: #0a0a0a !important; }
.newsletter-form { background: rgba(255,255,255,0.04) !important; border-color: rgba(212,168,67,0.2) !important; }
.newsletter-form input { color: #F5F0E8 !important; }
.newsletter-btn { background: #D4A843 !important; color: #0a0a0a !important; }
.newsletter-btn:hover { background: #F0C96A !important; }
.footer-bottom { border-top: 1px solid rgba(212,168,67,0.1) !important; }
.copyright { color: rgba(245,240,232,0.3) !important; }
.legal-links a { color: rgba(245,240,232,0.3) !important; }
.legal-links a:hover { color: #D4A843 !important; }
.payment-icons { color: rgba(245,240,232,0.3) !important; }
.payment-icons i:hover { color: #D4A843 !important; }

.back-to-top { background: #D4A843 !important; color: #0a0a0a !important; }
.back-to-top:hover { background: #F0C96A !important; }

.btn-primary { background: #D4A843 !important; color: #0a0a0a !important; box-shadow: 0 4px 20px rgba(212,168,67,0.3) !important; }
.btn-primary:hover { background: #F0C96A !important; box-shadow: 0 8px 25px rgba(212,168,67,0.4) !important; }

.track-form-card, .track-result { background: #161616 !important; box-shadow: 0 4px 24px rgba(0,0,0,0.5) !important; }
.track-input { background: #111111 !important; border-color: rgba(212,168,67,0.2) !important; color: #F5F0E8 !important; }
.track-input:focus { border-color: #D4A843 !important; }
.track-submit { background: #D4A843 !important; color: #0a0a0a !important; }
.track-order-num { color: #F5F0E8 !important; }
.track-order-num span { color: #D4A843 !important; }
.tl-label { color: #F5F0E8 !important; }
.tl-step.done .tl-dot { background: #22c55e !important; box-shadow: 0 0 0 2px #22c55e !important; }
.tl-step.active .tl-dot { background: #D4A843 !important; box-shadow: 0 0 0 3px rgba(212,168,67,0.3) !important; }
.td-label { color: rgba(245,240,232,0.5) !important; }
.td-value { color: #F5F0E8 !important; }
.track-timeline::before { background: rgba(212,168,67,0.15) !important; }

.cat-marquee-section { background: #0a0a0a !important; }
.cat-marquee-heading h3 { color: #F5F0E8 !important; }
.cat-marquee-heading h3 span { background: rgba(212,168,67,0.12) !important; color: rgba(245,240,232,0.5) !important; }
.cat-marquee-viewall { color: #D4A843 !important; }
.cmq-card { background: #161616 !important; border-color: rgba(212,168,67,0.12) !important; }
.cmq-card:hover { box-shadow: 0 8px 30px rgba(212,168,67,0.15) !important; }
.cmq-name { color: #F5F0E8 !important; }
.cmq-price { color: #D4A843 !important; }
.cmq-price s { color: rgba(245,240,232,0.4) !important; }
.cmq-skeleton { background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%) !important; }

.status-badge.pending    { background: rgba(234,179,8,0.15)  !important; color: #fbbf24 !important; }
.status-badge.confirmed  { background: rgba(212,168,67,0.15) !important; color: #D4A843 !important; }
.status-badge.processing { background: rgba(139,92,246,0.15) !important; color: #a78bfa !important; }
.status-badge.shipped    { background: rgba(34,197,94,0.15)  !important; color: #4ade80 !important; }
.status-badge.delivered  { background: rgba(34,197,94,0.2)   !important; color: #22c55e !important; }
.status-badge.cancelled  { background: rgba(239,68,68,0.15)  !important; color: #f87171 !important; }

.vm-header .section-tag {
    background: rgba(212,168,67,0.1) !important;
    color: rgba(245,240,232,0.7) !important;
    border-color: rgba(212,168,67,0.15) !important;
}

.slide-label { background: #D4A843 !important; color: #0a0a0a !important; }

.dot.active { background: #D4A843 !important; }
.slider-btn:hover { background: #D4A843 !important; border-color: #D4A843 !important; color: #0a0a0a !important; }

.admin-table th {
    background: #1a1a1a !important;
    color: rgba(245,240,232,0.5) !important;
    border-bottom-color: rgba(212,168,67,0.15) !important;
}
.admin-table td {
    border-bottom-color: rgba(212,168,67,0.08) !important;
    color: #F5F0E8 !important;
}
.admin-table tbody tr:hover td {
    background: rgba(212,168,67,0.05) !important;
}
.admin-card {
    background: #161616 !important;
    border-color: rgba(212,168,67,0.15) !important;
}
.admin-card-header {
    background: #1a1a1a !important;
    border-bottom-color: rgba(212,168,67,0.15) !important;
}
.admin-card-header h3 { color: #F5F0E8 !important; }
.admin-top-bar h1 { color: #F5F0E8 !important; }
.admin-main { background: #0d0d0d !important; }
.admin-sidebar { background: #0d0d0d !important; }
.admin-nav a { color: rgba(245, 240, 232, 0.75) !important; }
.admin-nav a:hover {
    color: #D4A843 !important;
    background: rgba(255,255,255,0.06) !important;
}
.admin-nav a.active {
    color: #fff !important;
    background: rgba(212,168,67,0.18) !important;
    border-left-color: #D4A843 !important;
}

/* ══════════════════════════════════════════════════════════
   FORM TEXT VISIBILITY FIX
   ══════════════════════════════════════════════════════════ */
.admin-wrapper input,
.admin-wrapper select,
.admin-wrapper textarea,
.login-card input,
.login-card select,
.login-card textarea {
    background: #1a1a1a !important;
    color: #F5F0E8 !important;
    border: 1.5px solid rgba(212,168,67,0.2) !important;
    caret-color: #D4A843 !important;
}

.admin-wrapper input::placeholder,
.admin-wrapper textarea::placeholder,
.login-card input::placeholder,
.login-card textarea::placeholder {
    color: rgba(245,240,232,0.45) !important;
}

.admin-wrapper input:focus,
.admin-wrapper select:focus,
.admin-wrapper textarea:focus,
.login-card input:focus,
.login-card select:focus,
.login-card textarea:focus {
    border-color: #D4A843 !important;
    background: #1f1f1f !important;
    outline: none !important;
}

.admin-wrapper select option,
.login-card select option {
    background: #1a1a1a !important;
    color: #F5F0E8 !important;
}

.admin-wrapper .perm-check {
    background: #1a1a1a !important;
    border-color: rgba(212,168,67,0.15) !important;
    color: #F5F0E8 !important;
}
.admin-wrapper .perm-check:hover {
    border-color: #D4A843 !important;
    background: rgba(212,168,67,0.08) !important;
}

.admin-wrapper input:-webkit-autofill,
.admin-wrapper input:-webkit-autofill:hover,
.admin-wrapper input:-webkit-autofill:focus,
.login-card input:-webkit-autofill,
.login-card input:-webkit-autofill:hover,
.login-card input:-webkit-autofill:focus {
    -webkit-text-fill-color: #F5F0E8 !important;
    -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
    box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

.admin-wrapper input:disabled,
.admin-wrapper input[readonly],
.admin-wrapper textarea:disabled,
.admin-wrapper textarea[readonly] {
    color: rgba(245,240,232,0.5) !important;
    background: #141414 !important;
    -webkit-text-fill-color: rgba(245,240,232,0.5) !important;
}