* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #2563eb; --primary-dark: #1d4ed8; --primary-light: #dbeafe;
  --accent: #ea580c; --accent-dark: #c2410c; --accent-light: #fff7ed;
  --dark: #0f172a; --gray-900: #1e293b; --gray-700: #334155;
  --gray-500: #64748b; --gray-300: #cbd5e1; --gray-100: #f1f5f9;
  --white: #ffffff; --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px; --radius-sm: 8px; --transition: 0.2s ease;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--dark); background: var(--gray-100); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; outline: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Header */
.header { background: var(--dark); color: var(--white); position: sticky; top: 0; z-index: 1000; }
.header-top { display: flex; align-items: center; gap: 16px; padding: 12px 24px; max-width: 1400px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 800; color: var(--white); cursor: pointer; flex-shrink: 0; }
.logo span { color: var(--accent); }
.logo i { color: var(--accent); font-size: 28px; }
.search-bar { flex: 1; display: flex; max-width: 600px; margin: 0 16px; }
.search-bar input { flex: 1; padding: 10px 16px; border: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 14px; background: var(--white); color: var(--dark); }
.search-bar input::placeholder { color: var(--gray-500); }
.search-bar button { padding: 10px 20px; background: var(--accent); color: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 16px; transition: background var(--transition); }
.search-bar button:hover { background: var(--accent-dark); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions button { color: var(--white); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; display: flex; align-items: center; gap: 6px; transition: background var(--transition); position: relative; }
.header-actions button:hover { background: rgba(255,255,255,0.1); }
.cart-count { position: absolute; top: 2px; right: 4px; background: var(--accent); color: var(--white); font-size: 10px; padding: 1px 5px; border-radius: 10px; font-weight: 700; min-width: 18px; text-align: center; }

/* Category Nav */
.category-nav { background: var(--gray-900); padding: 0 24px; overflow-x: auto; }
.category-nav ul { display: flex; gap: 0; max-width: 1400px; margin: 0 auto; }
.category-nav li { white-space: nowrap; }
.category-nav a { display: block; padding: 10px 16px; color: var(--gray-300); font-size: 13px; transition: color var(--transition), background var(--transition); }
.category-nav a:hover, .category-nav a.active { color: var(--accent); background: rgba(234,88,12,0.1); }

/* Main Content */
.main-content { min-height: calc(100vh - 130px); padding-bottom: 40px; }

/* Hero Banner */
.hero-banner { position: relative; overflow: hidden; height: 360px; margin: 0 24px; border-radius: 0 0 var(--radius) var(--radius); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; padding: 48px; background-size: cover; background-position: center; transition: opacity 0.5s ease; opacity: 0; }
.hero-slide.active { opacity: 1; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%); }
.hero-content { position: relative; z-index: 1; max-width: 500px; color: var(--white); }
.hero-content h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; line-height: 1.2; }
.hero-content p { font-size: 16px; margin-bottom: 20px; opacity: 0.9; }
.hero-content .btn-primary { display: inline-block; padding: 12px 32px; background: var(--accent); color: var(--white); border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; transition: background var(--transition), transform var(--transition); }
.hero-content .btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.hero-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; transition: background var(--transition); }
.hero-dot.active { background: var(--white); }

/* Sections */
.section { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin: 32px 0 16px; }
.section-header h2 { font-size: 22px; font-weight: 700; }
.section-header .view-all { color: var(--primary); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.section-header .view-all:hover { color: var(--primary-dark); }

/* Categories Grid */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); box-shadow: var(--shadow); }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px; color: var(--white); }
.category-card h3 { font-size: 14px; font-weight: 600; }
.category-card p { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); box-shadow: var(--shadow); position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; z-index: 2; }
.product-wishlist { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--gray-500); box-shadow: var(--shadow); transition: color var(--transition); z-index: 2; }
.product-wishlist:hover, .product-wishlist.active { color: #dc2626; }
.product-image { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--gray-100); }
.product-info { padding: 16px; }
.product-name { font-size: 14px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; min-height: 40px; }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 8px; }
.product-rating .stars { color: #f59e0b; }
.product-rating span { color: var(--gray-500); }
.product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.product-price .current { font-size: 18px; font-weight: 700; color: var(--dark); }
.product-price .original { font-size: 13px; color: var(--gray-500); text-decoration: line-through; }
.product-price .discount { font-size: 12px; color: #059669; font-weight: 600; }
.add-to-cart-btn { width: 100%; padding: 10px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: background var(--transition); display: flex; align-items: center; justify-content: center; gap: 6px; }
.add-to-cart-btn:hover { background: var(--primary-dark); }
.add-to-cart-btn.added { background: #059669; }

/* Deals Section */
.deals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.deal-card { border-radius: var(--radius); overflow: hidden; position: relative; height: 200px; cursor: pointer; }
.deal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.deal-card:hover img { transform: scale(1.05); }
.deal-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, transparent 100%); display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.deal-overlay .tag { display: inline-block; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; margin-bottom: 8px; width: fit-content; }
.deal-overlay h3 { color: var(--white); font-size: 22px; font-weight: 700; }
.deal-overlay p { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 4px; }

/* Product Listing Page */
.listing-page { display: flex; gap: 24px; max-width: 1400px; margin: 24px auto; padding: 0 24px; }
.filter-sidebar { width: 280px; flex-shrink: 0; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 130px; }
.filter-sidebar h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-700); padding: 4px 0; cursor: pointer; }
.filter-group input[type="checkbox"], .filter-group input[type="radio"] { accent-color: var(--primary); }
.filter-group .price-range { display: flex; gap: 8px; align-items: center; }
.filter-group .price-range input { width: 100%; padding: 6px 8px; border: 1px solid var(--gray-300); border-radius: 4px; font-size: 13px; }
.filter-sidebar .apply-btn { width: 100%; padding: 10px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; }
.filter-sidebar .apply-btn:hover { background: var(--primary-dark); }
.listing-main { flex: 1; min-width: 0; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.listing-toolbar .result-count { font-size: 14px; color: var(--gray-500); }
.listing-toolbar .sort-select { padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 13px; background: var(--white); }

/* Product Detail Page */
.detail-page { max-width: 1400px; margin: 24px auto; padding: 0 24px; }
.detail-breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }
.detail-breadcrumb span { color: var(--dark); }
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.detail-gallery { position: relative; }
.detail-main-image { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); background: var(--gray-100); cursor: zoom-in; }
.detail-thumbnails { display: flex; gap: 8px; margin-top: 12px; }
.detail-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.detail-thumb.active, .detail-thumb:hover { border-color: var(--primary); }
.detail-info .brand { font-size: 13px; color: var(--primary); font-weight: 500; margin-bottom: 4px; }
.detail-info h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.detail-rating .stars { color: #f59e0b; font-size: 14px; }
.detail-rating span { font-size: 13px; color: var(--gray-500); }
.detail-price { margin: 16px 0; }
.detail-price .current { font-size: 28px; font-weight: 800; }
.detail-price .original { font-size: 16px; color: var(--gray-500); text-decoration: line-through; margin-left: 8px; }
.detail-price .discount { font-size: 14px; color: #059669; font-weight: 600; margin-left: 8px; }
.detail-price .tax-info { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.detail-offers { background: var(--accent-light); padding: 14px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-size: 13px; }
.detail-offers i { color: var(--accent); margin-right: 6px; }
.detail-offers p { margin: 4px 0; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.detail-spec { background: var(--gray-100); padding: 8px 12px; border-radius: 6px; font-size: 12px; color: var(--gray-700); display: flex; align-items: center; gap: 6px; }
.detail-spec i { color: var(--primary); }
.detail-info .sizes, .detail-info .colors { margin: 12px 0; }
.detail-info .sizes h4, .detail-info .colors h4 { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.size-options, .color-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn { padding: 8px 16px; border: 1px solid var(--gray-300); border-radius: 6px; font-size: 13px; transition: all var(--transition); }
.size-btn:hover, .size-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.color-btn { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; transition: border-color var(--transition); }
.color-btn.active, .color-btn:hover { border-color: var(--primary); }
.detail-actions { display: flex; gap: 12px; margin-top: 20px; }
.detail-actions .btn-buy, .detail-actions .btn-cart { flex: 1; padding: 14px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: all var(--transition); }
.detail-actions .btn-buy { background: var(--accent); color: var(--white); }
.detail-actions .btn-buy:hover { background: var(--accent-dark); }
.detail-actions .btn-cart { background: var(--primary); color: var(--white); }
.detail-actions .btn-cart:hover { background: var(--primary-dark); }
.detail-delivery { margin-top: 16px; padding: 16px; background: var(--gray-100); border-radius: var(--radius-sm); font-size: 13px; }
.detail-delivery i { color: #059669; margin-right: 6px; }
.detail-delivery p { margin: 4px 0; }
.detail-reviews { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--gray-300); }
.detail-reviews h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.review-card { background: var(--white); padding: 16px; border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--primary); }
.review-user { font-weight: 600; font-size: 13px; }
.review-date { font-size: 12px; color: var(--gray-500); }
.review-stars { color: #f59e0b; font-size: 12px; margin-left: auto; }
.review-text { font-size: 14px; color: var(--gray-700); line-height: 1.5; }

/* Cart Page */
.cart-page { max-width: 1200px; margin: 24px auto; padding: 0 24px; }
.cart-page h1 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.cart-empty i { font-size: 48px; margin-bottom: 16px; color: var(--gray-300); }
.cart-empty p { font-size: 18px; margin-bottom: 16px; }
.cart-empty .btn-shop { padding: 12px 32px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); font-weight: 600; display: inline-block; }
.cart-content { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; gap: 16px; background: var(--white); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.cart-item img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); background: var(--gray-100); }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-item-price { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cart-item-actions { display: flex; align-items: center; gap: 12px; }
.qty-controls { display: flex; align-items: center; border: 1px solid var(--gray-300); border-radius: 6px; overflow: hidden; }
.qty-controls button { width: 32px; height: 32px; font-size: 14px; transition: background var(--transition); }
.qty-controls button:hover { background: var(--gray-100); }
.qty-controls span { width: 40px; text-align: center; font-size: 14px; font-weight: 500; }
.cart-item-remove { color: var(--gray-500); font-size: 13px; padding: 4px 8px; }
.cart-item-remove:hover { color: #dc2626; }
.cart-summary { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: sticky; top: 130px; }
.cart-summary h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: var(--gray-700); }
.summary-row.total { font-size: 18px; font-weight: 700; color: var(--dark); padding-top: 12px; border-top: 1px solid var(--gray-100); margin-top: 8px; }
.summary-row.saved { color: #059669; font-weight: 500; }
.checkout-btn { width: 100%; padding: 14px; background: var(--accent); color: var(--white); border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; margin-top: 16px; transition: background var(--transition); }
.checkout-btn:hover { background: var(--accent-dark); }
.coupon-input { display: flex; gap: 8px; margin: 16px 0; }
.coupon-input input { flex: 1; padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 13px; }
.coupon-input button { padding: 8px 16px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; }

/* Auth Page */
.auth-page { max-width: 440px; margin: 40px auto; padding: 0 24px; }
.auth-box { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.auth-box h2 { font-size: 24px; font-weight: 700; margin-bottom: 4px; text-align: center; }
.auth-box .auth-sub { text-align: center; color: var(--gray-500); font-size: 14px; margin-bottom: 24px; }
.auth-tabs { display: flex; margin-bottom: 24px; border-bottom: 2px solid var(--gray-100); }
.auth-tab { flex: 1; padding: 10px; text-align: center; font-size: 14px; font-weight: 600; color: var(--gray-500); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--gray-700); }
.form-group input { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 14px; transition: border-color var(--transition); }
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.btn-auth { width: 100%; padding: 12px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: background var(--transition); }
.btn-auth:hover { background: var(--primary-dark); }
.auth-divider { text-align: center; margin: 16px 0; color: var(--gray-500); font-size: 13px; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--gray-100); }
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }
.auth-box .forgot { text-align: right; margin-top: -8px; margin-bottom: 16px; }
.auth-box .forgot a { font-size: 13px; color: var(--primary); }

/* Profile Page */
.profile-page { max-width: 1100px; margin: 24px auto; padding: 0 24px; }
.profile-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius); padding: 32px; color: var(--white); margin-bottom: 24px; display: flex; align-items: center; gap: 20px; }
.profile-avatar-lg { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.profile-info h2 { font-size: 22px; } .profile-info p { opacity: 0.8; font-size: 14px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profile-section { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.profile-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.profile-section h3 i { color: var(--primary); }
.order-card { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.order-card:last-child { border-bottom: none; }
.order-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: var(--gray-100); }
.order-card-details { flex: 1; }
.order-card-details h4 { font-size: 13px; font-weight: 500; }
.order-card-details p { font-size: 12px; color: var(--gray-500); }
.order-status { font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.order-status.delivered { background: #dcfce7; color: #059669; }
.order-status.shipped { background: var(--primary-light); color: var(--primary); }
.saved-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); align-items: center; }
.saved-item:last-child { border-bottom: none; }
.saved-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--gray-100); }
.saved-item-info { flex: 1; }
.saved-item-info h4 { font-size: 13px; font-weight: 500; }
.saved-item-info p { font-size: 14px; font-weight: 600; color: var(--accent); }
.saved-item .remove-saved { color: var(--gray-500); font-size: 13px; }

/* Toast */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--dark); color: var(--white); padding: 14px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transform: translateY(100px); opacity: 0; transition: all 0.3s ease; z-index: 9999; }
.toast.show { transform: translateY(0); opacity: 1; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.mobile-nav { display: none; position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--dark); z-index: 2000; padding: 24px; transition: left 0.3s ease; }
.mobile-nav.open { left: 0; }
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; }
.mobile-nav-overlay.show { display: block; }
.mobile-nav .close-nav { color: var(--white); font-size: 20px; margin-bottom: 24px; }
.mobile-nav a { display: block; color: var(--gray-300); padding: 12px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Footer */
.footer { background: var(--dark); color: var(--white); padding: 40px 24px 20px; margin-top: 40px; }
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-col h4 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--gray-500); font-size: 13px; margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1400px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: var(--gray-500); text-align: center; }

/* Skeleton Loading */
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, #e2e8f0 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Responsive */
@media (max-width: 1024px) {
  .detail-content { grid-template-columns: 1fr; }
  .cart-content { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .header-top { gap: 12px; padding: 10px 16px; }
  .header-actions button span { display: none; }
  .search-bar { order: 10; width: 100%; margin: 0 0 8px; }
  .header-top { flex-wrap: wrap; }
  .hero-banner { height: 280px; margin: 0 12px; }
  .hero-content h1 { font-size: 24px; }
  .hero-content p { font-size: 14px; }
  .hero-slide { padding: 24px; }
  .section { padding: 0 12px; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .deals-grid { grid-template-columns: 1fr; }
  .listing-page { flex-direction: column; }
  .filter-sidebar { width: 100%; position: static; display: none; }
  .filter-sidebar.open { display: block; }
  .filter-toggle-btn { display: block; }
  .detail-actions { flex-direction: column; }
  .auth-page { margin: 20px auto; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .hero-banner { height: 220px; }
  .hero-content h1 { font-size: 20px; }
  .cart-item { flex-wrap: wrap; }
  .profile-header { flex-direction: column; text-align: center; }
  .section-header h2 { font-size: 18px; }
}
