/* =====================================================
   ESTILOS - Açaí Diamante Negro
   Design: Roxo, Amarelo, Branco - Moderno iFood
   Mobile-first
   ===================================================== */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    /* Cores Principais */
    --purple-primary: #6B21A8;
    --purple-dark: #581C87;
    --purple-light: #A855F7;
    --purple-lighter: #E9D5FF;

    /* Amarelo (Destaque) */
    --yellow-primary: #FACC15;
    --yellow-dark: #EAB308;
    --yellow-light: #FEF08A;

    /* Branco e Neutros */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Cores Semânticas */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    /* Gradientes */
    --gradient-purple: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    --gradient-yellow: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-dark) 100%);
    --gradient-hero: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-primary) 50%, var(--purple-light) 100%);

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 20px rgba(107, 33, 168, 0.15);
    --shadow-button: 0 4px 14px rgba(107, 33, 168, 0.4);

    /* Bordas */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transições */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 1rem 0 6rem;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    background: var(--gradient-purple);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--yellow-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--purple-dark);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--yellow-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 0.25rem 0.5rem 0.25rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.search-container:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--yellow-primary);
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.2);
}

.search-input {
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.875rem;
    width: 140px;
    outline: none;
    font-weight: 500;
}

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

.search-btn {
    background: none;
    border: none;
    color: var(--white);
    padding: 0.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: var(--transition);
}

.search-btn:hover {
    opacity: 1;
    color: var(--yellow-primary);
}

@media (max-width: 768px) {
    .search-input {
        width: 80px;
    }
    .search-container {
        padding-left: 0.75rem;
    }
}

/* =====================================================
   LANGUAGE SELECTOR
   ===================================================== */
.lang-selector {
    position: relative;
    cursor: pointer;
    font-size: 14px;
    z-index: 100;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 24px;
    background: #ffffff;
    color: var(--gray-800);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    font-weight: 500;
}

.current-lang:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.flag-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.chevron-icon {
    color: var(--gray-500);
    transition: transform 0.3s ease;
}

.lang-selector:hover .chevron-icon {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top right;
    border: 1px solid #f3f4f6;
}

.lang-selector:hover .lang-dropdown,
.lang-selector:focus-within .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--gray-800);
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: var(--gray-100);
    color: var(--purple-primary);
}

.lang-option.active {
    background: rgba(88, 28, 135, 0.05);
    color: var(--purple-primary);
    font-weight: 600;
}

/* =====================================================
   CART BUTTON
   ===================================================== */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--yellow-primary);
    color: var(--gray-900);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-button);
    transition: var(--transition);
}

.cart-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

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

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: var(--purple-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.cart-badge.hidden {
    display: none;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: var(--gradient-hero);
    padding: 2rem 0;
    color: var(--white);
    text-align: center;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

/* =====================================================
   CATEGORY TABS
   ===================================================== */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin: 1rem 0;
    box-shadow: var(--shadow);
}

.category-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-500);
    background: var(--gray-100);
    transition: var(--transition);
}

.category-tab:hover {
    color: var(--gray-700);
}

.category-tab.active {
    background: var(--gradient-purple);
    color: var(--white);
    box-shadow: var(--shadow-button);
}

.category-tab svg {
    width: 20px;
    height: 20px;
}

/* =====================================================
   PRODUCTS GRID
   ===================================================== */
.products-section {
    padding: 0 1rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   PRODUCT CARD
   ===================================================== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img, .product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img,
.product-card:hover .product-video {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--yellow-primary);
    color: var(--gray-900);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.product-info {
    padding: 0.875rem;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.price-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--purple-primary);
}

.price-old {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.price-promo {
    font-size: 0.6875rem;
    color: var(--success);
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
}

.add-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem;
    background: var(--purple-primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.8125rem;
    transition: var(--transition);
}

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

.add-btn svg {
    width: 16px;
    height: 16px;
}

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

.add-btn.added {
    background: var(--success);
}

/* =====================================================
   CART SIDEBAR
   ===================================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--white);
    z-index: var(--z-modal);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.show {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--gradient-purple);
    color: var(--white);
}

.cart-title {
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.cart-empty svg {
    width: 80px;
    height: 80px;
    fill: var(--gray-300);
    margin: 0 auto 1rem;
}

.cart-empty-text {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--purple-primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
}

.cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.cart-item-image {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--purple-lighter) 0%, var(--gray-100) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image svg {
    width: 36px;
    height: 36px;
    fill: var(--purple-primary);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.875rem;
    color: var(--purple-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--purple-lighter);
    border-color: var(--purple-primary);
}

.qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 600;
    color: var(--gray-800);
}

.cart-item-remove {
    width: 28px;
    height: 28px;
    border-radius: var(--radius);
    background: var(--error);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    align-self: flex-start;
    transition: var(--transition);
}

.cart-item-remove:hover {
    background: #DC2626;
}

.cart-item-remove svg {
    width: 14px;
    height: 14px;
}

.cart-footer {
    padding: 1rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.cart-summary {
    margin-bottom: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.cart-summary-row.total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-300);
    margin-top: 0.5rem;
}

.cart-summary-row .value {
    font-weight: 600;
    color: var(--gray-800);
}

.checkout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gradient-yellow);
    color: var(--gray-900);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-button);
    transition: var(--transition);
}

.checkout-btn:hover {
    transform: scale(1.02);
}

.checkout-btn svg {
    width: 20px;
    height: 20px;
}

/* =====================================================
   CHECKOUT FORM
   ===================================================== */
.checkout-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.checkout-modal.show {
    opacity: 1;
    visibility: visible;
}

.checkout-content {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: var(--transition);
}

.checkout-modal.show .checkout-content {
    transform: scale(1);
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--gradient-purple);
    color: var(--white);
}

.checkout-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.checkout-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkout-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.checkout-close svg {
    width: 20px;
    height: 20px;
}

.checkout-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--gray-800);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input.error {
    border-color: var(--error);
}

.checkout-items {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--gray-200);
}

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

.checkout-item-name {
    color: var(--gray-700);
}

.checkout-item-qty {
    color: var(--gray-500);
}

.checkout-totals {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
}

.checkout-total-row.grand-total {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--purple-primary);
    border-top: 2px solid var(--gray-300);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.frete-section {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.frete-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.frete-info svg {
    width: 16px;
    height: 16px;
    fill: var(--yellow-primary);
}

.checkout-footer {
    padding: 1rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.whatsapp-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #20BD5A;
    transform: scale(1.02);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--yellow-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--purple-dark);
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-contact a {
    color: var(--yellow-primary);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--yellow-light);
}

/* =====================================================
   MOBILE BOTTOM NAV
   ===================================================== */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-around;
    z-index: var(--z-fixed);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    color: var(--gray-500);
    font-size: 0.6875rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-item svg {
    width: 24px;
    height: 24px;
}

.nav-item.active {
    color: var(--purple-primary);
}

.nav-item-cart {
    position: relative;
}

/* =====================================================
   LOADING & ANIMATIONS
   ===================================================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--purple-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

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

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: var(--z-tooltip);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

.toast.error {
    border-left: 4px solid var(--error);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

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

.toast.success .toast-icon { fill: var(--success); }
.toast.error .toast-icon { fill: var(--error); }
.toast.warning .toast-icon { fill: var(--warning); }

.toast-message {
    flex: 1;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.toast-close {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--gray-600);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 639px) {
    .hero-title {
        font-size: 1.5rem;
    }

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

    .category-tab {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .main-content {
        padding: 2rem 0 6rem;
    }

    .cart-sidebar {
        width: 420px;
    }
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none;
    }

    .main-content {
        padding-bottom: 2rem;
    }
}
