/* RexoKeys – Idealo-Style Light Theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --gray1: #f5f5f7;
  --gray2: #e8e8ed;
  --gray3: #d1d1d6;
  --gray4: #8e8e93;
  --gray5: #636366;
  --black: #1c1c1e;
  --text: #1c1c1e;
  --muted: #636366;
  --border: #e5e5ea;
  --acc: #e30613;
  --acc2: #ff3b30;
  --blue: #0071e3;
  --green: #34c759;
  --orange: #ff9500;
  --r: 8px;
  --rl: 12px;
  --sh: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --sh2: 0 4px 16px rgba(0,0,0,.12);
  --tr: .16s ease;
}

html { scroll-behavior: smooth; font-size: 14px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--gray1); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1300px; margin: 0 auto; padding: 0 16px; }

/* ── TOPBAR ── */
.topbar { background: var(--black); padding: 6px 0; font-size: 12px; color: rgba(255,255,255,.6); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 18px; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-left i { font-size: 10px; color: var(--acc); }
.topbar-right { display: flex; gap: 14px; }
.topbar-right a { color: rgba(255,255,255,.6); transition: color var(--tr); font-size: 12px; display: flex; align-items: center; gap: 4px; }
.topbar-right a:hover { color: #fff; }

/* ── HEADER ── */
.header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 900; box-shadow: var(--sh); }
.header-main { display: flex; align-items: center; gap: 16px; padding: 12px 16px; max-width: 1300px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-mark { display: none; }
.logo-name { font-size: 20px; font-weight: 900; color: var(--black); }
.logo-name em { color: var(--acc); font-style: normal; }
.logo-sub { font-size: 10px; color: var(--muted); display: block; }
.search-wrap { flex: 1; max-width: 580px; }
.search-box { display: flex; background: var(--white); border: 2px solid var(--gray2); border-radius: var(--r); overflow: hidden; transition: border-color var(--tr); }
.search-box:focus-within { border-color: var(--acc); }
.search-box i { color: var(--gray4); font-size: 14px; padding: 0 12px; flex-shrink: 0; align-self: center; }
.search-box input { flex: 1; border: none; outline: none; font-size: 14px; color: var(--text); padding: 10px 0; background: transparent; font-family: inherit; }
.search-box input::placeholder { color: var(--gray4); }
.search-cat { background: var(--gray1); border: none; border-left: 1px solid var(--gray2); font-size: 12px; color: var(--muted); padding: 0 12px; cursor: pointer; white-space: nowrap; font-family: inherit; }
.search-go { background: var(--acc); border: none; color: #fff; font-size: 14px; font-weight: 700; padding: 0 20px; cursor: pointer; transition: background var(--tr); font-family: inherit; }
.search-go:hover { background: #c0000f; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hact-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--tr); border: none; font-family: inherit; }
.hact-ghost { background: var(--gray1); color: var(--muted); border: 1px solid var(--gray2); }
.hact-ghost:hover { background: var(--gray2); color: var(--text); }
.hact-red { background: var(--acc); color: #fff; }
.hact-red:hover { background: #c0000f; }

/* ── CATEGORY NAV ── */
.catnav { background: var(--white); border-bottom: 1px solid var(--border); }
.catnav-inner { display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 16px; max-width: 1300px; margin: 0 auto; }
.catnav-inner::-webkit-scrollbar { display: none; }
.cnbtn { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border: none; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all var(--tr); font-family: inherit; flex-shrink: 0; }
.cnbtn:hover { color: var(--text); }
.cnbtn.active { color: var(--acc); border-bottom-color: var(--acc); }

/* ── LOGO ── */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-name { font-size: 19px; font-weight: 900; color: var(--black); letter-spacing: -.3px; display: block; line-height: 1.1; }
.logo-name em { color: var(--acc); font-style: normal; }
.logo-sub { font-size: 9px; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: .4px; font-weight: 600; margin-top: 1px; }
.footer-logo .logo-name { color: #fff; }

/* ── HERO ── */
.hero { background: #fff; padding: 44px 0 36px; margin-bottom: 0; border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(227,6,19,.1); border: 1px solid rgba(227,6,19,.25); color: var(--acc); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 14px; }
.hero-inner h1 { font-size: clamp(26px,3.5vw,42px); font-weight: 900; color: var(--black); line-height: 1.15; letter-spacing: -.5px; margin-bottom: 12px; }
.hero-inner h1 span { color: var(--acc); }
.hero-inner p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 22px; max-width: 420px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-btn-main { display: flex; align-items: center; gap: 8px; background: var(--acc); color: #fff; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: var(--r); border: none; cursor: pointer; transition: all var(--tr); font-family: inherit; }
.hero-btn-main:hover { background: #c0000f; transform: translateY(-1px); }
.hero-btn-out { display: flex; align-items: center; gap: 7px; background: transparent; color: var(--acc); border: 1.5px solid var(--acc); font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: var(--r); transition: all var(--tr); }
.hero-btn-out:hover { background: var(--acc); color: #fff; }
.hero-stats { display: flex; gap: 20px; }
.hstat { text-align: center; }
.hstat strong { display: block; font-size: 20px; font-weight: 900; color: var(--black); }
.hstat span { font-size: 11px; color: var(--muted); }
.hero-cards { display: flex; flex-direction: column; gap: 8px; }
.hcard { position: relative; border-radius: var(--rl); overflow: hidden; height: 90px; cursor: pointer; transition: transform var(--tr); }
.hcard:hover { transform: scale(1.02); }
.hcard img { width: 100%; height: 100%; object-fit: cover; }
.hcard-ov { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.8),transparent); display: flex; flex-direction: column; justify-content: center; padding: 0 14px; }
.hcard-ov span { font-size: 9px; color: rgba(255,255,255,.55); }
.hcard-ov strong { font-size: 13px; font-weight: 800; color: #fff; }
.hcard-ov em { font-size: 11px; color: #4cd964; font-style: normal; font-weight: 700; }

/* ── PARTNER BAR ── */
.partner-bar { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); margin-bottom: 20px; padding: 12px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; box-shadow: var(--sh); }
.partner-icon { font-size: 20px; color: var(--acc); flex-shrink: 0; }
.partner-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.partner-text span { font-size: 12px; color: var(--muted); }
.partner-link { display: flex; align-items: center; gap: 6px; background: var(--acc); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: var(--r); margin-left: auto; flex-shrink: 0; transition: background var(--tr); }
.partner-link:hover { background: #c0000f; }

/* ── PLAT BAR ── */
.plat-bar { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); margin-bottom: 20px; overflow: hidden; box-shadow: var(--sh); }
.plat-bar-inner { display: flex; overflow-x: auto; scrollbar-width: none; }
.plat-bar-inner::-webkit-scrollbar { display: none; }
.pbtn { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 82px; padding: 14px 8px; background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer; flex-shrink: 0; transition: all var(--tr); font-family: inherit; }
.pbtn:hover { background: var(--gray1); }
.pbtn.active { border-bottom-color: var(--acc); background: rgba(227,6,19,.04); }
.pbtn span { font-size: 9px; font-weight: 700; color: var(--gray4); letter-spacing: .4px; text-transform: uppercase; transition: color var(--tr); }
.pbtn:hover span, .pbtn.active span { color: var(--acc); }
.pbtn i, .pbtn svg { opacity: .75; transition: opacity var(--tr); flex-shrink: 0; display: block; }
.pbtn:hover i, .pbtn.active i, .pbtn:hover svg, .pbtn.active svg { opacity: 1; }

/* ── SECTION ── */
.section { margin-bottom: 28px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-title { font-size: 18px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; }
.sec-count { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.sec-link { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--acc); }
.sec-link:hover { text-decoration: underline; }
.sec-controls { display: flex; align-items: center; gap: 8px; }
.sort-sel { background: var(--white); border: 1px solid var(--gray2); color: var(--text); padding: 7px 28px 7px 10px; border-radius: var(--r); font-size: 13px; cursor: pointer; outline: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%238e8e93'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; font-family: inherit; transition: border-color var(--tr); box-shadow: var(--sh); }
.sort-sel:focus { border-color: var(--acc); }

/* ── DEALS GRID ── */
.deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 28px; }
.deal-tile { position: relative; border-radius: var(--rl); overflow: hidden; height: 110px; cursor: pointer; transition: transform var(--tr), box-shadow var(--tr); box-shadow: var(--sh); }
.deal-tile:hover { transform: translateY(-2px); box-shadow: var(--sh2); }
.deal-tile img, .deal-tile-bg { width: 100%; height: 100%; object-fit: cover; }
.deal-tile-bg { display: flex; align-items: center; justify-content: center; }
.deal-tile-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 60%, transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 12px; }
.deal-disc { display: inline-block; background: var(--green); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 4px; margin-bottom: 4px; width: fit-content; }
.deal-tile-ov strong { font-size: 12px; font-weight: 700; color: #fff; display: block; line-height: 1.2; }
.deal-tile-ov span { font-size: 10px; color: rgba(255,255,255,.6); }

/* ── PRODUCT GRID ── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 40px; opacity: .2; display: block; margin-bottom: 12px; }

/* ── PRODUCT CARD ── */
.pcard { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; display: flex; flex-direction: column; transition: all .18s ease; cursor: pointer; box-shadow: var(--sh); }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--sh2); border-color: var(--gray3); }
.pcard-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--gray1); flex-shrink: 0; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-img-bg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.pcard-img-bg i { font-size: 48px; opacity: .9; }
.pcard-img-bg span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.7); }
.pcard-disc { position: absolute; top: 7px; left: 7px; background: var(--acc); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 4px; z-index: 2; }
.pcard-plat-pin { position: absolute; top: 7px; right: 7px; background: rgba(255,255,255,.92); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.pcard-body { padding: 10px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pcard-meta { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; font-weight: 500; }
.pcard-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; gap: 6px; }
.pcard-price { font-size: 17px; font-weight: 900; color: var(--acc); }
.pcard-old { font-size: 10px; color: var(--gray4); text-decoration: line-through; display: block; margin-top: -2px; }
.buy-btn { display: inline-flex; align-items: center; gap: 5px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 6px; border: none; cursor: pointer; transition: all var(--tr); flex-shrink: 0; font-family: inherit; }
.buy-btn:hover { background: #c0000f; transform: scale(1.03); }

/* ── INFO CARDS ── */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 18px; box-shadow: var(--sh); }
.info-card-icon { font-size: 22px; color: var(--acc); width: 44px; height: 44px; background: rgba(227,6,19,.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.info-card h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.info-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 16px; box-shadow: var(--sh); }
.rev-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rev-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--acc); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0; }
.rev-name { font-size: 13px; font-weight: 700; color: var(--text); display: block; }
.rev-stars { color: var(--orange); font-size: 12px; }
.rev-check { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 4px; margin-left: auto; font-weight: 600; white-space: nowrap; }
.review-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.rev-date { font-size: 11px; color: var(--gray3); }

/* ── TRUST ── */
.trust-bar { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); margin-bottom: 28px; box-shadow: var(--sh); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 16px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 20px; color: var(--acc); width: 38px; height: 38px; background: rgba(227,6,19,.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item strong { font-size: 13px; font-weight: 700; color: var(--text); display: block; }
.trust-item span { font-size: 11px; color: var(--muted); }

/* ── FOOTER ── */
.footer { background: var(--black); color: rgba(255,255,255,.7); padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 10px; max-width: 250px; line-height: 1.7; }
.footer-logo .logo-mark { background: var(--acc); }
.footer-logo .logo-name { color: #fff; }
.footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.footer-socials a { width: 32px; height: 32px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 14px; transition: all var(--tr); }
.footer-socials a:hover { color: #fff; background: rgba(255,255,255,.15); }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.55); transition: color var(--tr); }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,.3); line-height: 1.7; margin-bottom: 14px; }
.aff-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(227,6,19,.15); border: 1px solid rgba(227,6,19,.3); color: #ff6b6b; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 50px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.footer-bottom-inner span { font-size: 11px; color: rgba(255,255,255,.25); }

/* ── TOAST ── */
.toast { position: fixed; bottom: 20px; right: 20px; background: var(--black); color: #fff; padding: 12px 18px; border-radius: var(--rl); font-size: 13px; font-weight: 600; z-index: 9999; display: flex; align-items: center; gap: 8px; transform: translateY(60px); opacity: 0; transition: all .25s ease; pointer-events: none; box-shadow: var(--sh2); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .info-grid { grid-template-columns: repeat(2, 1fr); } .trust-items { grid-template-columns: repeat(2, 1fr); } .trust-item { border-right: none; border-bottom: 1px solid var(--border); } .trust-item:last-child { border-bottom: none; } .footer-grid { grid-template-columns: 1fr 1fr; } .deals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .hero-inner { grid-template-columns: 1fr; } .hero-cards { display: none; } .prod-grid { grid-template-columns: repeat(2, 1fr); } .reviews-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } .header-actions .hact-btn span { display: none; } }
@media (max-width: 480px) { .prod-grid { grid-template-columns: 1fr; } .info-grid { grid-template-columns: 1fr; } .deals-grid { grid-template-columns: repeat(2, 1fr); } }


/* ════════════════════════════════════════════════
   DARK MODE
════════════════════════════════════════════════ */
html.dark {
  --white: #1c1c1e;
  --gray1: #141414;
  --gray2: #2c2c2e;
  --gray3: #3a3a3c;
  --gray4: #8e8e93;
  --gray5: #aeaeb2;
  --black: #0a0a0a;
  --text:  #f2f2f7;
  --muted: #aeaeb2;
  --border:#2c2c2e;
}
html.dark body { background: #141414; }
html.dark .header { background: #1c1c1e; }
html.dark .hero   { background: #1c1c1e; }
html.dark .pcard  { background: #2c2c2e; }
html.dark .search-box { background: #2c2c2e; border-color: #3a3a3c; }
html.dark .search-box input { color: #f2f2f7; }
html.dark .search-box input::placeholder { color: #636366; }
html.dark .search-cat { background: #3a3a3c; color: #aeaeb2; border-left-color: #3a3a3c; }
html.dark .sort-sel { background: #2c2c2e; border-color: #3a3a3c; color: #f2f2f7; }
html.dark .partner-bar,
html.dark .plat-bar,
html.dark .info-card,
html.dark .review-card,
html.dark .trust-bar { background: #2c2c2e; border-color: #3a3a3c; }
html.dark .pbtn:hover { background: #3a3a3c; }
html.dark .hact-ghost { background: #2c2c2e; border-color: #3a3a3c; color: #aeaeb2; }
html.dark .hact-ghost:hover { background: #3a3a3c; color: #f2f2f7; }
html.dark .logo-name { color: #f2f2f7; }
html.dark .pcard-plat-pin { background: rgba(44,44,46,.92); }
html.dark .modal-box { background: #2c2c2e; border-color: #3a3a3c; }
html.dark .modal-header { border-bottom-color: #3a3a3c; }
html.dark .modal-footer { border-top-color: #3a3a3c; }
html.dark .cmp-table th { background: #3a3a3c; }
html.dark .cmp-table td { border-color: #3a3a3c; }
html.dark .price-filter-bar { background: #2c2c2e; border-color: #3a3a3c; }
html.dark .filter-bar { background: #2c2c2e; border-color: #3a3a3c; }
html.dark input[type="range"]::-webkit-slider-track { background: #3a3a3c; }
html.dark .modal-input { background: #3a3a3c; border-color: #4a4a4c; color: #f2f2f7; }

/* ── Dark Mode Toggle Button ── */
.dark-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gray2);
  background: var(--gray1);
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
  flex-shrink: 0;
}
.dark-toggle:hover { background: var(--gray2); color: var(--text); }

/* ════════════════════════════════════════════════
   PCARD ACTION BUTTONS (Wish / Compare / Alert)
════════════════════════════════════════════════ */
.pcard-actions {
  position: absolute; top: 7px; left: 7px;
  display: flex; flex-direction: column; gap: 5px;
  opacity: 0; transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 3;
}
.pcard:hover .pcard-actions { opacity: 1; transform: translateX(0); }
.pcard-wish, .pcard-cmp, .pcard-bell {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: #636366;
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
html.dark .pcard-wish,
html.dark .pcard-cmp,
html.dark .pcard-bell { background: rgba(44,44,46,.95); color: #aeaeb2; }
.pcard-wish:hover  { background: #fff0f1; color: #e30613; transform: scale(1.12); }
.pcard-cmp:hover   { background: #f0f4ff; color: #0071e3; transform: scale(1.12); }
.pcard-bell:hover  { background: #fff8e6; color: #ff9500; transform: scale(1.12); }
.pcard-wish.active  { background: #fff0f1; color: #e30613; }
.pcard-cmp.active   { background: #e8f0fe; color: #0071e3; }
.pcard-bell.active  { background: #fff8e6; color: #ff9500; }
.pcard.in-compare   { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ── NEW Badge ── */
.pcard-new-badge {
  position: absolute; bottom: 7px; left: 7px;
  background: linear-gradient(135deg,#ff9500,#ff6b00);
  color: #fff; font-size: 9px; font-weight: 800;
  padding: 2px 7px; border-radius: 4px; z-index: 2;
  letter-spacing: .4px;
}
/* ── Alert Badge ── */
.pcard-alert-badge {
  position: absolute; bottom: 7px; right: 7px;
  background: rgba(255,149,0,.15); border: 1px solid rgba(255,149,0,.4);
  color: #ff9500; font-size: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}

/* ════════════════════════════════════════════════
   FILTER BAR (Price Slider + Sort)
════════════════════════════════════════════════ */
.filter-bar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 12px 16px;
  margin-bottom: 14px; display: flex; align-items: center;
  gap: 20px; flex-wrap: wrap; box-shadow: var(--sh);
}
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-label { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.price-slider-wrap { display: flex; align-items: center; gap: 10px; }
.price-val { font-size: 13px; font-weight: 700; color: var(--acc); min-width: 80px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 160px; height: 4px;
  border-radius: 2px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--acc) 0%, var(--acc) 100%, var(--gray2) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px;
  border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 0 3px rgba(227,6,19,.18);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-track { height: 4px; border-radius: 2px; background: var(--gray2); }
.filter-sep { width: 1px; height: 24px; background: var(--border); }
.wish-btn-header {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 13px; background: var(--gray1);
  border: 1px solid var(--gray2); border-radius: var(--r);
  font-size: 13px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all var(--tr); position: relative;
  white-space: nowrap;
}
.wish-btn-header:hover { background: #fff0f1; color: #e30613; border-color: #e30613; }
.wish-btn-header i { color: #e30613; }
.wish-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--acc); color: #fff;
  font-size: 10px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: none; align-items: center; justify-content: center;
  padding: 0 4px;
}


/* ════════════════════════════════════════════════
   MODALS (shared base)
════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; width: 100%; max-width: 560px;
  max-height: 85vh; display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  transform: scale(.96) translateY(8px);
  transition: transform .2s ease;
  overflow: hidden;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-box.modal-wide { max-width: 860px; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-header h3 { font-size: 17px; font-weight: 800; color: var(--text); }
.modal-close {
  width: 30px; height: 30px; border-radius: 50%;
  border: none; background: var(--gray1); color: var(--muted);
  font-size: 14px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: all var(--tr);
}
.modal-close:hover { background: var(--gray2); color: var(--text); }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 14px 20px; border-top: 1px solid var(--border);
  display: flex; gap: 10px; justify-content: flex-end; flex-shrink: 0;
}
.modal-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.modal-empty i { font-size: 36px; opacity: .2; display: block; margin-bottom: 10px; }
.modal-prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 12px; }

/* Modal Inputs */
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .3px; }
.modal-input {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--gray2); border-radius: var(--r);
  font-size: 14px; color: var(--text); background: var(--white);
  font-family: inherit; outline: none; transition: border-color var(--tr);
}
.modal-input:focus { border-color: var(--acc); }
.modal-product-info {
  background: var(--gray1); border-radius: var(--r); padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.modal-product-info i { color: var(--acc); font-size: 18px; }
.modal-product-info strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.modal-product-info span  { font-size: 12px; color: var(--muted); }

/* Buttons in modals */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; background: var(--acc); color: #fff;
  border: none; border-radius: var(--r); font-size: 14px;
  font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background var(--tr);
}
.btn-primary:hover { background: #c0000f; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: var(--gray1);
  border: 1px solid var(--gray2); color: var(--muted);
  border-radius: var(--r); font-size: 14px;
  font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all var(--tr);
}
.btn-ghost:hover { background: var(--gray2); color: var(--text); }

/* ════════════════════════════════════════════════
   COMPARE MODAL TABLE
════════════════════════════════════════════════ */
.cmp-table-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-table th {
  background: var(--gray1); text-align: left;
  padding: 10px 14px; font-size: 11px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .3px;
  white-space: nowrap; border-bottom: 1px solid var(--border);
  min-width: 110px;
}
.cmp-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  vertical-align: middle; min-width: 160px;
}
.cmp-table td:first-child { display: none; }
.cmp-table th:first-child { min-width: 90px; }
.cmp-table tr:last-child td { border-bottom: none; }

/* ════════════════════════════════════════════════
   COMPARE BAR (floating bottom)
════════════════════════════════════════════════ */
#compareBar {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  z-index: 8000; transition: bottom .3s cubic-bezier(.34,1.56,.64,1);
  width: calc(100% - 32px); max-width: 860px;
}
#compareBar.visible { bottom: 16px; }
.cbar-inner {
  background: var(--black); border-radius: 14px;
  padding: 12px 16px; display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap; box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.cbar-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.cbar-label i { color: var(--blue); }
.cbar-item {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border-radius: 8px;
  padding: 5px 8px 5px 10px; font-size: 12px; color: #fff; font-weight: 600;
}
.cbar-item button {
  background: none; border: none; color: rgba(255,255,255,.5);
  cursor: pointer; font-size: 11px; line-height: 1; padding: 0 1px;
  transition: color var(--tr);
}
.cbar-item button:hover { color: #fff; }
.cbar-go {
  display: flex; align-items: center; gap: 7px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 8px; padding: 8px 16px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background var(--tr); margin-left: auto;
}
.cbar-go:hover { background: #0060c7; }
.cbar-clear {
  background: none; border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.4); border-radius: 8px; padding: 7px 12px;
  font-size: 12px; cursor: pointer; font-family: inherit;
  transition: all var(--tr);
}
.cbar-clear:hover { color: #fff; border-color: rgba(255,255,255,.35); }

/* ════════════════════════════════════════════════
   SORT + FILTER ROW additional options
════════════════════════════════════════════════ */
.sec-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ── Responsive additions ── */
@media (max-width: 768px) {
  input[type="range"] { width: 110px; }
  .filter-bar { gap: 12px; }
  .cbar-inner { flex-direction: column; align-items: flex-start; }
  .cbar-go { margin-left: 0; }
  .modal-box.modal-wide { max-width: 100%; }
}
@media (max-width: 480px) {
  .pcard-actions { opacity: 1; transform: none; }
}


/* ════════════════════════════════════════════════
   TRENDING TICKER
════════════════════════════════════════════════ */
.ticker-wrap {
  background: var(--black); color: rgba(255,255,255,.85);
  display: flex; align-items: center; overflow: hidden;
  height: 34px; font-size: 12px; font-weight: 600;
}
.ticker-label {
  background: var(--acc); color: #fff; padding: 0 14px;
  height: 100%; display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  flex-shrink: 0; white-space: nowrap; z-index: 2;
}
.ticker-track { flex: 1; overflow: hidden; position: relative; }
.ticker-inner {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-wrap:hover .ticker-inner { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tick-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 18px;
}
.tick-disc {
  background: var(--green); color: #fff; font-size: 10px;
  font-weight: 800; padding: 1px 6px; border-radius: 3px;
}
.tick-name { color: rgba(255,255,255,.9); }
.tick-price { color: var(--acc); font-weight: 800; }
.tick-sep { color: rgba(255,255,255,.2); padding: 0 4px; font-size: 16px; }

/* ════════════════════════════════════════════════
   FLASH DEAL BANNER
════════════════════════════════════════════════ */
.flash-banner {
  background: linear-gradient(135deg, #1a0a00, #3d0f00);
  border-bottom: 2px solid var(--acc);
}
.flash-inner {
  max-width: 1300px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.flash-badge {
  background: var(--acc); color: #fff; font-size: 10px;
  font-weight: 800; padding: 3px 10px; border-radius: 4px;
  letter-spacing: .4px; flex-shrink: 0; white-space: nowrap;
}
.flash-text { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; }
.flash-text strong { color: #fff; }
.flash-timer {
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.ftime {
  background: rgba(255,255,255,.1); border-radius: 6px;
  padding: 4px 8px; text-align: center; min-width: 44px;
}
.ftime span { font-size: 18px; font-weight: 900; color: #fff; display: block; line-height: 1; }
.ftime em { font-size: 9px; color: rgba(255,255,255,.5); font-style: normal; letter-spacing: .3px; }
.fsep { color: rgba(255,255,255,.4); font-size: 18px; font-weight: 700; }
.flash-btn {
  background: var(--acc); color: #fff; font-weight: 700;
  font-size: 13px; padding: 7px 16px; border-radius: 7px;
  white-space: nowrap; transition: background var(--tr); flex-shrink: 0;
}
.flash-btn:hover { background: #c0000f; }
.flash-close {
  background: none; border: none; color: rgba(255,255,255,.4);
  font-size: 16px; cursor: pointer; margin-left: auto;
  transition: color var(--tr); flex-shrink: 0;
}
.flash-close:hover { color: #fff; }

/* ════════════════════════════════════════════════
   LANGUAGE TOGGLE
════════════════════════════════════════════════ */
.lang-toggle {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); border-radius: 6px;
  padding: 3px 10px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all var(--tr); font-family: inherit;
}
.lang-toggle:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ════════════════════════════════════════════════
   SOCIAL PROOF
════════════════════════════════════════════════ */
.social-proof {
  font-size: 11px; color: var(--green); font-weight: 600;
  display: flex; align-items: center; gap: 4px; margin: 3px 0;
}
.social-proof i { font-size: 10px; }

/* ════════════════════════════════════════════════
   CLICK TRACKER BAR
════════════════════════════════════════════════ */
.tracker-bar {
  display: none; align-items: center; gap: 8px;
  background: rgba(0,113,227,.08); border: 1px solid rgba(0,113,227,.2);
  border-radius: var(--r); padding: 10px 16px;
  font-size: 13px; color: var(--blue); margin-bottom: 20px;
  flex-wrap: wrap;
}
.tracker-bar i { color: var(--blue); }
.tracker-bar strong { font-weight: 800; }
.tracker-sep { color: var(--border); }
html.dark .tracker-bar { background: rgba(0,113,227,.12); border-color: rgba(0,113,227,.3); }

/* ════════════════════════════════════════════════
   NEWSLETTER POPUP HERO
════════════════════════════════════════════════ */
.nl-popup-hero {
  background: linear-gradient(135deg,#e30613,#ff6b35);
  height: 80px; display: flex; align-items: center;
  justify-content: center; position: relative; border-radius: 16px 16px 0 0;
}
.nl-popup-icon {
  font-size: 36px; color: rgba(255,255,255,.9);
}

/* ════════════════════════════════════════════════
   RESPONSIVE ADDITIONS
════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .flash-inner { gap: 10px; }
  .flash-text  { font-size: 12px; }
  .flash-timer { order: 3; }
  .ticker-label { font-size: 10px; padding: 0 10px; }
}
@media (max-width: 480px) {
  .flash-banner { display: none; }
}

/* ════════════════════════════════════════════════
   LOGO ICON FIX
════════════════════════════════════════════════ */
.logo-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { display: block; width: 42px; height: 42px; }

/* ════════════════════════════════════════════════
   CATEGORY NAV FIX – nie abschneiden
════════════════════════════════════════════════ */
.catnav-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gray3) transparent;
  padding: 0 8px;
  gap: 2px;
  -webkit-overflow-scrolling: touch;
}
.catnav-inner::-webkit-scrollbar { height: 3px; }
.catnav-inner::-webkit-scrollbar-track { background: transparent; }
.catnav-inner::-webkit-scrollbar-thumb { background: var(--gray3); border-radius: 3px; }
.cnbtn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 12px;
  font-size: 12px;
}

/* ════════════════════════════════════════════════
   RABATTCODE SEKTION
════════════════════════════════════════════════ */
.coupon-section {
  background: linear-gradient(135deg, #1a0005, #2d000a);
  border-radius: var(--rl); padding: 28px;
  margin-bottom: 28px; position: relative; overflow: hidden;
}
.coupon-section::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(227,6,19,.15); pointer-events: none;
}
.coupon-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.coupon-header-icon {
  width: 48px; height: 48px; background: rgba(227,6,19,.2);
  border: 1px solid rgba(227,6,19,.4); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #ff6b6b; flex-shrink: 0;
}
.coupon-header h2 { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 3px; }
.coupon-header p  { font-size: 13px; color: rgba(255,255,255,.5); }
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 12px; }
.coupon-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  transition: all var(--tr); cursor: default;
}
.coupon-card:hover { background: rgba(255,255,255,.1); border-color: rgba(227,6,19,.4); transform: translateY(-2px); }
.coupon-top { display: flex; align-items: center; justify-content: space-between; }
.coupon-badge {
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 50px;
  letter-spacing: .3px;
}
.coupon-badge.hot  { background: rgba(255,59,48,.2);  color: #ff6b6b; border: 1px solid rgba(255,59,48,.3); }
.coupon-badge.new  { background: rgba(52,199,89,.2);  color: #4cd964; border: 1px solid rgba(52,199,89,.3); }
.coupon-badge.sale { background: rgba(255,149,0,.2);  color: #ffb340; border: 1px solid rgba(255,149,0,.3); }
.coupon-badge.vip  { background: rgba(94,92,230,.2);  color: #a78bfa; border: 1px solid rgba(94,92,230,.3); }
.coupon-discount { font-size: 28px; font-weight: 900; color: #fff; line-height: 1; }
.coupon-discount span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5); margin-left: 4px; }
.coupon-desc { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }
.coupon-code-wrap { display: flex; align-items: center; gap: 8px; }
.coupon-code {
  flex: 1; background: rgba(0,0,0,.3); border: 1px dashed rgba(255,255,255,.2);
  border-radius: 8px; padding: 8px 12px; font-family: 'Courier New', monospace;
  font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 1px;
  user-select: all; text-align: center;
}
.coupon-copy {
  background: var(--acc); color: #fff; border: none; border-radius: 8px;
  padding: 8px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: all var(--tr); white-space: nowrap; font-family: inherit;
  display: flex; align-items: center; gap: 5px;
}
.coupon-copy:hover { background: #c0000f; transform: scale(1.04); }
.coupon-copy.copied { background: var(--green); }
.coupon-expiry { font-size: 11px; color: rgba(255,255,255,.35); display: flex; align-items: center; gap: 5px; }
@media (max-width: 768px) { .coupon-grid { grid-template-columns: 1fr; } }
