* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6700;
    --primary-dark: #E85D00;
    --secondary-color: #1A1A2E;
    --accent-saffron: #FF9933;
    --accent-orange: #FF6700;
    --accent-gold: #FFB300;
    --accent-maroon: #8B0000;
    --text-primary: #0F1111;
    --text-secondary: #565959;
    --border-color: #D5D9D9;
    --bg-dark: #0F1419;
    --bg-medium: #1C2128;
    --bg-light: #E8EAED;
    --bg-card: #FFFFFF;
    --white: #FFFFFF;
    --success: #4CAF50;
    --danger: #FF3B30;
    --shadow: 0 4px 15px rgba(0,0,0,.15);
    --shadow-hover: 0 8px 30px rgba(0,0,0,.2);
    --shadow-glow: 0 0 20px rgba(255, 103, 0, 0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #0F1419;
    color: var(--text-primary);
    margin: 0;
    padding-bottom: 0;
    overflow-x: hidden;
    position: relative;
}

/* Chhatrapati Shivaji Maharaj Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1582510003544-4d00b7f74220?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
    filter: grayscale(20%) sepia(20%);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 103, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 153, 0, 0.12) 0%, transparent 40%),
        linear-gradient(180deg, rgba(15, 20, 25, 0.85) 0%, rgba(15, 20, 25, 0.95) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Header */
.header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1A1A2E 0%, #0F1419 100%);
    padding: 6px 10px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(33, 150, 243, 0.4);
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.search-container {
    display: none;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border: 2px solid rgba(33, 150, 243, 0.3);
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    transition: all 0.2s;
}

.suggestion-item:hover {
    background: rgba(33, 150, 243, 0.2);
    color: var(--white);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-hint {
    padding: 8px 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(33, 150, 243, 0.1);
}

/* Main Content */
.main-content {
    padding: 16px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* Filter Section */
.filter-section {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    color: var(--text-primary);
}

.filter-select:disabled {
    background: var(--bg-light);
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:disabled {
    background: var(--border-color);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.btn-large {
    padding: 16px;
    font-size: 16px;
}

.btn-text {
    background: none;
    border: none;
    color: #007185;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

/* Products Section */
.products-section {
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--bg-light);
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-brand {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #B12704;
    margin-bottom: 8px;
}

.product-stock {
    font-size: 12px;
    color: var(--success);
    margin-bottom: 8px;
}

.product-stock.out-of-stock {
    color: var(--danger);
}

.btn-add-cart {
    width: 100%;
    padding: 8px;
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* Cart Section */
.cart-section {
    margin-bottom: 20px;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    background: var(--white);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg-light);
}

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

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-brand {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #B12704;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
}

.qty-display {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-weight: 600;
}

.btn-remove {
    margin-left: auto;
    padding: 6px 12px;
    background: none;
    border: 1px solid var(--danger);
    color: var(--danger);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.cart-summary {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 16px;
}

/* Checkout Section */
.checkout-form {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
}

.order-summary-box {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.order-summary-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
}

/* Help Section */
.help-section {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.help-content {
    text-align: center;
}

.help-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* Bottom Navigation */
.bottom-nav {
    display: none;
}

/* Loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-overlay.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* Responsive */
@media (min-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}


/* Product Detail Page */
.product-detail-section {
    padding-bottom: 20px;
}

.product-detail-container {
    background: linear-gradient(135deg, #1C2128 0%, #2D2D44 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    margin-bottom: 20px;
    border: 2px solid rgba(33, 150, 243, 0.2);
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(33, 150, 243, 0.1);
    border: none;
    color: #42A5F5;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.back-button:hover {
    background: rgba(33, 150, 243, 0.2);
}

.back-button-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(33, 150, 243, 0.15);
    border: none;
    color: #42A5F5;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    flex-shrink: 0;
}

.back-button-inline:hover {
    background: rgba(33, 150, 243, 0.25);
}

.back-button-inline:active {
    background: rgba(33, 150, 243, 0.3);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-header .section-title {
    flex: 1;
    margin: 0;
}

.product-detail-image-container {
    width: 100%;
    background: linear-gradient(135deg, #0F1419 0%, #1A1A2E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.product-detail-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: imagePulse 3s ease-in-out infinite;
}

@keyframes imagePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.product-detail-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    transition: transform 0.3s;
}

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

.product-detail-info {
    padding: 24px;
}

.product-detail-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-detail-brand {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    font-weight: 500;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.spec-item svg {
    width: 16px;
    height: 16px;
    color: #42A5F5;
    flex-shrink: 0;
}

.spec-item span {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 16px 0;
    filter: drop-shadow(0 2px 8px rgba(33, 150, 243, 0.5));
}

.product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.product-detail-stock.out-of-stock {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border-color: rgba(244, 67, 54, 0.3);
}

.product-detail-description {
    margin: 20px 0;
    padding: 16px;
    background: rgba(33, 150, 243, 0.05);
    border-radius: 12px;
    border-left: 3px solid #2196F3;
}

.product-detail-description h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #42A5F5;
}

.product-detail-description p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.btn-large {
    position: relative;
    z-index: 1;
}

/* Recommendations Section */
.recommendations-section {
    margin-top: 20px;
}

.recommendations-section .section-title {
    padding: 0 16px;
    margin-bottom: 16px;
}

.recommendations-section .products-grid {
    padding: 0 16px;
}

/* Product Card Hover Effect */
.product-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.product-card:active {
    transform: translateY(-2px);
}

/* Add to Cart Button in Cards */
.product-card .btn-add-cart {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.product-card .btn-add-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(255, 153, 0, 0.3);
}

.product-card .btn-add-cart:active {
    transform: scale(0.98);
}

/* Image Zoom Effect */
.product-detail-image:active {
    cursor: zoom-out;
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-title {
        font-size: 20px;
    }
    
    .product-detail-price {
        font-size: 28px;
    }
    
    .product-detail-image-container {
        min-height: 250px;
    }
}


/* Orders Section */
.orders-section {
    padding-bottom: 80px;
}

.orders-container {
    padding: 0 16px;
}

.order-card {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.order-id {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.order-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.order-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-items {
    margin-bottom: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-primary);
}

.order-item-more {
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
}

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

.order-total {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-total span:first-child {
    font-size: 13px;
    color: var(--text-secondary);
}

.order-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.btn-view-order {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-view-order:hover {
    background: #e68900;
}

.btn-view-order:active {
    transform: scale(0.98);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.empty-state p {
    margin: 8px 0;
}


/* Premium Home Page Styles */

/* Header Branding */
.header-content {
    padding: 12px 16px;
    background: linear-gradient(135deg, #8B0000 0%, #FF6700 50%, #FF9933 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #FFB300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: headerShine 3s linear infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes headerPulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, -10%) scale(1.1); }
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.brand-logo svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 4px 12px rgba(255, 179, 0, 0.8));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.brand-text {
    flex: 1;
}

.brand-name {
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFF8DC 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.brand-tagline {
    font-size: 10px;
    color: rgba(255,255,255,0.95);
    margin: 2px 0 0 0;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Header Search Bar */
.header-search-container {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    z-index: 1;
}

.header-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.7);
    z-index: 2;
}

.header-search-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    font-size: 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    transition: all 0.3s;
}

.header-search-input::placeholder {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.header-search-input:focus {
    outline: none;
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.4);
}

/* Animated Placeholder */
@keyframes placeholderRotate {
    0%, 20% { opacity: 1; }
    25%, 100% { opacity: 0; }
}

.header-search-input::placeholder {
    animation: placeholderFade 12s infinite;
}

@keyframes placeholderFade {
    0%, 8%, 100% { content: 'Search Brake Pads...'; }
    10%, 18% { content: 'Search Hero Splendor...'; }
    20%, 28% { content: 'Search Chain Sprocket...'; }
    30%, 38% { content: 'Search Honda Activa...'; }
    40%, 48% { content: 'Search Headlight...'; }
    50%, 58% { content: 'Search Yamaha FZ...'; }
    60%, 68% { content: 'Search Air Filter...'; }
    70%, 78% { content: 'Search Bajaj Pulsar...'; }
    80%, 88% { content: 'Search Clutch Plate...'; }
    90%, 98% { content: 'Search TVS Apache...'; }
}

/* Header Navigation Icons */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.header-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 50px;
}

.header-nav-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.4);
}

.header-nav-item:active {
    transform: translateY(0);
}

.header-nav-item.active {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.header-nav-item svg {
    width: 20px;
    height: 20px;
    color: var(--white);
    margin-bottom: 2px;
}

.header-nav-item span {
    font-size: 9px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.header-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #FF3B30;
    color: var(--white);
    border-radius: 10px;
    padding: 2px 5px;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(255, 59, 48, 0.5);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #8B0000 0%, #FF6700 50%, #FF9933 100%);
    padding: 16px 12px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(255, 103, 0, 0.5);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,179,0,0.3);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: heroSlide 3s linear infinite;
}

@keyframes heroSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes heroShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    margin: 0 0 12px 0;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.98);
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hero-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    font-size: 13px;
    color: var(--white);
    font-weight: 700;
    border: 1px solid rgba(255,179,0,0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.feature-badge:hover {
    background: rgba(0,0,0,0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,103,0,0.4);
    border-color: rgba(255,179,0,0.6);
}

/* Popular Brands */
.popular-brands {
    margin-bottom: 28px;
}

.section-subtitle {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF3B30 0%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
}

.section-description {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 20px 0;
    font-weight: 500;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.brand-card {
    background: linear-gradient(135deg, #1C2128 0%, #2D2D44 100%);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 59, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF3B30 0%, #FF6B00 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

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

.brand-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 35px rgba(255, 59, 48, 0.5);
    border-color: rgba(255, 107, 0, 0.8);
}

.brand-card:active {
    transform: translateY(-4px) scale(1.01);
}

.brand-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #FF3B30 0%, #FF6B00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.5);
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.brand-card:hover .brand-card-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #FF3B30;
    transform: rotate(360deg) scale(1.1);
}

.brand-card-name {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.brand-card:hover .brand-card-name {
    color: var(--white);
    transform: scale(1.05);
}

/* Find Part Section */
.find-part-section {
    background: linear-gradient(135deg, #1C2128 0%, #2D2D44 100%);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    margin-bottom: 28px;
    border: 2px solid rgba(255, 103, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.find-part-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 103, 0, 0.1) 0%, transparent 70%);
}

.btn-large {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF6700 0%, #FF9933 100%);
    border: none;
    border-radius: 14px;
    color: var(--white);
    box-shadow: 0 6px 25px rgba(255, 103, 0, 0.5);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-large:hover::before {
    width: 300px;
    height: 300px;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 103, 0, 0.7);
    background: linear-gradient(135deg, #FF9933 0%, #FFB300 100%);
}

.btn-large:active {
    transform: translateY(-1px);
}

/* Quick Categories */
.quick-categories {
    margin-bottom: 28px;
    background: linear-gradient(135deg, #1C2128 0%, #2D2D44 100%);
    padding: 24px 16px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 59, 48, 0.2);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.category-card {
    background: linear-gradient(135deg, #2D2D44 0%, #3A3A52 100%);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 59, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF3B30 0%, #FF6B00 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

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

.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 59, 48, 0.5);
    border-color: transparent;
}

.category-card:hover .category-icon,
.category-card:hover .category-name {
    position: relative;
    z-index: 1;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.category-card:active {
    transform: translateY(-3px) scale(1.01);
}

.category-icon {
    font-size: 28px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.category-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Why Choose Us */
.why-choose-us {
    margin-bottom: 28px;
    background: linear-gradient(135deg, #1C2128 0%, #2D2D44 100%);
    padding: 24px 16px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 59, 48, 0.2);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.benefit-card {
    background: linear-gradient(135deg, #2D2D44 0%, #3A3A52 100%);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 59, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2196F3 0%, #00BCD4 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

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

.benefit-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.5);
    border-color: rgba(33, 150, 243, 0.8);
}

.benefit-icon {
    font-size: 42px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 6px 12px rgba(255,255,255,0.3));
}

.benefit-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    margin: 0 0 6px 0;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.benefit-card:hover h4 {
    color: var(--white);
}

.benefit-card p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
    font-weight: 500;
}

.benefit-card:hover p {
    color: rgba(255,255,255,0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 769px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* TELEGRAM UI FIX */
.telegram-app .header {
    padding: 4px 8px;
}

.telegram-app body {
    padding-top: 50px;
}

.telegram-app .brand-name {
    font-size: 14px;
}


/* FIX DROPDOWN CLICK ISSUE */
select, .filter-select {
    position: relative;
    z-index: 2000;
}

/* ===== DROPDOWN FIX ===== */
select {
    position: relative;
    z-index: 99999;
    background: #fff;
    color: #000;
    font-size: 16px;
    padding: 8px;
}

/* Make sure nothing blocks clicks */
.header {
    pointer-events: auto;
}

.main-container, .filters, .search-section {
    position: relative;
    z-index: 1;
}

