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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #22222f;
  --bg-surface: #16161f;
  --gold: #d4a853;
  --gold-light: #e8c97a;
  --gold-dark: #b8922e;
  --gold-glow: rgba(212, 168, 83, 0.15);
  --gold-gradient: linear-gradient(135deg, #d4a853, #e8c97a, #d4a853);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a7a;
  --border: #2a2a35;
  --border-light: #3a3a45;
  --success: #4ade80;
  --error: #f87171;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(212, 168, 83, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f0;
  --bg-surface: #f5f5f5;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6a6a6a;
  --border: #e0e0e0;
  --border-light: #d0d0d0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-gold: 0 4px 20px rgba(212, 168, 83, 0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  font-family: var(--font-body);
  background: var(--bg-primary); 
  color: var(--text-primary); 
  line-height: 1.6; 
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 769px) { .container { padding: 0 24px; } }

/* Announcement Bar */
.announcement-bar { background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)); overflow: hidden; white-space: nowrap; padding: 8px 0; }
.announcement-track { display: inline-flex; animation: marquee 30s linear infinite; }
.announcement-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 40px; font-size: 0.8rem; font-weight: 600; color: var(--bg-primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Header */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.header-container { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; max-width: 1400px; margin: 0 auto; gap: 12px; }
@media (min-width: 769px) { .header-container { padding: 14px 24px; gap: 24px; } }

.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.logo-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { color: var(--text-primary); }
.logo-accent { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; padding: 8px; margin: -8px; }
.mobile-menu-btn span { display: block; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.mobile-menu-btn span:nth-child(2) { width: 70%; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 769px) { .mobile-menu-btn { display: none; } }

.nav-links { display: none; gap: 8px; }
@media (min-width: 769px) { .nav-links { display: flex; } }
.nav-link { padding: 8px 16px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: var(--gold); border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.action-btn { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-secondary); font-size: 1.1rem; cursor: pointer; transition: var(--transition); }
.action-btn:hover { color: var(--gold); background: var(--gold-glow); }
.badge { position: absolute; top: 2px; right: 2px; background: var(--gold); color: var(--bg-primary); font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.search-wrapper { position: relative; display: none; }
@media (min-width: 769px) { .search-wrapper { display: flex; align-items: center; } }
.search-wrapper input { width: 200px; padding: 8px 16px; padding-right: 40px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 50px; color: var(--text-primary); font-size: 0.85rem; }
.search-wrapper input:focus { border-color: var(--gold); }
.search-btn { position: absolute; right: 4px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; }

.admin-link-btn { display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-secondary); font-size: 1.1rem; cursor: pointer; transition: var(--transition); background: transparent; border: none; width: 40px; height: 40px; }
.admin-link-btn:hover { color: var(--gold); background: var(--gold-glow); }
@media (max-width: 480px) { .admin-link-btn { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 24px; font-weight: 600; font-size: 0.9rem; border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--gold-gradient); color: var(--bg-primary); box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--bg-primary); }
.btn-whatsapp { background: #25d366; color: white; }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.gold-text { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Sections */
.section { padding: 60px 0; }
@media (min-width: 769px) { .section { padding: 80px 0; } }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: var(--gold-glow); color: var(--gold); border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
@media (min-width: 769px) { .section-title { font-size: 2.5rem; } }

/* Hero Slider */
.hero-section { position: relative; overflow: hidden; height: 500px; }
@media (min-width: 769px) { .hero-section { height: 600px; } }

.hero-slider { position: relative; width: 100%; height: 100%; }

.hero-slide { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 1s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(10, 10, 15, 0.5) 100%);
}

.hero-slide .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide .hero-content {
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.hero-slide .hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-slide .hero-content .hero-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.15;
    color: var(--text-primary);
}
@media (min-width: 769px) { .hero-slide .hero-content .hero-title { font-size: 3.5rem; } }

.hero-slide .hero-content .hero-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 28px;
}

.hero-slide .hero-content .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-nav-btn.active {
    background: var(--gold);
    width: 30px;
    border-radius: 10px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: none;
}
@media (min-width: 769px) { .hero-arrow { display: flex; align-items: center; justify-content: center; } }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-arrow-left { left: 20px; }
.hero-arrow-right { right: 20px; }

/* Features */
.features-strip { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 20px 0; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 769px) { .features-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.feature-item { display: flex; align-items: center; gap: 12px; padding: 12px; }
.feature-icon { width: 44px; height: 44px; background: var(--gold-glow); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; }
.feature-text strong { display: block; font-size: 0.85rem; }
.feature-text span { font-size: 0.75rem; color: var(--text-muted); }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 600px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.product-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.product-card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: var(--shadow-md); }
.product-card-image { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--bg-surface); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-card-actions { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(10px); transition: var(--transition); }
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-card-action-btn { width: 36px; height: 36px; background: rgba(10, 10, 15, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-primary); cursor: pointer; border: 1px solid rgba(255,255,255,0.1); }
.product-card-action-btn:hover { background: var(--gold); color: var(--bg-primary); }
.product-card-info { padding: 14px; }
.product-card-category { font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 4px; }
.product-card-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.product-card-price { display: flex; align-items: center; gap: 8px; }
.current-price { font-weight: 700; font-size: 1.05rem; color: var(--gold); }
.quick-add-btn { width: 100%; padding: 10px; background: var(--gold); color: var(--bg-primary); font-weight: 600; font-size: 0.8rem; border-radius: var(--radius-sm); cursor: pointer; border: none; margin-top: 10px; }
.quick-add-btn:hover { background: var(--gold-light); }
.quick-size-select { width: 100%; padding: 8px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.8rem; margin-top: 8px; }
.quick-size-select:focus { border-color: var(--gold); }

/* Categories */
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 600px) { .categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 769px) { .categories-grid { grid-template-columns: repeat(5, 1fr); } }
.category-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: var(--transition); border: 1px solid var(--border); }
.category-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.category-image { position: relative; overflow: hidden; aspect-ratio: 1; }
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.category-card:hover .category-image img { transform: scale(1.1); }
.category-card h3 { padding: 12px; font-size: 0.95rem; font-weight: 600; }
.category-card p { padding: 0 12px 12px; font-size: 0.8rem; color: var(--text-muted); }

/* Footer */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); }

.footer-main { padding: 60px 0 40px; border-bottom: 1px solid var(--border); }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 576px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-col h4 { color: var(--text-primary); font-size: 1rem; margin-bottom: 20px; font-weight: 600; }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo span { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }

.footer-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg-surface); border-radius: 50%; color: var(--text-secondary); transition: var(--transition); }
.footer-social a:hover { background: var(--gold); color: var(--bg-primary); }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.9rem; }
.footer-contact a { color: var(--text-secondary); }
.footer-contact a:hover { color: var(--gold); }

.footer-newsletter { margin-top: 20px; }
.footer-newsletter h4 { margin-bottom: 12px; }
.footer-newsletter form { display: flex; gap: 8px; }
.footer-newsletter input { flex: 1; padding: 10px 14px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.85rem; }
.footer-newsletter input:focus { border-color: var(--gold); }
.footer-newsletter button { padding: 10px 16px; background: var(--gold-gradient); border: none; border-radius: var(--radius-md); color: var(--bg-primary); cursor: pointer; transition: var(--transition); }
.footer-newsletter button:hover { transform: translateY(-2px); }

.footer-bottom { padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
@media (min-width: 769px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* Admin Modal */
.admin-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; z-index: 99999; padding: 20px; }
.admin-content { background: #1a1a25; border-radius: 16px; border: 1px solid #3a3a45; width: 100%; max-width: 900px; max-height: 90vh; overflow-y: auto; padding: 24px; }
.admin-login { text-align: center; }
.admin-login h2 { font-size: 24px; margin-bottom: 20px; color: #d4a853; }
.admin-login input { width: 100%; padding: 12px; margin-bottom: 12px; background: #12121a; border: 1px solid #3a3a45; border-radius: 8px; color: #f0f0f5; }
.admin-login button { width: 100%; padding: 14px; margin-top: 8px; }
.admin-dashboard h2 { font-size: 20px; margin-bottom: 20px; color: #d4a853; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.add-product-form { background: #12121a; padding: 20px; border-radius: 12px; margin: 20px 0; }
.add-product-form h3 { margin-bottom: 16px; }
.add-product-form .form-group { margin-bottom: 16px; }
.add-product-form .form-group label { display: block; color: #a0a0b0; font-size: 0.85rem; margin-bottom: 6px; }
.add-product-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .add-product-form .form-row { grid-template-columns: 1fr; } }
.add-product-form input, .add-product-form select, .add-product-form textarea { width: 100%; padding: 12px; margin-bottom: 12px; background: #1a1a25; border: 1px solid #3a3a45; border-radius: 8px; color: #f0f0f5; }
.add-product-form input:focus, .add-product-form select:focus, .add-product-form textarea:focus { border-color: var(--gold); }
.add-product-form button { margin-right: 8px; }

.multi-image-preview { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.multi-image-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 2px solid #3a3a45; }
.multi-image-preview .remove-img { position: absolute; top: -5px; right: -5px; background: #ef4444; color: white; border: none; border-radius: 50%; width: 20px; height: 20px; cursor: pointer; }

.size-chart-image-preview { margin-top: 10px; }
.size-chart-image-preview img { border: 2px solid var(--gold); }
.admin-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.admin-product-card { background: #12121a; border-radius: 12px; overflow: hidden; }
.admin-product-card img { width: 100%; height: 150px; object-fit: cover; }
.admin-product-card-info { padding: 12px; }
.admin-product-card-info h4 { font-size: 14px; margin-bottom: 4px; }
.admin-product-card-info p { color: #d4a853; font-weight: bold; }
.delete-btn { background: #f87171; color: white; padding: 6px 12px; border-radius: 6px; border: none; cursor: pointer; margin-top: 8px; width: 100%; }
.edit-btn { background: #3b82f6; color: white; padding: 6px 12px; border-radius: 6px; border: none; cursor: pointer; margin-top: 8px; width: 100%; margin-bottom: 4px; }
.edit-btn:hover { background: #2563eb; }
.admin-product-actions { display: flex; gap: 8px; }
.admin-product-actions button { flex: 1; }

/* Cart Sidebar */
.cart-sidebar { position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px; height: 100vh; background: var(--bg-secondary); z-index: 2000; transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.cart-sidebar.active { right: 0; }
.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1999; opacity: 0; transition: opacity 0.3s ease; }
.cart-overlay.active { display: block; opacity: 1; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.cart-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; }
.cart-item-info p { color: var(--gold); font-weight: 600; }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: bold; margin-bottom: 16px; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; display: none; }
.cart-overlay.active { display: block; }

/* Mobile Responsive */
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-section { padding: 40px 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-info { padding: 10px; }
  .product-card-title { font-size: 0.8rem; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.5rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .nav-links.active { right: 0; }
  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  
  /* Mobile Cart */
  .cart-sidebar {
    width: 100%;
    max-width: 100%;
  }
  
  /* Mobile Modals */
  .auth-container { padding: 24px 16px; }
  .product-details-modal { padding: 0; }
  .product-details-content { padding: 16px; }
  
  /* Mobile Buttons */
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .quick-add-btn { padding: 8px 12px; font-size: 0.75rem; }
  
  /* Mobile Inputs */
  .form-group input, .form-group select, .form-group textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  /* Mobile Cards */
  .product-card { border-radius: 8px; }
  .product-card-image img { height: 140px; }
  
  /* Mobile Header */
  .header-container { padding: 12px 16px; }
  .header-actions { gap: 8px; }
  .action-btn { width: 36px; height: 36px; }
  
  /* Mobile Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-section { padding: 0 8px; }
}

/* Tablet Responsive */
@media (min-width: 481px) and (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
}

/* Auth Modal */
.auth-modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 16px; }
.auth-modal.active { display: flex; }
.auth-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2999; display: none; }
.auth-overlay.active { display: block; }

.auth-container { background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 400px; position: relative; box-shadow: var(--shadow-lg); animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.auth-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; transition: var(--transition); }
.auth-close:hover { color: var(--text-primary); }

.auth-header { text-align: center; margin-bottom: 24px; }
.auth-header i { font-size: 3rem; color: var(--gold); margin-bottom: 12px; }
.auth-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.auth-header p { color: var(--text-secondary); font-size: 0.9rem; }

.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px; }
.auth-form input { width: 100%; padding: 12px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); transition: var(--transition); }
.auth-form input:focus { border-color: var(--gold); }

.forgot-link { color: var(--gold); font-size: 0.85rem; }
.forgot-link:hover { text-decoration: underline; }

.btn-block { width: 100%; }

.auth-footer { text-align: center; margin-top: 20px; color: var(--text-secondary); font-size: 0.9rem; }
.auth-footer a { color: var(--gold); }
.auth-footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-container { padding: 24px 20px; }
  .auth-header i { font-size: 2.5rem; }
  .auth-header h2 { font-size: 1.3rem; }
}

/* Product Details Modal */
.product-details-modal { position: fixed; inset: 0; z-index: 4000; display: none; align-items: center; justify-content: center; padding: 16px; }
.product-details-modal.active { display: flex; }
.product-details-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 3999; display: none; }
.product-details-overlay.active { display: block; }

.product-details-container { background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 900px; max-height: 90vh; overflow-y: auto; position: relative; animation: slideUp 0.3s ease; }

.product-details-close { position: absolute; top: 16px; right: 16px; background: var(--bg-surface); border: none; color: var(--text-secondary); font-size: 1.2rem; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; transition: var(--transition); z-index: 10; }
.product-details-close:hover { color: var(--text-primary); background: var(--bg-card-hover); }

.product-details-content { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 768px) { 
  .product-details-content { grid-template-columns: 1fr; }
  .product-details-modal { padding: 0; }
  .product-details-container { 
    max-width: 100%; 
    max-height: 100%; 
    height: 100%; 
    border-radius: 0; 
  }
}

.product-details-image { height: 100%; min-height: 400px; position: relative; }
.product-details-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.product-image-gallery { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 8px; }
.product-image-gallery img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.product-image-gallery img:hover { border-color: var(--gold); }
.product-image-gallery img.active { border-color: var(--gold); }
@media (max-width: 768px) { 
  .product-details-image img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .product-details-image { min-height: 300px; }
}

.product-details-info { padding: 32px; display: flex; flex-direction: column; gap: 16px; }

.product-details-category { color: var(--gold); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.product-details-info h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-primary); }

.product-details-price { font-size: 1.5rem; font-weight: 700; color: var(--gold); }

.product-details-description { color: var(--text-secondary); line-height: 1.7; }

.product-details-specs { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--bg-surface); border-radius: var(--radius-md); }
.spec-item { display: flex; justify-content: space-between; }
.spec-label { color: var(--text-muted); }
.spec-value { color: var(--text-primary); font-weight: 500; }

.product-details-actions { display: flex; gap: 12px; margin-top: auto; }
.product-details-actions .btn { flex: 1; }

.detail-size-select { padding: 8px 12px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.9rem; width: 100%; }
.detail-size-select:focus { border-color: var(--gold); }

/* Orders Modal */
.orders-modal { position: fixed; inset: 0; z-index: 3500; display: none; align-items: center; justify-content: center; padding: 16px; }
.orders-modal.active { display: flex; }
.orders-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 3499; display: none; }
.orders-overlay.active { display: block; }

.orders-container { background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 600px; max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; }

.orders-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.orders-header h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.orders-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; }

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

.orders-login-message { text-align: center; padding: 40px 20px; }
.orders-login-message i { font-size: 3rem; color: var(--gold); margin-bottom: 16px; }
.orders-login-message p { color: var(--text-secondary); margin-bottom: 20px; }

.no-orders-message { text-align: center; padding: 40px 20px; }
.no-orders-message i { font-size: 3rem; color: var(--text-muted); margin-bottom: 16px; }
.no-orders-message p { color: var(--text-secondary); margin-bottom: 20px; }

.orders-list { display: flex; flex-direction: column; gap: 16px; }

.order-card { background: var(--bg-surface); border-radius: var(--radius-md); padding: 16px; }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.order-info { display: flex; flex-direction: column; gap: 4px; }
.order-id { font-weight: 600; color: var(--text-primary); }
.order-date { font-size: 0.8rem; color: var(--text-muted); }
.order-status { font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; font-weight: 600; }
.status-Pending { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.status-Confirmed { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.status-Shipped { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }
.status-Delivered { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.status-Cancelled { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.order-items { display: flex; flex-direction: column; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.order-item { display: flex; gap: 12px; align-items: center; }
.order-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; }
.order-item-info { flex: 1; }
.order-item-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.order-item-info p { font-size: 0.8rem; color: var(--text-secondary); }
.order-item-total { font-weight: 600; color: var(--gold); }

.order-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; flex-wrap: wrap; gap: 10px; }
.order-footer .btn-danger { padding: 8px 16px; font-size: 0.8rem; }

.auto-status-update { color: var(--gold); font-size: 0.85rem; font-style: italic; }

.order-count-badge { background: var(--gold); color: var(--bg-primary); padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; font-weight: 600; margin-left: 8px; }
.order-total { display: flex; gap: 20px; font-size: 1.1rem; font-weight: 700; }
.order-total span:last-child { color: var(--gold); }

/* Wishlist Modal */
.wishlist-modal { position: fixed; inset: 0; z-index: 3600; display: none; align-items: center; justify-content: center; padding: 16px; }
.wishlist-modal.active { display: flex; }
.wishlist-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 3599; display: none; }
.wishlist-overlay.active { display: block; }

.wishlist-container { background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 500px; max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; }

.wishlist-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.wishlist-header h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.wishlist-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; }

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

.wishlist-empty { text-align: center; padding: 40px 20px; }
.wishlist-empty i { font-size: 3rem; color: var(--text-muted); margin-bottom: 16px; }
.wishlist-empty p { color: var(--text-secondary); margin-bottom: 20px; }

.wishlist-items { display: flex; flex-direction: column; gap: 12px; }

.wishlist-item { display: flex; gap: 12px; padding: 12px; background: var(--bg-surface); border-radius: var(--radius-md); }
.wishlist-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.wishlist-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.wishlist-item-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.wishlist-item-category { font-size: 0.75rem; color: var(--text-muted); }
.wishlist-item-price { font-weight: 600; color: var(--gold); margin-top: 4px; }

.wishlist-item-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.wishlist-item-actions .btn { flex: 1; min-width: 100px; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-danger { background: var(--error); color: white; }
.btn-danger:hover { background: #dc2626; }

/* Delete Account Modal */
.delete-account-modal { position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; padding: 16px; }
.delete-account-modal.active { display: flex; }
.delete-account-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 4999; display: none; }
.delete-account-overlay.active { display: block; }

.delete-account-container { background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 400px; text-align: center; animation: slideUp 0.3s ease; }

.delete-account-icon { font-size: 3rem; color: #ef4444; margin-bottom: 16px; }
.delete-account-container h2 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text-primary); }
.delete-account-container > p { color: var(--text-secondary); margin-bottom: 12px; }
.delete-warning { color: #ef4444 !important; font-size: 0.85rem; font-weight: 500; }

.delete-account-container .form-group { margin-bottom: 16px; text-align: left; }
.delete-account-container label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px; }
.delete-account-container input { width: 100%; padding: 12px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); }
.delete-account-container input:focus { border-color: var(--gold); }

.btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.btn-danger:hover { transform: translateY(-2px); }

/* Checkout Modal */
.checkout-modal { position: fixed; inset: 0; z-index: 4500; display: none; align-items: center; justify-content: center; padding: 16px; }
.checkout-modal.active { display: flex; }
.checkout-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 4499; display: none; }
.checkout-overlay.active { display: block; }

.checkout-container { background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 700px; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; }

.checkout-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.checkout-header h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.checkout-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; }

.checkout-content { padding: 20px; }

.checkout-form-section h3 { font-size: 1rem; color: var(--gold); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.checkout-form-section .form-group { margin-bottom: 16px; }
.checkout-form-section label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px; }
.checkout-form-section input, .checkout-form-section textarea, .checkout-form-section select { width: 100%; padding: 12px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.9rem; }
.checkout-form-section input:focus, .checkout-form-section textarea:focus, .checkout-form-section select:focus { border-color: var(--gold); }

#checkoutProducts { margin: 16px 0; }

.checkout-product { display: flex; gap: 12px; padding: 12px; background: var(--bg-surface); border-radius: var(--radius-md); margin-bottom: 12px; }
.checkout-product-image { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.checkout-product-info { flex: 1; }
.checkout-product-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.checkout-product-info p { font-size: 0.8rem; color: var(--text-secondary); }
.checkout-product-price { font-weight: 600; color: var(--gold); }

.product-options { display: flex; gap: 12px; margin-top: 8px; }
.product-options select { flex: 1; padding: 6px 10px; font-size: 0.8rem; }

.checkout-totals { background: var(--bg-surface); border-radius: var(--radius-md); padding: 16px; margin: 20px 0; }
.total-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-secondary); }
.total-row.total-final { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.total-row.total-final span:last-child { color: var(--gold); font-size: 1.2rem; }

.checkout-form-section .btn-block { margin-top: 16px; }

/* Policy Modals */
.policy-modal { position: fixed; inset: 0; z-index: 5500; display: none; align-items: center; justify-content: center; padding: 16px; }
.policy-modal.active { display: flex; }
.policy-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 5499; display: none; }
.policy-overlay.active { display: block; }

.policy-container { background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 600px; max-height: 80vh; overflow-y: auto; }

.policy-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.policy-header h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.policy-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; }

.policy-content { padding: 24px; }
.policy-content h4 { color: var(--gold); font-size: 0.95rem; margin: 20px 0 10px; }
.policy-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 12px; }
.policy-content p:first-child { margin-bottom: 20px; }

/* Profile Modal */
.profile-modal { position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; padding: 16px; }
.profile-modal.active { display: flex; }
.profile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 4999; display: none; }
.profile-overlay.active { display: block; }

.profile-container { background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 500px; max-height: 80vh; overflow-y: auto; }

.profile-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.profile-header h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.profile-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; }

.profile-content { padding: 20px; }

.profile-login-message { text-align: center; padding: 40px 20px; }
.profile-login-message i { font-size: 3rem; color: var(--gold); margin-bottom: 16px; }
.profile-login-message p { color: var(--text-secondary); margin-bottom: 20px; }

.profile-form-section .form-group { margin-bottom: 16px; }
.profile-form-section label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px; }
.profile-form-section input, .profile-form-section textarea { width: 100%; padding: 12px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); }
.profile-form-section input:focus, .profile-form-section textarea:focus { border-color: var(--gold); }
.profile-form-section input[readonly] { background: var(--bg-secondary); cursor: not-allowed; }

.profile-danger-zone { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: var(--radius-md); padding: 16px; }

.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: 998; }
.mobile-nav-overlay.active { display: block; }

.mobile-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100%; background: var(--bg-secondary); z-index: 999; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.mobile-nav.active { transform: translateX(0); }

.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.mobile-nav-header h3 { font-family: var(--font-display); color: var(--gold); }
.mobile-nav-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; }

.mobile-nav-links { padding: 16px; }
.mobile-nav-links a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text-secondary); text-decoration: none; border-radius: var(--radius-sm); transition: var(--transition); }
.mobile-nav-links a:hover, .mobile-nav-links a.active { background: var(--bg-card); color: var(--gold); }
.mobile-nav-links a i { width: 20px; text-align: center; }

.mobile-nav-divider { height: 1px; background: var(--border); margin: 8px 0; }

.mobile-nav-actions { padding: 0 16px 16px; }
.mobile-nav-actions button { width: 100%; padding: 14px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); cursor: pointer; transition: var(--transition); font-size: 1rem; }
.mobile-nav-actions button:active { background: var(--bg-card-hover); transform: scale(0.98); }
.mobile-nav-actions button:hover { background: var(--bg-card-hover); color: var(--gold); }
.mobile-nav-actions .btn-primary { background: var(--gold-gradient); color: var(--bg-primary); border: none; font-weight: 600; }

/* Mobile Optimizations */
@media (max-width: 768px) {
    * { -webkit-tap-highlight-color: transparent; -webkit-overflow-scrolling: touch; }
    html { scroll-behavior: smooth; }
    
    body { -webkit-font-smoothing: antialiased; }
    
    .header-actions { display: none !important; }
    .mobile-nav { display: block; }
    
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card { padding: 6px; border-radius: 8px; touch-action: manipulation; }
    .product-card:active { transform: scale(0.98); }
    .product-card-image { aspect-ratio: 1; }
    .product-card-info { padding: 8px; }
    .product-card-category { font-size: 0.6rem; }
    .product-card-title { font-size: 0.75rem; margin-bottom: 4px; line-height: 1.2; }
    .current-price { font-size: 0.9rem; }
    .quick-size-select { padding: 6px; font-size: 0.7rem; margin-top: 4px; }
    .quick-add-btn { padding: 8px; font-size: 0.7rem; margin-top: 6px; }
    .product-card-action-btn { width: 30px; height: 30px; font-size: 0.9rem; }
    
    .hero-section { height: 280px; }
    .hero-slide { background-position: center center; }
    .hero-content { padding: 0 16px; text-align: center; }
    .hero-badge { font-size: 0.7rem; padding: 6px 12px; }
    .hero-title { font-size: 1.4rem; line-height: 1.2; }
    .hero-subtitle { font-size: 0.8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-actions { flex-direction: column; gap: 8px; }
    .hero-actions .btn { width: 100%; padding: 12px 20px; font-size: 0.9rem; }
    .hero-nav { bottom: 12px; }
    .hero-nav-btn { width: 8px; height: 8px; }
    .hero-nav-btn.active { width: 24px; }
    
    .container { padding: 0 12px; max-width: 100%; }
    .section { padding: 24px 0; }
    .section-title { font-size: 1.3rem; }
    .section-tag { font-size: 0.65rem; padding: 4px 10px; }
    .section-header { margin-bottom: 24px; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .feature-item { padding: 8px; }
    .feature-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .feature-text strong { font-size: 0.75rem; }
    .feature-text span { font-size: 0.65rem; }
    
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-card h3 { font-size: 0.85rem; padding: 8px; }
    .category-card p { font-size: 0.7rem; padding: 0 8px 8px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-col { text-align: center; padding: 0 12px; }
    .footer-col h4 { font-size: 0.95rem; }
    .footer-links a { font-size: 0.85rem; }
    .footer-contact li { font-size: 0.8rem; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 0.75rem; }
    .footer-newsletter form { flex-direction: column; }
    .footer-newsletter input { width: 100%; }
    .footer-newsletter button { width: 100%; }
    
    .cart-sidebar { width: 100%; right: -100%; }
    .cart-sidebar.active { right: 0; }
    .cart-header { padding: 16px; }
    .cart-header h3 { font-size: 1.1rem; }
    .cart-items { padding: 12px; }
    .cart-item { padding: 10px 0; }
    .cart-item img { width: 50px; height: 50px; }
    .cart-item-info h4 { font-size: 0.85rem; }
    .cart-footer { padding: 16px; }
    .cart-total { font-size: 1rem; }
    
    .checkout-container { width: 100%; height: 100%; max-height: 100vh; border-radius: 0; }
    .checkout-header { padding: 16px; }
    .checkout-header h2 { font-size: 1.1rem; }
    .checkout-content { padding: 12px; }
    .checkout-form-section { padding: 12px; }
    .checkout-form-section h3 { font-size: 0.95rem; }
    .form-row { flex-direction: column; gap: 10px; }
    .form-group { margin-bottom: 10px; }
    .form-group label { font-size: 0.8rem; }
    .checkout-form-section input, .checkout-form-section select, .checkout-form-section textarea { padding: 10px 12px; font-size: 0.9rem; }
    .checkout-product { padding: 10px; }
    .checkout-product-image { width: 50px; height: 50px; }
    .checkout-product-info h4 { font-size: 0.85rem; }
    .checkout-totals { padding: 12px; }
    
    .btn { min-height: 44px; touch-action: manipulation; font-size: 0.9rem; padding: 12px 20px; }
    .btn:active { transform: scale(0.97); }
    .btn-lg { padding: 14px 24px; font-size: 1rem; }
    .btn-sm { padding: 8px 14px; font-size: 0.8rem; }
    
    .modal { padding: 10px; }
    .modal-content { padding: 14px; border-radius: 12px; }
    
    .product-details-container { flex-direction: column; height: 100vh; border-radius: 0; }
    .product-details-image { height: 40vh; min-height: 200px; }
    .product-details-image img { border-radius: 0; }
    .product-image-gallery { gap: 6px; }
    .product-image-gallery img { width: 50px; height: 50px; }
    .product-details-info { height: 60vh; overflow-y: auto; padding: 14px; }
    .product-details-category { font-size: 0.75rem; }
    .product-details-info h2 { font-size: 1.3rem; }
    .product-details-price { font-size: 1.2rem; }
    .product-details-description { font-size: 0.9rem; }
    .product-details-specs { padding: 12px; }
    .spec-item { font-size: 0.85rem; }
    .detail-size-select { padding: 10px; font-size: 0.9rem; }
    .product-details-actions { flex-direction: column; gap: 8px; position: sticky; bottom: 0; padding: 12px 0; background: var(--bg-card); margin: 0 -14px -14px; padding: 12px 14px; }
    .product-details-close { top: 10px; right: 10px; width: 32px; height: 32px; }
    
    .admin-modal { padding: 10px; }
    .admin-content { padding: 14px; border-radius: 12px; }
    .admin-header { flex-direction: column; gap: 10px; text-align: center; }
    .add-product-form { padding: 12px; }
    .add-product-form h3 { font-size: 1.1rem; }
    .add-product-form .form-row { grid-template-columns: 1fr; }
    .add-product-form input, .add-product-form select, .add-product-form textarea { padding: 10px; font-size: 0.9rem; }
    .admin-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .admin-product-card img { height: 100px; }
    .admin-product-card-info { padding: 8px; }
    .admin-product-card-info h4 { font-size: 0.8rem; }
    .admin-product-actions { flex-direction: column; gap: 4px; }
    .edit-btn, .delete-btn { padding: 6px 8px; font-size: 0.7rem; }
    
    .auth-container { padding: 20px 16px; }
    .auth-header i { font-size: 2.5rem; }
    .auth-header h2 { font-size: 1.3rem; }
    .auth-form input { padding: 12px 14px; }
    
    .orders-container { max-height: 85vh; }
    .orders-header { padding: 14px; }
    .orders-header h2 { font-size: 1.1rem; }
    .orders-content { padding: 12px; }
    .order-card { padding: 12px; }
    .order-header { flex-wrap: wrap; gap: 8px; }
    .order-id { font-size: 0.85rem; }
    .order-item { padding: 8px 0; }
    .order-item img { width: 40px; height: 40px; }
    .order-item-info h4 { font-size: 0.8rem; }
    
    .wishlist-container { max-height: 85vh; }
    .wishlist-header { padding: 14px; }
    .wishlist-content { padding: 12px; }
    .wishlist-item { padding: 10px; }
    .wishlist-item img { width: 55px; height: 55px; }
    .wishlist-item-info h4 { font-size: 0.85rem; }
    
    .search-wrapper { width: 100%; }
    .search-wrapper input { width: 100%; font-size: 0.9rem; }
    .announcement-bar { font-size: 0.65rem; padding: 4px 8px; }
    .category-card { min-height: 80px; }
    .category-card h3 { font-size: 0.85rem; }
    
    .quick-add-btn { width: 100%; display: block; }
    .product-card-price { margin-top: 4px; }
    
    .header-container { padding: 10px 12px; }
    .logo { font-size: 1rem; }
    .logo-icon { width: 32px; height: 32px; }
    .nav-link { padding: 8px 12px; font-size: 0.85rem; }
    .mobile-menu-btn { padding: 6px; }
    
    input, select, textarea { font-size: 16px; min-height: 44px; }
    .action-btn { min-width: 40px; min-height: 40px; }
    .badge { font-size: 0.55rem; width: 16px; height: 16px; }
    
    .policy-container { max-width: 95%; margin: 8px; max-height: 85vh; }
    .policy-header { padding: 14px; }
    .policy-content { padding: 14px; }
    .profile-container { max-width: 95%; max-height: 85vh; }
    
    .sizePriceFields { margin-top: 8px; }
    .size-price-input { padding: 8px !important; font-size: 0.85rem !important; }
    #sizePriceContainer label { font-size: 0.8rem; }
    
    .size-chart-section { margin-top: 10px; }
    .size-chart-toggle { padding: 10px; font-size: 0.85rem; }
    .size-chart-content { padding: 10px; }
    .size-chart-content pre { font-size: 0.8rem; }
}
    .product-details-actions { position: sticky; bottom: 0; padding: 12px 0; margin-top: 12px; }
    .product-details-actions .btn { flex: 1; }
    .search-wrapper { width: 100%; }
    .search-wrapper input { width: 100%; }
    .announcement-bar { font-size: 0.7rem; padding: 6px 12px; }
    .category-card { min-height: 100px; }
    .category-card h3 { font-size: 1rem; }
    input, select, textarea { font-size: 16px; min-height: 44px; }
    .action-btn { min-width: 40px; min-height: 40px; }
    .badge { font-size: 0.6rem; width: 16px; height: 16px; }
}

@media (max-width: 480px) {
    .hero-section { height: 300px; }
    .hero-title { font-size: 1.4rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card img { height: 100px; }
    .product-card h3 { font-size: 0.8rem; }
    .product-card .price { font-size: 0.9rem; }
    .modal-content { padding: 12px; }
    .policy-container { max-width: 95%; margin: 12px; }
    .policy-content { padding: 16px; max-height: 70vh; overflow-y: auto; }
}

.profile-danger-zone { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: var(--radius-md); padding: 16px; }
.profile-danger-zone h4 { color: #ef4444; font-size: 0.95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.profile-danger-zone p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 16px; }

.size-chart-section { margin-top: 12px; }
.size-chart-toggle { width: 100%; padding: 12px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--gold); font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--transition); }
.size-chart-toggle:hover { background: var(--gold-glow); border-color: var(--gold); }
.size-chart-content { display: none; margin-top: 10px; padding: 12px; background: var(--bg-surface); border-radius: var(--radius-md); border: 1px solid var(--border); }
.size-chart-content pre { white-space: pre-wrap; word-wrap: break-word; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; font-family: var(--font-body); }

.scroll-hint { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; color: var(--text-muted); font-size: 0.75rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (min-width: 769px) { .scroll-hint { display: none !important; } }

.order-tracking-modal { position: fixed; inset: 0; z-index: 4500; display: none; align-items: center; justify-content: center; padding: 16px; }
.order-tracking-modal.active { display: flex; }
.order-tracking-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 4499; display: none; }
.order-tracking-overlay.active { display: block; }

.order-tracking-container { background: var(--bg-card); border-radius: var(--radius-lg); width: 100%; max-width: 450px; max-height: 90vh; overflow-y: auto; }

.order-tracking-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.order-tracking-header h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.order-tracking-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; }

.order-tracking-content { padding: 20px; }

.order-timer-section { text-align: center; margin-bottom: 20px; padding: 20px; background: var(--bg-surface); border-radius: var(--radius-md); }
.timer-label { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 8px; }
.order-timer { font-size: 2rem; font-weight: 700; color: var(--gold); font-family: monospace; }
.timer-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 8px; }

.order-tracking-result { margin-top: 20px; }
.tracked-order-card { background: var(--bg-surface); padding: 16px; border-radius: var(--radius-md); }
.tracked-order-card h4 { color: var(--gold); margin-bottom: 12px; }
.tracked-order-card p { margin-bottom: 8px; font-size: 0.9rem; }

.cancel-order-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

.status-Pending { color: var(--gold); }
.status-Confirmed { color: #3b82f6; }
.status-Shipped { color: #8b5cf6; }
.status-Delivered { color: var(--success); }
.status-Cancelled { color: var(--error); }

/* Mobile Optimization */
@media (max-width: 480px) {
  /* Prevent unwanted zoom on input */
  input, select, textarea { font-size: 16px !important; }
  
  /* Touch-friendly buttons */
  .action-btn, .quick-add-btn, .product-card-action-btn {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* Smooth scroll */
  html { -webkit-overflow-scrolling: touch; }
  
  /* Better tap highlight */
  a, button { -webkit-tap-highlight-color: rgba(212, 168, 83, 0.3); }
  
  /* Mobile product card */
  .product-card-image img { height: 140px; }
  .product-card-info { padding: 10px; }
  .product-card-title { font-size: 0.8rem; }
  .product-card-price { font-size: 0.85rem; }
  
  /* Mobile header */
  .header { padding: 8px 0; }
  .header-actions { gap: 4px; }
  .action-btn { width: 32px; height: 32px; font-size: 1rem; }
  
  /* Mobile nav menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 1001;
  }
  .nav-links.active { right: 0; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  
  /* Mobile cart */
  .cart-sidebar { width: 100%; max-width: 100%; }
  
  /* Mobile modals */
  .auth-container { padding: 20px 16px; margin: 16px; }
  .product-details-modal { padding: 0; }
  .product-details-content { padding: 16px; }
  
  /* Mobile admin */
  .admin-content { padding: 16px; }
  .add-product-form { padding: 16px; }
  
  /* Mobile forms */
  .form-group input, .form-group select, .form-group textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  /* Mobile footer */
  .footer { padding: 40px 16px 20px; }
  .footer-grid { gap: 24px; }
  
  /* Hide scroll hint on mobile */
  .scroll-hint { display: none !important; }
}

/* Better small screen product grid */
@media (max-width: 360px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-card-title { font-size: 0.75rem; }
}
