/* Screen reader only utility */
.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; }
em, i { font-style: normal; font-weight: 600; }

:root {
    /* Dark Theme (Default) */
    --bg: #1b1b1b;
    --surface: #252525;
    --surface2: #2c2c2c;
    --border: #383838;
    --text: #f0f0f0;
    --muted: #bbb;
    --title-color: #f5c842;
    --red: #c0392b;
    --red-dark: #922b21;
    --red-hover: #e74c3c;
    --ali: #e05a1a;
    --ali-hover: #f06a2a;
  }


  /* Collapsible Category Sections */
  .cat-section { margin-bottom: 6px; transition: margin-bottom .2s; }
  .cat-section.collapsed { margin-bottom: 2px; }
  .cat-section > h2 { cursor: pointer; user-select: none; position: relative; }
  .cat-section > h2 .cat-toggle {
    font-size: 0.7em; margin-left: auto; transition: transform .2s; display: inline-block;
    color: var(--muted); opacity: 0.6;
  }
  .cat-section.collapsed > h2 .cat-toggle { transform: rotate(-90deg); }
  .cat-section.was-collapsed > .cat-info-abe,
  .cat-section.was-collapsed > [id^="productList"],
  .cat-section.was-collapsed > .section-footer { animation: sectionReveal .3s ease; }
  @keyframes sectionReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
  .cat-section.collapsed > .cat-info-abe,
  .cat-section.collapsed > [id^="productList"],
  .cat-section.collapsed > .section-footer { display: none; }
  .cat-count { font-size: 0.65em; color: var(--muted); font-weight: 400; vertical-align: middle; transition: color .2s; }
  .cat-section > h2:hover { opacity: 0.85; }
  .section-footer { display: none; }
  .back-to-nav {
    background: rgba(245,200,66,0.06); border: 1px solid rgba(245,200,66,0.15); border-radius: 20px;
    color: var(--title-color); font-size: 0.75rem; padding: 8px 20px; cursor: pointer;
    transition: all .2s; font-family: 'Open Sans', sans-serif; font-weight: 600;
  }
  .back-to-nav:hover { background: rgba(245,200,66,0.12); border-color: rgba(245,200,66,0.3); }
  body.light-theme .back-to-nav { background: rgba(192,57,43,0.06); border-color: rgba(192,57,43,0.15); color: var(--red); }
  body.light-theme .back-to-nav:hover { background: rgba(192,57,43,0.12); border-color: rgba(192,57,43,0.3); }
  .back-to-nav:focus-visible { outline: 2px solid var(--title-color); outline-offset: 2px; }
  .no-results {
    display: none; text-align: center; padding: 40px 20px; color: var(--muted);
  }
  .no-results-icon { font-size: 2.5rem; margin-bottom: 10px; opacity: 0.5; }
  .no-results-text { font-size: 0.95rem; }
  .no-results-text b { color: var(--title-color); }
  .no-results-tip { font-size: 0.82rem; margin-top: 8px; opacity: 0.6; }
  .no-results-clear {
    display: inline-block; margin-top: 14px; padding: 8px 20px;
    background: rgba(245,200,66,0.1); border: 1px solid rgba(245,200,66,0.25);
    border-radius: 8px; color: var(--title-color); font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all .2s; font-family: 'Open Sans', sans-serif;
  }
  .no-results-clear:hover { background: rgba(245,200,66,0.2); border-color: rgba(245,200,66,0.4); }
  body.light-theme .no-results-clear { background: rgba(192,57,43,0.06); border-color: rgba(192,57,43,0.2); color: var(--red); }
  body.light-theme .no-results-clear:hover { background: rgba(192,57,43,0.12); }
  .card-title mark { background: rgba(245,200,66,0.25); color: var(--title-color); padding: 0 2px; border-radius: 2px; }
  body.light-theme .card-title mark { background: rgba(192,57,43,0.15); color: var(--red); }

  /* Light Theme – RollerPlausch.com Forum-Farben */
  body.light-theme .site-logo-bar { background: #1e3a5c; }
  body.light-theme #categoryNav button, body.light-theme #categoryNav .cat-nav-btn { color: #1a2a3a; background: rgba(255,255,255,0.85); border-color: rgba(192,57,43,0.25); }
  body.light-theme #categoryNav button:hover, body.light-theme #categoryNav .cat-nav-btn:hover { color: #fff !important; background: var(--red) !important; border-color: var(--red) !important; }
  body.light-theme #categoryNav button.active, body.light-theme #categoryNav .cat-nav-btn.active { color: #fff !important; background: var(--red) !important; border-color: var(--red) !important; box-shadow: 0 0 12px rgba(192,57,43,0.25); }
  body.light-theme .platform-label.amz { color: #d06010; }
  body.light-theme .platform-label.ali { color: #a02018; }
  body.light-theme {
    --bg: #e8eef4;
    --surface: #ffffff;
    --surface2: #dae4ed;
    --border: #bccad6;
    --text: #1a2a3a;
    --muted: #5a6a7a;
    --title-color: #c0392b;
    --red: #c0392b;
    --red-dark: #a93226;
    --red-hover: #e74c3c;
    --ali: #c0392b;
    --ali-hover: #a93226;
  }
  /* ── LIGHT THEME OVERRIDES ── */
  body.light-theme .hero-block { background: #fff; border-color: #bccad6; border-top: 3px solid; border-image: linear-gradient(90deg, #c0392b, #e67e22, #c0392b) 1; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
  body.light-theme .forum-back-btn { background: rgba(192,57,43,0.08); border-color: rgba(192,57,43,0.25); color: var(--red); }
  body.light-theme .forum-back-btn svg { stroke: var(--red); }
  body.light-theme .forum-back-btn:hover { background: rgba(192,57,43,0.15); border-color: var(--red); }
  body.light-theme .forum-back { border-color: #bccad6; }
  body.light-theme .page-title { border-color: #bccad6; }
  body.light-theme .banner-glass img { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  body.light-theme .date-pill { background: rgba(192,57,43,0.08); border-color: rgba(192,57,43,0.25); color: var(--red); }
  body.light-theme header { background: rgba(255,255,255,0.92); border-color: #bccad6; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  body.light-theme input[type=search] { background: #f0f4f8; border-color: #bccad6; color: #1a2a3a; }
  body.light-theme input[type=search]:focus { border-color: var(--red); box-shadow: 0 0 12px rgba(192,57,43,0.12); background: #fff; }
  body.light-theme input[type=search]::placeholder { color: #7a8a9a; }
  body.light-theme #categoryNav { background: #fff; border-color: #bccad6; }
  body.light-theme #categoryNav::before { color: #5a6a7a; }
  body.light-theme .info-box { background: #fff; border-color: #bccad6; }
  body.light-theme .info-box::before { background: linear-gradient(90deg, #c0392b, #e67e22, #c0392b); }
  body.light-theme .info-box summary { color: #1a2a3a; }
  body.light-theme .card { background: #fff; border-color: #bccad6; border-left: 3px solid transparent; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
  body.light-theme .cat-info-abe { background: rgba(255,255,255,0.85); border-color: rgba(192,57,43,0.25); box-shadow: 0 0 12px rgba(192,57,43,0.1), 0 2px 6px rgba(0,0,0,0.06); }
  body.light-theme .cat-info-abe::before { background: linear-gradient(180deg, #c0392b, #e67e22, #c0392b); }
  body.light-theme footer { background: #fff; border-color: #bccad6; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
  body.light-theme footer::before { background: linear-gradient(90deg, #c0392b, #e67e22, #c0392b); }
  body.light-theme .share-card { background: #f0f4f8; border-color: #bccad6; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
  body.light-theme .share-card:hover { background: #e4eaf0; border-color: #9aaaba; box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
  body.light-theme .share-card .s-lbl { color: #5a6a7a; }
  body.light-theme .share-card-rp { background: rgba(192,57,43,0.06); border-color: rgba(192,57,43,0.25); }
  body.light-theme .share-card-rp:hover { background: rgba(192,57,43,0.12); border-color: var(--red); }
  body.light-theme .card-img img { background: #f0f4f8; border-color: #bccad6; }
  body.light-theme .card-img img:hover { border-color: var(--red); box-shadow: 0 0 12px rgba(192,57,43,0.15); }
  body.light-theme .card:hover { border-left-color: var(--red); box-shadow: -4px 0 16px rgba(192,57,43,0.15), 0 4px 16px rgba(0,0,0,0.1); }
  body.light-theme .share-card svg[stroke="#f5c842"] { stroke: var(--red); }
  body.light-theme .share-card .x-icon { stroke: #1a2a3a; }
  body.light-theme #footerThemeIcon { stroke: var(--red); }
  body.light-theme .share-card svg[fill="#e74c3c"] { fill: var(--red); }
  body.light-theme h2[id^="cat-"] { text-shadow: none; background: #fff; border-color: rgba(192,57,43,0.2); border-left-color: var(--red); box-shadow: 0 2px 6px rgba(0,0,0,0.06); color: var(--red); }
  body.light-theme h2[id^="cat-"]:hover { border-color: rgba(192,57,43,0.4); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  body.light-theme .platform-label::after { background: #bccad6; }
  body.light-theme .badge-bestseller { background: linear-gradient(135deg, #c0392b, #a02018); color: #fff; box-shadow: 0 2px 8px rgba(192,57,43,0.2); }
  body.light-theme .theme-toggle-inline { background: rgba(192,57,43,0.08); border-color: rgba(192,57,43,0.25); color: var(--red); }
  body.light-theme .theme-toggle-inline:hover { background: rgba(192,57,43,0.15); border-color: var(--red); }
  body.light-theme #fastScrollBtn { background: var(--red); color: #fff; }
  body.light-theme #recentlyViewed { background: #fff; border-color: #bccad6; }
  body.light-theme #scrollProgress { background: linear-gradient(90deg, #c0392b, #e67e22, #c0392b); height: 3px; box-shadow: 0 1px 4px rgba(192,57,43,0.3); }
  body.light-theme { scrollbar-color: #bccad6 #e8eef4; }
  body.light-theme ::-webkit-scrollbar-track { background: #e8eef4; }
  body.light-theme ::-webkit-scrollbar-thumb { background: #bccad6; }
  body.light-theme ::-webkit-scrollbar-thumb:hover { background: #9aaaba; }
  body.light-theme .info-block { background: #f0f4f8; border-color: #bccad6; border-left-color: var(--red); }
  body.light-theme .affiliate-note { background: #f0f4f8; border-color: #bccad6; }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  a, button, [role="button"], .card-img img, .cat-info-abe { -webkit-tap-highlight-color: transparent; }
  :focus:not(:focus-visible) { outline: none; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--border) var(--bg); }
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--muted); }
  body {
    background: var(--bg); color: var(--text); font-family: 'Open Sans', sans-serif;
    font-size: 14px; overflow-x: hidden; -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; animation: pageLoad .4s ease;
    background-image: radial-gradient(rgba(245,200,66,0.015) 1px, transparent 1px);
    background-size: 24px 24px;
  }
  body.light-theme {
    background-image: radial-gradient(rgba(192,57,43,0.02) 1px, transparent 1px);
    background-size: 24px 24px;
  }
  @keyframes pageLoad { from { opacity: 0; } to { opacity: 1; } }

  /* ── PAGE TITLE ── */
  .page-title {
    padding: 12px 14px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.05rem; font-weight: 700;
    color: var(--text); line-height: 1.4;
    text-align: center; word-break: break-word; overflow-wrap: break-word;
    border-bottom: 1px solid rgba(56,56,56,0.3);
  }
  .page-subtitle {
    font-size: 0.8rem; font-weight: 400; color: var(--muted);
    margin-top: 6px; line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
  }
  .banner-glass { text-align:center; padding:16px 14px 6px; }
  .banner-glass img { width:100%; max-width:500px; height:auto; border-radius:10px; box-shadow:0 4px 16px rgba(0,0,0,0.4); }
  .season-wrap { text-align: center; padding: 6px 0 0; font-size: 0.75rem; color: var(--muted); }
  #cartIcon { cursor: pointer; user-select: none; }
  .date-pill {
    display:inline-block;
    background:rgba(245,200,66,0.08);border:1px solid rgba(245,200,66,0.25);
    border-radius:20px;padding:5px 18px;font-size:0.72rem;color:var(--title-color);
    font-weight:600;margin:10px 0 14px;
  }


  /* ── HEADER / SEARCH ── */
  header {
    background: rgba(27,27,27,0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(56,56,56,0.5);
    padding: 10px 14px;
    position: static;
    max-width: 1300px; margin: 0 auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  }
  .search-wrap { position: relative; }
  .search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: 0.4; pointer-events: none; transition: opacity .3s; }
  input[type=search] {
    width: 100%; padding: 11px 14px 11px 38px;
    background: rgba(30,33,45,0.8); border: 1.5px solid rgba(245,200,66,0.15);
    border-radius: 10px; color: var(--text); font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif; outline: none;
    transition: all .3s ease; backdrop-filter: blur(4px);
  }
  input[type=search]:focus { border-color: var(--title-color); box-shadow: 0 0 16px rgba(245,200,66,0.15), 0 0 40px rgba(245,200,66,0.06); background: rgba(30,33,45,0.95); }
  .search-wrap:focus-within svg { opacity: 0.8; }
  input[type=search]::placeholder { color: var(--muted); }
  input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
  .search-hint {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    font-size: 0.65rem; color: var(--muted); opacity: 0.4; pointer-events: none;
    border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px;
    font-family: var(--font-mono, monospace); letter-spacing: 0.5px;
  }
  .search-wrap.has-value .search-hint { display: none; }
  input[type=search]:focus ~ .search-hint { display: none; }
  @media (max-width: 768px) { .search-hint { display: none !important; } }
  .search-clear {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.12); border: none; color: var(--muted);
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
    font-size: 0.95rem; display: none; align-items: center; justify-content: center;
    transition: all .2s;
  }
  .search-clear:hover { background: rgba(255,255,255,0.2); color: var(--text); }
  body.light-theme .search-clear { background: rgba(0,0,0,0.05); }
  body.light-theme .search-clear:hover { background: rgba(0,0,0,0.1); color: #1a2a3a; }
  .search-wrap.has-value .search-clear { display: flex; }
  .search-wrap.has-value input[type=search] { padding-right: 46px; }
  input[type=search].search-highlight {
    border-color: var(--title-color);
    box-shadow: 0 0 20px rgba(245,200,66,0.3), 0 0 50px rgba(245,200,66,0.1);
    animation: searchPulse 0.7s ease-in-out 2;
  }
  @keyframes searchPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245,200,66,0.3), 0 0 50px rgba(245,200,66,0.1); }
    50% { box-shadow: 0 0 28px rgba(245,200,66,0.5), 0 0 60px rgba(245,200,66,0.2); }
  }

  /* ── CATEGORY NAV ── */
  #categoryNav::before {
    content: attr(data-label);
    font-size: 0.85rem; font-weight: 700; color: var(--muted);
    white-space: nowrap; margin-right: 8px;
  }
  @media (max-width: 768px) {
    #categoryNav::before {
      flex-shrink: 0;
    }
  }
  #categoryNav button, #categoryNav .cat-nav-btn {
    white-space: nowrap; padding: 6px 14px;
    display:inline-flex;align-items:center;gap:4px;
    height:40px;border-radius:10px;
    background:rgba(20,22,30,0.9);border:1px solid rgba(245,200,66,0.2);
    color:var(--title-color);font-size:0.82rem;font-weight:600;
    cursor:pointer;transition:all .25s ease;
    backdrop-filter:blur(4px);box-shadow:0 2px 6px rgba(0,0,0,0.2);
    font-family:'Open Sans',sans-serif;text-decoration:none;
  }
  .nav-count { font-size: 0.7em; opacity: 0.5; font-weight: 400; }
  .cat-nav-back { opacity: 0.7; font-weight: 600; }
  .cat-nav-back:hover { opacity: 1; }
  .toggle-all-btn {
    background: rgba(192,57,43,0.15) !important; border-color: rgba(192,57,43,0.35) !important;
    color: var(--red) !important; font-size: 0.72rem !important; padding: 4px 12px !important;
    height: 32px !important; opacity: 0.8;
  }
  .toggle-all-btn:hover { opacity: 1 !important; background: rgba(192,57,43,0.25) !important; }
  body.light-theme .toggle-all-btn { background: rgba(192,57,43,0.1) !important; border-color: rgba(192,57,43,0.25) !important; }
  #categoryNav button:hover, #categoryNav .cat-nav-btn:hover{background:rgba(245,200,66,0.12);border-color:rgba(245,200,66,0.4);transform:translateY(-2px);box-shadow:0 4px 14px rgba(245,200,66,0.12)}
  #categoryNav button:focus-visible, #categoryNav .cat-nav-btn:focus-visible{outline:2px solid var(--title-color);outline-offset:2px}
  #categoryNav {
    display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px;
    background: rgba(37,37,37,0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(56,56,56,0.4); align-items: center; justify-content: center;
    max-width: 1300px; margin: 8px auto 0; border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); scroll-margin-top: 60px;
  }
  @media (max-width: 768px) {
    #categoryNav {
      flex-wrap: wrap; justify-content: center;
      padding: 8px 10px; gap: 6px;
    }
    #categoryNav button, #categoryNav .cat-nav-btn { flex-shrink: 1; white-space: normal; text-align: center; min-height: 36px; height: auto; }
  }

  /* ── BESTSELLER BADGE ── */
  .badge-bestseller {
    display: inline-block; background: linear-gradient(135deg, #f5c842, #e8a030);
    color: #1a1a1a; font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; padding: 2px 8px; border-radius: 4px; margin-right: 6px;
    vertical-align: middle; line-height: 1.6; cursor: help;
    box-shadow: 0 2px 8px rgba(245,200,66,0.25);
    animation: badgeShine 3s ease-in-out infinite;
  }
  @keyframes badgeShine {
    0%, 100% { box-shadow: 0 2px 8px rgba(245,200,66,0.25); }
    50% { box-shadow: 0 2px 12px rgba(245,200,66,0.4); }
  }

  /* ── CATEGORY HEADINGS ── */
  h2[id^="cat-"] {
    scroll-margin-top: 70px; display: flex; align-items: center;
    justify-content: flex-start; flex-wrap: wrap; gap: 6px; word-break: break-word;
    margin: 16px 0 12px 0; padding: 12px 16px;
    background: rgba(30,33,45,0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(245,200,66,0.2); border-left: 3px solid var(--title-color);
    border-radius: 8px; color: var(--title-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    font-family: 'Roboto Condensed', sans-serif; font-size: 1.15rem;
    cursor: pointer; user-select: none; position: relative;
    transition: all .2s ease;
  }
  h2[id^="cat-"]:hover { border-color: rgba(245,200,66,0.4); box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
  h2[id^="cat-"]:focus-visible { outline: 2px solid var(--title-color); outline-offset: 2px; }
  h2[id^="cat-"].active-heading {
    border-left-color: var(--title-color); border-left-width: 4px;
    box-shadow: 0 0 20px rgba(245,200,66,0.25), 0 4px 14px rgba(0,0,0,0.3);
    animation: headingGlow 2s ease forwards;
  }
  @keyframes headingGlow {
    0% { box-shadow: 0 0 20px rgba(245,200,66,0.35), 0 4px 14px rgba(0,0,0,0.3); }
    100% { box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
  }
  body.light-theme h2[id^="cat-"].active-heading {
    box-shadow: 0 0 20px rgba(192,57,43,0.2), 0 4px 12px rgba(0,0,0,0.1);
  }
  h2[id^="cat-"]:active { transform: scale(0.99); }
  .cat-share-btn {
    margin-left: auto; background: none; border: 1px solid rgba(245,200,66,0.2);
    border-radius: 6px; color: var(--title-color); font-size: 0.85rem;
    padding: 6px 12px; cursor: pointer; transition: all .2s; min-height: 36px;
    font-family: inherit; line-height: 1.4;
  }
  .cat-share-btn:hover { background: rgba(245,200,66,0.12); border-color: rgba(245,200,66,0.4); }
  body.light-theme .cat-share-btn { border-color: rgba(192,57,43,0.2); color: var(--red); }
  body.light-theme .cat-share-btn:hover { background: rgba(192,57,43,0.08); border-color: var(--red); }



  /* ── CATEGORY INFO BOXES ── */
  .cat-info-abe a { color: var(--title-color); }
  .cat-info-abe {
    padding: 15px; padding-left: 18px; margin: 12px 0;
    font-size: 0.8rem; color: var(--muted);
    background: rgba(20, 22, 30, 0.9);
    overflow: visible; cursor: default; transition: all .2s;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    border-radius: 8px;
    border: 1px solid rgba(245,200,66,0.2);
    box-shadow: 0 0 15px rgba(245, 200, 66, 0.15), 0 2px 6px rgba(0,0,0,0.2);
    position: relative;
  }
  .cat-info-abe::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, #f5c842, #e67e22, #f5c842);
    border-radius: 8px 0 0 8px;
  }
  #categoryNav button.active, #categoryNav .cat-nav-btn.active {
    font-weight: 700 !important;
    background: rgba(245,200,66,0.15) !important;
    border-color: var(--title-color) !important;
    box-shadow: 0 0 14px rgba(245,200,66,0.2);
    transform: scale(1.05);
  }

  /* ── TOP HERO BLOCK ── */
  .hero-block {
    max-width:1300px;margin:0 auto;
    background:rgba(27,27,27,0.95);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    border:1px solid rgba(56,56,56,0.4);
    border-top:3px solid;border-image:linear-gradient(90deg,var(--red),#e8a030,var(--title-color),#e8a030,var(--red)) 1;
    box-shadow:0 2px 12px rgba(0,0,0,0.3);
  }
  .site-logo-bar {
    display: flex; align-items: center; justify-content: center;
    padding: 8px 14px; background: transparent;
  }
  .site-logo-bar a { display: block; width: 100%; max-width: 800px; }
  .site-logo-bar img { width: 100%; height: auto; display: block; max-height: 90px; object-fit: contain; }
  .forum-back {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 14px; border-bottom: 1px solid rgba(56,56,56,0.3);
  }
  .forum-back-btn {
    display:inline-flex;align-items:center;gap:6px;
    background:rgba(20,22,30,0.9);border:1px solid rgba(245,200,66,0.25);
    border-radius:8px;padding:5px 14px;text-decoration:none;
    color:var(--title-color);font-size:0.75rem;font-weight:700;
    transition:all .25s ease;backdrop-filter:blur(4px);
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
  }
  .forum-back-btn svg{width:14px;height:14px;stroke:var(--title-color);fill:none;stroke-width:2}
  .forum-back-btn:hover{background:rgba(245,200,66,0.12);border-color:rgba(245,200,66,0.5);transform:translateY(-1px);box-shadow:0 4px 12px rgba(245,200,66,0.1)}
  .topbar-actions { display: flex; align-items: center; gap: 6px; }

  /* ── CARD ── */
  .card {
    background: rgba(37, 37, 37, 0.85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 56, 56, 0.6);
    border-left: 3px solid transparent;
    border-radius: 8px; margin-bottom: 10px; padding: 12px 14px;
    transition: all .25s ease, opacity .2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.03);
  }
  .card:hover {
    border-left-color: var(--title-color);
    box-shadow: -4px 0 16px rgba(245, 200, 66, 0.2), 0 4px 20px rgba(245, 200, 66, 0.08), 0 2px 8px rgba(0,0,0,0.35);
    background: rgba(44, 44, 44, 0.95);
    transform: translateY(-1px);
  }
  /* Disable card hover transform on touch devices to prevent double-tap */
  @media (hover: none) {
    .card:hover { transform: none; }
    #categoryNav button:hover, #categoryNav .cat-nav-btn:hover { transform: none; }
  }
  /* Link click feedback */
  .btn-amz:active, .btn-ali:active { transform: scale(0.95); opacity: 0.8; }
  .btn-amz.clicked, .btn-ali.clicked { animation: btnPulse 0.6s ease; }
  .btn-amz.clicked::before, .btn-ali.clicked::before { content: '✓ '; }
  @keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(244,116,32,0.4); }
    70% { box-shadow: 0 0 0 8px rgba(244,116,32,0); }
    100% { box-shadow: 0 0 0 0 rgba(244,116,32,0); }
  }
  .btn-ali.clicked { animation-name: btnPulseAli; }
  @keyframes btnPulseAli {
    0% { box-shadow: 0 0 0 0 rgba(192,57,43,0.4); }
    70% { box-shadow: 0 0 0 8px rgba(192,57,43,0); }
    100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); }
  }

  .card-inner { display: flex; gap: 10px; align-items: flex-start; }

  .card-img { flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; }
  .card-img .img-wrap { display: flex; flex-direction: column; align-items: center; }
  .card-img img {
    width: 100px; height: 100px; object-fit: contain;
    border-radius: 8px; background: var(--surface2); display: block;
    border: 1px solid rgba(56,56,56,0.5); cursor: zoom-in;
    transition: all .2s ease;
  }
  .card-img img[loading="lazy"]:not([src=""]) {
    background: var(--surface2);
  }
  .card-img img.loaded { background: var(--surface2); }
  .card-img img.img-error { cursor: default; }
  .card-img img:hover { transform: scale(1.08); border-color: var(--title-color); box-shadow: 0 0 12px rgba(245,200,66,0.15); }
  @media (hover: none) { .card-img img:hover { transform: none; } }


  .card-img .img-label { font-size: 0.7rem; color: var(--muted); text-align: center; margin-top: 2px; }
  /* many-images truncation removed — all images always visible */

  .card-body { flex: 1; min-width: 0; }

  .card-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700; font-size: 1rem; letter-spacing: 0.2px;
    margin-bottom: 6px; color: var(--text); line-height: 1.3;
  }
  .card-title-mobile { display: none; }
  /* link-count-badge removed */
  .card-desc {
    font-size: 0.76rem; color: var(--muted); line-height: 1.45; margin-top: 8px; margin-bottom: 4px;
    transition: all .2s;
  }

  /* ── LIGHTBOX ── */
  #lightbox {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
    cursor: zoom-out; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  #lightbox.open { display: flex; animation: lightboxFadeIn .2s ease; }
  @keyframes lightboxFadeIn { from { opacity: 0; } to { opacity: 1; } }
  #lightbox img { max-width: 82vw; max-height: 82vh; object-fit: contain; border-radius: 6px; cursor: default; transition: opacity .2s; touch-action: pinch-zoom; }
  #lightbox img.lb-loading { opacity: 0.3; filter: blur(2px); }
  #lightbox.open::after {
    content: ''; position: absolute; width: 28px; height: 28px;
    border: 3px solid rgba(255,255,255,0.2); border-top-color: #fff;
    border-radius: 50%; animation: spin .6s linear infinite;
    pointer-events: none; z-index: -1;
  }
  #lightbox img:not(.lb-loading) ~ #lightbox::after { display: none; }
  #lightbox-close {
    position: fixed; top: 16px; right: 18px;
    font-size: 1.5rem; color: var(--text); cursor: pointer;
    line-height: 1; z-index: 1000;
    background: rgba(0,0,0,0.6); border-radius: 50%;
    width: 44px; height: 44px; display: none; align-items: center; justify-content: center;
    transition: background .2s;
  }
  #lightbox-close:hover { background: rgba(255,255,255,0.2); }
  #lightbox.open #lightbox-close { display: flex; }
  #lightbox-prev, #lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 3rem; color: #fff; cursor: pointer; user-select: none;
    padding: 20px; background: rgba(0,0,0,0.4); border-radius: 8px;
    transition: background 0.2s; display: none;
    min-width: 44px; min-height: 44px;
    -webkit-tap-highlight-color: transparent;
  }
  #lightbox.open #lightbox-prev, #lightbox.open #lightbox-next { display: flex; align-items: center; justify-content: center; }
  #lightbox-prev:hover, #lightbox-next:hover { background: rgba(255,255,255,0.2); }
  #lightbox-prev:focus-visible, #lightbox-next:focus-visible, #lightbox-close:focus-visible {
    outline: 2px solid var(--title-color); outline-offset: 2px; background: rgba(255,255,255,0.15);
  }
  #lightbox-prev { left: 8px; }
  #lightbox-next { right: 8px; }
  @media (max-width: 768px) {
    #lightbox-prev, #lightbox-next { font-size: 2rem; padding: 12px; }
  }
  #lightbox-counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 1rem; background: rgba(0,0,0,0.5); padding: 8px 16px; border-radius: 20px;
    display: none;
  }
  #lightbox.open #lightbox-counter { display: block; }
  #lightbox-title {
    position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 0.9rem; font-weight: 600;
    background: rgba(0,0,0,0.6); padding: 8px 20px; border-radius: 20px;
    max-width: 80vw; text-align: center; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; display: none;
    font-family: 'Roboto Condensed', sans-serif;
  }
  #lightbox.open #lightbox-title { display: block; }
  @media (max-width: 600px) {
    #lightbox-title { white-space: normal; line-height: 1.3; }
    #lightbox img { max-width: 92vw; max-height: 75vh; }
    #lightbox-prev { left: 2px; padding: 10px; font-size: 1.5rem; }
    #lightbox-next { right: 2px; padding: 10px; font-size: 1.5rem; }
    #lightbox-close { top: 8px; right: 8px; }
  }

  /* ── PLATFORM LABELS & BUTTONS ── */
  .platform-section { margin-top: 10px; }
  .platform-section:first-child { margin-top: 6px; }
  .platform-label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 8px;
    display: flex; align-items: center; gap: 6px;
  }
  .platform-label.amz { color: #f47420; font-family: 'Open Sans', sans-serif; font-weight: 600; letter-spacing: 0.5px; font-size: 0.78rem; }
  .platform-label.ali { color: var(--red); font-family: 'Open Sans', sans-serif; font-weight: 700; letter-spacing: 0.5px; font-size: 0.78rem; }
  .platform-label::after { content: ''; flex: 1; height: 1px; background: var(--border); opacity: 0.5; }

  .btn-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 5px; align-items: center; }
  .sep { color: var(--muted); font-size: 0.85rem; padding: 0 2px; }
  .link-desc {
    font-size: 0.85rem; color: var(--text); margin-top: 8px; margin-bottom: 3px;
    line-height: 1.4; padding-left: 2px;
    opacity: 0.75; font-weight: 600;
  }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 14px; min-height: 44px;
    border-radius: 6px; font-size: 0.78rem; font-weight: 600;
    text-decoration: none; font-family: 'Open Sans', sans-serif;
    transition: all .2s ease; white-space: normal; line-height: 1.4;
    max-width: 100%; text-align: center; border: 1px solid transparent;
  }
  .btn-amz { background: rgba(244,116,32,0.9); color: #fff; box-shadow: 0 2px 6px rgba(244,116,32,0.2); }
  .btn-amz::after, .btn-ali::after {
    content: ' ↗'; font-size: 0.7em; opacity: 0.7; margin-left: 2px;
  }
  .btn-amz:hover { background: #f47420; box-shadow: 0 4px 14px rgba(244,116,32,0.3); transform: translateY(-1px); }
  .btn-amz:focus-visible { outline: 2px solid #f47420; outline-offset: 2px; }
  .btn-ali { background: rgba(192,57,43,0.9); color: #fff; box-shadow: 0 2px 6px rgba(192,57,43,0.2); }
  .btn-ali:hover { background: #e74c3c; box-shadow: 0 4px 14px rgba(192,57,43,0.3); transform: translateY(-1px); }
  .btn-ali:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
  .btn-num { padding: 8px 10px; }
  /* Collapsible link sections removed - all links always visible */

  /* ── INFO BOX ── */
  .info-box {
    background: rgba(37,37,37,0.85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    max-width: 1300px; margin: 12px auto;
    border-radius: 8px;
    border: 1px solid rgba(56,56,56,0.4);
    border-top: none;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  }
  .info-box::before {
    content: '';
    display: block; height: 3px;
    background: linear-gradient(90deg, var(--red), #e8a030, var(--title-color), #e8a030, var(--red));
  }
  .info-box::after {
    content: ''; position: absolute; left: 0; top: 3px; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--red), #e8a030, var(--title-color));
    border-radius: 0 0 0 8px;
  }
  .info-box summary {
    padding: 12px 16px; cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif; font-weight: 700;
    font-size: 1.1rem; color: var(--text); letter-spacing: 0.3px;
    list-style: none; display: flex; align-items: center; gap: 8px;
    user-select: none;
  }
  .info-box summary::-webkit-details-marker { display: none; }
  .info-box summary .arrow { margin-left: auto; color: var(--muted); font-size: 0.75rem; }
  .info-box[open] summary .arrow::before { content: '▲ ' attr(data-collapse); }
  .info-box summary .arrow::before { content: '▼ ' attr(data-expand); }
  .info-content {
    padding: 14px; font-size: 0.81rem; line-height: 1.7; color: var(--muted);
    animation: sectionReveal .3s ease;
  }
  .info-block {
    margin-bottom: 6px; padding: 10px 14px;
    background: rgba(44,44,44,0.5);
    border-radius: 8px;
    border: 1px solid rgba(56,56,56,0.3);
    border-left: 3px solid var(--red);
  }
  .info-block strong { color: var(--title-color); }
  .info-list { margin: 6px 0 0 16px; }
  .info-list li { margin-bottom: 4px; }
  .info-content p { margin: 6px 0; }
  .info-content a { color: var(--title-color); }
  .info-content .highlight { color: var(--title-color); }
  .affiliate-note {
    margin-top: 12px; padding: 10px 14px;
    background: rgba(44,44,44,0.5); border: 1px solid rgba(56,56,56,0.4);
    border-radius: 8px; color: var(--muted); font-size: 0.76rem; line-height: 1.6;
  }

  /* ── MAIN ── */
  main { padding: 4px 14px 60px; max-width: 1300px; margin: 0 auto; }

  /* ── DESKTOP LAYOUT ── */
  @media (min-width: 900px) {
    #productList { column-count: 2; column-gap: 14px; }
    [id^="productList"]:not(#productList) { column-count: 2; column-gap: 14px; }
    [id^="productList"] .card { margin-bottom: 10px; break-inside: avoid; display: inline-block; width: 100%; }
    .card-img img { width: 90px; height: 90px; }
  }
  @media (min-width: 1300px) {
    #productList { column-count: 3; column-gap: 16px; }
    [id^="productList"]:not(#productList) { column-count: 3; column-gap: 16px; }
  }

  /* ── BREADCRUMB ── */
  .breadcrumb {
    max-width: 1300px; margin: 8px auto 0; padding: 8px 14px;
    font-size: 0.75rem; color: var(--muted);
  }
  .breadcrumb a { color: var(--title-color); text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb-sep { margin: 0 6px; opacity: 0.5; }
  .breadcrumb [aria-current] { color: var(--text); font-weight: 600; }
  body.light-theme .breadcrumb a { color: var(--red); }

  /* ── CATEGORY PREV/NEXT NAV ── */
  .cat-nav-prevnext {
    display: flex; justify-content: space-between; gap: 10px;
    margin: 20px 0 10px; padding: 0;
  }
  .cat-nav-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 18px; border-radius: 10px;
    background: rgba(20,22,30,0.9); border: 1px solid rgba(245,200,66,0.2);
    color: var(--title-color); font-size: 0.82rem; font-weight: 600;
    text-decoration: none; transition: all .25s ease;
    font-family: 'Open Sans', sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .cat-nav-link:hover {
    background: rgba(245,200,66,0.12); border-color: rgba(245,200,66,0.4);
    transform: translateY(-2px); box-shadow: 0 4px 14px rgba(245,200,66,0.12);
  }
  .cat-nav-count { font-size: 0.7em; opacity: 0.6; font-weight: 400; }
  .cat-nav-next { margin-left: auto; }
  body.light-theme .cat-nav-link {
    background: rgba(255,255,255,0.85); border-color: rgba(192,57,43,0.25); color: var(--red);
  }
  body.light-theme .cat-nav-link:hover {
    background: rgba(192,57,43,0.08); border-color: var(--red);
  }

  /* ── FOOTER ── */
  footer {
    background: rgba(27,27,27,0.95);
    padding: 0; margin-top: 40px;
    font-size: 0.82rem; color: var(--muted); line-height: 1.8;
    text-align: center;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    max-width: 1300px; margin: 30px auto 0;
    border-radius: 8px;
    border: 1px solid rgba(56,56,56,0.4);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    position: relative;
  }
  footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--red), #e8a030, var(--title-color), #e8a030, var(--red));
    border-radius: 8px 8px 0 0;
  }
  footer a { color: var(--red); text-decoration: none; }
  footer a:hover { color: var(--red-hover); }
  .footer-inner { max-width: 1300px; margin: 0 auto; }
  .footer-content { padding: 22px 20px 16px; }
  .footer-branding { text-align: center; margin-bottom: 18px; }
  .footer-branding a { color: var(--title-color); text-decoration: none; font-weight: 700; font-size: 1rem; }
  .footer-branding .footer-sub { color: var(--muted); font-size: 0.72rem; margin-top: 4px; }
  .footer-links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 14px; }
  .footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px; font-size: 0.72rem; }
  .footer-legal a { color: var(--muted); text-decoration: none; }
  .footer-legal .sep { color: var(--muted); opacity: 0.5; }
  .footer-bottom { text-align: center; font-size: 0.68rem; border-top: 1px solid var(--border); padding-top: 10px; color: var(--muted); opacity: 0.6; }
  /* footer-stats and back-to-top removed */
  .share-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 64px; height: 56px; border-radius: 12px;
    background: rgba(20,22,30,0.9); border: 1px solid rgba(60,65,80,0.4);
    text-decoration: none; transition: all .25s ease;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    gap: 4px; cursor: pointer;
  }
  .share-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.5); border-color: rgba(100,110,130,0.5); background: rgba(30,33,45,0.95); }
  .share-card:focus-visible { outline: 2px solid var(--title-color); outline-offset: 2px; }
  .share-card svg { width: 22px; height: 22px; }
  .share-card .s-lbl { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(180,185,200,0.6); }
  .share-card-rp {
    border: 1px solid rgba(245,200,66,0.3);
    background: rgba(245,200,66,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 0 12px rgba(245,200,66,0.06);
  }
  .share-card-rp:hover { border-color: rgba(245,200,66,0.5); background: rgba(245,200,66,0.12); box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 16px rgba(245,200,66,0.1); }
  button.share-card { font: inherit; }


  @media(max-width: 480px) {
    .btn { font-size: 0.74rem; padding: 8px 10px; min-height: 44px; }
    .card-title { font-size: 0.95rem; }
    .page-title { font-size: 0.85rem; padding: 6px 8px; line-height: 1.5; }
    .page-subtitle { font-size: 0.7rem; }
    main { padding: 6px 6px 60px; }
    h2[id^="cat-"] { font-size: 1.05rem; padding: 10px 12px; }
    .card { padding: 10px; }
    .card-inner { gap: 8px; display: grid; grid-template-columns: 1fr; }
    .card-title-mobile { display: block; }
    .card-body > .card-title { display: none; }
    .card-img { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .card-img img { width: 81px; height: 81px; }
    .card-desc { font-size: 0.76rem; line-height: 1.55; }
    .platform-label { font-size: 0.75rem; margin-bottom: 6px; }
    .btn-row { gap: 4px; }
    #categoryNav { gap: 4px !important; padding: 8px 8px !important; }
    #categoryNav::before { font-size: 0.82rem; }
    #categoryNav button, #categoryNav .cat-nav-btn { font-size: 0.78rem !important; padding: 5px 10px !important; min-height: 40px !important; }
    .cat-info-abe { font-size: 0.76rem; padding: 10px 10px; }
    header { padding: 8px 8px; }
    input[type=search] { min-height: 44px; padding: 10px 12px 10px 36px; }
    .search-clear { width: 40px; height: 40px; }
    .share-card { width: 54px; height: 50px; padding: 6px 3px; gap: 2px; }
    .share-card svg { width: 16px; height: 16px; flex-shrink: 0; }
    .share-card .s-lbl { font-size: 0.45rem; letter-spacing: 0.3px; line-height: 1; }
    footer { font-size: 0.76rem; }
    .footer-bottom { font-size: 0.72rem; }
    .footer-legal { gap: 8px; font-size: 0.76rem; }
    .toggle-all-btn { font-size: 0.7rem !important; padding: 4px 10px !important; min-height: 44px !important; }
  }
  @media(max-width: 360px) {
    .card-img img { width: 69px; height: 69px; }
    .card.many-images .card-img { max-height: 130px; }
    .badge-bestseller { font-size: 0.6rem; padding: 2px 8px; }
    .footer-links-row { gap: 6px; }
    .share-card { width: 44px; height: 42px; padding: 5px 2px; gap: 2px; }
    .share-card svg { width: 14px; height: 14px; flex-shrink: 0; }
    .share-card .s-lbl { font-size: 0.42rem; letter-spacing: 0.2px; line-height: 1; }
  }

  /* ── FAST-SCROLL BUTTON ── */
  #fastScrollBtn {
    position: fixed; bottom: 24px; right: 16px; z-index: 90;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--title-color); color: #000; border: none;
    cursor: pointer; font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(20px);
  }
  #fastScrollBtn.visible {
    opacity: 1; pointer-events: auto; transform: translateY(0);
  }
  #fastScrollBtn { color: #000; }
  #fastScrollBtn:hover { background: var(--red); color: #fff; }

  /* ── RECENTLY VIEWED ── */
  #recentlyViewed {
    display: none; max-width: 1300px; margin: 8px auto 10px; padding: 10px 14px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    position: relative; animation: rvSlideIn .4s ease;
    border-left: 3px solid var(--title-color);
  }
  @keyframes rvSlideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  #recentlyViewed::after {
    content: ''; position: absolute; right: 0; top: 30px; bottom: 6px; width: 40px;
    background: linear-gradient(90deg, transparent, var(--surface)); pointer-events: none; border-radius: 0 8px 8px 0;
  }
  #recentlyViewed h3 { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
  .rv-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .rv-item { flex-shrink: 0; width: 100px; text-align: center; cursor: pointer; transition: transform .15s; }
  .rv-item:hover { transform: scale(1.05); }
  .rv-item:active { transform: scale(0.97); }
  .rv-item:focus-visible { outline: 2px solid var(--title-color); outline-offset: 2px; border-radius: 4px; }
  .rv-item img { width: 60px; height: 60px; object-fit: contain; border-radius: 4px; border: 1px solid var(--border); background: var(--surface2); }
  .rv-item span { display: block; font-size: 0.65rem; color: var(--muted); margin-top: 3px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100px; }
  .rv-clear { font-size: 0.7rem; color: var(--muted); cursor: pointer; float: right; text-decoration: underline; opacity: 0.6; transition: opacity .2s; background: none; border: none; padding: 0; font-family: inherit; }
  .rv-clear:hover { color: var(--title-color); opacity: 1; }

  /* ── TOAST NOTIFICATION ── */
  .toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
    background: var(--title-color); color: #000; padding: 10px 24px;
    border-radius: 20px; font-size: 0.82rem; font-weight: 600;
    z-index: 200; animation: toastIn .3s ease, toastOut .3s ease 1.7s forwards;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3); pointer-events: none;
    font-family: 'Open Sans', sans-serif;
  }
  body.light-theme .toast { background: var(--red); color: #fff; }
  @keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
  @keyframes toastOut { from { opacity: 1; } to { opacity: 0; } }

  /* ── SWIPE HINT ── */
  .swipe-hint {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(10px);
    background: var(--surface); color: var(--text); padding: 10px 24px;
    border-radius: 20px; font-size: 0.8rem; font-weight: 500;
    z-index: 200; opacity: 0; transition: opacity .4s ease, transform .4s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3); pointer-events: none;
    border: 1px solid var(--border);
  }
  .swipe-hint.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* ── SCROLL PROGRESS BAR ── */
  #scrollProgress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 90;
    background: linear-gradient(90deg, var(--title-color), var(--red));
    width: 0%; transition: opacity 0.3s; pointer-events: none;
    will-change: width;
  }

  /* Theme Toggle (inline in topbar) */
  .theme-toggle-inline {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(20,22,30,0.9); border: 1px solid rgba(245,200,66,0.25);
    border-radius: 8px; padding: 5px 14px; text-decoration: none;
    color: var(--title-color); font-size: 0.75rem; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: all .25s ease; backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  }
  .theme-toggle-inline .ico { font-size: 1.1em; vertical-align: -1px; }
  .theme-toggle-inline:hover {
    background: rgba(245,200,66,0.12); border-color: rgba(245,200,66,0.5);
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,200,66,0.1);
  }
  .theme-toggle-inline:focus-visible { outline: 2px solid var(--title-color); outline-offset: 2px; }


/* ── RP EDIT MODE ── */
  .rp-edit-btn { display: none; }
  body.rp-mode .rp-edit-btn {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 6px; right: 6px; z-index: 5;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(245,200,66,0.15); border: 1px solid rgba(245,200,66,0.4);
    text-decoration: none; font-size: 14px; line-height: 1;
    opacity: 0.5; transition: opacity .2s, background .2s;
  }
  body.rp-mode .rp-edit-btn:hover { opacity: 1; background: rgba(245,200,66,0.3); }
  body.rp-mode .card { position: relative; }
  body.light-theme.rp-mode .rp-edit-btn { background: rgba(192,57,43,0.1); border-color: rgba(192,57,43,0.3); }
  body.light-theme.rp-mode .rp-edit-btn:hover { background: rgba(192,57,43,0.2); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── PRINT STYLES ── */
@media print {
  body { background: #fff !important; color: #000 !important; font-size: 11px; }
  header, #scrollProgress, #fastScrollBtn, #lightbox, #recentlyViewed,
  .hero-block, .section-footer, .back-to-nav, .toggle-all-btn,
  .theme-toggle-inline, footer { display: none !important; }
  #categoryNav { position: static; }
  .cat-section.collapsed > .cat-info-abe,
  .cat-section.collapsed > [id^="productList"] { display: block !important; }
  .card { break-inside: avoid; border: 1px solid #ccc !important; box-shadow: none !important;
    background: #fff !important; margin-bottom: 6px; }
  .card:hover { transform: none !important; }
  .card-desc { -webkit-line-clamp: unset !important; overflow: visible !important; }
  .card-desc::after { display: none !important; }
  .cat-info-abe { -webkit-line-clamp: unset !important; overflow: visible !important; }
  .cat-info-abe::after { display: none !important; }
  .btn-amz, .btn-ali { color: #000 !important; background: #eee !important; border: 1px solid #ccc !important; }
  h2[id^="cat-"] { background: #f5f5f5 !important; color: #333 !important;
    border-left-color: #999 !important; box-shadow: none !important; }
  .card-img img { border-color: #ccc !important; }
  .btn-amz::after, .btn-ali::after { content: none !important; }
  .btn-amz[href]::after, .btn-ali[href]::after {
    content: ' (' attr(href) ')' !important; font-size: 8px; word-break: break-all;
    display: inline; opacity: 0.6;
  }
  #categoryNav { display: none !important; }
}

