/* --- STYL WEBU --- */
:root {
    --primary-purple: #8A2BE2;
    --dark-bg: #0b0118;
    --text-color: #ffffff;
    --main-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --main-gradient: linear-gradient(135deg, var(--primary-purple) 0%, #4B0082 100%);
    --nav-bg: rgba(138, 43, 226, 0.15);
    --footer-bg: #05010d;
    --panel-border: rgba(138, 43, 226, 0.3);
    --card-bg: #0f0f0f;
    --agent-accent: var(--primary-purple);
    --agent-gradient: var(--main-gradient);
    --agent-cta-bg: #ffffff;
    --agent-cta-text: #000000;
    --agent-glow: rgba(138, 43, 226, 0.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--main-font);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    overflow-x: hidden;
    background: #10021f;
} 

/* Chrome, Safari, Edge */
::-webkit-scrollbar {
    display: none;
}

/* Firefox */
html {
    scrollbar-width: none;
}

/* IE/old Edge */
body {
    -ms-overflow-style: none;
}

.content-area {
    flex: 1;
    padding-top: 110px;
}

/* --- PRODUCT CARDS SECTION --- */
.products-container{
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 20px;
}

.products-container-favorite{
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px 20px;
}

.products-container-favorite-grid {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px 20px;
  margin-bottom: 25px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.product-card {
    background:
      linear-gradient(180deg, rgba(31,12,49,0.98), rgba(18,5,30,0.99));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(183,116,255,0.12);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.28s transform ease, 0.28s border-color ease, 0.28s box-shadow ease;
    display: flex;
    flex-direction: column;
    margin-top: -20px;
    box-shadow:
      0 18px 44px rgba(0,0,0,0.22),
      inset 0 1px 0 rgba(255,255,255,0.055);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(202,147,255,0.22);
    box-shadow:
      0 24px 58px rgba(0,0,0,0.3),
      0 0 28px rgba(138,43,226,0.1),
      inset 0 1px 0 rgba(255,255,255,0.075);
}

.product-image {
    width: 100%;
    aspect-ratio: 5/4;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background:
      radial-gradient(circle at 82% 18%, rgba(174,86,255,0.24), transparent 34%),
      linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
      linear-gradient(180deg, rgba(28, 9, 47, 0.96), rgba(13, 4, 23, 0.99));
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.055);
}

.product-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(15,4,26,0.46));
    z-index: 1;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    padding: 10px;
    position: relative;
    z-index: 0;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.018);
    filter: saturate(1.04) contrast(1.02);
}

.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    color: rgba(255,255,255,0.92);
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.product-rating-star {
    color: #ffd000;
    font-size: 0.95rem;
    line-height: 1;
}

.product-rating-count {
    color: rgba(255,255,255,0.48);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-info {
    position: relative;
    padding: 20px 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 13px;

    background:
      radial-gradient(circle at 88% 0%, rgba(138,43,226,0.13), transparent 34%),
      rgba(255, 255, 255, 0.035);
   
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      inset 0 -1px 0 rgba(255,255,255,0.025);
}

.product-info::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.075),
      rgba(255,255,255,0.015) 45%,
      rgba(138,43,226,0.035)
    );

    opacity: 0.75;
}

.product-info > * {
    position: relative;
    z-index: 1;
}

.product-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 7px;
}

.meta-tag {
    display: inline-block;
    padding: 6px 11px;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.045);
    border-radius: 999px;
    transition: 0.3s ease;
    white-space: nowrap;
}

.meta-tag.type {
    color: rgba(255, 255, 255, 0.6);
}

.meta-tag.brand {
    color: rgba(255, 255, 255, 0.6);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-title {
    color: rgba(255,255,255,0.95);
    font-size: 1.14rem;
    font-weight: 850;
    height: 2.5em; 
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.product-stats {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    z-index: 2;
}

.product-stat {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 21px;
    padding: 4px 7px;
    border: 1px solid rgba(206,157,255,0.24);
    border-radius: 999px;
    background:
      linear-gradient(135deg, rgba(38,16,62,0.88), rgba(93,36,145,0.76));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.16),
      0 8px 18px rgba(20,5,35,0.28),
      0 0 14px rgba(138,43,226,0.12);
}

.product-stat:hover {
    border-color: rgba(226,195,255,0.42);
    background:
      linear-gradient(135deg, rgba(51,20,82,0.92), rgba(122,48,185,0.82));
}

.product-stat::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 0;
    top: calc(100% + 7px);
    width: max-content;
    max-width: 160px;
    padding: 6px 8px;
    border-radius: 7px;
    background:
      linear-gradient(135deg, rgba(42, 14, 68, 0.96), rgba(92, 35, 145, 0.94));
    border: 1px solid rgba(224, 191, 255, 0.22);
    color: rgba(255,255,255,0.94);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.14),
      0 12px 24px rgba(26, 5, 45, 0.34),
      0 0 18px rgba(138, 43, 226, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 10;
}

.product-stat:hover::after,
.product-stat:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.product-stat-icon {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    display: block;
    fill: none;
    stroke: rgba(237,224,255,0.9);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-stat-value {
    min-width: 0;
    flex: 0 0 auto;
    color: rgba(252,249,255,0.96);
    font-size: 0.63rem;
    font-weight: 900;
    line-height: 1;
    overflow: visible;
    white-space: nowrap;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -3px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.product-price {
    font-size: 1.32rem;
    font-weight: 950;
    color: #28ff52;
    margin-top: 0;
    text-shadow: 0 0 18px rgba(40,255,82,0.18);
}

.btn-view-full {
    display: block;
    width: 100%;
    background: var(--main-gradient);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    border-radius: 13px;
    padding: 14px 16px;
    font-size: 0.95rem;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.16),
      0 12px 24px rgba(138,43,226,0.22);
}

.btn-view-full:hover {
    transform: translateY(-2px);
}

:root {
  --site-width: 1480px;
  --site-side-gap: 40px;
}

.vault-hero,
.products-container {
  width: min(var(--site-width), calc(100% - var(--site-side-gap)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.products-container {
  padding: 40px 0;
}

.finds-stats-hero {
  width: min(var(--site-width), calc(100% - var(--site-side-gap)));
  margin: 0 auto 22px;
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.024)),
    radial-gradient(circle at 82% 18%, rgba(138,43,226,0.26), transparent 34%),
    linear-gradient(180deg, rgba(28, 9, 47, 0.94), rgba(12, 4, 22, 0.98));
  box-shadow: 0 22px 58px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}

.finds-stats-hero::before {
  content: "";
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.30;
}

.finds-stats-copy,
.finds-stats-grid {
  position: relative;
  z-index: 1;
}

.finds-stats-kicker {
  display: block;
  margin-bottom: 10px;
  color: #c084fc;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.finds-status-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.finds-status-kicker[data-status="loading"] {
  color: #facc15;
}

.finds-status-kicker[data-status="loading"] .vault-live-dot {
  background: #facc15;
  box-shadow: 0 0 10px rgba(250,204,21,0.62);
}

.finds-status-kicker[data-status="offline"] {
  color: #fecaca;
}

.finds-status-kicker[data-status="offline"] .vault-live-dot {
  background: #ff2d2d;
  box-shadow: 0 0 12px rgba(255,45,45,0.72);
}

.finds-stats-copy h1 {
  margin: 0;
  max-width: 620px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 950;
}

.finds-stats-copy p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 650;
}

.finds-hero-search {
  width: min(100%, 640px);
  height: 56px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(4,0,10,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.42);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.finds-hero-search.is-loading {
  pointer-events: none;
  opacity: 0.86;
}

.finds-hero-search:focus-within {
  border-color: rgba(168,85,247,0.72);
  box-shadow: 0 0 0 4px rgba(138,43,226,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
  color: #c084fc;
}

.finds-hero-search-icon {
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
}

.finds-hero-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
}

.finds-hero-search input::placeholder {
  color: rgba(255,255,255,0.34);
}

.finds-hero-search input::-webkit-search-cancel-button,
.finds-hero-search input::-webkit-search-decoration {
  appearance: none;
  -webkit-appearance: none;
}

.finds-hero-search-clear {
  width: 34px;
  height: 34px;
  display: none;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  font-weight: 950;
  line-height: 1;
}

.finds-hero-search-clear:hover {
  background: rgba(138,43,226,0.22);
  color: #fff;
}

.finds-hero-search-loader {
  width: 20px;
  height: 20px;
  display: none;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  border-top-color: #c084fc;
  animation: finds-hero-spin 0.72s linear infinite;
}

.finds-hero-search.is-loading .finds-hero-search-loader {
  display: inline-block;
}

.finds-hero-search-submit {
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.055);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.finds-hero-search-submit svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.finds-hero-search-submit:hover {
  color: #fff;
  border-color: rgba(181,108,255,.36);
  background: rgba(138,43,226,.14);
  transform: translateY(-1px);
}
.finds-hero-search-submit:focus-visible { outline: 2px solid rgba(181,108,255,.7); outline-offset: 2px; }
body.light-theme .finds-hero-search-submit { color: rgba(33,21,45,.68); border-color: rgba(92,35,137,.13); background: rgba(92,35,137,.055); box-shadow: none; }
body.light-theme .finds-hero-search-submit:hover { color: #7620bf; border-color: rgba(138,43,226,.3); background: rgba(138,43,226,.1); }

@keyframes finds-hero-spin {
  to { transform: rotate(360deg); }
}

.finds-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.finds-stat-card {
  min-width: 0;
  min-height: 132px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.085);
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.finds-stat-label {
  color: rgba(255,255,255,0.52);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finds-stat-card strong {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.finds-stat-card small {
  margin-top: 8px;
  color: rgba(255,255,255,0.48);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .finds-stats-hero {
    grid-template-columns: 1fr;
  }

  .finds-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .finds-stats-hero {
    width: calc(100% - 24px);
    margin-bottom: 16px;
    padding: 22px;
    border-radius: 20px;
  }

  .finds-stats-grid {
    grid-template-columns: 1fr;
  }

  .finds-stat-card {
    min-height: 108px;
  }
}

/* --- NAVBAR --- */
.nav-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    max-width: 1480px; 
    height: 70px;

    background:
      linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.024)),
      radial-gradient(circle at 82% 18%, rgba(138,43,226,0.26), transparent 34%),
      linear-gradient(180deg, rgba(28, 9, 47, 0.94), rgba(12, 4, 22, 0.98));

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 0 40px; 
    z-index: 1000;
    margin-top: 20px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    overflow: visible;
    isolation: isolate;
}

.nav-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;

    background:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);

    background-size: 42px 42px;
    display: none;
}

.nav-logo { 
    flex: 1; 
    display: flex; 
    align-items: center; 
}

.logo-text {
    font-weight: 900;
    font-size: 1.8rem; 
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    white-space: nowrap;
}
.logo-text span { 
  color: var(--primary-purple); 
}

.nav-menu { 
    flex: 2;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 15px;
    margin-left: 90px;
}

.nav-link { 
    color: rgba(255, 255, 255, 0.7); 
    font-weight: 600;
    font-size: 0.95rem; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none; 
    padding: 10px 18px; 
    border-radius: 12px; 
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    white-space: nowrap;
}

.nav-link:hover { 
    color: rgb(255, 255, 255); 
    background: rgba(138, 43, 226, 0.2);
}

.nav-link.active { 
    background: var(--main-gradient);
    color: white; 
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.nav-actions{
    flex: 1;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap: 1px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 15px;
}

.mobile-menu-btn span { 
    width: 25px; 
    height: 3px; 
    background: white; 
    border-radius: 3px; 
}

/* --- NAVBAR RESPONZIVITA --- */
@media (max-width: 992px) {
    .nav-container { padding: 0 25px; }
    .mobile-menu-btn { display: flex; order: 3; }
    .nav-menu {
        position: absolute; 
        top: 80px; 
        right: 20px;
        width: 250px; 
        background: rgba(11, 1, 24, 0.98);
        flex-direction: column; 
        padding: 30px; 
        border-radius: 20px;
        transform: translateX(150%); 
        transition: 0.4s;
        border: 1px solid var(--panel-border);
    }
    .nav-menu.open { transform: translateX(0); }
}

/* FOOTER */
.footer-main {
    padding: 40px 20px 40px 20px;
    width: 100%;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-main-favorite {
    padding: 40px 20px 60px px;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-wrapper {
    max-width: 1480px;
    margin: 0 auto;
}

.footer-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 40px 0 0 0;
    box-shadow: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-text {
    font-size: 1.8rem; 
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -1.5px;
}
.footer-logo-text span { color: var(--primary-purple); }

.footer-description { 
    color: #ffffff; 
    font-size: 0.85rem; 
    line-height: 1.8; 
    margin-bottom: 30px; 
    max-width: 400px; 
}

.footer-cta { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-transform: uppercase;
}

.btn-kakobuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    padding: 12px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-transform: uppercase;
}

.btn-discord:hover {
    box-shadow: 0 0 20px 5px #5865F2;
  transform: translateY(-3px);
}

.btn-kakobuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.footer-label {
    background: var(--main-gradient);
    color: #ffffff;
    display: inline-block;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-links { list-style: none; padding: 0; }
.link-item { 
    color: #ffffff; 
    text-decoration: none; 
    font-size: 0.85rem; 
    line-height: 2.5; 
    transition: 0.2s; 
}
.link-item:hover { color: var(--primary-purple); transform: translateX(5px); }

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

.legal-copyright { 
    color: #ffffff; 
    font-size: 0.7rem; 
    font-weight: 700; 
    text-transform: uppercase; 
}

.legal-links { 
    display: flex; 
    gap: 40px; 
}

.legal-item { 
    color: var(--primary-purple);
    font-size: 0.7rem; 
    font-weight: 700; 
    text-decoration: none; 
    text-transform: uppercase;
    transition: 0.2s; 
    display: inline-block; 
}

.legal-item:hover { 
    color: var(--primary-purple); 
    transform: translateX(5px); 
}

/* --- SETTINGS DROPDOWN --- */

.settings-header {
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.9rem;
    color: #eee;
}

.settings-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 8px 0;
}

.item-icon-box, .option-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 30px;
}

.close-modal { 
  position: fixed;
  top: 25px;
  right: 70px; 
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  border-radius: 16px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
  transition: .24s ease;
  display: flex;
align-items: center;
justify-content: center;
}

.close-modal:hover {
  transform: translateY(-2px);
  background: rgba(138,43,226,0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(138,43,226,0.22);
}

.modal-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Změna modalu na Fullscreen */
.modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0; 
    top: 0;
    width: 100%; height: 100%;
    overflow-y: auto;
}

.modal-content-full{
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* 🔥 víc místa nahoře kvůli navbaru */
  padding: 200px 40px 60px;
}

.modal-container {
    margin: 0 auto;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
}

.modal-image-wrapper {
    background: #050505;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.modal-image-wrapper img {
    max-width: 100%;
    height: auto;
}

/* SPLIT BUTTON & DROPDOWN DOLŮ */

.btn-order-main {
    gap: 5px;
    flex: 1;
    background: white;
    color: black;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border-radius: 12px 0 0 12px;
    font-size: 1.1rem;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* PRAVÁ STRANA INFO */
.modal-price-large {
    font-size: 3.5rem;
    font-weight: 900;
    color: #00ff26;
    padding-top: 10px;
}

#modal-title {
    font-size: 3.2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.spec-label { 
  color: #888;
  font-size: 0.75rem; 
  text-transform: uppercase; 
}

.spec-value { 
  font-weight: 700; 
  margin-top: 5px; 
}

/* MOBILNÍ VERZE */
@media (max-width: 768px) {
    .modal-container { grid-template-columns: 1fr; gap: 22px; }
    .modal-content-full { padding: 86px 14px 28px; }

    .spec-info::after {
      max-width: min(220px, 72vw);
    }

    .spec-popover {
      width: min(258px, 78vw);
      right: 8px;
    }
}

.settings-label {
    padding: 10px 10px 5px 10px;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 800;
}

/* Boxy pro aktuální výběr */
.selection-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    margin: 5px 10px;
    height: 45px; /* Sjednocená výška */
}

.selection-box:hover {
    background: rgba(188, 188, 188, 0.1);
}

.selection-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Skrytý seznam, který se ukáže po kliku */
.collapsible-list {
    font-weight: 400;
    display: none; /* Skryté v základu */
    flex-direction: column;
    gap: 2px;
    margin-top: 5px;
    padding: 0 5px;
}

.collapsible-list.active {
    display: flex;
}

.arrow-icon {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    transition: transform 0.1s;
}

.selection-box.open .arrow-icon {
    transform: rotate(90deg);
}

.agent-icon-small, .option-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.05);
    margin: 0;
}

/* Aby měny v seznamu vypadaly dobře */
.currency-option-item {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 600;
    font-size: 15px;
}

.currency-option-item:hover {
    background: rgba(188, 188, 188, 0.1);
    color: rgb(255, 255, 255);
    transform: translate(-5px);
}

.option-icon {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1;
    text-align: center;
}

.agent-icon-small {
    padding: 6px;
}

.selected-preference {
    font-size: 15px;
    font-weight: 500;
}

.list-symbol {
    font-size: 1.3rem !important;   
    font-weight: 800 !important;     
    color: #ffffff !important;        
    min-width: 25px; 
    display: inline-block;
    text-align: center;
    margin-right: 10px;
    background: rgba(188, 188, 188, 0.1);
    border-radius: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 8px;
    padding-right: 8px;
}

.list-label {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 400; 
}

.selected-preference-currency {
    font-size: 15px;
    font-weight: 500;
    margin-left: -10px;
}

/* === AGENT BUTTON COLORS === */

.btn-order-main.agent-kakobuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-kakobuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-litbuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-litbuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-oopbuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-oopbuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-mulebuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-mulebuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-acbuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-acbuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
    transform: translateY(-3px);
}

.btn-order-main.agent-joyagoo {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-joyagoo:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-loongbuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-loongbuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-superbuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-superbuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-allchinabuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-allchinabuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-itaobuy {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-itaobuy:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-usfans {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-usfans:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main.agent-sugargoo {
    background: var(--agent-cta-bg);
    color: var(--agent-cta-text);
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn-order-main.agent-sugargoo:hover {
    box-shadow: 0 0 20px 5px var(--agent-glow);
  transform: translateY(-3px);
}

.btn-order-main {
    width: 100%;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-btn-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.order-agent-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    padding: 6px;
}

.order-btn-text {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    min-width: 0;
}

/* === MODAL BUTTONS UPDATE === */
.order-buttons-wrapper {
    display: flex;
    gap: 12px;
    width: 100%;
    align-items: stretch;
}

/* Hlavní tlačítko agenta */
#modal-order-btn {
    flex: 1;
    height: 64px;
    padding: 0 22px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}

/* Tlačítko s ikonou (původní Open Link) */


/* Styl ikony uvnitř tlačítka */
.direct-link-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.product-actions {
    width: 100%;
    position: relative;
    padding-top: 2px;
}

/* jemný rozdělovák */
.product-actions::before {
    content: none;
}

.modal-meta{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* použijeme stejný meta-tag styl jako na kartách */
.modal-meta .meta-tag{
    font-size: 1rem;
    padding: 7px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
}

.modal-options{
  margin-top: 18px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(138,43,226,0.24);
}

.modal-option-group + .modal-option-group{
  margin-top: 16px;
}

.modal-option-group.is-collapsible{
  position: relative;
}

.modal-option-title{
  margin-bottom: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-option-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-option-list.is-collapsed{
  overflow: hidden;
  max-height: var(--collapsed-option-height, 40px);
}

.modal-option-toggle{
  margin-top: 10px;
  border: 1px solid rgba(138,43,226,0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(138,43,226,0.16), rgba(75,0,130,0.12)),
    rgba(18, 3, 33, 0.94);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 9px 12px;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.modal-option-toggle:hover{
  transform: translateY(-1px);
  border-color: rgba(180,110,255,0.72);
  background:
    linear-gradient(180deg, rgba(138,43,226,0.28), rgba(75,0,130,0.18)),
    rgba(22, 4, 40, 0.98);
}

.modal-option-pill{
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(138,43,226,0.42);
  background:
    linear-gradient(180deg, rgba(138,43,226,0.18), rgba(75,0,130,0.14)),
    rgba(18, 3, 33, 0.92);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(0,0,0,0.18),
    0 0 18px rgba(138,43,226,0.08);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.modal-option-pill:focus-visible{
  outline: 2px solid rgba(138,43,226,0.72);
  outline-offset: 2px;
}

.modal-color-pill.has-image{
  cursor: zoom-in;
}

.modal-color-pill.has-image:hover{
  transform: translateY(-1px);
  border-color: rgba(180,110,255,0.72);
  background:
    linear-gradient(180deg, rgba(138,43,226,0.30), rgba(75,0,130,0.22)),
    rgba(22, 4, 40, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 10px 22px rgba(0,0,0,0.22),
    0 0 22px rgba(138,43,226,0.18);
}

.modal-color-swatch{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.58);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.variant-lightbox-inner{
  flex-direction: column;
  gap: 14px;
  padding: 54px 18px 18px;
}

.variant-lightbox-title{
  max-width: min(760px, 82vw);
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
}

/* === QC PHOTOS (modal) === */
.qc-section{
  margin-top: 12px;
}

.qc-header{
  display:flex;
  align-items:center;
  justify-content: flex-start;
  margin-bottom: 12px;
  gap: 5px;
}

.qc-title{
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.9;
}

.qc-count{
  font-size: 0.85rem;
  opacity: 0.55;
  font-weight: 700;
}

.qc-strip{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 76px;
}

.qc-thumb{
  width: 75px;
  height: 75px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.qc-thumb:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
}

.qc-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* === QC LIGHTBOX === */
.qc-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 200000000000000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 30px;
}

.qc-lightbox-inner{
  width: min(1092px, 95vw);
  height: min(800vh, 820px);
  background: rgba(15,15,15,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.qc-lightbox-inner img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.qc-close{
  position:absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: rgb(31, 31, 31);
  color: white;
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 900;
  transition: 0.3s;
}
.qc-close:hover{ transform: translateY(-5px); }

#modal-rating {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    white-space: nowrap;
    line-height: 1;
    color: rgba(255,255,255,0.92);
    margin-top: 7px;
    font-size: 1.18rem;
    font-weight: 950;
}

#modal-rating .product-rating-star {
    color: #ffd000;
    font-size: 1.22rem;
    line-height: 1;
    text-shadow: 0 0 14px rgba(255, 208, 0, 0.28);
}

#modal-rating .product-rating-value {
    color: rgba(255,255,255,0.94);
    font-size: 1.18rem;
    font-weight: 950;
}

#modal-rating .product-rating-count {
    color: rgba(255,255,255,0.48);
    font-size: 0.92rem;
    font-weight: 850;
}

.qc-thumb-more {
  position: relative;
}

.qc-more-overlay{
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 1.2rem;
  color: white;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}

/* QC LIGHTBOX ARROWS */
.qc-nav{
  position: absolute;
  top: 50%;
  padding-bottom: 8px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgb(31, 31, 31);
  color: white;
  font-size: 34px;
  font-weight: 900;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 2;
  transition: 0.3s;
}

.qc-nav:hover{
  transform: translateY(-5px);
}

.qc-prev { 
  left: 14px; 
}
.qc-next { 
  right: 14px; 
}

.nav-search{
    position: relative;
    width: 360px;
    max-width: 38vw;
    height: 42px;
    display:flex;
    align-items:center;
    border-radius: 14px;
    background: #200f2e;
    border: 1px solid rgba(255,255,255,0.10);
    overflow: visible;
}

#nav-search-input{
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: rgba(255,255,255,0.92);
    font-weight: 650;
    font-size: 0.9rem;
    padding-right: 44px;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   margin-left: 30px;
}

#nav-search-input::placeholder{
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.nav-search-clear{
    position:absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 12px;
    cursor:pointer;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    display:none;
}

.nav-search-clear:hover{
    background: rgba(255,255,255,0.14);
}

/* Mobile: search schovej (nebo zmenši) */
@media (max-width: 992px){
    .nav-search{
        width: 220px;
        max-width: 52vw;
    }
}
@media (max-width: 620px){
    .nav-search{
        display:none;
    }
}

.nav-suggest{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(13,13,13,0.95);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  z-index: 20000;
  box-shadow: 0 18px 50px rgba(0,0,0,0.6);
  max-height: 360px;
  overflow-y: auto;
  backdrop-filter: blur(10px);
}

.nav-suggest-item{
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  align-items: center;
  transition: 0.15s;
}

.nav-suggest-item:hover,
.nav-suggest-item.active{
  background: rgba(255,255,255,0.08);
}

.nav-suggest-thumb{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  flex: 0 0 auto;
}

.nav-suggest-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}

.nav-suggest-main{
  flex: 1;
  min-width: 0;
}

.nav-suggest-title{
  font-weight: 800;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-suggest-sub{
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-suggest-price{
  font-weight: 900;
  color: #00ff26;
  flex: 0 0 auto;
}


.nav-suggest-empty{
  padding: 50px 20px;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

.nav-suggest-empty-icon{
  font-size: 32px;
  opacity: 0.5;
  margin-bottom: 14px;
}

.nav-suggest-empty-title{
  font-weight: 800;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}

.nav-suggest-empty-sub{
  font-size: 0.8rem;
  margin-top: 6px;
  opacity: 0.6;
}

body.qc-open .header-main{
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* ===== MODAL OPEN ANIMATION ===== */
.modal.show .modal-container{
  animation: modalIn 0s ease both;
}

@keyframes modalIn{
  from { transform: translateY(18px) scale(0.985); opacity: 0; }
  to   { transform: translateY(0) scale(1);       opacity: 1; }
}

/* ===== LOADER OVERLAY INSIDE MODAL ===== */
.modal-loader{
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #14041e;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10002; /* nad obsahem modalu */
}

.modal-loader-inner{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 14px;
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #1a1a1a;
}

.modal-spinner{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,0.18);
  border-top-color: rgba(138,43,226,0.95);
  animation: spin 0.85s linear infinite;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

.modal-loader-text{
  color: rgba(255,255,255,0.80);
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-kakobuy img,
.btn-discord img{
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* === FINDS HERO (header jako na screenu) === */
.finds-hero{
  padding: 40px 20px 10px;
}

.finds-favorite-subtitle {
  margin-top: -3px;
  margin-left: -967px;
  margin-bottom: 4px;
  max-width: 1200px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

/* search bar */
.finds-search{
  margin-top: 28px;
  position: relative;
  height: 56px;
  border-radius: 18px;
  background: #200f2e;
  border: 1px solid rgba(138, 43, 226, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.finds-search input{
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  padding: 0 56px 0 18px;
}

.finds-search input::placeholder{
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}

@media (max-width: 700px){
  .finds-hero{
    padding: 30px 16px 0;
  }
  .finds-search{
    height: 52px;
    border-radius: 16px;
  }
}

/* === FILTER BUTTON === */
.filters-btn{
    margin-top: 28px;
    height: 42px;
    padding: 0 18px;
   
    border-radius: 14px;
    background: #200f2e;
    border: 1px solid rgba(138, 43, 226, 0.28);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.8);
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    font-weight:600;
    transition:0.25s ease;
}

/* === FILTER PANEL === */
.filters-panel{
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  z-index: 2147483647;
  isolation: isolate;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0px);
  transition: 
    opacity 0.2s ease,
    backdrop-filter 0.25s ease;
}

.filters-panel.active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(6px);
}

.filters-panel.active .filters-shell{
  transform: translateX(0);
  opacity: 1;
}


.filters-icon-img{
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
   filter: invert(1);
}

.filters-close{
    background: rgba(255,255,255,0.05);
    border:none;
    color:white;
    font-size:20px;
    padding:8px 12px;
    border-radius:12px;
    cursor:pointer;
}

/* HERO SEARCH ROW (search + filters vedle sebe) */
.finds-search-row{
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

/* aby search zabral většinu místa a tlačítko bylo vedle */
.finds-search-row .finds-search{
  flex: 1;
  min-width: 0;
}

/* verze tlačítka pro hero (můžeš doladit) */
.filters-btn.filters-btn-hero{
  height: 56px;           /* uprav podle výšky tvýho hero search */
  padding: 0 20px;
  border-radius: 16px;
  white-space: nowrap;
}

/* mobile: ať se to hezky skládá pod sebe */
@media (max-width: 700px){
  .finds-search-row{
    flex-direction: row;
    align-items: center;
  }

  .filters-btn.filters-btn-hero{
    width: auto;
  }
}

/* ===== FILTERS MODAL (screenshot-style) ===== */

.filters-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}

.filters-shell{
  position: relative;
  width: 420px;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-right: none;
  background: rgb(10, 3, 17);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  overflow: hidden;
  display:flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  transition: 
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
  z-index: 1;
}

.filters-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgb(10, 3, 17);
  position: relative;
  z-index: 2;
}

.filters-title{
  display:flex;
  align-items:center;
  gap: 12px;
}

.filters-badge img {
    width: 28px;      /* uprav podle potřeby */
    height: 28px;
    object-fit: contain;
    filter: invert(1);
}

.filters-badge{
  width: 40px; height: 40px;
  display:flex; align-items:center; justify-content:center;
}
.filters-h1{ font-weight: 900; font-size: 1.15rem; }
.filters-sub{ opacity: 0.6; font-weight: 600; font-size: 0.8rem; margin-top: 2px; }

.filters-x{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: white;
  cursor:pointer;
  transition: 0.2s;
}
.filters-x:hover{ transform: translateY(-2px); background: rgba(255,255,255,0.10); }

.filters-grid{
  padding: 14px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.filters-col{
  display:flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.filters-card-price{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  overflow:hidden;
  padding-bottom: 12px;
}

.filters-card{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  overflow:hidden;
}

.filters-card-head{
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.filters-card-title{
  font-weight: 900;
  letter-spacing: 0.2px;
  opacity: 0.9;
  
  display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(99, 47, 139, 0.15); 
    border-radius: 9px; 
    transition: 0.3s ease;
    white-space: nowrap;
}

.filters-categories{
  display:flex;
  flex-direction: column;
  overflow: hidden;
}
.filters-cat-list{
  padding: 12px;
  overflow: auto;
  height: 100%;
}
.filters-cat-item{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.18);
  color: white;
  cursor: pointer;
  margin-bottom: 8px;
}
.filters-cat-item:hover{ transform: translateY(-2px); background: rgba(255,255,255,0.06); }
.filters-cat-left{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
}
.filters-cat-count{
  min-width: 40px;
  text-align: right;
  opacity: 0.65;
  font-weight: 900;
  font-size: 0.85rem;
}

.filters-price{
  padding: 16px;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items:center;
}

.filters-to{ opacity: 0.6; font-weight: 900; }

.filters-gender{
  padding: 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.filters-pillbtn{
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  color:white;
  cursor:pointer;
  font-weight: 800;
}
.filters-pillbtn:hover{ transform: translateY(-2px); background: rgba(255,255,255,0.06); }

.filters-sort{
  padding: 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.filters-sortopt{
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
  color:white;
  cursor:pointer;
  font-weight: 800;
  text-align:left;
  padding: 0 12px;
}
.filters-sortopt:hover{ transform: translateY(-2px); background: rgba(255,255,255,0.06); }

.filters-quality-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.filters-qbadge{
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, rgb(138, 43, 226) 0%, rgb(75, 0, 130) 100%);
}
.filters-quality{ 
  padding: 14px 12px 12px;
}

.filters-rating-options{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.filters-rating-btn{
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: transparent;
  color: white;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.filters-rating-btn:hover{
  background: rgba(255,255,255,0.055);
}

.filters-rating-btn.active{
  background: rgba(138,43,226,0.22);
  border-color: rgba(138,43,226,0.52);
}

.filters-quality-labels{
  margin-top: 10px;
  display:flex;
  justify-content: space-between;
  opacity: 0.6;
  font-weight: 800;
  font-size: 0.8rem;
}

.filters-bottom{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.filters-btn-ghost{
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: white;
  font-weight: 900;
  cursor:pointer;
  transition: 0.18s;
}
.filters-btn-ghost:hover{ transform: translateY(-2px); background: rgba(255,255,255,0.10); }

.filters-btn-primary{
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(138, 43, 226) 0%, rgb(75, 0, 130) 100%);
  color: white;
  font-weight: 900;
  cursor:pointer;
  transition: 0.18s;
}
.filters-btn-primary:hover{ transform: translateY(-2px); filter: brightness(1.05); }

@media (max-width: 980px){
  .filters-shell{ height: 100dvh; }
  .filters-grid{ grid-template-columns: 1fr; overflow:auto; }
  .filters-col{ overflow: visible; }
}

.filters-brand-list{
  padding: 12px;
  overflow: auto;
  max-height: 260px; /* ať to není nekonečný */
}

.filters-brand-item{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.18);
  color: white;
  cursor: pointer;
  margin-bottom: 8px;
}

.filters-brand-item:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}

.filters-brand-count{
  min-width: 40px;
  text-align: right;
  opacity: 0.65;
  font-weight: 900;
  font-size: 0.85rem;
}

.filters-leftcol{
  display:flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.filters-cat-item.active,
.filters-brand-item.active,
.filters-pillbtn.active,
.filters-sortopt.active{
  background: linear-gradient(135deg, #8A2BE2 0%, #4B0082 100%);
  border: none;
}

.filters-cat-item,
.filters-brand-item,
.filters-pillbtn,
.filters-sortopt{
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    color 0.18s ease;
}

/* === PRICE DOUBLE SLIDER (clean) === */
.filters-price-slider .slider-values{
  display:flex;
  justify-content:space-between;
  font-weight:800;
  letter-spacing: .2px;
  opacity:.95;
  margin-top: 10px;
  padding: 0 var(--price-slider-pad);
}

:root{
  --price-slider-pad: 14px;
  --thumb-size: 18px;
  --thumb-edge: calc(var(--thumb-size) / 2);
}

.slider-wrap{
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 var(--price-slider-pad);
  box-sizing: border-box;
}

.slider-track{
  position: absolute;
  left: var(--price-slider-pad);
  right: var(--price-slider-pad);
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;

  /* TADY je ten point: usekni track o půlku thumbu z obou stran */
  clip-path: inset(0 var(--thumb-edge) 0 var(--thumb-edge) round 999px);
}

.slider-track::before{
  content:"";
  position:absolute;
  left: var(--l, 0%);
  right: calc(100% - var(--r, 100%));
  height:100%;
  border-radius:999px;
  background: var(--primary-purple);
  box-shadow: 0 0 14px rgba(138,43,226,.55);
}

/* range inputy jen uvnitř paddingu */
.slider-wrap input[type="range"]{
  position:absolute;
  left: var(--price-slider-pad);
  right: var(--price-slider-pad);
  width: auto;
  height: 34px;
  margin-top: -12px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}

.slider-wrap input[type="range"]::-webkit-slider-runnable-track{
  height: 6px;
  background: transparent;
}

.slider-wrap input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  pointer-events:auto;
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius:50%;
  background: var(--primary-purple);
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 18px rgba(138,43,226,.65);
  cursor:pointer;
}

/* Firefox */
.slider-wrap input[type="range"]::-moz-range-track{ height:6px; background: transparent; }
.slider-wrap input[type="range"]::-moz-range-thumb{
  pointer-events:auto;
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius:50%;
  background: var(--primary-purple);
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 18px rgba(138,43,226,.65);
  cursor:pointer;
}

/* =========================================================
   FIX: HERO SEARCH + FILTERS ALIGNMENT (matches product grid)
   - Keeps the Filters button ending on the same right edge
     as the last product card (products-container).
   ========================================================= */

.finds-hero-inner{
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px; 
}

.finds-search-row{
  display: flex;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  justify-content: unset;
  width: 100%;
  margin: 28px 0 0 0; /* spacing handled here */
}

/* remove left offsets that break container alignment */
.finds-search{ margin-left: 0 !important; margin-top: 0 !important; }
.filters-btn.filters-btn-hero{ margin-left: 0 !important; margin-top: 0 !important; }

/* mobile stacking */
/* mobile: search + filters vedle sebe */
@media (max-width: 700px){
  .finds-search-row{
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .finds-search{
    min-width: 0;
  }

  .filters-btn.filters-btn-hero{
    width: 56px;
    min-width: 56px;
    padding: 0;
    justify-content: center;
    flex-shrink: 0;
  }
}

#filters-apply {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

#filters-apply:focus,
#filters-apply:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Brands card = stejnej layout jako Categories */
.filters-brands{
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Scroll přímo na listu */
.filters-brand-list{
  padding: 12px;
  overflow: auto;
  height: 100%;
}

.filters-cat-list::-webkit-scrollbar,
.filters-brand-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.filters-cat-list::-webkit-scrollbar-button,
.filters-brand-list::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.filters-cat-list::-webkit-scrollbar-track,
.filters-brand-list::-webkit-scrollbar-track {
  background: transparent;
}

.filters-cat-list::-webkit-scrollbar-thumb,
.filters-brand-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(138,43,226,.65), rgba(75,0,130,.9));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(138,43,226,.4);
}

.filters-cat-list,
.filters-brand-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(138,43,226,.7) transparent;
}

.filters-grid,
.filters-shell{
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filters-grid::-webkit-scrollbar,
.filters-shell::-webkit-scrollbar{
  display: none;
  width: 0;
  height: 0;
}

/* === RATING SLIDER – stejný styl jako price === */

.filters-quality input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  accent-color: var(--primary-purple);
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #8A2BE2 0%, #8A2BE2 var(--val, 0%), #2a2a2a var(--val, 0%), #2a2a2a 100%);
  outline: none;
  transition: background 0.2s ease;
}

.filters-quality input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-purple);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 18px rgba(138,43,226,.65);
}

.filters-quality input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-purple);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 18px rgba(138,43,226,.65);
}

/* === FORCE FONT FOR FILTERS === */
.filters-panel,
.filters-panel * {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* === UNIFY FILTER TYPOGRAPHY === */
.filters-panel .filters-h1,
.filters-panel .filters-sub,
.filters-panel .filters-cat-left,
.filters-panel .filters-cat-count,
.filters-panel .filters-brand-item,
.filters-panel .filters-brand-count,
.filters-panel .filters-pillbtn,
.filters-panel .filters-sortopt,
.filters-panel .filters-qbadge,
.filters-panel .filters-quality-labels,
.filters-panel .filters-price-slider .slider-values,
.filters-panel .filters-btn-ghost,
.filters-panel .filters-btn-primary{
  font-weight: 900 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* === PRODUCT BADGE: NEWLY ADDED === */
.product-badge {
  position: absolute;
  top: 12px;
  left: 10px;
  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 24px;
  padding: 4px 9px 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(232, 191, 255, 0.46);

  font-weight: 900;
  font-size: 0.63rem;
  font-family: var(--main-font);
  line-height: 1;
  letter-spacing: 0.55px;
  text-transform: uppercase;

  color: #fff;
  background:
    linear-gradient(110deg, rgba(181, 73, 245, 0.96), rgba(104, 38, 163, 0.94) 54%, rgba(55, 22, 88, 0.96));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(34, 8, 52, 0.25),
    0 7px 16px rgba(43, 7, 68, 0.34),
    0 0 16px rgba(184, 76, 245, 0.2);

  user-select: none;
  pointer-events: none;
}

.product-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 1px;
  background: #f1c5ff;
  box-shadow: 0 0 8px rgba(239, 187, 255, 0.95);
  transform: rotate(45deg);
}

/* === FOOTER CTA: vždy vedle sebe === */
.footer-cta{
  display: flex;
  flex-wrap: nowrap;     /* ❗nespadne pod sebe */
  gap: 15px;
}

.footer-cta .btn-kakobuy,
.footer-cta .btn-discord{
  flex: 1;               /* rozdělí si šířku */
  min-width: 0;          /* umožní zkracování */
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finds-favorite-title {
  margin-left: -49px;
  margin-bottom: 15px;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  font-size: clamp(3rem, 4vw, 4.6rem);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.agent-warning{
  position: relative;
  z-index: 10;
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 18px 18px 20px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(181,108,255,0.2);
  background:
    radial-gradient(circle at 5% 0%, rgba(138,43,226,0.2), transparent 38%),
    rgba(17,7,28,0.94);
  box-shadow: 0 16px 45px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.agent-warning::before{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #d69aff, #8a2be2);
}

.agent-warning-left{
  display:flex;
  align-items:center;
  gap:16px;
  min-width: 0;
  flex: 1 1 auto;
}

#agent-warning-icon{
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 15px;
  object-fit: contain;
  padding: 9px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(138,43,226,0.2);
}

.agent-warning-text{
  min-width: 0;
}

.agent-warning-heading{
  display: flex;
  align-items: baseline;
  gap: 11px;
  flex-wrap: wrap;
}

.agent-warning-eyebrow{
  color: #c47cff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.agent-warning-title{
  font-weight: 900;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.agent-warning-benefits{
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 7px;
  color: rgba(255,255,255,0.58);
  font-size: 0.76rem;
}

.agent-warning-benefits span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.agent-warning-benefits span::before{
  content: "✓";
  color: #56f39a;
  font-weight: 900;
}

.agent-warning-actions{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.agent-warning-btn{
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  padding: 0 16px;
  font-weight: 900;
  background: var(--main-gradient);
  color: #fff;
  cursor: pointer;
}

.agent-warning-btn span{
  margin-left: 9px;
}

.agent-warning-keep{
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  color: rgba(255,255,255,0.55);
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.agent-warning-keep:hover{
  color: #fff;
}

.agent-warning-close{
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.65);
  font-size: 1.25rem;
  cursor: pointer;
}

@media (max-width: 900px){
  .agent-warning{
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
  }

  .agent-warning-actions{
    width: 100%;
  }

  .agent-warning-btn{
    flex: 1;
  }

  .agent-warning-close{
    position: absolute;
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 600px){
  .agent-warning{
    width: calc(100% - 24px);
    padding: 16px;
  }

  .agent-warning-left{
    align-items: flex-start;
    padding-right: 38px;
  }

  #agent-warning-icon{
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .agent-warning-benefits{
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .agent-warning-actions{
    display: grid;
    grid-template-columns: 1fr;
  }

  .agent-warning-keep{
    order: 2;
  }
}

/* === SIMILAR ITEMS (modal) === */
.similar-section{
  margin-top: 26px;
}

.similar-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.similar-title{
  margin-left: 60px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 2rem;
  opacity: 0.92;
}

.similar-more{
  margin-right: 60px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.80);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
  display:flex;
  align-items:center;
  gap: 8px;
}

.similar-more:hover{
  transform: translateY(-2px);
  background: rgba(138,43,226,0.18);
  color: #fff;
}

.similar-strip{
  display:flex;
  justify-content: center;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.similar-strip::-webkit-scrollbar{ height: 8px; }
.similar-strip::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.12);
  border-radius: 99px;
}
.similar-strip::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.05);
  border-radius: 99px;
}

.similar-card{
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 350px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid #1a1a1a;
  transition: 0.3s transform ease, 0.3s border-color ease;
  cursor: pointer;
  position: relative;
}

.similar-card:hover{
  transform: translateY(-5px);
}

.similar-img{
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgb(7, 3, 13);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px;
}

.similar-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.similar-bottom{
  background: rgb(16, 10, 25);
  padding: 12px 12px 14px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.similar-name{
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.1;
  height: 2.2em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: rgba(255,255,255,0.92);
}

.similar-price{
  font-weight: 900;
  color: #00ff26;
  font-size: 1rem;
}

.similar-badge{
  position:absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(138,43,226,0.22);
  border: 1px solid rgba(138,43,226,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================
   SIMILAR CAROUSEL (4 items)
   ========================= */

.similar-carousel{
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  margin-bottom: -50px;
}

.similar-viewport{
  overflow: hidden;
  width: 100%;
  padding-top: 8px;
  margin-top: -8px;
}

.similar-track{
  display: flex;
  gap: 14px;
  transition: transform 0.28s ease;
  will-change: transform;
}

/* 4 karty přesně v viewportu (desktop) */
.similar-track .similar-card{
  flex: 0 0 calc((100% - 14px * 3) / 4);
  width: auto !important;        /* přepíše tvůj width: 350px */
}

/* šipky */
.similar-navbtn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: 0.2s ease;
}

.similar-navbtn:hover{
  background: rgba(138,43,226,0.16);
  border-color: rgba(138,43,226,0.30);
}

.similar-navbtn:disabled{
  opacity: 0.35;
  cursor: default;
  transform: none;
}

/* responsive: 2 items */
@media (max-width: 980px){
  .similar-carousel{ grid-template-columns: 44px 1fr 44px; }
  .similar-track .similar-card{
    flex: 0 0 calc((100% - 14px) / 2);
  }
}

/* mobile: 1 item */
@media (max-width: 520px){
  .similar-carousel{ grid-template-columns: 40px 1fr 40px; }
  .similar-navbtn{ width: 40px; height: 40px; border-radius: 12px; }
  .similar-track .similar-card{
    flex: 0 0 100%;
  }
}

/* =========================================
   HARD ALIGN: Similar section == Footer width
   ========================================= */

:root{
  --site-max: 1625px;
  --site-pad: 20px;
}

/* celá sekce (ne jen vnitřek) */
#modal-similar{
  width: 100%;
  max-width: var(--site-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
  margin-bottom: 100px;
  box-sizing: border-box;
}

/* uvnitř už žádný extra padding/margins */
#modal-similar .similar-header,
#modal-similar .similar-strip,
#modal-similar .similar-carousel,
#modal-similar .similar-viewport{
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

#modal-recent{
  width: 100%;
  max-width: var(--site-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
  margin-bottom: 100px;
  box-sizing: border-box;
}

#modal-recent .similar-header,
#modal-recent .similar-strip,
#modal-recent .similar-carousel,
#modal-recent .similar-viewport{
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

/* Modal overlay přes celou obrazovku */
.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* Zamknutí scrollu stránky */
html.modal-lock,
body.modal-lock{
  overflow: hidden !important;
  height: 100%;
}

/* Modal content může scrollovat normálně… */
.modal-content-full{
  height: 100vh;
  overflow: auto;
}

/* …ALE během loaderu ne */
.modal.is-loading .modal-content-full{
  overflow: hidden !important;
}

/* Loader jako overlay co chytá interakce */
#modal-loader{
  position: absolute;
  inset: 0;
  z-index: 99999;
  pointer-events: auto;
}

.modal.is-loading #modal-similar,
.modal.is-loading #modal-recent,
.modal.is-loading .footer-main{
  display: none !important;
}

/* Kontejner */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Tlačítko */
.nav-dropdown-btn {
  color: rgba(255, 255, 255, 0.7); 
  font-weight: 600;
  font-size: 0.95rem; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 25px 12px;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
}

/* Šipka */
.nav-dropdown-caret {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* Menu panel - VYČIŠTĚNO */
.nav-dropdown-menu {
  position: absolute;
  top: 100%; /* Přilepeno ke spodku tlačítka */
  padding-top: 15px; /* Most pro myš (zabrání mizení) */
  left: 0;
  min-width: 230px;
  background:
    linear-gradient(135deg, rgba(45, 18, 68, 0.96), rgba(18, 5, 32, 0.96)),
    rgba(18, 5, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  z-index: 9999;
  
  /* Stav: skryté */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

/* Položky */
.nav-dropdown-item-topandbottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 12px;
  margin: 4px 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78); 
  font-weight: 800;
  font-size: 0.86rem; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-decoration: none;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 12px;
  margin: 4px 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78); 
  font-weight: 800;
  font-size: 0.86rem; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: rgba(138, 43, 226, 0.28);
  color: #fff;
}

.nav-dropdown-item-topandbottom:hover {
  background: rgba(138, 43, 226, 0.28);
  color: #fff;
}

/* Aktivní stav (hover) */
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg);
}

.modal-seller-link {
    color: white;
    text-decoration: none;
    transition: 0.2s ease;
    pointer-events: none;
}

.modal-seller-link.is-clickable {
    color: #8A2BE2;
    pointer-events: auto;
}

.modal-seller-link.is-clickable:hover {
    color: #b266ff;
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE REWRITE — LINK CONVERTER / TABLET / MOBILE
   desktopu se to nedotýká
========================================================= */

/* ------------------------------
   TABLET
------------------------------ */
@media (max-width: 991.98px) {
  .content-area {
    padding-top: 88px;
  }

  .nav-container {
    width: calc(100% - 28px) !important;
    height: 64px;
    margin-top: 14px;
    padding: 0 16px !important;
    border-radius: 18px;
  }

  .logo-text {
    font-size: 1.25rem;
    letter-spacing: -0.8px;
  }

  .nav-search {
    width: 220px;
    max-width: 38vw;
    height: 40px;
  }

  #nav-search-input {
    margin-left: 14px;
    font-size: 0.88rem;
  }

  .mobile-menu-btn {
    display: flex !important;
    margin-left: 8px;
  }

  .mobile-menu-btn span {
    width: 22px;
    height: 2.5px;
  }

  .nav-menu {
    top: calc(100% + 8px);
    right: 0 !important;
    width: min(280px, 82vw) !important;
    margin-left: 0 !important;
    padding: 14px !important;
    border-radius: 18px;
    gap: 6px;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .nav-link,
  .nav-dropdown-btn {
    width: 100%;
    padding: 14px 14px;
    border-radius: 12px;
    justify-content: space-between;
  }

  .footer-main {
    padding: 0 16px 16px;
  }

  .footer-card {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .legal-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}


/* ------------------------------
   MOBILE
------------------------------ */
@media (max-width: 767.98px) {
  .content-area {
    padding-top: 74px;
  }

  .nav-container {
    width: calc(100% - 16px) !important;
    height: 56px;
    margin-top: 8px;
    padding: 0 14px !important;
    border-radius: 16px;
  }

  .logo-text {
    font-size: 1.08rem;
    letter-spacing: -0.5px;
  }

  .nav-search {
    display: none !important;
  }

  .mobile-menu-btn span {
    width: 21px;
    height: 2.5px;
  }

  .nav-menu {
    width: min(230px, 86vw) !important;
    padding: 12px !important;
    border-radius: 16px;
  }

  .nav-link,
  .nav-dropdown-btn {
    padding: 12px;
    font-size: 0.9rem;
  }

  .settings-dropdown {
    margin-right: -40px;
    margin-top: -10px;
  }

  .footer-main {
    padding: 0 14px 14px;
  }

  .footer-card {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 22px;
  }

  .footer-logo-text {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .footer-description {
    font-size: 0.84rem;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .footer-cta {
    flex-direction: column;
    gap: 10px;
  }

  .footer-cta .btn-kakobuy,
  .footer-cta .btn-discord {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 0.78rem;
  }

  .footer-legal {
    padding-top: 20px;
  }

  .legal-links {
    flex-direction: column;
    gap: 10px;
  }
}


/* ------------------------------
   SMALL MOBILE
------------------------------ */
@media (max-width: 479.98px) {
  .nav-container {
    width: calc(100% - 12px) !important;
    padding: 0 12px !important;
    height: 54px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .footer-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .footer-logo-text {
    font-size: 1.22rem;
  }

  .nav-dropdown-menu {
    margin-left: -7px;
  }

  .footer-label {
    display: block;
    margin: 0 auto 25px auto;
    width: fit-content;
  }

  .link-item {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }

  .legal-copyright {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }

  .legal-links {
    margin: 0 auto;
    width: fit-content;
  }
}

.similar-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.similar-meta .meta-tag{
  font-size: 0.68rem;
  padding: 5px 10px;
  border-radius: 9px;
}

.hero-title-icon{
  width: 65px;
  height: 65px;
  object-fit: contain;
  flex-shrink: 0;
  transform: translateX(-10px) translateY(-8px);
}

.hero-title-icon-favorite{
  width: 65px;
  height: 65px;
  object-fit: contain;
  flex-shrink: 0;
  transform: translateX(-55px) translateY(-8px);
}

.filters-head-with-search{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filters-searchinput-inline{
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 10px;

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 13px;

  outline: none;
  transition: all 0.2s ease;
}

.filters-searchinput-inline:focus{
  background: rgba(255,255,255,0.05);
}

/* Types + Brands = stejná výška */
.filters-categories,
.filters-brands{
  display: flex;
  flex-direction: column;
  height: 220px;
  overflow: hidden;
}

/* vnitřní seznamy vyplní zbytek karty */
.filters-cat-list,
.filters-brand-list{
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
}

/* Basic drawer filter layout */
.filters-panel .filters-grid{
  padding: 10px 20px 18px;
  gap: 0;
}

.filters-panel .filters-leftcol,
.filters-panel .filters-col{
  gap: 0;
}

.filters-panel .filters-card,
.filters-panel .filters-card-price{
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.filters-panel .filters-card-price{
  overflow: visible;
}

.filters-panel .filters-card:last-child,
.filters-panel .filters-card-price:last-child{
  border-bottom: 0;
}

.filters-panel .filters-card-head{
  padding: 0 0 12px;
  border-bottom: 0;
}

.filters-panel .filters-card-title{
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.filters-panel .filters-head-with-search{
  align-items: stretch;
}

.filters-panel .filters-searchinput-inline{
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}

.filters-panel .filters-cat-list,
.filters-panel .filters-brand-list{
  padding: 0 2px 0 0;
}

.filters-panel .filters-cat-item,
.filters-panel .filters-brand-item{
  background: transparent;
  border: 0;
  border-radius: 8px;
  min-height: 36px;
  padding: 8px 6px;
  margin-bottom: 2px;
}

.filters-panel .filters-cat-item:hover,
.filters-panel .filters-brand-item:hover{
  background: rgba(255,255,255,0.055);
  transform: none;
}

.filters-panel .filters-cat-item.active,
.filters-panel .filters-brand-item.active{
  background: rgba(138,43,226,0.18);
  border: 0;
  color: #fff;
}

.filters-panel .filters-gender,
.filters-panel .filters-quality,
.filters-panel .filters-sort{
  padding: 0;
}

.filters-panel .filters-pillbtn,
.filters-panel .filters-sortopt,
.filters-panel .filters-rating-btn{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
}

.filters-panel .filters-pillbtn:hover,
.filters-panel .filters-sortopt:hover,
.filters-panel .filters-rating-btn:hover{
  background: rgba(255,255,255,0.055);
  transform: none;
}

.filters-panel .filters-pillbtn.active,
.filters-panel .filters-sortopt.active,
.filters-panel .filters-rating-btn.active{
  background: rgba(138,43,226,0.22);
  border-color: rgba(138,43,226,0.52);
}

/* =========================================
   FILTERS PANEL — MOBILE COMPATIBLE
   přidej NA KONEC finds.css
========================================= */

@media (max-width: 980px){
  .filters-panel{
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
  }

  .filters-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
  }

  .filters-shell{
    width: 420px;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    border-left: 1px solid rgba(255,255,255,0.10);
    border-right: none;
    border-bottom: none;
    display: flex;
    flex-direction: column;
  }

  .filters-top{
    flex-shrink: 0;
    padding: 16px 16px;
  }

  .filters-grid{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .filters-leftcol,
  .filters-col{
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
  }

  .filters-bottom{
    flex-shrink: 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .filters-btn-ghost,
  .filters-btn-primary{
    width: 100%;
    min-width: 0;
  }

  .filters-categories,
  .filters-brands{
    height: 200px;
  }

  .filters-head-with-search{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filters-searchinput-inline{
    width: 100%;
  }
}

@media (max-width: 767.98px){
  .filters-shell{
    width: min(410px, calc(100vw - 20px));
    border-radius: 0;
  }

  .filters-top{
    padding: 14px;
  }

  .filters-title{
    gap: 10px;
    min-width: 0;
  }

  .filters-badge{
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .filters-badge img{
    width: 22px;
    height: 22px;
  }

  .filters-h1{
    font-size: 1.25rem;
    line-height: 1;
  }

  .filters-sub{
    font-size: 0.82rem;
    line-height: 1.25;
    opacity: 0.72;
    margin-top: 4px;
  }

  .filters-x{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-shrink: 0;
    font-size: 1.1rem;
  }

  .filters-grid{
    padding: 12px;
    gap: 12px;
  }

  .filters-card,
  .filters-card-price{
    border-radius: 14px;
  }

  .filters-card-head{
    padding: 12px 12px;
  }

  .filters-card-title{
    font-size: 0.72rem;
  }

  .filters-cat-item,
  .filters-brand-item,
  .filters-sortopt,
  .filters-pillbtn{
    min-height: 40px;
    padding: 9px 10px;
    font-size: 0.9rem;
  }

  .filters-categories,
  .filters-brands{
    height: 185px;
  }

  .filters-cat-list,
  .filters-brand-list{
    padding: 10px;
  }

  .filters-bottom{
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    gap: 10px;
  }

  .filters-btn-ghost,
  .filters-btn-primary{
    height: 44px;
    border-radius: 14px;
    padding: 0 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 479.98px){
  .filters-top{
    padding: 12px;
  }

  .filters-h1{
    font-size: 1.35rem;
  }

  .filters-sub{
    font-size: 0.86rem;
  }

  .filters-x{
    width: 42px;
    height: 42px;
  }

  .filters-grid{
    padding: 10px;
    gap: 10px;
  }

  .filters-categories,
  .filters-brands{
    height: 170px;
  }

  .filters-bottom{
    grid-template-columns: 1fr 1fr;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }

  .filters-btn-ghost,
  .filters-btn-primary{
    font-size: 0.88rem;
  }
}

/* =========================================
   MOBILE MODAL — one smooth scroll only
========================================= */
@media (max-width: 768px){
  .modal{
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .modal-content-full{
    height: auto;
    min-height: 100%;
    overflow: visible;
    align-items: stretch;
    padding: 86px 14px 28px;
  }

  .modal-container{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 22px;
  }

  .modal-left,
  .modal-right{
    min-width: 0;
    width: 100%;
  }

  .order-buttons-wrapper{
    gap: 8px;
  }

  #modal-order-btn{
    min-width: 0;
    height: 62px;
    padding: 0 18px !important;
    border-radius: 12px;
  }

  #modal-direct-btn{
    width: 52px;
    min-width: 52px;
    height: 62px;
    border-radius: 12px;
  }

  .order-btn-content{
    width: auto;
    min-width: 0;
    justify-content: center;
    gap: 12px;
  }

  .order-agent-icon{
    width: 38px;
    height: 38px;
    padding: 5px;
    flex: 0 0 auto;
  }

  .order-btn-text{
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-size: clamp(0.98rem, 4vw, 1.08rem);
    line-height: 1;
  }

  #preferred-agent-name{
    white-space: nowrap;
  }

  #modal-title{
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .modal-meta{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    overflow: visible;
  }

  .specs-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #modal-similar,
  #modal-recent{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }

  .similar-carousel,
  .similar-viewport{
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .similar-track{
    touch-action: pan-x;
  }

  .qc-strip{
    touch-action: pan-x;
  }

  .modal-image-wrapper,
  .similar-card,
  .spec-card{
    max-width: 100%;
  }
}

@media (max-width: 380px){
  #modal-order-btn{
    padding: 0 14px !important;
  }

  .order-btn-content{
    gap: 9px;
  }

  .order-agent-icon{
    width: 34px;
    height: 34px;
  }

  .order-btn-text{
    font-size: 0.94rem;
  }
}

/* =========================================
   QC FIX — MOBILE
========================================= */
@media (max-width: 768px){
  .qc-section{
    margin-top: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .qc-header{
    margin-bottom: 10px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .qc-title{
    font-size: 0.8rem;
  }

  .qc-count{
    font-size: 0.8rem;
  }
}

/* =========================================
   MOBILE FIX — SIMILAR / RECENTLY VIEWED
========================================= */
@media (max-width: 768px){
  #modal-similar,
  #modal-recent{
    overflow: visible !important;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .similar-section{
    overflow: visible;
  }

  .similar-carousel{
    margin-bottom: 0 !important;
    gap: 10px;
  }

  .similar-viewport{
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
  }

  .similar-track{
    align-items: stretch;
  }

  .similar-card{
    height: auto;
    min-height: 100%;
  }

  .similar-bottom{
    padding-bottom: 18px;
  }
}

/* =========================================
   MOBILE FIX — TAGY VZDY V JEDNOM ŘÁDKU
========================================= */
@media (max-width: 768px){
  .product-meta,
  .modal-meta,
  .similar-meta{
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-meta::-webkit-scrollbar,
  .modal-meta::-webkit-scrollbar,
  .similar-meta::-webkit-scrollbar{
    display: none;
  }

  .product-meta .meta-tag,
  .modal-meta .meta-tag,
  .similar-meta .meta-tag{
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .similar-meta .meta-tag,
  .product-meta .meta-tag{
    font-size: 0.68rem;
    padding: 5px 10px;
  }

  .modal-meta .meta-tag{
    font-size: 0.78rem;
    padding: 6px 10px;
  }
}

@media (max-width: 768px){
  .close-modal{
    top: 74px;
    left: 10px;
    right: auto;

    width: 40px;
    height: 40px;
    padding: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    line-height: 1;
    border-radius: 12px;

    transform: none;
  }
}

@media (max-width: 768px){
  .similar-carousel{
    grid-template-columns: 56px minmax(0, 1fr) 56px !important;
    gap: 12px !important;
    padding: 0 6px;
  }

  .similar-navbtn{
    width: 44px;
    height: 44px;
    justify-self: center;
    align-self: center;
  }

  .similar-viewport{
    min-width: 0;
  }
}

.btn-like{
  width:42px;
  height:42px;
  border: none;
  border-radius:120px;
  background: #211230;
  color:#0f0f0f;
  font-size:1.1rem;
  font-weight:900;
  cursor:pointer;
  transition:0.25s ease;
  backdrop-filter: blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.btn-like:hover{
  transform: translateY(-2px) scale(1.04);
  color:#ff5abf;
}

.btn-like.is-favorite{
  background: #211230;
  color:#ff5abf;
}

.btn-like.is-favorite:hover {
  color:#ff5abf;
}

/* nový lock po kliku */
.btn-like.hover-lock:hover{
  transform: translateY(-2px) scale(1.04);
}

.btn-like.hover-lock:not(.is-favorite):hover{
  color:#0f0f0f;
}

.btn-like.hover-lock.is-favorite:hover{
  color:#ff5abf;
}

#favorites-modal-grid{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

#favorites-modal-grid .product-card{
  width: 100%;
  margin-top: 0;
}

@media (max-width: 1400px){
  #favorites-modal-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px){
  #favorites-modal-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  #favorites-modal-grid{
    grid-template-columns: 1fr;
  }
}

/* FAVORITES BUTTON */
.favorites-btn{
    height: 42px;
    padding: 0 18px;
    border-radius: 14px;
    background: #200f2e;
    border: 1px solid rgba(138, 43, 226, 0.28);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.8);
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    font-weight:600;
    transition:0.25s ease;
    height: 56px;
    padding: 0 20px;
    border-radius: 16px;
    white-space: nowrap;
    width: 56px;
    min-width: 56px;
    padding: 0;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.favorites-btn:hover {
    color:#ff5abf;
}

.footer-main {
    margin-top: auto;
}

.favorites-modal-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.favorites-title-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -80px;
  margin-left: -665px;
}

.favorites-empty-title{
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 120px;
}

.favorites-empty-sub{
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: -1000px;
}

.favorites-empty-state{
  display: flex;
  flex-direction: column;
  align-items: center;   
  justify-content: center;
  text-align: center;   
  margin-top: 80px; 
}

.favorites-grid-actions{
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.favorites-clear-btn{
    margin-top: 14px;
    height: 56px;
    padding: 0 18px;
    margin-left: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(138, 43, 226, 0.28);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.8);
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    font-weight:600;
    transition:0.25s ease;
}

.favorite-toast {
    position: fixed;
    top: 30px;
    right: 20px;
    background: rgba(20, 10, 40, 0.96);
    border: 1px solid rgba(138, 43, 226, 0.45);
    color: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);

    opacity: 0;
    transform: translateX(100%); /* 👈 start mimo obraz */
    pointer-events: none;

    transition: 
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;

    z-index: 100000000;
}

.favorite-toast.show {
    opacity: 1;
    transform: translateX(0); /* 👈 slide dovnitř */
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0b0118; /* tmavé pozadí */
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8A2BE2, #4B0082);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.6);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9b4dff, #5a00a8);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.9);
}

/* Firefox support */
* {
    scrollbar-width: thin;
    scrollbar-color: #8A2BE2 #0b0118;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #10021f;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content-full {
    width: 100%;
    min-height: 100%;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 200px 40px 60px;
}

.modal-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.product-meta {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-meta::-webkit-scrollbar {
    display: none;
}

/* 👇 jen když jde scrollovat */
.product-meta.can-scroll {
    cursor: grab;
}

/* 👇 při dragu */
.product-meta.dragging {
    cursor: grabbing;
}

/* 👇 fade jen když je něco vpravo */
.product-meta.has-overflow-right {
    mask-image: linear-gradient(to right, black 80%, transparent);
}

.zenithdeck-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 34px 30px 36px;
  background:
    radial-gradient(circle at 88% 18%, rgba(138, 43, 226, 0.22), transparent 24%),
    radial-gradient(circle at 76% 78%, rgba(111, 0, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #1a0326 0%, #14001d 100%);
  border: 1px solid rgba(138, 43, 226, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 20px 50px rgba(0,0,0,0.28);
}

.zenithdeck-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03), transparent 20%, transparent 80%, rgba(255,255,255,0.02));
  pointer-events: none;
}

.zenithdeck-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8A2BE2 0%, #6a11d8 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 0 22px rgba(138, 43, 226, 0.38);
}

.zenithdeck-heading {
  margin: 26px 0 10px;
  max-width: 10000px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -3px;
  color: #f3f1ee;
}

.zenithdeck-heading-glow {
  display: block;
  background: linear-gradient(180deg, #f4efff 0%, #d5a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  margin-top: -20px;
}

.zenithdeck-copy {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
  line-height: 1.55;
}

.zenithdeck-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.zenithdeck-metric {
  min-height: 82px;
  padding: 16px 18px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.zenithdeck-metric strong {
  display: block;
  margin-bottom: 6px;
  color: #f5f2f7;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.zenithdeck-metric span {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-transform: uppercase;

  /* GRADIENT */
  background: linear-gradient(90deg, #c383eb, #7700ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* pro Firefox */
  background-clip: text;
  color: transparent;
}

.zenithdeck-frame{
  width: 100%;
  max-width: 1500px;
  margin: 0 auto 28px;
  padding: 18px 20px 0;
}

.finds-search-row{
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 28px;
}

.finds-search{
  flex: 1;
  min-width: 0;
  margin: 0;
}

.filters-btn,
.favorites-btn{
  flex: 0 0 auto;
  margin: 0;
}

.zenithdeck-panel{
  position: relative;
}

.zenithdeck-floating-count{
  position: absolute;
  top: 70px;
  right: 140px;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

#zenithdeck-count-big{
  display: block;
  font-size: 7rem;
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #8A2BE2, #c77dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.zenithdeck-floating-label{
  margin-top: 14px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 980px) {
  .zenithdeck-panel {
    padding: 28px 22px 28px;
    border-radius: 24px;
  }

  .zenithdeck-heading {
    margin-top: 22px;
    letter-spacing: -2px;
  }

  .zenithdeck-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .zenithdeck-frame {
    padding: 16px 12px 0;
  }

  .zenithdeck-panel {
    padding: 22px 16px 22px;
    border-radius: 22px;
  }

  .zenithdeck-pill {
    font-size: 0.72rem;
    padding: 0 12px;
  }

  .zenithdeck-copy {
    font-size: 0.92rem;
  }

  .zenithdeck-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .zenithdeck-heading {
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .zenithdeck-floating-count {
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin: 18px 0 20px;
    text-align: center;
    pointer-events: none;
  }

  #zenithdeck-count-big {
    display: block;
    font-size: clamp(2.8rem, 14vw, 4.2rem);
    line-height: 0.9;
    letter-spacing: -1px;
  }

  .zenithdeck-floating-label {
    margin-top: 8px;
    font-size: 0.72rem;
    letter-spacing: 3px;
  }

  .zenithdeck-panel {
    display: flex;
    flex-direction: column;
  }

  .zenithdeck-heading {
    order: 1;
  }

  .zenithdeck-copy {
    order: 2;
    margin-bottom: 0;
  }

  .zenithdeck-floating-count {
    order: 3;
  }

  .zenithdeck-metrics {
    order: 4;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
  }
}

.settings-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999999999999999999999999999999999999;
}

.settings-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

.settings-drawer-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-header{
  padding: 0;
  font-weight: 800;
  font-size: 2rem;
  color: #eee;
}

.settings-close{
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* overlay za panelem */
.settings-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}

.settings-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

/* settings místo dropdownu = drawer zprava */
.settings-dropdown{
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 100vw);
  height: 100dvh;
 background: rgba(15, 10, 25, 1);
  border-left: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  padding: 28px 20px 24px;
  display: block;              /* už ne display:none */
  transform: translateX(100%);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: transform .3s ease;
  z-index: 999999999999999999999999999999999;
  overflow-y: auto;
  box-shadow: -20px 0 50px rgba(0,0,0,.45);
}

.settings-dropdown.active{
  transform: translateX(0);
  pointer-events: auto;
}

.settings-header{
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;
  padding: 0 0 12px 0;
}

.settings-divider{
  margin: 0 0 18px 0;
}

.settings-dropdown {
    scrollbar-width: none;
}

.settings-dropdown::-webkit-scrollbar {
    display: none;
}

.user-center-container {
  position: relative;
}

.user-center-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.user-center-btn:hover {
  background: rgba(138, 43, 226, 0.2);
}

.user-center-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 100000;
}

.user-center-modal {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 100001;
}

.user-center-modal.open,
.user-center-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.user-center-shell {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0b0118;
  color: #fff;
}

.user-center-topbar {
  height: 110px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.user-center-brand {
  font-size: 1.3rem;
  font-weight: 800;
}

.user-center-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

.user-center-body {
  flex: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start; /* 🔥 DŮLEŽITÝ */
}

.user-center-sidebar {
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  height: 100%; /* 🔥 */
}

.user-center-content {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
  height: 100%;
}

.user-profile-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.user-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  margin: 0 auto;
}

.user-name {
  margin: 0 0 6px;
}

.user-tag {
  color: rgba(255,255,255,0.65);
}

.user-center-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-tab {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}

.user-tab.active {
  background: linear-gradient(135deg, #8A2BE2 0%, #4B0082 100%);
}

.user-tab-panel {
  display: none;
}

.user-tab-panel.active {
  display: block;
}

.user-center-footer {
  height: 70px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 900px) {
  .user-center-body {
    grid-template-columns: 1fr;
  }

  .user-center-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* =========================================================
   USER CENTER — VISUAL UPGRADE
   vlož na konec finds.css
========================================================= */

.user-center-overlay{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 60% at 20% 15%, rgba(138,43,226,0.16), transparent 60%),
    radial-gradient(50% 50% at 85% 80%, rgba(103,58,183,0.14), transparent 60%),
    rgba(3, 2, 8, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
  z-index: 10000;
}

.user-center-overlay.open{
  opacity: 1;
  visibility: visible;
}

.user-center-modal{
  position: fixed;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 10001;
}

.user-center-modal.open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* FULLSCREEN APP STYLE */
.user-center-shell{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: none;

  background:
    radial-gradient(80% 60% at 10% 0%, rgba(138,43,226,0.15), transparent 60%),
    radial-gradient(70% 60% at 90% 100%, rgba(138,43,226,0.12), transparent 60%),
    linear-gradient(180deg, #0b0118, #05010d);

  box-shadow: none;

  transform: none;
}

.user-center-modal.open .user-center-shell{
  transform: translateY(0) scale(1);
}

.user-center-shell::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(138,43,226,0.13), transparent 40%),
    radial-gradient(50% 70% at 100% 100%, rgba(138,43,226,0.10), transparent 45%);
}

.user-center-topbar{
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.user-center-brand{
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #fff;
  text-transform: uppercase;
}

.user-center-close{
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  border-radius: 16px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
  transition: .24s ease;
  display: grid;
  place-items: center;
}

.user-center-close:hover{
  transform: translateY(-2px);
  background: rgba(138,43,226,0.18);
  color: #fff;
  box-shadow: 0 0 20px rgba(138,43,226,0.22);
}

.user-center-body{
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 320px minmax(0,1fr);
  overflow-y: auto;
  scrollbar-width: none;
}

.user-center-sidebar{
  position: relative;
  padding: 22px 18px 22px 22px;
  border-right: 1px solid rgba(255,255,255,0.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.012));
  overflow-y: auto;
  
}

.user-profile-card{
  position: relative;
  overflow: hidden;
  padding: 22px 18px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 12px 30px rgba(0,0,0,0.22);
  margin-bottom: 20px;
}

.user-profile-card::before{
  content: "";
  position: absolute;
  top: -80px;
  left: 100%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,43,226,0.22), transparent 68%);
  pointer-events: none;
}

.user-profile-card img{
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
  border: 2px solid rgba(255,255,255,0.10);
  box-shadow:
    0 0 0 6px rgba(138,43,226,0.12),
    0 0 30px rgba(138,43,226,0.22);
}

.user-profile-card h3{
  font-size: 1.22rem;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.user-profile-card p{
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
}

.user-profile-card .user-badge,
.user-profile-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  background: linear-gradient(135deg, rgba(138,43,226,0.92), rgba(75,0,130,0.92));
  box-shadow: 0 10px 22px rgba(138,43,226,0.20);
}

.user-center-nav{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-center-logout{
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  border: 1px solid rgba(255,80,80,0.18);
  border-radius: 16px;
  background: rgba(255,80,80,0.10);
  color: #ffabab;
  font-size: 0.94rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform .2s ease,
    border-color .22s ease,
    background .22s ease,
    color .22s ease;
}

.user-center-logout:hover{
  transform: translateY(-2px);
  border-color: rgba(255,80,80,0.30);
  background: rgba(255,80,80,0.18);
  color: #fff;
}

.user-tab{
  position: relative;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.025);
  color: rgba(255,255,255,0.68);
  border-radius: 18px;
  padding: 15px 16px 15px 18px;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform .2s ease,
    color .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
  overflow: hidden;
}

.user-tab::before{
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c77dff, #8A2BE2);
  opacity: 0;
  transform: scaleY(.6);
  transition: .22s ease;
}

.user-tab:hover{
  transform: translateX(3px);
  color: #fff;
  border-color: rgba(138,43,226,0.20);
  background: rgba(138,43,226,0.10);
}

.user-tab.active{
  color: #fff;
  border-color: rgba(138,43,226,0.28);
  background:
    linear-gradient(135deg, rgba(138,43,226,0.22), rgba(75,0,130,0.16));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 12px 24px rgba(138,43,226,0.14);
}

.user-tab.active::before{
  opacity: 1;
  transform: scaleY(1);
}

.user-tab-panel{
  display: none;
  animation: userFade .22s ease;
}

.user-tab-panel.active{
  display: block;
}

@keyframes userFade{
  from{
    opacity: 0;
    transform: translateY(8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.user-tab-panel h3{
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: #fff;
}

.user-tab-panel p{
  max-width: 820px;
  color: rgba(255,255,255,0.66);
  line-height: 1.75;
  font-size: 0.98rem;
}

.user-panel-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 32px rgba(0,0,0,0.22);
  padding: 20px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  margin-top: 5px;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
}

.user-panel-card:hover{
  border-color: rgba(138,43,226,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 38px rgba(0,0,0,0.28),
    0 0 24px rgba(138,43,226,0.10);
}

.user-center-footer{
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.48);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255,255,255,0.015);
}

/* trigger button v navbaru */
.user-center-container{
  position: relative;
  margin-left: 12px;
}

.user-center-btn{
  width: 58px;
  height: 51px;
  border: none;
  background: transparent;
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.user-center-btn:hover{
  background: rgba(138,43,226,0.18);
  box-shadow: 0 0 18px rgba(138,43,226,0.15);
}

.user-center-icon-img{
  width: 58px;
  height: 51px;
  object-fit: contain;
  border-radius: 10px;
  padding: 10px;
  transition: transform .28s ease, filter .28s ease;
}

.user-center-btn:hover .user-center-icon-img{
  filter: drop-shadow(0 0 10px rgba(138,43,226,0.35));
}

/* desktop polish */
.user-center-content::-webkit-scrollbar,
.user-center-sidebar::-webkit-scrollbar{
  width: 10px;
}

.user-center-content::-webkit-scrollbar-thumb,
.user-center-sidebar::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, #8A2BE2, #4B0082);
  border-radius: 999px;
}

/* responsive */
@media (max-width: 1100px){
  .user-center-body{
    grid-template-columns: 280px minmax(0,1fr);
  }

  .user-center-shell{
    height: min(900px, calc(100dvh - 34px));
  }
}

@media (max-width: 900px){
  .user-center-modal{
    padding: 10px;
  }

  .user-center-shell{
    width: 100%;
    height: calc(100dvh - 20px);
    border-radius: 24px;
  }

  .user-center-body{
    grid-template-columns: 1fr;
  }

  .user-center-sidebar{
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 16px;
  }

  .user-center-nav{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .user-center-content{
    padding: 18px 16px 20px;
  }

  .user-tab-panel h3{
    font-size: 1.65rem;
  }
}

@media (max-width: 640px){
  .user-center-modal{
    padding: 0;
  }

  .user-center-shell{
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .user-center-topbar{
    min-height: 72px;
    padding: 0 14px 0 16px;
  }

  .user-center-brand{
    font-size: 1rem;
  }

  .user-center-close{
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .user-center-sidebar{
    padding: 14px;
  }

  .user-profile-card{
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .user-profile-card img{
    width: 72px;
    height: 72px;
  }

  .user-center-nav{
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .user-tab{
    padding: 13px 14px;
    font-size: 0.9rem;
    border-radius: 16px;
  }

  .user-center-content{
    padding: 16px 14px 18px;
  }

  .user-tab-panel h3{
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .user-tab-panel p{
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .user-center-footer{
    min-height: 54px;
    padding: 0 14px;
    font-size: 0.74rem;
  }
}

.nav-actions{
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-utility-btn{
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;

  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;

  display: flex;
  align-items: center;
  gap: 8px;

  cursor: pointer;
  transition: all .2s ease;
  color: rgba(255, 255, 255, 0.7); 
}

.nav-utility-btn:hover{
  color: #fff;
  background: rgba(255,255,255,0.04);
}

.nav-account-icon-only {
  width: 44px;
  min-width: 44px;
  padding: 0;
  justify-content: center;
}

.nav-account-icon-only .btn-icon {
  width: 19px;
  height: 19px;
}

body.light-theme .finds-stats-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(138,43,226,0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,244,255,0.98)) !important;
  border-color: rgba(138,43,226,0.16) !important;
  box-shadow: 0 22px 55px rgba(50,25,90,0.12), inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

body.light-theme .finds-stats-copy h1,
body.light-theme .finds-stat-card strong {
  color: #17121f !important;
}

body.light-theme .finds-stats-copy p,
body.light-theme .finds-stat-label,
body.light-theme .finds-stat-card small {
  color: rgba(23,18,31,0.58) !important;
}

body.light-theme .finds-stat-card {
  background: rgba(255,255,255,0.72) !important;
  border-color: rgba(138,43,226,0.12) !important;
}

body.light-theme .finds-hero-search {
  background: rgba(255,255,255,0.82) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: rgba(23,18,31,0.42) !important;
}

body.light-theme .finds-hero-search input {
  color: #17121f !important;
}

body.light-theme .finds-hero-search input::placeholder {
  color: rgba(23,18,31,0.40) !important;
}

body.light-theme .finds-hero-search-clear {
  background: rgba(138,43,226,0.08) !important;
  color: rgba(23,18,31,0.68) !important;
}

body.light-theme .finds-hero-search-loader {
  border-color: rgba(138,43,226,0.16) !important;
  border-top-color: #7c3aed !important;
}

/* ICON */
.btn-icon{
  color: rgba(255, 255, 255, 0.7); 
  width: 18px;
  height: 18px;

  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;

  opacity: 0.9;
}

/* ===== SETTINGS DRAWER VISUAL REWORK — ONLY DRAWER, NO JS CHANGE ===== */

#settings-overlay{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 60% at 20% 15%, rgba(138,43,226,0.12), transparent 60%),
    radial-gradient(50% 50% at 85% 80%, rgba(103,58,183,0.10), transparent 60%),
    rgba(3, 2, 8, 0.46);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 99998;
}

#settings-overlay.active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#settings-dropdown{
  position: fixed;
  top: 0;
  right: 0;
  width: 420px; /* můžeš upravit */
  height: 100dvh; /* 🔥 CELÁ VÝŠKA */
  max-height: 100dvh;

  border-radius: 0; /* 🔥 žádný zaoblení */
  border-left: 1px solid rgba(255,255,255,0.08);

  background:
    radial-gradient(80% 60% at 10% 0%, rgba(138,43,226,0.12), transparent 60%),
    radial-gradient(70% 60% at 90% 100%, rgba(138,43,226,0.08), transparent 60%),
    linear-gradient(180deg, rgba(20,8,32,0.96), rgba(10,5,18,0.98));

  box-shadow:
    -30px 0 80px rgba(0,0,0,0.5), /* 🔥 stín doleva */
    0 0 0 1px rgba(138,43,226,0.08) inset;

  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%); /* 🔥 slide from right */
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    opacity .2s ease;

  z-index: 99999999999999999999999999999;
}

#settings-dropdown.active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

#settings-dropdown::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(138,43,226,0.10), transparent 40%),
    radial-gradient(50% 70% at 100% 100%, rgba(138,43,226,0.08), transparent 45%);
}

/* top bar */
#settings-dropdown .settings-drawer-top{
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#settings-dropdown .settings-header{
  padding: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .2px;
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#settings-dropdown .settings-close{
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  border-radius: 14px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  transition: .22s ease;
}

#settings-dropdown .settings-close:hover{
  transform: translateY(-1px) rotate(90deg);
  background: rgba(138,43,226,0.18);
  color: #fff;
  box-shadow: 0 0 18px rgba(138,43,226,0.18);
}

/* sections */
#settings-dropdown .settings-section{
  padding: 14px 16px;
}

#settings-dropdown .settings-label{
  padding: 0 0 10px 4px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

#settings-dropdown .settings-divider{
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 2px 16px;
}

/* current selection rows */
#settings-dropdown .selection-box{
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 10px 24px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: .22s ease;
}

#settings-dropdown .selection-box:hover{
  transform: translateY(-1px);
  border-color: rgba(138,43,226,0.22);
  background:
    linear-gradient(180deg, rgba(138,43,226,0.10), rgba(255,255,255,0.03));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 28px rgba(0,0,0,0.22),
    0 0 20px rgba(138,43,226,0.10);
}

#settings-dropdown .selection-content{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#settings-dropdown .agent-icon-small,
#settings-dropdown .option-icon,
#settings-dropdown .item-icon-box{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  border: 1px solid rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1.1rem;
  margin-right: 10px;
}

#settings-dropdown .agent-icon-small{
  object-fit: cover;
  padding: 6px; 
  margin-right: 0px
}

#settings-dropdown .selected-preference,
#settings-dropdown .selected-preference-currency{
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#settings-dropdown .arrow-icon{
  color: rgba(255,255,255,0.42);
  font-size: 1rem;
  transition: .2s ease;
}

#settings-dropdown .selection-box:hover .arrow-icon{
  color: #fff;
  transform: translateX(2px);
}

/* internal option lists — keep existing open/close logic intact */
#settings-dropdown .collapsible-list{
  margin-top: 10px;
  padding: 0;
  gap: 8px;
}

#settings-dropdown .currency-option-item,
#settings-dropdown .agent-option-item,
#settings-dropdown .theme-option-item,
#settings-dropdown .language-option-item,
#settings-dropdown .collapsible-list > *{
  border-radius: 14px;
}

/* scrollbar */
#settings-dropdown::-webkit-scrollbar{
  width: 10px;
}

#settings-dropdown::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, #8A2BE2, #4B0082);
  border-radius: 999px;
}

@media (max-width: 640px){
  #settings-dropdown{
    top: 10px;
    right: 10px;
    width: min(410px, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    border-radius: 24px;
  }
} 

#settings-dropdown #agent-select-list img{
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}

.user-profile-card{
  position: relative;
}

.user-avatar{
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.user-avatar:hover{
  transform: scale(1.03);
  box-shadow: 0 0 0 6px rgba(138,43,226,0.12);
}

.avatar-change-btn{
  margin-top: 8px;
  margin-bottom: 14px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.avatar-reset-btn{
  margin-top: 8px;
  margin-bottom: 14px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.avatar-change-btn:hover{
  background: rgba(138,43,226,0.16);
  border-color: rgba(138,43,226,0.22);
  color: #fff;
}

.product-actions-row {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
}

.product-actions-row .btn-view-full {
    flex: 1;
    width: auto;
    margin: 0;
}

.btn-like {
    width: 52px;
    min-width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 13px;
    background:
      linear-gradient(180deg, rgba(94,39,137,0.38), rgba(61,24,86,0.64));
    color: rgba(9,5,13,0.9);
    font-size: 1.12rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      0 10px 22px rgba(0,0,0,0.16);
}

.btn-like:hover {
    transform: translateY(-2px);
    color: #ff5abf;
    border-color: rgba(255,90,191,0.22);
    background:
      linear-gradient(180deg, rgba(138,43,226,0.34), rgba(255,90,191,0.16));
}

.btn-like.active {
    color: #ff4d88;
    background: rgba(255, 77, 136, 0.14);
}

.user-profile-card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.profile-edit-toggle{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  z-index: 2;
}

.profile-edit-menu{
  width: 100%;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);

  display: none;
  flex-direction: column;
  gap: 10px;

  position: static;
  background: transparent;
  border: none;
  box-shadow: none;
}

.profile-edit-menu.open{
  display: flex;
}

.profile-edit-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: left;
}

.profile-edit-field span{
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.profile-edit-field input{
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 0 14px;
  outline: none;
}

.profile-edit-actions{
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
}

.profile-menu-btn{
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.profile-menu-btn:hover{
  background: rgba(138,43,226,0.18);
}

.profile-menu-btn.danger:hover{
  background: rgba(255,80,80,0.18);
}

.user-center-shell,
.user-center-body,
.user-center-sidebar,
.user-center-content,
.user-profile-card,
.user-center-nav,
.user-tab-panel {
  min-width: 0;
  max-width: 100%;
}

.user-center-shell,
.user-center-sidebar,
.user-center-content {
  overflow-x: hidden;
}

/* =========================
   FAVORITES — BETTER LAYOUT
========================= */

.favorites-panel{
  width: 100%;
  max-width: 1500px;
  background:
    linear-gradient(180deg, rgba(22, 8, 35, 0.92), rgba(14, 5, 24, 0.96));
  border: 1px solid rgba(138, 43, 226, 0.18);
  border-radius: 28px;
  padding: 28px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.favorites-clear-btn{
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.favorites-clear-btn:hover{
  background: rgba(255, 90, 191, 0.12);
  border-color: rgba(255, 90, 191, 0.22);
  color: #ff7ac9;
}

.products-container-favorite-grid{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#favorites-modal-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

#favorites-modal-grid .product-card{
  width: 100%;
  margin-top: 0;
  height: 100%;
}

#favorites-modal-grid .product-info{
  flex: 1;
}

.favorites-empty-state{
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.025);
  margin-bottom: 12px;
}

.favorites-empty-icon{
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 2rem;
  color: #ff5abf;
  background: rgba(255,90,191,0.08);
  margin-bottom: 18px;
}

.favorites-empty-title{
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.favorites-empty-sub{
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.favorites-back-btn{
  top: 24px;
  right: 32px;
}

@media (max-width: 900px){

  .favorites-clear-btn{
    width: 100%;
  }

  #favorites-modal-grid{
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px){

  #favorites-modal-grid{
    grid-template-columns: 1fr;
  }
}

.user-center-sidebar {
  position: sticky;
  top: 0px;
  height: 100%;
}

.user-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

/* === USER CENTER ACTIVE STATE === */
.user-center-open .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

html, body {
  overflow: auto;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;              /* Chrome, Safari */
}

/* schovej scrollbar VE VŠECHNO v modalu */
.modal,
.modal * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal::-webkit-scrollbar,
.modal *::-webkit-scrollbar {
  display: none;
}

.user-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.user-stat {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.user-stat span {
  display: block;
  font-size: 18px;
  font-weight: bold;
}

.user-preferences {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pref-item {
  display: flex;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  padding: 12px;
  border-radius: 10px;
}

.user-center-shell {
  height: 100%; /* nebo 100vh */
  display: flex;
  flex-direction: column;
}

.user-center-body {
  flex: 1;
  display: flex;
  align-items: stretch; /* 🔥 důležitý */
}

.user-center-sidebar {
  width: 280px;
  flex-shrink: 0;
  height: 100%; /* 🔥 */
}

.user-center-content {
  flex: 1;
  height: 100%; /* 🔥 */
  overflow-y: auto;
}

.user-center-content {
  overflow-y: auto;

  /* Chrome, Edge, Safari */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE */
}

.user-center-content::-webkit-scrollbar {
  display: none;               /* Chrome */
}

.user-tab-panel {
  width: 100%;
}

.favorites-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.featured-card img {
  width: 200px;
}

.featured-info h2 {
  font-size: 28px;
}

.featured-info p {
  opacity: 0.7;
}

.recommended-item {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.recommended-item img {
  width: 50px;
}

/* CARD WRAPPER */
.nebula-shell {
  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 32px rgba(0,0,0,0.22);
    
  border-radius: 20px;
  padding: 24px;
  width: 100%;


  box-shadow:
    0 0 80px rgba(124,58,237,0.15),
    inset 0 0 40px rgba(255,255,255,0.02);
}

/* HEADER */
.nebula-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.nebula-head h3 {
  font-size: 16px;
}

.nebula-head p {
  font-size: 13px;
  color: #9ca3af;
}

.nebula-link {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 10px;
  color: #c4b5fd;
  cursor: pointer;
}

/* CONTENT */
.nebula-core {
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px;
  border-radius: 16px;

  background: transparent;

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    inset 0 0 30px rgba(255,255,255,0.03),
    0 0 50px rgba(124,58,237,0.12);
}

/* BADGE */
.nebula-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(90deg, #9333ea, #a855f7);
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 999px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 800;

  box-shadow: 0 0 15px rgba(168,85,247,0.6);
}

/* RATING */
.nebula-score {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(20, 8, 42, 0.9);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;

  border: 1px solid rgba(255,255,255,0.08);
}

/* IMAGE */
.nebula-art {
  width: 160px;
  height: 160px;
  padding: 20px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 40px;

  box-shadow:
    0 0 25px rgba(124,58,237,0.2),
    inset 0 0 10px rgba(255,255,255,0.05);
}

/* INFO */
.nebula-meta {
  max-width: 400px;
}

.nebula-flags {
  margin-bottom: 10px;
}

.nebula-flags span {
  background: rgba(124,58,237,0.15);
  color: #c4b5fd;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  margin-right: 6px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 800;

  border: 1px solid rgba(168,85,247,0.2);
}

.nebula-meta h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.nebula-meta p {
  color: #9ca3af;
  font-size: 14px;
}

/* BUTTON */
.nebula-cta {
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  color: white;

  background: var(--main-gradient);

  cursor: pointer;
  transition: 0.2s;
}

.nebula-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 25px rgba(236,72,153,0.7),
    0 0 60px rgba(147,51,234,0.5);
}

  /* STACK */
.nebula-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ITEM */
.nebula-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 24px;
  border-radius: 16px;

  background: transparent;

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.02),
    0 0 40px rgba(124,58,237,0.1);

  transition: 0.25s;
}

.nebula-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 60px rgba(124,58,237,0.25);
}

/* menší obrázek aby se vešly 3 */
.nebula-item .nebula-art {
  width: 120px;
  height: 120px;
  padding: 10px;
}

/* menší text */
.nebula-item h2 {
  font-size: 20px;
}

.nebula-item p {
  font-size: 13px;
}

.nebula-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start; /* 👈 důležité (ne stretch) */
}

.nebula-left,
.nebula-right {
  display: flex;
  flex-direction: column;
}

/* ===== USER CENTER STATS ===== */

.stats-shell {
  padding: 24px;
  border-radius: 20px;

  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 12px 32px rgba(0,0,0,0.22);

  box-shadow:
    0 0 60px rgba(124,58,237,0.15),
    inset 0 0 30px rgba(255,255,255,0.02);

  margin-bottom: 20px;
}

.stats-title {
  font-size: 18px;
  margin-bottom: 18px;
}

/* grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* card */
.stat-card {
  padding: 20px;
  border-radius: 16px;

  background: transparent;

  border: 1px solid rgba(255,255,255,0.06);

  text-align: center;

  transition: 0.25s;

  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.02),
    0 0 30px rgba(124,58,237,0.08);
}

/* hover efekt */
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 50px rgba(124,58,237,0.25);
}

/* icon */
.stat-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

/* číslo */
.stat-value {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* label */
.stat-label {
  font-size: 12px;
  color: #9ca3af;
}

/* ===== USER CENTER PREFERENCES ===== */

.prefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pref-item {
  display: flex;
  flex-direction: column;
}

.pref-item label {
  font-size: 12px;
  margin-bottom: 6px;
  color: #9ca3af;
}

/* select styl */
.pref-item select {
  padding: 10px 12px;
  border-radius: 10px;

  background:
    linear-gradient(145deg, #14082a, #0a0418);

  border: 1px solid rgba(255,255,255,0.08);
  color: white;

  outline: none;
  cursor: pointer;

  transition: 0.2s;
}

/* hover / focus glow */
.pref-item select:hover,
.pref-item select:focus {
  border-color: #a855f7;
  box-shadow:
    0 0 10px rgba(168,85,247,0.4);
}

.dashboard-wrapper {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.modal.is-loading .about-product-section,
.modal.is-loading .similar-section,
.modal.is-loading .recently-section {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.modal.is-loading .modal-content-full > *:not(#modal-loader):not(.close-modal) {
  display: none;
}

.modal.is-loading {
  overflow: hidden;
}

/* =========================================================
   FINDS HERO — DARK DEFAULT + LIGHT THEME VARIABLES
   Paste this at the end of finds.css
========================================================= */

/* DARK MODE DEFAULT */
:root {
  --hero-page-bg:
    radial-gradient(circle at 12% 0%, rgba(138, 43, 226, 0.28), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(189, 115, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #16051f 0%, #100219 48%, #08010f 100%);

  --hero-panel-bg:
    radial-gradient(circle at 86% 24%, rgba(166, 72, 255, 0.26), transparent 34%),
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.06), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(138, 43, 226, 0.20), transparent 46%),
    linear-gradient(135deg, rgba(32, 15, 46, 0.96), rgba(19, 5, 31, 0.96) 52%, rgba(35, 12, 54, 0.94));

  --hero-panel-border: rgba(255, 255, 255, 0.10);
  --hero-panel-shadow: 0 30px 90px rgba(0, 0, 0, 0.45), 0 0 70px rgba(138, 43, 226, 0.14);

  --hero-title: #ffffff;
  --hero-title-gradient: linear-gradient(135deg, #8a2be2 0%, #b563ff 55%, #d9adff 100%);
  --hero-copy: rgba(255, 255, 255, 0.68);

  --hero-metric-bg: rgba(255, 255, 255, 0.055);
  --hero-metric-border: rgba(255, 255, 255, 0.10);
  --hero-metric-title: #ffffff;
  --hero-metric-label: #bb78ff;

  --hero-count-bg:
    radial-gradient(circle, rgba(160, 72, 255, 0.18) 0%, rgba(255, 255, 255, 0.055) 56%, transparent 74%);
  --hero-count-ring: rgba(255, 255, 255, 0.12);
  --hero-count-label: rgba(255, 255, 255, 0.58);
  --hero-count-gradient: linear-gradient(135deg, #8a2be2 0%, #c179ff 100%);

  --hero-grid-opacity: 0.28;
  --hero-grid-line: rgba(255, 255, 255, 0.32);
}

/* LIGHT MODE OVERRIDE */
body.light-theme {
  --hero-page-bg:
    radial-gradient(circle at 14% 0%, rgba(138, 43, 226, 0.18), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(189, 115, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #f3e8ff 0%, #fbf8ff 46%, #efe1ff 100%);

  --hero-panel-bg:
    radial-gradient(circle at 88% 24%, rgba(180, 95, 255, 0.34), transparent 34%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.94), transparent 33%),
    radial-gradient(circle at 50% 100%, rgba(138, 43, 226, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 235, 255, 0.9) 48%, rgba(232, 205, 255, 0.78));

  --hero-panel-border: rgba(255, 255, 255, 0.72);
  --hero-panel-shadow: 0 28px 80px rgba(138, 43, 226, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --hero-title: #17111f;
  --hero-title-gradient: linear-gradient(135deg, #6412c9 0%, #8a2be2 48%, #b663ff 100%);
  --hero-copy: rgba(23, 17, 31, 0.72);

  --hero-metric-bg: rgba(255, 255, 255, 0.54);
  --hero-metric-border: rgba(255, 255, 255, 0.68);
  --hero-metric-title: #17111f;
  --hero-metric-label: #a45cf2;

  --hero-count-bg:
    radial-gradient(circle, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.28) 54%, transparent 72%);
  --hero-count-ring: rgba(255, 255, 255, 0.38);
  --hero-count-label: rgba(23, 17, 31, 0.64);
  --hero-count-gradient: linear-gradient(135deg, #7020e8 0%, #b65dff 100%);

  --hero-grid-opacity: 0.52;
  --hero-grid-line: rgba(255, 255, 255, 0.42);
}


/* hero frame */
.zenithdeck-frame {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto 32px;
  padding: 0 20px;
  position: relative;
}

/* main hero panel */
.zenithdeck-panel {
  position: relative;
  overflow: hidden;
  min-height: 425px;
  padding: 66px 64px 36px;
  border-radius: 28px;

  background: var(--hero-panel-bg);
  border: 1px solid var(--hero-panel-border);
  box-shadow: var(--hero-panel-shadow);

  color: var(--hero-title);
  isolation: isolate;
}

/* soft blur layer */
.zenithdeck-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  pointer-events: none;

  background:
    radial-gradient(circle at 88% 28%, rgba(162, 64, 255, 0.18), transparent 30%),
    radial-gradient(circle at 8% 100%, rgba(177, 112, 255, 0.18), transparent 32%);
}

/* subtle grid / rings */
.zenithdeck-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--hero-grid-opacity);

  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px),
    radial-gradient(circle at 86% 25%, transparent 0 95px, var(--hero-grid-line) 96px 97px, transparent 98px 155px, var(--hero-grid-line) 156px 157px, transparent 158px);

  background-size: 38px 38px, 38px 38px, auto;

  mask-image:
    radial-gradient(circle at 0% 100%, black 0 19%, transparent 35%),
    radial-gradient(circle at 100% 100%, black 0 16%, transparent 32%),
    radial-gradient(circle at 86% 25%, black 0 28%, transparent 42%);
  mask-composite: add;
}

/* big count circle */
.zenithdeck-floating-count {
  position: absolute;
  top: 58px;
  right: 92px;
  width: 235px;
  height: 235px;
  border-radius: 999px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: var(--hero-count-bg);
  box-shadow:
    0 0 90px rgba(166, 72, 255, 0.24),
    inset 0 0 0 1px var(--hero-count-ring);

  isolation: isolate;
}

.zenithdeck-floating-count::before,
.zenithdeck-floating-count::after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: inherit;
  border: 1px solid var(--hero-count-ring);
  opacity: 0.75;
}

.zenithdeck-floating-count::after {
  inset: -72px;
  opacity: 0.38;
}

#zenithdeck-count-big {
  font-size: clamp(5rem, 8vw, 7.7rem);
  line-height: 0.82;
  font-weight: 950;
  letter-spacing: -7px;

  background: var(--hero-count-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 0 18px 36px rgba(138, 43, 226, 0.22);
}

.zenithdeck-floating-label {
  margin-top: 22px;
  font-size: 1.1rem;
  font-weight: 950;
  letter-spacing: 9px;
  color: var(--hero-count-label);
}

/* heading */
.zenithdeck-heading {
  max-width: 980px;
  position: relative;
  z-index: 2;

  font-size: clamp(3.8rem, 7vw, 6.1rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -5px;
  color: var(--hero-title);
}

.zenithdeck-heading-glow {
  display: block;
  background: var(--hero-title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zenithdeck-copy {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin-top: 28px;

  color: var(--hero-copy);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
}

/* metric cards */
.zenithdeck-metrics {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;

  margin-top: 56px;
}

.zenithdeck-metric {
  min-height: 82px;
  padding: 22px 24px;
  border-radius: 22px;

  background: var(--hero-metric-bg);
  border: 1px solid var(--hero-metric-border);

  box-shadow:
    0 16px 40px rgba(138, 43, 226, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.zenithdeck-metric:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 43, 226, 0.34);
  box-shadow:
    0 22px 50px rgba(138, 43, 226, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.zenithdeck-metric strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 950;
  color: var(--hero-metric-title);
}

.zenithdeck-metric span {
  display: block;
  margin-top: 11px;
  font-size: 0.82rem;
  font-weight: 950;
  color: var(--hero-metric-label);
}

/* responsive */
@media (max-width: 1050px) {
  .zenithdeck-panel {
    padding: 52px 34px 32px;
  }

  .zenithdeck-floating-count {
    position: relative;
    top: auto;
    right: auto;
    width: 170px;
    height: 170px;
    margin-left: auto;
    margin-bottom: 18px;
  }

  #zenithdeck-count-big {
    font-size: 5.2rem;
  }

  .zenithdeck-floating-label {
    font-size: 0.85rem;
    letter-spacing: 6px;
  }

  .zenithdeck-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .zenithdeck-frame {
    padding: 0 14px;
  }

  .zenithdeck-panel {
    min-height: auto;
    padding: 34px 22px 24px;
    border-radius: 24px;
  }

  .zenithdeck-heading {
    font-size: clamp(2.6rem, 13vw, 4rem);
    letter-spacing: -3px;
  }

  .zenithdeck-copy {
    margin-top: 20px;
    font-size: 0.95rem;
  }

  .zenithdeck-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 34px;
  }

  .zenithdeck-floating-count {
    width: 135px;
    height: 135px;
  }

  #zenithdeck-count-big {
    font-size: 4.1rem;
    letter-spacing: -4px;
  }
}

/* =========================
   AUTH POPUP — REPDATABASE
========================= */

body.auth-lock {
  overflow: hidden;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 999999999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.auth-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(138,43,226,0.22), transparent 35%),
    radial-gradient(circle at 80% 90%, rgba(255,90,191,0.12), transparent 35%),
    rgba(3, 0, 8, 0.78);
  backdrop-filter: blur(14px);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(460px, 94vw);
  border-radius: 30px;
  padding: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(138,43,226,0.22), transparent 55%),
    radial-gradient(100% 80% at 100% 100%, rgba(255,90,191,0.10), transparent 55%),
    linear-gradient(180deg, rgba(28,12,45,0.96), rgba(12,5,22,0.98));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 35px 100px rgba(0,0,0,0.55),
    0 0 50px rgba(138,43,226,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.22s ease;
}

.auth-card button,
.auth-card input,
.auth-card label {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.auth-modal.open .auth-card {
  transform: translateY(0) scale(1);
}

.auth-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  filter: blur(35px);
  opacity: 0.42;
  pointer-events: none;
}

.auth-glow-one {
  top: -70px;
  right: -60px;
  background: rgba(138,43,226,0.75);
}

.auth-glow-two {
  bottom: -90px;
  left: -60px;
  background: rgba(255,90,191,0.35);
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
  transition: 0.22s ease;
  z-index: 2;
}

.auth-close:hover {
  transform: translateY(-2px);
  background: rgba(138,43,226,0.20);
  color: #fff;
  box-shadow: 0 0 24px rgba(138,43,226,0.22);
}

.auth-brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.auth-logo-dot {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--main-gradient);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: 0 16px 35px rgba(138,43,226,0.35);
}

.auth-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}

.auth-card h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.auth-subtitle {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.66);
  line-height: 1.65;
  font-size: 0.94rem;
  margin: 0 0 20px;
  max-width: 360px;
}

.auth-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 18px;
}

.auth-tab {
  height: 44px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,0.62);
  font-weight: 900;
  transition: 0.22s ease;
}

.auth-tab.active {
  background: var(--main-gradient);
  color: #fff;
  box-shadow: 0 12px 28px rgba(138,43,226,0.28);
}

.auth-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-field > span {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}

.auth-input-wrap {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0 12px;
  transition: 0.22s ease;
}

.auth-input-wrap:focus-within {
  border-color: rgba(138,43,226,0.55);
  box-shadow: 0 0 0 5px rgba(138,43,226,0.12);
  background: rgba(255,255,255,0.075);
}

.auth-input-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(138,43,226,0.16);
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
}

.auth-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.auth-input-wrap input::placeholder {
  color: rgba(255,255,255,0.32);
}

.auth-password-toggle {
  border: none;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.78);
  border-radius: 10px;
  height: 34px;
  padding: 0 10px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.2s ease;
}

.auth-password-toggle:hover {
  background: rgba(138,43,226,0.18);
  color: #fff;
}

.auth-hint {
  margin-top: -2px;
  color: rgba(255,255,255,0.48);
  font-size: 0.82rem;
  line-height: 1.5;
}

.auth-primary-btn,
.auth-secondary-btn,
.auth-danger-btn {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-weight: 950;
  font-size: 0.95rem;
  transition: 0.24s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-primary-btn {
  margin-top: 4px;
  background: var(--main-gradient);
  color: #fff;
  box-shadow:
    0 16px 35px rgba(138,43,226,0.28),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.auth-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 42px rgba(138,43,226,0.36),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.auth-secondary-btn {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.08);
}

.auth-secondary-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.auth-danger-btn {
  background: rgba(255,80,80,0.12);
  color: #ff8b8b;
  border: 1px solid rgba(255,80,80,0.18);
}

.auth-danger-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,80,80,0.18);
}

.auth-btn-loader {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  display: none;
  animation: authSpin 0.75s linear infinite;
}

.auth-primary-btn.is-loading .auth-btn-loader {
  display: inline-block;
}

.auth-primary-btn.is-loading .auth-btn-text {
  opacity: 0.75;
}

@keyframes authSpin {
  to {
    transform: rotate(360deg);
  }
}

.auth-signed-in {
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.auth-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0,255,120,0.18), rgba(138,43,226,0.22));
  border: 1px solid rgba(255,255,255,0.08);
  color: #00ff7b;
  font-size: 2rem;
  font-weight: 950;
  margin-bottom: 4px;
}

.auth-signed-title {
  font-size: 1.3rem;
  font-weight: 950;
}

.auth-signed-email {
  color: rgba(255,255,255,0.62);
  font-weight: 700;
  margin-bottom: 8px;
  word-break: break-word;
}

.auth-message {
  position: relative;
  z-index: 1;
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 700;
}

.auth-message.show {
  display: block;
}

.auth-message.success {
  color: #9dffc8;
  background: rgba(0,255,120,0.10);
  border: 1px solid rgba(0,255,120,0.16);
}

.auth-message.error {
  color: #ffabab;
  background: rgba(255,80,80,0.10);
  border: 1px solid rgba(255,80,80,0.16);
}

#user-center-toggle.is-logged-in {
  background: transparent;
  border-color: rgba(255,255,255,0.08);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* Light theme support */
body.light-theme .auth-backdrop {
  background:
    radial-gradient(circle at 20% 10%, rgba(138,43,226,0.16), transparent 35%),
    rgba(247,243,255,0.72);
}

body.light-theme .auth-card {
  color: #17121f;
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(138,43,226,0.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,247,255,0.98));
  border: 1px solid rgba(138,43,226,0.14);
  box-shadow: 0 35px 100px rgba(50,25,90,0.18);
}

.auth-logo-clean {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

body.light-theme .auth-kicker,
body.light-theme .auth-subtitle,
body.light-theme .auth-field > span,
body.light-theme .auth-hint,
body.light-theme .auth-signed-email {
  color: rgba(23,18,31,0.58);
}

body.light-theme .auth-tabs,
body.light-theme .auth-input-wrap,
body.light-theme .auth-secondary-btn {
  background: rgba(138,43,226,0.06);
  border-color: rgba(138,43,226,0.12);
}

body.light-theme .auth-input-wrap input {
  color: #17121f;
}

body.light-theme .auth-input-wrap input::placeholder {
  color: rgba(23,18,31,0.34);
}

body.light-theme .auth-close,
body.light-theme .auth-password-toggle {
  background: rgba(138,43,226,0.08);
  color: #17121f;
}

body.light-theme .auth-secondary-btn {
  color: #17121f;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 22px;
    border-radius: 24px;
  }

  .auth-card h2 {
    font-size: 1.65rem;
  }

  .auth-logo-dot {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .auth-input-wrap,
  .auth-primary-btn,
  .auth-secondary-btn,
  .auth-danger-btn {
    height: 50px;
  }
}

/* === ONLY ZENITHDECK PANEL BACKGROUND UPGRADE === */

.zenithdeck-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(circle at 82% 24%, rgba(160, 70, 255, 0.34), transparent 28%),
    radial-gradient(circle at 14% 85%, rgba(138, 43, 226, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(20, 5, 38, 0.98), rgba(39, 10, 70, 0.92));

  border: 1px solid rgba(190, 120, 255, 0.22);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    0 0 55px rgba(138, 43, 226, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

/* glow uvnitř panelu */
.zenithdeck-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  pointer-events: none;

  background:
    radial-gradient(circle at 88% 28%, rgba(177, 89, 255, 0.32), transparent 24%),
    radial-gradient(circle at 6% 100%, rgba(118, 35, 210, 0.26), transparent 31%),
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.035) 45%, transparent 72%);
}

/* grid + kruhy jen v panelu */
.zenithdeck-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;

  background-image:
    linear-gradient(rgba(255,255,255,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.11) 1px, transparent 1px),
    radial-gradient(circle at 86% 25%, transparent 0 92px, rgba(195,130,255,0.25) 94px 96px, transparent 98px),
    radial-gradient(circle at 86% 25%, transparent 0 138px, rgba(195,130,255,0.15) 140px 142px, transparent 144px),
    radial-gradient(circle at 86% 25%, transparent 0 184px, rgba(195,130,255,0.09) 186px 188px, transparent 190px);

  background-size:
    38px 38px,
    38px 38px,
    100% 100%,
    100% 100%,
    100% 100%;
}

/* trochu lepší orb okolo čísla */
.zenithdeck-floating-count {
  background:
    radial-gradient(circle, rgba(162, 72, 255, 0.22) 0%, rgba(138,43,226,0.08) 55%, transparent 73%);

  box-shadow:
    0 0 80px rgba(138,43,226,0.22),
    inset 0 0 0 1px rgba(200,140,255,0.20);
}

.zenithdeck-floating-count::before,
.zenithdeck-floating-count::after {
  border-color: rgba(200,140,255,0.18);
}

/* glass boxy dole */
.zenithdeck-metric {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.032));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 35px rgba(0,0,0,0.16);
}

.zenithdeck-metric:hover {
  transform: translateY(-4px);
  border-color: rgba(190,120,255,0.32);
  box-shadow:
    0 22px 55px rgba(138,43,226,0.16),
    inset 0 1px 0 rgba(255,255,255,0.13);
}

/* === ODSTRANĚNÍ VŠECH ČTVERCŮ A KRUHŮ V ZENITHDECK PANELU === */

/* odstraní grid + kruhy z panel overlay */
.zenithdeck-panel::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

/* odstraní kruhový glow kolem čísla */
.zenithdeck-floating-count {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* odstraní velké ring kruhy okolo čísla */
.zenithdeck-floating-count::before,
.zenithdeck-floating-count::after {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.zenithdeck-floating-count {
  right: 130px; /* větší číslo = posune se víc doleva */
  width: 260px;
}

#zenithdeck-count-big {
  display: inline-block;
  padding-right: 0.08em;
  letter-spacing: -3px;
}

.zenithdeck-floating-count {
  right: 130px;
  width: 270px;
  height: 270px;
  padding-bottom: 12px;
}

#zenithdeck-count-big {
  line-height: 1;
  padding-bottom: 4px;
}

.zenithdeck-floating-label {
  line-height: 1.25;
  margin-top: 8px;
}

/* === MODAL SPEC CARDS - same background as product-info === */
.spec-card {
  position: relative;
  overflow: visible;

  background: rgba(255, 255, 255, 0.035);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.025);

  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
}

.spec-card:hover,
.spec-card:focus-within {
  z-index: 20;
}

.spec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.075),
    rgba(255,255,255,0.015) 45%,
    rgba(138,43,226,0.035)
  );

  opacity: 0.75;
}

.spec-card > * {
  position: relative;
  z-index: 1;
}

.spec-info {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.55);
  cursor: help;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  transition: 0.2s ease;
}

.spec-info::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: max-content;
  max-width: 230px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(11, 4, 24, 0.96);
  box-shadow: 0 14px 35px rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.84);
  font-size: 0.74rem;
  line-height: 1.45;
  font-style: normal;
  font-weight: 700;
  text-align: left;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: 0.18s ease;
}

.spec-info::before {
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  right: 7px;
  width: 9px;
  height: 9px;
  background: rgba(11, 4, 24, 0.96);
  border-left: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.10);
  opacity: 0;
  transform: translateY(-4px) rotate(45deg);
  pointer-events: none;
  transition: 0.18s ease;
}

.spec-info:hover,
.spec-info:focus-visible {
  background: rgba(168,85,247,0.16);
  border-color: rgba(168,85,247,0.30);
  color: #fff;
  outline: none;
}

.spec-info:hover::after,
.spec-info:hover::before,
.spec-info:focus-visible::after,
.spec-info:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.spec-info-card::before,
.spec-info-card::after {
  content: none;
}

.spec-popover {
  position: absolute;
  top: 42px;
  right: 12px;
  z-index: 30;
  width: 276px;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background:
    linear-gradient(135deg, rgba(43, 15, 65, 1), rgba(30, 9, 48, 1)),
    #1e0930;
  color: #ffffff;
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: left;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.spec-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 14px;
  height: 14px;
  background: #2a0f40;
  border-left: 1px solid rgba(168, 85, 247, 0.22);
  border-top: 1px solid rgba(168, 85, 247, 0.22);
  transform: rotate(45deg);
}

.spec-info-card:hover + .spec-popover,
.spec-info-card:focus-visible + .spec-popover,
.spec-popover:hover {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.spec-popover-title,
.batch-tier-title {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.spec-popover-copy,
.batch-tier-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
}

.batch-tier-copy {
  margin-bottom: 14px;
}

.rating-popover-bar {
  position: relative;
  z-index: 1;
  height: 6px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.rating-popover-bar span {
  display: block;
  width: var(--rating-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd000, #a855f7);
  box-shadow: 0 0 18px rgba(255, 208, 0, 0.24);
}

.rating-popover-labels {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
  font-weight: 900;
}

.batch-tier-scale {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
}

.batch-tier-scale span {
  height: 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.batch-tier-scale span:nth-child(2) {
  background: rgba(255, 255, 255, 0.12);
}

.batch-tier-scale span:nth-child(3) {
  background: rgba(255, 255, 255, 0.12);
}

.batch-tier-popover.is-budget .batch-tier-scale span:nth-child(1),
.batch-tier-popover.is-good .batch-tier-scale span:nth-child(2),
.batch-tier-popover.is-top .batch-tier-scale span:nth-child(3) {
  background: linear-gradient(90deg, #8a2be2, #c084fc);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.42);
}

.batch-tier-labels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}

.batch-tier-budget,
.batch-tier-good,
.batch-tier-top {
  color: rgba(255, 255, 255, 0.42);
}

.batch-tier-good {
  position: relative;
}

.batch-tier-top {
  text-align: right;
}

.batch-tier-popover.is-budget .batch-tier-budget,
.batch-tier-popover.is-good .batch-tier-good,
.batch-tier-popover.is-top .batch-tier-top {
  color: #ffffff;
}


/* === MODAL DIRECT LINK BUTTON - same glass style as product-info === */
#modal-direct-btn {
  position: relative;
  overflow: hidden;

  width: 64px;
  min-width: 64px;
  height: 64px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255,255,255,0.06);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.025);

  color: white;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.25s ease;
  padding: 0 !important;
  margin-top: 0 !important;
}

#modal-direct-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.075),
    rgba(255,255,255,0.015) 45%,
    rgba(138,43,226,0.035)
  );

  opacity: 0.75;
}

#modal-direct-btn > * {
  position: relative;
  z-index: 1;
}

#modal-direct-btn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(255,255,255,0.03),
    0 10px 25px rgba(138,43,226,0.18);
}

/* === MODAL TAGS - glass style like product-info === */
.modal-meta .meta-tag {
  position: relative;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255,255,255,0.06);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.025);

  color: rgba(255,255,255,0.78);
  border-radius: 12px;
}

.modal-meta .meta-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.075),
    rgba(255,255,255,0.015) 45%,
    rgba(138,43,226,0.035)
  );

  opacity: 0.75;
}

.modal-meta .meta-tag {
  z-index: 1;
}

/* =========================================================
   NEW FINDS TOP HERO — VAULT
========================================================= */

.vault-hero {
  width: min(var(--site-width), calc(100% - var(--site-side-gap)));
  margin: 0 auto 18px;
  position: relative;
  isolation: isolate;
}

.vault-hero-card {
  min-height: 350px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 32px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 26px;
  padding: 34px 36px;
  position: relative;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    radial-gradient(circle at 82% 18%, rgba(138,43,226,0.28), transparent 34%),
    linear-gradient(180deg, rgba(28, 9, 47, 0.96), rgba(12, 4, 22, 0.98));

  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 22px 58px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.vault-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 80%);
  opacity: 0.35;
}

.vault-hero-left,
.vault-hero-right {
  position: relative;
  z-index: 2;
}

.vault-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vault-eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  margin-bottom: 20px;

  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.vault-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00ff26;
  box-shadow: 0 0 10px rgba(0,255,38,0.62);
  animation: vault-live-pulse 2s ease-in-out infinite;
}

@keyframes vault-live-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(0,255,38,0.55);
  }

  50% {
    transform: scale(1.16);
    box-shadow: 0 0 12px rgba(0,255,38,0.78), 0 0 18px rgba(0,255,38,0.18);
  }
}

.vault-eyebrow[data-status="loading"] .vault-live-dot {
  background: #facc15;
  box-shadow: 0 0 10px rgba(250,204,21,0.62);
}

.vault-eyebrow[data-status="offline"] {
  color: #fecaca;
  border-color: rgba(239,68,68,0.34);
  background:
    linear-gradient(135deg, rgba(239,68,68,0.18), rgba(127,29,29,0.16)),
    rgba(255,255,255,0.055);
}

.vault-eyebrow[data-status="offline"] .vault-live-dot {
  background: #ff2d2d;
  box-shadow: 0 0 12px rgba(255,45,45,0.72);
  animation-name: vault-offline-pulse;
}

@keyframes vault-offline-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(255,45,45,0.55);
  }

  50% {
    transform: scale(1.16);
    box-shadow: 0 0 18px rgba(255,45,45,0.95);
  }
}

body.light-theme .vault-eyebrow[data-status="offline"] {
  color: #991b1b !important;
  border-color: rgba(239,68,68,0.24) !important;
  background:
    linear-gradient(135deg, rgba(239,68,68,0.12), rgba(254,202,202,0.28)),
    rgba(255,255,255,0.82) !important;
}

.vault-title {
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -4.5px;
  font-weight: 950;
}

.vault-title span {
  display: block;
  margin-top: 7px;
  background: linear-gradient(135deg, #8A2BE2 0%, #c77dff 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vault-copy {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(255,255,255,0.68);
  font-size: 0.94rem;
  line-height: 1.65;
  font-weight: 600;
}

.vault-actions {
  width: min(660px, 100%);
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px 50px;
  gap: 10px;
}

.vault-search {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 15px;
  padding: 0 16px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.vault-search-icon {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  font-weight: 900;
}

.vault-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: var(--main-font);
  font-size: 0.9rem;
  font-weight: 750;
}

.vault-search input::placeholder {
  color: rgba(255,255,255,0.48);
}

.vault-icon-btn,
.vault-fav-btn {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.075);
  color: #fff;
  cursor: pointer;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-icon-btn:hover,
.vault-fav-btn:hover {
  transform: translateY(-4px);
  background: rgba(138,43,226,0.22);
  box-shadow: 0 18px 45px rgba(138,43,226,0.22);
}

.vault-icon-btn img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: invert(1);
}

.vault-fav-btn {
  font-size: 1.16rem;
  font-weight: 900;
  color: #ff4f87;
  text-decoration: none;
}

.vault-hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vault-count-card {
  flex: 1;
  min-height: 180px;
  border-radius: 22px;
  padding: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(circle at 50% 0%, rgba(138,43,226,0.32), transparent 55%),
    rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.11);
}

.vault-count-card::after {  
  display: none;
  content: none;
}

.vault-count-label {
  color: rgba(255,255,255,0.72);
  font-size: clamp(0.82rem, 1.05vw, 1.05rem);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  text-align: center;
}

#zenithdeck-count-big {
  margin-top: 0;
  font-size: clamp(4.7rem, 7vw, 7.3rem);
  line-height: 0.82;
  font-weight: 950;
  letter-spacing: -6px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #c77dff 45%, #8A2BE2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 2;
}

.vault-count-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.vault-count-sub {
  display: none;
}

.vault-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.vault-mini-card {
  min-height: 70px;
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  transition: 0.25s ease;
}

.vault-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138,43,226,0.34);
  box-shadow: 0 18px 40px rgba(138,43,226,0.16);
}

.vault-mini-card strong {
  display: block;
  color: #fff;
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1;
}

.vault-mini-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.54);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

/* light theme support */
body.light-theme .vault-hero-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(138,43,226,0.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,244,255,0.98)) !important;
  border-color: rgba(138,43,226,0.16) !important;
  box-shadow: 0 22px 55px rgba(50,25,90,0.12) !important;
}

body.light-theme .vault-title {
  color: #17121f !important;
}

body.light-theme .vault-copy,
body.light-theme .vault-count-label,
body.light-theme .vault-count-sub,
body.light-theme .vault-mini-card span,
body.light-theme .vault-search input::placeholder {
  color: rgba(23,18,31,0.58) !important;
}

body.light-theme .vault-eyebrow,
body.light-theme .vault-search,
body.light-theme .vault-icon-btn,
body.light-theme .vault-fav-btn,
body.light-theme .vault-count-card,
body.light-theme .vault-mini-card {
  background: rgba(255,255,255,0.76) !important;
  border-color: rgba(138,43,226,0.13) !important;
}

body.light-theme .vault-search input,
body.light-theme .vault-mini-card strong {
  color: #17121f !important;
}

/* responsive */
@media (max-width: 820px) {
  .vault-hero-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .vault-hero-right {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vault-count-card {
    min-height: 160px;
  }
}

@media (max-width: 640px) {
  .vault-hero {
    width: calc(100% - 24px);
    margin-bottom: 18px;
  }

  .vault-hero-card {
    padding: 24px 16px;
    border-radius: 26px;
  }

  .vault-title {
    letter-spacing: -3px;
    line-height: 0.96;
  }

  .vault-copy {
    font-size: 0.92rem;
    margin-top: 20px;
  }

  .vault-actions {
    grid-template-columns: 1fr 44px 44px;
    gap: 9px;
  }

  .vault-search,
  .vault-icon-btn,
  .vault-fav-btn {
    height: 44px;
    border-radius: 13px;
  }

  .vault-search {
    padding: 0 13px;
  }

  .vault-search-icon {
    display: none;
  }

  .vault-mini-grid {
    grid-template-columns: 1fr;
  }

  #zenithdeck-count-big {
    font-size: clamp(4.2rem, 22vw, 6.2rem);
    letter-spacing: -4px;
  }
}


/* =========================================================
   FULL LIGHT THEME PATCH
   aktivace: body.light-theme
========================================================= */

body.light-theme {
  --primary-purple: #8A2BE2;
  --dark-bg: #f7f3ff;
  --text-color: #17121f;
  --main-gradient: linear-gradient(135deg, #8A2BE2 0%, #b56cff 100%);
  --nav-bg: rgba(255,255,255,0.82);
  --footer-bg: #f2ecfb;
  --panel-border: rgba(138,43,226,0.18);
  --card-bg: #ffffff;
  --agent-accent: #8A2BE2;
  --agent-gradient: linear-gradient(135deg, #8A2BE2 0%, #b56cff 100%);

  color: #17121f !important;
}

/* GLOBAL TEXT */
body.light-theme,
body.light-theme * {
  color-scheme: light;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme .finds-favorite-title,
body.light-theme .zenithdeck-heading,
body.light-theme .footer-logo-text,
body.light-theme .filters-h1,
body.light-theme #modal-title,
body.light-theme .similar-title,
body.light-theme .user-tab-panel h3,
body.light-theme .stats-title,
body.light-theme .nebula-meta h2,
body.light-theme .user-center-brand,
body.light-theme .settings-header {
  color: #17121f !important;
}

body.light-theme p,
body.light-theme .finds-favorite-subtitle,
body.light-theme .footer-description,
body.light-theme .zenithdeck-copy,
body.light-theme .about-product-section p,
body.light-theme .filters-sub,
body.light-theme .user-tab-panel p,
body.light-theme .nebula-meta p,
body.light-theme .stat-label,
body.light-theme .legal-copyright,
body.light-theme .user-tag {
  color: rgba(23,18,31,0.68) !important;
}

/* PAGE / LAYOUT */
body.light-theme .content-area,
body.light-theme .modal-content-full,
body.light-theme .dashboard-wrapper {
  background: transparent !important;
  color: #17121f !important;
}

/* NAVBAR */
body.light-theme .nav-container {
  background:
    radial-gradient(circle at 82% 18%, rgba(138,43,226,0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,244,255,0.98)) !important;
  border: 1px solid rgba(138,43,226,0.18) !important;
  box-shadow:
    0 18px 40px rgba(50,25,90,0.10),
    inset 0 1px 0 rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(16px);
}

body.light-theme .logo-text {
  color: #17121f !important;
}

body.light-theme .logo-text span {
  color: #8A2BE2 !important;
}

body.light-theme .nav-link,
body.light-theme .nav-dropdown-btn,
body.light-theme .btn-icon {
  color: rgba(23,18,31,0.68) !important;
}

body.light-theme .nav-utility-btn {
  color: rgba(23,18,31,0.68);
  border: 1px solid rgba(138,43,226,0.18)
}

body.light-theme #user-center-toggle.is-logged-in {
  background: transparent;
  border-color: rgba(138,43,226,0.18);
  color: rgba(23,18,31,0.68);
}

body.light-theme .nav-link:hover,
body.light-theme .nav-utility-btn:hover {
  color: #17121f !important;
  background: rgba(138,43,226,0.10) !important;
}

body.light-theme .nav-dropdown-btn:hover {
  color: #17121f !important;
}

body.light-theme .nav-link.active {
  color: #fff !important;
  background: var(--main-gradient) !important;
  box-shadow: 0 8px 18px rgba(138,43,226,0.28) !important;
}

body.light-theme .mobile-menu-btn span {
  background: #17121f !important;
}

/* SEARCH */
body.light-theme .nav-search,
body.light-theme .finds-search {
  background: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(138,43,226,0.18) !important;
  box-shadow: 0 14px 32px rgba(50,25,90,0.08) !important;
}

body.light-theme #nav-search-input,
body.light-theme .finds-search input {
  color: #17121f !important;
}

body.light-theme #nav-search-input::placeholder,
body.light-theme .finds-search input::placeholder {
  color: rgba(23,18,31,0.42) !important;
}

body.light-theme .nav-search-clear {
  background: rgba(138,43,226,0.08) !important;
  color: #17121f !important;
}

body.light-theme #nav-search-input {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.light-theme .nav-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 0 10px;
}

body.light-theme #nav-search-input {
  flex: 1;
  background: transparent;
}

body.light-theme #nav-search-clear {
  background: transparent;
  border: none;
  color: #888;
  padding: 0 6px;
}

body.light-theme .nav-suggest {
  background: rgba(255,255,255,0.96) !important;
  border-color: rgba(138,43,226,0.14) !important;
  box-shadow: 0 18px 45px rgba(50,25,90,0.16) !important;
}

body.light-theme .nav-suggest-item:hover,
body.light-theme .nav-suggest-item.active {
  background: rgba(138,43,226,0.08) !important;
}

body.light-theme .nav-suggest-title {
  color: #17121f !important;
}

body.light-theme .nav-suggest-sub,
body.light-theme .nav-suggest-empty,
body.light-theme .nav-suggest-empty-sub {
  color: rgba(23,18,31,0.58) !important;
}

body.light-theme .nav-suggest-thumb {
  background: #f2ecfb !important;
  border-color: rgba(138,43,226,0.12) !important;
}

/* DROPDOWNS */
body.light-theme .nav-dropdown-menu {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    rgba(255,255,255,0.97) !important;
  border: 1px solid rgba(138,43,226,0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.88),
    0 20px 50px rgba(50,25,90,0.14) !important;
}

body.light-theme .nav-dropdown-item,
body.light-theme .nav-dropdown-item-topandbottom {
  color: rgba(23,18,31,0.72) !important;
}

body.light-theme .nav-dropdown-item:hover,
body.light-theme .nav-dropdown-item-topandbottom:hover {
  background: rgba(124, 58, 237, 0.10) !important;
  color: #17121f !important;
}

/* HERO / ZENITH */
body.light-theme .zenithdeck-panel {
  background:
    radial-gradient(circle at 88% 18%, rgba(138,43,226,0.16), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,244,255,0.96)) !important;
  border-color: rgba(138,43,226,0.16) !important;
  box-shadow:
    0 22px 55px rgba(50,25,90,0.12),
    inset 0 1px 0 rgba(255,255,255,0.88) !important;
}

body.light-theme .zenithdeck-heading {
  color: #17121f !important;
}

body.light-theme .zenithdeck-heading-glow {
  background: linear-gradient(180deg, #8A2BE2 0%, #4B0082 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.light-theme .zenithdeck-metric {
  background: rgba(255,255,255,0.78) !important;
  border-color: rgba(138,43,226,0.12) !important;
}

body.light-theme .zenithdeck-metric strong {
  color: #17121f !important;
}

body.light-theme .zenithdeck-floating-label {
  color: rgba(23,18,31,0.62) !important;
}

/* PRODUCT CARDS */
body.light-theme .product-card,
body.light-theme .similar-card {
  background:
    linear-gradient(180deg, #ffffff, #fbf8ff) !important;
  border: 1px solid rgba(138,43,226,0.18) !important;
  box-shadow:
    0 18px 42px rgba(50,25,90,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9) !important;
  color: #17121f !important;
}

body.light-theme .product-card:hover,
body.light-theme .similar-card:hover {
  border-color: rgba(138,43,226,0.28) !important;
  box-shadow:
    0 24px 54px rgba(50,25,90,0.14),
    0 0 24px rgba(138,43,226,0.10) !important;
}

body.light-theme .product-image,
body.light-theme .similar-img {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(138,43,226,0.12), transparent 62%),
    linear-gradient(180deg, #f7f1ff, #efe7f8) !important;
  border-bottom: 1px solid rgba(138,43,226,0.10) !important;
}

body.light-theme .product-image::after {
  background: linear-gradient(180deg, transparent, rgba(247,241,255,0.5)) !important;
}

body.light-theme .product-title,
body.light-theme .similar-name {
  color: #17121f !important;
}

body.light-theme .product-actions::before {
  background: rgba(138,43,226,0.12) !important;
}

body.light-theme .product-price,
body.light-theme .similar-price,
body.light-theme .nav-suggest-price,
body.light-theme .modal-price-large {
  color: #16a34a !important;
}

body.light-theme .meta-tag,
body.light-theme .modal-meta .meta-tag,
body.light-theme .similar-meta .meta-tag {
  background: rgba(138,43,226,0.08) !important;
  border: 1px solid rgba(138,43,226,0.12) !important;
  color: rgba(23,18,31,0.72) !important;
}

body.light-theme .product-stat {
  background: rgba(138,43,226,0.06) !important;
  border-color: rgba(138,43,226,0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75) !important;
}

body.light-theme .product-stat-icon {
  stroke: rgba(255,255,255,0.86) !important;
}

body.light-theme .product-stat-value {
  color: rgba(23,18,31,0.86) !important;
}

body.light-theme .modal-option-title {
  color: rgba(23,18,31,0.58) !important;
}

body.light-theme .modal-options {
  border-top-color: rgba(23,18,31,0.10) !important;
}

body.light-theme .modal-option-pill {
  background: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(23,18,31,0.12) !important;
  color: rgba(23,18,31,0.78) !important;
  box-shadow:
    0 8px 18px rgba(50,25,90,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

body.light-theme .modal-color-pill.has-image:hover {
  background: rgba(138,43,226,0.10) !important;
  border-color: rgba(138,43,226,0.28) !important;
}

body.light-theme .modal-color-swatch {
  border-color: rgba(23,18,31,0.18) !important;
}

body.light-theme .variant-lightbox-title {
  color: #17121f !important;
}

body.light-theme .product-badge,
body.light-theme .similar-badge,
body.light-theme .zenithdeck-pill,
body.light-theme .footer-label {
  color: #fff !important;
  background:
    linear-gradient(135deg, rgba(138, 43, 226, 0.88), rgba(75, 0, 130, 0.82)),
    rgba(255, 255, 255, 0.2) !important;
}

/* BUTTONS */
body.light-theme .btn-view-full,
body.light-theme .filters-btn-primary,
body.light-theme .nebula-cta {
  background: var(--main-gradient) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(138,43,226,0.24) !important;
}



body.light-theme .filters-btn-ghost,
body.light-theme .favorites-clear-btn,
body.light-theme .close-modal,
body.light-theme .filters-x,
body.light-theme .settings-close,
body.light-theme .user-center-close,
body.light-theme #modal-direct-btn,
body.light-theme .qc-close,
body.light-theme .qc-nav,
body.light-theme .similar-navbtn,
body.light-theme .profile-edit-toggle,
body.light-theme .profile-menu-btn,
body.light-theme .avatar-change-btn,
body.light-theme .avatar-reset-btn {
  background: rgba(255,255,255,0.82) !important;
  border: 1px solid rgba(138,43,226,0.16) !important;
  color: #17121f !important;
}

body.light-theme .filters-btn {
  background: #ffffff !important;
  border: 1px solid rgba(138,43,226,0.16) !important;
  color: #17121f !important;
}

body.light-theme .favorites-btn {
  background: #ffffff !important;
  border: 1px solid rgba(138,43,226,0.16) !important;
  color: #4B0082 !important;
}

body.light-theme .filters-btn:hover,
body.light-theme .filters-btn-ghost:hover,
body.light-theme .favorites-clear-btn:hover,
body.light-theme .close-modal:hover,
body.light-theme .filters-x:hover,
body.light-theme .settings-close:hover,
body.light-theme .user-center-close:hover,
body.light-theme #modal-direct-btn:hover,
body.light-theme .similar-navbtn:hover {
  background: rgba(138,43,226,0.10) !important;
  color: #17121f !important;
  box-shadow: 0 10px 24px rgba(138,43,226,0.12) !important;
}

body.light-theme .favorites-btn:hover {
  background: rgba(138,43,226,0.10) !important;
  color: #ff5abf !important;
  box-shadow: 0 10px 24px rgba(138,43,226,0.12) !important;
}

body.light-theme .btn-like {
  background: rgba(138,43,226,0.10) !important;
  color: #4B0082 !important;
}

body.light-theme .btn-like:hover,
body.light-theme .btn-like.active,
body.light-theme .btn-like.is-favorite {
  background: rgba(255,90,191,0.14) !important;
  color: #ff4d88 !important;
}

/* MODAL */
body.light-theme .modal {
  background:
    radial-gradient(circle at 20% 0%, rgba(138,43,226,0.12), transparent 35%),
    #f7f3ff !important;
  color: #17121f !important;
}


body.light-theme .spec-card,
body.light-theme .about-product-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(250,247,255,0.96)) !important;
  border: 1px solid rgba(138,43,226,0.14) !important;
  box-shadow:
    0 20px 50px rgba(50,25,90,0.10),
    inset 0 1px 0 rgba(255,255,255,0.85) !important;
  color: #17121f !important;
}

body.light-theme .modal-image-wrapper {
  background: #f4effb !important;
  border: 1px solid rgba(138,43,226,0.12) !important;
}

body.light-theme .spec-label,
body.light-theme .qc-count,
body.light-theme .qc-title,
body.light-theme .about-kicker {
  color: rgba(23,18,31,0.55) !important;
}

body.light-theme .spec-info {
  background: rgba(138,43,226,0.08);
  border-color: rgba(138,43,226,0.16);
  color: rgba(23,18,31,0.56);
}

body.light-theme .spec-info::after {
  background: rgba(255,255,255,0.98);
  border-color: rgba(138,43,226,0.14);
  box-shadow: 0 14px 35px rgba(50,25,90,0.14);
  color: rgba(23,18,31,0.78);
}

body.light-theme .spec-info::before {
  background: rgba(255,255,255,0.98);
  border-color: rgba(138,43,226,0.14);
}

body.light-theme .modal-loader {
  background: rgba(247,243,255,0.92) !important;
}

body.light-theme .modal-loader-inner {
  background: rgba(255,255,255,0.92) !important;
  border-color: rgba(138,43,226,0.14) !important;
}

body.light-theme .modal-loader-text {
  color: rgba(23,18,31,0.72) !important;
}

body.light-theme .modal-spinner {
  border-color: rgba(138,43,226,0.18) !important;
  border-top-color: #8A2BE2 !important;
}

body.light-theme .direct-link-icon {
  filter: invert(1);
}

/* QC */
body.light-theme .qc-thumb {
  background: #f4effb !important;
  border-color: rgba(138,43,226,0.14) !important;
}

body.light-theme .qc-thumb:hover {
  background: #ede4fb !important;
}

body.light-theme .qc-lightbox {
  background: rgba(0,0,0,0.78) !important;
}

body.light-theme .qc-lightbox-inner {
  background: rgba(255,255,255,0.94) !important;
  border-color: rgba(255,255,255,0.4) !important;
}

/* FILTERS */
body.light-theme .filters-panel.active {
  backdrop-filter: blur(8px);
}

body.light-theme .filters-overlay {
  background: rgba(245,239,255,0.60) !important;
}

body.light-theme .filters-shell,
body.light-theme .filters-card,
body.light-theme .filters-card-price {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(250,247,255,0.98)) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: #17121f !important;
  box-shadow: 0 26px 70px rgba(50,25,90,0.16) !important;
}

body.light-theme .filters-card,
body.light-theme .filters-card-price {
  background: transparent !important;
  border-color: rgba(138,43,226,0.12) !important;
  box-shadow: none !important;
}

body.light-theme .filters-top,
body.light-theme .filters-bottom,
body.light-theme .filters-card-head {
  border-color: rgba(138,43,226,0.12) !important;
}

body.light-theme .filters-card-title {
  background: transparent !important;
  color: rgba(23,18,31,0.82) !important;
}

body.light-theme .filters-cat-item,
body.light-theme .filters-brand-item,
body.light-theme .filters-pillbtn,
body.light-theme .filters-sortopt,
body.light-theme .filters-rating-btn {
  background: rgba(138,43,226,0.055) !important;
  border: 1px solid rgba(138,43,226,0.12) !important;
  color: #17121f !important;
}

body.light-theme .filters-cat-item:hover,
body.light-theme .filters-brand-item:hover,
body.light-theme .filters-pillbtn:hover,
body.light-theme .filters-sortopt:hover,
body.light-theme .filters-rating-btn:hover {
  background: rgba(138,43,226,0.10) !important;
}

body.light-theme .filters-cat-item.active,
body.light-theme .filters-brand-item.active,
body.light-theme .filters-pillbtn.active,
body.light-theme .filters-sortopt.active,
body.light-theme .filters-rating-btn.active,
body.light-theme .filters-qbadge {
  background: var(--main-gradient) !important;
  color: #fff !important;
}

body.light-theme .filters-cat-count,
body.light-theme .filters-brand-count,
body.light-theme .filters-quality-labels,
body.light-theme .filters-to {
  color: rgba(23,18,31,0.55) !important;
}

body.light-theme .filters-searchinput-inline {
  background: #ffffff !important;
  border-color: rgba(138,43,226,0.16) !important;
  color: #17121f !important;
}

/* INPUTS / FORMS */
body.light-theme input,
body.light-theme textarea,
body.light-theme select,
body.light-theme .profile-edit-field input,
body.light-theme .pref-item select {
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(138,43,226,0.16) !important;
  color: #17121f !important;
}

body.light-theme input::placeholder,
body.light-theme textarea::placeholder {
  color: rgba(23,18,31,0.42) !important;
}

body.light-theme label,
body.light-theme .profile-edit-field span,
body.light-theme .pref-item label {
  color: rgba(23,18,31,0.62) !important;
}

/* SETTINGS DRAWER */
body.light-theme #settings-overlay,
body.light-theme .settings-overlay {
  background:
    radial-gradient(60% 60% at 20% 15%, rgba(138,43,226,0.12), transparent 60%),
    rgba(247,243,255,0.56) !important;
}

body.light-theme #settings-dropdown,
body.light-theme .settings-dropdown {
  background:
    radial-gradient(80% 60% at 10% 0%, rgba(138,43,226,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,247,255,0.98)) !important;
  border-left: 1px solid rgba(138,43,226,0.16) !important;
  color: #17121f !important;
  box-shadow: -30px 0 80px rgba(50,25,90,0.16) !important;
}

body.light-theme #settings-dropdown .settings-drawer-top {
  border-bottom-color: rgba(138,43,226,0.12) !important;
}

body.light-theme #settings-dropdown .settings-label,
body.light-theme .settings-label {
  color: rgba(23,18,31,0.55) !important;
}

body.light-theme #settings-dropdown .selection-box,
body.light-theme .selection-box {
  background: rgba(255,255,255,0.78) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: #17121f !important;
}

body.light-theme #settings-dropdown .selection-box:hover,
body.light-theme .selection-box:hover {
  background: rgba(138,43,226,0.08) !important;
}

body.light-theme #settings-dropdown .agent-icon-small,
body.light-theme #settings-dropdown .option-icon,
body.light-theme #settings-dropdown .item-icon-box,
body.light-theme .agent-icon-small,
body.light-theme .option-icon,
body.light-theme .item-icon-box {
  background: rgba(138,43,226,0.08) !important;
  border-color: rgba(138,43,226,0.12) !important;
  color: #17121f !important;
}

body.light-theme #settings-dropdown .selected-preference,
body.light-theme #settings-dropdown .selected-preference-currency,
body.light-theme .selected-preference,
body.light-theme .selected-preference-currency {
  color: #17121f !important;
}

body.light-theme .currency-option-item,
body.light-theme .agent-option-item,
body.light-theme .theme-option-item,
body.light-theme .language-option-item {
  color: rgba(23,18,31,0.72) !important;
}

body.light-theme .currency-option-item:hover,
body.light-theme .agent-option-item:hover,
body.light-theme .theme-option-item:hover,
body.light-theme .language-option-item:hover {
  background: rgba(138,43,226,0.10) !important;
  color: #17121f !important;
}

body.light-theme .list-symbol {
  background: rgba(138,43,226,0.10) !important;
  color: #17121f !important;
}

body.light-theme .list-label {
  color: #17121f !important;
}

/* USER CENTER */
body.light-theme .user-center-overlay {
  background:
    radial-gradient(60% 60% at 20% 15%, rgba(138,43,226,0.12), transparent 60%),
    rgba(247,243,255,0.72) !important;
}

body.light-theme .user-center-shell {
  background:
    radial-gradient(80% 60% at 10% 0%, rgba(138,43,226,0.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8f4ff) !important;
  color: #17121f !important;
}

body.light-theme .user-center-topbar,
body.light-theme .user-center-footer,
body.light-theme .user-center-sidebar {
  background: rgba(255,255,255,0.60) !important;
  border-color: rgba(138,43,226,0.12) !important;
}

body.light-theme .user-center-content {
  background: rgba(255,255,255,0.28) !important;
}

body.light-theme .user-profile-card,
body.light-theme .user-panel-card,
body.light-theme .user-tab,
body.light-theme .stat-card,
body.light-theme .stats-shell,
body.light-theme .pref-item   {
  background: rgba(255,255,255,0.84) !important;
  border: 1px solid rgba(138,43,226,0.14) !important;
  color: #17121f !important;
  box-shadow: 0 14px 32px rgba(50,25,90,0.08) !important;
}

body.light-theme .user-tab {
  color: rgba(23,18,31,0.70) !important;
}

body.light-theme .user-tab:hover {
  background: rgba(138,43,226,0.08) !important;
  color: #17121f !important;
}

body.light-theme .user-tab.active {
  background: var(--main-gradient) !important;
  color: #fff !important;
}

body.light-theme .user-center-logout {
  background: rgba(255,80,80,0.08) !important;
  border-color: rgba(255,80,80,0.18) !important;
  color: #b42323 !important;
}

body.light-theme .user-center-logout:hover {
  background: rgba(255,80,80,0.14) !important;
  color: #7f1d1d !important;
}

body.light-theme .user-profile-card h3,
body.light-theme .user-name,
body.light-theme .stat-value {
  color: #17121f !important;
}

/* FAVORITES */

body.light-theme .favorites-empty-icon {
  background: rgba(255,90,191,0.12) !important;
  color: #ff4d88 !important;
  border-color: rgba(255,90,191,0.18) !important;
}

body.light-theme .favorites-empty-state {
  background: rgba(255,255,255,0.66) !important;
  border-color: rgba(138,43,226,0.16) !important;
}

/* FOOTER */
body.light-theme .footer-main,
body.light-theme .footer-main-favorite {
  border-top-color: rgba(138,43,226,0.12) !important;
  background: transparent !important;
}

body.light-theme .footer-card {
  background: transparent !important;
}

body.light-theme .footer-logo-text {
  color: #17121f !important;
}

body.light-theme .footer-logo-text span {
  color: #8A2BE2 !important;
}

body.light-theme .link-item,
body.light-theme .legal-copyright {
  color: rgba(23,18,31,0.66) !important;
}

body.light-theme .link-item:hover,
body.light-theme .legal-item {
  color: #8A2BE2 !important;
}

body.light-theme .footer-legal {
  border-top-color: rgba(138,43,226,0.12) !important;
}

/* AGENT WARNING / TOAST */
body.light-theme .agent-warning,
body.light-theme .favorite-toast {
  background: rgba(255,255,255,0.92) !important;
  border-color: rgba(138,43,226,0.18) !important;
  color: #17121f !important;
  box-shadow: 0 16px 38px rgba(50,25,90,0.12) !important;
}

body.light-theme .agent-warning-title,
body.light-theme .agent-warning-sub {
  color: #17121f !important;
}

body.light-theme .agent-warning-sub {
  opacity: 0.65 !important;
}

body.light-theme .agent-warning-close {
  background: rgba(138,43,226,0.08) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: #17121f !important;
}

body.light-theme .agent-warning-eyebrow {
  color: #7a20bd !important;
}

body.light-theme .agent-warning-benefits,
body.light-theme .agent-warning-keep {
  color: rgba(23,18,31,0.62) !important;
}

body.light-theme .agent-warning-keep:hover {
  color: #17121f !important;
}

/* NEBULA / DASHBOARD */
body.light-theme .nebula-shell,
body.light-theme .nebula-core,
body.light-theme .nebula-item {
  background: rgba(255,255,255,0.84) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: #17121f !important;
  box-shadow: 0 14px 36px rgba(50,25,90,0.09) !important;
}

body.light-theme .nebula-link,
body.light-theme .nebula-score {
  background: rgba(138,43,226,0.08) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: #8A2BE2 !important;
}

body.light-theme .nebula-flags span {
  background: rgba(138,43,226,0.08) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: #8A2BE2 !important;
}

/* ICON FILTERS */
body.light-theme .filters-icon-img,
body.light-theme .filters-badge img {
  filter: none !important;
}

/* SCROLLBARS */
body.light-theme * {
  scrollbar-color: rgba(138,43,226,0.45) transparent;
}

body.light-theme ::-webkit-scrollbar-track {
  background: transparent !important;
}

body.light-theme ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(138,43,226,0.55), rgba(181,108,255,0.75)) !important;
  border-radius: 999px !important;
}

/* KEEP DARK WHERE IT MAKES SENSE */
body.light-theme .qc-lightbox,
body.light-theme .qc-more-overlay {
  color: #fff !important;
}

body.light-theme .qc-lightbox * {
  color: inherit;
}

/* Finds UX controls */
.finds-toolbar {
  position: relative;
  z-index: 60;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -8px 0 36px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(18, 5, 32, 0.74);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 42px rgba(0, 0, 0, 0.2);
}

.finds-toolbar-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.finds-results-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(42, 23, 56, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 8px 18px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.finds-results-meta::before {
  content: none;
}

.finds-results-meta strong {
  min-width: 22px;
  font-size: 0.94rem;
  line-height: 1;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
  text-align: right;
}

.finds-results-meta span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.active-filter-pills {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.active-filter-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px 0 14px;
  border: 1px solid rgba(181, 108, 255, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(138, 43, 226, 0.38), rgba(87, 24, 140, 0.42)),
    rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.active-filter-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(213, 179, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(154, 62, 255, 0.48), rgba(87, 24, 140, 0.5)),
    rgba(255, 255, 255, 0.06);
}

.active-filter-pill span:last-child {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  line-height: 1;
}

.finds-sortbar {
  position: relative;
  margin-left: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.075);
  white-space: nowrap;
}

.finds-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.finds-toolbar-actions .vault-icon-btn,
.finds-toolbar-actions .vault-fav-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 12px !important;
}

.finds-toolbar-actions .vault-icon-btn img {
  width: 18px;
  height: 18px;
}

.finds-sortbar span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.finds-sortbar select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.finds-sort-trigger {
  min-width: 168px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  padding: 0;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.finds-sort-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.86;
  transition: transform 0.18s ease;
}

.finds-sort-trigger[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-2px);
}

.finds-sort-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 9999;
  width: 230px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(45, 18, 68, 0.96), rgba(18, 5, 32, 0.96)),
    rgba(18, 5, 32, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.finds-sort-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.finds-sort-option {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.finds-sort-option:first-child {
  margin-top: 0;
}

.finds-sort-option:last-child {
  margin-bottom: 0;
}

.finds-sort-option:hover,
.finds-sort-option.active {
  color: #ffffff;
  background: rgba(138, 43, 226, 0.28);
}

.finds-sort-option.active::after {
  content: "";
  width: 7px;
  height: 12px;
  border-right: 2px solid #d8b4fe;
  border-bottom: 2px solid #d8b4fe;
  transform: rotate(45deg);
}

.finds-empty-state {
  position: relative;
  width: min(560px, 100%);
  margin: 22px auto 40px;
  padding: 24px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  text-align: left;
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid rgba(190, 122, 255, 0.2);
  background:
    radial-gradient(circle at 0 0, rgba(145, 54, 222, 0.14), transparent 42%),
    rgba(10, 4, 20, 0.78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.finds-empty-state[hidden] {
  display: none;
}

.finds-empty-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 13px;
  color: #ffffff;
  background: var(--main-gradient);
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(119, 31, 190, 0.3);
}

.finds-empty-copy {
  min-width: 0;
}

.finds-empty-kicker {
  display: block;
  margin-bottom: 4px;
  color: rgba(211, 167, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finds-empty-state h2 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.2;
}

.finds-empty-state p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  line-height: 1.45;
}

.finds-empty-state .filters-btn-primary {
  appearance: none;
  min-width: 108px;
  min-height: 38px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(198, 139, 244, 0.28);
  border-radius: 10px;
  color: rgba(250, 244, 255, 0.9);
  background: rgba(151, 61, 211, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 7px 18px rgba(0, 0, 0, 0.14);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.finds-empty-state .filters-btn-primary:hover {
  border-color: rgba(212, 161, 255, 0.52);
  color: #fff;
  background: rgba(157, 62, 220, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 9px 22px rgba(75, 18, 112, 0.2);
  filter: none;
  transform: translateY(-1px);
}

.finds-empty-state .filters-btn-primary:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .finds-empty-state {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 19px;
  }

  .finds-empty-state .filters-btn-primary {
    grid-column: 1 / -1;
    width: 100%;
  }
}

body.light-theme .finds-toolbar,
body.light-theme .finds-empty-state {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.76)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

body.light-theme .finds-results-meta,
body.light-theme .finds-sortbar {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.86);
}

body.light-theme .finds-results-meta {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.8)),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

body.light-theme .finds-results-meta strong,
body.light-theme .finds-empty-state h2,
body.light-theme .finds-sort-trigger {
  color: #111827;
}

body.light-theme .finds-results-meta strong {
  color: #111827;
}

body.light-theme .finds-results-meta span,
body.light-theme .finds-sortbar span,
body.light-theme .finds-empty-state p {
  color: #64748b;
}

body.light-theme .active-filter-pill {
  color: #4c1d95;
  border-color: rgba(124, 58, 237, 0.22);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(168, 85, 247, 0.09)),
    rgba(255, 255, 255, 0.7);
}

body.light-theme .active-filter-pill:hover {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.12)),
    rgba(255, 255, 255, 0.84);
}

body.light-theme .active-filter-pill span:last-child {
  color: #4c1d95;
  background: rgba(124, 58, 237, 0.12);
}

body.light-theme .finds-sort-menu {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(138,43,226,0.16);
  box-shadow: 0 20px 50px rgba(50,25,90,0.14);
}

body.light-theme .finds-sort-option {
  color: rgba(23,18,31,0.72);
}

body.light-theme .finds-sort-option:hover,
body.light-theme .finds-sort-option.active {
  color: #17121f;
  background: rgba(124, 58, 237, 0.1);
}

@media (max-width: 780px) {
  .products-container {
    padding-bottom: 40px;
  }

  .finds-toolbar {
    flex-direction: column;
    padding: 12px;
    border-radius: 14px;
  }

  .finds-toolbar-left,
  .finds-sortbar,
  .finds-toolbar-actions {
    width: 100%;
  }

  .finds-results-meta {
    width: 100%;
    justify-content: center;
  }

  .finds-sortbar {
    justify-content: space-between;
  }

  .finds-toolbar-actions {
    justify-content: flex-end;
  }

  .finds-sort-trigger {
    width: 100%;
    min-width: 0;
  }

  .finds-sort-menu {
    left: 0;
    right: 0;
    width: 100%;
  }

  .active-filter-pills {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .active-filter-pill {
    flex: 0 0 auto;
  }

}

/* =========================
   USER CENTER DASHBOARD REFRESH
========================= */

.user-center-body {
  overflow: hidden;
}

.user-center-content {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow-y: auto;
}

.user-tab-panel.active {
  min-height: 100%;
}

.dashboard-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(18px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.stats-shell,
.nebula-shell {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
    rgba(11, 4, 24, 0.62);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.stats-shell {
  padding: 22px;
  margin: 0;
}

.stats-title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.54);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  min-height: 104px;
  padding: 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.035);
  box-shadow: none;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168,85,247,0.28);
  background: rgba(255,255,255,0.055);
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

.stat-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(168,85,247,0.14);
  border: 1px solid rgba(168,85,247,0.18);
  color: #d8c6ff;
  font-size: 0.8rem;
  font-weight: 950;
}

.stat-value {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 950;
  color: #fff;
}

.stat-label {
  margin-top: 5px;
  font-size: 0.78rem;
  line-height: 1.25;
  color: rgba(255,255,255,0.52);
}

.nebula-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.nebula-left,
.nebula-right {
  gap: 20px;
}

.nebula-shell {
  padding: 22px;
}

.nebula-head {
  margin: 0 0 16px;
  gap: 14px;
}

.nebula-head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 900;
  color: #fff;
}

.nebula-head p {
  margin: 5px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.5);
}

.nebula-link {
  height: 36px;
  padding: 0 13px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.76);
  font-weight: 850;
  font-size: 0.8rem;
  transition: 0.2s ease;
}

.nebula-link:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(168,85,247,0.28);
  background: rgba(168,85,247,0.12);
}

.nebula-core,
.nebula-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.032);
  box-shadow: none;
}

.nebula-core {
  min-height: 212px;
  padding: 52px 18px 18px;
}

.nebula-core.is-empty {
  min-height: 150px;
  padding: 14px;
  grid-template-columns: 1fr;
}

.nebula-badge,
.nebula-score {
  top: 14px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: none;
}

.nebula-badge {
  left: 14px;
  padding: 0 10px;
  background: rgba(168,85,247,0.14);
  border: 1px solid rgba(168,85,247,0.20);
  color: #d8c6ff;
}

.nebula-score {
  right: 14px;
  padding: 0 10px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.70);
}

.nebula-art {
  width: 132px;
  height: 132px;
  aspect-ratio: 1;
  margin: 0;
  padding: 12px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
}

.nebula-meta {
  max-width: none;
  min-width: 0;
}

.nebula-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.nebula-flags span {
  margin: 0;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.62);
  font-size: 0.68rem;
  line-height: 1.1;
  font-weight: 850;
}

.nebula-meta h2 {
  margin: 0;
  max-width: 100%;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.nebula-cta {
  min-height: 38px;
  margin-top: 15px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(168,85,247,0.25);
  background: rgba(168,85,247,0.16);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: none;
  transition: 0.2s ease;
}

.nebula-cta:hover {
  transform: translateY(-1px);
  background: rgba(168,85,247,0.24);
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

.nebula-stack {
  gap: 12px;
}

.nebula-item {
  min-height: 142px;
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 48px 14px 14px;
  transition: 0.2s ease;
}

.nebula-item:hover {
  transform: translateY(-2px);
  border-color: rgba(168,85,247,0.25);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

.nebula-item .nebula-art {
  width: 86px;
  height: 86px;
  padding: 8px;
}

.nebula-item h2 {
  font-size: 0.95rem;
  line-height: 1.25;
}

.nebula-item .nebula-cta {
  min-height: 34px;
  margin-top: 12px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.dashboard-empty-state {
  width: 100%;
  min-height: 122px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
  border: 1px dashed rgba(168,85,247,0.22);
  background:
    linear-gradient(180deg, rgba(168,85,247,0.055), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.025);
}

.dashboard-empty-title {
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 950;
  margin-bottom: 6px;
}

.dashboard-empty-copy {
  max-width: 320px;
  color: rgba(255,255,255,0.50);
  font-size: 0.82rem;
  line-height: 1.5;
}

.dashboard-empty-btn {
  min-height: 36px;
  margin-top: 12px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(168,85,247,0.24);
  background: rgba(168,85,247,0.14);
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
  transition: 0.2s ease;
}

.dashboard-empty-btn:hover {
  transform: translateY(-1px);
  background: rgba(168,85,247,0.22);
}

.prefs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pref-item {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.032);
}

.pref-item label {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.52);
  font-weight: 850;
}

.pref-item select {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

body.light-theme .stats-shell,
body.light-theme .nebula-shell {
  background: rgba(255,255,255,0.82) !important;
  border-color: rgba(138,43,226,0.13) !important;
  box-shadow: 0 18px 42px rgba(50,25,90,0.08) !important;
}

body.light-theme .stats-title,
body.light-theme .nebula-head h3,
body.light-theme .nebula-meta h2,
body.light-theme .stat-value {
  color: #17121f !important;
}

body.light-theme .stats-title,
body.light-theme .nebula-head p,
body.light-theme .stat-label,
body.light-theme .pref-item label {
  color: rgba(23,18,31,0.58) !important;
}

body.light-theme .stat-card,
body.light-theme .nebula-core,
body.light-theme .nebula-item,
body.light-theme .pref-item {
  background: rgba(255,255,255,0.72) !important;
  border-color: rgba(138,43,226,0.12) !important;
  box-shadow: none !important;
}

body.light-theme .stat-icon,
body.light-theme .nebula-badge,
body.light-theme .nebula-flags span {
  background: rgba(138,43,226,0.08) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: #6d28d9 !important;
}

body.light-theme .nebula-score,
body.light-theme .nebula-link,
body.light-theme .pref-item select {
  background: rgba(138,43,226,0.055) !important;
  border-color: rgba(138,43,226,0.13) !important;
  color: rgba(23,18,31,0.72) !important;
}

body.light-theme .nebula-art {
  background: rgba(138,43,226,0.045) !important;
  border-color: rgba(138,43,226,0.10) !important;
}

body.light-theme .dashboard-empty-state {
  background: rgba(255,255,255,0.66) !important;
  border-color: rgba(138,43,226,0.18) !important;
}

body.light-theme .dashboard-empty-title {
  color: #17121f !important;
}

body.light-theme .dashboard-empty-copy {
  color: rgba(23,18,31,0.58) !important;
}

body.light-theme .dashboard-empty-btn {
  background: rgba(138,43,226,0.10) !important;
  border-color: rgba(138,43,226,0.18) !important;
  color: #5b21b6 !important;
}

body.light-theme .nebula-cta {
  background: rgba(138,43,226,0.12) !important;
  border-color: rgba(138,43,226,0.20) !important;
  color: #4c1d95 !important;
  box-shadow: none !important;
}

@media (max-width: 1180px) {
  .nebula-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1500px) {
  .dashboard-wrapper {
    padding: 28px 34px 34px;
  }

  .nebula-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(470px, 0.8fr);
  }
}

@media (max-width: 760px) {
  .dashboard-wrapper {
    padding: 16px 14px 20px;
    gap: 16px;
  }

  .stats-grid,
  .prefs-grid {
    grid-template-columns: 1fr;
  }

  .nebula-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nebula-core,
  .nebula-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .nebula-core {
    min-height: 184px;
    padding: 50px 14px 14px;
  }

  .nebula-art {
    width: 92px;
    height: 92px;
  }

  .nebula-meta h2 {
    font-size: 1rem;
  }
}

.nav-utility-btn-admin {
  text-decoration: none;
  border-color: rgba(181, 108, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(138, 43, 226, 0.34), rgba(181, 108, 255, 0.18)),
    rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

a.nav-utility-btn {
  text-decoration: none;
}

#admin-stats-nav[hidden],
#admin-stats-user-link[hidden] {
  display: none !important;
}

.nav-utility-btn-admin:hover {
  border-color: rgba(213, 179, 255, 0.76);
  box-shadow: 0 12px 34px rgba(138, 43, 226, 0.22);
}

.user-tab-link {
  text-decoration: none;
  justify-content: center;
  border-color: rgba(181, 108, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(138, 43, 226, 0.22), rgba(181, 108, 255, 0.09)),
    rgba(255, 255, 255, 0.04);
}

body.light-theme .nav-utility-btn-admin {
  color: #4c1d95;
  border-color: rgba(124, 58, 237, 0.24);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(168, 85, 247, 0.08)),
    rgba(255, 255, 255, 0.84);
}

body.light-theme .user-tab-link {
  color: #4c1d95;
  border-color: rgba(124, 58, 237, 0.2);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(168, 85, 247, 0.06)),
    rgba(255, 255, 255, 0.72);
}

@media (max-width: 460px) {
  .nebula-core,
  .nebula-item {
    grid-template-columns: 1fr;
  }

  .nebula-art,
  .nebula-item .nebula-art {
    width: 100%;
    max-width: 150px;
    height: auto;
    justify-self: center;
  }

  .nebula-meta {
    text-align: center;
  }

  .nebula-flags {
    justify-content: center;
  }
}

/* =========================
   USER CENTER FAVORITES REFRESH
========================= */

#tab-favorites.active {
  min-height: 100%;
}

#tab-favorites .user-panel-card {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: clamp(18px, 1.8vw, 28px);
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

#tab-favorites .user-panel-card:hover {
  border-color: transparent;
  box-shadow: none;
}

#tab-favorites .user-panel-head {
  margin: 0 0 18px;
  padding: 22px;
  gap: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
    rgba(11, 4, 24, 0.62);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

#tab-favorites .user-panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 950;
}

.user-panel-subtitle {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.52);
  font-size: 0.82rem;
  line-height: 1.45;
}

#tab-favorites .favorites-clear-btn {
  min-height: 38px;
  margin: 0;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.76);
  font-size: 0.8rem;
  font-weight: 900;
}

#tab-favorites .favorites-clear-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,90,191,0.12);
  border-color: rgba(255,90,191,0.24);
  color: #ff9bd4;
}

#account-favorites-grid.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.account-favorite-card {
  min-width: 0;
  min-height: 150px;
  padding: 14px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
    rgba(11, 4, 24, 0.62);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: 0.2s ease;
}

.account-favorite-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168,85,247,0.25);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.account-favorite-thumb {
  width: 112px;
  height: 112px;
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}

.account-favorite-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-favorite-main {
  min-width: 0;
}

.account-favorite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.account-favorite-tags span {
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.62);
  font-size: 0.68rem;
  line-height: 1.1;
  font-weight: 850;
  white-space: nowrap;
}

.account-favorite-main h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-favorite-meta {
  margin-top: 7px;
  color: #18ff65;
  font-size: 0.95rem;
  font-weight: 950;
}

.account-favorite-actions {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}

.account-favorite-open,
.account-favorite-remove {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  transition: 0.2s ease;
}

.account-favorite-open {
  border: 1px solid rgba(168,85,247,0.25);
  background: rgba(168,85,247,0.16);
  color: #fff;
}

.account-favorite-remove {
  border: 1px solid rgba(255,90,191,0.18);
  background: rgba(255,90,191,0.08);
  color: #ff9bd4;
}

.account-favorite-open:hover,
.account-favorite-remove:hover {
  transform: translateY(-1px);
}

#account-favorites-grid .product-card {
  height: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
    rgba(11, 4, 24, 0.62);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

#account-favorites-grid .product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168,85,247,0.25);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

#account-favorites-grid .product-image {
  aspect-ratio: 1 / 0.88;
  min-height: 190px;
  padding: 12px;
  background: rgba(255,255,255,0.035);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

#account-favorites-grid .product-image img {
  padding: 22px;
}

#account-favorites-grid .product-info {
  flex: 1;
  padding: 16px;
  gap: 10px;
  background: transparent;
}

#account-favorites-grid .product-title {
  font-size: 0.98rem;
  line-height: 1.25;
}

#account-favorites-grid .meta-tag,
#account-favorites-grid .product-rating {
  font-size: 0.68rem;
}

#account-favorites-grid .product-actions-row {
  gap: 10px;
  margin-top: auto;
}

#account-favorites-grid .btn-view-full,
#account-favorites-grid .btn-like {
  min-height: 42px;
  height: 42px;
  border-radius: 10px;
}

#account-favorites-grid .btn-like {
  width: 42px;
  min-width: 42px;
}

#tab-favorites .favorites-empty-state {
  min-height: 260px;
  margin: 0;
  padding: 24px;
  border-radius: 18px;
  border: 1px dashed rgba(168,85,247,0.22);
  background:
    linear-gradient(180deg, rgba(168,85,247,0.055), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.025);
}

#tab-favorites .favorites-empty-title {
  font-size: 0;
}

#tab-favorites .favorites-empty-title::before {
  content: "No favorites yet";
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 950;
}

#tab-favorites .favorites-empty-sub {
  max-width: 340px;
  font-size: 0;
  line-height: 1.5;
}

#tab-favorites .favorites-empty-sub::before {
  content: "Explore finds and save your best picks by clicking the heart icon.";
  color: rgba(255,255,255,0.50);
  font-size: 0.82rem;
}

body.light-theme #tab-favorites .user-panel-head,
body.light-theme #account-favorites-grid .product-card {
  background: rgba(255,255,255,0.82) !important;
  border-color: rgba(138,43,226,0.13) !important;
  box-shadow: 0 18px 42px rgba(50,25,90,0.08) !important;
}

body.light-theme #tab-favorites .user-panel-head h2,
body.light-theme #tab-favorites .favorites-empty-title::before {
  color: #17121f !important;
}

body.light-theme .user-panel-subtitle,
body.light-theme #tab-favorites .favorites-empty-sub::before {
  color: rgba(23,18,31,0.58) !important;
}

body.light-theme #tab-favorites .favorites-clear-btn {
  background: rgba(138,43,226,0.055) !important;
  border-color: rgba(138,43,226,0.13) !important;
  color: rgba(23,18,31,0.72) !important;
}

body.light-theme #tab-favorites .favorites-empty-state {
  background: rgba(255,255,255,0.66) !important;
  border-color: rgba(138,43,226,0.18) !important;
}

body.light-theme #account-favorites-grid .product-image {
  background: rgba(138,43,226,0.045) !important;
  border-color: rgba(138,43,226,0.10) !important;
}

body.light-theme .account-favorite-card {
  background: rgba(255,255,255,0.82) !important;
  border-color: rgba(138,43,226,0.13) !important;
  box-shadow: 0 18px 42px rgba(50,25,90,0.08) !important;
}

body.light-theme .account-favorite-thumb {
  background: rgba(138,43,226,0.045) !important;
  border-color: rgba(138,43,226,0.10) !important;
}

body.light-theme .account-favorite-tags span {
  background: rgba(138,43,226,0.08) !important;
  border-color: rgba(138,43,226,0.14) !important;
  color: #6d28d9 !important;
}

body.light-theme .account-favorite-main h3 {
  color: #17121f !important;
}

body.light-theme .account-favorite-open {
  background: rgba(138,43,226,0.12) !important;
  border-color: rgba(138,43,226,0.20) !important;
  color: #4c1d95 !important;
}

body.light-theme .account-favorite-remove {
  background: rgba(255,90,191,0.10) !important;
  border-color: rgba(255,90,191,0.18) !important;
  color: #be185d !important;
}

@media (max-width: 760px) {
  #tab-favorites .user-panel-card {
    padding: 16px 14px 20px;
  }

  #tab-favorites .user-panel-head {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  #tab-favorites .favorites-clear-btn {
    width: 100%;
  }

  #account-favorites-grid.products-grid {
    grid-template-columns: 1fr;
  }

  .account-favorite-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .account-favorite-thumb {
    width: 92px;
    height: 92px;
  }
}

/* --- PREFERENCE POPUP STYLES --- */
.pref-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 1, 15, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
}
.pref-popup-card {
    position: relative;
    width: min(420px, 94vw);
    background: linear-gradient(180deg, #1c0c2d, #0c0516);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    color: #fff;
}
.pref-popup-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pref-popup-logo {
    width: 54px; height: 54px;
    background: var(--main-gradient);
    border-radius: 14px;
    display: grid; place-items: center;
    font-weight: 950; font-size: 1.5rem;
}
.pref-popup-kicker { font-size: 0.7rem; text-transform: uppercase; opacity: 0.5; font-weight: 900; }
.pref-popup-text { color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 24px; }
.pref-popup-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pref-popup-option {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 14px 18px; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer; transition: 0.2s;
}
.pref-popup-option:hover { background: rgba(138, 43, 226, 0.15); border-color: rgba(138, 43, 226, 0.3); }
.pref-popup-confirm-btn {
    width: 100%; height: 54px; border: none;
    background: var(--main-gradient);
    color: #fff; border-radius: 16px;
    font-weight: 950; cursor: pointer;
    transition: 0.24s;
}
.pref-popup-glow {
    position: absolute; top: -60px; right: -60px;
    width: 160px; height: 160px;
    background: rgba(138, 43, 226, 0.3); filter: blur(40px);
}
/* Light theme adjustments */
body.light-theme .pref-popup-card { background: #fff; color: #111; }
body.light-theme .pref-popup-text { color: #555; }
body.light-theme .pref-popup-option { background: #f5f5f5; color: #111; }

/* --- PREFERENCE POPUP --- */
.pref-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 1, 15, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
}

.pref-popup-card {
    position: relative;
    width: min(420px, 94vw);
    background: linear-gradient(180deg, #1c0c2d, #0c0516);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    color: #fff;
}

.pref-popup-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pref-popup-logo {
    width: 54px; height: 54px;
    background: var(--main-gradient);
    border-radius: 14px;
    display: grid; place-items: center;
    font-weight: 900; font-size: 1.4rem;
}
.pref-popup-kicker { font-size: 0.7rem; text-transform: uppercase; opacity: 0.5; font-weight: 800; letter-spacing: 1px; }
.pref-popup-text { color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 24px; }
.pref-popup-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.pref-popup-option {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.04);
    padding: 14px 18px; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer; transition: 0.2s;
}

.pref-popup-option:hover { background: rgba(138, 43, 226, 0.15); border-color: rgba(138, 43, 226, 0.3); }
.pref-popup-option input { accent-color: var(--primary-purple); width: 18px; height: 18px; }
.pref-popup-option span { font-weight: 700; font-size: 0.95rem; }

.pref-popup-confirm-btn {
    width: 100%; height: 54px; border: none;
    background: var(--main-gradient);
    color: #fff; border-radius: 16px;
    font-weight: 900; cursor: pointer;
    transition: 0.24s; box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}
.pref-popup-confirm-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.pref-popup-glow {
    position: absolute; top: -60px; right: -60px;
    width: 160px; height: 160px;
    background: rgba(138, 43, 226, 0.3); filter: blur(40px);
    pointer-events: none;
}

.auth-modal {
    z-index: 2147483647;
}

.pref-popup-overlay {
    z-index: 2147483000;
}

body.auth-lock #first-visit-overlay {
    display: none !important;
    pointer-events: none !important;
}

/* === FINDS PRODUCT CARD - FINAL POLISHED SKIN === */
.products-grid {
  gap: 28px;
}

.product-card {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(33, 13, 48, 0.98), rgba(17, 5, 28, 0.99));
  border: 1px solid rgba(199, 148, 255, 0.13);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transform: translateZ(0);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 8%, rgba(162, 83, 255, 0.18), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 36%);
  opacity: 0.75;
  z-index: 0;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(221, 188, 255, 0.24);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(138, 43, 226, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-image {
  aspect-ratio: 1 / 0.9;
  padding: 12px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.085), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(166, 83, 255, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(31, 12, 48, 0.98), rgba(13, 4, 23, 0.99));
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.product-image::after {
  height: 42%;
  background:
    linear-gradient(180deg, transparent, rgba(15, 4, 26, 0.62));
  z-index: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.2));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24))
    saturate(1.05)
    contrast(1.02);
}

.product-stats {
  top: 12px;
  left: 12px;
  right: 12px;
  gap: 6px;
}

.product-stat {
  min-height: 23px;
  padding: 5px 8px;
  gap: 4px;
  border-color: rgba(231, 209, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(38, 18, 56, 0.84), rgba(109, 52, 165, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(15, 4, 26, 0.22);
}

.product-stat:hover {
  border-color: rgba(238, 222, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(48, 22, 72, 0.9), rgba(136, 61, 204, 0.8));
}

.product-stat-icon {
  width: 12px;
  height: 12px;
}

.product-stat-value {
  font-size: 0.64rem;
}

.product-info {
  padding: 21px 22px 24px;
  gap: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(138, 43, 226, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(31, 12, 45, 0.74), rgba(23, 7, 35, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.product-info::before {
  opacity: 0.55;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 46%);
}

.product-meta {
  gap: 6px;
  min-height: 27px;
}

.meta-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.meta-tag[data-filter-kind] {
  cursor: pointer;
  user-select: none;
}

.meta-tag[data-filter-kind]:hover,
.meta-tag[data-filter-kind]:focus-visible {
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(209, 166, 255, 0.24);
  background: rgba(138, 43, 226, 0.16);
  outline: none;
}

.meta-tag.filter-active {
  color: #fff !important;
  border-color: rgba(226, 195, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(138, 43, 226, 0.52), rgba(93, 36, 145, 0.42));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 16px rgba(138, 43, 226, 0.18);
}

.product-title {
  height: 2.95em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.38;
}

.product-price-row {
  margin-top: -2px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-price {
  color: #3cff68;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: none;
}

.product-rating {
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
}

.product-rating-star {
  color: #ffd84d;
}

.product-rating-value {
  color: rgba(255, 255, 255, 0.94);
}

.product-rating-count {
  color: rgba(255, 255, 255, 0.43);
}

.product-actions {
  padding-top: 3px;
}

.product-actions::before {
  content: none;
}

.product-actions-row {
  gap: 10px;
}

.product-actions-row .btn-view-full,
.btn-view-full {
  min-height: 52px;
  border-radius: 13px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, #9c2cf3 0%, #6812c7 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(112, 24, 202, 0.24);
}

.product-actions-row .btn-view-full:hover,
.btn-view-full:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-like {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(138, 43, 226, 0.16));
  color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.16);
}

.btn-like:hover,
.btn-like.is-favorite,
.btn-like.active {
  color: #ff5abf;
  border-color: rgba(255, 90, 191, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 90, 191, 0.16), rgba(138, 43, 226, 0.2));
}

body.light-theme .product-card {
  background:
    linear-gradient(180deg, #ffffff, #fbf8ff) !important;
  border-color: rgba(138, 43, 226, 0.16) !important;
  box-shadow:
    0 18px 42px rgba(50, 25, 90, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.light-theme .product-card::before {
  background:
    radial-gradient(circle at 88% 8%, rgba(138, 43, 226, 0.11), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), transparent 40%);
}

body.light-theme .product-card:hover {
  border-color: rgba(138, 43, 226, 0.26) !important;
  box-shadow:
    0 24px 54px rgba(50, 25, 90, 0.15),
    0 0 24px rgba(138, 43, 226, 0.1) !important;
}

body.light-theme .product-image {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.7), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(138, 43, 226, 0.12), transparent 32%),
    linear-gradient(180deg, #f8f2ff, #efe7f8) !important;
}

body.light-theme .product-image::after {
  background:
    linear-gradient(180deg, transparent, rgba(247, 241, 255, 0.62)) !important;
}

body.light-theme .product-info {
  background:
    radial-gradient(circle at 100% 0%, rgba(138, 43, 226, 0.075), transparent 38%),
    linear-gradient(180deg, #ffffff, #fbf8ff) !important;
}

body.light-theme .product-title {
  color: rgba(23, 18, 31, 0.76) !important;
}

body.light-theme .meta-tag[data-filter-kind]:hover,
body.light-theme .meta-tag[data-filter-kind]:focus-visible {
  color: #4B0082 !important;
  border-color: rgba(138, 43, 226, 0.22) !important;
  background: rgba(138, 43, 226, 0.1) !important;
}

body.light-theme .meta-tag.filter-active {
  color: #4B0082 !important;
  border-color: rgba(138, 43, 226, 0.28) !important;
  background: rgba(138, 43, 226, 0.14) !important;
  box-shadow: 0 0 16px rgba(138, 43, 226, 0.1) !important;
}

body.light-theme .product-price-row {
  background: transparent !important;
  border-color: rgba(23, 18, 31, 0.08) !important;
  box-shadow: none !important;
}

body.light-theme .product-rating {
  background: transparent !important;
  border-color: transparent !important;
  color: rgba(23, 18, 31, 0.62) !important;
}

body.light-theme .product-rating-count {
  color: rgba(23, 18, 31, 0.45) !important;
}

body.light-theme .product-rating-value {
  color: rgba(23, 18, 31, 0.86) !important;
}

body.light-theme .btn-like {
  background: rgba(138, 43, 226, 0.08) !important;
  border-color: rgba(138, 43, 226, 0.12) !important;
  color: rgba(75, 0, 130, 0.34) !important;
}

body.light-theme .btn-like:hover,
body.light-theme .btn-like.active,
body.light-theme .btn-like.is-favorite {
  background: rgba(255, 90, 191, 0.13) !important;
  border-color: rgba(255, 90, 191, 0.2) !important;
  color: #ff4d88 !important;
}

@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .product-info {
    padding: 16px 17px 18px;
  }

  .product-title {
    font-size: 1.04rem;
  }

  .product-actions-row .btn-view-full,
  .btn-view-full,
  .btn-like {
    min-height: 48px;
    height: 48px;
  }

  .btn-like {
    width: 48px;
    min-width: 48px;
  }
}

/* Pin account logout to the bottom of the sidebar. */
#user-center-modal .user-center-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#user-center-modal .user-center-nav {
    flex: 0 0 auto;
}

#user-center-modal .user-center-logout {
    margin-top: auto;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    #user-center-modal .user-center-logout {
        margin-top: 12px;
    }
}

/* --- CUSTOM PREFERENCE POPUP STYLES --- */
.pref-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 1, 15, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
}

.pref-popup-card {
    position: relative;
    width: min(420px, 94vw);
    background: linear-gradient(180deg, #1c0c2d, #0c0516);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    color: #fff;
}

.pref-popup-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pref-popup-logo {
    width: 54px; height: 54px;
    background: var(--main-gradient);
    border-radius: 14px;
    display: grid; place-items: center;
    font-weight: 950; font-size: 1.5rem;
}
.pref-popup-kicker { font-size: 0.7rem; text-transform: uppercase; opacity: 0.5; font-weight: 900; }
.pref-popup-text { color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 24px; }
.pref-popup-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.pref-popup-option {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 14px 18px; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer; transition: 0.2s;
}

.pref-popup-option:hover { background: rgba(138, 43, 226, 0.15); border-color: rgba(138, 43, 226, 0.3); }
.pref-popup-option span { font-weight: 700; }

.pref-popup-confirm-btn {
    width: 100%; height: 54px; border: none;
    background: var(--main-gradient);
    color: #fff; border-radius: 16px;
    font-weight: 950; cursor: pointer;
    transition: 0.24s;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.pref-popup-confirm-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.pref-popup-glow-inner {
    position: absolute; top: -60px; right: -60px;
    width: 160px; height: 160px;
    background: rgba(138, 43, 226, 0.3); filter: blur(40px);
    pointer-events: none;
}

body.light-theme .pref-popup-card { background: #fff; color: #111; border-color: #eee; }
body.light-theme .pref-popup-text { color: #555; }
body.light-theme .pref-popup-option { background: #f5f5f5; color: #111; }

/* --- ENHANCED POPUP STYLES --- */
.pref-popup-section {
    margin-bottom: 20px;
}
.pref-popup-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.pref-popup-select {
    width: 100%;
    height: 48px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    padding: 0 14px;
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
body.light-theme .pref-popup-label { color: #888; }
body.light-theme .pref-popup-select { background-color: #f9f9f9; border-color: #ddd; color: #111; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); }

/* Keep auth controls above the first-visit preference overlay. */
.auth-modal {
    z-index: 2147483647;
}

.pref-popup-overlay {
    z-index: 2147483000;
}

body.auth-lock #first-visit-overlay {
    display: none !important;
    pointer-events: none !important;
}
/* =========================
   AUTH POPUP POLISH 2026
========================= */
.auth-modal {
  padding: clamp(16px, 3vw, 28px) !important;
}

.auth-backdrop {
  background:
    radial-gradient(circle at 22% 18%, rgba(138, 43, 226, 0.30), transparent 34%),
    radial-gradient(circle at 78% 82%, rgba(236, 72, 153, 0.14), transparent 34%),
    rgba(4, 0, 10, 0.76) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
}

.auth-card {
  width: min(440px, calc(100vw - 28px)) !important;
  max-height: calc(100dvh - 28px) !important;
  overflow: auto !important;
  padding: 28px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    radial-gradient(circle at 94% 0%, rgba(138, 43, 226, 0.30), transparent 42%),
    linear-gradient(180deg, rgba(23, 9, 38, 0.98), rgba(9, 3, 18, 0.99)) !important;
  background-size: 38px 38px, 38px 38px, auto, auto !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(138, 43, 226, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.auth-close {
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.82) !important;
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
  z-index: 8 !important;
}

.auth-close:hover {
  transform: translateY(-1px) !important;
  background: rgba(255, 255, 255, 0.13) !important;
  border-color: rgba(181, 108, 255, 0.34) !important;
}

.auth-glow {
  opacity: 0.28 !important;
}

.auth-brand-row {
  align-items: center !important;
  gap: 13px !important;
  margin: 4px 44px 16px 0 !important;
}

.auth-logo-clean,
.auth-logo-dot {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  background: rgba(138, 43, 226, 0.18) !important;
  box-shadow: 0 14px 30px rgba(138, 43, 226, 0.26) !important;
}

.auth-kicker {
  margin-bottom: 5px !important;
  color: rgba(255, 255, 255, 0.50) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.10em !important;
}

.auth-card h2 {
  font-size: clamp(1.55rem, 4vw, 2rem) !important;
  letter-spacing: -0.02em !important;
}

.auth-subtitle {
  margin-bottom: 18px !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.auth-tabs {
  padding: 5px !important;
  margin-bottom: 18px !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.auth-tab {
  height: 42px !important;
  border-radius: 11px !important;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.58) !important;
}

.auth-tab.active {
  background: linear-gradient(135deg, #a855f7, #6d0fb2) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(138, 43, 226, 0.34) !important;
}

.auth-form {
  gap: 13px !important;
}

.auth-field {
  gap: 7px !important;
}

.auth-field > span {
  color: rgba(255, 255, 255, 0.54) !important;
  font-size: 0.70rem !important;
  letter-spacing: 0.075em !important;
}

.auth-input-wrap {
  height: 52px !important;
  border-radius: 14px !important;
  padding: 0 10px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.auth-input-wrap:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.068) !important;
}

.auth-input-wrap:focus-within {
  border-color: rgba(168, 85, 247, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14) !important;
  background: rgba(255, 255, 255, 0.078) !important;
}

.auth-input-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 9px !important;
  background: rgba(168, 85, 247, 0.15) !important;
  color: rgba(236, 224, 255, 0.92) !important;
}

.auth-input-wrap input {
  color: #fff !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
}

.auth-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.38) !important;
}

.auth-password-toggle {
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.085) !important;
  color: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.auth-hint {
  margin-top: -2px !important;
  color: rgba(255, 255, 255, 0.50) !important;
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
}

.auth-primary-btn,
.auth-secondary-btn,
.auth-danger-btn {
  height: 52px !important;
  border-radius: 14px !important;
  font-size: 0.95rem !important;
  font-weight: 950 !important;
}

.auth-primary-btn {
  margin-top: 6px !important;
  background: linear-gradient(135deg, #a855f7, #6d0fb2) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 14px 30px rgba(138, 43, 226, 0.28) !important;
}

.auth-primary-btn:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.08) !important;
}

.auth-secondary-btn {
  background: rgba(255, 255, 255, 0.065) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.auth-secondary-btn:hover {
  transform: translateY(-1px) !important;
  background: rgba(255, 255, 255, 0.10) !important;
}

.auth-message {
  margin: 13px 0 0 !important;
  min-height: 0 !important;
  border-radius: 12px !important;
  font-size: 0.82rem !important;
}

.auth-message.show {
  padding: 10px 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.auth-signed-in {
  gap: 12px !important;
}

.auth-avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px !important;
  background: rgba(0, 255, 136, 0.14) !important;
  color: #00ff88 !important;
  border: 1px solid rgba(0, 255, 136, 0.18) !important;
}

body.light-theme .auth-backdrop {
  background:
    radial-gradient(circle at 18% 18%, rgba(138, 43, 226, 0.20), transparent 34%),
    radial-gradient(circle at 82% 86%, rgba(236, 72, 153, 0.11), transparent 34%),
    rgba(246, 241, 252, 0.78) !important;
}

body.light-theme .auth-card {
  color: #17121f !important;
  background:
    linear-gradient(rgba(138,43,226,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,43,226,0.024) 1px, transparent 1px),
    radial-gradient(circle at 94% 0%, rgba(138,43,226,0.12), transparent 42%),
    rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(138, 43, 226, 0.16) !important;
  box-shadow: 0 28px 90px rgba(61, 27, 102, 0.18) !important;
}

body.light-theme .auth-kicker,
body.light-theme .auth-subtitle,
body.light-theme .auth-field > span,
body.light-theme .auth-hint {
  color: rgba(23, 18, 31, 0.58) !important;
}

body.light-theme .auth-card h2,
body.light-theme .auth-input-wrap input {
  color: #17121f !important;
}

body.light-theme .auth-tabs,
body.light-theme .auth-input-wrap,
body.light-theme .auth-secondary-btn,
body.light-theme .auth-close {
  background: rgba(138, 43, 226, 0.055) !important;
  border-color: rgba(138, 43, 226, 0.14) !important;
}

body.light-theme .auth-tab:not(.active),
body.light-theme .auth-secondary-btn,
body.light-theme .auth-close {
  color: rgba(23, 18, 31, 0.68) !important;
}

body.light-theme .auth-input-icon {
  background: rgba(138, 43, 226, 0.10) !important;
  color: #6d28d9 !important;
}

body.light-theme .auth-input-wrap input::placeholder {
  color: rgba(23, 18, 31, 0.36) !important;
}

@media (max-width: 560px) {
  .auth-card {
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .auth-brand-row {
    align-items: flex-start !important;
    flex-direction: column !important;
    margin-right: 44px !important;
    gap: 10px !important;
  }

  .auth-logo-clean,
  .auth-logo-dot {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }

  .auth-primary-btn,
  .auth-secondary-btn,
  .auth-danger-btn,
  .auth-input-wrap {
    height: 50px !important;
  }
}
/* AUTH POPUP SCROLLBAR HOTFIX */
.auth-card {
  overflow: visible !important;
  max-height: none !important;
}

.auth-modal {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.auth-card::-webkit-scrollbar,
.auth-modal::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

@media (max-height: 720px), (max-width: 560px) {
  .auth-card {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: calc(100dvh - 28px) !important;
    scrollbar-width: none !important;
  }
}
/* AUTH POPUP STABLE CLEANUP */
.auth-card {
  width: min(430px, calc(100vw - 32px)) !important;
  min-height: 0 !important;
  display: block !important;
  padding: 28px !important;
  border-radius: 24px !important;
  overflow: visible !important;
  max-height: none !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(138, 43, 226, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(24, 10, 39, 0.98), rgba(10, 4, 18, 0.99)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

.auth-card::before,
.auth-card::after {
  content: none !important;
  display: none !important;
}

.auth-close {
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  z-index: 10 !important;
}

.auth-glow {
  display: none !important;
}

.auth-brand-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 46px 16px 0 !important;
}

.auth-logo-clean,
.auth-logo-dot {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
  border-radius: 14px !important;
}

.auth-card h2 {
  max-width: none !important;
  font-size: 1.9rem !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}

.auth-subtitle {
  max-width: none !important;
  margin: 0 0 18px !important;
  color: rgba(255,255,255,0.68) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.auth-tabs,
.auth-form,
.auth-signed-in,
.auth-message {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.auth-tabs {
  margin: 0 0 18px !important;
  padding: 5px !important;
  border-radius: 15px !important;
}

.auth-tab {
  height: 42px !important;
  border-radius: 11px !important;
}

.auth-form {
  gap: 13px !important;
}

.auth-input-wrap {
  height: 52px !important;
  border-radius: 14px !important;
}

.auth-primary-btn,
.auth-secondary-btn,
.auth-danger-btn {
  height: 52px !important;
  border-radius: 14px !important;
}

.auth-primary-btn {
  margin-top: 6px !important;
}

.auth-message {
  margin-top: 12px !important;
}

body.light-theme .auth-card {
  color: #17121f !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-color: rgba(138, 43, 226, 0.16) !important;
  box-shadow: 0 28px 90px rgba(61, 27, 102, 0.18) !important;
}

@media (max-width: 560px), (max-height: 720px) {
  .auth-card {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: calc(100dvh - 28px) !important;
    padding: 22px !important;
    border-radius: 20px !important;
  }
}
/* AUTH POPUP SIDE LAYOUT - STABLE */
.auth-card {
  width: min(760px, calc(100vw - 34px)) !important;
  max-height: none !important;
  overflow: visible !important;
  display: grid !important;
  grid-template-columns: 290px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
  padding: 18px !important;
  border-radius: 24px !important;
}

.auth-card::before,
.auth-card::after {
  content: none !important;
  display: none !important;
}

.auth-side-panel {
  grid-column: 1 !important;
  grid-row: 1 / span 8 !important;
  min-height: 430px !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background:
    radial-gradient(circle at 24% 12%, rgba(168, 85, 247, 0.34), transparent 34%),
    radial-gradient(circle at 82% 88%, rgba(236, 72, 153, 0.16), transparent 32%),
    linear-gradient(160deg, rgba(91, 32, 145, 0.70), rgba(25, 9, 42, 0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
  color: #fff !important;
  z-index: 2 !important;
}

.auth-side-logo {
  width: 62px !important;
  height: 62px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 18px !important;
  background: rgba(0,0,0,0.34) !important;
  color: #b56cff !important;
  font-size: 2rem !important;
  font-weight: 950 !important;
  box-shadow: 0 18px 34px rgba(0,0,0,0.26) !important;
}

.auth-side-panel span {
  display: block !important;
  margin-bottom: 8px !important;
  color: rgba(255,255,255,0.58) !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
}

.auth-side-panel strong {
  display: block !important;
  max-width: 210px !important;
  color: #fff !important;
  font-size: 2.05rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.auth-side-panel p {
  max-width: 220px !important;
  margin: 14px 0 0 !important;
  color: rgba(255,255,255,0.68) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.auth-side-list {
  display: grid !important;
  gap: 9px !important;
}

.auth-side-list i {
  min-height: 34px !important;
  padding: 0 11px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 11px !important;
  background: rgba(255,255,255,0.075) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  color: rgba(255,255,255,0.82) !important;
  font-style: normal !important;
  font-size: 0.8rem !important;
  font-weight: 850 !important;
}

.auth-close {
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 12 !important;
}

.auth-brand-row,
.auth-subtitle,
.auth-tabs,
.auth-form,
.auth-signed-in,
.auth-message {
  grid-column: 2 !important;
  margin-left: 0 !important;
  margin-right: 34px !important;
}

.auth-brand-row {
  margin-top: 24px !important;
  margin-bottom: 14px !important;
}

.auth-logo-clean,
.auth-logo-dot {
  display: none !important;
}

.auth-card h2 {
  font-size: 2rem !important;
  line-height: 1 !important;
  max-width: none !important;
}

.auth-subtitle {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

.auth-tabs {
  margin-bottom: 18px !important;
}

.auth-form {
  gap: 13px !important;
}

.auth-message {
  margin-top: 12px !important;
}

.auth-signed-in {
  margin-top: 72px !important;
  justify-content: center !important;
}

body.light-theme .auth-side-panel {
  background:
    radial-gradient(circle at 24% 12%, rgba(138, 43, 226, 0.20), transparent 34%),
    radial-gradient(circle at 82% 88%, rgba(236, 72, 153, 0.10), transparent 32%),
    linear-gradient(160deg, rgba(250, 247, 255, 0.98), rgba(232, 219, 252, 0.94)) !important;
  border-color: rgba(138, 43, 226, 0.16) !important;
  color: #17121f !important;
}

body.light-theme .auth-side-panel strong {
  color: #17121f !important;
}

body.light-theme .auth-side-panel span,
body.light-theme .auth-side-panel p {
  color: rgba(23,18,31,0.62) !important;
}

body.light-theme .auth-side-list i {
  background: rgba(138, 43, 226, 0.075) !important;
  border-color: rgba(138, 43, 226, 0.12) !important;
  color: rgba(23,18,31,0.72) !important;
}

@media (max-width: 760px), (max-height: 700px) {
  .auth-card {
    width: min(430px, calc(100vw - 28px)) !important;
    display: block !important;
    padding: 22px !important;
    max-height: calc(100dvh - 28px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .auth-side-panel {
    display: none !important;
  }

  .auth-brand-row,
  .auth-subtitle,
  .auth-tabs,
  .auth-form,
  .auth-signed-in,
  .auth-message {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .auth-brand-row {
    margin-top: 0 !important;
  }

  .auth-logo-clean,
  .auth-logo-dot {
    display: block !important;
  }
}
/* AUTH MEMBER PROOF */
.auth-side-panel .auth-member-proof[data-auth-member-proof] {
  margin-top: 16px !important;
  width: 100% !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  text-align: center !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.66) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  font-size: 0.8rem !important;
  font-weight: 850 !important;
}

.auth-side-panel .auth-member-proof[data-auth-member-proof] > span,
.auth-side-panel .auth-member-proof[data-auth-member-proof] > b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.auth-side-panel .auth-member-proof[data-auth-member-proof] > span {
  color: rgba(255, 255, 255, 0.66) !important;
  font-weight: 850 !important;
}

.auth-side-panel .auth-member-proof[data-auth-member-proof] > b {
  color: #ffffff !important;
  font-weight: 950 !important;
}

body.light-theme .auth-side-panel .auth-member-proof[data-auth-member-proof] {
  background: rgba(138, 43, 226, 0.08) !important;
  border-color: rgba(138, 43, 226, 0.14) !important;
  color: rgba(43, 18, 58, 0.62) !important;
}

body.light-theme .auth-side-panel .auth-member-proof[data-auth-member-proof] > span {
  color: rgba(43, 18, 58, 0.62) !important;
}

body.light-theme .auth-side-panel .auth-member-proof[data-auth-member-proof] > b {
  color: #2b123a !important;
}
/* AUTH CLOSE RIGHT FIX */
.auth-card > .auth-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: 16px !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 30 !important;
}

@media (max-width: 720px) {
  .auth-card > .auth-close {
    top: 14px !important;
    right: 14px !important;
    inset-inline-end: 14px !important;
  }
}

/* FIRST-VISIT POPUP STATIC LOGO + NO SCROLL */
#first-visit-overlay.pref-popup-overlay {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

#first-visit-overlay .pref-popup-card {
  max-height: none !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

#first-visit-overlay .pref-popup-card::-webkit-scrollbar,
#first-visit-overlay.pref-popup-overlay::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

#first-visit-overlay .pref-popup-logo {
  padding: 7px !important;
  overflow: hidden;
  line-height: 0;
  background: rgba(255, 255, 255, 0.075) !important;
}

#first-visit-overlay .pref-popup-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

#first-visit-overlay .pref-popup-themes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* FINDS GRID PERFORMANCE */
#products-grid > .product-card {
  content-visibility: auto;
  contain-intrinsic-size: 520px;
}

.finds-load-more-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}

.finds-load-more-sentinel[hidden] {
  display: none;
}

/* FINDS INIT FLASH GUARD */
body.finds-loading {
  overflow: hidden;
}

html:has(body.finds-loading) {
  overflow: hidden;
}

html.finds-loading-root {
  overflow: hidden;
}

body.finds-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  background:
    radial-gradient(circle at 50% 42%, rgba(138, 43, 226, 0.18), transparent 28%),
    #05000e;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.finds-loading::after {
  content: "Loading finds";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147482001;
  width: 150px;
  min-height: 88px;
  display: grid;
  place-items: end center;
  padding: 58px 0 0;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  box-shadow: none;
  font-size: 0.70rem;
  font-weight: 950;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

body.finds-loading .header-main::before {
  content: "";
  position: fixed;
  left: 50%;
  top: calc(50% - 18px);
  z-index: 2147482002;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.13);
  border-top-color: #c084fc;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.24);
  transform: translate(-50%, -50%);
  animation: findsPageSpin 0.82s linear infinite;
}

body.finds-loading .header-main::after {
  content: none;
}

body.finds-loading #zenithdeck-count-big,
body.finds-loading #finds-visible-count {
  visibility: hidden;
}

/* =========================
   FINDS HERO REFRESH
========================= */
.vault-hero {
  margin-bottom: 26px;
}

.vault-hero-card {
  min-height: 330px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr);
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 14%, rgba(178, 91, 255, 0.34), transparent 30%),
    linear-gradient(115deg, rgba(28, 8, 46, 0.94) 0%, rgba(16, 3, 31, 0.98) 56%, rgba(33, 6, 61, 0.94) 100%);
  border-color: rgba(205, 157, 255, 0.18);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset;
}

.vault-hero-card::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(105deg, rgba(0, 0, 0, 0.5), transparent 70%);
  opacity: 0.55;
}

.vault-hero-card::after {
  content: "";
  position: absolute;
  inset: auto 36px 0 36px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(202, 147, 255, 0.72), transparent);
}

.vault-eyebrow {
  height: 30px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.09);
  letter-spacing: 0.06em;
}

.vault-title {
  max-width: 760px;
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.vault-title span {
  margin-top: 12px;
  background: linear-gradient(100deg, #a855f7 0%, #e9c8ff 64%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.vault-copy {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.75;
}

.vault-actions {
  width: min(720px, 100%);
  margin-top: 32px;
  grid-template-columns: minmax(0, 1fr) 50px 50px;
}

.vault-search,
.vault-icon-btn,
.vault-fav-btn {
  border-radius: 8px;
  background: rgba(19, 5, 34, 0.78);
  border-color: rgba(202, 147, 255, 0.16);
}

.vault-search:focus-within {
  border-color: rgba(202, 147, 255, 0.55);
  box-shadow:
    0 0 0 3px rgba(138, 43, 226, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vault-hero-right {
  justify-content: center;
  gap: 18px;
}

.vault-count-card {
  flex: 0;
  min-height: 230px;
  border-radius: 8px;
  padding: 28px;
  align-items: end;
  justify-items: start;
  text-align: left;
  background:
    radial-gradient(circle at 52% 42%, rgba(168, 85, 247, 0.42), transparent 45%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.vault-count-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.vault-count-inner {
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
}

.vault-count-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

#zenithdeck-count-big {
  font-size: clamp(5rem, 7vw, 7.4rem);
  line-height: 0.78;
  letter-spacing: 0;
  background: linear-gradient(115deg, #ffffff 0%, #e4c1ff 42%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 24px 70px rgba(168, 85, 247, 0.45);
}

.vault-count-sub {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vault-mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vault-mini-card {
  min-height: 40px;
  flex: 1 1 calc(50% - 8px);
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 12px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(19, 5, 34, 0.72);
  border-color: rgba(202, 147, 255, 0.15);
  box-shadow: none;
}

.vault-mini-card::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #a855f7;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.65);
}

.vault-mini-card:hover {
  transform: none;
  border-color: rgba(202, 147, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(255, 255, 255, 0.045)),
    rgba(19, 5, 34, 0.82);
  box-shadow: none;
}

.vault-mini-card strong,
.vault-mini-card span {
  display: inline;
  margin: 0;
  line-height: 1;
}

.vault-mini-card strong {
  font-size: 0.92rem;
}

.vault-mini-card span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

body.light-theme .vault-hero-card {
  background:
    radial-gradient(circle at 78% 14%, rgba(138, 43, 226, 0.13), transparent 30%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 255, 0.98)) !important;
}

body.light-theme .vault-count-card,
body.light-theme .vault-mini-card,
body.light-theme .vault-search,
body.light-theme .vault-icon-btn,
body.light-theme .vault-fav-btn {
  background: rgba(255, 255, 255, 0.66) !important;
}

body.light-theme .vault-count-label,
body.light-theme .vault-count-sub,
body.light-theme .vault-mini-card span {
  color: rgba(23, 18, 31, 0.55) !important;
}

body.light-theme .vault-eyebrow {
  color: rgba(23, 18, 31, 0.7) !important;
}

@media (max-width: 820px) {
  .vault-hero-card {
    grid-template-columns: 1fr;
  }

  .vault-count-card {
    min-height: 190px;
  }
}

@media (max-width: 640px) {
  .vault-hero-card {
    border-radius: 8px;
    padding: 24px 16px;
  }

  .vault-title {
    font-size: clamp(2.75rem, 16vw, 4.6rem);
    line-height: 0.92;
  }

  .vault-actions {
    grid-template-columns: 1fr 44px 44px;
  }

  .vault-mini-card {
    flex-basis: 100%;
  }
}

/* =========================
   FINDS HERO CLEANUP
========================= */
.vault-hero-card {
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(34px, 4vw, 54px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgba(138, 43, 226, 0.30), transparent 28%),
    linear-gradient(135deg, rgba(23, 4, 42, 0.98), rgba(9, 1, 18, 0.98) 58%, rgba(25, 3, 48, 0.96));
  border-color: rgba(168, 85, 247, 0.28);
}

.vault-hero-card::after {
  display: none;
}

.vault-hero-left {
  max-width: 980px;
}

.vault-title {
  max-width: 940px;
  font-size: clamp(3.2rem, 5.2vw, 5.6rem);
  line-height: 0.94;
}

.vault-copy {
  max-width: 760px;
}

.vault-actions {
  max-width: 760px;
}

.vault-hero-right {
  width: 100%;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  justify-content: stretch;
}

.vault-count-card {
  min-height: 62px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 12px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.26), rgba(255, 255, 255, 0.05)),
    rgba(18, 4, 33, 0.72);
  box-shadow: none;
}

.vault-count-card::before {
  display: none;
}

.vault-count-inner {
  width: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "count label"
    "count sub";
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
}

.vault-count-label {
  grid-area: label;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

#zenithdeck-count-big {
  grid-area: count;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
}

.vault-count-sub {
  grid-area: sub;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.vault-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.vault-mini-card {
  min-height: 62px;
  flex: initial;
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(18, 4, 33, 0.62);
}

.vault-mini-card strong {
  font-size: 0.95rem;
}

.vault-mini-card span {
  font-size: 0.66rem;
}

body.light-theme .vault-hero-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(138, 43, 226, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 255, 0.98)) !important;
}

@media (max-width: 900px) {
  .vault-hero-right {
    grid-template-columns: 1fr;
  }

  .vault-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vault-hero-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .vault-title {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .vault-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FINDS HERO RESET - CLEAN STRIP
========================= */
.vault-hero-card {
  min-height: 0 !important;
  display: block !important;
  padding: clamp(34px, 4vw, 52px) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 85% 10%, rgba(138, 43, 226, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(19, 3, 35, 0.98), rgba(8, 1, 17, 0.99)) !important;
  border: 1px solid rgba(168, 85, 247, 0.28) !important;
}

.vault-hero-left {
  max-width: 940px !important;
}

.vault-title {
  max-width: 920px !important;
  font-size: clamp(3rem, 5vw, 5.25rem) !important;
  line-height: 0.95 !important;
}

.vault-copy {
  max-width: 720px !important;
}

.vault-actions {
  max-width: 720px !important;
}

.vault-hero-right {
  width: min(720px, 100%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

.vault-count-card {
  width: auto !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

.vault-count-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 7px !important;
}

.vault-count-label,
.vault-count-sub {
  display: none !important;
}

#zenithdeck-count-big {
  display: inline !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.vault-count-card::after {
  content: "finds";
  display: inline !important;
  margin-left: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vault-mini-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.vault-mini-card {
  min-height: 38px !important;
  flex: 0 0 auto !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.vault-mini-card::before {
  display: none !important;
}

.vault-mini-card strong {
  font-size: 0.82rem !important;
}

.vault-mini-card span {
  display: none !important;
}

@media (max-width: 640px) {
  .vault-hero-card {
    padding: 24px 16px !important;
  }

  .vault-title {
    font-size: clamp(2.7rem, 13vw, 4.1rem) !important;
  }

  .vault-hero-right {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

/* =========================
   FINDS HERO STATS PANEL
========================= */
.vault-hero {
  margin-bottom: 18px !important;
}

.vault-hero-card {
  min-height: 320px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px) !important;
  grid-template-areas: "left stats" !important;
  gap: clamp(24px, 4vw, 54px) !important;
  align-items: center !important;
  padding: clamp(28px, 3.4vw, 44px) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.055), transparent 26%),
    linear-gradient(135deg, rgba(18, 3, 32, 0.98), rgba(8, 0, 17, 0.99) 62%, rgba(18, 3, 34, 0.98)) !important;
  border: 1px solid rgba(168, 85, 247, 0.24) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.vault-hero-card::before {
  opacity: 0.28 !important;
}

.vault-hero-left {
  grid-area: left !important;
  max-width: 820px !important;
}

.vault-eyebrow {
  margin-bottom: 18px !important;
}

.vault-title {
  max-width: 780px !important;
  font-size: clamp(3rem, 4.6vw, 5.2rem) !important;
  line-height: 0.92 !important;
  letter-spacing: 0 !important;
}

.vault-title span {
  display: block !important;
  margin-top: 8px !important;
  background: linear-gradient(105deg, #9b5cf6 0%, #d9b7ff 72%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.vault-copy {
  max-width: 690px !important;
  margin-top: 20px !important;
  font-size: 0.96rem !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.vault-actions {
  width: min(700px, 100%) !important;
  max-width: 700px !important;
  margin-top: 28px !important;
}

.vault-search,
.vault-icon-btn,
.vault-fav-btn {
  height: 50px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
}

.vault-hero-right {
  grid-area: stats !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.vault-stats-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vault-stat {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(15, 3, 28, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.vault-stat-main {
  min-height: 150px;
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 76% 20%, rgba(155, 92, 246, 0.20), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    rgba(15, 3, 28, 0.78);
}

.vault-stat-label {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.vault-stat strong {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1;
}

.vault-stat-main strong,
#zenithdeck-count-big {
  display: block !important;
  font-size: clamp(4.6rem, 7vw, 6.7rem) !important;
  line-height: 0.82 !important;
  letter-spacing: 0 !important;
  background: linear-gradient(110deg, #ffffff 0%, #d9b7ff 48%, #9b5cf6 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.light-theme .vault-hero-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(138, 43, 226, 0.09), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 255, 0.98)) !important;
}

body.light-theme .vault-stat {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(138, 43, 226, 0.12) !important;
}

body.light-theme .vault-stat-label {
  color: rgba(23, 18, 31, 0.52) !important;
}

body.light-theme .vault-stat strong {
  color: #17121f !important;
}

@media (max-width: 900px) {
  .vault-hero-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "left"
      "stats" !important;
  }

  .vault-stats-panel {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .vault-hero-card {
    min-height: 0 !important;
    padding: 24px 16px !important;
  }

  .vault-title {
    font-size: clamp(2.7rem, 13vw, 4.2rem) !important;
  }

  .vault-stats-panel {
    grid-template-columns: 1fr 1fr;
  }

  .vault-stat {
    min-height: 72px;
    padding: 13px;
  }

  .vault-stat-main {
    min-height: 118px;
  }
}

/* =========================
   FINDS HERO FINAL COMPACT
========================= */
.vault-hero {
  margin-bottom: 16px !important;
}

.vault-hero-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "left"
    "actions" !important;
  column-gap: 28px !important;
  row-gap: 18px !important;
  align-items: center !important;
  padding: 24px 28px !important;
  border-radius: 14px !important;
}

.vault-hero-left {
  grid-area: left !important;
  max-width: none !important;
  min-width: 0 !important;
}

.vault-eyebrow {
  margin-bottom: 14px !important;
}

.vault-title {
  max-width: 980px !important;
  font-size: clamp(3rem, 5vw, 5.25rem) !important;
  line-height: 0.94 !important;
}

.vault-title span {
  display: block !important;
  margin-top: 4px !important;
}

.vault-copy {
  max-width: 820px !important;
  margin-top: 14px !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

.vault-actions {
  grid-area: actions !important;
  width: min(760px, 100%) !important;
  max-width: none !important;
  margin-top: 0 !important;
}

.vault-hero-right {
  display: none !important;
}

.vault-count-card {
  justify-content: center !important;
}

.vault-mini-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

.vault-mini-card {
  justify-content: center !important;
  padding: 0 8px !important;
}

@media (max-width: 980px) {
  .vault-hero-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "left"
      "actions"
      "stats" !important;
  }

  .vault-title span {
    display: block !important;
  }

  .vault-hero-right {
    width: min(520px, 100%) !important;
  }
}

/* =========================
   FINDS HERO SHOWCASE
========================= */
.vault-hero {
  margin-bottom: 22px !important;
}

.vault-hero-card {
  min-height: clamp(430px, 42vw, 560px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr) !important;
  grid-template-areas: "left showcase" !important;
  gap: clamp(28px, 5vw, 76px) !important;
  align-items: center !important;
  padding: clamp(34px, 4.6vw, 68px) !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 72% 30%, rgba(168, 85, 247, 0.35), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.15), transparent 24%),
    linear-gradient(135deg, rgba(20, 2, 38, 0.98) 0%, rgba(8, 0, 17, 0.99) 52%, rgba(31, 4, 58, 0.96) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.32) !important;
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.vault-hero-card::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
  background-size: 58px 58px !important;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.75), transparent 78%) !important;
  opacity: 0.55 !important;
}

.vault-hero-left {
  grid-area: left !important;
  max-width: 820px !important;
}

.vault-eyebrow {
  margin-bottom: 22px !important;
  border-radius: 999px !important;
}

.vault-title {
  max-width: 840px !important;
  font-size: clamp(3.55rem, 5.7vw, 6.65rem) !important;
  line-height: 0.86 !important;
  letter-spacing: 0 !important;
}

.vault-title span {
  display: block !important;
  margin-top: 12px !important;
}

.vault-copy {
  max-width: 690px !important;
  margin-top: 26px !important;
  font-size: 1rem !important;
  line-height: 1.68 !important;
  color: rgba(255, 255, 255, 0.76) !important;
}

.vault-actions {
  width: min(720px, 100%) !important;
  max-width: 720px !important;
  margin-top: 34px !important;
}

.vault-search,
.vault-icon-btn,
.vault-fav-btn {
  height: 52px !important;
  border-radius: 12px !important;
  background: rgba(9, 0, 18, 0.56) !important;
  border-color: rgba(202, 147, 255, 0.22) !important;
}

.vault-hero-right {
  grid-area: showcase !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  align-self: stretch !important;
}

.vault-orbit {
  position: relative;
  min-height: 390px;
  height: 100%;
}

.vault-orbit::before {
  content: "";
  position: absolute;
  inset: 34px 0 28px 34px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(168, 85, 247, 0.38), transparent 58%);
  filter: blur(8px);
  opacity: 0.9;
}

.vault-orbit-count {
  position: absolute;
  top: 18px;
  right: 0;
  z-index: 4;
  min-width: 168px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(18, 4, 33, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

#zenithdeck-count-big {
  display: block !important;
  font-size: clamp(3.4rem, 5vw, 5.8rem) !important;
  line-height: 0.78 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  background: linear-gradient(120deg, #ffffff 0%, #e9c8ff 42%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.vault-orbit-count small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.vault-preview {
  position: absolute;
  z-index: 2;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  text-decoration: none;
}

.vault-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}

.vault-preview-main {
  left: 8%;
  top: 70px;
  width: min(330px, 66%);
  aspect-ratio: 0.82;
  z-index: 3;
  transform: rotate(-4deg);
}

.vault-preview-one {
  right: 4%;
  bottom: 78px;
  width: min(230px, 44%);
  aspect-ratio: 0.86;
  transform: rotate(7deg);
}

.vault-preview-two {
  left: 0;
  bottom: 18px;
  width: min(190px, 38%);
  aspect-ratio: 1;
  transform: rotate(8deg);
  opacity: 0.9;
}

.vault-preview-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(7, 0, 14, 0.76);
  backdrop-filter: blur(14px);
}

.vault-preview-info span,
.vault-preview-info strong {
  display: block;
}

.vault-preview-info span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.vault-preview-info strong {
  margin-top: 5px;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.15;
  font-weight: 950;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vault-signal-strip {
  position: absolute;
  right: 2%;
  bottom: 18px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 340px;
}

.vault-signal-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(9, 0, 18, 0.62);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.light-theme .vault-hero-card {
  background:
    radial-gradient(circle at 72% 30%, rgba(138, 43, 226, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 255, 0.98)) !important;
}

@media (max-width: 980px) {
  .vault-hero-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "left"
      "showcase" !important;
  }

  .vault-orbit {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .vault-hero-card {
    padding: 24px 16px !important;
  }

  .vault-title {
    font-size: clamp(2.7rem, 14vw, 4.35rem) !important;
  }

  .vault-orbit {
    min-height: 330px;
  }

  .vault-orbit-count {
    right: 8px;
    top: 8px;
    min-width: 128px;
  }

  .vault-preview-main {
    left: 4%;
    top: 58px;
    width: 62%;
  }

  .vault-preview-one {
    right: 2%;
    bottom: 78px;
    width: 42%;
  }

  .vault-preview-two {
    width: 34%;
  }
}

/* =========================
   FINDS HERO FINAL STATS OVERRIDE
========================= */
.vault-hero-card {
  min-height: 320px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px) !important;
  grid-template-areas: "left stats" !important;
  gap: clamp(24px, 4vw, 54px) !important;
  align-items: center !important;
  padding: clamp(28px, 3.4vw, 44px) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.055), transparent 26%),
    linear-gradient(135deg, rgba(18, 3, 32, 0.98), rgba(8, 0, 17, 0.99) 62%, rgba(18, 3, 34, 0.98)) !important;
  border: 1px solid rgba(168, 85, 247, 0.24) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.vault-hero-left {
  grid-area: left !important;
  max-width: 820px !important;
}

.vault-title {
  max-width: 780px !important;
  font-size: clamp(3rem, 4.6vw, 5.2rem) !important;
  line-height: 0.92 !important;
}

.vault-title span {
  display: block !important;
  margin-top: 8px !important;
  background: linear-gradient(105deg, #9b5cf6 0%, #d9b7ff 72%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.vault-copy {
  max-width: 690px !important;
  margin-top: 20px !important;
  font-size: 0.96rem !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.vault-actions {
  width: min(700px, 100%) !important;
  max-width: 700px !important;
  margin-top: 28px !important;
}

.vault-hero-right {
  grid-area: stats !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.vault-orbit,
.vault-preview,
.vault-orbit-count,
.vault-signal-strip {
  display: none !important;
}

.vault-stats-panel {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.vault-stat {
  min-height: 82px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  padding: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.095) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(15, 3, 28, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.vault-stat-main {
  min-height: 150px !important;
  grid-column: 1 / -1 !important;
  background:
    radial-gradient(circle at 76% 20%, rgba(155, 92, 246, 0.20), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    rgba(15, 3, 28, 0.78) !important;
}

.vault-stat-label {
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 0.68rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.1em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.vault-stat strong {
  color: #fff !important;
  font-size: 1.28rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.vault-stat-main strong,
#zenithdeck-count-big {
  display: block !important;
  font-size: clamp(4.6rem, 7vw, 6.7rem) !important;
  line-height: 0.82 !important;
  letter-spacing: 0 !important;
  background: linear-gradient(110deg, #ffffff 0%, #d9b7ff 48%, #9b5cf6 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

@media (max-width: 900px) {
  .vault-hero-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "left"
      "stats" !important;
  }

  .vault-stats-panel {
    max-width: 520px !important;
  }
}

@media (max-width: 640px) {
  .vault-hero-card {
    min-height: 0 !important;
    padding: 24px 16px !important;
  }

  .vault-title {
    font-size: clamp(2.7rem, 13vw, 4.2rem) !important;
  }

  .vault-stats-panel {
    grid-template-columns: 1fr 1fr !important;
  }

  .vault-stat {
    min-height: 72px !important;
    padding: 13px !important;
  }

  .vault-stat-main {
    min-height: 118px !important;
  }
}

/* =========================
   FINDS HERO HARD RESET - GRAPHITE
========================= */
.vault-hero {
  width: min(var(--site-width), calc(100% - var(--site-side-gap))) !important;
  margin: 0 auto 18px !important;
}

.vault-hero-card {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px) !important;
  grid-template-areas: "left stats" !important;
  align-items: stretch !important;
  gap: 22px !important;
  padding: 22px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    #09090b !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow:
    0 22px 60px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.06) !important;
}

.vault-hero-card::before,
.vault-hero-card::after,
.vault-hero-bg {
  display: none !important;
}

.vault-hero-left {
  grid-area: left !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: clamp(14px, 2.4vw, 26px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.vault-eyebrow {
  height: 28px !important;
  margin: 0 0 18px !important;
  padding: 0 11px !important;
  border-radius: 7px !important;
  color: rgba(255,255,255,0.74) !important;
  background: rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  font-size: 0.64rem !important;
  letter-spacing: 0.08em !important;
}

.vault-live-dot {
  width: 7px !important;
  height: 7px !important;
  background: #22c55e !important;
  box-shadow: 0 0 10px rgba(34,197,94,0.55) !important;
}

.vault-title {
  max-width: 880px !important;
  color: #f7f7f8 !important;
  font-size: clamp(2.65rem, 4.4vw, 4.95rem) !important;
  line-height: 0.94 !important;
  letter-spacing: 0 !important;
  font-weight: 950 !important;
}

.vault-title span {
  display: block !important;
  margin-top: 8px !important;
  color: rgba(255,255,255,0.58) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

.vault-copy {
  max-width: 700px !important;
  margin-top: 18px !important;
  color: rgba(255,255,255,0.64) !important;
  font-size: 0.93rem !important;
  line-height: 1.7 !important;
  font-weight: 650 !important;
}

.vault-actions {
  width: min(700px, 100%) !important;
  max-width: 700px !important;
  margin-top: 24px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 48px 48px !important;
  gap: 10px !important;
}

.vault-search,
.vault-icon-btn,
.vault-fav-btn {
  height: 48px !important;
  border-radius: 10px !important;
  background: #0f0f12 !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045) !important;
}

.vault-search:focus-within {
  border-color: rgba(255,255,255,0.28) !important;
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.055),
    inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

.vault-search-icon,
.vault-search input::placeholder {
  color: rgba(255,255,255,0.38) !important;
}

.vault-search input {
  color: #fff !important;
}

.vault-icon-btn:hover,
.vault-fav-btn:hover {
  transform: translateY(-2px) !important;
  background: #17171b !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28) !important;
}

.vault-icon-btn img {
  filter: invert(1) grayscale(1) brightness(1.4) !important;
  opacity: 0.78 !important;
}

.vault-fav-btn {
  color: #f4f4f5 !important;
}

.vault-hero-right {
  grid-area: stats !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.vault-stats-panel {
  height: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.vault-stat {
  min-height: 76px !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018)),
    #0e0e11 !important;
  box-shadow: none !important;
}

.vault-stat-main {
  min-height: 142px !important;
  grid-column: 1 / -1 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
    #101014 !important;
}

.vault-stat-label {
  color: rgba(255,255,255,0.42) !important;
  font-size: 0.64rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.vault-stat strong {
  color: rgba(255,255,255,0.92) !important;
  font-size: 1.16rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.vault-stat-main strong,
#zenithdeck-count-big {
  display: block !important;
  color: #f7f7f8 !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  font-size: clamp(4.35rem, 6vw, 6rem) !important;
  line-height: 0.82 !important;
  letter-spacing: 0 !important;
}

body.light-theme .vault-hero-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,248,250,0.96)),
    #fff !important;
  border-color: rgba(23,23,23,0.10) !important;
}

body.light-theme .vault-title {
  color: #111113 !important;
}

body.light-theme .vault-title span,
body.light-theme .vault-copy,
body.light-theme .vault-stat-label {
  color: rgba(17,17,19,0.52) !important;
}

body.light-theme .vault-search,
body.light-theme .vault-icon-btn,
body.light-theme .vault-fav-btn,
body.light-theme .vault-stat {
  background: rgba(255,255,255,0.82) !important;
  border-color: rgba(17,17,19,0.10) !important;
}

body.light-theme .vault-stat strong,
body.light-theme #zenithdeck-count-big {
  color: #111113 !important;
}

.finds-toolbar .finds-toolbar-actions .vault-icon-btn,
.finds-toolbar .finds-toolbar-actions .vault-fav-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(42, 23, 56, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 8px 18px rgba(0, 0, 0, 0.12) !important;
}

.finds-toolbar .finds-toolbar-actions .vault-icon-btn:hover,
.finds-toolbar .finds-toolbar-actions .vault-fav-btn:hover {
  transform: translateY(-1px) !important;
  background:
    linear-gradient(135deg, rgba(154, 62, 255, 0.48), rgba(87, 24, 140, 0.5)),
    rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(213, 179, 255, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 10px 22px rgba(0, 0, 0, 0.16) !important;
}

.finds-toolbar .finds-toolbar-actions .vault-icon-btn img {
  width: 18px !important;
  height: 18px !important;
  filter: invert(1) grayscale(1) brightness(1.25) !important;
  opacity: 0.86 !important;
}

body.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn,
body.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn {
  color: #4c1d95 !important;
  border-color: rgba(124, 58, 237, 0.22) !important;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(168, 85, 247, 0.09)),
    rgba(255, 255, 255, 0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 18px rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn img {
  filter: none !important;
  opacity: 0.76 !important;
}

@media (max-width: 900px) {
  .vault-hero-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "left"
      "stats" !important;
  }

  .vault-stats-panel {
    max-width: 560px !important;
  }
}

@media (max-width: 640px) {
  .vault-hero-card {
    padding: 16px !important;
  }

  .vault-hero-left {
    padding: 8px 0 0 !important;
  }

  .vault-title {
    font-size: clamp(2.45rem, 12vw, 3.85rem) !important;
  }

  .vault-actions {
    grid-template-columns: minmax(0, 1fr) 48px 48px !important;
  }

  .vault-stats-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: none !important;
  }

  .vault-stat-main {
    min-height: 116px !important;
  }

  .vault-stat {
    min-height: 70px !important;
  }
}

body.finds-loading .products-container {
  opacity: 0;
}

body.repdatabase-finds-ready .products-container {
  opacity: 1;
  transition: opacity 0.16s ease;
}

@keyframes findsPageSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Catalog hero title gradient */
#finds-stats-title {
  display: block;
  width: fit-content;
  line-height: 1.12;
  padding: 0 0.04em 0.14em 0;
  margin-bottom: -0.14em;
  background: linear-gradient(105deg, #ffffff 0%, #e9d5ff 48%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

body.light-theme #finds-stats-title {
  background: linear-gradient(105deg, #3b0764 0%, #7e22ce 58%, #c4a1f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   FINDS FILTER DRAWER — refined card layout
   ========================================================= */
.filters-panel {
  --drawer-bg: #0d0712;
  --drawer-card: rgba(255, 255, 255, 0.035);
  --drawer-card-hover: rgba(255, 255, 255, 0.06);
  --drawer-line: rgba(255, 255, 255, 0.085);
  --drawer-line-strong: rgba(183, 108, 235, 0.36);
  --drawer-text: #f8f3fb;
  --drawer-muted: rgba(232, 218, 240, 0.54);
  --drawer-accent: #a64de2;
}

.filters-panel .filters-overlay {
  background: rgba(3, 1, 6, 0.66);
  backdrop-filter: blur(7px);
}

.filters-panel .filters-shell {
  width: min(460px, 100vw);
  border: 0;
  border-left: 1px solid var(--drawer-line);
  background:
    radial-gradient(circle at 88% 3%, rgba(145, 55, 205, 0.15), transparent 26%),
    linear-gradient(180deg, #110818 0%, var(--drawer-bg) 42%, #09050d 100%);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.52);
}

.filters-panel .filters-top {
  min-height: 86px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--drawer-line);
  background: rgba(13, 7, 18, 0.82);
  backdrop-filter: blur(18px);
}

.filters-panel .filters-title {
  gap: 13px;
  min-width: 0;
}

.filters-panel .filters-badge {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(181, 102, 234, 0.24);
  border-radius: 13px;
  color: #c778f5;
  background: rgba(161, 72, 220, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.filters-panel .filters-badge svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filters-panel .filters-h1 {
  color: var(--drawer-text);
  font-size: 1.12rem;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

.filters-panel .filters-sub {
  max-width: 270px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--drawer-muted);
  font-size: 0.72rem;
  font-weight: 600 !important;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filters-panel .filters-x {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--drawer-line);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.035);
}

.filters-panel .filters-x svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.filters-panel .filters-x:hover {
  border-color: rgba(190, 116, 238, 0.26);
  color: #fff;
  background: rgba(172, 84, 224, 0.1);
  transform: none;
}

.filters-panel .filters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px 16px 24px;
  scrollbar-gutter: stable;
}

.filters-panel .filters-leftcol,
.filters-panel .filters-col {
  gap: 14px;
}

.filters-panel .filters-card,
.filters-panel .filters-card-price {
  height: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--drawer-line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 10px 28px rgba(0, 0, 0, 0.12);
}

.filters-panel .filters-card:last-child,
.filters-panel .filters-card-price:last-child {
  border-bottom: 1px solid var(--drawer-line);
}

.filters-panel .filters-card-head {
  min-height: 67px;
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.filters-panel .filters-head-with-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  align-items: center;
  gap: 12px;
}

.filters-panel .filters-section-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filters-panel .filters-section-icon {
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 108, 235, 0.16);
  border-radius: 10px;
  color: #bd78ea;
  background: rgba(164, 73, 220, 0.075);
}

.filters-panel .filters-section-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filters-panel .filters-card-title {
  display: block;
  padding: 0;
  color: var(--drawer-text);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}

.filters-panel .filters-card-hint {
  margin-top: 3px;
  overflow: hidden;
  color: var(--drawer-muted);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filters-panel .filters-inline-search {
  position: relative;
  min-width: 0;
  display: block;
}

.filters-panel .filters-inline-search > svg {
  position: absolute;
  left: 10px;
  top: 50%;
  z-index: 1;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: rgba(231, 214, 240, 0.42);
  stroke-width: 1.8;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.filters-panel .filters-searchinput-inline {
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0 10px 0 31px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  color: var(--drawer-text);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.68rem;
  font-weight: 650;
  box-shadow: none;
}

.filters-panel .filters-searchinput-inline::placeholder {
  color: rgba(230, 216, 239, 0.36);
}

.filters-panel .filters-searchinput-inline:hover {
  border-color: rgba(184, 115, 230, 0.18);
}

.filters-panel .filters-searchinput-inline:focus {
  border-color: rgba(174, 91, 227, 0.54);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.075);
}

.filters-panel .filters-categories,
.filters-panel .filters-brands {
  height: 256px;
}

.filters-panel .filters-cat-list,
.filters-panel .filters-brand-list {
  padding: 7px;
}

.filters-panel .filters-cat-item,
.filters-panel .filters-brand-item {
  position: relative;
  min-height: 39px;
  margin: 0 0 2px;
  padding: 7px 9px 7px 36px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(247, 240, 250, 0.75);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: left;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.filters-panel .filters-cat-item::before,
.filters-panel .filters-brand-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.16);
  transform: translateY(-50%);
  transition: inherit;
}

.filters-panel .filters-cat-item::after,
.filters-panel .filters-brand-item::after {
  content: "";
  position: absolute;
  left: 15px;
  top: calc(50% - 1px);
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  opacity: 0;
  transform: translateY(-55%) rotate(45deg) scale(0.7);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.filters-panel .filters-cat-item:hover,
.filters-panel .filters-brand-item:hover {
  border-color: rgba(255, 255, 255, 0.045);
  color: #fff;
  background: var(--drawer-card-hover);
}

.filters-panel .filters-cat-item.active,
.filters-panel .filters-brand-item.active {
  border-color: rgba(178, 90, 230, 0.24);
  color: #fff;
  background: linear-gradient(90deg, rgba(151, 57, 207, 0.19), rgba(151, 57, 207, 0.055));
}

.filters-panel .filters-cat-item.active::before,
.filters-panel .filters-brand-item.active::before {
  border-color: #a54bde;
  background: #8f36c7;
  box-shadow: 0 0 0 3px rgba(143, 54, 199, 0.1);
}

.filters-panel .filters-cat-item.active::after,
.filters-panel .filters-brand-item.active::after {
  opacity: 1;
  transform: translateY(-55%) rotate(45deg) scale(1);
}

.filters-panel .filters-cat-left {
  min-width: 0;
  font-size: inherit;
  font-weight: inherit;
}

.filters-panel .filters-cat-left > span,
.filters-panel .filters-brand-item > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filters-panel .filters-cat-count,
.filters-panel .filters-brand-count {
  min-width: 26px;
  padding: 3px 6px;
  border-radius: 7px;
  color: rgba(236, 220, 245, 0.5);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.62rem;
  font-weight: 750 !important;
  text-align: center;
}

.filters-panel .filters-cat-item.active .filters-cat-count,
.filters-panel .filters-brand-item.active .filters-brand-count {
  color: #d8a5f6;
  background: rgba(164, 75, 219, 0.12);
}

.filters-panel .filters-card-price {
  padding-bottom: 16px;
}

.filters-panel .filters-price-slider .slider-values {
  margin: 15px 0 9px;
  padding: 0 17px;
  opacity: 1;
}

.filters-panel .filters-price-slider .slider-values span {
  min-width: 72px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  color: #e5c4f7;
  background: rgba(0, 0, 0, 0.17);
  font-size: 0.7rem;
  text-align: center;
}

.filters-panel .slider-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.09);
}

.filters-panel .slider-track::before {
  background: linear-gradient(90deg, #8331bc, #b65de9);
  box-shadow: 0 0 12px rgba(164, 75, 219, 0.32);
}

.filters-panel .slider-wrap input[type="range"]::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  border: 3px solid #e8c9f8;
  background: #8e37c6;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(142, 55, 198, 0.11);
}

.filters-panel .filters-qbadge {
  min-width: 44px;
  padding: 6px 9px;
  border: 1px solid rgba(183, 103, 235, 0.22);
  border-radius: 9px;
  color: #d79df4;
  background: rgba(153, 57, 205, 0.1);
  font-size: 0.66rem;
  font-weight: 800 !important;
  text-align: center;
}

.filters-panel .filters-quality,
.filters-panel .filters-gender {
  padding: 12px;
}

.filters-panel .filters-rating-options {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.filters-panel .filters-rating-btn {
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  color: rgba(246, 238, 250, 0.64);
  background: rgba(0, 0, 0, 0.13);
  font-size: 0.68rem;
  font-weight: 750;
}

.filters-panel .filters-rating-btn:hover {
  border-color: rgba(191, 122, 234, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.filters-panel .filters-rating-btn.active {
  border-color: rgba(182, 91, 232, 0.58);
  color: #fff;
  background: linear-gradient(145deg, rgba(157, 61, 211, 0.36), rgba(111, 36, 157, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.filters-panel .filters-gender {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.filters-panel .filters-pillbtn {
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 10px;
  color: rgba(246, 238, 250, 0.65);
  background: rgba(0, 0, 0, 0.13);
  font-size: 0.72rem;
  font-weight: 750;
}

.filters-panel .filters-pillbtn:hover {
  border-color: rgba(191, 122, 234, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.filters-panel .filters-pillbtn.active {
  border-color: rgba(182, 91, 232, 0.48);
  color: #fff;
  background: linear-gradient(145deg, rgba(157, 61, 211, 0.32), rgba(111, 36, 157, 0.25));
}

.filters-panel .filters-bottom {
  min-height: 74px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--drawer-line);
  background: rgba(12, 6, 17, 0.88);
  box-shadow: 0 -16px 38px rgba(5, 2, 8, 0.3);
  backdrop-filter: blur(18px);
}

.filters-panel .filters-btn-ghost,
.filters-panel .filters-btn-primary {
  width: 100%;
  height: 46px;
  margin: 0;
  border-radius: 11px;
  font-size: 0.74rem;
  font-weight: 800 !important;
}

.filters-panel .filters-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.085);
  color: rgba(242, 232, 247, 0.62);
  background: rgba(255, 255, 255, 0.035);
}

.filters-panel .filters-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
  transform: none;
}

.filters-panel .filters-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(205, 151, 239, 0.2) !important;
  color: #fff;
  background: linear-gradient(135deg, #8f35c8, #692398);
  box-shadow: 0 9px 22px rgba(91, 25, 130, 0.28) !important;
}

.filters-panel .filters-btn-primary svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.16s ease;
}

.filters-panel .filters-btn-primary:hover {
  filter: brightness(1.08);
  transform: none;
}

.filters-panel .filters-btn-primary:hover svg {
  transform: translateX(2px);
}

@media (max-width: 520px) {
  .filters-panel .filters-shell {
    width: calc(100vw - 12px);
  }

  .filters-panel .filters-top {
    min-height: 76px;
    padding: 14px;
  }

  .filters-panel .filters-badge {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .filters-panel .filters-h1 {
    font-size: 1rem;
  }

  .filters-panel .filters-sub {
    max-width: 220px;
    font-size: 0.67rem;
  }

  .filters-panel .filters-grid {
    gap: 11px;
    padding: 11px 10px 18px;
  }

  .filters-panel .filters-leftcol,
  .filters-panel .filters-col {
    gap: 11px;
  }

  .filters-panel .filters-card,
  .filters-panel .filters-card-price {
    border-radius: 14px;
  }

  .filters-panel .filters-head-with-search {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .filters-panel .filters-categories,
  .filters-panel .filters-brands {
    height: 270px;
  }

  .filters-panel .filters-inline-search {
    width: 100%;
  }

  .filters-panel .filters-bottom {
    padding-right: 10px;
    padding-left: 10px;
  }
}

body.light-theme .filters-panel {
  --drawer-bg: #f7f3fa;
  --drawer-card: rgba(255, 255, 255, 0.76);
  --drawer-card-hover: rgba(123, 54, 173, 0.06);
  --drawer-line: rgba(76, 29, 149, 0.11);
  --drawer-text: #261632;
  --drawer-muted: rgba(53, 31, 67, 0.54);
}

body.light-theme .filters-panel .filters-shell {
  background:
    radial-gradient(circle at 88% 3%, rgba(139, 64, 190, 0.11), transparent 26%),
    linear-gradient(180deg, #fbf8fd 0%, #f6f1f9 100%);
  box-shadow: -24px 0 70px rgba(40, 21, 52, 0.18);
}

body.light-theme .filters-panel .filters-top,
body.light-theme .filters-panel .filters-bottom {
  background: rgba(250, 247, 252, 0.88);
}

body.light-theme .filters-panel .filters-card,
body.light-theme .filters-panel .filters-card-price {
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(65, 35, 82, 0.045);
}

body.light-theme .filters-panel .filters-searchinput-inline,
body.light-theme .filters-panel .filters-price-slider .slider-values span,
body.light-theme .filters-panel .filters-rating-btn,
body.light-theme .filters-panel .filters-pillbtn {
  color: #352143;
  background: rgba(75, 35, 98, 0.035);
}

body.light-theme .filters-panel .filters-cat-item,
body.light-theme .filters-panel .filters-brand-item {
  color: rgba(39, 22, 49, 0.76);
}

body.light-theme .filters-panel .filters-cat-item:hover,
body.light-theme .filters-panel .filters-brand-item:hover {
  color: #271631;
}

body.light-theme .filters-panel .filters-cat-item.active,
body.light-theme .filters-panel .filters-brand-item.active {
  color: #3c1556;
  background: linear-gradient(90deg, rgba(151, 57, 207, 0.12), rgba(151, 57, 207, 0.035));
}

/* Live catalog database badge */
.finds-stats-kicker.catalog-status-badge {
  min-width: 246px;
  min-height: 54px;
  display: inline-grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  padding: 7px 9px;
  border: 1px solid rgba(184, 108, 235, .2);
  border-radius: 14px;
  color: #f2dcff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(20, 7, 31, .72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 10px 28px rgba(5, 1, 10, .16);
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: blur(12px);
}

.catalog-status-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 103, 235, .18);
  border-radius: 11px;
  color: #c277ef;
  background: rgba(151, 59, 205, .1);
}

.catalog-status-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-status-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.catalog-status-copy .vault-status-text {
  overflow: hidden;
  color: #f7effb;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-status-copy small {
  color: rgba(232, 213, 242, .42);
  font-size: .58rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
}

.catalog-status-signal {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(75, 236, 143, .13);
  border-radius: 9px;
  background: rgba(55, 205, 119, .055);
}

.catalog-status-badge .vault-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39e984;
  box-shadow: 0 0 11px rgba(57, 233, 132, .75);
}

.catalog-status-badge .vault-live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: rgba(57, 233, 132, .45);
  animation: catalog-status-pulse 1.8s ease-out infinite;
}

.catalog-status-badge[data-status="loading"] .catalog-status-icon,
.catalog-status-badge[data-status="loading"] .vault-status-text {
  color: #f5cf55;
}

.catalog-status-badge[data-status="loading"] .catalog-status-signal {
  border-color: rgba(245, 207, 85, .16);
  background: rgba(245, 207, 85, .06);
}

.catalog-status-badge[data-status="loading"] .vault-live-dot {
  background: #f5cf55;
  box-shadow: 0 0 11px rgba(245, 207, 85, .7);
}

.catalog-status-badge[data-status="loading"] .vault-live-dot::after {
  color: rgba(245, 207, 85, .44);
}

.catalog-status-badge[data-status="offline"] .catalog-status-icon,
.catalog-status-badge[data-status="offline"] .vault-status-text {
  color: #ff8294;
}

.catalog-status-badge[data-status="offline"] .catalog-status-signal {
  border-color: rgba(255, 83, 110, .18);
  background: rgba(255, 83, 110, .07);
}

.catalog-status-badge[data-status="offline"] .vault-live-dot {
  background: #ff536e;
  box-shadow: 0 0 11px rgba(255, 83, 110, .7);
}

.catalog-status-badge[data-status="offline"] .vault-live-dot::after {
  color: rgba(255, 83, 110, .44);
}

@keyframes catalog-status-pulse {
  0% { opacity: .9; transform: scale(.55); }
  75%, 100% { opacity: 0; transform: scale(1.35); }
}

body.light-theme .finds-stats-kicker.catalog-status-badge {
  border-color: rgba(111, 43, 150, .14);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 26px rgba(53, 25, 70, .07), inset 0 1px 0 #fff;
}

body.light-theme .catalog-status-copy .vault-status-text {
  color: #352040;
}

body.light-theme .catalog-status-copy small {
  color: rgba(53, 32, 64, .5);
}

@media (prefers-reduced-motion: reduce) {
  .catalog-status-badge .vault-live-dot::after { animation: none; }
}

/* Respect the selected light theme during the initial Finds loading screen. */
body.light-theme.finds-loading::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(138, 43, 226, 0.14), transparent 30%),
    linear-gradient(145deg, #faf8fd, #f2edf8) !important;
}

body.light-theme.finds-loading::after {
  color: rgba(67, 37, 86, 0.68) !important;
}

body.light-theme.finds-loading .header-main::before {
  border-color: rgba(94, 45, 130, 0.18) !important;
  border-top-color: #8b2be2 !important;
  box-shadow: 0 0 24px rgba(138, 43, 226, 0.20) !important;
}

/* =========================================================
   FINDS LIGHT PALETTE — homepage periwinkle system
   Scoped to Finds so the existing dark theme stays intact.
========================================================= */
body.finds-page.light-theme {
  --finds-ink: #19182a;
  --finds-navy: #3f4775;
  --finds-muted: rgba(25, 24, 42, .6);
  --finds-border: rgba(77, 79, 132, .15);
  --finds-canvas: #e8e6f7;
  --finds-lilac: #e7d8ff;
  --finds-periwinkle: #b8c0ff;
  --finds-gradient: linear-gradient(145deg, #e7d8ff 0%, #ced0ff 48%, #b8c0ff 100%);
  color: var(--finds-ink) !important;
  background: var(--finds-canvas) !important;
}

body.finds-page.light-theme.finds-loading::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.72), transparent 29%),
    linear-gradient(145deg, #efedf9, #dfe2f8) !important;
}

body.finds-page.light-theme.finds-loading::after {
  color: rgba(63,71,117,.7) !important;
}

body.finds-page.light-theme.finds-loading .header-main::before {
  border-color: rgba(98,107,156,.18) !important;
  border-top-color: #626b9c !important;
  box-shadow: 0 0 24px rgba(98,107,156,.18) !important;
}

body.finds-page.light-theme .content-area {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-top: 104px;
  color: var(--finds-ink);
  background: transparent !important;
}

/* Navbar */
body.finds-page.light-theme .nav-container {
  border-color: var(--finds-border) !important;
  background: var(--finds-gradient) !important;
  box-shadow: 0 16px 38px rgba(101,105,173,.16), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.finds-page.light-theme .nav-logo .logo-text {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--finds-ink) !important;
  font-size: 1.38rem;
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: 1;
}

body.finds-page.light-theme .nav-brand-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 14px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 9px 22px rgba(81,76,145,.18), inset 0 1px 0 rgba(255,255,255,.82);
  object-fit: cover;
}

body.finds-page.light-theme .nav-brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3f4775 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
  white-space: nowrap;
}

body.finds-page.light-theme .nav-brand-wordmark b {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 9px;
  color: #4b548a;
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 6px 15px rgba(93,80,150,.1);
  font-size: .72em;
  letter-spacing: -.035em;
}

body.finds-page.light-theme .nav-search,
body.finds-page.light-theme #user-center-toggle.nav-account-icon-only {
  border-color: rgba(86,88,145,.16) !important;
  background: rgba(255,255,255,.68) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 8px 20px rgba(89,91,151,.08) !important;
}

@media (min-width: 993px) {
  body.finds-page.light-theme .nav-menu {
    margin-left: 82px !important;
    gap: 15px;
  }
}

body.finds-page.light-theme #user-center-toggle.nav-account-icon-only,
body.finds-page.light-theme #user-center-toggle.nav-account-icon-only:hover,
body.finds-page.light-theme #user-center-toggle.nav-account-icon-only.is-logged-in,
body.finds-page.light-theme #user-center-toggle.nav-account-icon-only.is-logged-in:hover {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

body.finds-page.light-theme #user-center-toggle.nav-account-icon-only::before,
body.finds-page.light-theme #user-center-toggle.nav-account-icon-only:hover::before {
  opacity: 0 !important;
}

body.finds-page.light-theme .nav-search.nav-search-enhanced:hover,
body.finds-page.light-theme .nav-search.nav-search-enhanced:focus-within {
  border-color: rgba(86,88,145,.25) !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 0 0 3px rgba(98,107,156,.07) !important;
}

body.finds-page.light-theme .nav-search-enhanced .nav-search-icon {
  color: rgba(63, 71, 117, .76) !important;
}

body.finds-page.light-theme .nav-search-enhanced:focus-within .nav-search-icon {
  color: #626b9c !important;
}

body.finds-page.light-theme .nav-search.nav-search-enhanced > #nav-search-input {
  color: var(--finds-ink) !important;
  background: transparent !important;
}

body.finds-page.light-theme .nav-search.nav-search-enhanced > #nav-search-input::placeholder {
  color: rgba(63,71,117,.48) !important;
}

body.finds-page.light-theme .nav-link.active,
body.finds-page.light-theme .nav-auth-signup {
  border-color: rgba(255,255,255,.5) !important;
  color: var(--finds-ink) !important;
  background: rgba(255,255,255,.58) !important;
  box-shadow: 0 8px 20px rgba(86,88,145,.12), inset 0 1px 0 rgba(255,255,255,.76) !important;
}

body.finds-page.light-theme .nav-link:not(.active):hover,
body.finds-page.light-theme .nav-dropdown-btn:hover {
  color: var(--finds-ink) !important;
  background: linear-gradient(135deg, rgba(184,192,255,.72), rgba(231,216,255,.72)) !important;
}

body.finds-page.light-theme .nav-dropdown-menu,
body.finds-page.light-theme .nav-suggest {
  border-color: var(--finds-border) !important;
  background: rgba(248,247,255,.96) !important;
  box-shadow: 0 20px 42px rgba(76,78,132,.18) !important;
}

/* Main catalog hero */
body.finds-page.light-theme .finds-stats-hero {
  overflow: hidden;
  border: 1px solid var(--finds-border) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 92% 4%, rgba(255,255,255,.58), transparent 28%),
    var(--finds-gradient) !important;
  box-shadow: 0 24px 58px rgba(95,98,163,.16), inset 0 1px 0 rgba(255,255,255,.7) !important;
}

body.finds-page.light-theme #finds-stats-title {
  color: var(--finds-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  letter-spacing: -.055em;
}

body.finds-page.light-theme .finds-stats-copy > p {
  color: var(--finds-muted) !important;
}

body.finds-page.light-theme .finds-stats-kicker.catalog-status-badge {
  border-color: rgba(77,79,132,.13) !important;
  background: rgba(255,255,255,.5) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 9px 22px rgba(89,91,151,.07) !important;
}

body.finds-page.light-theme .catalog-status-icon {
  border-color: rgba(86,88,145,.13);
  color: #565aa6;
  background: rgba(255,255,255,.52);
}

body.finds-page.light-theme .catalog-status-copy .vault-status-text { color: #3f4775 !important; }
body.finds-page.light-theme .catalog-status-copy small { color: rgba(63,71,117,.52) !important; }

body.finds-page.light-theme .finds-hero-search {
  height: 58px;
  gap: 10px;
  padding: 5px 6px 5px 17px;
  border-radius: 18px !important;
  border-color: rgba(77,79,132,.15) !important;
  background: rgba(255,255,255,.64) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 28px rgba(89,91,151,.08) !important;
}

body.finds-page.light-theme .finds-hero-search:focus-within {
  border-color: rgba(98,107,156,.34) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 0 0 3px rgba(98,107,156,.08), 0 12px 28px rgba(89,91,151,.1) !important;
}

body.finds-page.light-theme .finds-hero-search input { color: var(--finds-ink) !important; }
body.finds-page.light-theme .finds-hero-search input {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}
body.finds-page.light-theme .finds-hero-search input::placeholder { color: rgba(63,71,117,.46) !important; }
body.finds-page.light-theme .finds-hero-search-icon { color: rgba(98,107,156,.64) !important; }

body.finds-page.light-theme .finds-hero-search-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 0;
}

body.finds-page.light-theme .finds-hero-search-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body.finds-page.light-theme .finds-hero-search-submit {
  width: 46px;
  height: 46px;
  min-width: 46px;
  flex-basis: 46px;
  border-radius: 13px;
  border-color: rgba(86,88,145,.16) !important;
  color: #565aa6 !important;
  background: linear-gradient(135deg, rgba(184,192,255,.78), rgba(231,216,255,.82)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 7px 17px rgba(85,88,146,.1) !important;
}

body.finds-page.light-theme .finds-hero-search-clear {
  color: #626b9c !important;
  background: transparent !important;
}

body.finds-page.light-theme .finds-hero-search-loader {
  border-color: rgba(98,107,156,.18) !important;
  border-top-color: #626b9c !important;
}

body.finds-page.light-theme .finds-stat-card {
  border-color: rgba(77,79,132,.13) !important;
  color: var(--finds-ink) !important;
  background: rgba(255,255,255,.48) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 10px 24px rgba(89,91,151,.07) !important;
}

body.finds-page.light-theme .finds-stat-card strong { color: #3f4775 !important; }
body.finds-page.light-theme .finds-stat-label,
body.finds-page.light-theme .finds-stat-card small { color: rgba(63,71,117,.56) !important; }

/* Toolbar */
body.finds-page.light-theme .products-container { background: transparent !important; }

body.finds-page.light-theme .finds-toolbar {
  border: 1px solid var(--finds-border) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.46) !important;
  box-shadow: 0 14px 32px rgba(96,99,164,.1), inset 0 1px 0 rgba(255,255,255,.72) !important;
  backdrop-filter: blur(14px);
}

body.finds-page.light-theme .finds-results-meta strong,
body.finds-page.light-theme .finds-results-meta span { color: var(--finds-ink) !important; }

body.finds-page.light-theme .finds-sortbar,
body.finds-page.light-theme .finds-sort-trigger,
body.finds-page.light-theme .finds-sort-menu {
  border-color: rgba(77,79,132,.13) !important;
  color: #3f4775 !important;
  background: rgba(255,255,255,.58) !important;
}

body.finds-page.light-theme .finds-sort-menu {
  box-shadow: 0 18px 36px rgba(77,79,132,.16) !important;
}

body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn,
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn {
  color: #565aa6 !important;
  border-color: rgba(77,79,132,.14) !important;
  background: rgba(255,255,255,.58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 8px 18px rgba(89,91,151,.08) !important;
}

/* Product cards */
body.finds-page.light-theme .product-card {
  border-color: rgba(107,102,168,.16) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.6), rgba(232,226,255,.42)) !important;
  box-shadow: 0 18px 42px rgba(90,84,150,.11), inset 0 1px 0 rgba(255,255,255,.72) !important;
  backdrop-filter: blur(14px) saturate(1.06);
}

body.finds-page.light-theme .product-card:nth-child(even) {
  background: linear-gradient(145deg, rgba(247,245,255,.58), rgba(222,226,255,.42)) !important;
}

body.finds-page.light-theme .product-card::before { display: none !important; }

body.finds-page.light-theme .product-card:hover {
  border-color: rgba(94,91,163,.3) !important;
  box-shadow: 0 24px 48px rgba(90,84,150,.16), 0 0 0 1px rgba(255,255,255,.34) !important;
}

body.finds-page.light-theme .product-image {
  border-color: rgba(77,79,132,.12) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(231,216,255,.42)) !important;
}

body.finds-page.light-theme .product-info { background: transparent !important; }
body.finds-page.light-theme .product-title { color: var(--finds-ink) !important; }

body.finds-page.light-theme .meta-tag,
body.finds-page.light-theme .product-stat {
  border-color: rgba(77,79,132,.12) !important;
  color: rgba(63,71,117,.72) !important;
  background: rgba(255,255,255,.46) !important;
}

body.finds-page.light-theme .product-stat-value { color: #3f4775 !important; }
body.finds-page.light-theme .product-price { color: #27c878 !important; }

/* Premium frosted stat chips: readable on light photos without the old dark pills. */
body.finds-page.light-theme .product-stat {
  min-height: 27px;
  padding: 6px 9px;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.92) !important;
  border-radius: 9px;
  color: #3f4775 !important;
  background: linear-gradient(145deg, rgba(248,249,255,.94), rgba(231,234,255,.86)) !important;
  box-shadow:
    0 7px 18px rgba(57,62,108,.16),
    0 0 0 1px rgba(77,79,132,.1),
    inset 0 1px 0 #fff !important;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, filter .24s ease;
}

body.finds-page.light-theme .product-stat:nth-child(2) {
  color: #27715e !important;
  background: linear-gradient(145deg, rgba(247,255,252,.95), rgba(218,246,237,.88)) !important;
  box-shadow: 0 7px 18px rgba(35,112,90,.13), 0 0 0 1px rgba(39,113,94,.1), inset 0 1px 0 #fff !important;
}

body.finds-page.light-theme .product-stat:nth-child(3) {
  color: #8a5a38 !important;
  background: linear-gradient(145deg, rgba(255,252,248,.96), rgba(255,233,216,.9)) !important;
  box-shadow: 0 7px 18px rgba(138,90,56,.12), 0 0 0 1px rgba(138,90,56,.1), inset 0 1px 0 #fff !important;
}

body.finds-page.light-theme .product-stat:hover,
body.finds-page.light-theme .product-stat:focus-visible {
  border-color: #fff !important;
  box-shadow:
    0 11px 25px rgba(57,62,108,.2),
    0 0 0 1px rgba(77,79,132,.14),
    inset 0 1px 0 #fff !important;
  outline: none;
  transform: translateY(-2px);
  filter: saturate(1.08);
}

body.finds-page.light-theme .product-stat-icon {
  width: 13px;
  height: 13px;
  stroke: currentColor !important;
}

body.finds-page.light-theme .product-stat-value {
  color: inherit !important;
  font-size: .65rem;
  text-shadow: none;
}

body.finds-page.light-theme .product-stat::after {
  top: calc(100% + 9px);
  padding: 8px 10px;
  border: 1px solid rgba(77,79,132,.12);
  border-radius: 9px;
  color: #303653;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(240,241,255,.97));
  box-shadow: 0 13px 28px rgba(57,62,108,.18), inset 0 1px 0 #fff;
  font-size: .67rem;
  letter-spacing: .01em;
}

/* Unified rounded product stat badges. */
body.finds-page.light-theme .product-stats { gap:6px; }
body.finds-page.light-theme .product-stat,
body.finds-page.light-theme .product-stat:nth-child(2),
body.finds-page.light-theme .product-stat:nth-child(3),
body.finds-page.light-theme .product-stat:nth-child(4) {
  min-height:28px!important;
  padding:5px 10px!important;
  gap:5px!important;
  border:1px solid rgba(92,101,163,.13)!important;
  border-radius:999px!important;
  color:#56618f!important;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(235,237,255,.9))!important;
  box-shadow:0 5px 13px rgba(70,73,125,.1),inset 0 1px 0 #fff!important;
  backdrop-filter:blur(14px) saturate(120%);
  -webkit-backdrop-filter:blur(14px) saturate(120%);
}
body.finds-page.light-theme .product-stat:hover,
body.finds-page.light-theme .product-stat:focus-visible,
body.finds-page.light-theme .product-stat:nth-child(2):hover,
body.finds-page.light-theme .product-stat:nth-child(3):hover,
body.finds-page.light-theme .product-stat:nth-child(4):hover {
  border-color:rgba(92,101,163,.2)!important;
  color:#3f4c82!important;
  background:linear-gradient(145deg,#fff,#e7eaff)!important;
  box-shadow:0 8px 18px rgba(70,73,125,.14),inset 0 1px 0 #fff!important;
  transform:translateY(-1px);
  filter:none;
}

body.finds-page.light-theme .product-actions-row .btn-view-full,
body.finds-page.light-theme .btn-view-full {
  border: 0 !important;
  color: var(--finds-ink) !important;
  background: linear-gradient(135deg, #b8c0ff, #e7d8ff) !important;
  box-shadow: 0 12px 24px rgba(86,89,151,.15) !important;
}

body.finds-page.light-theme .product-actions-row .btn-view-full:hover,
body.finds-page.light-theme .btn-view-full:hover {
  border-color: transparent !important;
  background: linear-gradient(135deg, #c4caff, #eee4ff) !important;
  box-shadow: 0 15px 28px rgba(86,89,151,.2) !important;
  filter: none;
}

/* Empty state and filter drawer */
body.finds-page.light-theme .finds-empty-state {
  border-color: var(--finds-border) !important;
  background: rgba(255,255,255,.46) !important;
  box-shadow: 0 16px 36px rgba(96,99,164,.1), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.finds-page.light-theme .finds-empty-state h2 { color: var(--finds-ink) !important; }
body.finds-page.light-theme .finds-empty-state p,
body.finds-page.light-theme .finds-empty-kicker { color: var(--finds-muted) !important; }

body.finds-page.light-theme .active-filter-pill {
  border-color: rgba(77,79,132,.14) !important;
  color: #3f4775 !important;
  background: rgba(255,255,255,.52) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74) !important;
}

body.finds-page.light-theme .agent-warning {
  border-color: rgba(77,79,132,.15) !important;
  color: var(--finds-ink) !important;
  background: linear-gradient(135deg, rgba(231,216,255,.78), rgba(184,192,255,.62)) !important;
  box-shadow: 0 18px 38px rgba(89,91,151,.12), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.finds-page.light-theme .agent-warning::before { display: none !important; }
body.finds-page.light-theme .agent-warning-title { color: var(--finds-ink) !important; }
body.finds-page.light-theme .agent-warning-eyebrow { color: #565aa6 !important; }
body.finds-page.light-theme .agent-warning-benefits span,
body.finds-page.light-theme .agent-warning-keep {
  border-color: rgba(77,79,132,.12) !important;
  color: rgba(63,71,117,.72) !important;
  background: rgba(255,255,255,.46) !important;
}

body.finds-page.light-theme .modal-content-full {
  border-color: var(--finds-border) !important;
  color: var(--finds-ink) !important;
  background: linear-gradient(145deg, rgba(247,245,255,.98), rgba(218,221,255,.97)) !important;
  box-shadow: 0 30px 80px rgba(66,68,125,.24) !important;
}

body.finds-page.light-theme .filters-panel {
  --drawer-bg: #e8e6f7;
  --drawer-card: rgba(255,255,255,.52);
  --drawer-card-hover: rgba(184,192,255,.28);
  --drawer-line: rgba(77,79,132,.13);
  --drawer-text: #19182a;
  --drawer-muted: rgba(63,71,117,.56);
  --drawer-accent: #626b9c;
}

body.finds-page.light-theme .filters-panel .filters-overlay {
  background: rgba(44,45,76,.3);
  backdrop-filter: blur(10px);
}

body.finds-page.light-theme .filters-panel .filters-shell {
  background: linear-gradient(155deg, rgba(247,245,255,.98), rgba(218,221,255,.97)) !important;
  box-shadow: -24px 0 70px rgba(66,68,125,.2) !important;
}

body.finds-page.light-theme .filters-panel .filters-top,
body.finds-page.light-theme .filters-panel .filters-bottom,
body.finds-page.light-theme .filters-panel .filters-card,
body.finds-page.light-theme .filters-panel .filters-card-price {
  border-color: rgba(77,79,132,.12) !important;
  background: rgba(255,255,255,.5) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76) !important;
}

body.finds-page.light-theme .filters-btn-primary {
  border-color: rgba(255,255,255,.55) !important;
  color: var(--finds-ink) !important;
  background: linear-gradient(135deg, #b8c0ff, #e7d8ff) !important;
  box-shadow: 0 12px 26px rgba(86,89,151,.16), inset 0 1px 0 rgba(255,255,255,.7) !important;
}

/* Footer */
body.finds-page.light-theme .footer-main {
  margin-top: 72px;
  padding: 20px 20px 24px !important;
  border-top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.finds-page.light-theme .footer-wrapper {
  width: min(100%, 1480px);
  max-width: 1480px;
  padding: 0 !important;
}

body.finds-page.light-theme .footer-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px,4vw,56px) clamp(28px,4.5vw,68px) 0 !important;
  border: 1px solid var(--finds-border) !important;
  border-radius: 30px !important;
  color: var(--finds-ink) !important;
  background: radial-gradient(circle at 4% 0%, rgba(255,255,255,.72), transparent 30%), var(--finds-gradient) !important;
  box-shadow: 0 26px 64px rgba(82,84,145,.16), inset 0 1px 0 rgba(255,255,255,.76) !important;
}

body.finds-page.light-theme .footer-card::before { display: none !important; }

body.finds-page.light-theme .footer-grid {
  grid-template-columns: minmax(320px,1.65fr) repeat(3,minmax(130px,.72fr));
  gap: clamp(32px,5vw,78px);
  margin-bottom: 42px;
}

body.finds-page.light-theme .footer-branding { max-width: 470px; }

body.finds-page.light-theme .footer-brand-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

body.finds-page.light-theme .footer-brand-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 14px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 9px 22px rgba(81,76,145,.14), inset 0 1px 0 rgba(255,255,255,.82);
}

body.finds-page.light-theme .footer-brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3f4775 !important;
  font-size: clamp(1.65rem,2.2vw,2.1rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}

body.finds-page.light-theme .footer-brand-wordmark b {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 9px;
  color: #4b548a;
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 6px 15px rgba(93,80,150,.1);
  font-size: .72em;
}

body.finds-page.light-theme .footer-description,
body.finds-page.light-theme .link-item,
body.finds-page.light-theme .legal-item { color: rgba(32,33,62,.66) !important; }

body.finds-page.light-theme .footer-label {
  padding: 0;
  color: rgba(53,55,100,.52) !important;
  background: transparent !important;
  letter-spacing: .14em;
}

body.finds-page.light-theme .footer-cta .btn-kakobuy,
body.finds-page.light-theme .footer-cta .btn-discord {
  min-height: 44px;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(66,68,125,.12), inset 0 1px 0 rgba(255,255,255,.45);
}

body.finds-page.light-theme .footer-legal {
  min-height: 64px;
  padding: 0;
  border-top-color: rgba(68,70,124,.12) !important;
}

body.finds-page.light-theme .legal-copyright { color: rgba(47,48,83,.54) !important; }

@media (max-width: 900px) {
  body.finds-page.light-theme .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.finds-page.light-theme .footer-grid > .footer-branding { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body.finds-page.light-theme .content-area { padding-top: 82px; }
  body.finds-page.light-theme .nav-brand-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
  body.finds-page.light-theme .nav-logo .logo-text { gap: 9px; font-size: 1rem; }
}

@media (max-width: 600px) {
  body.finds-page.light-theme .footer-main { margin-top: 48px; padding: 10px !important; }
  body.finds-page.light-theme .footer-card { padding: 30px 22px 0 !important; border-radius: 22px !important; }
  body.finds-page.light-theme .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; }
  body.finds-page.light-theme .footer-grid > .footer-branding,
  body.finds-page.light-theme .footer-nav-group:last-child { grid-column: 1 / -1; }
  body.finds-page.light-theme .footer-legal { align-items: flex-start; gap: 11px; padding: 18px 0 22px; }
  body.finds-page.light-theme .legal-links { flex-direction: row; }
}

/* 2026 premium Finds toolbar + filter drawer */
body.finds-page.light-theme .finds-toolbar {
  min-height:74px;
  gap:14px;
  padding:10px 12px 10px 14px !important;
  border-color:rgba(77,79,132,.14)!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.64),rgba(224,228,255,.5))!important;
  box-shadow:0 18px 42px rgba(85,88,151,.12),inset 0 1px 0 rgba(255,255,255,.9)!important;
  backdrop-filter:blur(20px) saturate(1.08);
}
body.finds-page.light-theme .finds-results-meta { min-height:50px;display:flex;align-items:center;gap:8px;padding:5px 14px 5px 6px;border:1px solid rgba(77,79,132,.11);border-radius:15px;background:rgba(255,255,255,.48);box-shadow:inset 0 1px 0 rgba(255,255,255,.88); }
body.finds-page.light-theme .finds-results-icon { width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border:1px solid rgba(86,96,156,.13);border-radius:12px;color:#59649d;background:linear-gradient(145deg,rgba(184,192,255,.55),rgba(231,216,255,.5)); }
body.finds-page.light-theme .finds-results-icon svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round; }
body.finds-page.light-theme .finds-results-meta strong { font-size:.92rem!important;font-weight:950!important;letter-spacing:-.025em; }
body.finds-page.light-theme .finds-results-meta > span:last-child { color:#525a88!important;font-size:.62rem!important;font-weight:950!important;letter-spacing:.1em;text-transform:uppercase; }
body.finds-page.light-theme .finds-sortbar { min-height:50px;padding:5px 6px 5px 13px!important;border:1px solid rgba(77,79,132,.11)!important;border-radius:15px!important;background:rgba(255,255,255,.46)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.86)!important; }
body.finds-page.light-theme .finds-sortbar > span { color:rgba(63,71,117,.56)!important;font-size:.58rem!important;font-weight:950!important;letter-spacing:.1em;text-transform:uppercase; }
body.finds-page.light-theme .finds-sort-trigger { min-height:38px!important;border:0!important;border-radius:11px!important;color:#3f4775!important;background:rgba(229,231,255,.54)!important;font-size:.69rem!important;font-weight:900!important;box-shadow:none!important; }
body.finds-page.light-theme .finds-toolbar-actions { gap:8px; }
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn { width:auto!important;min-width:112px!important;height:50px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:0 15px!important;border-radius:15px!important;color:#465183!important;background:linear-gradient(145deg,rgba(208,213,255,.72),rgba(235,224,255,.72))!important; }
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn span { font-size:.65rem;font-weight:950;letter-spacing:.02em; }
body.finds-page.light-theme .finds-filter-icon { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round; }
body.finds-page.light-theme .finds-filter-icon circle { fill:#f4f3ff;stroke-width:1.4; }
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn { width:50px!important;height:50px!important;border-radius:15px!important; }
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn svg { width:19px;height:19px;fill:rgba(86,90,166,.12);stroke:#565aa6;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions :is(.vault-icon-btn,.vault-fav-btn):hover { transform:translateY(-2px)!important;border-color:rgba(86,96,156,.24)!important;background:linear-gradient(145deg,rgba(196,202,255,.82),rgba(231,216,255,.82))!important;box-shadow:0 12px 25px rgba(82,84,145,.14),inset 0 1px 0 #fff!important; }

body.finds-page.light-theme .filters-panel {
  --drawer-bg:#e8e6f7;
  --drawer-card:rgba(255,255,255,.58);
  --drawer-card-hover:rgba(214,218,255,.55);
  --drawer-line:rgba(77,79,132,.13);
  --drawer-text:#19182a;
  --drawer-muted:rgba(36,37,70,.52);
}
body.finds-page.light-theme .filters-overlay { background:rgba(47,48,88,.28)!important;backdrop-filter:blur(9px) saturate(.9)!important; }
body.finds-page.light-theme .filters-shell { width:min(520px,calc(100vw - 18px))!important;border-left:1px solid rgba(255,255,255,.66)!important;background:radial-gradient(circle at 92% 2%,rgba(255,255,255,.72),transparent 25%),linear-gradient(160deg,#e7e2f8 0%,#dde1fb 56%,#ccd3ff 100%)!important;box-shadow:-28px 0 80px rgba(48,51,101,.22),inset 1px 0 0 rgba(255,255,255,.72)!important; }
body.finds-page.light-theme .filters-top { min-height:94px!important;padding:17px 19px!important;border-bottom:1px solid rgba(77,79,132,.11)!important;background:rgba(247,247,255,.42)!important;box-shadow:0 12px 30px rgba(77,79,132,.06)!important;backdrop-filter:blur(18px)!important; }
body.finds-page.light-theme .filters-badge { width:48px!important;height:48px!important;flex-basis:48px!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:15px!important;color:#59649d!important;background:linear-gradient(145deg,rgba(184,192,255,.68),rgba(231,216,255,.68))!important;box-shadow:0 10px 24px rgba(77,79,132,.12),inset 0 1px 0 #fff!important; }
body.finds-page.light-theme .filters-badge svg { width:22px!important;height:22px!important; }
body.finds-page.light-theme .filters-h1 { color:#19182a!important;font-size:1.12rem!important;font-weight:950!important;letter-spacing:-.025em!important; }
body.finds-page.light-theme .filters-sub { color:rgba(36,37,70,.5)!important;font-size:.68rem!important; }
body.finds-page.light-theme .filters-x { width:42px!important;height:42px!important;border:1px solid rgba(77,79,132,.12)!important;border-radius:13px!important;color:#4e5788!important;background:rgba(255,255,255,.5)!important;box-shadow:inset 0 1px 0 #fff!important; }
body.finds-page.light-theme .filters-x:hover { transform:rotate(4deg)!important;background:rgba(255,255,255,.82)!important; }
body.finds-page.light-theme .filters-grid { gap:14px!important;padding:15px 14px 22px!important; }
body.finds-page.light-theme .filters-card,
body.finds-page.light-theme .filters-card-price { border:1px solid rgba(77,79,132,.12)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(255,255,255,.65),rgba(229,232,255,.48))!important;box-shadow:0 14px 34px rgba(77,79,132,.08),inset 0 1px 0 rgba(255,255,255,.88)!important; }
body.finds-page.light-theme .filters-card-head { min-height:76px!important;padding:14px 15px!important;border-bottom-color:rgba(77,79,132,.1)!important; }
body.finds-page.light-theme .filters-section-icon { width:40px!important;height:40px!important;flex-basis:40px!important;border:1px solid rgba(86,96,156,.13)!important;border-radius:13px!important;color:#59649d!important;background:linear-gradient(145deg,rgba(184,192,255,.5),rgba(231,216,255,.48))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.82)!important; }
body.finds-page.light-theme .filters-section-icon svg { width:19px!important;height:19px!important; }
body.finds-page.light-theme .filters-card-title { color:#202037!important;font-size:.78rem!important;font-weight:900!important; }
body.finds-page.light-theme .filters-card-hint { color:rgba(36,37,70,.47)!important;font-size:.61rem!important; }
body.finds-page.light-theme .filters-searchinput-inline { height:38px!important;border:1px solid rgba(77,79,132,.12)!important;border-radius:11px!important;color:#202037!important;background:rgba(255,255,255,.62)!important;box-shadow:inset 0 1px 0 #fff!important; }
body.finds-page.light-theme .filters-searchinput-inline:focus { border-color:rgba(86,96,156,.34)!important;background:rgba(255,255,255,.82)!important;box-shadow:0 0 0 3px rgba(98,107,156,.08),inset 0 1px 0 #fff!important; }
body.finds-page.light-theme .filters-inline-search > svg { color:#6670a4!important;stroke:currentColor!important; }
body.finds-page.light-theme .filters-cat-list,
body.finds-page.light-theme .filters-brand-list { padding:8px!important; }
body.finds-page.light-theme .filters-cat-item,
body.finds-page.light-theme .filters-brand-item { min-height:42px!important;margin-bottom:4px!important;border:1px solid rgba(77,79,132,.08)!important;border-radius:12px!important;color:#292940!important;background:rgba(255,255,255,.35)!important; }
body.finds-page.light-theme .filters-cat-item::before,
body.finds-page.light-theme .filters-brand-item::before { border-color:rgba(77,79,132,.16)!important;background:rgba(255,255,255,.65)!important; }
body.finds-page.light-theme :is(.filters-cat-item,.filters-brand-item):hover { border-color:rgba(86,96,156,.17)!important;background:rgba(255,255,255,.65)!important;transform:translateX(2px); }
body.finds-page.light-theme :is(.filters-cat-item,.filters-brand-item).active { border-color:rgba(86,96,156,.25)!important;color:#202037!important;background:linear-gradient(90deg,rgba(184,192,255,.52),rgba(231,216,255,.42))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.72)!important; }
body.finds-page.light-theme :is(.filters-cat-item,.filters-brand-item).active::before { border-color:#6873b8!important;background:#6873b8!important;box-shadow:0 0 0 3px rgba(104,115,184,.1)!important; }
body.finds-page.light-theme :is(.filters-cat-count,.filters-brand-count) { color:#5d6595!important;background:rgba(255,255,255,.55)!important; }
body.finds-page.light-theme .filters-price-slider .slider-values span { border-color:rgba(77,79,132,.11)!important;color:#3f4775!important;background:rgba(255,255,255,.58)!important;box-shadow:inset 0 1px 0 #fff!important; }
body.finds-page.light-theme .filters-panel .slider-track { height:5px!important;background:rgba(77,79,132,.11)!important; }
body.finds-page.light-theme .filters-panel .slider-track::before { background:linear-gradient(90deg,#818bd0,#aeb7fa)!important;box-shadow:0 0 14px rgba(104,115,184,.24)!important; }
body.finds-page.light-theme .filters-panel .slider-wrap input[type="range"]::-webkit-slider-thumb { width:19px!important;height:19px!important;border:4px solid #eef0ff!important;background:#6873b8!important;box-shadow:0 5px 14px rgba(68,75,132,.28),0 0 0 4px rgba(104,115,184,.1)!important; }
body.finds-page.light-theme .filters-qbadge { border-color:rgba(86,96,156,.14)!important;color:#4f598e!important;background:linear-gradient(135deg,rgba(184,192,255,.55),rgba(231,216,255,.5))!important; }
body.finds-page.light-theme .filters-rating-btn,
body.finds-page.light-theme .filters-pillbtn { border-color:rgba(77,79,132,.11)!important;color:#35364f!important;background:rgba(255,255,255,.44)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.72)!important; }
body.finds-page.light-theme :is(.filters-rating-btn,.filters-pillbtn):hover { border-color:rgba(86,96,156,.2)!important;color:#202037!important;background:rgba(255,255,255,.72)!important;transform:translateY(-1px); }
body.finds-page.light-theme :is(.filters-rating-btn,.filters-pillbtn).active { border-color:rgba(86,96,156,.3)!important;color:#202037!important;background:linear-gradient(135deg,#b8c0ff,#e7d8ff)!important;box-shadow:0 8px 18px rgba(77,79,132,.11),inset 0 1px 0 rgba(255,255,255,.75)!important; }
body.finds-page.light-theme .filters-bottom { min-height:84px!important;gap:10px!important;padding:14px 15px calc(14px + env(safe-area-inset-bottom))!important;border-top-color:rgba(77,79,132,.12)!important;background:rgba(239,240,255,.72)!important;box-shadow:0 -18px 42px rgba(77,79,132,.1)!important;backdrop-filter:blur(22px)!important; }
body.finds-page.light-theme .filters-btn-ghost,
body.finds-page.light-theme .filters-btn-primary { height:52px!important;border-radius:14px!important; }
body.finds-page.light-theme .filters-btn-ghost { border-color:rgba(77,79,132,.12)!important;color:#535b8a!important;background:rgba(255,255,255,.52)!important;box-shadow:inset 0 1px 0 #fff!important; }
body.finds-page.light-theme .filters-btn-primary { border-color:rgba(255,255,255,.64)!important;color:#202037!important;background:linear-gradient(135deg,#b8c0ff,#e7d8ff)!important;box-shadow:0 12px 26px rgba(86,89,151,.16),inset 0 1px 0 rgba(255,255,255,.78)!important; }
body.finds-page.light-theme .filters-btn-primary:hover { filter:brightness(1.025)!important;transform:translateY(-1px)!important; }

@media (max-width:700px) {
  body.finds-page.light-theme .finds-toolbar { align-items:stretch; }
  body.finds-page.light-theme .finds-sortbar { flex:1; }
  body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn { min-width:50px!important;padding:0 13px!important; }
  body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn span { display:none; }
}

/* Toolbar refinement: solid dropdown and one consistent control language. */
body.finds-page.light-theme .finds-toolbar {
  background:#eeedfb!important;
  box-shadow:0 14px 32px rgba(78,82,143,.1),inset 0 1px 0 #fff!important;
}
body.finds-page.light-theme .finds-results-meta {
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.finds-page.light-theme .finds-results-icon {
  border-color:rgba(78,87,143,.12)!important;
  background:#e1e3fb!important;
  box-shadow:none!important;
}
body.finds-page.light-theme .finds-results-meta strong {
  color:#4a5488!important;
  text-shadow:none!important;
}
body.finds-page.light-theme .finds-results-meta > span:last-child { color:#59618e!important; }

body.finds-page.light-theme .finds-sortbar {
  border-color:rgba(77,79,132,.13)!important;
  background:#f7f6ff!important;
  box-shadow:none!important;
}
body.finds-page.light-theme .finds-sort-trigger {
  border:0!important;
  color:#404a7a!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.finds-page.light-theme .finds-sort-trigger:hover,
body.finds-page.light-theme .finds-sort-trigger[aria-expanded="true"] {
  color:#252943!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.finds-page.light-theme .finds-sort-trigger::after { border-color:#6570a5!important; }

body.finds-page.light-theme .finds-sort-menu {
  overflow:hidden!important;
  padding:7px!important;
  border:1px solid rgba(77,79,132,.14)!important;
  border-radius:15px!important;
  color:#2b2d48!important;
  background:#f7f6ff!important;
  box-shadow:0 18px 42px rgba(54,58,111,.2)!important;
  backdrop-filter:none!important;
  opacity:1!important;
}
body.finds-page.light-theme .finds-sort-option {
  min-height:39px!important;
  margin:2px 0!important;
  padding:0 34px 0 12px!important;
  border:0!important;
  border-radius:10px!important;
  color:#555566!important;
  background:#f7f6ff!important;
  font-weight:800!important;
}
body.finds-page.light-theme .finds-sort-option:hover {
  color:#282b48!important;
  background:#e9e9fa!important;
}
body.finds-page.light-theme .finds-sort-option.active {
  color:#30375f!important;
  background:#dfe2fb!important;
  box-shadow:none!important;
}
body.finds-page.light-theme .finds-sort-option.active::after { color:#6873aa!important; }

body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn,
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn {
  border:1px solid rgba(77,79,132,.13)!important;
  color:#4c5688!important;
  background:#e2e4fb!important;
  box-shadow:none!important;
}
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn {
  min-width:108px!important;
}
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn {
  background:#f7f6ff!important;
}
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions :is(.vault-icon-btn,.vault-fav-btn):hover {
  border-color:rgba(77,86,143,.22)!important;
  color:#343c68!important;
  background:#d7daf8!important;
  box-shadow:0 8px 18px rgba(74,79,137,.1)!important;
  transform:translateY(-1px)!important;
}
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn:hover { background:#ecebfb!important; }
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn svg {
  fill:transparent!important;
  stroke:#59649a!important;
}

/* Premium gradient balance: soft depth without transparent or stacked blocks. */
body.finds-page.light-theme .finds-toolbar {
  background:
    radial-gradient(circle at 8% -20%,rgba(255,255,255,.9),transparent 34%),
    linear-gradient(135deg,#f1edff 0%,#e5e7ff 52%,#dce1ff 100%)!important;
  box-shadow:0 16px 38px rgba(78,82,143,.12),inset 0 1px 0 rgba(255,255,255,.92)!important;
}
body.finds-page.light-theme .finds-results-icon {
  background:linear-gradient(145deg,#d9ddff,#ece4ff)!important;
  box-shadow:0 7px 16px rgba(78,82,143,.09),inset 0 1px 0 #fff!important;
}
body.finds-page.light-theme .finds-sortbar {
  border-color:rgba(77,79,132,.12)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(239,240,255,.72))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94)!important;
}
body.finds-page.light-theme .finds-sort-trigger,
body.finds-page.light-theme .finds-sort-trigger:hover,
body.finds-page.light-theme .finds-sort-trigger[aria-expanded="true"] {
  background:transparent!important;
  box-shadow:none!important;
}
body.finds-page.light-theme .finds-sort-menu {
  background:linear-gradient(160deg,#faf9ff 0%,#f0f1ff 100%)!important;
  box-shadow:0 20px 46px rgba(54,58,111,.22),inset 0 1px 0 #fff!important;
}
body.finds-page.light-theme .finds-sort-option { background:transparent!important; }
body.finds-page.light-theme .finds-sort-option:hover {
  background:linear-gradient(135deg,rgba(222,225,255,.72),rgba(239,231,255,.68))!important;
}
body.finds-page.light-theme .finds-sort-option.active {
  background:linear-gradient(135deg,#dce0ff,#ebe3ff)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn {
  background:linear-gradient(145deg,#d9ddff,#e9e2ff)!important;
  box-shadow:0 7px 17px rgba(78,82,143,.09),inset 0 1px 0 #fff!important;
}
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn {
  background:linear-gradient(145deg,#f9f8ff,#e9ebff)!important;
  box-shadow:0 7px 17px rgba(78,82,143,.08),inset 0 1px 0 #fff!important;
}
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-icon-btn:hover {
  background:linear-gradient(145deg,#cfd5ff,#e5dcff)!important;
}
body.finds-page.light-theme .finds-toolbar .finds-toolbar-actions .vault-fav-btn:hover {
  background:linear-gradient(145deg,#f4f2ff,#dfe3ff)!important;
}
