/* Blockville store theme. Sits on top of Tebex's shared.css (which keeps the basket, popups and drawer working)
   and re-skins it in the blockville.org "dusk over the village" look. */
:root {
    --night: #0c0a1f; --night-2: #14102c; --night-3: #1b1538; --night-4: #221b44; --line: #352a5c;
    --text: #f1ecff; --text-dim: #ab9fd1; --ink: #150c2c;
    --gold: #ffd34d; --gold-d: #d99a1c; --gold-l: #ffe27f;
    --grass: #5da13a; --grass-l: #7cc254; --green: #4ce08a;
    --vip: #58d68d; --elite: #ff4fa3; --legend: #e6b800;
    --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
    --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --display: "Space Grotesk", var(--font);
    --radius-sm: 11px; --radius: 16px; --radius-lg: 22px;
    --ring: rgba(255,255,255,.09); --ring-hover: rgba(255,255,255,.2);
    --glass: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    --shadow-md: 0 10px 28px -10px rgba(4,2,14,.6), 0 2px 8px rgba(4,2,14,.35);
    --shadow-lg: 0 28px 70px -22px rgba(4,2,14,.75), 0 6px 18px rgba(4,2,14,.4);

    /* Tebex shared.css tokens */
    --color-text: var(--text);
    --color-text-darker: #ddd5f5;
    --color-text-secondary: var(--text-dim);
    --color-text-dark: var(--ink);
    --color-bg: var(--night);
    --color-brighter-bg: var(--night-2);
    --color-primary: var(--gold);
    --color-primary-hover: var(--gold-l);
    --color-primary-text: var(--ink);
    --color-primary-text-hover: var(--ink);
    --color-secondary: rgba(255,255,255,.08);
    --color-secondary-hover: rgba(255,255,255,.15);
    --color-secondary-text: var(--text);
    --color-secondary-text-hover: #fff;
    --color-tertiary-hover: rgba(255,255,255,.08);
    --color-removed: #e23b3b;
    --color-sale-banner-bg: var(--elite);
    --color-sale-banner-text: #fff;
    --btn-size: 44px;
    --widget-padding: 22px;
    --content-inner-width: 1180px;
    --tebex-legal-footer-background-color: #080616;
    --tebex-legal-footer-border-color: #080616;
    --tebex-legal-footer-text-color: var(--text-dim);
    --tebex-legal-footer-logo-color: var(--text-dim);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--night); -webkit-font-smoothing: antialiased; }
body::before { display: none; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.01em; }
.site { position: relative; z-index: 1; gap: 28px; }

/* ---------- sky backdrop ---------- */
.bv-sky { position: absolute; inset: 0 0 auto; height: 760px; overflow: hidden; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, #0a0820 0%, #151032 22%, #2a1a54 46%, #3d2066 62%, rgba(12,10,31,0) 100%); }
.bv-sky::after { content: ""; position: absolute; inset: auto 0 0; height: 260px; background: linear-gradient(180deg, rgba(12,10,31,0), var(--night)); }
.bv-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }
.bv-glow-a { width: 620px; height: 380px; left: -120px; top: 180px; background: #7c3573; }
.bv-glow-b { width: 560px; height: 340px; right: -140px; top: 60px; background: #4a2470; }
.bv-stars { position: absolute; inset: 0; opacity: .8;
    background-image:
      radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 8%, #fff 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 41% 26%, #ffe9b0 50%, transparent 51%), radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
      radial-gradient(2px 2px at 73% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 86% 9%, #fff 50%, transparent 51%),
      radial-gradient(1px 1px at 93% 31%, #ffe9b0 50%, transparent 51%), radial-gradient(1.5px 1.5px at 6% 38%, #fff 50%, transparent 51%),
      radial-gradient(1px 1px at 34% 44%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 66% 40%, #fff 50%, transparent 51%);
    animation: bv-twinkle 5s ease-in-out infinite alternate; }
@keyframes bv-twinkle { to { opacity: .45; } }

/* ---------- buttons ---------- */
.btn-primary, .btn-secondary, .btn-tertiary { border-radius: 999px; font-weight: 700; transition: transform .15s, box-shadow .15s, background .15s, filter .15s; }
.btn-primary { background: linear-gradient(135deg, var(--gold-l), var(--gold)); box-shadow: 0 8px 22px -10px rgba(255,211,77,.7); }
.btn-primary:hover, .btn-primary:focus { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 12px 26px -10px rgba(255,211,77,.85); }
.btn-secondary { border: 1px solid rgba(255,255,255,.14); }
.btn-secondary:hover, .btn-secondary:focus { transform: translateY(-1px); }
.btn-primary[disabled], .btn-secondary[disabled] { filter: grayscale(.6); opacity: .55; transform: none; }
.bv-btn-lg { --btn-size: 50px; padding-inline: 26px; font-size: 16px; }

/* ---------- header ---------- */
.bv-header { padding-top: 14px; }
.bv-bar { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 10px 0 14px; border-radius: 999px;
    background: rgba(20,16,44,.82); border: 1px solid var(--ring); box-shadow: var(--shadow-md); }
.bv-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 19px; white-space: nowrap; }
.bv-brand img { width: auto; height: 40px; object-fit: contain; transition: transform .2s; }
.bv-brand:hover { color: #fff; }
.bv-brand:hover img { transform: rotate(-6deg) scale(1.06); }
.bv-brand b { color: var(--gold); font-weight: 700; }
.bv-bar-links { display: flex; gap: 2px; margin-left: 6px; }
.bv-bar-links a { padding: 8px 12px; border-radius: 10px; color: #d9d2f5; text-decoration: none; font-weight: 600; font-size: 14px; }
.bv-bar-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.bv-bar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bv-ip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
    font: 600 14px var(--mono); color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--ring); transition: background .15s, border-color .15s; }
.bv-ip:hover { background: rgba(255,255,255,.11); border-color: var(--ring-hover); }
.bv-ip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(76,224,138,.2); }
.bv-user { display: flex; align-items: center; gap: 8px; }
.bv-user-name { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600;
    background: rgba(255,255,255,.06); border: 1px solid var(--ring); contain: paint; }
.bv-user-name .text-inner { display: grid; overflow: hidden; }
.bv-user-name .text, .bv-user-name .text-hover { grid-area: 1 / 1; transition: opacity .15s; }
.bv-user-name .text-hover { margin: 0; opacity: 0; color: var(--gold); }
.bv-user-name:hover .text { opacity: 0; } .bv-user-name:hover .text-hover { opacity: 1; visibility: visible; }
.bv-head { width: 28px; height: 28px; border-radius: 50%; image-rendering: pixelated; background: var(--night-4); }
.bv-basket, .bv-login { --btn-size: 42px; display: inline-flex; align-items: center; gap: 8px; padding-inline: 18px; }
.bv-basket svg { width: 18px; height: 18px; }
.bv-basket::before, .bv-login::before { display: none !important; }
.bv-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font: 800 11.5px var(--font); font-style: normal; color: #fff; background: var(--ink); }
.bv-burger { display: none; }

/* horizontal navigation, desktop */
@media (width > 960px) {
    .bv-header .navigation-horizontal { margin-top: 10px; }
    .bv-header .navigation-horizontal .menu { justify-content: center; gap: 4px; padding: 0; background: none; font-size: 14.5px; font-weight: 600; line-height: 20px; }
    .bv-header .navigation-horizontal .menu > li > a { padding: 8px 15px; border-radius: 999px; color: #d9d2f5; text-decoration: none; transition: background .15s, color .15s; }
    .bv-header .navigation-horizontal .menu > li > a:hover { color: #fff; background: rgba(255,255,255,.07); }
    .bv-header .navigation-horizontal .menu > li.active > a,
    .bv-header .navigation-horizontal .menu > li > a.link-active { color: var(--gold); background: rgba(255,211,77,.1); }
    .bv-header .navigation-horizontal .has-children > ul { background: var(--night-3); border: 1px solid var(--ring); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
}

/* mobile header + drawer */
@media (width <= 960px) {
    .bv-header { padding-top: 10px; }
    .bv-bar { height: 58px; gap: 8px; padding: 0 8px; }
    .bv-burger { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; color: #fff; font-size: 0; }
    .bv-burger::before { display: none !important; }
    .bv-burger svg { width: 22px; height: 22px; }
    :root .bv-header .bv-burger { color: #fff; background: rgba(255,255,255,.06); border-radius: 50%; }
    .bv-brand { font-size: 17px; }
    .bv-brand img { width: auto; height: 34px; }
    .bv-bar .desktop-only { display: none; }
    .bv-user-name { padding-right: 6px; }
    .bv-user-name .text-inner { display: none; }
    .bv-basket span, .bv-login { font-size: 14px; }
    .bv-basket { padding-inline: 14px; }
    .bv-basket > span { display: none; }
    .site-navigation .menu { background: var(--night-2); border-right: 1px solid var(--ring); font-family: var(--display); font-weight: 600; }
    .site-navigation .menu a { color: #e4ddff; }
    .site-navigation .menu a.link-active { color: var(--gold); }
    .site-navigation { background: rgba(5,3,14,.55); }
}
@media (width <= 420px) { .bv-brand span { display: none; } }

.bv-sale { margin-top: 12px; padding: 10px 18px; border-radius: 999px; text-align: center; font-weight: 700;
    background: linear-gradient(90deg, #ff4fa3, #b04bff); color: #fff; box-shadow: 0 10px 26px -12px rgba(255,79,163,.7); }

/* ---------- shared bits ---------- */
.bv-eyebrow { margin: 0 0 6px; color: var(--gold); font: 700 12.5px var(--font); letter-spacing: .14em; text-transform: uppercase; }
.bv-section, .bv-hero, .site-content { margin-inline: auto; width: 100%; max-width: var(--content-width); padding-inline: var(--content-padding); }
.bv-section-head { margin: 0 0 22px; text-align: center; }
.bv-section-head h3 { margin: 0; font-size: clamp(26px, 3.4vw, 34px); color: #fff; }
.bv-section-head p:not(.bv-eyebrow) { margin: 8px auto 0; max-width: 56ch; color: var(--text-dim); }
.bv-panel, .store-text, .category-description, .no-products { padding: 26px 28px; border-radius: var(--radius-lg); background: var(--glass), var(--night-2); border: 1px solid var(--ring); box-shadow: var(--shadow-md); }
.text-content h1, .text-content h2, .text-content h3 { color: #fff; }
.text-content a { color: var(--gold); }

/* ---------- home ---------- */
.bv-home { display: flex; flex-direction: column; gap: 46px; }

/* ---------- hero ---------- */
.bv-hero { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 30px; padding-block: 34px 18px; }
.bv-hero-title { margin: 0; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; color: #fff; text-wrap: balance; }
.bv-hero-text { margin: 16px 0 0; max-width: 52ch; font-size: 17px; color: #d3c9f2; }
.bv-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bv-ip-hero { margin-top: 22px; height: 46px; font-size: 15px; }
.bv-ip-hero small { margin-left: 4px; color: var(--text-dim); font: 500 12.5px var(--font); }
.bv-hero-art { display: grid; place-items: center; }
.bv-hero-art img { width: min(320px, 100%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); animation: bv-float 7s ease-in-out infinite; }
@keyframes bv-float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }

/* ---------- category tiles ---------- */
.bv-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bv-cat { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); color: #fff; text-decoration: none;
    background: var(--glass), var(--night-2); border: 1px solid var(--ring); box-shadow: var(--shadow-md); transition: transform .18s, border-color .18s; }
.bv-cat:hover { color: #fff; transform: translateY(-3px); border-color: var(--ring-hover); }
.bv-cat .bv-art { width: 54px; height: 54px; flex: none; border-radius: 14px; }
.bv-cat .bv-art-label { display: none; }
.bv-cat-img { width: 54px; height: 54px; object-fit: cover; border-radius: 14px; }
.bv-cat-name { font: 600 17px var(--display); }
.bv-cat-go { margin-left: auto; color: var(--gold); font-size: 20px; transition: transform .18s; }
.bv-cat:hover .bv-cat-go { transform: translateX(4px); }

/* ---------- package art ---------- */
.bv-art { --tone: #8c7cd6; position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; border-radius: var(--radius); overflow: hidden; color: var(--tone);
    background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--tone) 32%, transparent), transparent 62%), linear-gradient(160deg, var(--night-4), var(--night-3)); }
.bv-art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 16px 16px; }
.bv-art-icon { position: relative; z-index: 1; width: 52%; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.bv-art-label { position: absolute; z-index: 1; bottom: 9%; font: 700 clamp(14px, 2vw, 18px) var(--display); letter-spacing: .12em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.bv-art-vip { --tone: var(--vip); } .bv-art-elite { --tone: var(--elite); } .bv-art-legend { --tone: var(--legend); }
.bv-art-ranks { --tone: var(--gold); } .bv-art-credits { --tone: var(--gold); } .bv-art-gift { --tone: #6ec6ff; }

/* ---------- package cards ---------- */
.bv-page-head { margin: 4px 0 18px; }
.bv-page-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); color: #fff; }
.store-products .category-description { max-width: 900px; margin: 0 auto 22px; text-align: center; }
.bv-center { text-align: center; }
.bv-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 18px; }
.bv-grid > .bv-card { flex: 0 1 calc((100% - 36px) / 3); max-width: 300px; min-width: 0; }
.bv-card { --tone: var(--gold); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px !important; border-radius: var(--radius-lg) !important; text-align: left !important;
    background: var(--glass), var(--night-2) !important; border: 1px solid var(--ring); box-shadow: var(--shadow-md); transition: transform .2s, border-color .2s, box-shadow .2s; }
.bv-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tone) 55%, transparent); box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--tone) 25%, transparent); }
.bv-card.bv-tone-vip, .bv-rank.bv-tone-vip { --tone: var(--vip); } .bv-card.bv-tone-elite, .bv-rank.bv-tone-elite { --tone: var(--elite); }
.bv-card.bv-tone-legend, .bv-rank.bv-tone-legend { --tone: var(--legend); } .bv-card.bv-tone-credits { --tone: var(--gold); }
.bv-card-art { display: block; border-radius: var(--radius); overflow: hidden; }
.bv-card-art .image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.bv-card .product-title { margin: 4px 2px 0; font: 600 18px/1.25 var(--display); }
.bv-card .product-title a { color: #fff; text-decoration: none; }
.bv-details { margin: -4px 2px 0; max-width: 100%; font-size: 13px; font-weight: 600; color: var(--text-dim); text-decoration: none; }
.bv-details:hover { color: var(--gold); }
.bv-card .product-actions { margin-top: auto; }
.bv-bonus { position: absolute; z-index: 2; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; font: 800 12px var(--font); color: #2a1a00; background: var(--gold); box-shadow: 0 6px 16px -6px rgba(255,211,77,.8); }
.bv-ribbon { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 4px 10px; border-radius: 999px; font: 800 12px var(--font); color: #fff; background: var(--elite); box-shadow: 0 6px 16px -6px rgba(255,79,163,.8); }

/* Tebex price + actions, re-skinned */
.product-actions .price { color: #fff; font-size: 15px; }
.product-actions .price strong { font: 700 22px var(--display); color: #fff; }
.product-actions .price .discount { color: var(--text-dim); margin-right: 6px; }
.quantity-field { border-radius: 999px !important; background: rgba(255,255,255,.06) !important; border: 1px solid var(--ring); }
.quantity-field .open-basket { color: var(--gold); font-weight: 700; }
.quantity-field input[type=number] { color: #fff; background: transparent; border: 0; }
.store-product .gift { border-radius: 50%; }

/* ---------- single package page / popup ---------- */
.store-product-full { padding: 26px !important; border-radius: var(--radius-lg) !important; background: var(--glass), var(--night-2) !important; border: 1px solid var(--ring); }
.store-product-full .product-title { font: 700 30px var(--display); color: #fff; }
.bv-pkg { display: grid !important; grid-template-columns: minmax(220px, 340px) 1fr; grid-template-areas: "art title" "art actions" "art descr"; grid-template-rows: auto auto 1fr; gap: 6px 32px; align-content: start; }
.bv-pkg .product-title { grid-area: title; margin: 0; }
.bv-pkg > .bv-art, .bv-pkg > .image, .bv-pkg > .media-slider { grid-area: art; }
.bv-pkg > .image { width: 100%; border-radius: var(--radius); }
.bv-pkg .product-actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0 4px; padding: 0 !important; background: none !important; }
.bv-pkg .product-actions .price { margin: 0 8px 0 0; }
.bv-pkg .product-actions .add, .bv-pkg .product-actions .subscribe, .bv-pkg .product-actions .quantity-field { width: auto; min-width: 200px; flex: 0 0 auto; }
.bv-pkg .descr { grid-area: descr; color: #e4ddff; }
@media (width <= 760px) { .bv-pkg { grid-template-columns: 1fr; grid-template-areas: "title" "art" "actions" "descr"; } }
.store-product-full .descr ul { padding-left: 20px; }
.store-product-full .descr li::marker { color: var(--gold); }

/* ---------- ranks comparison ---------- */
.bv-ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.bv-rank { position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; border-radius: var(--radius-lg);
    background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%), var(--night-2);
    border: 1px solid color-mix(in srgb, var(--tone) 30%, var(--line)); box-shadow: var(--shadow-md); }
.bv-rank h4 { margin: 0 0 16px; }
.bv-rank-badge { display: inline-block; padding: 6px 16px; border-radius: 10px; font: 700 18px var(--display); letter-spacing: .14em; color: var(--ink); background: var(--tone);
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), 0 10px 22px -10px var(--tone); }
.bv-tone-elite .bv-rank-badge { color: #fff; }
.bv-rank ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; }
.bv-rank li { position: relative; padding-left: 26px; color: #e4ddff; }
.bv-rank li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb, var(--tone) 85%, transparent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.bv-rank li.bv-incl { color: #fff; font-weight: 700; }
.bv-rank-go { margin-top: auto; width: 100%; justify-content: center; }
.bv-rank-best { transform: translateY(-8px); box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--tone) 45%, transparent); }
.bv-rank-flag { position: absolute; top: -12px; right: 20px; padding: 4px 12px; border-radius: 999px; font: 800 11.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--tone); }

/* ---------- rank comparison (Ranks category) ---------- */
.bv-compare { max-width: 980px; margin: 46px auto 0; }
.bv-compare-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--night-2); border: 1px solid var(--ring); box-shadow: var(--shadow-lg); }
.bv-compare-title { margin: 0; padding: 20px 26px; font-size: 24px; color: #fff; text-align: center;
    background: linear-gradient(135deg, rgba(255,211,77,.16), rgba(124,53,115,.28)), var(--night-3); border-bottom: 1px solid var(--ring); }
.bv-compare-scroll { overflow-x: auto; }
.bv-compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.bv-compare th, .bv-compare td { padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.06); text-align: center; }
.bv-compare thead th { font: 700 15px var(--display); letter-spacing: .04em; background: rgba(255,255,255,.03); color: var(--text-dim); }
.bv-compare thead th:first-child, .bv-compare tbody th { text-align: left; }
.bv-compare tbody th { font-weight: 600; color: #fff; }
.bv-compare td { color: #e4ddff; }
.bv-compare tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.bv-compare tbody tr:last-child th, .bv-compare tbody tr:last-child td { border-bottom: 0; }
.bv-compare tbody tr:hover { background: rgba(255,211,77,.05); }
.bv-compare .bv-c-vip { color: var(--vip); } .bv-compare .bv-c-elite { color: var(--elite); } .bv-compare .bv-c-legend { color: var(--legend); }
.bv-compare td:last-child { background: rgba(230,184,0,.05); }
.bv-yes { color: var(--green); font-weight: 800; } .bv-no { color: rgba(255,255,255,.25); }
.bv-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.bv-help article { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--glass), var(--night-2); border: 1px solid var(--ring); }
.bv-help h4 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.bv-help p { margin: 0; color: var(--text-dim); }
@media (width <= 760px) { .bv-help { grid-template-columns: 1fr; } .bv-compare th, .bv-compare td { padding: 11px 12px; } }

/* ---------- steps + faq ---------- */
.bv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.bv-steps li { padding: 22px; border-radius: var(--radius-lg); background: var(--glass), var(--night-2); border: 1px solid var(--ring); }
.bv-steps b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font: 700 17px var(--display); color: var(--ink); background: linear-gradient(135deg, var(--gold-l), var(--gold)); }
.bv-steps h4 { margin: 14px 0 6px; font-size: 19px; color: #fff; }
.bv-steps p { margin: 0; color: var(--text-dim); }
.bv-faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.bv-faq details { border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--ring); transition: border-color .15s; }
.bv-faq details[open] { border-color: var(--ring-hover); }
.bv-faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; font-weight: 600; color: #fff; list-style: none; }
.bv-faq summary::-webkit-details-marker { display: none; }
.bv-faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; transition: transform .2s; }
.bv-faq details[open] summary::after { transform: rotate(45deg); }
.bv-faq p { margin: 0; padding: 0 20px 18px; color: var(--text-dim); }

/* ---------- basket drawer + popups ---------- */
.popup-content { border-radius: var(--radius-lg) !important; background: var(--night-2) !important; border: 1px solid var(--ring); box-shadow: var(--shadow-lg); }
.popup-close { border-radius: 50% !important; }
.basket-popup-content { border-radius: 0 !important; background: var(--night-2) !important; border-left: 1px solid var(--ring); }
.basket-header, .basket-second-header { border-color: var(--ring) !important; }
.basket-title { font-family: var(--display); }
.basket-item { border-radius: var(--radius) !important; background: rgba(255,255,255,.04) !important; border: 1px solid var(--ring); }
.basket-item .title a { color: #fff; }
.basket-checkout .checkout { width: 100%; --btn-size: 50px; font-size: 16px; }
.store-form input[type=text], .store-form input[type=number], .store-form input[type=email], .store-form select, .store-form textarea,
.popup .store-form input[type=text] { border-radius: 12px !important; color: #fff; background: rgba(255,255,255,.06) !important; border: 1px solid var(--ring) !important; }
.store-form input:focus { border-color: var(--gold) !important; outline: none; }
.store-form h2 { color: #fff; }
.toast { border-radius: 14px !important; background: var(--night-3) !important; border: 1px solid var(--ring); box-shadow: var(--shadow-lg); }

/* login page */
.page-username .store-text, .store-form { max-width: 520px; margin-inline: auto; }

/* sidebar modules */
.widget { border-radius: var(--radius-lg) !important; background: var(--glass), var(--night-2) !important; border: 1px solid var(--ring); }
.widget-title { font-family: var(--display); color: #fff; }
.widget .progress { border-radius: 999px !important; background: rgba(255,255,255,.08); }
.widget .progress-bar { border-radius: 999px !important; background: linear-gradient(90deg, var(--grass-l), var(--gold)); }

/* ---------- footer ---------- */
.bv-footer { margin-top: 30px; padding: 28px 0 22px; border-top: 1px solid var(--ring); background: rgba(8,6,22,.6); }
.bv-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.bv-footer .bv-brand { font-size: 17px; }
.bv-footer .bv-brand img { width: auto; height: 32px; }
.bv-footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.bv-footer-links a { color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 14px; }
.bv-footer-links a:hover { color: #fff; }
.bv-footer .we-accept { margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.bv-footer .we-accept li { display: grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 8px; background: #fff; }
.bv-footer .we-accept img { height: 16px; width: auto; }
.bv-footer .copyright { margin: 14px 0 0; font-size: 12.5px; color: var(--text-dim); }

/* ---------- layout breakpoints ---------- */
@media (width <= 960px) {
    .bv-hero { grid-template-columns: 1fr; padding-top: 18px; text-align: left; }
    .bv-hero-art { display: none; }
    .bv-ranks, .bv-steps { grid-template-columns: 1fr; }
    .bv-rank-best { transform: none; order: -1; }
    .bv-grid { gap: 12px; }
    .bv-grid > .bv-card { flex-basis: calc((100% - 12px) / 2); }
}
@media (width <= 560px) {
    :root { --widget-padding: 16px; }
    .bv-section, .bv-hero, .site-content { padding-inline: 16px; }
    .bv-grid > .bv-card { flex-basis: 100%; max-width: none; }
    .bv-card { display: grid; grid-template-columns: 104px 1fr; grid-template-areas: "art title" "art more" "act act"; gap: 2px 14px; padding: 12px !important; }
    .bv-card-art { grid-area: art; }
    .bv-card .bv-art-label { font-size: 12px; letter-spacing: .08em; }
    .bv-card .product-title { grid-area: title; align-self: end; font-size: 17px; }
    .bv-card .bv-details { grid-area: more; align-self: start; margin: 0 2px; }
    .bv-card .product-actions { grid-area: act; margin-top: 10px; }
    .bv-ribbon { top: 8px; left: 8px; }
    .bv-bonus { top: 10px; right: 10px; padding: 3px 8px; font-size: 11px; }
    .bv-hero-actions .btn-primary, .bv-hero-actions .btn-secondary { flex: 1 1 100%; justify-content: center; }
    .bv-panel, .store-text { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- info pages (About, Terms...) ---------- */
.bv-doc { max-width: 860px; margin: 0 auto; width: 100%; }
.bv-doc-body { padding: 34px 40px; border-radius: var(--radius-lg); background: var(--glass), var(--night-2); border: 1px solid var(--ring); box-shadow: var(--shadow-md);
    font-size: 16px; line-height: 1.75; color: #ddd5f5; }
.bv-doc-body > :first-child { margin-top: 0; }
.bv-doc-body > :last-child { margin-bottom: 0; }
.bv-doc-body h2, .bv-doc-body h3 { position: relative; margin: 34px 0 10px; padding-left: 16px; font: 700 22px/1.3 var(--display); color: #fff; }
.bv-doc-body h2::before, .bv-doc-body h3::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(var(--gold-l), var(--gold-d)); }
.bv-doc-body h2:first-child, .bv-doc-body h3:first-child { margin-top: 0; }
.bv-doc-body p { margin: 0 0 14px; }
.bv-doc-body strong { color: #fff; }
.bv-doc-body ul { margin: 6px 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.bv-doc-body li { position: relative; padding-left: 28px; }
.bv-doc-body li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 14px; background: var(--gold);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.bv-doc-body hr { margin: 28px 0; border: 0; border-top: 1px solid var(--ring); }
.bv-doc-body blockquote { margin: 18px 0; padding: 14px 18px; border-radius: var(--radius); background: rgba(255,211,77,.07); border: 1px solid rgba(255,211,77,.2); color: #f1ecff; }
.bv-doc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 22px 26px; border-radius: var(--radius-lg);
    background: radial-gradient(120% 140% at 0% 0%, rgba(255,211,77,.12), transparent 60%), var(--night-3); border: 1px solid var(--ring); }
.bv-doc-cta h3 { margin: 0 0 4px; font-size: 19px; color: #fff; }
.bv-doc-cta p { margin: 0; color: var(--text-dim); }
.bv-doc-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (width <= 560px) { .bv-doc-body { padding: 22px 20px; font-size: 15px; } .bv-doc-cta-actions > * { flex: 1 1 100%; justify-content: center; } }
