@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* =============================================
   ZONIX - PROFESSIONAL E-COMMERCE STYLESHEET
   Modern | Clean | Amazon-Inspired
   ============================================= */

/* =============================================
   ROOT & COLOR PALETTE
   ============================================= */
:root {
    /* Color Palette - Clean & Professional ZONIX Identity */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #eaeded;
    --color-bg-tertiary: #dddddd;
    
    /* Navbar & Brand Elements */
    --color-navbar: #131921; /* Amazon Navy */
    --color-navbar-hover: #232f3e;
    
    /* Text Colors */
    --color-text-primary: #0f1111;
    --color-text-secondary: #565959;
    --color-text-tertiary: #999999;
    
    /* Accent Colors - Vibrant but Professional */
    --color-accent-primary: #ffd814; /* Amazon Yellow */
    --color-accent-secondary: #f7ca00;
    --color-accent-danger: #e74c3c;
    --color-accent-warning: #f59e0b; /* Amber */
    
    /* UI Colors */
    --color-border: #d9d9d9;
    --color-input-border: #bdbdbd;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius - Modern & Soft */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-family-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Border & Shadow */
    --border-radius: 4px;
    --box-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.2s ease;
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1.5vw + 8px, 16px);
}

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

/* Remove default styles from links and buttons */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    transition: var(--transition-smooth);
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Image styles */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =============================================
   NAVIGATION BAR
   ============================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(19, 25, 33, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 15px;
}

.navbar-left, .navbar-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border: 1px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 2px;
}
.navbar-logo:hover, .navbar-deliver:hover, .nav-link-custom:hover {
    border: 1px solid white;
    border-radius: 2px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    text-decoration: none;
    line-height: 1;
}
.logo-in {
    font-size: 1rem;
    font-weight: 400;
}

.navbar-deliver {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px 8px;
    border: 1px solid transparent;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
}
.deliver-icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 8px;
    width: 18px;
}
.deliver-text-container {
    display: flex;
    flex-direction: column;
}
.deliver-to {
    font-size: 0.75rem;
    color: #cccccc;
    line-height: 14px;
}
.deliver-location {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 15px;
}

.navbar-search {
    display: flex;
    flex: 1;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: outline 0.1s ease-in-out;
}
.navbar-search:focus-within {
    outline: 3px solid #f3a847;
    box-shadow: 0 0 0 1px #fff;
}

.search-category {
    background: #f3f3f3;
    border: none;
    padding: 0 10px;
    color: #555;
    border-right: 1px solid #ccc;
    font-size: 0.75rem;
    cursor: pointer;
    height: 100%;
}
.search-category:focus {
    outline: none;
}

.search-input {
    flex: 1;
    border: none;
    padding: 0 10px;
    font-size: 1rem;
    color: #111;
    height: 100%;
}
.search-input:focus {
    outline: none !important;
}

.search-btn {
    background: #febd69;
    border: none;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0f1111;
    height: 100%;
    transition: background 0.1s ease-in-out;
}
.search-btn:hover {
    background: #f3a847;
}

/* Autocomplete Styles */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 2000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}
.autocomplete-dropdown.active {
    display: block;
}
.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #eee;
    gap: 12px;
}
.autocomplete-item:last-child {
    border-bottom: none;
}
.autocomplete-item:hover {
    background-color: #f8f8f8;
}
.autocomplete-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
}
.autocomplete-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.autocomplete-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.autocomplete-cat {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
}

.navbar-language {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link-custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 9px;
    border: 1px solid transparent;
    color: white;
    text-decoration: none;
    cursor: pointer;
    height: 50px;
}

.nav-small {
    font-size: 0.75rem;
    line-height: 14px;
}
.nav-bold {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 15px;
}

.cart-link {
    flex-direction: row;
    align-items: flex-end;
    padding: 10px 9px 5px 9px;
}
.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.cart-count {
    position: absolute;
    top: -5px;
    left: 14px;
    color: #f08804;
    font-weight: 700;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}
.cart-text {
    margin-bottom: 2px;
}

.sub-navbar {
    background-color: rgba(35, 47, 62, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    display: flex;
    padding: 0 10px;
    gap: 5px;
    height: 39px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sub-nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 8px 9px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sub-nav-link:hover {
    border: 1px solid white;
    border-radius: 2px;
}
.all-menu {
    font-weight: 700;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: linear-gradient(to right, #232f3e, #131921);
    color: white;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image img {
    max-height: 300px;
    object-fit: contain;
    filter: none;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    background-color: var(--color-accent-primary);
    border-radius: 8px;
    box-shadow: var(--box-shadow-md);
    transition: var(--transition-smooth);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: var(--color-accent-secondary);
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background-color: var(--color-bg-secondary);
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    letter-spacing: -0.5px;
    color: var(--color-text-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    max-width: 100%;
}

.products-carousel {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #d5d9d9 transparent;
}
.products-carousel::-webkit-scrollbar {
    height: 8px;
}
.products-carousel::-webkit-scrollbar-track {
    background: transparent;
}
.products-carousel::-webkit-scrollbar-thumb {
    background-color: #d5d9d9;
    border-radius: 4px;
}
.products-carousel > .product-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border: none;
    box-shadow: none;
}
.products-carousel .product-image-container {
    padding: 0;
    margin-bottom: 8px;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.product-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    transition: none;
}

.product-card:hover {
    box-shadow: none;
    transform: none;
}

.product-image-container {
    position: relative;
    aspect-ratio: 1;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #cc0c39;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-image {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: contain;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply;
}

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



.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0.85rem 1rem 1rem;
    gap: 0.35rem;
}

.product-category {
    font-size: 0.7rem;
    color: #878787;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.product-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #0f1111;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-name:hover {
    color: #c45500;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0;
}

.rating-badge {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.rating-count {
    font-size: 0.75rem;
    color: #878787;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f1111;
}

.product-original-price {
    font-size: 0.82rem;
    color: #878787;
    text-decoration: line-through;
}

.product-discount {
    font-size: 0.82rem;
    color: #388e3c;
    font-weight: 600;
}

.product-delivery {
    font-size: 0.75rem;
    color: #388e3c;
    margin-top: 2px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    color: #111;
    border-radius: 8px;
    border: 1px solid #a88734;
    transition: all 0.15s ease;
    margin-top: 8px;
    cursor: pointer;
}

.add-to-cart-btn:hover {
    background: linear-gradient(to bottom, #f5d78e, #eeb933);
}

.add-to-cart-btn:active {
    transform: scale(0.98);
    box-shadow: 0 0 0 3px rgba(228,121,17,0.5);
}

/* =============================================
   CONTENT & ABOUT PAGE STYLES
   ============================================= */
.content-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background-color: var(--color-bg-primary);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.about-content h2 {
    font-size: var(--font-size-2xl);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.about-content p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.value-card {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.value-card:hover {
    border-color: var(--color-accent-primary);
    box-shadow: var(--box-shadow-md);
}

.value-card h3 {
    font-size: var(--font-size-lg);
    color: var(--color-accent-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.value-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
}

.benefits-list {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
}

.benefits-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--color-text-secondary);
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-weight: bold;
    font-size: var(--font-size-lg);
}

.benefits-list li:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafb, #ffffff);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-container h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.cta-container p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* =============================================
   SHOP PAGE STYLES
   ============================================= */
.shop-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: linear-gradient(135deg, #f8fafb, #ffffff);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.shop-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-lg);
    max-width: 600px;
}

.shop-hero .hero-title,
.shop-hero .hero-subtitle {
    color: var(--color-text-primary);
}

.shop-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background-color: var(--color-bg-primary);
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-2xl);
}

.shop-sidebar {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    height: fit-content;
    position: sticky;
    top: 80px;
}

.filter-group {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.filter-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-label:hover {
    color: var(--color-accent-primary);
}

.filter-label input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.price-slider {
    width: 100%;
}

.price-range p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.sort-select {
    width: 100%;
    padding: var(--spacing-sm);
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-input-border);
    color: var(--color-text-primary);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--color-accent-primary);
}

.filter-reset {
    width: 100%;
    padding: var(--spacing-md);
    background-color: #ffffff;
    color: var(--color-accent-primary);
    border: 1px solid var(--color-accent-primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-top: var(--spacing-lg);
}

.filter-reset:hover {
    background-color: var(--color-accent-primary);
    color: #ffffff;
}

.shop-products {
    min-height: 400px;
}

.products-count {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.pagination {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

.pagination-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: #ffffff;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.pagination-btn:hover,
.pagination-btn.active {
    background-color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: #ffffff;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background-color: var(--color-navbar-hover);
    border-top: 1px solid #3a4553;
    padding: var(--spacing-2xl) var(--spacing-lg);
    margin-top: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-section a {
    font-size: var(--font-size-sm);
    color: #c0c0c0;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #999999;
    font-size: var(--font-size-sm);
}

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-lg);
    background-color: var(--color-bg-primary);
}

.container h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.container p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--color-accent-primary);
    color: #ffffff;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-md);
}

.whatsapp-btn:hover {
    background-color: var(--color-accent-secondary);
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-2px);
}

.whatsapp-btn img {
    width: 20px;
    height: 20px;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1200px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 1024px) {
    .shop-container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: relative;
        top: 0;
    }

    .hero {
        min-height: 500px;
        padding: var(--spacing-lg);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

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

@media (max-width: 768px) {
    .navbar-container {
        height: auto;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .navbar-menu {
        gap: var(--spacing-md);
        font-size: var(--font-size-sm);
        order: 3;
        width: 100%;
    }

    .navbar-icons {
        order: 2;
    }

    .hero {
        min-height: 400px;
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-md);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: var(--spacing-md);
    }

    .shop-container {
        padding: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 640px) {
    .navbar-logo {
        width: 100%;
        order: 1;
    }

    .navbar-menu {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-link {
        width: 100%;
        padding: var(--spacing-sm);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }

    .hero {
        min-height: 300px;
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .hero-title {
        font-size: var(--font-size-xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-sm);
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .product-card {
        border-radius: 4px;
    }

    .cta-button {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-xs);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-md);
    }

    .product-name {
        font-size: var(--font-size-xs);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .navbar-menu {
        display: none;
    }

    .hero {
        min-height: 300px;
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .navbar-menu {
        gap: var(--spacing-md);
    }

    .nav-link {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }

    .hero {
        min-height: 400px;
        padding: var(--spacing-lg);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }

    .products-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .footer-content {
        gap: var(--spacing-lg);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .navbar-container {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .navbar-menu {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: var(--spacing-md);
    }

    .navbar-icons {
        gap: var(--spacing-md);
    }

    .hero-title {
        font-size: var(--font-size-xl);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        flex-direction: row;
    }

    .product-image {
        aspect-ratio: auto;
        width: 120px;
        min-width: 120px;
    }

    .product-info {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .add-to-cart-btn {
        flex: auto;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

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

/* Scroll behavior optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* ==============================================
   LOGIN & AUTHENTICATION PAGE STYLES
   =============================================== */

/* (Obsolete duplicate navigation/reset rules removed to prevent layout conflicts on store pages) */

/* Main Container */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 70px);
    background-color: var(--background);
}

/* Left Panel - Branding */
.auth-left {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-branding {
    text-align: center;
    max-width: 400px;
}

.auth-branding h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.auth-branding p {
    font-size: 1.125rem;
    color: #ddd;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #ccc;
}

.feature svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Right Panel - Auth Forms */
.auth-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--background);
}

/* Toggle Buttons */
.auth-toggle {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background-color: #f0f0f0;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0.5rem;
    border-bottom: 2px solid transparent;
}

.toggle-btn:hover {
    background-color: #e8e8e8;
}

.toggle-btn.active {
    background-color: white;
    color: var(--text-primary);
    border-bottom-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}

/* Auth Forms */
.auth-form {
    width: 100%;
    max-width: 400px;
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.admin-note {
    background-color: #fef3c7;
    border-left: 4px solid #fbbf24;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #92400e;
    margin-bottom: 1.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    background-color: white;
    transition: var(--transition);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Password Input */
.password-input {
    display: flex;
    align-items: center;
    position: relative;
}

.password-input input {
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--text-primary);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.remember-me input[type="checkbox"] {
    cursor: pointer;
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent-color);
}

.forgot-password {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Buttons */
.auth-button {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-button:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Admin Button */
.admin-button {
    width: 100%;
    padding: 0.875rem;
    background-color: white;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.admin-button:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.admin-button-submit {
    border-color: var(--secondary-color);
    color: white;
    background-color: var(--secondary-color);
}

.admin-button-submit:hover {
    background-color: #e68a00;
    border-color: #e68a00;
}

/* Back Button */
.back-button {
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.back-button:hover {
    background-color: #f0f0f0;
    border-color: var(--text-secondary);
}

/* Admin Section */
.admin-section {
    margin-top: 2rem;
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

/* Terms */
.terms {
    margin-bottom: 1.5rem;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

/* Footer */
.auth-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

.auth-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-link:hover {
    text-decoration: underline;
}

/* Error Messages */
.error-msg {
    display: none;
    color: var(--error-color);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.error-msg.show {
    display: block;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

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

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-overlay p {
    color: white;
    font-size: 1rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    max-width: 90%;
}

.toast.show {
    bottom: 2rem;
}

.toast.success {
    background-color: var(--success-color);
}

.toast.error {
    background-color: var(--error-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        min-height: 100vh;
        padding: 2rem 1.5rem;
    }

    .auth-branding h1 {
        font-size: 2rem;
    }

    .auth-form h2 {
        font-size: 1.5rem;
    }

    .navbar-container {
        padding: 1rem;
    }

    .toggle-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: 1.5rem 1rem;
    }

    .auth-form {
        max-width: 100%;
    }

    .auth-branding h1 {
        font-size: 1.5rem;
    }

    .auth-form h2 {
        font-size: 1.25rem;
    }

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input {
        font-size: 16px; /* Prevents zoom on mobile */
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Google Sign-In Button */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #333;
    border: 1.5px solid #dadce0;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.google-btn:hover {
    background: #f8f9fa;
    border-color: #c6c6c6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.social-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    gap: 12px;
}
.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dadce0;
}
.social-divider span {
    font-size: 0.82rem;
    color: #777;
    white-space: nowrap;
}

/* =============================================
   HERO CAROUSEL
   ============================================= */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: auto;
    padding: 0;
    animation: fadeSlide 0.6s ease;
}
.hero-slide.active { display: block; }

@keyframes fadeSlide {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-image-banner {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero-controls {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 20px;
}

.hero-prev, .hero-next {
    pointer-events: all;
    background: transparent;
    border: 2px solid transparent;
    color: #0f1111;
    font-size: 3.5rem;
    width: 80px;
    height: 100px;
    cursor: pointer;
    transition: border 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.hero-prev:focus, .hero-next:focus {
    border: 2px solid #008296;
    outline: none;
}

/* =============================================
   CATEGORY GRID (Amazon-style)
   ============================================= */
.category-grid-section {
    background: transparent;
    padding: 0 1rem;
    margin-top: -300px;
    position: relative;
    z-index: 10;
}

.category-grid {
    max-width: 1460px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 20px 20px 20px;
}

.category-card {
    background: #fff;
    padding: 20px 20px 15px 20px;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f1111;
    margin-bottom: 10px;
    line-height: 1.2;
}

.category-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
    margin-bottom: 15px;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
}
.cat-item:hover {
    background: transparent;
}

.cat-img {
    width: 100%;
    height: 115px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

.cat-item span {
    font-size: 0.75rem;
    color: #0f1111;
    font-weight: 400;
    margin-top: 2px;
}

.cat-see-all {
    display: block;
    font-size: 0.85rem;
    color: #007185;
    font-weight: 500;
    margin-top: auto;
}
.cat-see-all:hover { color: #c45500; text-decoration: underline; }

/* =============================================
   SECTION HEADER ROW
   ============================================= */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.see-all-link {
    font-size: 0.85rem;
    color: #007185;
    font-weight: 500;
    white-space: nowrap;
}
.see-all-link:hover { color: #c45500; text-decoration: underline; }

/* =============================================
   TRUST BANNER
   ============================================= */
.trust-banner {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 1.5rem 2rem;
}

.trust-items {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item strong {
    font-size: 0.88rem;
    color: #0f1111;
}

.trust-item span {
    font-size: 0.78rem;
    color: #878787;
}

/* =============================================
   FOOTER UPGRADE
   ============================================= */
.footer-back-top {
    display: block;
    width: 100%;
    background-color: #37475a;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 2rem;
}
.footer-back-top:hover { 
    background-color: #485769; 
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffd814;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

/* =============================================
   RESPONSIVE OVERRIDES
   ============================================= */
@media (max-width: 900px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 2rem; }
    .hero-visual { display: none; }
    .hero-slide { min-height: 280px; }
    .trust-items { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .category-grid { grid-template-columns: 1fr; }
    .hero-slide-content { padding: 2rem 1rem; }
    .hero-text h1 { font-size: 1.6rem; }
    .navbar-deliver { display: none; }
}

/* =============================================
   CART & PROFILE PAGE LAYOUT
   ============================================= */
.cart-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    align-items: flex-start;
}

.cart-items-wrapper {
    flex: 1;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.cart-summary {
    width: 320px;
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.profile-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-sm);
}

.profile-card:hover {
    background: var(--color-bg-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.profile-card-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.profile-card-text h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0f1111;
    margin-bottom: 0.2rem;
}

.profile-card-text p {
    font-size: 0.9rem;
    color: #565959;
}

@media (max-width: 900px) {
    .cart-container {
        display: flex;
        flex-direction: column;
    }
    .cart-items-wrapper {
        order: 2;
    }
    .cart-summary {
        order: 1;
        width: 100%;
        position: static !important;
        margin-bottom: 1.5rem;
    }
}

/* Amazon-style Buttons & Profile Tabs */
.btn-amazon-primary {
    display: block;
    width: 100%;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: #0f1111 !important; /* Ensure text color is dark */
    background: #ffd814;
    border: 1px solid #fcd200;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(213,217,217,.5);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none !important; /* Override uppercase */
    letter-spacing: normal;
}

.btn-amazon-primary:hover {
    background: #f7ca00;
    border-color: #f2c200;
    color: #0f1111 !important;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(213,217,217,.5);
    transform: none;
}

.btn-amazon-primary:active {
    background: #f0b800;
    border-color: #e0aa00;
    transform: scale(0.98);
}

.btn-amazon-secondary {
    display: block;
    width: 100%;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: #0f1111 !important;
    background: #ffffff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(213,217,217,.5);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none !important;
    letter-spacing: normal;
}

.btn-amazon-secondary:hover {
    background: #f7fafa;
    border-color: #d5d9d9;
    color: #0f1111 !important;
    text-decoration: none;
}

.btn-amazon-secondary:active {
    background: #f0f2f2;
    border-color: #d5d9d9;
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block !important;
}

.profile-nav-item {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    background: #fff;
    border: none;
    border-left: 3px solid transparent;
    color: #0f1111 !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.profile-nav-item:hover {
    background: #f7fafa !important;
}

.profile-nav-item.active {
    background: #f7fafa !important;
    border-left: 3px solid #e77600 !important;
    font-weight: 700 !important;
}

/* Navbar Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #f08804; /* Amazon Orange Badge */
    color: #fff !important;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

/* =============================================
   MOBILE NAVIGATION DRAWER
   ============================================= */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -290px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.active {
    left: 0;
}
.mobile-drawer-header {
    background-color: var(--color-navbar-hover);
    color: #fff;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: var(--font-size-lg);
}
.mobile-drawer-header svg {
    color: var(--color-accent-primary);
}
.mobile-drawer-close {
    position: fixed;
    top: 15px;
    left: 290px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.mobile-drawer.active + .mobile-drawer-close {
    opacity: 1;
    pointer-events: auto;
}
.mobile-drawer-content {
    padding: 1rem 0;
}
.mobile-drawer-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    padding: 0.8rem 1.5rem 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
}
.mobile-drawer-title:first-child {
    border-top: none;
    margin-top: 0;
}
.mobile-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    color: #333;
    transition: background 0.15s ease;
}
.mobile-drawer-link:hover {
    background: #f3f4f6;
}
.mobile-drawer-link span.arrow {
    color: #999;
}

/* =============================================
   MOBILE SHOP FILTERS DRAWER
   ============================================= */
.filters-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}
.filters-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.filters-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 80vh;
    background: #fff;
    z-index: 10000;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
    transition: bottom 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}
.filters-drawer.active {
    bottom: 0;
}
.filters-drawer-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.filters-drawer-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
}
.close-filters-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}
.filters-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}
.filters-drawer-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border);
    background: #f9fafb;
    display: flex;
    gap: 1rem;
}
.filters-drawer-footer button {
    flex: 1;
}

.floating-filters-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--color-text-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.floating-filters-btn:hover {
    background: #232f3e;
}

/* =============================================
   AMAZON BRANDING STYLE OVERRIDES
   ============================================= */
.amazon-price-wrapper {
    display: inline-flex;
    align-items: flex-start;
    color: #0f1111;
    font-family: Arial, sans-serif;
}
.amazon-price-symbol {
    font-size: 0.65em;
    margin-right: 1px;
    margin-top: 0.15em;
    font-weight: 500;
}
.amazon-price-whole {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
}
.amazon-price-fraction {
    font-size: 0.65em;
    margin-left: 1px;
    margin-top: 0.15em;
    font-weight: 500;
}

/* Prime Badge styling */
.prime-badge {
    display: inline-flex;
    align-items: center;
    color: #00a8e1;
    font-size: 0.75rem;
    font-weight: 800;
    font-style: italic;
    margin: 4px 0 2px;
    gap: 2px;
}
.prime-badge::before {
    content: "✓";
    font-weight: 900;
    font-style: normal;
    font-size: 0.7rem;
    background: #00a8e1;
    color: #fff;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
}
.prime-badge-text {
    color: #00a8e1;
}

/* Star rating style */
.amazon-stars {
    color: #de7921; /* Amazon Star Gold */
    font-size: 0.9rem;
    display: inline-block;
    letter-spacing: -1px;
}
.rating-count-link {
    font-size: 0.8rem;
    color: #007185; /* Amazon Link Color */
    margin-left: 5px;
}
.rating-count-link:hover {
    color: #c45500;
    text-decoration: underline;
}

/* Amazon Gradient Buttons */
.btn-amazon-primary, .add-to-cart-btn {
    background: linear-gradient(to bottom, #ffe093, #ffc439) !important;
    border: 1px solid #a88734 !important;
    border-color: #a88734 #9c7e31 #846a29 !important;
    color: #111 !important;
    border-radius: 20px !important;
    padding: 6px 12px !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px 0 rgba(213,217,217,.5) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: background 0.1s ease-in-out !important;
    display: inline-block !important;
    width: 100% !important;
}
.btn-amazon-primary:hover, .add-to-cart-btn:hover {
    background: linear-gradient(to bottom, #ffd777, #f7be23) !important;
}
.btn-amazon-primary:active, .add-to-cart-btn:active {
    background: #f7ca00 !important;
    border-color: #846a29 !important;
}

.btn-amazon-secondary {
    background: linear-gradient(to bottom, #f7f8fa, #e7e9ec) !important;
    border: 1px solid #a6a6a6 !important;
    border-color: #adb1b8 #a2a6ac #8d9096 !important;
    color: #111 !important;
    border-radius: 20px !important;
    padding: 6px 12px !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px 0 rgba(213,217,217,.5) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: background 0.1s ease-in-out !important;
}
.btn-amazon-secondary:hover {
    background: linear-gradient(to bottom, #e7ebf0, #d9dce1) !important;
}

.auth-page-container {
    --primary-color: #1a1a1a;
    --secondary-color: #ff9900;
    --accent-color: #0066cc;
    --text-primary: #111;
    --text-secondary: #666;
    --background: #ffffff;
    --border-color: #ddd;
    --error-color: #dc2626;
    --success-color: #16a34a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;

    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 10px;
    font-family: Arial, sans-serif;
}
.auth-logo-center {
    margin-bottom: 20px;
    display: block;
}
.auth-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    max-width: 350px;
    padding: 20px 26px;
    box-sizing: border-box;
}
.auth-card h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #111;
}
.auth-card .form-group {
    margin-bottom: 14px;
}
.auth-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #a6a6a6;
    border-radius: 3px;
    font-size: 0.9rem;
    box-sizing: border-box;
    height: 31px;
    transition: border-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}
.auth-card input:focus {
    border-color: #e77600;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
    outline: none;
}
.auth-card .auth-button {
    width: 100%;
    height: 31px;
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    border: 1px solid #a88734;
    border-color: #a88734 #9c7e31 #846a29;
    color: #111;
    border-radius: 3px;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255,255,255,.4) inset;
    margin-top: 10px;
}
.auth-card .auth-button:hover {
    background: linear-gradient(to bottom, #f5d78e, #eeb933);
}
.auth-card .auth-button:active {
    background: #f0c14b;
    border-color: #846a29;
}
.auth-notice-text {
    font-size: 0.72rem;
    color: #555;
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 15px;
}
.auth-notice-text a {
    color: #0066c0;
}
.auth-notice-text a:hover {
    color: #c45500;
    text-decoration: underline;
}

.auth-divider-container {
    width: 100%;
    max-width: 350px;
    text-align: center;
    position: relative;
    margin: 20px 0 10px;
}
.auth-divider-container h5 {
    font-size: 0.75rem;
    color: #767676;
    background: #fff;
    display: inline-block;
    padding: 0 8px;
    position: relative;
    z-index: 2;
    font-weight: 400;
}
.auth-divider-container::after {
    content: "";
    width: 100%;
    height: 1px;
    background: #e7e7e7;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
}

.auth-create-account-btn {
    width: 100%;
    max-width: 350px;
    height: 31px;
    background: linear-gradient(to bottom, #f7f8fa, #e7e9ec);
    border: 1px solid #adb1b8;
    border-color: #adb1b8 #a2a6ac #8d9096;
    border-radius: 3px;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    margin: 0 auto;
}
.auth-create-account-btn:hover {
    background: linear-gradient(to bottom, #e7ebf0, #d9dce1);
}
.auth-create-account-btn:active {
    background: #e7e9ec;
    border-color: #8d9096;
}

.auth-footer-minimal {
    margin-top: 40px;
    width: 100%;
    max-width: 350px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: center;
    font-size: 0.72rem;
    color: #555;
}
.auth-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}
.auth-footer-links a {
    color: #0066c0;
}
.auth-footer-links a:hover {
    color: #c45500;
    text-decoration: underline;
}

/* =============================================
   MOBILE MEDIA QUERY OVERRIDES (width <= 768px)
   ============================================= */
@media (max-width: 768px) {
    .floating-filters-btn {
        display: inline-flex;
    }
    .shop-sidebar {
        display: none; /* Hidden on mobile; moved to filters drawer */
    }
    .shop-container {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    /* Mobile Navbar Header identical to Amazon */
    .navbar {
        height: auto !important;
        padding: 0.5rem 0.75rem 0.6rem !important;
    }
    .navbar-container {
        height: auto !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        padding: 0 !important;
    }
    .navbar-row-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
    }
    .navbar-logo {
        padding: 0 !important;
        order: 2 !important;
    }
    .navbar-logo a {
        font-size: 1.35rem !important;
        letter-spacing: -0.5px;
    }
    
    /* Hamburger & Menu icons */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        padding: 4px;
        order: 1 !important;
    }
    .navbar-icons {
        order: 3 !important;
        gap: 0.8rem !important;
    }
    .navbar-icons .nav-link-custom {
        padding: 4px !important;
    }
    .navbar-icons .nav-small,
    .navbar-icons .cart-text {
        display: none !important;
    }
    .navbar-icons .nav-bold {
        font-size: 0.85rem !important;
    }
    .navbar-deliver {
        display: none !important; /* Hide delivery widget on mobile navbar */
    }

    /* Full Width Mobile Search */
    .navbar-search {
        width: 100% !important;
        margin: 0.2rem 0 0 !important;
        order: 4 !important;
        height: 38px !important;
    }
    .search-category {
        display: none !important; /* Hide category selector on mobile search to save space */
    }
    .search-input {
        border-top-left-radius: 4px !important;
        border-bottom-left-radius: 4px !important;
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
    }
    .search-btn {
        width: 45px !important;
        background: #febd69 !important;
    }

    /* Mobile Sub-Navbar scrollable horizontally */
    .sub-navbar {
        overflow-x: auto;
        white-space: nowrap;
        display: flex !important;
        gap: 1rem !important;
        padding: 0.6rem 0.8rem !important;
        scrollbar-width: none; /* Firefox */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .sub-navbar::-webkit-scrollbar {
        display: none; /* Safari & Chrome */
    }
    .sub-nav-link {
        display: inline-block !important;
        font-size: 0.85rem !important;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 10px 12px !important; /* Increase touch target */
    }

    /* Mobile Location Bar below sub-navbar */
    .mobile-location-bar {
        display: flex !important;
        align-items: center;
        gap: 6px;
        background: #37475a;
        color: #fff;
        padding: 6px 12px;
        font-size: 0.78rem;
        font-weight: 500;
        cursor: pointer;
    }

    /* Hero Carousel improvements */
    .hero-carousel {
        height: 240px !important;
        min-height: auto !important;
    }
    .hero-slide-content {
        padding: 1.5rem !important;
    }
    .hero-text h1 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    .hero-text p {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-cta {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    .hero-visual {
        display: none !important; /* Hide large visual images on mobile slides */
    }

    /* 4-grid category section wraps to 2-columns on mobile */
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0.5rem !important;
    }
    .category-card {
        padding: 12px !important;
        border-radius: 4px !important;
    }
    .category-card h3 {
        font-size: 0.95rem !important;
        margin-bottom: 10px !important;
        height: 36px;
        overflow: hidden;
    }
    .category-card-grid {
        gap: 8px !important;
    }
    .cat-item span {
        font-size: 0.72rem !important;
    }

    /* Mobile Product Grid - 2 Columns */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0.5rem !important;
    }
    .product-card {
        border-radius: 4px !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
        border: 1px solid #e7e7e7 !important;
        display: flex !important;
        flex-direction: column !important; /* Vertical stack on 2-col grid */
    }
    .product-image-container {
        height: 140px !important;
        padding: 8px !important;
    }
    .product-info {
        padding: 10px !important;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .product-name {
        font-size: 0.85rem !important;
        height: 36px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 6px !important;
    }
    .product-pricing {
        margin: 4px 0 !important;
        font-size: 0.85rem;
    }
    .product-price {
        font-size: 1rem !important;
    }
    .product-discount {
        font-size: 0.72rem !important;
    }
    .add-to-cart-btn {
        margin-top: auto !important;
        padding: 8px !important;
        font-size: 0.78rem !important;
        border-radius: 6px !important;
    }

    /* Cart Mobile Items */
    .cart-item {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1.2rem 0.5rem !important;
    }
    .cart-item img {
        margin: 0 auto;
    }
    .cart-item-title {
        font-size: 1rem !important;
    }

    /* Touch targets */
    input[type="checkbox"], input[type="radio"] {
        min-width: 24px;
        min-height: 24px;
    }
    .filter-label {
        padding: 10px 0; /* Larger touch target */
    }
    
    button, a, input, select {
        min-height: 44px; /* Apple Human Interface Guidelines minimum touch target */
    }
    
    .search-input {
        min-height: 44px !important;
    }
    
    .add-to-cart-btn {
        min-height: 44px !important;
    }
    
    /* Hero Carousel Swipe Optimization */
    .hero-carousel {
        touch-action: pan-y pinch-zoom;
    }
    
    /* Mobile Bottom Navigation Visibility */
    .mobile-bottom-nav {
        display: flex !important;
    }
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

/* Mobile Bottom Navigation Styles */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(231, 231, 231, 0.5);
    z-index: 2000;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #565959;
    text-decoration: none;
    width: 25%;
    height: 100%;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item.active {
    color: #007185;
}

.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #007185;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.mobile-nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.mobile-cart-icon-wrapper {
    position: relative;
}

.mobile-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #f08804;
    color: #111;
    font-size: 0.65rem;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
/* =============================================
   MEGA MENU DRAWER
   ============================================= */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.mega-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mega-menu-drawer {
    position: fixed;
    top: 0;
    left: -380px;
    width: 380px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 3001;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mega-menu-drawer.active {
    transform: translateX(380px);
}

.mega-menu-header {
    background-color: var(--color-navbar);
    color: #fff;
    padding: 15px 20px 15px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.mega-menu-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}
.mega-menu-user svg {
    width: 28px;
    height: 28px;
}
.mega-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-right: -10px;
}
.mega-menu-close:hover {
    color: var(--color-accent-primary);
}

.mega-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 30px;
}
.mega-menu-content::-webkit-scrollbar {
    width: 6px;
}
.mega-menu-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}
.mega-menu-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    padding: 10px 20px 10px 35px;
    margin-top: 10px;
}
.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-menu-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 35px;
    color: #444;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.mega-menu-list li a:hover {
    background-color: #eaeded;
    color: #111;
}
.mega-menu-content hr {
    border: none;
    border-top: 1px solid #d5d9d9;
    margin: 15px 0;
}
.mega-arrow {
    color: #888;
    font-size: 1.2rem;
    font-weight: 300;
}
