/* ==========================================================================
   PS5 Kenya storefront stylesheet
   PlayStation-inspired, mobile-first, accessible
   ========================================================================== */

:root {
    --ps-blue: #0070d1;
    --ps-blue-dark: #00439c;
    --ps-navy: #0d1b2a;
    --ps-navy-2: #14243b;
    --ink: #141a26;
    --ink-soft: #3c4654;
    --muted: #5f6b7a;
    --line: #e5e9ef;
    --line-strong: #d5dbe4;
    --surface: #ffffff;
    --surface-alt: #f4f7fb;
    --success: #0e9f6e;
    --success-bg: #e7f6f0;
    --danger: #b91c1c;
    --danger-bg: #fdecec;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
    --shadow-md: 0 6px 16px rgba(16, 24, 40, 0.10);
    --shadow-lg: 0 18px 40px rgba(16, 24, 40, 0.16);
    --focus: 0 0 0 3px rgba(0, 112, 209, 0.35);
    --font: "Helvetica Neue", "Segoe UI", Roboto, Arial, system-ui, sans-serif;
    --container: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.55;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ps-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 12px; top: -48px; z-index: 200;
    background: var(--ps-navy); color: #fff; padding: 10px 16px;
    border-radius: 0 0 8px 8px; font-weight: 700; transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; border: 1px solid transparent; cursor: pointer;
    font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1;
    padding: 14px 24px; border-radius: 999px; text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--ps-blue); color: #fff; }
.btn--primary:hover { background: var(--ps-blue-dark); }
.btn--secondary { background: #fff; color: var(--ps-blue); border-color: var(--ps-blue); }
.btn--secondary:hover { background: #eaf4ff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--whatsapp { background: #22b056; color: #fff; }
.btn--whatsapp:hover { background: #1a9447; }
.btn--disabled { background: #d5dbe4; color: #7a8694; cursor: not-allowed; }
.btn--block { width: 100%; }

.text-link { font-weight: 700; color: var(--ps-blue); }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header-top { background: var(--ps-navy); color: #cfe0f5; font-size: 13px; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 12px; }
.header-note { margin: 0; color: #cfe0f5; }
.header-top-links { display: flex; gap: 16px; align-items: center; }
.header-top-links a { color: #fff; font-weight: 600; }
.header-top-links a:hover { color: #9dcbff; text-decoration: none; }
.header-phone { white-space: nowrap; }

.header-main-inner {
    display: flex; align-items: center; gap: 16px;
    min-height: 68px;
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-image { max-height: 44px; width: auto; }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 9px;
    background: linear-gradient(135deg, #0070d1, #00439c); color: #fff;
    font-weight: 800; font-size: 15px; letter-spacing: 0;
    flex: none;
}
.logo-mark-ps { font-style: italic; }
.logo-text { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }

.search-form { flex: 1 1 auto; display: flex; max-width: 520px; }
.search-form input {
    flex: 1; min-width: 0; font: inherit; font-size: 15px;
    padding: 11px 16px; border: 1px solid var(--line-strong); border-right: 0;
    border-radius: 999px 0 0 999px; background: #f7f9fc;
}
.search-form input:focus { outline: none; background: #fff; border-color: var(--ps-blue); }
.search-form button {
    font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
    padding: 11px 20px; border: 1px solid var(--ps-blue); background: var(--ps-blue); color: #fff;
    border-radius: 0 999px 999px 0;
}
.search-form button:hover { background: var(--ps-blue-dark); }

.cart-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.cart-link svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cart-link:hover { color: var(--ps-blue); text-decoration: none; }

.menu-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 10px; margin: 0; flex: none;
}
.menu-toggle-bar { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.primary-nav { background: #fff; border-top: 1px solid var(--line); }
.primary-nav-inner { display: flex; gap: 4px; overflow-x: auto; }
.primary-nav-link {
    display: inline-block; padding: 13px 14px; color: var(--ink-soft);
    font-weight: 600; font-size: 15px; white-space: nowrap;
}
.primary-nav-link:hover { color: var(--ps-blue); text-decoration: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu-backdrop { position: fixed; inset: 0; background: rgba(13, 27, 42, 0.5); z-index: 150; }
.mobile-menu {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw);
    background: #fff; z-index: 160; overflow-y: auto; box-shadow: var(--shadow-lg);
    transform: translateX(-100%); transition: transform 0.2s ease;
}
.mobile-menu:not([hidden]) { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mobile-menu-title { font-weight: 800; font-size: 18px; }
.mobile-menu-close { background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); line-height: 1; }
.mobile-menu-list { list-style: none; margin: 0; padding: 8px 0; }
.mobile-menu-link {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 13px 20px; color: var(--ink); font-weight: 600; font-size: 16px;
    background: none; border: 0; cursor: pointer; text-align: left;
}
.mobile-menu-link:hover { color: var(--ps-blue); background: #f4f7fb; text-decoration: none; }
.mobile-menu-chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.mobile-menu-accordion-toggle[aria-expanded="true"] .mobile-menu-chevron { transform: rotate(-135deg); }
.mobile-menu-submenu { list-style: none; margin: 0; padding: 0 0 4px; background: #f7f9fc; }
.mobile-menu-sublink { display: block; padding: 11px 20px 11px 32px; color: var(--ink-soft); font-size: 15px; }
.mobile-menu-sublink:hover { color: var(--ps-blue); text-decoration: none; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 600; }
.alert.success { background: var(--success-bg); color: #0a6e4c; border: 1px solid #bfe7d6; }
.alert.error { background: var(--danger-bg); color: #8f1616; border: 1px solid #f3c5c5; }

/* ---------- Hero ---------- */
.hero { background: var(--ps-navy); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 48px 20px 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); color: #fff; }
.hero-copy p { font-size: 1.05rem; color: #d7e5f5; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-media { display: flex; justify-content: center; }
.hero-media img { max-height: 340px; width: auto; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--light { background: var(--surface-alt); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.section-head p { color: var(--muted); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head--row h2 { margin-bottom: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 700; color: var(--ps-blue); margin-bottom: 8px; }

/* ---------- Console comparison ---------- */
.console-compare { display: grid; grid-template-columns: 1fr; gap: 18px; }
.console-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.console-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.console-card-media { background: #f7f9fc; display: flex; align-items: center; justify-content: center; padding: 18px; }
.console-card-media img { width: auto; height: 180px; object-fit: contain; }
.console-card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.console-card-name { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.console-card-price { font-size: 1.4rem; font-weight: 800; color: var(--ps-blue); }
.console-card-meta { font-size: 14px; color: var(--muted); }
.console-card-cta { font-weight: 700; color: var(--ps-blue); font-size: 15px; }

/* ---------- Category shortcuts ---------- */
.category-shortcuts { display: grid; grid-template-columns: 1fr; gap: 12px; }
.category-shortcut {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 18px 20px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.category-shortcut:hover { border-color: var(--ps-blue); box-shadow: var(--shadow-md); text-decoration: none; }
.category-shortcut-name { font-size: 16px; }
.category-shortcut-arrow { color: var(--ps-blue); font-size: 18px; }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-media { display: block; background: #f7f9fc; padding: 16px; }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-category { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.product-name { margin: 0; font-size: 15px; font-weight: 700; }
.product-name a { color: var(--ink); }
.product-name a:hover { color: var(--ps-blue); text-decoration: none; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 800; color: var(--ink); font-size: 16px; }
.view-btn { font-weight: 700; color: var(--ps-blue); font-size: 14px; white-space: nowrap; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { color: var(--muted); margin: 0; }

/* ---------- Guide links ---------- */
.guide-links { display: flex; flex-direction: column; gap: 10px; }
.guide-link {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 15px 18px; font-weight: 600; color: var(--ink);
}
.guide-link:hover { border-color: var(--ps-blue); color: var(--ps-blue); text-decoration: none; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.testimonial-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.testimonial-quote { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.testimonial-name { font-weight: 800; margin: 0; }
.testimonial-role { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; font-size: 16px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ps-blue); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Rich content ---------- */
.rich-content { color: var(--ink-soft); }
.rich-content h2 { font-size: 1.5rem; color: var(--ink); margin-top: 1.5em; }
.rich-content h3 { font-size: 1.2rem; color: var(--ink); margin-top: 1.3em; }
.rich-content ul, .rich-content ol { padding-left: 22px; }
.rich-content li { margin-bottom: 6px; }
.rich-content a { font-weight: 600; }
.rich-content img { border-radius: var(--radius-sm); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 16px 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ps-blue); }

/* ---------- Catalog head ---------- */
.catalog-head { padding: 28px 0 8px; }
.catalog-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.catalog-head-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Pager ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 28px 0 40px; }
.pager-link { font-weight: 700; color: var(--ps-blue); padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; }
.pager-link:hover { text-decoration: none; border-color: var(--ps-blue); }
.pager-link.disabled { color: #b3bcc7; border-color: var(--line); cursor: not-allowed; }

.empty, .fallback-note { color: var(--muted); padding: 24px 0; }

/* ---------- Product page ---------- */
.product-page { padding-bottom: 48px; }
.product-showcase { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery-stage { background: #f7f9fc; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 24px; }
.product-gallery-main { width: auto; height: auto; max-height: 420px; object-fit: contain; }
.product-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.product-gallery-thumb { flex: none; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; padding: 6px; width: 74px; height: 74px; }
.product-gallery-thumb.is-active { border-color: var(--ps-blue); box-shadow: var(--focus); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-summary { display: flex; flex-direction: column; gap: 14px; }
.product-summary-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-title { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0; }
.product-meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 14px; }
.product-price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.current-price { font-size: 1.9rem; font-weight: 800; color: var(--ps-blue); }
.compare-price { color: var(--muted); text-decoration: line-through; }
.discount-pill { background: var(--success-bg); color: #0a6e4c; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.product-summary-copy { color: var(--ink-soft); margin: 0; }

.product-actions { display: flex; flex-direction: column; gap: 14px; }
.quantity-block { display: flex; flex-direction: column; gap: 6px; }
.quantity-label { font-size: 14px; font-weight: 700; }
.quantity-picker { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; width: fit-content; }
.qty-control { width: 42px; height: 42px; border: 0; background: #f4f7fb; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty-control:hover { background: #eaf1fb; }
.quantity-input { width: 60px; height: 42px; border: 0; text-align: center; font: inherit; font-weight: 700; }
.quantity-input:focus { outline: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.product-note-row { display: flex; flex-wrap: wrap; gap: 8px; }
.product-note { background: var(--surface-alt); border: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

.stock-badge { font-size: 12px; font-weight: 800; letter-spacing: 0.03em; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; }
.stock-badge.is-available { background: var(--success-bg); color: #0a6e4c; }
.stock-badge.is-unavailable { background: var(--danger-bg); color: #8f1616; }

/* ---------- Product info grid ---------- */
.product-info-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
.info-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.info-panel h2 { font-size: 17px; }
.info-panel ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.info-panel li { margin-bottom: 6px; }
.info-panel p { color: var(--ink-soft); margin: 0; }
.spec-table { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.spec-table > div { display: grid; grid-template-columns: 1fr; gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.spec-table dt { font-weight: 700; color: var(--ink); }
.spec-table dd { margin: 0; color: var(--ink-soft); }

/* ---------- Product details & sections ---------- */
.product-details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.product-section { margin-bottom: 24px; }
.product-section h2 { font-size: 1.4rem; }
.product-video { margin-top: 20px; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Sticky bar ---------- */
.sticky-bar {
    position: sticky; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,24,40,0.08);
    padding: 12px 16px; margin: 0 -20px; flex-wrap: wrap;
}
.sticky-price { font-size: 1.3rem; font-weight: 800; color: var(--ps-blue); margin-right: auto; }
.sticky-form { display: inline-flex; }

/* ---------- Page story (buying guides) ---------- */
.page-story { padding-bottom: 48px; }
.page-story-hero { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 32px 0; align-items: center; }
.page-story-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.page-story-summary { color: var(--muted); font-size: 1.05rem; }
.page-story-actions { margin-top: 18px; }
.page-story-media img { border-radius: var(--radius); }
.page-story-body { max-width: 780px; }
.page-story-body .rich-content { font-size: 1.02rem; }
.page-faq { margin-top: 32px; }

/* ---------- Trust page ---------- */
.trust-page { padding: 32px 0 56px; }
.trust-title { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.trust-summary { color: var(--muted); font-size: 1.05rem; }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 24px 0; }
.trust-grid > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.trust-grid dt { font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.trust-grid dd { margin: 0; color: var(--ink-soft); }

/* ---------- Cart ---------- */
.page-title { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 24px 0; }
.cart-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cart-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cart-item-media { grid-row: span 2; }
.cart-item-media img { width: 84px; height: 84px; object-fit: contain; background: #f7f9fc; border-radius: var(--radius-sm); }
.cart-item-name { font-size: 16px; margin: 0; }
.cart-item-meta { color: var(--muted); font-size: 14px; margin: 0; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-item-qty input { width: 70px; padding: 9px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; }
.cart-item-total { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; font-weight: 800; }
.cart-remove { background: none; border: 0; color: var(--danger); cursor: pointer; font-weight: 600; font-size: 14px; padding: 0; }
.cart-remove:hover { text-decoration: underline; }
.cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; flex-wrap: wrap; }
.cart-summary p { margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-grid--full { grid-column: 1 / -1; }
.form-grid label, .checkout-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form-grid input, .form-grid textarea, .checkout-form input, .checkout-form textarea {
    font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm); background: #f7f9fc; width: 100%;
}
.form-grid input:focus, .form-grid textarea:focus, .checkout-form input:focus, .checkout-form textarea:focus {
    outline: none; border-color: var(--ps-blue); background: #fff;
}
.checkout-form { display: flex; flex-direction: column; gap: 20px; }
.auth-card { max-width: 460px; margin: 32px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.muted { color: var(--muted); }
.order-confirm { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin: 32px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ps-navy); color: #c6d4e6; padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer-tagline { font-size: 14px; max-width: 32ch; }
.footer-heading { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #c6d4e6; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.logo-mark--footer { margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 20px; font-size: 13px; color: #93a5bb; }
.footer-bottom p { margin: 0 0 6px; }
.footer-disclaimer { max-width: 76ch; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .console-compare { grid-template-columns: repeat(2, 1fr); }
    .category-shortcuts { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .product-info-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-item { grid-template-columns: auto 1fr auto; align-items: center; }
    .cart-item-media { grid-row: span 1; }
}

@media (min-width: 900px) {
    .menu-toggle { display: none; }
    .header-main-inner { gap: 24px; }
    .cart-link .cart-link-label { display: inline; }
    .hero-inner { grid-template-columns: 1fr 1fr; padding: 64px 20px 72px; }
    .console-compare { grid-template-columns: repeat(3, 1fr); }
    .category-shortcuts { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .product-showcase { grid-template-columns: 1fr 1fr; }
    .product-info-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); }
    .page-story-hero { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
    .console-compare { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
