/* ============================================================
   OspreyX Shop — Global Styles
   Theme: Dark + Gold (matching OspreyX brand)
   ============================================================ */

:root {
    --ox-bg: #0a0a0a;
    --ox-surface: #141414;
    --ox-surface-hover: #1a1a1a;
    --ox-border: #2a2a2a;
    --ox-gold: #c9a84c;
    --ox-gold-light: #e0c96e;
    --ox-gold-dark: #9a7a2e;
    --ox-heading: #f0f0f0;
    --ox-body: #c0c0c0;
    --ox-muted: #707070;
    --ox-success: #34d399;
    --ox-danger: #ef4444;
    --ox-radius: 12px;
    --ox-radius-sm: 8px;
}

/* ---- Reset & Base ---- */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--ox-bg);
    color: var(--ox-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ox-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.5em;
}

a { color: var(--ox-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ox-gold-light); }

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

/* ---- Top Bar (single row: logo + trust + contact + cart) ---- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ox-border);
    padding: 0 2rem;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ox-gold);
    flex-shrink: 0;
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.navbar-brand span {
    font-size: 1.15rem;
}

.store-label {
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ox-gold), var(--ox-gold-light));
    color: #0a0a0a;
    padding: 3px 10px;
    border-radius: 5px;
    margin-left: 5px;
    font-size: 0.75em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.25);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-right .trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ox-heading);
    white-space: nowrap;
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--ox-border);
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ox-gold);
    white-space: nowrap;
}

.topbar-contact:hover { color: var(--ox-gold-light); }

.topbar-cart {
    position: relative;
    background: none;
    border: none;
    color: var(--ox-body);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--ox-radius-sm);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.topbar-cart:hover { color: var(--ox-gold); }

.topbar-cart .cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
}

/* Legacy navbar (used on sub-pages like /ir/) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ox-border);
    padding: 0 2rem;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.navbar-nav a {
    display: block;
    padding: 6px 14px;
    color: var(--ox-body);
    border-radius: var(--ox-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--ox-gold);
    background: rgba(201, 168, 76, 0.08);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ox-heading);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---- Hero ---- */

.hero h1 .gold {
    background: linear-gradient(135deg, var(--ox-gold-light), var(--ox-gold), var(--ox-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--ox-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--ox-gold);
    color: #0a0a0a;
}

.btn-primary:hover {
    background: var(--ox-gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--ox-gold);
    border: 1px solid var(--ox-gold);
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
}

/* ---- Cards ---- */

.card {
    background: var(--ox-surface);
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius);
    padding: 1.5rem;
    transition: all 0.25s;
}

.card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--ox-radius-sm);
    margin-bottom: 1rem;
    background: var(--ox-bg);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ox-gold);
}

/* ---- Grid ---- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
}

.section-header p {
    color: var(--ox-muted);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Footer ---- */

.footer {
    background: var(--ox-surface);
    border-top: 1px solid var(--ox-border);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    color: var(--ox-gold);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ox-muted);
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li { margin-bottom: 0.5rem; }

.footer a {
    color: var(--ox-body);
    font-size: 0.9rem;
}

.footer a:hover { color: var(--ox-gold); }

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ox-border);
    text-align: center;
    color: var(--ox-muted);
    font-size: 0.85rem;
}

/* ---- Layout: Sidebar + Main ---- */

.layout {
    display: flex;
    min-height: calc(100vh - 64px);
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid var(--ox-border);
    background: var(--ox-surface);
}

.sidebar-sticky {
    position: sticky;
    top: 64px;
    padding: 2rem 1.25rem;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}

.sidebar-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ox-muted);
    margin-bottom: 1rem;
    padding-left: 12px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--ox-radius-sm);
    color: var(--ox-heading);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.sidebar-link:hover {
    color: var(--ox-gold);
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.15);
}

.sidebar-link.active {
    color: var(--ox-gold);
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.25);
}

.sidebar-link svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    opacity: 0.6;
}

.sidebar-link.active svg,
.sidebar-link:hover svg {
    opacity: 1;
    stroke: var(--ox-gold);
}

/* Sidebar sub-nav (category detail pages) */
.sidebar-subnav {
    margin: 0 0 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ox-border);
}

.sidebar-subnav .sidebar-heading {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ox-gold);
    margin-bottom: 0.5rem;
    padding-left: 8px;
}

.sidebar-nav-sub {
    margin: 0 !important;
}

.sidebar-sublink {
    display: block;
    padding: 8px 12px 8px 20px;
    color: var(--ox-body);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--ox-radius-sm);
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.sidebar-sublink:hover {
    color: var(--ox-gold);
    background: rgba(201, 168, 76, 0.05);
}

.sidebar-sublink.active {
    color: var(--ox-gold);
    border-left-color: var(--ox-gold);
    background: rgba(201, 168, 76, 0.06);
}

/* Sidebar badge */
.sidebar-badge {
    padding: 1.25rem 1rem;
    border-radius: var(--ox-radius);
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    text-align: center;
}

.badge-flag {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.flag-de, .flag-us {
    width: 36px;
    height: 24px;
    border-radius: 3px;
    display: inline-block;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.flag-de {
    background: linear-gradient(180deg, #000 33%, #d00 33% 66%, #fc0 66%);
}

.flag-us {
    background: linear-gradient(180deg,
        #b22234 0% 7.7%, #fff 7.7% 15.4%,
        #b22234 15.4% 23.1%, #fff 23.1% 30.8%,
        #b22234 30.8% 38.5%, #fff 38.5% 46.2%,
        #b22234 46.2% 53.9%, #fff 53.9% 61.6%,
        #b22234 61.6% 69.3%, #fff 69.3% 77%,
        #b22234 77% 84.7%, #fff 84.7% 92.4%,
        #b22234 92.4% 100%
    );
    position: relative;
}

.flag-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 53.9%;
    background: #3c3b6e;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ox-heading);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.main {
    flex: 1;
    min-width: 0;
}

/* ---- Hero (within main) ---- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem 1.5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.18));
}

.hero-store-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ox-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.25rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 0.25rem;
    text-align: left;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--ox-muted);
    letter-spacing: 0.06em;
    margin: 0;
    text-align: left;
}

/* ---- Category Cards — Image-driven ---- */

.catalog-grid-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
}

.cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    background: #0d0d0d;
    border: 2px solid rgba(201, 168, 76, 0.35);
    border-radius: var(--ox-radius);
}

.cat-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s, transform 0.5s;
}

.cat-img-default {
    opacity: 1;
    filter: brightness(0.75);
}

.cat-img-hover {
    opacity: 0;
    filter: brightness(0.6);
}

/* Product shots need contain + padding on dark bg */
.cat-img-default {
    object-fit: contain;
    padding: 1.5rem;
}

/* IR thermal camera looks better as cover */
.cat-img-default[alt="Infrared Cameras"] {
    object-fit: cover;
    padding: 0;
}

.cat-card:hover .cat-img-default {
    opacity: 0;
}

.cat-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
}

.cat-card:hover .cat-img-hover {
    opacity: 1;
    transform: scale(1.05);
}

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

.cat-overlay h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 4px;
}

.cat-brand {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ox-gold);
}

.thermal-gradient {
    background: linear-gradient(135deg, rgba(255, 61, 61, 0.12), rgba(255, 184, 77, 0.12));
    color: #ff6b2b;
}

.vision-gradient {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(99, 179, 237, 0.12));
    color: #60a5fa;
}

.surveillance-gradient {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(110, 231, 183, 0.12));
    color: #34d399;
}

.scanning-gradient {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(196, 181, 253, 0.12));
    color: #a78bfa;
}

/* ---- Value Cards ---- */

.values-section {
    padding: 4rem 2rem;
}

.values-section .grid {
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-icon {
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--ox-muted);
    line-height: 1.5;
}

/* ---- About Section ---- */

.about-section {
    padding: 4rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content .gold {
    color: var(--ox-gold);
}

.about-content > p {
    color: var(--ox-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ox-heading);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-num.gold { color: var(--ox-gold); }

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ox-muted);
}

/* ---- Contact Section ---- */

.contact-grid {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

/* ---- Footer (simple) ---- */

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-contact {
    font-size: 0.85rem;
    color: var(--ox-muted);
    margin: 0.25rem 0;
}

.footer-contact a {
    color: var(--ox-gold);
}

.footer-copy {
    color: var(--ox-muted);
    font-size: 0.8rem;
    margin: 1rem 0 0;
    opacity: 0.6;
}

/* ---- Trust Bar ---- */

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0.75rem 2rem;
    background: rgba(201, 168, 76, 0.04);
    border-bottom: 1px solid var(--ox-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ox-heading);
}

.trust-item svg { flex-shrink: 0; }

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--ox-border);
    margin: 0 0.5rem;
}

.trust-contact {
    color: var(--ox-gold);
}

.trust-cart {
    position: relative;
    background: none;
    border: none;
    color: var(--ox-body);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--ox-radius-sm);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.trust-cart:hover { color: var(--ox-gold); }

.trust-cart .cart-badge {
    position: absolute;
    top: -4px;
    right: -2px;
}

.trust-item .trust-detail {
    font-weight: 400;
    color: var(--ox-muted);
    font-size: 0.7rem;
    display: block;
}

/* ---- Cart Button (navbar) ---- */

.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--ox-body);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--ox-radius-sm);
    transition: all 0.2s;
}

.cart-btn:hover {
    color: var(--ox-gold);
    background: rgba(201, 168, 76, 0.08);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--ox-gold);
    color: #0a0a0a;
    font-size: 0.65rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ---- Cart Slide-out Panel ---- */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: var(--ox-surface);
    border-left: 1px solid var(--ox-border);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.cart-panel.open { transform: translateX(0); }

.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--ox-border);
}

.cart-panel-header h3 { margin: 0; font-size: 1.1rem; }

.cart-close {
    background: none;
    border: none;
    color: var(--ox-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-close:hover { color: var(--ox-heading); }

.cart-panel-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.cart-empty { text-align: center; color: var(--ox-muted); padding: 3rem 0; }

.cart-item { padding: 1rem 0; border-bottom: 1px solid var(--ox-border); }
.cart-item-info { margin-bottom: 0.5rem; }
.cart-item-name { display: block; font-weight: 600; color: var(--ox-heading); font-size: 0.9rem; }
.cart-item-variant { display: block; font-size: 0.75rem; color: var(--ox-muted); margin-top: 2px; }

.cart-item-controls { display: flex; align-items: center; gap: 1rem; }

.cart-qty {
    display: flex;
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius-sm);
    overflow: hidden;
}
.cart-qty button {
    width: 28px; height: 28px; border: none;
    background: var(--ox-bg); color: var(--ox-heading);
    font-size: 0.9rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.cart-qty button:disabled { opacity: 0.3; cursor: default; }
.cart-qty button:hover:not(:disabled) { background: rgba(201, 168, 76, 0.1); }
.cart-qty span { width: 28px; text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--ox-heading); }

.cart-item-price { font-weight: 700; color: var(--ox-gold); font-size: 0.9rem; margin-left: auto; }
.cart-remove { background: none; border: none; color: var(--ox-muted); font-size: 1.2rem; cursor: pointer; }
.cart-remove:hover { color: var(--ox-danger); }

.cart-panel-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--ox-border); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.cart-total-row span:first-child { font-weight: 600; color: var(--ox-heading); }
.cart-total { font-size: 1.25rem; font-weight: 800; color: var(--ox-gold); }
.cart-shipping-note { font-size: 0.75rem; color: var(--ox-success); margin: 0 0 1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- Toast ---- */

.toast {
    position: fixed; bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ox-gold); color: #0a0a0a;
    padding: 10px 24px; border-radius: var(--ox-radius-sm);
    font-size: 0.85rem; font-weight: 600;
    opacity: 0; pointer-events: none;
    transition: all 0.3s; z-index: 3000; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Sidebar Extras ---- */

.sidebar-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--ox-muted);
    margin-bottom: 1.25rem;
    padding: 4px 0;
}

.sidebar-back:hover { color: var(--ox-gold); }

.sidebar-brand-tag {
    padding: 1rem;
    border-radius: var(--ox-radius-sm);
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.12);
    text-align: center;
}

.brand-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ox-muted);
    margin-bottom: 2px;
}

.brand-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ox-heading);
}

.brand-origin {
    display: block;
    font-size: 0.7rem;
    color: var(--ox-muted);
    margin-top: 2px;
}

/* ---- IR Hero ---- */

.ir-hero::before {
    background: radial-gradient(ellipse at center, rgba(255, 107, 43, 0.06) 0%, transparent 70%);
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ox-gold);
    margin-bottom: 0.75rem;
}

.thermal-text {
    background: linear-gradient(135deg, #ffb84d, #ff6b2b, #ff3d3d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Product Cards ---- */

.product-card {
    background: var(--ox-surface);
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.25s;
}

.product-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.product-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--ox-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.product-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.product-specs {
    font-size: 0.8rem;
    color: var(--ox-muted);
    margin: 0 0 0.75rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ox-gold);
    margin: 0;
}

.coming-soon {
    text-align: center;
    color: var(--ox-muted);
    padding: 3rem 1rem;
    font-size: 0.95rem;
}

/* ---- Scroll Animations ---- */

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    /* Topbar: hide trust items, keep logo + contact + cart */
    .topbar-right .trust-item,
    .trust-divider { display: none; }
    .topbar { padding: 0 0.75rem; height: 44px; }
    .navbar-brand img { height: 24px; }
    .navbar-brand span { font-size: 0.95rem; }
    .store-label { font-size: 0.7em; padding: 2px 6px; }

    /* Layout: sidebar becomes horizontal strip */
    .layout { flex-direction: column; }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--ox-border);
    }
    .sidebar-sticky {
        position: static;
        max-height: none;
        padding: 0.75rem;
    }
    .sidebar-nav {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .sidebar-nav::-webkit-scrollbar { display: none; }
    .sidebar-link {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    .sidebar-link svg { width: 16px; height: 16px; }
    .sidebar-badge { display: none; }
    .sidebar-subnav { display: none; }

    /* Hero: compact */
    .hero { padding: 1.5rem 1rem; }
    .hero-brand { gap: 1rem; }
    .hero-logo { width: 70px; height: 70px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.8rem; }

    /* Cards: 2x2 on tablet, tighter */
    .catalog-grid-full { gap: 3px; padding: 3px; }
    .cat-overlay { padding: 0.75rem; }
    .cat-overlay h3 { font-size: 1rem; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer { padding: 2rem 1rem 1.5rem; margin-top: 0; }
}

@media (max-width: 480px) {
    /* Cards: stack single column on small phones */
    .catalog-grid-full { grid-template-columns: 1fr; }
    .cat-card { aspect-ratio: 16 / 8; }

    .container { padding: 0 0.75rem; }
    .section { padding: 2rem 0; }

    .hero-brand { flex-direction: column; text-align: center; }
    .hero h1 { text-align: center; }
    .hero-subtitle { text-align: center; }
    .hero-logo { width: 60px; height: 60px; }
}
