/* Fonts are self-hosted (assets/fonts, variable woff2, latin + latin-ext
   subsets from Google Fonts, OFL): no request to Google, see Datenschutz. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --bg: #0A0A0D;
    --surface: #131317;
    --surface-2: #1B1B21;
    --border: rgba(255,255,255,0.09);
    --border-strong: rgba(255,255,255,0.16);
    --text: #F3F2F5;
    --text-muted: #98959F;
    --gold: #D9B36C;
    --gold-strong: #E8C583;
    --gold-dark: #0F0D0A;
    --accent: #8B5CF6;
    --accent-2: #22D3EE;
    --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
    --ph-bg: #16161C;
    --ph-fg: #58555F;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.4);
    --shadow-hover: 0 4px 14px rgba(0,0,0,0.4), 0 18px 40px rgba(139,92,246,0.18);
}

* { box-sizing: border-box; }
html { color-scheme: dark; }

body {
    margin: 0;
    background:
        radial-gradient(ellipse 900px 500px at 15% -10%, rgba(139,92,246,0.16), transparent 60%),
        radial-gradient(ellipse 800px 500px at 100% 0%, rgba(34,211,238,0.10), transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.muted { color: var(--text-muted); }
.small { font-size: 0.85em; }

/* Announce bar */
.announce-bar {
    background: var(--gradient);
    color: #0A0A0D;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 7px 16px;
}

/* Header */
.site-header {
    background: rgba(10,10,13,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
    max-width: 1280px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    color: var(--text);
}
.logo__lockup { height: 34px; width: auto; display: block; }
.logo__mark { height: 26px; width: auto; flex-shrink: 0; }

.search-form {
    flex: 1;
    display: flex;
    max-width: 640px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    overflow: hidden;
    height: 42px;
    background: var(--surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,92,246,0.18); }
.search-form__category {
    border: none;
    border-right: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0 8px;
    max-width: 150px;
    font-family: inherit;
}
.search-form input[type="text"] {
    flex: 1;
    border: none;
    padding: 0 12px;
    font-size: 0.92rem;
    font-family: inherit;
    min-width: 0;
    background: transparent;
    color: var(--text);
}
.search-form input[type="text"]::placeholder { color: var(--text-muted); }
.search-form input[type="text"]:focus,
.search-form__category:focus { outline: none; }
.search-form button {
    background: var(--surface-2);
    color: var(--text);
    border: none;
    border-left: 1px solid var(--border);
    padding: 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.search-form button:hover { color: var(--accent-2); }

.main-nav { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding: 8px 4px;
    color: var(--text);
}
.cart-link:hover { color: var(--accent-2); }
.cart-link__text { display: none; }
.cart-badge {
    background: var(--gradient);
    color: #0A0A0D;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    position: absolute;
    top: -6px;
    left: 14px;
}

.category-nav { background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); }
/* Desktop: one row if it fits, otherwise a second row — never sideways scrolling.
   Phones (860px block below): one swipeable row with a fade at the right edge. */
.category-nav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 8px 24px;
}
.category-nav__link {
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--text-muted);
}
.category-nav__link:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.category-nav__link.is-active { background: var(--gradient); color: #0A0A0D; }

.flash { padding-top: 14px; }
.flash__inner {
    background: rgba(34,211,238,0.08);
    border: 1px solid rgba(34,211,238,0.35);
    color: var(--accent-2);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    display: flex;
    gap: 10px;
    align-items: center;
}
.flash__inner a { text-decoration: underline; font-weight: 600; color: var(--text); }

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero__glow {
    position: absolute;
    inset: -40% -10% auto -10%;
    height: 420px;
    background: radial-gradient(ellipse at 30% 30%, rgba(139,92,246,0.35), transparent 60%),
                radial-gradient(ellipse at 75% 40%, rgba(34,211,238,0.22), transparent 55%);
    filter: blur(40px);
    pointer-events: none;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

/* Compact promo banner (half the height of a standalone hero) */
.hero--banner { }
.hero__gem {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: auto;
    opacity: 0.55;
    pointer-events: none;
}
.hero__gem--bg {
    right: -60px;
    width: 470px;
    height: auto;
    opacity: 0.22;
}
.hero-banner__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 70px 24px;
}
.hero-banner__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-banner__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    letter-spacing: -0.01em;
    margin: 0;
    white-space: nowrap;
    background: linear-gradient(100deg, #FFFFFF 35%, #C9B8FF 70%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-strong), var(--gold));
    color: #14100A;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.hero-banner__cta:hover { box-shadow: 0 0 22px rgba(217,179,108,0.4); transform: translateY(-1px); }

.countdown {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 18px 26px;
    box-shadow: 0 0 0 1px rgba(139,92,246,0.08), 0 0 40px rgba(139,92,246,0.16);
    animation: countdown-pulse 3.2s ease-in-out infinite;
}
.countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 46px; }
.countdown__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #FFFFFF, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.countdown__label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 4px;
}
.countdown__sep { font-size: 1.6rem; font-weight: 700; color: var(--border-strong); }
@keyframes countdown-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(139,92,246,0.08), 0 0 40px rgba(139,92,246,0.14); }
    50% { box-shadow: 0 0 0 1px rgba(34,211,238,0.14), 0 0 52px rgba(34,211,238,0.22); }
}
@media (max-width: 560px) {
    .countdown { gap: 8px; padding: 14px 16px; }
    .countdown__unit { min-width: 38px; }
    .countdown__num { font-size: 1.4rem; }
    .hero-banner__inner { padding: 40px 24px; justify-content: center; text-align: center; }
    .hero-banner__text { align-items: center; }
    .hero-banner__title { max-width: none; white-space: normal; }
    .hero__gem { display: none; }
}

/* Grid heading */
.product-grid-section { padding: 40px 24px 24px; }
.grid-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.section-title { font-size: 1.4rem; margin: 0; }

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--border-strong); }
.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--ph-bg);
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient);
    color: #0A0A0D;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 4px 9px;
    border-radius: 999px;
    z-index: 1;
    box-shadow: 0 0 16px rgba(139,92,246,0.5);
}
.badge--lg { font-size: 0.78rem; padding: 7px 15px; top: 16px; left: 16px; }
.product-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card__brand {
    text-transform: uppercase;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--accent-2);
    margin: 0;
}
.product-card__title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
.product-card__title:hover { color: var(--accent-2); }
.product-card__tagline {
    color: var(--text-muted);
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 2px;
}
.product-card .price { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; color: var(--gold-strong); font-family: 'Space Grotesk', sans-serif; }
/* Two equal rows even with one button, so all primary/ghost buttons in a grid row line up */
.product-card__add { margin-top: auto; display: grid; grid-template-rows: 1fr 1fr; gap: 6px; }

/* Placeholder image */
.ph-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--ph-fg);
    padding: 10%;
    text-align: center;
    background:
        linear-gradient(var(--ph-bg), var(--ph-bg)) padding-box,
        repeating-linear-gradient(135deg, rgba(139,92,246,0.06) 0 2px, transparent 2px 14px);
}
.ph-icon { width: 34%; height: auto; opacity: 0.7; }
.ph-label { font-size: 0.72rem; font-weight: 600; color: var(--ph-fg); line-height: 1.3; }
.product-detail__image.ph-image .ph-icon { width: 22%; }
.product-detail__image.ph-image .ph-label { font-size: 0.9rem; }
.cart-thumb .ph-image { padding: 12%; }
.cart-thumb .ph-icon { width: 40%; }
.cart-thumb .ph-label { font-size: 0.55rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.01em;
}
.btn--primary { background: linear-gradient(135deg, var(--gold-strong), var(--gold)); color: #14100A; }
.btn--primary:hover { box-shadow: 0 0 22px rgba(217,179,108,0.4); transform: translateY(-1px); }
.btn--secondary { background: var(--gradient); color: #0A0A0D; }
.btn--secondary:hover { box-shadow: 0 0 22px rgba(139,92,246,0.45); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn--lg { padding: 13px 24px; font-size: 0.98rem; }
.btn--sm { padding: 8px 14px; font-size: 0.82rem; }
.btn--block { width: 100%; }

/* Trust strip */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 16px 24px 64px;
}
.trust-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.trust-item strong { color: var(--text); }

/* Breadcrumb */
.breadcrumb { padding: 18px 24px 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb span { margin: 0 6px; }

/* Product detail: image | info | buy box */
.product-detail {
    display: grid;
    grid-template-columns: minmax(240px, 380px) 1fr minmax(260px, 300px);
    gap: 32px;
    padding: 24px 24px 48px;
    align-items: start;
}
.product-detail__image-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 1 / 1;
    background: var(--ph-bg);
}
.product-detail__image-box img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.zoom-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(10,10,13,0.65);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-strong);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.zoom-btn:hover { color: var(--accent-2); border-color: var(--accent); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
    width: 64px;
    height: 64px;
    padding: 4px;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: var(--ph-bg);
    cursor: pointer;
    overflow: hidden;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb:hover { border-color: var(--text-muted); }
.gallery-thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.product-detail__tagline { font-size: 1.02rem; color: var(--text-muted); margin: 4px 0 10px; }
.product-detail__short { font-size: 0.98rem; margin-top: 16px; }

.stars { display: inline-flex; align-items: center; gap: 2px; }
.star { color: var(--border-strong); font-size: 1rem; }
.star--full { color: var(--gold); }
.stars__count, .stars--empty { margin-left: 6px; font-size: 0.82rem; }

.feature-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 9px; }
.feature-list li { padding-left: 26px; position: relative; font-size: 0.94rem; }
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-2);
    font-weight: 700;
}

/* Buy box */
.buy-box {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    padding: 20px;
    position: sticky;
    top: 88px;
}
.buy-box__price { font-size: 1.7rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin: 0 0 2px; color: var(--gold-strong); }
.buy-box__vat { margin-bottom: 10px; }
.buy-box__stock { color: var(--accent-2); font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.qty-label { display: block; font-size: 0.8rem; font-weight: 600; margin: 14px 0 6px; color: var(--text-muted); }
.qty-select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    margin-bottom: 14px;
    background: var(--surface);
    color: var(--text);
}
.buy-box__actions { display: flex; flex-direction: column; gap: 10px; }

.product-description, .product-specs, .product-reviews { padding: 28px 24px 48px; border-top: 1px solid var(--border); }
.prose { max-width: 760px; font-size: 1rem; }

.specs-table { width: 100%; max-width: 720px; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table th, .specs-table td { text-align: left; padding: 11px 16px; font-weight: 400; }
.specs-table th { color: var(--text-muted); font-weight: 600; width: 42%; }
.specs-table tr:nth-child(odd) { background: rgba(255,255,255,0.02); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.review-text { font-style: italic; font-size: 0.94rem; white-space: pre-line; }
.review-author { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* Customer reviews: summary, UNAK replies, helpful votes, review form */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.reviews-summary { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 0.9rem; color: var(--text-muted); }
.reviews-summary .star { font-size: 1.1rem; }
.review-notice { border: 1px solid rgba(34,211,238,0.35); background: rgba(34,211,238,0.06); color: var(--text); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: 0.92rem; }
.review-notice--error { border-color: rgba(248,113,113,0.45); background: rgba(248,113,113,0.07); margin: 0; }
.review-reply { margin-top: 4px; padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.review-reply__label { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-2); }
.review-reply__label .logo__mark { height: 13px; width: auto; }
.review-reply__text { margin: 0; font-size: 0.88rem; white-space: pre-line; }
.review-helpful { margin: auto 0 0; }
.helpful-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: 0.76rem; font-weight: 600; padding: 4px 11px; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.helpful-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-2); }
.helpful-btn.is-voted { color: var(--accent-2); border-color: rgba(34,211,238,0.35); cursor: default; }
.review-form-box { margin-top: 26px; }
.review-form-box > summary { list-style: none; }
.review-form-box > summary::-webkit-details-marker { display: none; }
.review-form-box[open] > summary { display: none; }
.review-form { max-width: 640px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.review-form p { margin: 0; }
.review-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; font-weight: 600; }
.review-field em { font-style: normal; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.review-field input, .review-field textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; font-size: 0.95rem; }
.review-field textarea { resize: vertical; }
.review-field input:focus, .review-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,92,246,0.22); }
.char-count { font-weight: 400; align-self: flex-end; }
.star-input { border: 0; margin: 0; padding: 0; }
.star-input legend { font-size: 0.86rem; font-weight: 600; margin-bottom: 4px; padding: 0; }
.star-input__stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: var(--border-strong); cursor: pointer; padding: 0 2px; transition: color .1s ease, transform .1s ease; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.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; }

.not-found { padding: 72px 24px; text-align: center; }
.not-found__text { max-width: 560px; margin: 0 auto; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.not-found__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.not-found__cats .category-nav__link { border: 1px solid var(--border); }
.empty-state {
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
    padding: 44px 24px;
    text-align: center;
}

/* Cart */
.cart-page { padding: 28px 24px 72px; }
.cart-page h1 { margin-bottom: 24px; font-size: 1.6rem; }
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table th { text-align: left; padding: 13px 16px; background: var(--surface-2); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.cart-table td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
.cart-table__product { display: flex; align-items: center; gap: 14px; }
.cart-thumb { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--ph-bg); border: 1px solid var(--border); }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.cart-table__name { font-weight: 600; font-size: 0.92rem; }
.cart-table__name:hover { color: var(--accent-2); }
.cart-table__linetotal { font-weight: 700; color: var(--gold-strong); }
.qty-form select, .qty-form input {
    width: 64px;
    padding: 7px 8px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--surface-2);
    color: var(--text);
}
.btn-remove {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
}
.btn-remove:hover { border-color: var(--accent); color: var(--accent-2); }

.cart-summary {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 22px;
    position: sticky;
    top: 88px;
}
.cart-summary h2 { font-size: 1.05rem; margin-bottom: 14px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--text-muted); font-size: 0.92rem; }
.cart-summary__row--total {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 12px;
    font-weight: 700;
    color: var(--gold-strong);
    font-size: 1.1rem;
}
.cart-summary .btn { margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 32px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 32px; padding: 36px 24px; flex-wrap: wrap; }
.site-footer__inner > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__inner > div:first-child p { margin: 0; }
.footer-logo { height: 30px; width: auto; display: block; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.footer-social:hover { color: var(--accent-2); }
.footer-fine { max-width: 420px; font-size: 0.84rem; }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6,6,8,0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 80px;
}
.lightbox__image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
}
.lightbox__close:hover { border-color: var(--accent); color: var(--accent-2); }
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__nav:hover { border-color: var(--accent); color: var(--accent-2); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox--single .lightbox__nav,
.lightbox--single .lightbox__thumbs { display: none; }
.lightbox__thumbs { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.lightbox__thumb {
    width: 60px;
    height: 60px;
    padding: 4px;
    border-radius: 8px;
    border: 2px solid var(--border-strong);
    background: var(--surface);
    cursor: pointer;
    overflow: hidden;
}
.lightbox__thumb img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__thumb.is-active { border-color: var(--accent); }

/* Responsive */
@media (max-width: 980px) {
    .product-detail { grid-template-columns: 1fr 1fr; }
    .buy-box { grid-column: 1 / -1; position: static; }
}
@media (max-width: 860px) {
    .review-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .trust-strip { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .site-header__inner { height: auto; flex-wrap: wrap; padding: 10px 24px; gap: 10px; }
    .search-form { order: 3; max-width: none; flex: 1 1 100%; }
    /* Two selectors so the 560px .wrap padding can't undo the room for the fade. */
    .category-nav .category-nav__inner {
        flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
        padding-right: 44px;
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    }
    .category-nav__inner::-webkit-scrollbar { display: none; }
    .cart-link__text { display: inline; }
    .lightbox { padding: 24px; }
    .lightbox__nav { width: 40px; height: 40px; font-size: 1.3rem; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
}
@media (max-width: 560px) {
    html { font-size: 17.5px; }
    .wrap { padding-left: 14px; padding-right: 14px; }
    .product-grid { grid-template-columns: 1fr; gap: 14px; }
    .logo__lockup { height: 28px; }
    .cart-table { display: block; overflow-x: auto; }
    .announce-bar { font-size: 0.68rem; }
}

/* Ideenlabor: nav entry, product credit, landing page, status page */
.nav-idea { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.9rem; color: var(--text); padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 999px; transition: border-color .15s ease, color .15s ease; }
.nav-idea:hover, .nav-idea.is-active { border-color: var(--accent); color: var(--accent-2); }
.idea-credit { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--border); border-left: 2px solid var(--accent-2); border-radius: 0 12px 12px 0; background: var(--surface); }
.idea-credit svg { color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.idea-credit strong { display: block; font-size: 0.86rem; }
.idea-credit span { font-size: 0.84rem; color: var(--text-muted); }
.idea-credit a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }

.lab-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.lab-hero__mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 520px; height: auto; opacity: 0.18; pointer-events: none; }
.lab-hero__inner { position: relative; padding: 76px 24px 80px; max-width: 1280px; }
.lab-hero__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 18px; }
.lab-hero__title span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lab-hero__lead { max-width: 640px; font-size: 1.08rem; color: var(--text-muted); margin-bottom: 28px; }
.lab-section { padding: 44px 24px 12px; }
.lab-section > .section-title { margin-bottom: 22px; }
.lab-notice { margin-top: 24px; }
.lab-notice__form { margin-top: 10px; }
.lab-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lab-step { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; font-size: 0.9rem; }
.lab-step__num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #0A0A0D; background: var(--gradient); margin-bottom: 6px; }
.lab-step strong { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; }
.lab-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lab-benefit { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--border-strong); font-size: 0.9rem; }
.lab-launched { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lab-launched__item { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; transition: border-color .15s ease; }
.lab-launched__item:hover { border-color: var(--accent); }
.lab-launched__item img, .lab-launched__item .ph-image { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--ph-bg); flex-shrink: 0; }
.lab-launched__item > span { display: flex; flex-direction: column; }
.lab-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 36px; align-items: start; }
.lab-form { max-width: none; }
.lab-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lab-select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; font-size: 0.95rem; }
.lab-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; cursor: pointer; }
.lab-consent input { accent-color: var(--accent); width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.lab-faq { padding-bottom: 56px; max-width: 860px; }
.lab-faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.lab-faq summary { cursor: pointer; font-weight: 600; }
.lab-faq details p { margin: 10px 0 0; color: var(--text-muted); }

.lab-status { padding-top: 40px; padding-bottom: 56px; }
.lab-status h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 4px; }
.stage-track { list-style: none; margin: 30px 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stage { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 44px; font-size: 0.88rem; }
.stage::before { content: ""; position: absolute; top: 15px; left: 34px; right: -10px; height: 2px; background: var(--border-strong); }
.stage:last-child::before { display: none; }
.stage.is-done::before { background: var(--gradient); }
.stage__dot { position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; border: 2px solid var(--border-strong); background: var(--bg); color: var(--text-muted); }
.stage.is-done .stage__dot { background: var(--gradient); border-color: transparent; color: #0A0A0D; }
.stage.is-current .stage__dot { border-color: var(--accent-2); color: var(--accent-2); box-shadow: 0 0 0 5px rgba(34,211,238,0.12); }
.stage.is-current strong { color: var(--accent-2); }
.stage-track.is-ended .stage:not(.is-done) { opacity: 0.45; }
.lab-status__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 20px; }
.lab-status__panel h2 { font-size: 1.3rem; margin-bottom: 10px; }
.lab-message { background: var(--surface-2); border-radius: 10px; padding: 16px 18px; }
.lab-quote { margin: 12px 0 0; padding: 12px 16px; border-left: 2px solid var(--accent); color: var(--text-muted); font-style: italic; }
.concept { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; margin: 20px 0 24px; }
.concept__images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.concept__images img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--ph-bg); border-radius: 10px; }
.concept__images img:first-child { grid-column: 1 / -1; }
.concept__info h3 { font-size: 1.6rem; margin: 4px 0 6px; font-family: 'Space Grotesk', sans-serif; }
.concept__info .price { font-size: 1.3rem; }
.decision { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.decision form { margin: 0; }
.decision__changes > summary { list-style: none; }
.decision__changes > summary::-webkit-details-marker { display: none; }
.decision__changes[open] { flex-basis: 100%; order: 3; }
.decision__changes[open] > summary { display: none; }
.decision__stop { background: none; border: 0; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 0.88rem; padding: 12px 6px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.lab-pitch { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; }
.lab-pitch summary { cursor: pointer; font-weight: 600; }
.lab-pitch dl { margin: 14px 0 0; display: grid; grid-template-columns: 160px 1fr; gap: 10px 18px; font-size: 0.92rem; }
.lab-pitch dt { color: var(--text-muted); }
.lab-pitch dd { margin: 0; }

@media (max-width: 980px) {
    .lab-steps { grid-template-columns: 1fr 1fr; }
    .lab-benefits { grid-template-columns: 1fr 1fr; }
    .lab-form-wrap, .concept { grid-template-columns: 1fr; }
    .stage-track { grid-template-columns: 1fr; gap: 0; }
    .stage { padding: 4px 0 18px 48px; }
    .stage::before { top: 36px; left: 15px; right: auto; bottom: 0; width: 2px; height: auto; }
}
@media (max-width: 560px) {
    .nav-idea span { display: none; }
    .nav-idea { padding: 8px; border-color: transparent; }
    .lab-steps, .lab-benefits, .lab-form__row { grid-template-columns: 1fr; }
    .lab-pitch dl { grid-template-columns: 1fr; gap: 2px; }
    .lab-pitch dd { margin-bottom: 10px; }
}

/* Impressum & Datenschutz */
.legal { max-width: 860px; padding-top: 44px; padding-bottom: 56px; }
.legal h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 18px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.legal-toc a { border: 1px solid var(--border-strong); border-radius: 999px; padding: 7px 16px; font-size: 0.9rem; font-weight: 600; transition: border-color .15s ease, color .15s ease; }
.legal-toc a:hover { border-color: var(--accent); color: var(--accent-2); }
.legal-block { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--border); scroll-margin-top: 140px; }
.legal-block:first-of-type { border-top: 0; margin-top: 0; }
.legal-block h2 { font-size: 1.6rem; margin-bottom: 18px; }
.legal-block h3 { font-size: 1.08rem; margin: 28px 0 8px; }
.legal-block p, .legal-block li { color: var(--text-muted); font-size: 0.95rem; }
.legal-block ul { margin: 0 0 1em; padding-left: 1.2em; }
.legal-block li { margin-bottom: 4px; }
.legal-block strong { color: var(--text); font-weight: 600; }
.legal-block a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.legal-block a:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.legal-block code { font-size: 0.88em; background: var(--surface-2); border-radius: 5px; padding: 1px 6px; }
.legal-block p.legal-lead { font-size: 1.02rem; color: var(--text); }
.legal-card { font-style: normal; display: inline-block; min-width: 260px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; line-height: 1.7; }
.legal-date { margin-top: 32px; }
.footer-legal a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.text-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.text-link:hover { color: var(--accent-2); text-decoration-color: currentColor; }

/* "Jetzt kaufen" → kaufen.php: split screen, photo left (desktop) / on top (mobile) */
.kaufen { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100dvh; }
.kaufen__media { position: relative; margin: 0; overflow: hidden; background: var(--ph-bg); }
.kaufen__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 30%); }
.kaufen__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 72%, var(--bg)); pointer-events: none; }
.kaufen__panel { display: flex; flex-direction: column; padding: 32px clamp(24px, 5vw, 72px) 40px; }
.kaufen__logo { align-self: flex-start; }
.kaufen__logo img { height: 30px; width: auto; }
.kaufen__content { margin: auto 0; padding: 40px 0 8px; max-width: 580px; }
.kaufen__order { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 0.86rem; color: var(--text-muted); margin-bottom: 22px; }
.kaufen__order span { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700; color: #F87171; border: 1px solid rgba(248,113,113,0.4); border-radius: 999px; padding: 3px 10px; }
.kaufen__order s { text-decoration-color: rgba(248,113,113,0.8); }
.kaufen__line { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 14px; text-wrap: balance; }
.kaufen__line--long { font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.kaufen__who { color: var(--text-muted); font-size: 0.9rem; font-style: italic; margin: -2px 0 18px; }
.kaufen__sub { font-size: 1.08rem; color: var(--text); opacity: 0.86; max-width: 520px; }
.kaufen__donate { margin-top: 34px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.kaufen__donate-title { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600; font-size: 1.15rem; margin-bottom: 14px; }
.kaufen__org { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 0.88rem; line-height: 1.45; }
.kaufen__org strong { display: block; color: var(--text); }
.kaufen__org:hover strong { color: var(--accent-2); }
.kaufen__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kaufen__actions .btn { flex: 1 1 180px; }
.kaufen__again { display: inline-block; margin-top: 18px; font-size: 0.88rem; color: var(--text-muted); }
.kaufen__again:hover { color: var(--accent-2); }
@media (max-width: 860px) {
    .kaufen { grid-template-columns: 1fr; position: relative; }
    .kaufen__media { aspect-ratio: 5 / 4; max-height: 58vh; width: 100%; }
    .kaufen__media::after { background: linear-gradient(to bottom, transparent 70%, var(--bg)); }
    .kaufen__panel { padding: 0 20px 32px; }
    .kaufen__logo { position: absolute; top: 14px; left: 16px; padding: 7px 12px; background: rgba(10,10,13,0.72); border-radius: 999px; backdrop-filter: blur(6px); }
    .kaufen__logo img { height: 24px; }
    .kaufen__content { padding-top: 6px; }
}

/* Organisation logos on a light tile (most are made for white backgrounds) */
.org-logo { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; height: 110px; padding: 16px 22px; }
.org-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.org-logo--sm { flex: 0 0 64px; width: 64px; height: 64px; padding: 7px; border-radius: 10px; }

/* spenden.php */
.spenden { padding-top: 44px; padding-bottom: 64px; }
.spenden__intro { max-width: 720px; margin-bottom: 12px; }
.spenden__intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.spenden__themes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.spenden__themes .category-nav__link { border: 1px solid var(--border); }
.spenden__group { padding-top: 36px; scroll-margin-top: 140px; }
.spenden__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 18px; }
.org-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 14px 18px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.org-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.org-card h3 { font-size: 1.08rem; margin: 16px 4px 6px; }
.org-card p { font-size: 0.9rem; margin: 0 4px 14px; }
.org-card__link { margin: auto 4px 0; font-size: 0.85rem; font-weight: 600; color: var(--accent-2); }
.spenden__note { margin-top: 48px; padding: 22px 24px; max-width: 820px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.spenden__note a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.spenden__note .btn { margin-top: 6px; }

/* "In den Warenkorb gelegt" dialog (cart_dialog_html + assets/js/cart.js) */
.cart-dialog { padding: 0; width: min(480px, calc(100% - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border: 1px solid var(--border-strong); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,0.6); }
.cart-dialog::backdrop { background: rgba(5,5,8,0.66); backdrop-filter: blur(3px); }
.cart-dialog[open]:not(:modal) { position: fixed; top: 16px; left: 0; right: 0; margin: 0 auto; z-index: 100; } /* no-JS fallback */
html:has(.cart-dialog:modal) { overflow: hidden; }
.cart-dialog__box { padding: 18px 22px 22px; }
.cart-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-dialog__title { margin: 0; font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600; font-size: 1.1rem; }
.cart-dialog__title span { color: var(--accent-2); margin-right: 4px; }
.cart-dialog__close { background: none; border: 0; color: var(--text-muted); font-size: 1.05rem; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.cart-dialog__close:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.cart-dialog__item { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cart-dialog__item p { margin: 0; }
.cart-dialog__thumb, .mini-card__media { display: block; background: var(--ph-bg); border-radius: 10px; overflow: hidden; }
.cart-dialog__thumb { flex: 0 0 76px; height: 76px; }
.cart-dialog__thumb > *, .mini-card__media > * { width: 100%; height: 100%; object-fit: contain; }
.cart-dialog__name { font-weight: 600; line-height: 1.3; }
.cart-dialog__sum { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 2px; font-size: 0.95rem; }
.cart-dialog__sum strong { color: var(--gold-strong); }
.cart-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cart-dialog__more { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.cart-dialog__more-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.cart-dialog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-card { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; line-height: 1.3; }
.mini-card__media { aspect-ratio: 1; }
.mini-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-card:hover .mini-card__name { color: var(--accent-2); }
.mini-card .price { font-size: 0.82rem; font-weight: 700; color: var(--gold-strong); font-family: 'Space Grotesk', sans-serif; }
.cart-badge.is-bump { animation: cart-bump 0.45s ease; }
@keyframes cart-bump { 35% { transform: scale(1.4); } }
.buy-box__date { color: var(--text); font-weight: 600; }
@media (max-width: 420px) { .cart-dialog__actions { grid-template-columns: 1fr; } .cart-dialog__actions .btn--primary { order: -1; } }

/* Badges and offers (includes/offers.php). Gold = money: the offer badge and price. */
.badge--offer { background: var(--gold); color: var(--gold-dark); box-shadow: 0 0 16px rgba(217,179,108,0.45); }
.badge--pick { background: rgba(10,10,13,0.78); color: var(--text); border: 1px solid var(--border-strong); box-shadow: none; backdrop-filter: blur(6px); }
.price--offer { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.price--offer del { color: var(--text-muted); font-weight: 500; font-size: 0.82em; text-decoration-thickness: 1px; }
.price--offer ins { text-decoration: none; }
.buy-box__was { margin: 0 0 2px; color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.buy-box__was del { text-decoration-thickness: 1px; }
.buy-box__save { font-size: 0.75rem; font-weight: 700; color: var(--gold-dark); background: var(--gold); border-radius: 999px; padding: 2px 9px; }
.buy-box__offer { margin: 2px 0 6px; }

/* Product options (colour, size …): chips in the buy box, value hints on cards */
.option-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.option-picker + .option-picker { margin-top: 10px; }
.option-picker__values { display: flex; flex-wrap: wrap; gap: 6px; }
.option-chip { position: relative; cursor: pointer; }
.option-chip input { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; opacity: 0; }
.option-chip span {
    display: inline-block; min-width: 46px; padding: 8px 12px; text-align: center;
    border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface-2);
    color: var(--text); font-size: 0.85rem; font-weight: 600; transition: border-color .15s ease, background .15s ease;
}
.option-chip:hover span { border-color: var(--text-muted); }
.option-chip input:checked + span { background: var(--gradient); border-color: transparent; color: #0A0A0D; }
.option-chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
/* Share buttons (share_html(), assets/js/share.js). Violet/cyan, not gold: gold is for money. */
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
    border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-2);
    color: var(--text); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.share__btn:hover { border-color: var(--accent); color: var(--accent-2); }
.share__btn svg { color: var(--accent-2); flex-shrink: 0; }
.share__btn[hidden] { display: none; }
.buy-box__share { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.buy-box__share p { margin: 0 0 10px; }
.kaufen__share { margin-top: 26px; }
.kaufen__share-title { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600; font-size: 1.02rem; margin-bottom: 10px; }
.kaufen__more { margin: 14px 0 0; font-size: 0.86rem; color: var(--text-muted); }
.kaufen__more a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.kaufen__more a:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.spenden__share { margin: 16px 0 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.spenden__share p { margin: 0 0 10px; }

/* Category intro above the grid (CATEGORY_INTROS) */
.category-intro { max-width: 720px; margin: -8px 0 22px; color: var(--text-muted); }

/* Footer: categories */
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.88rem; }
.footer-nav a { color: var(--text-muted); }
.footer-nav a:hover { color: var(--accent-2); }
.footer-nav__title { margin: 0 0 2px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text); }

/* Home banner: the running offers under the countdown to the first one's end */
.hero-banner__inner:has(.hero-offers) { padding-bottom: 36px; }
.hero-deal { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-deal__label { margin: 0; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.hero-deal__renew { display: inline-block; padding: 14px 22px; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface); font-weight: 600; }
.hero-deal__renew:hover { border-color: var(--accent); color: var(--accent-2); }
.hero-offers { flex-basis: 100%; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.hero-offer {
    display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 12px; text-align: left;
    background: rgba(19,19,23,0.82); border: 1px solid var(--border); border-radius: 12px; backdrop-filter: blur(6px);
    transition: border-color .15s ease, transform .15s ease;
}
.hero-offer:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.hero-offer__media { flex: 0 0 56px; width: 56px; height: 56px; display: flex; border-radius: 8px; overflow: hidden; background: var(--ph-bg); }
.hero-offer__img { width: 100%; height: 100%; object-fit: contain; }
.hero-offer__body { display: flex; flex-direction: column; min-width: 0; font-size: 0.86rem; line-height: 1.35; }
.hero-offer__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-offer__price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--gold-strong); }
.hero-offer .badge { position: static; margin-left: auto; flex-shrink: 0; }

/* links.php: link-in-bio page for Instagram, made for phones */
.links-page { max-width: 640px; padding-top: 36px; padding-bottom: 56px; }
.links-page__head { text-align: center; margin-bottom: 8px; }
.links-page__head h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 6px 0 8px; }
.links-page__title { font-size: 1.05rem; margin: 26px 0 12px; }
.links-list { display: flex; flex-direction: column; gap: 10px; }
.links-item {
    display: flex; align-items: center; gap: 14px; padding: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.links-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-hover); }
.links-item__media { position: relative; flex: 0 0 96px; width: 96px; height: 96px; display: flex; border-radius: 10px; overflow: hidden; background: var(--ph-bg); }
.links-item__img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.links-item__media .badge { top: 4px; left: 4px; font-size: 0.58rem; padding: 3px 7px; }
.links-item__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.links-item__name { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; line-height: 1.25; }
.links-item__tagline { font-size: 0.84rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.links-item .price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--gold-strong); margin-top: 2px; }
.links-more { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
@media (max-width: 560px) {
    .hero-offers { grid-template-columns: 1fr; }
    .links-item__media { flex-basis: 80px; width: 80px; height: 80px; }
}

/* Product photos come as <picture> (WebP + JPG): the wrapper must not change the layout. */
picture { display: contents; }

/* Campaigns (includes/campaigns.php): announcement bar link, banner text and links */
.announce-bar a { color: inherit; text-decoration: none; }
.announce-bar a:hover { text-decoration: underline; text-underline-offset: 2px; }
.hero-banner__lead { margin: -4px 0 0; max-width: 520px; color: var(--text); opacity: 0.86; }
.hero-banner__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hero-banner__more { font-size: 0.9rem; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.hero-banner__more:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.category-nav__link--special { color: var(--accent-2); }
@media (max-width: 560px) {
    .hero-banner__lead { margin-left: auto; margin-right: auto; }
    .hero-banner__links { justify-content: center; }
}

/* Themenwelten: cards (home page strip, /themen) and the row of further themes */
.theme-strip { padding: 8px 24px 16px; }
.theme-strip--page { padding-top: 40px; padding-bottom: 48px; }
.theme-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.theme-card {
    display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.theme-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.theme-card strong { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; line-height: 1.3; margin-top: 8px; }
.theme-card__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.theme-card__thumbs > span { aspect-ratio: 1; display: flex; background: var(--ph-bg); border-radius: 8px; overflow: hidden; }
.theme-card__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.theme-card--gift { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box; border: 1px solid transparent; }
.theme-card__icon { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 1; border-radius: 8px; background: rgba(139,92,246,0.12); color: var(--accent-2); }
.theme-more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; }
.theme-more .category-nav__link { border: 1px solid var(--border); }

/* Geschenkefinder (/geschenkefinder) */
.gift { max-width: 860px; padding-top: 40px; padding-bottom: 56px; }
.gift__intro { margin-bottom: 22px; }
.gift__intro h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0 10px; }
.gift__results { display: grid; gap: 12px; margin-bottom: 18px; }
.gift-result {
    position: relative; display: flex; align-items: center; gap: 16px; padding: 12px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gift-result:hover { border-color: var(--border-strong); box-shadow: var(--shadow-hover); }
.gift-result__rank { position: absolute; top: -8px; left: -8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient); color: #0A0A0D; font-weight: 700; font-size: 0.85rem; z-index: 1; }
.gift-result__media { position: relative; flex: 0 0 120px; width: 120px; height: 120px; display: flex; border-radius: 10px; overflow: hidden; background: var(--ph-bg); }
.gift-result__img { width: 100%; height: 100%; object-fit: contain; padding: 5%; }
.gift-result__media .badge { top: 5px; left: auto; right: 5px; font-size: 0.6rem; padding: 3px 7px; }
.gift-result__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gift-result__name { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; line-height: 1.25; }
.gift-result__tagline { font-size: 0.88rem; color: var(--text-muted); }
.gift-result .price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--gold-strong); margin-top: 4px; }
.gift__share { margin: 0 0 28px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.gift__share p { margin: 0 0 10px; }
.gift__form { display: grid; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.gift__question { border: 0; padding: 0; margin: 0; min-width: 0; }
.gift__question legend { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.02rem; margin-bottom: 10px; padding: 0; }
.gift__form .btn { justify-self: start; }
@media (max-width: 560px) {
    .gift-result__media { flex-basis: 88px; width: 88px; height: 88px; }
    .gift__form { padding: 16px; }
    .gift__form .btn { justify-self: stretch; }
}

/* Adventskalender (/adventskalender) */
.advent { padding-top: 40px; padding-bottom: 56px; }
.advent__intro { max-width: 720px; margin-bottom: 24px; }
.advent__intro h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0 10px; }
.advent__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.advent-door {
    position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 12px;
    border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
}
.advent-door__num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1; }
.advent-door.is-closed { justify-content: space-between; background: linear-gradient(160deg, rgba(139,92,246,0.14), rgba(34,211,238,0.06)), var(--surface); }
.advent-door.is-closed .advent-door__num { font-size: 2.4rem; background: linear-gradient(135deg, #FFFFFF, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.advent-door__date { font-size: 0.74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.advent-door.is-open .advent-door__num { position: absolute; top: 8px; left: 10px; font-size: 1rem; z-index: 1; color: var(--text-muted); }
.advent-door__media { display: flex; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--ph-bg); }
.advent-door__img { width: 100%; height: 100%; object-fit: contain; padding: 5%; }
.advent-door__name { font-size: 0.9rem; line-height: 1.3; }
.advent-door__deal { font-size: 0.78rem; font-weight: 700; color: var(--gold-strong); }
.advent-door .price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--gold-strong); font-size: 0.95rem; }
a.advent-door.is-open:hover { border-color: var(--border-strong); box-shadow: var(--shadow-hover); }
.advent-door.is-today { grid-column: span 2; grid-row: span 2; border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box; box-shadow: 0 0 40px rgba(139,92,246,0.18); animation: door-open .7s ease-out both; }
.advent-door.is-today .advent-door__name { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; }
.advent-door.is-today .advent-door__num { color: var(--accent-2); font-size: 1.3rem; }
.advent-door.is-empty { justify-content: flex-end; }
@keyframes door-open { from { transform: perspective(600px) rotateY(-18deg); opacity: 0.4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .advent-door.is-today { animation: none; } }
@media (max-width: 420px) { .advent__grid { grid-template-columns: repeat(2, 1fr); } }

/* UNAK Apps (/apps, includes/apps.php): same tokens as the shop — violet/cyan for
   navigation, gold for price and "Laden". Icons are rounded squares (app-icon). */
.area-switch { display: flex; flex-shrink: 0; padding: 3px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255,255,255,0.03); }
.area-switch__link { padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); transition: color .15s ease, background .15s ease; }
.area-switch__link:hover { color: var(--text); }
.area-switch__link.is-active { background: var(--gradient); color: #0A0A0D; }

.app-icon { display: block; flex-shrink: 0; width: 64px; height: 64px; border-radius: 22%; object-fit: cover; background: var(--surface-2); box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 6px 18px rgba(0,0,0,0.35); }
/* With picture { display: contents } its <source> would become a (zero-size) flex item and take a gap. */
picture > source { display: none; }
.app-icon--letter { display: grid; place-items: center; background: var(--gradient); color: #0A0A0D; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.6rem; }

.app-get { display: inline-flex; align-items: center; gap: 10px; }
.app-get__btn { border-radius: 999px; padding: 8px 20px; font-size: 0.86rem; }
.app-get__price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--gold-strong); white-space: nowrap; }
.app-get--sm .app-get__btn { padding: 6px 16px; font-size: 0.8rem; }
.app-get--sm .app-get__price { font-size: 0.8rem; }
.app-get--lg .app-get__btn { padding: 11px 30px; font-size: 0.98rem; }
.app-get--lg .app-get__price { font-size: 1.05rem; }

.apps-intro { padding-top: 34px; }
.apps-intro__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.apps-intro__lead { color: var(--text-muted); max-width: 640px; margin: 8px 0 0; }

.app-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 24px; padding: 28px; background: linear-gradient(135deg, rgba(139,92,246,0.14), rgba(34,211,238,0.06)), var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); }
.app-hero .eyebrow { margin-bottom: 14px; }
.app-hero__head { display: flex; align-items: center; gap: 18px; }
.app-hero__head > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.app-hero__icon { width: 96px; height: 96px; }
.app-hero__name { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.app-hero__head:hover .app-hero__name { color: var(--accent-2); }
.app-hero__tagline { font-size: 1.1rem; font-weight: 600; margin: 18px 0 6px; }
.app-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.app-hero__screens { display: flex; justify-content: center; gap: 16px; }
.app-hero__screens .app-screen { width: min(44%, 220px); cursor: default; }
.app-hero__screens .app-screen:nth-child(2) { transform: translateY(22px); }

.app-screen { display: block; padding: 0; border: 1px solid var(--border-strong); border-radius: 22px; overflow: hidden; background: var(--ph-bg); aspect-ratio: 2 / 3; box-shadow: var(--shadow); cursor: zoom-in; }
.app-screen picture { display: contents; }
.app-screen__img { width: 100%; height: 100%; object-fit: contain; }

.apps-top { padding-top: 40px; }
.apps-top__list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 4px 28px; }
.apps-top__item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.apps-top__rank { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--accent-2); width: 1.2em; text-align: center; flex-shrink: 0; }
.apps-top__link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.apps-top__link > span { display: flex; flex-direction: column; min-width: 0; }
.apps-top__icon { width: 52px; height: 52px; }
.apps-top__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apps-top__link:hover .apps-top__name { color: var(--accent-2); }

.apps-grid-section { padding: 40px 24px 24px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.app-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.app-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--border-strong); }
.app-card__main { display: flex; align-items: center; gap: 14px; }
.app-card__icon { width: 72px; height: 72px; }
.app-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-card__name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.08rem; line-height: 1.2; }
.app-card__main:hover .app-card__name { color: var(--accent-2); }
.app-card__badge { position: static; display: inline-block; vertical-align: middle; margin-left: 4px; box-shadow: none; }
.app-card__tagline { margin: 0; font-size: 0.9rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.app-card__cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app-head { display: flex; gap: 28px; align-items: flex-start; padding-top: 26px; }
.app-head__icon { width: 148px; height: 148px; }
.app-head__info { min-width: 0; }
.app-head__name { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 6px; }
.app-head__tagline { font-size: 1.1rem; margin: 0 0 4px; }
.app-head__brand { margin: 0 0 18px; }
.app-head__get .muted { margin: 8px 0 0; }

.app-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin: 28px 0 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.app-facts__item { text-align: center; padding: 4px 10px; border-left: 1px solid var(--border); }
.app-facts__item:first-child { border-left: none; }
.app-facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.app-facts dd { margin: 0; }
.app-facts__value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem; line-height: 1.5; }
.app-facts__value--text { font-size: 1.05rem; line-height: 2; }
.app-facts__star { color: var(--gold); font-size: 0.9em; }

.app-preview { padding-top: 36px; }
.app-screens { display: flex; gap: 16px; margin-top: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; overscroll-behavior-x: contain; }
.app-screens .app-screen { flex: 0 0 min(62vw, 260px); scroll-snap-align: start; }

.app-about { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; padding-top: 40px; }
.app-about__short { font-size: 1.05rem; font-weight: 600; margin-top: 14px; }
.app-about__side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; align-self: start; }
.app-about__side h3 { font-size: 1.05rem; margin: 0; }
.app-about__share { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.app-about__share .muted { margin-bottom: 8px; }

.cross-strip { padding-top: 40px; }
.cross-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.cross-grid .mini-card__media { display: flex; border-radius: 10px; overflow: hidden; background: var(--ph-bg); }
.cross-grid .mini-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cross-grid .mini-card { font-size: 0.88rem; }
.app-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.app-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s ease; }
.app-tile:hover { border-color: var(--accent); }
.app-tile__icon { width: 76px; height: 76px; margin-bottom: 6px; }
.app-tile__name { font-weight: 600; font-size: 0.92rem; line-height: 1.25; }

.apps-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; margin-top: 40px; padding-top: 28px; padding-bottom: 28px; background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(34,211,238,0.05)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.apps-teaser .app-tiles { margin-top: 0; }
.apps-teaser .section-title { margin: 6px 0 8px; }

.app-match { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: rgba(139,92,246,0.06); transition: border-color .15s ease; }
.app-match:hover { border-color: var(--accent); }
.app-match > span { display: flex; flex-direction: column; min-width: 0; }
.app-match__icon { width: 56px; height: 56px; }
.app-match__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-2); font-weight: 700; }
.app-match--product { max-width: 460px; }
.app-match__thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--ph-bg); }
.app-match__thumb > *, .app-match__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.links-item__icon { width: 100%; height: 100%; border-radius: 22%; box-shadow: none; }

@media (max-width: 860px) {
    .app-hero { grid-template-columns: 1fr; padding: 22px; }
    .app-hero__screens .app-screen:nth-child(2) { transform: none; }
    .app-about, .apps-teaser { grid-template-columns: 1fr; gap: 24px; }
    .cross-grid, .app-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .site-header--switch .cart-link__text { display: none; }
    .area-switch__link { padding: 5px 10px; font-size: 0.76rem; }
    .apps-grid-section { padding-left: 14px; padding-right: 14px; }
    .app-grid, .apps-top__list { grid-template-columns: 1fr; }
    .app-head { gap: 16px; }
    .app-head__icon { width: 96px; height: 96px; }
    .app-hero__icon { width: 76px; height: 76px; }
    .app-facts { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
    .app-facts__item:nth-child(3) { border-left: none; }
}
