﻿/* Self-hosted Inter (latin) — no third-party request, GDPR-friendly, no banner needed */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/inter-latin-800-normal.woff2') format('woff2');
}

:root {
    --bg: #08080a;
    --text: #ffffff;
    --muted: #a1a1aa;
    --accent: #e5e5e7;
    --card-bg: #18181b;
    --border: #27272a;

    /* Liquid glass material */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-strong: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-highlight: rgba(255, 255, 255, 0.22);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    --glass-blur: blur(18px) saturate(160%);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle ambient light so the glass has something to refract */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(1100px 620px at 50% -12%, rgba(255, 255, 255, 0.07), transparent 60%),
        radial-gradient(820px 520px at 88% 4%, rgba(255, 255, 255, 0.035), transparent 55%),
        radial-gradient(760px 520px at 10% 18%, rgba(255, 255, 255, 0.03), transparent 55%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Navigation ──────────────────────────────────── */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    position: sticky;
    top: 14px;
    z-index: 100;
    margin-top: 14px;
    border-radius: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
}

.brand-logo,
.breadcrumb .crumb-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.breadcrumb img.crumb-logo-cover {
    object-fit: cover;
    object-position: center;
}

.brand {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.btn-nav {
    color: var(--text) !important;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 var(--glass-highlight);
    font-weight: 600;
}

.btn-nav:hover {
    border-color: var(--glass-highlight);
    background: rgba(255, 255, 255, 0.12) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Ticker (stock-style running text) ───────────── */

.ticker {
    margin-top: 10px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 var(--glass-highlight);
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 36s linear infinite;
    will-change: transform;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-group {
    display: flex;
    flex: 0 0 auto;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    color: var(--muted);
    white-space: nowrap;
}

.ticker-sym { color: #d4d4d8; font-weight: 700; }
.ticker-up { color: #4ade80; font-size: 0.68rem; }
.ticker-down { color: #f87171; font-size: 0.68rem; }
.ticker-flat { color: #8a8a93; font-size: 0.62rem; }
.ticker-val { color: var(--muted); font-variant-numeric: tabular-nums; }

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .ticker {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .hero-bg::before,
    .hero-bg::after,
    .scroll-hint { animation: none; }
}

/* ─── Hero ────────────────────────────────────────── */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100svh - 130px);
    padding: 40px 0 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Animated monochrome hero backdrop (replaceable by a video) */
.hero-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Fade the whole backdrop (grid + glow) to black on the left, right and bottom */
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%),
        linear-gradient(180deg, #000 0, #000 42%, transparent 94%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%),
        linear-gradient(180deg, #000 0, #000 42%, transparent 94%);
    mask-composite: intersect;
}

.hero-bg::before {
    content: "";
    position: absolute;
    width: 85vmax;
    height: 85vmax;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
    animation: heroGlow 16s ease-in-out infinite;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: heroGrid 24s linear infinite;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    z-index: 1;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(-54%, -50%) scale(1); opacity: 0.75; }
    50% { transform: translate(-46%, -47%) scale(1.18); opacity: 1; }
}

@keyframes heroGrid {
    from { background-position: 0 0, 0 0; }
    to { background-position: 48px 48px, 48px 48px; }
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 2.2s ease-in-out infinite;
}

.scroll-chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: border-color 0.2s;
}

.scroll-hint:hover .scroll-chevron { border-color: var(--text); }

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.badge {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #d4d4d8;
    letter-spacing: 0.01em;
    margin-bottom: 28px;
    display: inline-block;
    box-shadow: inset 0 1px 0 var(--glass-highlight);
}

h1 {
    font-size: clamp(2.8rem, 11vw, 6rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

/* Brushed-chrome / platinum sheen — monochrome, SpaceX / xAI inspired */
.gradient-text {
    background: linear-gradient(180deg, #ffffff 0%, #dcdce1 40%, #87878f 70%, #c6c6cd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ─── Buttons ─────────────────────────────────────── */

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    min-width: 200px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: var(--glass-bg-strong);
    color: var(--text);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 var(--glass-highlight);
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-secondary:hover {
    border-color: var(--glass-highlight);
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
    transform: translateY(-2px);
}

.btn-label { font-weight: 600; }

.helper-text {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 14px;
}

.helper-text a {
    color: var(--accent);
    text-decoration: none;
}

.helper-text a:hover { text-decoration: underline; }

/* ─── Sections ────────────────────────────────────── */

.section {
    padding: 88px 0;
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

/* ─── Feature / Service cards ─────────────────────── */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 28px;
    border-radius: 18px;
    box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-highlight);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 var(--glass-highlight);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ─── Products ────────────────────────────────────── */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 28px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

a.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-highlight);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 var(--glass-highlight);
}

.product-card.coming-soon {
    opacity: 0.55;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    background: var(--border);
}

.product-icon-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.1;
}

.product-badge {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: #d4d4d8;
    padding: 2px 10px;
    border-radius: 20px;
    width: fit-content;
}

.product-badge.muted {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.product-card p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.6;
    flex: 1;
}

.product-link {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

/* ─── About ───────────────────────────────────────── */

.about-section { text-align: center; }

.about-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.about-inner h2 { margin-bottom: 0; }

.about-lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.7;
}

.about-body {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

blockquote {
    font-style: italic;
    color: var(--muted);
    font-size: 1rem;
    text-align: center;
    align-self: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    border: none;
}

.about-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* ─── Contact ─────────────────────────────────────── */

.contact-section { text-align: center; }

.contact-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 22px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.contact-card .contact-email {
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 600;
}

.contact-card .contact-meta {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ─── Footer ──────────────────────────────────────── */

footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content p {
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-content a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-content a:hover { color: var(--text); }

.site-version {
    font-size: 0.68rem;
    opacity: 0.4;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.socials {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.socials a { font-size: 0.88rem; }

/* ─── Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
    h2 { font-size: 1.75rem; }

    .hero { min-height: calc(100svh - 110px); padding: 40px 0 70px; }
    .section { padding: 64px 0; }

    .cards-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background: rgba(20, 20, 23, 0.72);
        border: 1px solid var(--glass-border);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
        border-radius: 14px;
        padding: 12px;
        min-width: 190px;
        gap: 4px;
        z-index: 100;
    }

    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 14px; }

    .contact-card { padding: 36px 24px; }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    /* Keep the product subpage header compact on phones */
    .nav-right { gap: 6px; flex-shrink: 0; }
    .lang-code { display: none; }
    .lang-current { padding: 7px 8px; }
    .cart-btn { padding: 7px 9px; }
    nav { padding: 10px 14px; gap: 8px; }
    .brand { font-size: 1.05rem; }
    .ticker-item { padding: 8px 18px; font-size: 0.72rem; letter-spacing: 0.06em; }

    /* Product subpage breadcrumb: drop redundant "PruneX" text (logo links home),
       let the current product name take the space and ellipsis if it's long */
    .breadcrumb { flex: 1 1 auto; min-width: 0; }
    .breadcrumb .crumb-root .crumb-name { display: none; }
    .breadcrumb .crumb-current { min-width: 0; overflow: hidden; }
    .breadcrumb .crumb-current .crumb-name { overflow: hidden; text-overflow: ellipsis; }
}

/* ─── Breadcrumb "folder" header (product subpages) ── */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.breadcrumb .crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.breadcrumb .crumb-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.breadcrumb .crumb-root .crumb-name { color: var(--muted); }
.breadcrumb .crumb-current .crumb-name { color: var(--text); }

.breadcrumb .crumb-sep {
    color: var(--border);
    font-size: 1.2rem;
    font-weight: 400;
}

@media (max-width: 420px) {
    .breadcrumb .crumb-name { font-size: 0.98rem; }
    .breadcrumb { gap: 6px; }
}

/* ─── Language switcher ───────────────────────────── */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switcher {
    position: relative;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 var(--glass-highlight);
    color: var(--text);
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.lang-current:hover { border-color: var(--glass-highlight); background: rgba(255, 255, 255, 0.12); }
.lang-flags {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.lang-flag-sep {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1;
    user-select: none;
}
.lang-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.lang-caret { font-size: 0.7rem; color: var(--muted); }

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(20, 20, 23, 0.72);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 14px;
    padding: 6px;
    min-width: 160px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 200;
    box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.lang-switcher.open .lang-menu { display: flex; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.9rem;
    text-align: left;
    padding: 9px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.lang-option:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }

/* ─── Shop ────────────────────────────────────────── */

.shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.shop-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.shop-card:hover { transform: translateY(-4px); border-color: #3f3f46; }

.shop-thumb {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-bottom: 1px solid var(--border);
}

.shop-card:nth-child(2n) .shop-thumb { background: linear-gradient(135deg, #2a2140 0%, #14101f 100%); }
.shop-card:nth-child(3n) .shop-thumb { background: linear-gradient(135deg, #102a26 0%, #0c1815 100%); }

.shop-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.shop-body h3 { font-size: 1.05rem; font-weight: 700; }
.shop-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; flex: 1; }

.shop-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.shop-price { font-size: 1.15rem; font-weight: 700; }

.add-btn {
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.2s;
    white-space: nowrap;
}

.add-btn:hover { transform: translateY(-1px); }
.add-btn.added { background: #22c55e; color: #06210f; }

/* Cart button in nav */
.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 var(--glass-highlight);
    color: var(--text);
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.cart-btn:hover { border-color: var(--glass-highlight); background: rgba(255, 255, 255, 0.12); }

.cart-count {
    background: #ffffff;
    color: #0a0a0a;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-count:empty,
.cart-count[data-count="0"] { display: none; }

/* Cart drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 300;
}

.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 420px;
    background: rgba(16, 16, 19, 0.78);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--glass-border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 310;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open { transform: translateX(0); }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 { font-size: 1.15rem; font-weight: 700; }

.icon-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.icon-btn:hover { color: var(--text); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.cart-item-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.92rem; font-weight: 600; }
.cart-item-price { font-size: 0.85rem; color: var(--muted); }

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.qty-btn:hover { border-color: var(--muted); }
.qty-val { min-width: 18px; text-align: center; font-size: 0.9rem; }

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1.05rem;
}

.cart-subtotal strong { font-size: 1.25rem; }
.cart-footer .btn-primary { width: 100%; }
.cart-footer .btn-primary[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ─── Checkout modal (mock Stripe) ────────────────── */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
    z-index: 400;
}

.modal-overlay.open { display: flex; }

.checkout-modal {
    background: rgba(16, 16, 19, 0.82);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.checkout-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-head h3 { font-size: 1.3rem; font-weight: 800; }

.demo-note {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--muted);
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 10px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

.field input {
    background: #18181b;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.field input:focus { outline: none; border-color: var(--accent); }

.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 6px;
    border-top: 1px solid var(--border);
    font-size: 1rem;
}

.checkout-total strong { font-size: 1.2rem; }
.checkout-modal .btn-primary { width: 100%; }

.checkout-success { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; padding: 12px 0; }
.success-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.checkout-success h3 { font-size: 1.4rem; font-weight: 800; }
.checkout-success p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* Tablet / desktop scaling for shop grid (mobile-first up) */
@media (min-width: 560px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
    .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
