/* CLAUDE 2026-12-01 – Mobile UI 2026 (Staging)
 * Mobile-first-Ebene über dem bestehenden Design. Marke bleibt: dunkles Thema, Logo, Orange/Violett/Pink,
 * Psychoart-/Psycedelic-Schrift für Überschriften.
 * Prinzipien: 8-px-Raster, flüssige Typo (clamp), Tippziele ≥ 44 px, sichtbarer Fokus, Safe-Areas, reduzierte Bewegung.
 * Eingebunden über Modul 280. Rückgängig: Link auf diese Datei im Modul entfernen bzw. Modul deaktivieren.
 */
:root {
  --ui-bg:#000; --ui-surface:#101010; --ui-surface-2:#181818; --ui-line:rgba(255,255,255,.12);
  --ui-text:#f2f2f2; --ui-muted:#a9a9a9; --ui-accent:#ff7400; --ui-violet:#6154fd; --ui-pink:#f43482;
  --ui-radius:14px; --ui-radius-s:10px; --ui-tabbar:64px; --ui-header:60px;
  --ui-safe-b:env(safe-area-inset-bottom, 0px);
}

/* ---------- Barrierefreiheit (alle Größen) ---------- */
:focus-visible { outline:2px solid var(--ui-accent) !important; outline-offset:2px; border-radius:4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* Tab-Leiste und Kaufleiste nur mobil */
.ui-tabbar, .ui-buybar { display:none; }

@media (max-width: 991.98px) {
  html { -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--ui-header) + 8px); }
  body { font-size:16px; line-height:1.6; -webkit-tap-highlight-color:transparent; padding-bottom:calc(var(--ui-tabbar) + var(--ui-safe-b)); }
  body.ui-has-buybar { padding-bottom:calc(var(--ui-tabbar) + 68px + var(--ui-safe-b)); }
  p, li { overflow-wrap:anywhere; }
  h1 { font-size:clamp(1.75rem, 7vw, 2.25rem); line-height:1.15; }
  h2 { font-size:clamp(1.4rem, 5.6vw, 1.85rem); line-height:1.2; }
  h3 { font-size:clamp(1.2rem, 4.8vw, 1.5rem); line-height:1.25; }
  img { max-width:100%; height:auto; }

  /* ---------- Kopf: schlank, fest ---------- */
  #sp-header { height:var(--ui-header) !important; min-height:var(--ui-header); }
  #sp-header > .d-flex, #sp-header .container, #sp-header .container-inner, #sp-header .row { height:var(--ui-header); }
  #sp-header .logo { display:flex; align-items:center; height:var(--ui-header); }
  #sp-header .logo-image { height:40px !important; width:auto !important; }
  #sp-header .sp-module.minicart { display:none !important; }       /* Warenkorb sitzt jetzt in der Tab-Leiste */
  #sp-header #offcanvas-toggler, #sp-header .offcanvas-toggler-right { display:none !important; } /* Menü sitzt in der Tab-Leiste */

  /* Doppelte Schnellknöpfe Profil/Checkout ausblenden – stehen in der Tab-Leiste */
  #sp-top1 .sppb-addon-wrapper:has(.sppb-icons-label-text) { display:none !important; }

  /* ---------- Untere Tab-Leiste ---------- */
  .ui-tabbar { display:grid; grid-template-columns:repeat(5, 1fr); position:fixed; left:0; right:0; bottom:0; z-index:1040;
    height:calc(var(--ui-tabbar) + var(--ui-safe-b)); padding:0 4px var(--ui-safe-b);
    background:rgba(8,8,8,.94); -webkit-backdrop-filter:saturate(1.2) blur(14px); backdrop-filter:saturate(1.2) blur(14px);
    border-top:1px solid var(--ui-line); }
  .ui-tabbar a, .ui-tabbar button { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
    min-height:48px; padding:6px 2px 4px; border:0; background:none; color:var(--ui-muted) !important; text-decoration:none !important;
    font:500 11px/1.1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing:.02em; cursor:pointer; }
  .ui-tabbar svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .ui-tabbar .is-active { color:var(--ui-accent) !important; }
  .ui-tabbar .is-active::before { content:""; position:absolute; top:0; left:30%; right:30%; height:2px; border-radius:2px; background:var(--ui-accent); }
  .ui-badge { position:absolute; top:5px; left:calc(50% + 5px); min-width:18px; height:18px; padding:0 5px; border-radius:9px;
    background:var(--ui-accent); color:#000; font:700 11px/18px system-ui, sans-serif; text-align:center; }
  /* schwebende Knöpfe über die Leiste heben */
  .redim-cc-reopen, #redim-cookiehint-reopen { bottom:calc(var(--ui-tabbar) + var(--ui-safe-b) + 12px) !important; }
  .sp-scroll-up { bottom:calc(var(--ui-tabbar) + var(--ui-safe-b) + 12px) !important; right:14px !important; }
  body.ui-has-buybar .sp-scroll-up, body.ui-has-buybar .redim-cc-reopen { bottom:calc(var(--ui-tabbar) + 68px + var(--ui-safe-b) + 12px) !important; }

  /* ---------- Shop-Liste: Produktkarten ---------- */
  .j2store-product-list .j2store-products-row > [class*=col-] { display:flex; }
  .j2store-product-list .j2store-single-product { display:flex; flex-direction:column; width:100%; background:var(--ui-surface);
    border:1px solid var(--ui-line); border-radius:var(--ui-radius); padding:8px 8px 12px; margin-bottom:12px !important; }
  .j2store-product-list .j2store-single-product img { border-radius:var(--ui-radius-s) !important; }
  .j2store-product-list .j2store-single-product h2, .j2store-product-list .j2store-single-product .product-title { font-family:inherit; text-shadow:none; letter-spacing:.01em; }
  .j2store-product-list .j2store-single-product .product-price-container { font-weight:700; color:#fff; }
  .j2store-product-list .j2store-single-product form, .j2store-product-list .j2store-single-product .j2store-addtocart-form { margin-top:auto; }
  .j2store-product-list .j2store-single-product .btn { background:transparent !important; border:1px solid var(--ui-line) !important; color:#fff !important; }

  /* durchgehendes 2-Spalten-Raster (J2Store-Zeilen à 3 erzeugten Lücken) */
  .j2store-product-list *:has(> .j2store-products-row) { display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
  .j2store-product-list *:has(> .j2store-products-row) > :not(.j2store-products-row) { grid-column:1 / -1; }
  .j2store-product-list .j2store-products-row { display:contents !important; }
  .j2store-product-list .j2store-products-row > [class*=col-] { max-width:none !important; width:auto !important; padding:0 !important; flex:none !important; }
  .j2store-product-list .j2store-single-product { margin-bottom:0 !important; height:100%; }

  /* ---------- Produktseite ---------- */
  .task-view .j2store-single-product .j2store-mainimage img { width:100% !important; border-radius:var(--ui-radius); }
  .task-view .j2store-single-product .product-title { font-size:clamp(1.45rem, 6.4vw, 1.9rem) !important; margin:16px 0 6px !important; text-align:left !important; }
  .task-view .j2store-single-product .price-sku-brand-container { margin:0 0 12px; }
  .task-view .j2store-single-product .price-sku-brand-container > [class*=col-] { width:100%; max-width:100%; flex:0 0 100%; }
  .task-view .j2store-single-product .price-sku-brand-container, .task-view .j2store-single-product .price-sku-brand-container * { text-align:left !important; }
  .task-view .j2store-single-product .product-sku, .task-view .j2store-single-product .manufacturer-brand { font-size:13px; color:var(--ui-muted); margin:0; padding:0; }
  .task-view .j2store-single-product .product-price-container { font-size:1.5rem; font-weight:700; color:#fff; text-align:left !important; }
  .task-view .j2store-single-product .options b { display:block; margin:8px 0 4px; font-size:14px; color:var(--ui-muted); font-weight:600; text-transform:uppercase; letter-spacing:.06em; }
  .task-view .j2store-single-product .options br { display:none; }
  .task-view .j2store-single-product .j2store-add-to-cart { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
  .task-view .j2store-single-product .j2store-add-to-cart .j2store-cart-button { flex:1 1 180px; width:100%; margin:0 !important; max-width:none !important; }
  .task-view #j2store-product-detail-tab { display:none; }   /* einzelner Reiter „Beschreibung“ ohne Nutzen */
  .task-view .product-sdesc, .task-view .product-ldesc { font-size:16px; line-height:1.65; color:#ddd; }

  /* Varianten als Knöpfe */
  .ui-variants { display:flex; flex-wrap:wrap; gap:8px; margin:4px 0 14px; }
  .ui-variants button { min-width:52px; min-height:44px; padding:0 14px; border-radius:var(--ui-radius-s); border:1px solid var(--ui-line);
    background:var(--ui-surface); color:#fff; font-weight:600; font-size:15px; }
  .ui-variants button[aria-pressed=true] { border-color:var(--ui-accent); background:rgba(255,116,0,.16); color:var(--ui-accent); }
  .ui-select-hidden { position:absolute !important; width:1px !important; height:1px !important; opacity:0; pointer-events:none; }

  /* Mengen-Stepper */
  .ui-qty { display:inline-flex; align-items:stretch; border:1px solid var(--ui-line); border-radius:12px; overflow:hidden; background:var(--ui-surface); }
  .ui-qty button { width:46px; min-height:48px; border:0; background:transparent; color:#fff; font-size:22px; line-height:1; }
  .ui-qty input { width:52px !important; min-height:48px; border:0 !important; border-radius:0 !important; background:transparent !important; text-align:center !important; -moz-appearance:textfield; }
  .ui-qty input::-webkit-outer-spin-button, .ui-qty input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }

  /* Kaufleiste unten (Produktseite) */
  .ui-buybar { display:flex; align-items:center; gap:12px; position:fixed; left:0; right:0; z-index:1039;
    bottom:calc(var(--ui-tabbar) + var(--ui-safe-b)); padding:10px 16px; background:rgba(14,14,14,.97);
    border-top:1px solid var(--ui-line); transform:translateY(130%); transition:transform .25s ease; }
  .ui-buybar.is-visible { transform:none; }
  .ui-buybar .ui-bb-info { flex:1; min-width:0; }
  .ui-buybar .ui-bb-title { font-size:14px; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .ui-buybar .ui-bb-price { font-size:15px; font-weight:700; color:var(--ui-accent); }
  .ui-buybar button { min-height:46px; padding:0 22px; border:0; border-radius:999px; background:var(--ui-accent); color:#000; font-weight:700; font-size:15px; white-space:nowrap; }

  /* ---------- Warenkorb / Kasse ---------- */
  .view-carts .j2store-cart table, .view-checkout table { font-size:15px; }
  .view-carts .j2store-cart .btn, .view-checkout .btn { border-radius:999px; }
  .view-checkout .control-label, .view-checkout label { font-size:14px; color:var(--ui-muted); }

  /* ---------- Inhaltsseiten ---------- */
  .article-details .article-body, .item-page .article-body, .com-content-article__body { font-size:16px; line-height:1.7; }
  .sppb-addon-text-block .sppb-addon-content { line-height:1.65; }
  .sppb-section { padding-left:0; padding-right:0; }
  table:not(.claude-cards) { max-width:100%; }
}

/* sehr kleine Phones */
@media (max-width: 360px) {
  .ui-tabbar a, .ui-tabbar button { font-size:10px; }
  .ui-buybar { padding:8px 12px; }
}

@media (max-width: 991.98px) {
  /* Shop-Seitenleiste mobil: nur Suche/Filter behalten, Warenkorb-Modul und Deko-Logo entfallen (Tab-Leiste) */
  .view-products .j2store-sidebar-filters-container [class*=j2store_cart_module], .view-products .j2store-sidebar-filters-container .j2store-minicart-button { display:none !important; }
  .view-products #sp-right [class*=j2store_cart_module], .view-products #sp-right .sp-module:has(img[src*=colourhaze-logo]) { display:none !important; }
}

/* ---------- Login / Registrierung / Passwort vergessen (com_users) ---------- */
.view-login .plg_system_webauthn_login_button, .view-registration .plg_system_webauthn_login_button {
  display:flex !important; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:10px 16px;
  background:transparent !important; color:#fff !important; border:1px solid var(--ui-line) !important; border-radius:12px; }
.plg_system_webauthn_login_button svg, .plg_system_webauthn_login_button img { width:22px !important; height:22px !important; flex:0 0 auto; }
.com-users .list-group-item, .com-users-login__options .list-group-item { background:transparent !important; color:#fff !important; border-color:var(--ui-line) !important; }
.com-users .list-group-item:hover { color:var(--ui-accent) !important; }
.com-users .loginmodule p { font-family:inherit; font-size:1.15rem; font-weight:600; margin:0 0 16px; }
.com-users input[type=text], .com-users input[type=password], .com-users input[type=email] { box-sizing:border-box; max-width:100%; text-align:left !important; border-radius:10px; min-height:48px; }
.com-users .input-group { flex-wrap:nowrap; }
.com-users .input-group > .form-control, .com-users .input-group > input { min-width:0; border-top-right-radius:0 !important; border-bottom-right-radius:0 !important; }
.com-users .input-group .btn { min-width:48px; border-radius:0 10px 10px 0; }
.com-users .btn-primary, .com-users button[type=submit] { min-height:48px; border-radius:999px; }

@media (max-width: 991.98px) {
  /* alte Icon-Navigation (Page-Builder-Modul „Login Menu“) mobil ausblenden – Tab-Leiste + Chips übernehmen */
  .com-users .sp-module-content-top .mod-sppagebuilder { display:none !important; }
  /* Kopf: mitlaufend statt überlagernd (verhindert, dass Logo den Seitentitel überdeckt) */
  #sp-header, #sp-header.header-sticky { position:sticky !important; top:0 !important; z-index:1030; background:#000; }
  body.sticky-header { padding-top:0 !important; }
  /* Cookie-Knopf schwebt nicht mehr über Formularen: Zugriff über Link in der Fußzeile */
  .redim-cc-reopen, #redim-cookiehint-reopen { display:none !important; }
  .ui-cookie-link { display:inline-block; padding:10px 2px; font-size:15px; }
}

/* Kategorie-Chips: alle 5 passen nebeneinander, nichts abgeschnitten */
@media (max-width: 991.98px) {
  #sp-top1 .sppb-addon-icons-group:not(:has(.sppb-icons-label-text)) .sppb-icons-group-list { display:grid !important; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:6px; overflow:visible; padding:4px 0 8px !important; }
  #sp-top1 .sppb-addon-icons-group:not(:has(.sppb-icons-label-text)) .sppb-icons-group-list > li > a { min-width:0 !important; width:100% !important; padding:8px 2px !important; }
  #sp-top1 .sppb-icons-group-list .sppb-form-label-visually-hidden { font-size:11px !important; overflow:hidden !important; text-overflow:ellipsis; max-width:100%; }
  #sp-top1 .sppb-column, #sp-top1 .sppb-row-column, #sp-top1 .sppb-column-addons { padding-left:0 !important; padding-right:0 !important; }
  #sp-top1 .sppb-section .sppb-row-container { padding-left:12px !important; padding-right:12px !important; }
}

/* Kategorie-Icons: einheitlich dünner Rahmen (Page Builder hatte Vinyl 1px, die anderen 4px) – Farben bleiben */
#sp-topmenu .sppb-icons-group-list > li > a { border-width:1.5px !important; border-style:solid !important; }

/* ---------- Desktop-Shop: Filter-Chips statt Seitenleiste ---------- */
@media (min-width: 992px) {
  body.ui-has-filterbar .j2store-sidebar-filters-container { display:none !important; }
  body.ui-has-filterbar .j2store-product-list .row > .col-sm-9, body.ui-has-filterbar .j2store-product-list .col-sm-9:has(> .j2store-products-row) { flex:0 0 100% !important; max-width:100% !important; width:100% !important; }
  body.ui-has-filterbar .j2store-product-list *:has(> .j2store-products-row) { grid-template-columns:repeat(4, minmax(0, 1fr)) !important; }
  .ui-chips { display:flex; flex-wrap:wrap; gap:10px; }
  .ui-chip { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:8px 18px; border:1.5px solid rgba(255,255,255,.18); border-radius:999px; color:#eee !important; text-decoration:none !important; font-size:15px; letter-spacing:.02em; transition:border-color .15s, background .15s, color .15s; }
  .ui-chip i { font-size:16px; color:#a78bfa; }
  .ui-chip:hover { border-color:#6154fd; color:#fff !important; }
  .ui-chip.is-active { background:#6154fd; border-color:#6154fd; color:#fff !important; }
  .ui-chip.is-active i { color:#fff; }
  .ui-filter-search { min-width:260px; }
  .ui-filter-search form { margin:0 !important; border:0 !important; padding:0 !important; }
  .ui-filter-search input[type=text], .ui-filter-search input[type=search] { min-height:42px; border-radius:999px !important; text-align:left !important; padding:8px 16px !important; }
}

/* ---------- Shop-Kopfleiste: Umschalter, Chips, Suche (alle Größen) ---------- */
.ui-shopbar { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin:4px 0 14px; }
.ui-shoptabs { display:flex; gap:4px; padding:4px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:#0b0b0b; }
.ui-shoptabs a { display:inline-flex; align-items:center; min-height:38px; padding:6px 16px; border-radius:999px; color:#bbb !important; text-decoration:none !important; font-size:14px; font-weight:600; letter-spacing:.02em; white-space:nowrap; }
.ui-shoptabs a.is-active { background:#ff7400; color:#000 !important; }
.ui-shoptabs a:not(.is-active):hover { color:#fff !important; }
.ui-shopbar .ui-chips { order:2; }
.ui-shopbar .ui-filter-search { order:3; margin-left:auto; }
.ui-filter-search form { display:flex; margin:0 !important; border:0 !important; padding:0 !important; }
.ui-filter-search label.finder, .ui-filter-search .finder { display:none !important; }
.ui-filter-search input[name=q] { min-height:42px; min-width:240px; border-radius:999px !important; text-align:left !important; padding:8px 16px 8px 40px !important; border:1px solid rgba(255,255,255,.18) !important;
  background:#0b0b0b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center / 18px !important; }
@media (max-width: 991.98px) {
  .ui-shopbar { gap:10px; margin:0 0 12px; }
  .ui-shoptabs { width:100%; }
  .ui-shoptabs a { flex:1; justify-content:center; padding:6px 8px; font-size:13px; }
  .ui-shopbar .ui-filter-search { width:100%; margin-left:0; }
  .ui-filter-search input[name=q] { width:100% !important; min-width:0; }
  .view-products #sp-right .sp-module:has(form.mod-finder), .j2store-sidebar-filters-container .sp-module:empty { display:none; }
}

/* ---------- Suchergebnisse (Smart Search) ---------- */
.com-finder .com-finder__search .input-group input { min-height:46px; border-radius:999px 0 0 999px !important; text-align:left !important; }
.com-finder .com-finder__search .input-group .btn { border-radius:0 999px 999px 0; min-height:46px; }
.com-finder .com-finder__results ol, .com-finder #search-result-list { list-style:none; padding:0; display:grid; gap:12px; }
.com-finder .result__item { background:#0e0e0e; border:1px solid rgba(255,255,255,.10); border-radius:14px; padding:14px 16px; margin:0; }
.com-finder .result__title-link, .com-finder .result__title a { color:#ff7400 !important; font-weight:700; font-size:17px; text-decoration:none; }
.com-finder .result__description { color:#cfcfcf; font-size:14px; margin:6px 0 0; }
.com-finder .result__image img { width:72px; height:72px; object-fit:cover; border-radius:10px; float:left; margin:0 14px 6px 0; }
.com-finder .result__url, .com-finder .result__taxonomy { font-size:12px; color:#888; }
.com-finder .com-finder__empty { background:#0e0e0e; border:1px solid rgba(255,255,255,.10); border-radius:14px; padding:18px; }

@media (max-width: 991.98px) { .j2store_cart_module_229, #sp-position1 .j2store-minicart-button { display:none !important; } }

/* Suche als Lupe in der Shop-Leiste, klappt auf */
.ui-search-toggle { order:4; margin-left:auto; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(255,255,255,.18); background:transparent; color:#ddd; cursor:pointer; }
.ui-search-toggle:hover, .ui-search-toggle[aria-expanded=true] { border-color:#ff7400; color:#ff7400; }
.ui-search-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.ui-shopbar .ui-filter-search { display:none; order:5; flex:1 1 100%; margin-left:0; }
.ui-shopbar .ui-filter-search.is-open { display:block; }
.ui-filter-search form { position:relative; align-items:center; }
.ui-filter-search input[name=q] { width:100% !important; padding-right:48px !important; }
.ui-search-close { position:absolute; right:6px; top:50%; transform:translateY(-50%); width:36px; height:36px; border:0; border-radius:50%; background:transparent; color:#aaa; font-size:24px; line-height:1; cursor:pointer; }
.ui-search-close:hover { color:#fff; background:#1c1c1c; }
.ui-filter-search .btn, .ui-filter-search button[type=submit] { display:none; }
@media (max-width: 991.98px) {
  .ui-shoptabs { width:auto; flex:1; }
  .ui-search-toggle { margin-left:0; flex:0 0 44px; }
}

@media (max-width: 991.98px) {
  .ui-shopbar { flex-wrap:wrap; }
  .ui-shoptabs { min-width:0; flex:1 1 0; }
  .ui-shoptabs a { padding:6px 4px; font-size:12.5px; min-width:0; }
  .ui-search-toggle { width:44px; height:44px; }
  .ui-search-toggle svg { width:22px; height:22px; stroke-width:2.2; }
}

.ui-search-toggle svg { flex:0 0 auto; min-width:20px; max-width:none !important; }
@media (max-width: 991.98px) { .ui-search-toggle svg { min-width:22px; } }

/* ---------- Responsiv-Korrektur 01.12.: Shop-Leiste unabhängig von Fensterbreite/Größenänderung ---------- */
body.ui-has-filterbar .j2store-sidebar-filters-container { display:none !important; }
body.ui-has-filterbar .j2store-product-list .col-sm-9:has(> .j2store-products-row) { flex:0 0 100% !important; max-width:100% !important; width:100% !important; }
.ui-chips { display:flex; flex-wrap:wrap; gap:10px; }
.ui-chip { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:8px 18px; border:1.5px solid rgba(255,255,255,.18); border-radius:999px; color:#eee !important; text-decoration:none !important; font-size:15px; letter-spacing:.02em; white-space:nowrap; }
.ui-chip i { font-size:16px; color:#a78bfa; }
.ui-chip:hover { border-color:#6154fd; color:#fff !important; }
.ui-chip.is-active { background:#6154fd; border-color:#6154fd; color:#fff !important; }
.ui-chip.is-active i { color:#fff; }
.ui-shoptabs a { white-space:nowrap; }
@media (max-width: 991.98px) {
  .ui-shopbar .ui-chips { display:none; }            /* mobil übernehmen die Kategorie-Kacheln oben */
}
@media (min-width: 600px) and (max-width: 991.98px) {
  .j2store-product-list *:has(> .j2store-products-row) { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; }
}

/* Sprungmarke "Zum Inhalt" – nur bei Tastaturfokus sichtbar (2026-12-01) */
.ui-skip { position:fixed; left:12px; top:-60px; z-index:100000; padding:10px 16px; background:#111; color:#fff !important; border:2px solid #ff7400; border-radius:8px; font-weight:600; text-decoration:none; transition:top .15s; }
.ui-skip:focus { top:12px; }
#sp-component:focus, #sp-main-body:focus { outline:none; }
/* Produkttitel ist jetzt H1 (eine Hauptüberschrift je Seite) – gleiches Aussehen wie vorher die H3 */
.task-view .j2store-single-product h1.product-title { font-family:'Psycedelic1', 'Alegreya Sans', sans-serif; }

/* Alben: Cover klickbar, (2026-12-01) */
.sppb-addon-overlay-image { position:relative; }
.ui-cover-link { position:absolute; inset:0; z-index:6; }

/* Konzerte: vergangene Termine blasser (2026-12-01) */
.ui-past { opacity:.42; text-decoration:line-through; text-decoration-thickness:1px; }

/* Galerie-Lightbox (2026-12-01) */
.ui-lb-thumb { cursor:zoom-in; }
.ui-lb { position:fixed; inset:0; z-index:100001; background:rgba(0,0,0,.97); display:none; align-items:center; justify-content:center; touch-action:pan-y; }
.ui-lb.is-open { display:flex; }
.ui-lb img { max-width:94vw; max-height:86vh; max-height:86dvh; object-fit:contain; border-radius:6px; box-shadow:0 8px 40px rgba(0,0,0,.6); user-select:none; }
.ui-lb button { position:absolute; background:rgba(20,20,20,.7); color:#fff; border:1px solid rgba(255,255,255,.25); border-radius:999px; width:48px; height:48px; font-size:30px; line-height:1; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; }
.ui-lb button:hover { border-color:#ff7400; color:#ff7400; }
.ui-lb-close { top:max(14px, env(safe-area-inset-top)); right:14px; }
.ui-lb-prev { left:12px; top:50%; transform:translateY(-50%); }
.ui-lb-next { right:12px; top:50%; transform:translateY(-50%); }
.ui-lb-count { position:absolute; bottom:max(18px, env(safe-area-inset-bottom)); left:0; right:0; text-align:center; color:#bbb; font-size:14px; }
@media (max-width:767px) { .ui-lb-prev, .ui-lb-next { top:auto; bottom:max(10px, env(safe-area-inset-bottom)); transform:none; } .ui-lb-count { bottom:max(24px, env(safe-area-inset-bottom)); } }
html.ui-lb-lock, html.ui-lb-lock body { overflow:hidden; }
