/* ==========================================================================
   DESIGN SYSTEM VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #09090c;
    --bg-surface: #121217;
    --bg-surface-glass: rgba(22, 22, 28, 0.7);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-glow: rgba(244, 63, 94, 0.15);
    
    --rose-red: #ff2e54;
    --rose-red-hover: #e11d48;
    --rose-red-glow: rgba(255, 46, 84, 0.25);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --emerald-green: #10b981;
    --amber-yellow: #f59e0b;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Animation & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 46, 84, 0.15);
}

/* ==========================================================================
   RESET & GENERAL STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #272730;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--rose-red);
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose-red) 0%, #be123c 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--rose-red-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 46, 84, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-full-width {
    width: 100%;
}

.red-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--rose-red);
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 10px var(--rose-red);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(9, 9, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
}

.logo-badge {
    background: linear-gradient(135deg, var(--rose-red) 0%, #be123c 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 0 15px var(--rose-red-glow);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(180deg, #ffffff 30%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rose-red);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.cart-toggle-btn {
    background-color: rgba(255, 46, 84, 0.1);
    border: 1px solid rgba(255, 46, 84, 0.2);
    color: var(--rose-red);
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.cart-toggle-btn:hover {
    background-color: var(--rose-red);
    color: #ffffff;
    box-shadow: 0 0 15px var(--rose-red-glow);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ffffff;
    color: var(--bg-dark);
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.cart-toggle-btn:hover .cart-badge {
    background-color: #ffffff;
    color: var(--rose-red);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, #1c131a 0%, var(--bg-dark) 60%);
}

.hero-glow-1 {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 46, 84, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-tagline {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Hero Mechanical Visualization */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.motorcycle-backdrop {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 26, 36, 0.7) 0%, rgba(9, 9, 12, 0.5) 100%);
    border: 1px solid rgba(255, 46, 84, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-glow);
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 25px rgba(255, 46, 84, 0.12); border-color: rgba(255, 46, 84, 0.15); }
    50% { box-shadow: 0 0 45px rgba(255, 46, 84, 0.3); border-color: rgba(255, 46, 84, 0.35); }
}

.rider-moto-wrapper {
    width: 290px;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: rideMotion 2.4s infinite ease-in-out;
}

.moto-rider-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 18px rgba(255, 46, 84, 0.4));
}

/* Wheels Rotation Animation */
.moto-wheel {
    transform-origin: center;
    transform-box: fill-box;
    animation: spinWheel 1.2s infinite linear;
}

@keyframes spinWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Rider motorcycle leaning / riding motion */
@keyframes rideMotion {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(-1deg);
    }
    50% {
        transform: translateY(1px) rotate(0.5deg);
    }
    75% {
        transform: translateY(-3px) rotate(-0.5deg);
    }
}

/* Motion trails speed animation */
.motion-trails path {
    stroke-dasharray: 20;
    stroke-dashoffset: 40;
    animation: dashStream 1.2s infinite linear;
}

@keyframes dashStream {
    to { stroke-dashoffset: 0; }
}

.spark-line {
    position: absolute;
    top: 50%;
    left: -20px;
    width: calc(100% + 40px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rose-red), transparent);
    transform: rotate(-30deg);
    opacity: 0.7;
}

/* ==========================================================================
   CATALOG SECTION
   ========================================================================== */
.catalog-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Filters and Search */
.filters-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 50px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
}

.search-box input:focus {
    border-color: var(--rose-red);
    box-shadow: 0 0 10px rgba(255, 46, 84, 0.15);
    background-color: rgba(22, 22, 28, 0.9);
}

.filter-options {
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    user-select: none;
    transition: var(--transition-smooth);
}

.checkbox-container:hover {
    color: var(--text-primary);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--text-muted);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--rose-red);
    border-color: var(--rose-red);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Category Slider */
.categories-scroll-wrapper {
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.categories-list {
    display: flex;
    gap: 10px;
    width: max-content;
}

.category-tab {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.category-tab:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.category-tab.active {
    background-color: var(--rose-red);
    border-color: var(--rose-red);
    color: #ffffff;
    box-shadow: 0 4px 10px var(--rose-red-glow);
}

/* Wholesale Promotional Banner & Badges */
.wholesale-banner {
    background: linear-gradient(90deg, rgba(255, 46, 84, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(255, 46, 84, 0.3);
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 13.5px;
    font-weight: 500;
}

.wholesale-banner i {
    color: var(--rose-red);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.card-wholesale-box {
    margin-top: 8px;
    padding: 6px 10px;
    background: linear-gradient(135deg, rgba(255, 46, 84, 0.08) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px dashed rgba(255, 46, 84, 0.35);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wholesale-price-badge {
    font-size: 12px;
    color: var(--rose-red);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.wholesale-price-badge strong {
    font-family: var(--font-heading);
    font-size: 13.5px;
    color: var(--rose-red);
    margin-left: 4px;
}

.wholesale-min-note {
    font-size: 10.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.cart-wholesale-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-red) 0%, #8b5cf6 100%);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cart-wholesale-hint {
    font-size: 10.5px;
    color: var(--amber-yellow);
    margin-top: 4px;
    font-weight: 500;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.grid-loading, .grid-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    color: var(--text-secondary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 46, 84, 0.1);
    border-top: 3px solid var(--rose-red);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 16px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.empty-icon {
    width: 60px;
    height: 60px;
    opacity: 0.3;
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* Product Card Styling */
.product-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-glow);
    box-shadow: var(--shadow-premium), 0 0 25px rgba(255, 46, 84, 0.12);
}

.card-image-wrapper {
    height: 180px;
    background: linear-gradient(135deg, rgba(22, 22, 28, 0.8) 0%, rgba(13, 13, 17, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.card-icon {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.product-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--rose-red);
    opacity: 0.7;
}

.card-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.card-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.card-stock-badge.available {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--emerald-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-stock-badge.out {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--amber-yellow);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-sku {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 46px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.card-title:hover {
    color: var(--rose-red);
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.card-price-area {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.card-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.btn-add-cart {
    background-color: rgba(255, 46, 84, 0.1);
    border: 1px solid rgba(255, 46, 84, 0.2);
    color: var(--rose-red);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-add-cart:hover {
    background-color: var(--rose-red);
    color: #ffffff;
    box-shadow: 0 0 10px var(--rose-red-glow);
}

.btn-ask-item {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--amber-yellow);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-ask-item:hover {
    background-color: var(--amber-yellow);
    color: var(--bg-dark);
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background-color: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    z-index: 160;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close-drawer {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-close-drawer:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.cart-drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Empty Cart View */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    color: var(--text-secondary);
}

.cart-empty-state .empty-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.empty-text {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 250px;
}

/* Cart Item Cards */
.cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-sku {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-counter {
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.btn-qty {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-qty:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.qty-val {
    font-size: 13px;
    font-weight: 700;
    min-width: 26px;
    text-align: center;
}

.cart-item-price {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-remove-item:hover {
    color: var(--rose-red);
    background-color: rgba(255, 46, 84, 0.05);
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: rgba(18, 18, 23, 0.95);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cart-summary-row.total-row {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 700;
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
    margin-bottom: 16px;
}

.total-price {
    color: var(--rose-red);
    font-size: 22px;
    font-weight: 800;
}

.shipping-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 16px;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    box-shadow: var(--shadow-premium);
    transform: scale(0.95);
    transition: var(--transition-smooth);
    margin: auto;
}

/* Modal Custom Scrollbar */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 46, 84, 0.4);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--rose-red);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: sticky;
    top: 12px;
    right: 12px;
    float: right;
    margin-bottom: -40px;
    margin-right: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--text-primary);
    background-color: var(--rose-red);
    border-color: var(--rose-red);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    width: 100%;
}

.modal-image-area {
    background: linear-gradient(135deg, rgba(22, 22, 28, 0.9) 0%, rgba(13, 13, 17, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    border-right: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.modal-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    opacity: 0.25;
    margin-bottom: 12px;
    color: var(--rose-red);
}

.image-category-tag {
    background-color: rgba(255, 46, 84, 0.1);
    border: 1px solid rgba(255, 46, 84, 0.2);
    color: var(--rose-red);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    z-index: 2;
}

.modal-image-area #modal-product-category {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 2 !important;
    background-color: rgba(13, 13, 17, 0.85) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 46, 84, 0.3) !important;
}

.modal-info-area {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.modal-product-sku {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.modal-product-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.modal-price-row {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-price-main {
    display: flex;
    flex-direction: column;
}

.modal-price-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-product-price {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--rose-red);
}

.modal-wholesale-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    text-align: right;
}

.modal-wholesale-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--emerald-green);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.modal-wholesale-subtext {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.product-specs-box {
    margin-bottom: 30px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-secondary);
}

.spec-val {
    font-weight: 600;
}

.spec-val.available {
    color: var(--emerald-green);
}

.spec-val.out {
    color: var(--amber-yellow);
}

.modal-action-row {
    margin-top: auto;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.footer-section {
    background-color: rgba(18, 18, 23, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.brand-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-list li i {
    color: var(--rose-red);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--rose-red);
    border-color: var(--rose-red);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--rose-red-glow);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
    }
    
    .header-nav {
        display: none; /* Hide standard nav on small screens */
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .filters-container {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image-area {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 24px 16px;
        min-height: 160px;
        max-height: 220px;
    }
    
    .modal-info-area {
        padding: 20px 16px;
    }
}

@media (max-height: 680px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image-area {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 20px 16px;
        min-height: 140px;
        max-height: 200px;
    }

    .modal-info-area {
        padding: 18px 16px;
    }
    
    .modal-product-title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .modal-price-row {
        padding: 10px 16px;
        margin-bottom: 16px;
    }
    
    .modal-product-price {
        font-size: 22px;
    }
}
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PAYMENT METHOD SELECTOR STYLES
   ========================================================================== */
.payment-method-selector {
    margin-bottom: 20px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.payment-selector-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.payment-options {
    display: flex;
    gap: 10px;
}

.payment-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.payment-option:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.payment-option.active {
    border-color: var(--rose-red);
    color: #ffffff;
    background-color: rgba(255, 46, 84, 0.08);
    box-shadow: 0 0 10px rgba(255, 46, 84, 0.1);
}

.pay-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==========================================================================
   STORE STATUS PILL & LOGO GROUP
   ========================================================================== */
.logo-text-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--emerald-green);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.store-status-pill.closed {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
    color: var(--rose-red);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--emerald-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--emerald-green);
    animation: pulseGlow 2s infinite ease-in-out;
}

.store-status-pill.closed .pulse-dot {
    background-color: var(--rose-red);
    box-shadow: 0 0 8px var(--rose-red);
    animation: none;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

/* ==========================================================================
   HERO FLOATING FEATURE BADGES GRID
   ========================================================================== */
.hero-features-grid {
    max-width: var(--max-width);
    margin: 40px auto 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: rgba(255, 46, 84, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 46, 84, 0.1);
    border: 1px solid rgba(255, 46, 84, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-red);
    flex-shrink: 0;
}

.feature-text-group h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.feature-text-group p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* ==========================================================================
   CATEGORY TAB BADGES
   ========================================================================== */
.category-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-count-badge {
    display: inline-block;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.category-tab.active .category-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   STOCK BADGES & CARD GLOWS
   ========================================================================== */
.card-stock-badge.available {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--emerald-green);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.card-stock-badge.low {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--amber-yellow);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.1);
}

.card-stock-badge.out {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Product Card Hover Enhancements */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rose-red), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover::before {
    opacity: 1;
}

/* ==========================================================================
   MODAL QUANTITY SELECTOR
   ========================================================================== */
.modal-qty-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.modal-qty-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    flex: 1;
}

.modal-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-qty {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-modal-qty:hover {
    background: var(--rose-red);
    border-color: var(--rose-red);
    color: #ffffff;
}

.modal-qty-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 24px;
    text-align: center;
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    background: #181822;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-success {
    border-left: 4px solid var(--emerald-green);
}

.toast-info {
    border-left: 4px solid var(--rose-red);
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: var(--emerald-green);
}

.toast-info .toast-icon {
    color: var(--rose-red);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

