/* ===== UZSHOP - MAIN STYLES ===== */
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent2: #f5a623;
    --gold: #c9a227;
    --light: #f8f7f4;
    --white: #ffffff;
    --gray: #8892a4;
    --border: #e8e4da;
    --text: #2d2d2d;
    --text-light: #6b7280;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--light); line-height: 1.6; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* ===== FLASH MESSAGE ===== */
.flash-msg {
    position: fixed; top: 20px; right: 20px; z-index: 9999;
    padding: 14px 20px; border-radius: var(--radius); min-width: 300px;
    display: flex; align-items: center; gap: 10px;
    font-weight: 500; box-shadow: var(--shadow-lg);
    animation: slideIn 0.4s ease;
}
.flash-success { background: var(--success); color: white; }
.flash-error { background: var(--danger); color: white; }
.flash-info { background: #3b82f6; color: white; }
.flash-close { background: none; border: none; color: white; cursor: pointer; margin-left: auto; font-size: 18px; }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== HEADER ===== */
.header { background: var(--primary); color: white; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-top { display: flex; align-items: center; gap: 24px; padding: 16px 0; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 28px; font-weight: 900; color: white; white-space: nowrap; }
.logo-icon { color: var(--accent); font-size: 22px; }
.logo-text { background: linear-gradient(135deg, #fff 0%, var(--accent2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.search-bar { flex: 1; max-width: 600px; }
.search-bar form { display: flex; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; overflow: hidden; transition: var(--transition); }
.search-bar form:focus-within { background: rgba(255,255,255,0.18); border-color: var(--accent); }
.search-bar input { flex: 1; background: none; border: none; outline: none; padding: 12px 20px; color: white; font-size: 15px; font-family: var(--font-body); }
.search-bar input::placeholder { color: rgba(255,255,255,0.5); }
.search-bar button { background: var(--accent); border: none; color: white; padding: 12px 20px; cursor: pointer; font-size: 16px; transition: var(--transition); }
.search-bar button:hover { background: #c73652; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.action-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 14px; border-radius: var(--radius-sm); color: rgba(255,255,255,0.85); font-size: 11px; font-weight: 500; position: relative; transition: var(--transition); }
.action-btn:hover { background: rgba(255,255,255,0.1); color: white; }
.action-btn i { font-size: 18px; }
.action-btn.admin-btn { color: var(--accent2); }
.cart-btn { color: white; }
.cart-count { position: absolute; top: 4px; right: 8px; background: var(--accent); color: white; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }

.main-nav { background: rgba(0,0,0,0.2); }
.main-nav ul { display: flex; gap: 0; }
.main-nav ul li { position: relative; }
.main-nav ul li a { display: block; padding: 12px 20px; color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; transition: var(--transition); }
.main-nav ul li a:hover, .main-nav ul li a.active { color: white; background: rgba(255,255,255,0.08); }
.main-nav ul li a.active { border-bottom: 2px solid var(--accent); }

.dropdown-menu { position: absolute; top: 100%; left: 0; background: white; min-width: 220px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); z-index: 200; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { color: var(--text); padding: 10px 20px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.dropdown-menu li a:hover { background: var(--light); color: var(--accent); padding-left: 26px; }
.dropdown-menu li a span { color: var(--gray); font-size: 12px; }

/* ===== MAIN CONTENT ===== */
.main-content { min-height: 70vh; }

/* ===== HERO SECTION ===== */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #0f3460 50%, var(--secondary) 100%); color: white; padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 1; max-width: 650px; }
.hero-badge { display: inline-block; background: var(--accent); color: white; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--accent2); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 500px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); font-family: var(--font-body); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #c73652; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,69,96,0.4); }
.btn-secondary { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.25); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; }
.btn-dark { background: var(--primary); color: white; }
.btn-dark:hover { background: var(--secondary); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--primary); }
.section-header p { color: var(--text-light); margin-top: 12px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== CATEGORY CARDS ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.category-card { background: white; border-radius: var(--radius); padding: 32px 20px; text-align: center; border: 1px solid var(--border); transition: var(--transition); cursor: pointer; }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.category-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), #0f3460); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; }
.category-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.category-card span { color: var(--gray); font-size: 13px; }

/* ===== PRODUCT CARDS ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); position: relative; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f0eee8; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.badge { padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge-sale { background: var(--accent); color: white; }
.badge-new { background: var(--success); color: white; }
.badge-featured { background: var(--gold); color: white; }
.product-actions { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(20px); transition: var(--transition); }
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn { width: 36px; height: 36px; background: white; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15); font-size: 15px; color: var(--text); transition: var(--transition); }
.product-action-btn:hover { background: var(--accent); color: white; }

.product-info { padding: 18px; }
.product-category { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-bottom: 6px; }
.product-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); line-height: 1.4; }
.product-name a:hover { color: var(--accent); }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.stars { color: var(--accent2); font-size: 12px; }
.rating-count { font-size: 12px; color: var(--gray); }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.price-current { font-size: 20px; font-weight: 700; color: var(--primary); font-family: var(--font-display); }
.price-original { font-size: 14px; color: var(--gray); text-decoration: line-through; }
.btn-cart { width: 100%; background: var(--primary); color: white; border: none; padding: 11px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; font-weight: 600; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); }
.btn-cart:hover { background: var(--accent); transform: none; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--primary); color: white; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number { font-family: var(--font-display); font-size: 42px; font-weight: 900; color: var(--accent2); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== SHOP PAGE ===== */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.sidebar { }
.sidebar-widget { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; margin-bottom: 20px; }
.sidebar-widget h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.filter-list li { margin-bottom: 8px; }
.filter-list a { display: flex; justify-content: space-between; align-items: center; color: var(--text-light); font-size: 14px; padding: 6px 0; transition: var(--transition); }
.filter-list a:hover, .filter-list a.active { color: var(--accent); font-weight: 600; }
.filter-list a span { background: var(--light); color: var(--gray); padding: 2px 8px; border-radius: 50px; font-size: 12px; }
.price-range { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.price-range input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font-body); }
.shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.shop-header h2 { font-family: var(--font-display); font-size: 28px; font-weight: 900; }
.shop-controls { display: flex; align-items: center; gap: 12px; }
.sort-select { padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); background: white; cursor: pointer; }

/* ===== PRODUCT DETAIL ===== */
.product-detail { background: white; border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.product-gallery { }
.main-image { border-radius: var(--radius); overflow: hidden; background: #f0eee8; aspect-ratio: 1; margin-bottom: 12px; }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { }
.product-detail-info h1 { font-family: var(--font-display); font-size: 32px; font-weight: 900; margin-bottom: 12px; }
.product-detail-price { font-size: 36px; font-weight: 900; color: var(--accent); font-family: var(--font-display); margin: 20px 0; }
.product-detail-price .old-price { font-size: 20px; color: var(--gray); text-decoration: line-through; margin-left: 12px; }
.qty-control { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; width: fit-content; margin-bottom: 20px; }
.qty-btn { background: var(--light); border: none; width: 40px; height: 44px; cursor: pointer; font-size: 18px; transition: var(--transition); }
.qty-btn:hover { background: var(--accent); color: white; }
.qty-input { width: 60px; height: 44px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 16px; font-family: var(--font-body); outline: none; }
.product-meta { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 20px; }
.meta-item { display: flex; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.meta-label { color: var(--gray); min-width: 100px; }
.meta-value { font-weight: 600; }

/* ===== CART ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-table { background: white; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--light); padding: 16px 20px; text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); font-weight: 600; }
.cart-table td { padding: 16px 20px; border-top: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-product-name { font-weight: 600; }
.remove-btn { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 18px; }
.cart-summary { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; position: sticky; top: 20px; }
.cart-summary h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.summary-row.total { font-size: 20px; font-weight: 700; border-top: 2px solid var(--primary); padding-top: 14px; margin-top: 14px; }
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); }

/* ===== FORMS ===== */
.form-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.form-container { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 48px; width: 100%; max-width: 480px; box-shadow: var(--shadow); }
.form-title { font-family: var(--font-display); font-size: 32px; font-weight: 900; text-align: center; margin-bottom: 8px; }
.form-subtitle { text-align: center; color: var(--text-light); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-body); transition: var(--transition); background: var(--light); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); background: white; box-shadow: 0 0 0 3px rgba(233,69,96,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-link { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-light); }
.form-link a { color: var(--accent); font-weight: 600; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: white; border-bottom: 1px solid var(--border); padding: 14px 0; }
.breadcrumb ul { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.breadcrumb li + li::before { content: '/'; color: var(--border); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li:last-child { color: var(--text); font-weight: 500; }

/* ===== ACCOUNT ===== */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.account-sidebar { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; height: fit-content; }
.account-avatar { text-align: center; margin-bottom: 20px; }
.account-avatar .avatar-circle { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 32px; font-weight: 900; color: white; margin: 0 auto 12px; }
.account-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-light); font-size: 14px; font-weight: 500; transition: var(--transition); }
.account-menu li a:hover, .account-menu li a.active { background: var(--light); color: var(--accent); }
.account-menu li a i { width: 18px; text-align: center; }
.account-content { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 32px; }
.account-content h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 24px; }

/* ===== ORDERS TABLE ===== */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { text-align: left; padding: 12px 16px; background: var(--light); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); }
.orders-table td { padding: 14px 16px; border-top: 1px solid var(--border); font-size: 14px; }
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.status-pending { background: #fef3c7; color: #d97706; }
.status-processing { background: #dbeafe; color: #2563eb; }
.status-shipped { background: #d1fae5; color: #059669; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #dc2626; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-weight: 500; transition: var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--accent); color: white; border-color: var(--accent); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 64px; color: var(--border); margin-bottom: 20px; }
.empty-state h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 10px; color: var(--text-light); }
.empty-state p { color: var(--gray); margin-bottom: 24px; }

/* ===== FOOTER ===== */
.footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 900; color: white; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: var(--transition); }
.social-links a:hover { background: var(--accent); }
.footer-col h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: white; padding-left: 4px; }
.contact-info li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 10px; }
.contact-info li i { color: var(--accent); margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 14px; }
.payment-icons { display: flex; gap: 8px; }
.payment-icons span { background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; color: white; }

/* ===== REVIEWS ===== */
.review-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.reviewer-name { font-weight: 600; margin-bottom: 4px; }
.review-date { font-size: 13px; color: var(--gray); }

/* ===== ALERTS ===== */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: #dbeafe; color: #1e40af; }
.alert-warning { background: #fef3c7; color: #92400e; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header-top { flex-wrap: wrap; }
    .search-bar { order: 3; width: 100%; max-width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 50px 0; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .form-container { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
}
