/* Euphoria BY Floxyluxe - Modern Premium Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors - Enhanced */
    --primary-burgundy: #880527;
    --cream: #F5E9DC;
    --gold: #C2A76F;
    --dark-burgundy: #4A0E24;
    --white: #ffffff;
    
    /* Modern Color Palette */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-backdrop: blur(16px);
    
    /* Enhanced Gradients - Inspiration Style */
    --gradient-primary: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--dark-burgundy) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, #d4af37 100%);
    --gradient-cream: linear-gradient(135deg, var(--cream) 0%, #f0e6d2 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-pink-soft: linear-gradient(135deg, #F8E8F2 0%, #FFFFFF 50%, #F5E9DC 100%);
    --gradient-card-modern: linear-gradient(135deg, #FFFFFF 0%, #FDF9F6 100%);
    --modern-shadow: 0 8px 32px rgba(136, 5, 39, 0.06);
    
    /* Modern Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Animation Curves */
    --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gradient-pink-soft);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Modern Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Modern Clean Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(136, 5, 39, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
}

.logo {
    margin: 0;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-burgundy);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-600);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: -2px;
}

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

.cart-icon {
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    transition: all 0.3s var(--ease-out-cubic);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 12px rgba(136, 5, 39, 0.2);
}

.cart-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 5, 39, 0.3);
}

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

.cart-count {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--gold);
    color: var(--dark-burgundy);
    border-radius: 10px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

/* Modern Filters Section */
.filters-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(136, 5, 39, 0.08);
    position: sticky;
    top: 70px;
    z-index: 90;
}

.search-container {
    margin-bottom: 1.25rem;
}

.search-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 1.5px solid rgba(136, 5, 39, 0.15);
    border-radius: 12px;
    background: white;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--gray-800);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s var(--ease-out-cubic);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-burgundy);
    box-shadow: 0 0 0 3px rgba(136, 5, 39, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-box input::placeholder {
    color: var(--gray-500);
    font-weight: 400;
}

.search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

/* Modern Filter Buttons */
.category-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.category-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    border: 1.5px solid rgba(136, 5, 39, 0.2);
    border-radius: 20px;
    background: white;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-cubic);
    white-space: nowrap;
    font-family: var(--font-sans);
    flex-shrink: 0;
}

.filter-btn:hover {
    border-color: var(--primary-burgundy);
    color: var(--primary-burgundy);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.filter-btn.active {
    background: var(--primary-burgundy);
    color: white;
    border-color: var(--primary-burgundy);
    box-shadow: 0 4px 12px rgba(136, 5, 39, 0.25);
}

.filter-btn.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(136, 5, 39, 0.35);
}

/* Enhanced Loading Animation */
.loading {
    text-align: center;
    padding: 4rem 0;
    color: var(--primary-burgundy);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-burgundy);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

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

.loading p {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Products Section */
.products-section {
    padding: 3rem 0;
    min-height: 70vh;
    position: relative;
}

/* Modern Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Stunning Product Cards */
.product-card {
    background: var(--gradient-card-modern);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s var(--ease-out-cubic);
    cursor: pointer;
    position: relative;
    transform-origin: center;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(194, 167, 111, 0.3);
}

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

/* Enhanced Product Image */
.product-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card:hover .product-image::before {
    transform: translateX(100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out-cubic);
}

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

/* Modern Stock Badge */
.stock-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(194, 167, 111, 0.9);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.stock-badge.out-of-stock {
    background: rgba(239, 68, 68, 0.9);
}

/* Enhanced Product Info */
.product-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.product-category {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.product-description-container {
    margin-bottom: 1.5rem;
}

.product-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-description.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-burgundy);
}

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

.product-price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    letter-spacing: -0.02em;
}

/* Modern Add to Cart Button */
.add-to-cart-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.4s var(--ease-out-cubic);
    box-shadow: 0 6px 20px rgba(136, 5, 39, 0.25);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    text-transform: none;
    letter-spacing: 0.3px;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s var(--ease-out-cubic);
    transform: translate(-50%, -50%);
}

.add-to-cart-btn:hover::before {
    width: 300px;
    height: 300px;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(136, 5, 39, 0.35);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* Enhanced Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.cart-sidebar {
    position: fixed;
    right: -420px;
    top: 0;
    width: 420px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 201;
    transition: right 0.4s var(--ease-out-cubic);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-2xl);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.cart-header h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.close-cart {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

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

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin: 0 -1rem;
}

.cart-item-image {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 500;
}

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

.cart-item-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--primary-burgundy);
    font-weight: 700;
    font-size: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0.75rem;
}

.quantity-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold);
    color: var(--gray-700);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s var(--ease-out-cubic);
}

.quantity-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
}

.cart-total {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    font-family: var(--font-serif);
}

.checkout-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-cubic);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s var(--ease-out-cubic);
    transform: translate(-50%, -50%);
}

.checkout-btn:hover:not(:disabled)::before {
    width: 300px;
    height: 300px;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.checkout-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* Enhanced Checkout Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.checkout-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    animation: slideUp 0.4s var(--ease-out-cubic);
}

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

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 24px 24px 0 0;
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
}

.close-modal {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.checkout-form {
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease-out-cubic);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(194, 167, 111, 0.1);
    transform: translateY(-1px);
}

.order-summary {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.order-summary h4 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.total-line {
    border-top: 2px solid var(--gold);
    padding-top: 0.75rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    font-family: var(--font-serif);
}

.place-order-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.25rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.3s var(--ease-out-cubic);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.place-order-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s var(--ease-out-cubic);
    transform: translate(-50%, -50%);
}

.place-order-btn:hover::before {
    width: 400px;
    height: 400px;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.payment-note {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.5;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-container {
        padding: 0 1rem;
        height: 65px;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .cart-icon {
        padding: 0.6rem;
    }
    
    .filters-section {
        padding: 1rem 0;
        top: 65px;
    }
    
    .search-container {
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .search-box {
        max-width: none;
    }
    
    .search-box input {
        padding: 0.75rem 0.875rem 0.75rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .search-icon {
        left: 0.75rem;
    }
    
    .category-filters {
        justify-content: flex-start;
        padding: 0 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.875rem;
    }
    
    .header-container {
        padding: 0 0.875rem;
    }
    
    .logo-main {
        font-size: 1.375rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-filters {
        padding: 0 0.25rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 12px;
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 10px 20px;
        flex-shrink: 0;
    }
    
    .checkout-modal {
        margin: 12px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 340px;
    }
    
    .search-box input {
        padding: 14px 45px 14px 16px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .cart-item-image {
        align-self: center;
    }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.empty-state h3 {
    color: var(--primary-burgundy);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.empty-state p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Enhancements */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(194, 167, 111, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(194, 167, 111, 0.8);
}

/* Enhanced Mobile Cart & Checkout Optimization */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100vw !important;
        right: -100vw !important;
        border-radius: 0 !important;
        height: 100vh !important;
    }
    
    .cart-sidebar.open {
        right: 0 !important;
    }
    
    .cart-item {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }
    
    .cart-item-image {
        width: 40px !important;
        height: 40px !important;
    }
    
    .checkout-modal {
        width: 95vw !important;
        max-width: none !important;
        margin: 1rem !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        border-radius: 16px !important;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
    }
    
    .checkout-btn, .whatsapp-btn {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
    }
    
    .payment-modal {
        width: 95vw !important;
        max-width: none !important;
        margin: 1rem !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        border-radius: 16px !important;
    }
    
    .payment-content {
        padding: 1.5rem !important;
    }
    
    .bank-details, .payment-instructions {
        padding: 1rem !important;
    }
    
    .account-info {
        padding: 1rem !important;
    }
}

/* Payment Verification Modal */
#paymentOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.payment-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.payment-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.payment-content {
    padding: 2rem;
}

.bank-details {
    background: var(--gradient-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bank-details h4 {
    color: var(--primary);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.account-info {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(136, 5, 39, 0.1);
}

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

.info-row.amount {
    background: var(--gradient-primary);
    margin: 1rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0 0 12px 12px;
    color: var(--white);
}

.info-row .label {
    font-weight: 500;
    color: var(--gray-600);
}

.info-row.amount .label {
    color: rgba(255, 255, 255, 0.9);
}

.info-row .value {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
}

.info-row.amount .value {
    color: var(--white);
    font-size: 1.3rem;
}

.payment-instructions {
    background: rgba(194, 167, 111, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent);
}

.payment-instructions p {
    margin: 0 0 1rem 0;
    font-weight: 600;
    color: var(--primary);
}

.payment-instructions ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--gray-700);
}

.payment-instructions li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.payment-confirm-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}