/* ============================================
   TRADITIONAL INDIAN E-COMMERCE DESIGN
   Amazon Functionality + Traditional Aesthetic
   ============================================ */

:root {
    /* Traditional Indian Color Palette */
    --saffron: #FF9933;
    --saffron-dark: #FF8C00;
    --deep-red: #8B0000;
    --maroon: #800020;
    --gold: #FFD700;
    --gold-dark: #DAA520;
    --royal-blue: #1E3A8A;
    --navy: #0F172A;
    --cream: #FFF8E7;
    --ivory: #FFFFF0;
    --copper: #B87333;

    /* Text Colors */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --text-link: #8B0000;
    --text-link-hover: #A52A2A;

    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFF8E7;
    --bg-dark: #0F172A;
    --bg-light: #FEF9E7;

    /* Borders */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --border-gold: #FFD700;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 15px rgba(255, 215, 0, 0.3);

    --radius: 6px;
    --radius-lg: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-secondary);
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: var(--text-link);
    transition: all 0.2s;
}

a:hover {
    color: var(--text-link-hover);
}

/* Traditional Header - Bright Vibrant Colors */
.traditional-header {
    background: linear-gradient(135deg, #FF8C42 0%, #FFB347 30%, #FFD700 60%, #FFA500 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.3);
    position: relative;
    overflow: visible;
}

/* Removed overlay - keeping it bright and clean */

.header-top-bar {
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 0;
    font-size: 12px;
    backdrop-filter: blur(5px);
}

.header-top-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-bar a {
    color: #1a1a1a;
    margin: 0 10px;
    font-weight: 500;
}

.header-main-bar {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
}

.logo-traditional {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    min-width: 180px;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.logo-traditional a {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.logo-traditional a:hover {
    transform: scale(1.05);
}

.logo-traditional img {
    height: 45px;
    width: auto;
    display: block;
    color: #FFFFFF;
    /* White color for gradient background */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.search-bar-traditional {
    flex: 1;
    max-width: 800px;
    display: flex;
    height: 45px;
}

.search-category-select {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    padding: 0 12px;
    font-size: 13px;
    color: #1a1a1a;
    cursor: pointer;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input-traditional {
    flex: 1;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-left: none;
    border-right: none;
    padding: 0 15px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    outline: none;
}

.search-input-traditional:focus {
    border-color: var(--saffron);
}

.search-button-traditional {
    background: #8B0000;
    border: 2px solid #8B0000;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0 25px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
}

.search-button-traditional:hover {
    background: #A52A2A;
    border-color: #A52A2A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.4);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    margin-left: auto;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 8px 10px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle.active {
    background: #fff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-action-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.header-action-link:hover {
    background: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-action-link .label {
    font-size: 11px;
    color: #333;
}

.header-action-link .value {
    font-weight: 600;
    font-size: 13px;
    color: #1a1a1a;
}

.header-action-link.action-pill {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.action-pill .value {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.action-pill .pill-icon,
.action-pill .cart-icon-traditional {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-pill svg {
    stroke: #1a1a1a;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.auth-btn.primary {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--deep-red) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.auth-btn.ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--deep-red);
    border: 1px solid rgba(139, 0, 0, 0.3);
}

.auth-btn.ghost:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.auth-inline-links {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.auth-inline-links a {
    color: #1a1a1a;
    text-decoration: underline;
}

.cart-link {
    margin-left: 4px;
}

.cart-icon-traditional {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-traditional svg {
    width: 26px;
    height: 26px;
    stroke: #1a1a1a;
    fill: none;
}

.cart-badge-traditional {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: var(--shadow-gold);
}

/* Navigation */
.nav-traditional {
    background: rgba(255, 255, 255, 0.3);
    padding: 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-traditional ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 4px;
}

.nav-traditional li a {
    color: #1a1a1a;
    padding: 12px 18px;
    display: block;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    font-weight: 500;
}

.nav-traditional li a:hover {
    background: rgba(255, 255, 255, 0.6);
    border-bottom-color: #FF8C42;
    text-decoration: none;
    color: #8B0000;
}

/* Product Cards - Traditional Style */
.products-container-traditional {
    max-width: 1500px;
    margin: 30px auto;
    padding: 0 20px;
}

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

.product-card-traditional {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-card-traditional:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.product-card-traditional:visited {
    color: inherit;
}

.product-card-traditional:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.product-image-traditional {
    width: 100%;
    height: 280px;
    object-fit: contain;
    /* show entire image without cropping */
    background: white;
    /* keeps clean padding around contained images */
    padding: 15px;
}

.product-badge-traditional {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--deep-red);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info-traditional {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title-traditional {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    min-height: 42px;
    line-height: 1.4;
    font-weight: 500;
}

.product-price-traditional {
    font-size: 22px;
    font-weight: 700;
    color: var(--deep-red);
    margin-bottom: 5px;
}

.product-price-traditional .currency {
    font-size: 16px;
    vertical-align: top;
}

.product-shipping-traditional {
    font-size: 12px;
    color: #059669;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.product-button-traditional {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: var(--radius);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
    color: var(--navy);
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.product-button-traditional:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--copper) 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Login Page - Traditional Style */
.login-page-traditional {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-light) 100%);
}

.login-box-traditional {
    max-width: 450px;
    width: 100%;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 25px 30px;
    border-top: 4px solid var(--gold);
    margin: 20px 0;
}

.login-logo-traditional {
    text-align: center;
    margin-bottom: 15px;
}

.login-logo-traditional img {
    color: #5C4033;
    /* Brown color for cream/white background */
}

.login-logo-traditional h1 {
    font-size: 32px;
    color: var(--deep-red);
    margin-bottom: 3px;
    font-weight: 700;
}

.login-logo-traditional p {
    color: var(--text-secondary);
    font-size: 13px;
}

.login-form-traditional h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.form-group-traditional {
    margin-bottom: 14px;
}

.form-group-traditional label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-group-traditional input,
.form-group-traditional textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}

.form-group-traditional input:focus,
.form-group-traditional textarea:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
}

.login-button-traditional {
    width: 100%;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
    border: none;
    border-radius: var(--radius);
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    color: white;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.login-button-traditional:hover {
    background: linear-gradient(135deg, var(--saffron-dark) 0%, var(--deep-red) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.divider-traditional {
    text-align: center;
    margin: 18px 0;
    position: relative;
    color: var(--text-secondary);
    font-size: 12px;
}

.divider-traditional::before,
.divider-traditional::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-medium), transparent);
}

.divider-traditional::before {
    left: 0;
}

.divider-traditional::after {
    right: 0;
}

.signup-link-traditional {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.signup-link-traditional p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 10px;
}

.signup-button-traditional {
    width: 100%;
    background: white;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--navy);
    transition: all 0.2s;
}

.signup-button-traditional:hover {
    background: var(--bg-secondary);
    border-color: var(--saffron);
    transform: translateY(-1px);
}

.signup-cta {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.signup-cta-header {
    font-size: 15px;
    font-weight: 700;
    color: var(--deep-red);
    margin-bottom: 12px;
    text-align: left;
}

.signup-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.signup-option-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fff 0%, #fff9f2 100%);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.signup-option-card:hover {
    border-color: var(--saffron);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.signup-option-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--deep-red);
}

.signup-option-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.signup-option-action {
    font-size: 12px;
    font-weight: 700;
    color: var(--saffron-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.signup-option-action::after {
    content: "→";
    font-size: 12px;
}

.error-message-traditional {
    background: #FEE2E2;
    color: #991B1B;
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 13px;
    border-left: 4px solid #DC2626;
}

/* Shopping Cart - Traditional */
.cart-page-traditional {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 25px;
}

.cart-items-traditional {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.cart-header-traditional {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
    color: var(--text-primary);
}

.cart-item-traditional {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.cart-item-image-traditional {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg-secondary);
    padding: 10px;
}

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

.cart-item-title-traditional {
    font-size: 18px;
    color: var(--text-link);
    margin-bottom: 8px;
    font-weight: 500;
}

.cart-item-title-traditional:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.cart-item-price-traditional {
    font-size: 20px;
    font-weight: 700;
    color: var(--deep-red);
    margin: 10px 0;
}

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

.delete-link-traditional {
    color: var(--text-link);
    font-size: 13px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.delete-link-traditional:hover {
    background: #FEE2E2;
    color: #DC2626;
    text-decoration: none;
}

.qty-btn {
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--radius);
    transition: color 0.2s ease;
}

.qty-btn:hover {
    color: var(--deep-red);
}

.cart-summary-traditional {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 2px solid var(--gold);
}

.summary-title-traditional {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.summary-row-traditional.total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid var(--border-light);
    margin-top: 15px;
    color: var(--deep-red);
}

.checkout-button-traditional {
    width: 100%;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
    border: none;
    border-radius: var(--radius);
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    color: white;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.checkout-button-traditional:hover {
    background: linear-gradient(135deg, var(--saffron-dark) 0%, var(--deep-red) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

/* Address cards in checkout */
.address-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.address-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

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

.address-badge {
    background: #fff3cd;
    color: #856404;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #ffe69c;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.same-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.same-checkbox input {
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .address-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer - Bright Modern Design */
.footer-traditional {
    position: relative;
    background: linear-gradient(135deg, #2b0f0a 0%, #180904 100%);
    color: #f6e9dc;
    margin-top: 40px;
    padding: 40px 0 20px;
    overflow: hidden;
}

.footer-traditional::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10px 10px, rgba(255, 215, 0, 0.08) 1.5px, transparent 0),
        radial-gradient(circle at 40px 40px, rgba(255, 153, 51, 0.05) 2px, transparent 0);
    background-size: 70px 70px, 140px 140px;
    opacity: 0.5;
    pointer-events: none;
}

.footer-traditional::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 153, 51, 0.08), transparent 35%),
        radial-gradient(circle at 80% 10%, rgba(255, 215, 0, 0.06), transparent 30%),
        radial-gradient(circle at 40% 70%, rgba(139, 0, 0, 0.08), transparent 35%);
    pointer-events: none;
}

.footer-content-traditional {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 10px;
    z-index: 1;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-brand {
    color: #f6e9dc;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 14px;
}

.footer-logo-link {
    display: inline-block;
}

.footer-tagline {
    font-size: 14px;
    color: #f6e9dc;
    margin-bottom: 12px;
}

.footer-address {
    font-size: 13px;
    color: #e8d8c7;
    line-height: 1.6;
}

.footer-section-traditional h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--gold);
    font-weight: 700;
}

.footer-section-traditional ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section-traditional li {
    margin-bottom: 8px;
}

.footer-section-traditional a {
    color: #f6e9dc;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.footer-section-traditional a:hover {
    color: var(--gold);
}

.footer-quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 12px;
}

@media (max-width: 600px) {
    .footer-quick-links-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 10px;
    }
}

.footer-contact-list li {
    color: #f6e9dc;
    font-size: 14px;
}

.footer-contact-list span {
    color: var(--gold);
    font-weight: 600;
    margin-right: 6px;
}

.footer-bottom-traditional {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 20px;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: #e8d8c7;
    font-size: 14px;
}

.footer-meta-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-meta-links a {
    color: #f6e9dc;
    font-size: 14px;
}

.footer-meta-links a:hover {
    color: var(--gold);
}

/* Shared modal styles */
.jn-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.jn-modal-overlay.active {
    display: flex;
}

.jn-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    width: 100%;
    padding: 24px;
    text-align: center;
}

.jn-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--deep-red);
    margin-bottom: 10px;
}

.jn-modal-body {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.jn-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.jn-modal-actions .jn-modal-ok {
    min-width: 120px;
}

.jn-modal-actions .jn-modal-cancel {
    min-width: 120px;
    background: #fff;
    color: var(--deep-red);
    border: 1px solid var(--deep-red);
}

/* Responsive */
@media (max-width: 768px) {
    .header-main-bar {
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo-traditional img {
        height: 40px;
    }

    .search-bar-traditional {
        order: 3;
        width: 100%;
        max-width: none;
    }

    .search-category-select {
        min-width: 100px;
        font-size: 12px;
    }

    .search-input-traditional {
        font-size: 14px;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .auth-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .cart-link {
        margin-left: 0;
    }

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

    .cart-page-traditional {
        grid-template-columns: 1fr;
    }

    .cart-summary-traditional {
        position: static;
        width: 100%;
        margin-top: 20px;
    }

    .footer-content-traditional {
        padding: 20px 16px 8px;
    }

    .footer-columns {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .header-main-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .logo-traditional a {
        gap: 6px;
        justify-content: flex-start;
    }

    .logo-traditional img {
        height: 36px;
    }

    .search-bar-traditional {
        width: 100%;
        height: 42px;
    }

    .search-category-select {
        min-width: 90px;
        font-size: 12px;
        padding: 0 8px;
    }

    .search-input-traditional {
        font-size: 13px;
        padding: 0 12px;
    }

    .search-button-traditional {
        padding: 0 16px;
        font-size: 16px;
    }

    .header-actions {
        width: 100%;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: flex-end;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .auth-buttons {
        width: auto;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .cart-link {
        margin-left: 0;
        width: auto;
        height: auto;
        padding: 10px 14px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
    }

    .cart-icon-traditional svg {
        width: 20px;
        height: 20px;
    }

    .nav-menu {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .header-action-link {
        width: auto;
        flex-shrink: 0;
    }

    /* Category bar scrollable and compact */
    .nav-traditional ul {
        padding: 0 12px;
        gap: 2px;
    }

    .nav-traditional li a {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* ============================================
   FILTER DRAWER STYLES
   ============================================ */
.filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.filter-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.filter-toggle-btn:active,
.filter-toggle-btn:focus {
    outline: 2px solid var(--deep-red) !important;
    border-color: var(--deep-red) !important;
}

.filter-drawer {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    max-width: 100%;
    height: 100%;
    background: white;
    z-index: 1001;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.filter-drawer.open {
    right: 0;
}

.filter-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.filter-drawer-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.close-filter-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0;
    display: flex;
}

.close-filter-btn:hover {
    color: var(--deep-red);
}

.filter-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-accordion {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.filter-accordion-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    color: var(--navy);
    font-size: 14px;
}

.accordion-icon {
    display: flex;
    align-items: center;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
}

.filter-checkbox-label input[type="checkbox"] {
    accent-color: var(--deep-red);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-drawer-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.filter-reset-btn {
    background: none;
    border: none;
    color: var(--deep-red);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.filter-reset-btn:hover {
    text-decoration: underline;
}

.filter-apply-btn {
    background: var(--deep-red);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.filter-apply-btn:hover {
    background: var(--maroon);
}