/* ==========================================================================
   Rite Electronics - storefront styles
   ========================================================================== */
:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #f0f3f9;
    --text: #0f172a;
    --text-2: #334155;
    --muted: #64748b;
    --border: #e2e8f0;
    --primary: #2563eb;
    --primary-600: #1d4ed8;
    --primary-50: #eff4ff;
    --dark: #0b1220;
    --dark-2: #111a2e;
    --accent: #f59e0b;
    --danger: #dc2626;
    --success: #16a34a;
    --warning: #d97706;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 16px rgba(15, 23, 42, .06);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, .12);
    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.9rem; font-weight: 800; }
h2 { font-size: 1.4rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow-xl { max-width: 1100px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: 14px; }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- Buttons & inputs ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:hover { border-color: #cbd5e1; background: var(--surface-2); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.btn-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-dark:hover { background: #1e293b; color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-danger-outline { color: var(--danger); border-color: #fecaca; }
.btn-danger-outline:hover { background: #fef2f2; color: var(--danger); border-color: #fca5a5; }
.btn-link, .btn-link:hover { background: none; border: none; color: var(--primary); padding: 6px 0; font-weight: 500; cursor: pointer; font: inherit; }
.btn-link.danger { color: var(--danger); }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }

.input {
    width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm);
    background: #fff; color: var(--text); font: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
textarea.input { resize: vertical; }
select.input { padding-right: 32px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 5px; }
.hint { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; margin: 6px 0; }
.check input { width: 16px; height: 16px; accent-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.span-2 { grid-column: span 2; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 14px 0; border: 1px solid; font-weight: 500; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: var(--primary-50); border-color: #c7d7fe; color: #1e3a8a; }

/* ---------- Header ---------- */
.announce { background: var(--primary); color: #fff; text-align: center; font-size: .85rem; font-weight: 500; padding: 7px 16px; }
.site-header { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #3b82f6, #22d3ee); color: #fff; }
.search { flex: 1; display: flex; max-width: 560px; background: #fff; border-radius: 10px; overflow: hidden; }
.search input { flex: 1; border: 0; padding: 11px 14px; font: inherit; min-width: 0; color: var(--text); }
.search input:focus { outline: none; }
.search button { border: 0; background: var(--accent); color: var(--dark); padding: 0 16px; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-link { display: inline-flex; align-items: center; gap: 6px; color: #e2e8f0; padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: .92rem; cursor: pointer; list-style: none; white-space: nowrap; }
.hdr-link::-webkit-details-marker { display: none; }
.hdr-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.hdr-admin { color: #fcd34d; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); color: #fff; padding: 9px 14px; border-radius: 10px; font-weight: 600; }
.cart-btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.cart-count { background: var(--accent); color: var(--dark); font-size: .75rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 6px; }
.menu { position: relative; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 190px; padding: 6px; z-index: 60; }
.menu-panel a, .menu-panel button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--surface-2); }
.cat-nav { background: var(--dark-2); border-top: 1px solid rgba(255,255,255,.06); }
.cat-nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { color: #cbd5e1; padding: 6px 12px; border-radius: 8px; font-size: .88rem; font-weight: 500; white-space: nowrap; }
.cat-nav a:hover, .cat-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.cat-nav a.deal-link { color: #fcd34d; }

.site-main { min-height: 60vh; padding-bottom: 56px; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1d4ed8 0%, transparent 60%), linear-gradient(160deg, #0b1220 0%, #111a2e 70%); color: #fff; margin-top: -1px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { display: inline-block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #93c5fd; background: rgba(59,130,246,.15); padding: 5px 10px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 16px; }
.hero p { color: #cbd5e1; font-size: 1.08rem; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art { position: relative; height: 360px; }
.hero-img { position: absolute; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-img-1 { width: 66%; right: 6%; top: 4%; }
.hero-img-2 { width: 38%; left: 4%; bottom: 0; transform: rotate(-6deg); }
.hero-img-3 { width: 34%; right: 0; bottom: 2%; transform: rotate(5deg); }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -28px; position: relative; }
.perk { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; }
.perk strong { font-size: .95rem; }
.perk span { color: var(--muted); font-size: .85rem; }

/* ---------- Sections ---------- */
.section { margin-top: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.deals-band { background: linear-gradient(135deg, #fff7ed, #fffbeb); border: 1px solid #fde68a; border-radius: 20px; padding: 24px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.cat-tile { background: var(--surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--text); transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.cat-tile img { width: 84px; height: 84px; object-fit: cover; border-radius: 16px; margin-bottom: 10px; }
.cat-name { font-weight: 700; font-size: .92rem; }
.cat-count { color: var(--muted); font-size: .78rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pc-media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); display: block; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pill { position: absolute; top: 10px; left: 10px; font-size: .75rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.pill-sale { background: var(--danger); color: #fff; }
.pill-muted { background: rgba(15,23,42,.8); color: #fff; left: auto; right: 10px; }
.pill-lg { font-size: .9rem; padding: 6px 12px; top: 16px; left: 16px; }
.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pc-brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.pc-title { font-size: .98rem; font-weight: 600; margin: 4px 0 8px; line-height: 1.35; }
.pc-title a { color: var(--text); }
.pc-title a:hover { color: var(--primary); }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 1.12rem; color: var(--text); }
.price-lg { font-size: 1.9rem; }
.price-old { color: var(--muted); font-size: .9rem; }
.stock-note { font-size: .8rem; font-weight: 600; margin-top: 4px; }
.stock-note.low { color: var(--warning); }
.pc-action { margin-top: auto; padding-top: 12px; }

/* ---------- Listing ---------- */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin: 18px 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; position: sticky; top: 130px; }
.filter-block { margin-bottom: 18px; }
.filter-block h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list a { display: block; padding: 6px 8px; border-radius: 7px; color: var(--text-2); font-size: .92rem; }
.filter-list a:hover { background: var(--surface-2); }
.filter-list a.active { background: var(--primary-50); color: var(--primary); font-weight: 600; }
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.listing-head h1 { margin-bottom: 4px; }
.listing-head p { margin: 0; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form select { width: auto; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 13px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .9rem; }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Cards / generic ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 22px; }
.empty-state { text-align: center; padding: 48px 24px; color: var(--text-2); }
.empty-state svg { color: var(--muted); margin: 0 auto 12px; }
.page-title { margin: 26px 0 18px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: #fafbfd; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.item-cell { display: flex; align-items: center; gap: 12px; }
.item-cell img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }

.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; text-transform: capitalize; }
.status-pending    { background: #fef3c7; color: #92400e; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-shipped    { background: #e0e7ff; color: #3730a3; }
.status-delivered  { background: #dcfce7; color: #166534; }
.status-cancelled  { background: #fee2e2; color: #991b1b; }
.status-paid       { background: #dcfce7; color: #166534; }
.status-unpaid     { background: #f1f5f9; color: #475569; }
.status-refunded   { background: #fae8ff; color: #86198f; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.pdp-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: 2rem; margin: 6px 0 6px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.save-note { background: #dcfce7; color: #166534; font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.lead { font-size: 1.05rem; color: var(--text-2); }
.stock-line { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 14px 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--success); box-shadow: 0 0 0 4px #dcfce7; }
.dot-amber { background: var(--accent); box-shadow: 0 0 0 4px #fef3c7; }
.dot-red { background: var(--danger); box-shadow: 0 0 0 4px #fee2e2; }
.buy-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); margin: 16px 0 8px; }
.qty-label { font-weight: 600; }
.qty-input { width: 80px; text-align: center; }
.assurances { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.assurances li { padding-left: 26px; position: relative; color: var(--text-2); }
.assurances li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #dcfce7; color: #166534; font-size: .72rem; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.pdp-details { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 32px; align-items: start; }
.prose { color: var(--text-2); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: .93rem; }
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; padding-right: 12px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Cart & checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 76px 1fr 90px 110px; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.cart-thumb img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.cart-name { font-weight: 600; color: var(--text); }
.cart-line { font-weight: 700; text-align: right; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.summary { padding: 22px; position: sticky; top: 130px; }
.summary .btn-lg { margin-top: 16px; }
.totals { margin: 12px 0 0; }
.totals > div { display: flex; justify-content: space-between; padding: 7px 0; color: var(--text-2); }
.totals dt, .totals dd { margin: 0; }
.totals .grand { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; font-size: 1.15rem; font-weight: 800; color: var(--text); }
.free { color: var(--success); font-weight: 700; }
.free-ship-hint { background: var(--primary-50); color: #1e3a8a; border-radius: 9px; padding: 10px 12px; font-size: .88rem; margin: 12px 0 0; }
.checkout-main { display: grid; gap: 18px; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.pay-option input { margin-top: 3px; accent-color: var(--primary); }
.pay-option > span { display: flex; flex-direction: column; }
.mini-items { list-style: none; padding: 0; margin: 0 0 8px; }
.mini-items li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-size: .9rem; }
.mini-items img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; place-items: center; padding-top: 40px; }
.auth-card { width: 100%; max-width: 440px; padding: 32px; }
.auth-card h1 { font-size: 1.6rem; }

/* ---------- Account / orders ---------- */
.account-nav { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.account-nav a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.account-nav a.active { color: var(--primary); border-color: var(--primary); }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.order-head .page-title { margin: 6px 0 4px; }
.order-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; margin-top: 18px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 20px 0 0; counter-reset: step; }
.timeline li { position: relative; text-align: center; font-size: .85rem; color: var(--muted); font-weight: 600; padding-top: 34px; }
.timeline li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--border); color: var(--muted); display: grid; place-items: center; font-size: .78rem; z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--border); }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--success); color: #fff; content: "✓"; }
.timeline li.done::after { background: var(--success); }
.timeline li.current::before { box-shadow: 0 0 0 5px #dcfce7; }
.success-hero { text-align: center; padding: 32px; margin-top: 24px; border: 1px solid #bbf7d0; }
.check-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--success); color: #fff; font-size: 1.6rem; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; }
.bank-box { text-align: left; background: var(--surface-2); border-radius: 12px; padding: 16px; max-width: 460px; margin: 16px auto 0; }
.bank-box p { margin: 8px 0 0; }

.error-page { margin-top: 40px; }
.error-code { font-size: 4rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #94a3b8; padding: 48px 0 22px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-about { margin-top: 12px; max-width: 340px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 18px; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; }
    .hero-art { height: 260px; }
    .perks { grid-template-columns: repeat(2, 1fr); }
    .listing { grid-template-columns: 1fr; }
    .filters { position: static; }
    .pdp, .pdp-details, .two-col { grid-template-columns: 1fr; }
    .cart-layout, .checkout-layout, .order-grid { grid-template-columns: 1fr; }
    .summary { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .header-row { flex-wrap: wrap; gap: 10px; }
    .search { order: 3; max-width: none; flex-basis: 100%; }
    .hide-sm { display: none; }
    .product-grid, .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pc-body { padding: 10px 12px 12px; }
    .pc-title { font-size: .9rem; }
    .cart-row { grid-template-columns: 60px 1fr auto; }
    .cart-thumb img { width: 60px; height: 60px; }
    .cart-line { grid-column: 2 / -1; text-align: left; }
    .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    h1, .pdp-info h1 { font-size: 1.55rem; }
    .timeline li { font-size: .72rem; }
}
@media (max-width: 420px) {
    .footer-grid { grid-template-columns: 1fr; }
    .perks { grid-template-columns: 1fr; }
}
