/* DHVANI KART - Industrial & Electrical Supply Store */
/* Warm industrial design: orange accent + charcoal */

:root {
    --primary: #e65100;
    --primary-dark: #bf360c;
    --primary-light: #ff6d00;
    --secondary: #263238;
    --secondary-light: #37474f;
    --accent: #ff9100;
    --text: #212121;
    --text-light: #616161;
    --steel: #546e7a;
    --steel-light: #78909c;
    --white: #ffffff;
    --bg: #f5f5f5;
    --bg-warm: #fff3e0;
    --border: #e0e0e0;
    --border-light: #eeeeee;
    --success: #2e7d32;
    --danger: #c62828;
    --warning: #f9a825;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.25s ease;
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.top-bar { background: var(--secondary); color: rgba(255,255,255,0.85); font-size: 12px; padding: 8px 0; letter-spacing: 0.02em; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar a { color: rgba(255,255,255,0.9); }
.top-bar a:hover { color: var(--accent); }

/* Header */
.site-header { background: var(--white); border-bottom: 3px solid var(--primary); position: sticky; top: 0; z-index: 100; }
.header-main { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.logo { font-size: 24px; font-weight: 800; color: var(--secondary); letter-spacing: -0.5px; white-space: nowrap; }
.logo span { color: var(--primary); }
.search-bar { flex: 1; max-width: 480px; display: flex; }
.search-bar input { flex: 1; padding: 10px 16px; border: 2px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 14px; outline: none; transition: var(--transition); }
.search-bar input:focus { border-color: var(--primary); }
.search-bar button { padding: 10px 18px; background: var(--primary); color: var(--white); border: 2px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-size: 16px; transition: var(--transition); }
.search-bar button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.header-actions a { color: var(--secondary); padding: 6px 0; }
.header-actions a:hover { color: var(--primary); }
.cart-count { background: var(--primary); color: var(--white); font-size: 11px; padding: 2px 7px; border-radius: 20px; margin-left: 4px; font-weight: 700; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); padding: 6px 10px; font-size: 20px; cursor: pointer; border-radius: var(--radius); color: var(--secondary); }

/* Nav */
.main-nav { background: var(--secondary); }
.main-nav ul { list-style: none; display: flex; gap: 0; }
.main-nav a { display: block; padding: 12px 20px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--white); background: var(--primary); }

/* Buttons */
.btn { display: inline-block; padding: 10px 24px; font-size: 14px; font-weight: 600; border-radius: var(--radius); cursor: pointer; border: none; text-align: center; transition: var(--transition); line-height: 1.4; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--secondary-light); color: var(--white); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg); color: var(--primary-dark); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--secondary) 0%, #1b2a33 60%, var(--primary-dark) 100%); color: var(--white); padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -15%; width: 500px; height: 500px; border-radius: 50%; background: rgba(230,81,0,0.1); }
.hero::after { content: ''; position: absolute; bottom: -40%; left: -10%; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,145,0,0.08); }
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-badge { display: inline-block; background: rgba(255,145,0,0.2); color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(255,145,0,0.3); }
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero .highlight { color: var(--accent); }
.hero p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 28px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 24px 0; }
.stats-inner { display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 16px; }
.stat-number { font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--steel-light); margin-top: 2px; }

/* Sections */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag { display: inline-block; color: var(--primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.section-title { font-size: 30px; font-weight: 800; color: var(--secondary); margin-bottom: 10px; letter-spacing: -0.3px; }
.section-subtitle { font-size: 15px; color: var(--steel-light); max-width: 560px; margin: 0 auto; }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%); color: var(--white); padding: 32px 0; }
.page-header h1 { font-size: 26px; font-weight: 700; }
.page-header .breadcrumb { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.page-header .breadcrumb a { color: var(--accent); }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-img { aspect-ratio: 1; background: var(--bg); overflow: hidden; position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--danger); color: var(--white); padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; z-index: 1; }
.product-card-body { padding: 16px; }
.product-brand { font-size: 11px; color: var(--steel-light); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.product-card-title { font-size: 14px; font-weight: 600; margin: 6px 0; line-height: 1.3; }
.product-card-title a { color: var(--text); }
.product-card-title a:hover { color: var(--primary); }
.product-rating { margin: 4px 0; }
.product-rating .stars { color: var(--accent); font-size: 13px; }
.product-rating .rating-count { font-size: 12px; color: var(--steel-light); }
.product-price { margin: 8px 0; }
.price-current { font-size: 18px; font-weight: 700; color: var(--primary); }
.price-mrp { font-size: 13px; color: var(--steel-light); text-decoration: line-through; margin-left: 6px; }

/* Category Grid */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; transition: var(--transition); }
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.category-icon { font-size: 36px; margin-bottom: 12px; color: var(--primary); }
.category-card h3 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
.category-card p { font-size: 13px; color: var(--steel-light); }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { text-align: center; padding: 30px 20px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.feature-icon { font-size: 28px; width: 56px; height: 56px; line-height: 56px; background: var(--bg-warm); border-radius: 50%; margin: 0 auto 14px; color: var(--primary); }
.feature-card h3 { font-size: 15px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--steel-light); line-height: 1.6; }

/* Brands Strip */
.brands-strip { background: var(--bg); padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.brand-item { font-size: 16px; font-weight: 700; color: var(--steel-light); letter-spacing: 1px; padding: 10px 18px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 60px 0; text-align: center; }
.cta-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 24px; }

/* Breadcrumb (standalone) */
.breadcrumb-bar { background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 0; font-size: 13px; color: var(--steel-light); }
.breadcrumb-bar a { color: var(--primary); }
.breadcrumb-bar span { margin: 0 6px; color: var(--border); }

/* Product Detail */
.product-detail { padding: 40px 0; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-gallery { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 120px; }
.product-main-image { max-height: 420px; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 20px; }
.product-main-image img { max-width: 100%; max-height: 380px; object-fit: contain; display: block; }
.product-info { min-width: 0; }
.product-info h1 { font-size: 22px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; line-height: 1.3; }
.product-info .product-price { margin: 14px 0; padding: 12px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.product-info .price-current { font-size: 22px; }
.product-meta { font-size: 13px; color: var(--steel-light); margin-bottom: 16px; }
.product-meta span { margin-right: 16px; }
.product-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.product-price { margin-bottom: 12px; }
.price-discount { display: inline-block; background: #fff3e0; color: var(--primary); padding: 2px 8px; border-radius: 4px; font-size: 13px; font-weight: 600; margin-left: 6px; }
.gst-note { display: block; font-size: 12px; color: var(--steel-light); margin-top: 4px; }
.spec-table, .specs-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 10px 0; }
.spec-table tr, .specs-table tr { border-bottom: 1px solid var(--border-light); }
.spec-table td, .specs-table td { padding: 10px 12px; }
.spec-table td:first-child, .specs-table td:first-child { font-weight: 600; color: var(--secondary); width: 40%; background: var(--bg); }
.qty-control, .qty-selector { display: inline-flex; align-items: center; gap: 0; }
.qty-control button, .qty-selector button { width: 36px; height: 36px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-control button:hover, .qty-selector button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.qty-control input, .qty-selector input { width: 50px; height: 36px; border: 1px solid var(--border); border-left: none; border-right: none; text-align: center; font-size: 14px; font-weight: 600; -moz-appearance: textfield; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button,
.qty-selector input::-webkit-outer-spin-button, .qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-actions { display: flex; gap: 10px; margin: 20px 0; align-items: center; flex-wrap: wrap; }
.pincode-check { display: flex; gap: 8px; margin: 16px 0; }
.pincode-check input { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; width: 180px; }
.pincode-result { font-size: 13px; margin-top: 6px; }
.pincode-result.ok { color: var(--success); }
.pincode-result.err { color: var(--danger); }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
.cart-item { display: flex; gap: 16px; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px; align-items: center; transition: var(--transition); }
.cart-item:hover { box-shadow: var(--shadow-md); }
.cart-item-img { width: 80px; height: 80px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; background: var(--bg); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-sku { font-size: 12px; color: var(--steel-light); }
.cart-item-price { font-weight: 700; color: var(--primary); font-size: 15px; white-space: nowrap; }
.cart-item-remove { background: none; border: none; color: var(--steel-light); cursor: pointer; font-size: 18px; padding: 4px; }
.cart-item-remove:hover { color: var(--danger); }
.cart-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 120px; }
.cart-summary h3 { font-size: 18px; font-weight: 700; color: var(--secondary); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text-light); }
.summary-total { font-size: 17px; font-weight: 700; color: var(--secondary); padding-top: 14px; margin-top: 8px; border-top: 2px solid var(--secondary); }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: var(--font); transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(230,81,0,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Payment */
.payment-container { max-width: 480px; margin: 0 auto; text-align: center; padding: 40px 20px; }
.upi-qr { max-width: 280px; margin: 0 auto; padding: 16px; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); }
.payment-timer { font-size: 36px; font-weight: 800; color: var(--primary); margin: 16px 0; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-success { background: #e8f5e9; color: var(--success); border: 1px solid #c8e6c9; }
.alert-error { background: #ffebee; color: var(--danger); border: 1px solid #ffcdd2; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }
.alert-warning { background: #fff8e1; color: #f57f17; border: 1px solid #fff9c4; }

/* Contact Form */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.contact-info-card { background: var(--secondary); color: var(--white); padding: 32px; border-radius: var(--radius-lg); }
.contact-info-card h3 { margin-bottom: 20px; }
.contact-info-item { margin-bottom: 16px; font-size: 14px; }
.contact-info-item strong { display: block; color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }

/* Footer */
.site-footer { background: var(--secondary); color: rgba(255,255,255,0.8); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 6px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* Shop filters */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.shop-sidebar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 120px; align-self: start; }
.shop-sidebar h3 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 14px; }
.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; padding: 6px 0; font-size: 13px; cursor: pointer; color: var(--text-light); }
.filter-group label:hover { color: var(--primary); }
.filter-group input[type="radio"] { margin-right: 6px; accent-color: var(--primary); }
.sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sort-bar select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; }
.result-count { font-size: 14px; color: var(--steel-light); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text-light); }
.pagination a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Track Order */
.track-form { max-width: 500px; margin: 0 auto; }
.tracking-result { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-top: 20px; }
.status-badge { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.status-pending { background: #fff8e1; color: #f57f17; }
.status-confirmed { background: #e3f2fd; color: #1565c0; }
.status-paid { background: #e8f5e9; color: var(--success); }
.status-shipped { background: #e8f5e9; color: var(--success); }
.status-failed { background: #ffebee; color: var(--danger); }

/* Legal pages */
.legal-content { max-width: 800px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.legal-content h2 { font-size: 20px; color: var(--secondary); margin: 28px 0 12px; }
.legal-content h3 { font-size: 16px; color: var(--secondary); margin: 20px 0 8px; }
.legal-content p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content li { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 6px; }

/* Admin */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--secondary); color: var(--white); padding: 20px 0; }
.admin-sidebar h2 { font-size: 16px; padding: 0 20px; margin-bottom: 20px; color: var(--accent); }
.admin-sidebar a { display: block; padding: 10px 20px; color: rgba(255,255,255,0.7); font-size: 14px; }
.admin-sidebar a:hover, .admin-sidebar a.active { color: var(--white); background: var(--primary); }
.admin-content { flex: 1; padding: 24px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th { background: var(--secondary); color: var(--white); padding: 12px 14px; text-align: left; font-size: 13px; font-weight: 600; }
.admin-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--border-light); }
.admin-table tr:hover { background: var(--bg); }

/* Order success/failed */
.order-result { max-width: 560px; margin: 0 auto; text-align: center; padding: 50px 20px; }
.order-result .icon { font-size: 48px; margin-bottom: 16px; }
.order-result h2 { font-size: 24px; margin-bottom: 10px; }
.order-result .order-num { font-size: 20px; font-weight: 700; color: var(--primary); margin: 10px 0; }
.order-details-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: left; margin: 20px 0; }
.order-details-box .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border-light); }
.order-details-box .row:last-child { border-bottom: none; }

/* Mobile */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .hero { padding: 50px 0; }
    .header-main { flex-wrap: wrap; }
    .search-bar { order: 3; max-width: 100%; flex: 0 0 100%; }
    .menu-toggle { display: block; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .product-layout { grid-template-columns: 1fr; gap: 24px; }
    .product-gallery { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-inner { flex-direction: column; gap: 12px; }
    .form-row { grid-template-columns: 1fr; }
    .top-bar .container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card-body { padding: 10px; }
    .product-card-title { font-size: 12px; }
    .price-current { font-size: 15px; }
    .hero h1 { font-size: 24px; }
    .section-title { font-size: 22px; }
}
