/* =====================================================
   JOTA PERFORMANCE - Main Stylesheet
   Automotive Professional Theme (Balanced Light/Dark)
   ===================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #2d3436;
    background: #f8f9fa;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ---- Variables ---- */
:root {
    --primary: #e8590c;
    --primary-dark: #c2410c;
    --primary-light: #fed7aa;
    --secondary: #1e293b;
    --accent: #f97316;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-alt: #f1f5f9;
    --text-dark: #1e293b;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #eab308;
    --whatsapp: #25d366;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --transition: all .3s ease;
}

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--text-dark); line-height: 1.2; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- Alerts ---- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fefce8; color: #854d0e; border: 1px solid #fef08a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border: 2px solid transparent;
    border-radius: var(--radius-sm); font-weight: 600;
    cursor: pointer; transition: var(--transition);
    font-size: 14px; text-transform: uppercase; letter-spacing: .5px;
}
.btn i { font-size: 14px; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1ebe57; filter: brightness(1.1); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-disabled { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; border-color: #e2e8f0; }

/* ---- Top Bar ---- */
.top-bar { background: var(--secondary); color: #cbd5e1; font-size: 13px; padding: 8px 0; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left { display: flex; gap: 20px; }
.top-bar-left span, .top-bar-right a { display: flex; align-items: center; gap: 6px; }
.top-bar-right a { color: var(--whatsapp); font-weight: 500; }
.top-bar-right a:hover { color: #fff; }

/* ---- Header ---- */
.header {
    background: var(--bg-white); position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--shadow); transition: var(--transition);
}
.header-content { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 52px; width: 52px; object-fit: contain; border-radius: 50%; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1; letter-spacing: 1px; }
.logo-sub { font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 3px; }

.nav { display: flex; gap: 8px; }
.nav-link {
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-weight: 500; color: var(--text-body); transition: var(--transition);
    font-size: 14px;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
    position: relative; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); background: var(--bg-alt);
    color: var(--text-dark); font-size: 18px; transition: var(--transition);
}
.cart-btn:hover { background: var(--primary-light); color: var(--primary); }
.cart-count {
    position: absolute; top: -4px; right: -4px;
    background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.mobile-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--text-dark); cursor: pointer; padding: 8px; }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #334155 50%, #1e293b 100%);
    position: relative; overflow: hidden; padding: 80px 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23ffffff08' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 640px; }
.hero-title { font-size: 48px; color: #fff; margin-bottom: 16px; }
.hero-title span { color: var(--accent); display: block; }
.hero-text { color: #cbd5e1; font-size: 18px; margin-bottom: 28px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Features ---- */
.features { background: var(--bg-white); padding: 0; margin-top: -30px; position: relative; z-index: 2; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.feature-card { padding: 28px 20px; text-align: center; border-right: 1px solid var(--border); transition: var(--transition); }
.feature-card:last-child { border-right: none; }
.feature-card:hover { background: var(--primary-light); }
.feature-icon { width: 50px; height: 50px; margin: 0 auto 12px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.feature-card h3 { font-size: 16px; margin-bottom: 4px; }
.feature-card p { font-size: 13px; color: var(--text-muted); }

/* ---- Sections ---- */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 36px; margin-bottom: 8px; }
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: 16px; }

/* ---- Categories Grid ---- */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 28px 16px;
    text-align: center; box-shadow: var(--shadow); transition: var(--transition);
    border: 2px solid transparent;
}
.category-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-icon {
    width: 60px; height: 60px; margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--primary-light), #fff7ed);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--primary);
}
.category-card h3 { font-size: 15px; }

/* ---- Products Grid ---- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
    border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-image { position: relative; height: 200px; background: var(--bg-alt); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--border); }
.product-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--primary); color: #fff; font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 20px; text-transform: uppercase;
}
.badge-danger { background: var(--danger); }
.product-info { padding: 16px; }
.product-category { font-size: 11px; color: var(--primary); text-transform: uppercase; font-weight: 600; letter-spacing: .5px; }
.product-name { font-size: 15px; margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-unit-type { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.product-price { font-size: 20px; font-weight: 700; color: var(--primary); font-family: 'Rajdhani', sans-serif; }
.product-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ---- Product Detail ---- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.product-detail-image { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.product-detail-image img { width: 100%; height: 400px; object-fit: cover; }
.product-placeholder-lg { width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; font-size: 80px; color: var(--border); }
.product-detail-info h1 { font-size: 32px; margin: 8px 0; }
.product-code { font-size: 13px; color: var(--text-muted); }
.product-detail-price { font-size: 36px; font-weight: 700; color: var(--primary); font-family: 'Rajdhani', sans-serif; margin: 16px 0; }
.product-detail-meta { display: flex; gap: 20px; margin-bottom: 20px; }
.meta-item { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.in-stock { color: var(--success); }
.out-stock { color: var(--danger); }
.product-description { margin-bottom: 24px; }
.product-description h3 { font-size: 18px; margin-bottom: 8px; }
.product-description p { color: var(--text-body); }
.product-detail-actions { display: flex; gap: 16px; align-items: center; }
.quantity-selector { display: flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 40px; height: 40px; border: none; background: var(--bg-alt); cursor: pointer; font-size: 18px; font-weight: 700; transition: var(--transition); }
.qty-btn:hover { background: var(--primary-light); color: var(--primary); }
.qty-input { width: 50px; height: 40px; border: none; text-align: center; font-weight: 600; font-size: 15px; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- Services ---- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
    background: var(--bg-white); border-radius: var(--radius); padding: 28px;
    text-align: center; box-shadow: var(--shadow); transition: var(--transition);
    border: 2px solid transparent;
}
.service-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.service-icon { width: 60px; height: 60px; margin: 0 auto 14px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.service-meta { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; font-size: 13px; }
.service-time { color: var(--text-muted); }
.service-price { color: var(--primary); font-weight: 700; font-size: 18px; font-family: 'Rajdhani', sans-serif; }

/* Services Detail */
.services-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-detail-card {
    background: var(--bg-white); border-radius: var(--radius-lg); padding: 36px 28px;
    text-align: center; box-shadow: var(--shadow); transition: var(--transition);
    border: 2px solid var(--border); position: relative;
}
.service-detail-card.featured { border-color: var(--primary); transform: scale(1.04); box-shadow: var(--shadow-lg); }
.service-popular {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff; padding: 4px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
}
.service-detail-icon { width: 70px; height: 70px; margin: 0 auto 16px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.service-detail-card h2 { font-size: 22px; margin-bottom: 8px; }
.service-detail-price { font-size: 36px; font-weight: 700; color: var(--primary); font-family: 'Rajdhani', sans-serif; margin-bottom: 12px; }
.service-detail-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.service-detail-features { margin-bottom: 24px; }
.service-detail-features li { padding: 6px 0; font-size: 14px; color: var(--text-body); display: flex; align-items: center; gap: 8px; justify-content: center; }
.service-detail-features li i { color: var(--success); }

/* ---- Car Wash Hero ---- */
.carwash-hero {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 50px 0; text-align: center;
}
.carwash-hero h1 { font-size: 40px; color: #fff; }
.carwash-hero h1 span { color: var(--accent); }
.carwash-hero p { color: #94a3b8; font-size: 16px; max-width: 600px; margin: 12px auto 0; }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 50px 0; text-align: center;
}
.cta-content h2 { font-size: 32px; color: #fff; margin-bottom: 8px; }
.cta-content p { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 24px; }

/* ---- Breadcrumb ---- */
.breadcrumb-section { background: var(--bg-alt); padding: 16px 0; border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---- Products Layout ---- */
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.products-sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-section { background: var(--bg-white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.sidebar-section h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-light); }
.category-list li { margin-bottom: 2px; }
.category-list a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-body); transition: var(--transition); }
.category-list a:hover, .category-list a.active { background: var(--primary-light); color: var(--primary); font-weight: 500; }

.products-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.toolbar-left p { font-size: 14px; color: var(--text-muted); }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.search-form-inline { display: flex; gap: 4px; }
.input-sm { padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; width: 180px; }
.input-sm:focus { outline: none; border-color: var(--primary); }
.select-sm { padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; background: var(--bg-white); cursor: pointer; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 48px; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.page-link {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); border: 1px solid var(--border);
    font-size: 14px; font-weight: 500; transition: var(--transition);
}
.page-link:hover, .page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Cart ---- */
.page-title { font-size: 28px; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.page-title i { color: var(--primary); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty i { font-size: 64px; color: var(--border); margin-bottom: 16px; display: block; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th { background: var(--secondary); color: #fff; padding: 14px 16px; text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table .cart-item-name { font-weight: 600; font-size: 14px; }
.cart-table .cart-item-type { font-size: 11px; color: var(--text-muted); }
.cart-item-remove { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 16px; padding: 4px 8px; transition: var(--transition); }
.cart-item-remove:hover { transform: scale(1.2); }

.cart-summary {
    background: var(--bg-white); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); position: sticky; top: 90px; align-self: start;
}
.cart-summary h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { font-size: 20px; font-weight: 700; color: var(--primary); border-top: 2px solid var(--border); margin-top: 8px; padding-top: 12px; font-family: 'Rajdhani', sans-serif; }
.cart-summary .btn { margin-top: 12px; }

/* ---- Checkout ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; }
.form-section { background: var(--bg-white); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.form-section h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.form-section h3 i { color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.form-control {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 14px; transition: var(--transition);
    background: var(--bg-white);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,89,12,.1); }

.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.delivery-option { cursor: pointer; }
.delivery-option input { display: none; }
.delivery-card {
    padding: 16px; text-align: center; border: 2px solid var(--border);
    border-radius: var(--radius); transition: var(--transition);
}
.delivery-card i { font-size: 24px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.delivery-card strong { display: block; font-size: 14px; }
.delivery-card span { font-size: 13px; color: var(--text-muted); }
.delivery-option input:checked + .delivery-card { border-color: var(--primary); background: #fff7ed; }
.delivery-option input:checked + .delivery-card i { color: var(--primary); }

.checkout-summary {
    background: var(--bg-white); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); position: sticky; top: 90px; align-self: start;
}
.checkout-summary h3 { font-size: 18px; margin-bottom: 16px; }
.checkout-summary hr { border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.checkout-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ---- Confirmation ---- */
.confirmation-box { text-align: center; max-width: 500px; margin: 40px auto; padding: 40px; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.confirmation-icon { font-size: 64px; color: var(--success); margin-bottom: 16px; }
.confirmation-box h1 { font-size: 28px; margin-bottom: 12px; }
.confirmation-code { font-size: 18px; margin-bottom: 16px; background: var(--bg-alt); padding: 10px 20px; border-radius: var(--radius-sm); display: inline-block; }
.confirmation-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ---- Contact ---- */
.contact-layout { max-width: 800px; margin: 0 auto; }
.contact-info-section h1 { font-size: 32px; margin-bottom: 8px; }
.contact-info-section > p { color: var(--text-muted); margin-bottom: 30px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.contact-card { background: var(--bg-white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.contact-card i { font-size: 28px; color: var(--primary); margin-bottom: 10px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { color: var(--text-muted); font-size: 14px; }

/* ---- Info Grid ---- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--bg-white); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow); }
.info-card i { font-size: 32px; color: var(--primary); margin-bottom: 12px; }
.info-card h3 { font-size: 18px; margin-bottom: 8px; }
.info-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }

/* ---- Footer ---- */
.footer { background: var(--secondary); color: #94a3b8; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { width: 50px; height: 50px; border-radius: 50%; }
.footer-logo h3 { color: #fff; font-size: 20px; letter-spacing: 1px; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 14px; color: #94a3b8; transition: var(--transition); }
.footer-col ul a:hover { color: var(--primary); padding-left: 4px; }
.contact-info li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 13px; }
.contact-info i { color: var(--primary); margin-top: 2px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.1); color: #cbd5e1;
    transition: var(--transition); font-size: 16px;
}
.social-links a:hover { background: var(--primary); color: #fff; }
.footer-bottom { text-align: center; padding: 20px 0; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .nav { display: none; position: fixed; top: 76px; left: 0; right: 0; background: var(--bg-white); flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); z-index: 999; }
    .nav.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero { padding: 50px 0; }
    .hero-title { font-size: 32px; }
    .features { margin-top: -20px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 28px; }
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { position: static; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 26px; }
    .delivery-options { grid-template-columns: 1fr; }
}

/* ---- Animations ---- */
.btn-add-cart.added { animation: addPulse .4s ease; }
@keyframes addPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Cart item qty */
.cart-qty-control { display: flex; align-items: center; gap: 0; }
.cart-qty-control button { width: 28px; height: 28px; border: 1px solid var(--border); background: var(--bg-alt); cursor: pointer; font-size: 14px; font-weight: 700; border-radius: 4px; }
.cart-qty-control span { width: 32px; text-align: center; font-weight: 600; font-size: 14px; }
