:root {
    --bg: #f6f7fa;
    --card: #ffffff;
    --text: #11151c;
    --muted: #667085;
    --line: #e4e7ec;
    --primary: #1f2937;
    --primary-hover: #111827;
    --accent: #3b82f6;
    --accent-soft: #dbeafe;
    --shadow: 0 10px 35px rgba(17, 21, 28, 0.08);
    --radius: 18px;
}
* { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, #fbfcff, #f4f6fa 45%, #f2f4f8);
    line-height: 1.55;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
main { display: block; min-width: 0; }
a { color: inherit; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; display: block; mix-blend-mode: multiply; flex-shrink: 0; }
.top-nav { display: flex; gap: 14px; align-items: center; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-nav a { text-decoration: none; color: #4b5563; padding: 6px 10px; border-radius: 8px; transition: 0.2s ease; font-size: 0.92rem; }
.top-nav a:hover { background: #eef2f7; color: #111827; }

.nav-cart { font-weight: 600; }

/* Search */
.search-wrapper { position: relative; flex: 0 1 360px; }
.header-search {
    display: flex; align-items: center; gap: 0;
    background: linear-gradient(135deg, #f8fafe 0%, #f1f5fb 100%);
    border: 1px solid #d8e2f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.header-search:focus-within { border-color: #93b4f5; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), inset 0 1px 2px rgba(15, 23, 42, 0.02); }
.search-icon { color: #94a3b8; margin-left: 12px; flex-shrink: 0; }
.header-search:focus-within .search-icon { color: #3b82f6; }
.header-search input {
    border: none; background: transparent; padding: 10px 10px; font-size: 0.88rem;
    flex: 1; outline: none; min-width: 0; color: #1e293b; letter-spacing: 0.1px;
    -webkit-appearance: none; appearance: none;
}
.header-search input::-webkit-search-cancel-button,
.header-search input::-webkit-search-decoration,
.header-search input::-webkit-search-results-button,
.header-search input::-webkit-search-results-decoration { -webkit-appearance: none; display: none; }
.header-search input::placeholder { color: #94a3b8; }
.header-search button { border: none; background: var(--primary); color: #fff; width: 36px; height: 36px; margin: 2px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s ease; flex-shrink: 0; }
.header-search button:hover { background: var(--primary-hover); transform: scale(1.05); }

/* Search dropdown */
.search-dropdown {
    display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: #fff; border: 1px solid #dde6f3; border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
    z-index: 80; overflow: hidden;
    max-height: 420px; overflow-y: auto;
    animation: dropIn 0.18s ease;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.search-dropdown.open { display: block; }
.search-dropdown::-webkit-scrollbar { width: 5px; }
.search-dropdown::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.sd-label {
    padding: 8px 14px 4px; font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.8px; color: #94a3b8;
}
.sd-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; text-decoration: none; color: #1e293b;
    transition: background 0.12s ease; cursor: pointer;
}
.sd-item:hover, .sd-item.active { background: #f1f5fb; }
.sd-item-logo {
    width: 32px; height: 32px; border-radius: 9px;
    background: #fff; border: 1px solid #e4e9f2;
    display: flex; align-items: center; justify-content: center;
    padding: 4px; flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}
.sd-item-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sd-item-info { flex: 1; min-width: 0; }
.sd-item-name { font-size: 0.88rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-item-meta { font-size: 0.74rem; color: #94a3b8; margin-top: 1px; }
.sd-item-price { font-size: 0.84rem; font-weight: 600; color: #0f172a; white-space: nowrap; }
.sd-divider { height: 1px; background: #eef2f7; margin: 2px 14px; }
.sd-footer {
    padding: 8px 14px; text-align: center;
    font-size: 0.8rem; color: #3b82f6; font-weight: 500;
    border-top: 1px solid #eef2f7; cursor: pointer;
    text-decoration: none; display: block;
    transition: background 0.12s;
}
.sd-footer:hover { background: #f8fafe; }

/* Mobile menu */
.mobile-menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 1.3rem; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 10px 16px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: flex; }
.mobile-nav a { text-decoration: none; color: #374151; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
.mobile-nav a:hover { background: #eef2f7; }
.mobile-search { display: flex; gap: 0; align-items: center; background: linear-gradient(135deg, #f8fafe, #f1f5fb); border: 1px solid #d8e2f0; border-radius: 12px; overflow: hidden; margin-bottom: 4px; }
.mobile-search input { border: none; background: transparent; padding: 10px 12px; font-size: 0.9rem; flex: 1; outline: none; color: #1e293b; }
.mobile-search input::placeholder { color: #94a3b8; }
.mobile-search button { border: none; background: var(--primary); color: #fff; width: 36px; height: 36px; margin: 2px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* Breadcrumbs */
.breadcrumbs { padding: 10px 0 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.84rem; color: var(--muted); }
.breadcrumbs li::before { content: "›"; margin-right: 6px; color: #b0b9c8; }
.breadcrumbs li:first-child::before { content: ""; margin: 0; }
.breadcrumbs a { text-decoration: none; color: #475569; }
.breadcrumbs a:hover { color: #1f2937; text-decoration: underline; }
.breadcrumbs li[aria-current="page"] { color: #1f2937; font-weight: 500; }

.wallet-btn { border: none; background: var(--primary); color: #fff; border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: 0.25s ease; }
.wallet-btn:hover { background: var(--primary-hover); transform: translateY(-1px) scale(1.02); }
.wallet-btn.connected { background: #157a3c; }
.section { padding: 36px 0; }
.section-title { margin: 0 0 14px; font-size: clamp(1.35rem, 2.3vw, 2.1rem); letter-spacing: 0.2px; }
.popular-title::before { content: "⭐"; margin-right: 8px; }
.hot-title::before { content: "🔥"; margin-right: 8px; }
.section-subtitle { margin: 0 0 14px; color: var(--muted); line-height: 1.5; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.section-head p { margin: 0; color: var(--muted); }

/* Live stats */
.live-stats {
    display: flex; align-items: center; gap: 0; flex-wrap: wrap;
    margin: 14px 0 0;
    font-size: 0.88rem; color: #64748b;
}
.ls-item { display: inline-flex; align-items: center; gap: 4px; }
.ls-item strong { color: #1e293b; font-weight: 600; }
.ls-sep {
    width: 3px; height: 3px; border-radius: 50%;
    background: #cbd5e1; margin: 0 10px;
    flex-shrink: 0;
}
.ls-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    animation: lsPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes lsPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-premium { padding: 42px 0 24px; position: relative; overflow: hidden; }
.hero-premium::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -170px; right: -120px; background: radial-gradient(circle, rgba(59,130,246,0.22), rgba(59,130,246,0)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.hero-copy { padding: 30px 0; }
.hero-label { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: #1d4ed8; font-size: 0.84rem; margin-bottom: 12px; }
.hero-copy h1 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.hero-copy p { margin: 0; color: var(--muted); font-size: 1.1rem; }
/* Trustpilot widget */
.tp-widget { margin-top: 20px; display: inline-flex; flex-direction: column; gap: 4px; }
.tp-stars-row { display: flex; gap: 2px; }
.tp-star-box {
    width: 22px; height: 22px;
    background: #00B67A;
    border-radius: 3px;
    display: inline-flex; align-items: center; justify-content: center;
}
.tp-star-box:last-child { background: linear-gradient(90deg, #00B67A 50%, #dcdce6 50%); }
.tp-info {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; color: #1d1d1d; margin-top: 2px;
}
.tp-score-text { font-weight: 400; }
.tp-score-text strong { font-weight: 700; }
.tp-sep { color: #c8c8c8; font-weight: 300; }
.tp-review-count { color: #1d1d1d; }
.tp-logo {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 1px;
}
.tp-logo-star { flex-shrink: 0; }
.tp-logo-text { font-size: 0.88rem; font-weight: 700; color: #1d1d1d; letter-spacing: -0.3px; }
.hero-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn { border: none; border-radius: 12px; padding: 12px 18px; font-size: 0.95rem; cursor: pointer; text-decoration: none; transition: 0.22s ease; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: #eef2f7; color: #111827; }
.btn:hover { transform: translateY(-2px); }
.hero-badge { width: 82px; height: 82px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe; margin-bottom: 8px; box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2); padding: 10px; }
.hero-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-visual p { margin: 4px 0 8px; color: #374151; }
.hero-visual ul { margin: 0; padding-left: 20px; color: #4b5563; }

/* ── Bento benefits section ── */
.bento-section {
    padding: 48px 0 56px;
    position: relative;
    overflow: hidden;
}
.bento-section::before {
    content: "";
    position: absolute;
    width: 600px; height: 600px;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.06), transparent 70%);
    pointer-events: none;
}

.bento-header { text-align: center; margin-bottom: 36px; }
.bento-title {
    margin: 0;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.5px;
    color: #0f172a;
}
.bento-subtitle {
    margin: 8px 0 0;
    font-size: 1rem;
    color: #6b7f99;
    font-weight: 400;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "checkout checkout delivery"
        "worldwide fees     delivery"
        "secure   secure   support";
    gap: 10px;
}

[data-area="checkout"]  { grid-area: checkout; }
[data-area="delivery"]  { grid-area: delivery; }
[data-area="worldwide"] { grid-area: worldwide; }
[data-area="fees"]      { grid-area: fees; }
[data-area="secure"]    { grid-area: secure; }
[data-area="support"]   { grid-area: support; }

/* Tile base */
.bento-tile {
    position: relative;
    border-radius: 14px;
    padding: 18px 16px;
    min-height: 120px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #fff;
    border: 1px solid #e2e9f4;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.35s cubic-bezier(0.22,1,0.36,1),
                border-color 0.3s;
    cursor: default;
}
.bento-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.10), 0 4px 12px rgba(15,23,42,0.05);
    border-color: #c8d6ee;
}

/* Orb decoration */
.bento-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.bento-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    transition: opacity 0.5s, transform 0.5s;
}
.bento-tile:hover .bento-orb { opacity: 0.55; transform: scale(1.15); }

/* Accent palettes */
[data-accent="blue"] .bento-orb { width: 120px; height: 120px; top: -40px; right: -30px; background: #3b82f6; }
[data-accent="blue"] .bento-orb.secondary { width: 80px; height: 80px; bottom: -20px; left: -15px; background: #818cf8; }
[data-accent="green"] .bento-orb { width: 110px; height: 110px; top: -30px; right: -20px; background: #22c55e; }
[data-accent="violet"] .bento-orb { width: 100px; height: 100px; top: -35px; left: -20px; background: #8b5cf6; }
[data-accent="amber"] .bento-orb { width: 90px; height: 90px; bottom: -25px; right: -20px; background: #f59e0b; }
[data-accent="slate"] .bento-orb { width: 140px; height: 140px; top: -50px; left: -35px; background: #475569; }
[data-accent="slate"] .bento-orb.secondary { width: 70px; height: 70px; bottom: -15px; right: -15px; background: #3b82f6; opacity: 0.2; }
[data-accent="cyan"] .bento-orb { width: 110px; height: 110px; top: -35px; right: -25px; background: #06b6d4; }

/* Icon */
.bento-icon {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    color: #c4d0e0;
    transition: color 0.3s, transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.bento-tile:hover .bento-icon { color: #94a8c4; transform: scale(1.1) rotate(-3deg); }

/* Content */
.bento-content { position: relative; z-index: 1; }
.bento-content h3 {
    margin: 0 0 4px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}
.bento-content p {
    margin: 0;
    font-size: 0.78rem;
    color: #5b6b82;
    line-height: 1.5;
    max-width: 340px;
}

/* Stat callout */
.bento-stat {
    position: relative; z-index: 1;
    margin-top: 10px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.bento-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #0f172a;
    line-height: 1;
}
.bento-stat-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pulse ring for 24/7 tile */
.bento-pulse-ring {
    position: absolute;
    bottom: 22px; right: 22px;
    width: 12px; height: 12px;
    z-index: 1;
}
.bento-pulse-ring::before,
.bento-pulse-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.bento-pulse-ring::before {
    background: #06b6d4;
    box-shadow: 0 0 8px rgba(6,182,212,0.5);
}
.bento-pulse-ring::after {
    border: 2px solid rgba(6,182,212,0.4);
    animation: bentoPulse 2s ease-out infinite;
}
@keyframes bentoPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(3.5); opacity: 0; }
}

.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.gift-card {
    background: linear-gradient(160deg, var(--card-start, #101722) 0%, var(--card-end, #111827) 100%);
    border: 1px solid #2a3a52;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(10, 14, 24, 0.28);
    transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}
.gift-card::before { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--card-glow, rgba(59, 130, 246, 0.25)), rgba(59, 130, 246, 0)); pointer-events: none; }
.card-watermark { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; pointer-events: none; z-index: 0; }
.card-watermark img { width: 64px; height: 64px; object-fit: contain; opacity: 0.07; filter: saturate(0.9) contrast(1.05); }
.card-watermark span { max-width: 88%; text-align: center; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.3px; color: rgba(255, 255, 255, 0.06); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gift-card.featured { border-color: #3c5376; background: linear-gradient(165deg, var(--card-start, #0f172a) 0%, var(--card-end, #1b2a44) 100%); }
.gift-card.hot { position: relative; border-color: #3d5477; }
.offer-badge { position: absolute; top: 10px; right: 10px; background: rgba(17,24,39,0.85); backdrop-filter: blur(4px); color: #fff; font-size: 0.66rem; padding: 3px 7px; border-radius: 999px; letter-spacing: 0.5px; z-index: 2; font-weight: 600; }
.gift-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(13, 18, 31, 0.45); border-color: #4f6891; }
.card-link { display: flex; flex-direction: column; padding: 16px; text-decoration: none; position: relative; z-index: 1; }
.logo-badge { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #d7dce5; margin-bottom: 10px; padding: 5px; overflow: hidden; box-shadow: 0 4px 10px rgba(12, 18, 30, 0.22); flex-shrink: 0; }
.logo-badge.large { width: 56px; height: 56px; border-radius: 14px; font-size: 1.05rem; }
.logo-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gift-card h3 { margin: 0 0 4px; font-size: 0.9rem; color: #f4f8ff; font-weight: 600; }
.gift-card p { margin: 0 0 10px; color: #8d9eb8; font-size: 0.8rem; line-height: 1.4; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-weight: 700; color: #f8fbff; font-size: 0.92rem; }
.view-btn { font-size: 0.78rem; color: #7b93b5; font-weight: 500; transition: color 0.2s; }
.gift-card:hover .view-btn { color: #a8bdd8; }
.category-carousel { position: relative; display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center; }
.carousel-nav { width: 44px; height: 44px; border: 1px solid #d8deea; border-radius: 999px; background: #fff; color: #334155; font-size: 1.4rem; cursor: pointer; box-shadow: 0 8px 20px rgba(17, 21, 28, 0.1); transition: 0.2s ease; z-index: 2; }
.carousel-nav:hover { transform: translateY(-2px); background: #f8fbff; border-color: #c8d6f0; }
.carousel-nav:disabled { opacity: 0.38; cursor: not-allowed; transform: none; }
.category-viewport { overflow: hidden; padding: 8px 0; }
.category-track { display: flex; gap: 12px; will-change: transform; }
.category-card { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; flex: 0 0 172px; width: 172px; min-width: 172px; max-width: 172px; text-decoration: none; background: #fff; border: 1px solid #e8ecf2; border-radius: 10px; padding: 8px 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.category-card:hover { border-color: #d0d7e2; box-shadow: 0 6px 16px rgba(0,0,0,0.07); }
.category-card .logo-badge { margin-bottom: 0; width: 32px; height: 32px; border-radius: 8px; font-size: 0.78rem; background: transparent; border: none; box-shadow: none; padding: 2px; flex-shrink: 0; }
.category-card h3 { margin: 0; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.category-products .gift-card { border-radius: 16px; }

/* Quick Add to Cart */
.quick-add-form { position: absolute; bottom: 10px; right: 10px; z-index: 3; }
.quick-add-btn { border: none; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); color: #e2ecff; font-size: 0.76rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; cursor: pointer; transition: 0.2s ease; border: 1px solid rgba(255,255,255,0.15); }
.quick-add-btn:hover { background: rgba(255,255,255,0.28); color: #fff; }

/* Filter strip */
.filter-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(248,250,254,0.9));
    backdrop-filter: blur(10px);
    border: 1px solid #dde5f0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    position: relative;
    z-index: 10;
}
.fs-group {
    display: flex;
    align-items: center;
    gap: 0;
}
.fs-dash {
    color: #b0bec5;
    font-size: 0.82rem;
    padding: 0 4px;
    flex-shrink: 0;
}
.fs-input-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e9f4;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fs-input-wrap:focus-within {
    border-color: #93b4f5;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.fs-prefix {
    padding: 0 0 0 10px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    pointer-events: none;
    flex-shrink: 0;
}
.fs-input-wrap input {
    border: none;
    background: transparent;
    padding: 8px 10px 8px 4px;
    font-size: 0.86rem;
    width: 64px;
    outline: none;
    color: #1e293b;
    -moz-appearance: textfield;
}
.fs-input-wrap input::-webkit-outer-spin-button,
.fs-input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fs-input-wrap input::placeholder { color: #b0bec5; }

/* Custom dropdown */
.cd-wrap {
    position: relative;
}
.cd-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e9f4;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px 8px 10px;
    font-size: 0.86rem;
    color: #1e293b;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.3;
}
.cd-trigger:hover { border-color: #c8d6ee; background: #fafcff; }
.cd-wrap.open .cd-trigger {
    border-color: #93b4f5;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.cd-trigger-icon { color: #94a3b8; flex-shrink: 0; }
.cd-trigger-text { flex: 1; }
.cd-chevron {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.cd-wrap.open .cd-chevron { transform: rotate(180deg); }

.cd-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid #dde5f0;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
    z-index: 50;
    overflow: hidden;
    padding: 4px;
    animation: cdDrop 0.18s ease;
}
@keyframes cdDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.cd-wrap.open .cd-menu { display: block; }

.cd-option {
    padding: 9px 12px;
    font-size: 0.86rem;
    color: #334155;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cd-option:hover {
    background: linear-gradient(135deg, #eef3fb, #e8eef8);
    color: #0f172a;
}
.cd-option.active {
    background: linear-gradient(135deg, #e0eaff, #dbe4f8);
    color: #1e40af;
    font-weight: 600;
}
.cd-option.active::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    flex-shrink: 0;
}

/* Empty cart */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 20px 56px;
}
.empty-cart-visual {
    position: relative;
    margin-bottom: 24px;
}
.empty-cart-icon { display: block; }
.empty-cart-glow {
    position: absolute;
    width: 120px; height: 120px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
    pointer-events: none;
}
.empty-cart-title {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
}
.empty-cart-text {
    margin: 0 0 24px;
    max-width: 380px;
    font-size: 0.92rem;
    color: #6b7f99;
    line-height: 1.55;
}
.empty-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.25s;
}
.empty-cart-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.fs-apply {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.fs-apply:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.fs-apply svg { flex-shrink: 0; }

.product-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 34px 0 50px; }
.product-side { position: sticky; top: 92px; align-self: start; }
.product-main, .buy-card {
    background: linear-gradient(180deg, #f6f8fc 0%, #f1f4f9 100%);
    border: 1px solid #d7deea;
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(17, 21, 28, 0.08);
}
.product-main { padding: 24px; }

/* ── Product view (pv) ── */
.pv { padding: 32px 30px; }

.pv-top { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.pv-logo {
    width: 56px; height: 56px; border-radius: 14px;
    background: #fff; border: 1px solid #dde5f0;
    display: flex; align-items: center; justify-content: center;
    padding: 7px; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15,23,42,0.07);
}
.pv-logo img { width: 100%; height: 100%; object-fit: contain; }
.pv-intro { flex: 1; min-width: 0; }
.pv-eyebrow {
    margin: 0 0 4px;
    font-size: 0.76rem;
    color: #94a3b8;
    letter-spacing: 0.3px;
}
.pv-name { margin: 0 0 4px; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.2; color: #0f172a; }
.pv-amount { margin: 0; font-size: 1.6rem; font-weight: 800; color: #0f172a; letter-spacing: -0.8px; line-height: 1.2; }



.pv-sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, #dde5f0 20%, #dde5f0 80%, transparent);
    margin: 20px 0;
}

.pv-desc {
    margin: 0 0 16px;
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.72;
}

.pv-how {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
}
.pv-how-label {
    display: inline;
    font-weight: 700;
    color: #1e293b;
    margin-right: 4px;
}
.pv-how-label::after { content: " — "; font-weight: 400; color: #94a3b8; }

/* Flow steps */
.pv-flow-title {
    margin: 0 0 16px;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}
.pv-flow-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 42px;
}
.pv-flow-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.pv-flow-dot span {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pv-flow-line {
    width: 1px;
    flex: 1;
    min-height: 16px;
    background: #d0daea;
}
.pv-flow-item p {
    margin: 0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
    padding-top: 2px;
}
.pv-flow-item.last { min-height: auto; }

/* Tiers */
.pv-tiers-title {
    margin: 0 0 14px;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}
.pv-tier-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.pv-tier-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 8px 8px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.pv-tier-item:hover {
    border-color: #c8d6ee;
    box-shadow: 0 6px 20px rgba(15,23,42,0.06);
    transform: translateY(-2px);
}
.pv-tier-item.best {
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
    border-color: #334155;
}
.pv-tier-item.best:hover { border-color: #475569; box-shadow: 0 8px 24px rgba(15,23,42,0.2); }
.pv-tier-best-label {
    position: absolute;
    top: -8px; left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff;
    background: #16a34a;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}
.pv-tier-pct {
    font-size: 1rem;
    font-weight: 800;
    color: #16a34a;
    line-height: 1;
    margin-bottom: 2px;
}
.pv-tier-qty {
    font-size: 0.68rem;
    color: #64748b;
    margin-bottom: 4px;
}
.pv-tier-final {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}
.pv-tier-final small { font-size: 0.62rem; font-weight: 500; color: #94a3b8; margin-left: 1px; }
.pv-tier-save {
    margin-top: 2px;
    font-size: 0.62rem;
    color: #16a34a;
    font-weight: 500;
}

.pv-tier-item.best .pv-tier-pct { color: #4ade80; }
.pv-tier-item.best .pv-tier-qty { color: #6b7f99; }
.pv-tier-item.best .pv-tier-final { color: #f1f5f9; }
.pv-tier-item.best .pv-tier-final small { color: #5b6b82; }
.pv-tier-item.best .pv-tier-save { color: #4ade80; }

/* Dark — product view */
html.dark .pv-name { color: #f1f5f9; }
html.dark .pv-amount { color: #e2e8f0; }
html.dark .pv-eyebrow { color: #5b6b82; }
html.dark .pv-logo { background: #1e2536; border-color: #2a3242; }

html.dark .pv-sep { background: linear-gradient(90deg, transparent, #2a3242 20%, #2a3242 80%, transparent); }
html.dark .pv-desc { color: #8896ab; }
html.dark .pv-how { color: #8896ab; }
html.dark .pv-how-label { color: #cbd5e1; }
html.dark .pv-how-label::after { color: #3c4a62; }
html.dark .pv-flow-title, html.dark .pv-tiers-title { color: #4a5a72; }
html.dark .pv-flow-dot span { background: #e2e8f0; color: #0f172a; }
html.dark .pv-flow-line { background: #2a3242; }
html.dark .pv-flow-item p { color: #8896ab; }
html.dark .pv-tier-item { background: #1a2030; border-color: #2a3242; }
html.dark .pv-tier-item:hover { border-color: #3c4a62; }
html.dark .pv-tier-item.best { background: linear-gradient(165deg, #e2e8f0, #cbd5e1); border-color: #e2e8f0; }
html.dark .pv-tier-item.best:hover { border-color: #fff; }
html.dark .pv-tier-item.best .pv-tier-pct { color: #16a34a; }
html.dark .pv-tier-item.best .pv-tier-qty { color: #475569; }
html.dark .pv-tier-item.best .pv-tier-final { color: #0f172a; }
html.dark .pv-tier-item.best .pv-tier-final small { color: #64748b; }
html.dark .pv-tier-item.best .pv-tier-save { color: #16a34a; }
html.dark .pv-tier-final { color: #e2e8f0; }
html.dark .pv-tier-final small { color: #5b6b82; }
html.dark .pv-tier-qty { color: #5b6b82; }


.buy-card { padding: 20px; position: static; }
.buy-card h3 { margin: 0; }
.buy-card-top p { margin: 6px 0 0; color: #64748b; font-size: 0.92rem; }
.price-line {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 14px; padding: 10px 0;
    border-bottom: 1px solid #e8ecf2;
}
.price-line-label { font-size: 0.88rem; color: #64748b; }
.price-line-value { font-size: 1.3rem; font-weight: 700; color: #0f172a; letter-spacing: -0.3px; }
.checkout-points { margin: 12px 0 14px; padding-left: 18px; color: #475569; display: grid; gap: 6px; font-size: 0.9rem; }
.usdt-note { margin: 8px 0 12px; color: #1d4ed8; font-size: 0.92rem; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 10px; padding: 8px 10px; }
.buy-btn, .confirm-btn, .back-link, .copy-btn { display: inline-block; border: none; text-decoration: none; border-radius: 10px; padding: 11px 15px; cursor: pointer; transition: 0.22s ease; }
.buy-btn, .confirm-btn { background: var(--primary); color: #fff; width: 100%; margin-top: 8px; }
.buy-btn:hover, .confirm-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.back-link { background: #f3f6fb; border: 1px solid #dde5f1; color: #2f3f58; margin-bottom: 12px; border-radius: 8px; padding: 6px 10px; font-size: 0.84rem; font-weight: 500; line-height: 1; }
.back-link:hover { background: #eaf0f8; border-color: #cfd9e8; color: #1f2e45; }
.add-cart-form { margin-top: 10px; }
.add-cart-card { position: static; margin-top: 12px; background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%); }
.add-cart-card h4 { margin: 0 0 6px; font-size: 0.98rem; }
.add-cart-card p { margin: 0; color: #64748b; font-size: 0.9rem; }
.add-cart-btn { width: 100%; margin-top: 10px; background: #eef2f9; border-color: #d3dceb; color: #1f2937; font-weight: 600; }
.add-cart-btn:hover { background: #e5ebf5; }
.cart-added-note { margin: 0 0 10px; font-size: 0.88rem; color: #166534; background: #ecfdf3; border: 1px solid #bbf7d0; border-radius: 10px; padding: 8px 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fbfbfc; margin-top: 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 24px; padding: 28px 0 18px; }
.footer-col h4 { margin: 0 0 10px; font-size: 0.9rem; color: #374151; text-transform: uppercase; letter-spacing: 0.4px; }
.footer-brand { text-decoration: none; font-weight: 700; font-size: 1.1rem; color: #1f2937; display: inline-block; line-height: 1; }
.footer-about { margin: 8px 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.footer-nav-list { display: flex; flex-direction: column; gap: 4px; }
.footer-nav-list a { text-decoration: none; color: #475467; font-size: 0.88rem; padding: 3px 0; }
.footer-nav-list a:hover { color: #111827; }

/* Footer CTA column */
.footer-cta-col { }
.footer-cta-text { margin: 0 0 10px; font-size: 0.84rem; color: #64748b; line-height: 1.5; }

/* Newsletter */
.newsletter-form {
    position: relative;
    display: flex; gap: 0; align-items: center;
    border-radius: 12px; overflow: hidden;
    border: 1px solid #d0d7e2; background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-form:focus-within { border-color: #93b4f5; box-shadow: 0 0 0 3px rgba(59,130,246,0.08); }
.newsletter-form input { border: none; padding: 10px 12px; font-size: 0.86rem; flex: 1; outline: none; min-width: 0; color: #1e293b; }
.newsletter-form input::placeholder { color: #94a3b8; }
.newsletter-form button {
    border: none; background: var(--primary); color: #fff;
    width: 36px; height: 36px; margin: 2px;
    border-radius: 10px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: 0.2s ease; flex-shrink: 0;
}
.newsletter-form button:hover { background: var(--primary-hover); transform: scale(1.05); }
.newsletter-page-form { position: relative; display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.newsletter-page-form input { border: 1px solid #d0d7e2; border-radius: 8px; padding: 10px 12px; font-size: 0.92rem; flex: 1; }
.newsletter-page-form input:focus { border-color: #8ab2f7; outline: none; }

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid #e8ecf2;
    padding: 14px 0;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 12px;
}
.footer-trust { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.trust-item {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.78rem; color: #94a3b8; font-weight: 400;
    letter-spacing: 0.1px;
    padding: 2px 0;
}
.trust-item svg { color: #b0bec5; flex-shrink: 0; opacity: 0.7; }
.trust-sep {
    width: 3px; height: 3px; border-radius: 50%;
    background: #cbd5e1; margin: 0 12px;
    flex-shrink: 0;
}
.footer-bottom-right { display: flex; align-items: center; gap: 10px; }
.payment-label {
    font-size: 0.74rem; color: #94a3b8; font-weight: 400;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.crypto-logos { display: flex; align-items: center; gap: 0; }
.crypto-coin {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #f8f9fb;
    border: 1px solid #e8ecf2;
    padding: 5px;
    transition: 0.2s ease;
    text-decoration: none;
    position: relative;
}
.crypto-coin + .crypto-coin { margin-left: -4px; }
.crypto-coin:nth-child(1) { z-index: 3; }
.crypto-coin:nth-child(2) { z-index: 2; }
.crypto-coin:nth-child(3) { z-index: 1; }
.crypto-coin img { width: 100%; height: 100%; object-fit: contain; display: block; }
.crypto-coin:hover {
    transform: translateY(-2px) scale(1.08);
    border-color: #c8d4e4;
    z-index: 10;
}

.footer-meta { margin: 0; padding: 10px 0 16px; color: var(--muted); text-align: center; border-top: 1px solid #e8ecf2; font-size: 0.84rem; }

/* Cookie consent — floating card */
.cookie-consent[hidden] {
    display: none !important;
}
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 0 16px 20px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}
.cookie-inner {
    pointer-events: auto;
    width: min(920px, 100%);
    display: flex;
    align-items: center;
    gap: 18px 22px;
    padding: 18px 22px 18px 20px;
    margin: 0;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 4px 6px -1px rgba(15, 23, 42, 0.06),
        0 24px 48px -12px rgba(15, 23, 42, 0.18);
}
.cookie-consent__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #1d4ed8;
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 45%, #bfdbfe 100%);
    border: 1px solid rgba(59, 130, 246, 0.22);
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.08);
}
.cookie-consent__copy { flex: 1; min-width: 0; }
.cookie-consent__title {
    margin: 0 0 4px;
    font-size: 0.97rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.3;
}
.cookie-consent__text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #64748b;
}
.cookie-consent__text a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
    transition: color 0.15s ease, border-color 0.15s ease;
}
.cookie-consent__text a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}
.cookie-consent__accept {
    flex-shrink: 0;
    margin: 0;
    padding: 12px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.01em;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 2px 4px rgba(15, 23, 42, 0.12),
        0 8px 16px -4px rgba(15, 23, 42, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.cookie-consent__accept:hover {
    filter: brightness(1.06);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.14) inset,
        0 4px 8px rgba(15, 23, 42, 0.14),
        0 12px 24px -6px rgba(15, 23, 42, 0.25);
}
.cookie-consent__accept:active { transform: scale(0.98); }
@media (max-width: 640px) {
    .cookie-inner {
        flex-wrap: wrap;
        padding: 16px 18px;
    }
    .cookie-consent__icon { width: 48px; height: 48px; border-radius: 14px; }
    .cookie-consent__copy { flex: 1 1 calc(100% - 68px); }
    .cookie-consent__accept { width: 100%; padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .cookie-consent { transition: opacity 0.2s ease; }
    .cookie-consent__accept { transition: none; }
    .cookie-consent__accept:active { transform: none; }
}

/* Content pages */
.not-found { padding: 50px 0; }
.content-page { padding: 40px 0 50px; max-width: 760px; }
.content-page h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.content-lead { margin: 0 0 28px; color: #64748b; font-size: 0.95rem; line-height: 1.6; }

.content-block { margin-bottom: 24px; }
.content-block h2 { margin: 0 0 6px; font-size: 1rem; color: #1e293b; }
.content-block p { margin: 0; color: #475569; line-height: 1.7; font-size: 0.92rem; }
.content-block p + p { margin-top: 6px; }
.content-block a { color: var(--accent); text-decoration: none; }
.content-block a:hover { text-decoration: underline; }

/* FAQ accordion */
.faq-list { display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid #f1f5f9; }
.faq-item summary {
    padding: 14px 0; cursor: pointer;
    font-size: 0.95rem; font-weight: 500; color: #1e293b;
    list-style: none; display: flex; align-items: center; justify-content: space-between;
    transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-size: 1.2rem; font-weight: 300; color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0; margin-left: 12px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { margin: 0 0 12px; color: #475569; line-height: 1.65; font-size: 0.9rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* Blog list */
.blog-list { display: grid; gap: 0; }
.blog-entry { padding: 20px 0; border-bottom: 1px solid #f1f5f9; }
.blog-entry:first-child { padding-top: 0; }
.blog-date { font-size: 0.74rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-entry h2 { margin: 4px 0 6px; font-size: 1.1rem; color: #1e293b; }
.blog-entry .blog-excerpt { margin: 0 0 6px; color: #475569; font-size: 0.9rem; line-height: 1.6; }
.blog-expand { margin-top: 2px; }
.blog-expand summary {
    cursor: pointer; color: var(--accent); font-size: 0.86rem; font-weight: 500;
    padding: 2px 0; list-style: none;
}
.blog-expand summary::-webkit-details-marker { display: none; }
.blog-expand summary:hover { color: #1d4ed8; }
.blog-expand p { margin: 8px 0 0; color: #374151; font-size: 0.9rem; line-height: 1.7; }

.modal-overlay { position: fixed; inset: 0; background: rgba(10,13,18,0.55); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; z-index: 60; backdrop-filter: blur(6px); }
.modal-overlay.open { opacity: 1; visibility: visible; }

/* ── Order modal (om) ── */
.om {
    width: min(480px, 92%);
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.06);
    padding: 0;
    transform: translateY(12px) scale(0.97);
    transition: transform 0.25s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.open .om { transform: translateY(0) scale(1); }

.om-close {
    position: absolute; top: 14px; right: 14px;
    width: 30px; height: 30px;
    border: none; border-radius: 8px;
    background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #64748b;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}
.om-close:hover { background: #e2e8f0; color: #0f172a; }

.om-head {
    padding: 24px 24px 0;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.om-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 10px;
}
.om h3 { margin: 0 0 4px; font-size: 1.2rem; font-weight: 700; color: #0f172a; }
.om-sub { margin: 0 0 16px; font-size: 0.82rem; color: #94a3b8; }

.om-items {
    padding: 0 24px;
    display: flex; flex-direction: column; gap: 0;
}
.om-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.om-item:last-child { border-bottom: none; }
.om-item img {
    width: 30px; height: 30px; border-radius: 8px;
    border: 1px solid #e8ecf2; background: #fff;
    object-fit: contain; padding: 3px; flex-shrink: 0;
}
.om-item-info { flex: 1; min-width: 0; }
.om-item-name {
    display: block; font-size: 0.85rem; font-weight: 600; color: #1e293b;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.om-item-qty { font-size: 0.72rem; color: #94a3b8; }
.om-item-price { font-size: 0.9rem; font-weight: 700; color: #0f172a; white-space: nowrap; }

.om-totals { padding: 0 24px; margin-top: 4px; }
.om-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; font-size: 0.82rem; color: #64748b;
}
.om-discount span { color: #16a34a; font-weight: 500; }
.om-discount strong { font-weight: 600; }
.om-final {
    padding-top: 10px; margin-top: 4px;
    border-top: 1px solid #e8ecf2;
    font-size: 1rem; font-weight: 700; color: #0f172a;
}
.om-final span:last-child { font-size: 1.1rem; letter-spacing: -0.3px; }

.om-fields { padding: 16px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.om-field label {
    display: block; font-size: 0.78rem; font-weight: 600; color: #475569;
    margin-bottom: 5px; letter-spacing: 0.2px;
}
.om-optional {
    font-weight: 400; color: #94a3b8; font-style: italic; margin-left: 4px;
}
.om-input-wrap {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid #e2e8f0; border-radius: 10px;
    background: #f8fafc; padding: 0 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.om-input-wrap:focus-within { border-color: #93b5f7; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); background: #fff; }
.om-input-wrap svg { color: #94a3b8; flex-shrink: 0; }
.om-input-wrap input {
    border: none; background: transparent; padding: 10px 0;
    font-size: 0.9rem; color: #0f172a; width: 100%; outline: none;
}
.om-input-wrap input::placeholder { color: #cbd5e1; }
.om-input-wrap:has(input.invalid) { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }

.om-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.field-hint { color: #94a3b8; margin-top: 4px; margin-bottom: 0; display: block; font-size: 0.72rem; }
.promo-msg { display: block; font-size: 0.76rem; margin-top: 3px; min-height: 1.1em; transition: color 0.2s; }
.field-error { color: #dc2626; display: none; margin-top: 3px; font-size: 0.74rem; }

#orderQty { appearance: textfield; -moz-appearance: textfield; }
#orderQty::-webkit-outer-spin-button, #orderQty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.wallet-pay-pool {
    position: fixed;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}
.wallet-pay-pool .cw-connect-button.cw-withdraw-button {
    width: 220px;
    height: 44px;
    margin: 0;
    padding: 12px;
    min-width: 0;
    min-height: 0;
    pointer-events: auto;
}
label.wallet-pay-trigger {
    cursor: pointer;
    user-select: none;
}
label.wallet-pay-trigger.buy-btn,
label.wallet-pay-trigger.ccb-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
}
label.wallet-pay-trigger--disabled,
label.wallet-pay-trigger.wallet-pay-trigger--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.cw-connect-button.cw-withdraw-button:not(.buy-btn):not(.ccb-pay-btn),
.om-pay {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: calc(100% - 48px); margin: 16px 24px 20px;
    padding: 12px;
    border: none; border-radius: 12px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff; font-size: 0.92rem; font-weight: 600;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.cw-connect-button.cw-withdraw-button:hover,
.om-pay:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,23,42,0.2); }
.cw-connect-button.cw-withdraw-button svg,
.om-pay svg { opacity: 0.7; }

.mini-btn { border: 1px solid #d0d7e2; background: #f8fafc; color: #1f2937; border-radius: 10px; padding: 9px 12px; cursor: pointer; transition: 0.2s ease; text-decoration: none; display: inline-block; }
.mini-btn:hover { background: #eef2f7; }
.mini-btn.danger { color: #b42318; border-color: #f2c6c2; background: #fff5f4; }

/* Cart — split layout (items + order summary) */
.cart-grid { display: grid; gap: 0; margin-top: 0; }
.cart-item { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #f1f5f9; }
.cart-item:last-child { border-bottom: none; }
.cart-layout { --cart-line-price: minmax(5.25rem, auto); }
.cart-page-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 28px;
    align-items: start;
    margin-top: 10px;
}
.cart-items-card,
.cart-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.cart-summary-card { position: sticky; top: 88px; }
.cart-panel-title {
    margin: 0 0 14px;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}
.cart-layout .cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto var(--cart-line-price);
    align-items: center;
    column-gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}
.cart-layout .cart-item:first-child { padding-top: 0; }
.cart-layout .cart-item:last-child { border-bottom: none; padding-bottom: 0; }
.cart-item-product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}
.cart-remove-form { margin: 0; padding: 0; flex-shrink: 0; }
.cart-remove-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.cart-remove-icon:hover {
    color: #475569;
    background: rgba(15, 23, 42, 0.05);
}
.cart-remove-icon:focus-visible {
    outline: none;
    color: #475569;
    background: rgba(15, 23, 42, 0.06);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
}
.cart-remove-icon:active { opacity: 0.85; }
.cart-remove-icon svg { display: block; opacity: 0.92; }
.cart-item-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; text-decoration: none; color: inherit; transition: opacity 0.15s; }
.cart-item-main:hover { opacity: 0.75; }
.cart-item-main:hover h3 { color: var(--accent); }
.cart-item-copy { min-width: 0; }
.cart-logo { margin-bottom: 0; width: 48px; height: 48px; border-radius: 12px; padding: 6px; flex: 0 0 auto; }
.cart-item h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.cart-item-unit { margin: 0; color: #64748b; font-size: 0.875rem; }
.cart-item-qty { flex-shrink: 0; }
.cart-item-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    justify-self: end;
}
.cart-item-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cart-qty-form { display: inline-flex; align-items: center; gap: 0; border: 1px solid #e4e9f2; border-radius: 8px; overflow: hidden; background: #fafbfc; }
.qty-btn {
    border: none; background: transparent; color: #64748b;
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.15s;
}
.qty-btn:hover { background: #f1f5f9; color: #1e293b; }
.qty-display {
    width: 32px; text-align: center;
    font-size: 0.9rem; font-weight: 600; color: #1e293b;
    border-left: 1px solid #e4e9f2; border-right: 1px solid #e4e9f2;
    line-height: 32px;
}
.cart-item-total {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.cart-layout .cart-item-total { display: inline-block; text-align: right; flex-shrink: 0; }

/* Cart price hold — flat editorial strip (no card / glass) */
.cart-hold-bar {
    margin: 0 0 22px;
    padding: 16px 0 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
}
.cart-hold-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2em 0.45em;
    margin: 0;
    max-width: 52rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--muted);
}
.cart-hold-panel[hidden] { display: none !important; }
.cart-hold-kicker {
    font-size: 0.65rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}
.cart-hold-kicker--warn { color: #b45309; }
.cart-hold-sep {
    display: inline;
    user-select: none;
}
.cart-hold-sep::before {
    content: '\00a0·\00a0';
    color: #cbd5e1;
    font-weight: 400;
    letter-spacing: 0;
}
.cart-hold-text { color: #64748b; }
.cart-hold-time {
    font-variant-numeric: tabular-nums;
    font-weight: 650;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: var(--text);
}
.cart-hold-bar--expired {
    border-top-color: rgba(251, 191, 36, 0.45);
    border-bottom-color: rgba(251, 191, 36, 0.35);
}
.cart-hold-panel--expired {
    color: #92400e;
}

/* Cart hold — mobile: badge on its own line; copy + timer flow as one paragraph */
@media (max-width: 680px) {
    .cart-hold-bar {
        margin: 0 0 18px;
        padding: 14px 0 16px;
    }
    .cart-hold-panel {
        display: block;
        max-width: none;
        font-size: 0.84rem;
        line-height: 1.55;
    }
    .cart-hold-kicker {
        display: block;
        margin: 0 0 8px;
        letter-spacing: 0.12em;
        font-size: 0.62rem;
    }
    .cart-hold-sep {
        display: none;
    }
    .cart-hold-text,
    .cart-hold-time {
        display: inline;
    }
    .cart-hold-time {
        font-size: 0.92rem;
        padding: 0 0.15em;
    }
}

.ccb-pay-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

/* Honeypot (anti-spam) */
.gc-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.order-status-form .rv-form-row input.invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }

/* Cart summary (sidebar) */
.cart-summary-card .cart-summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 12px;
    table-layout: fixed;
}
.cart-summary-card .cart-summary-table td:first-child { width: 58%; }
.cart-summary-card .cst-value,
.cart-summary-card .cst-total {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.cart-summary-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    margin-top: 14px;
}
.cart-summary-table td { padding: 10px 0; }
.cst-label { color: #64748b; font-size: 0.9rem; }
.cst-count { color: #94a3b8; }
.cst-value { text-align: right; font-weight: 600; color: #1e293b; font-size: 0.9rem; }
.cst-green { color: #16a34a; }
.cst-discount-row td { border-top: 1px solid #f1f5f9; }
.cst-total-row td {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}
.cst-total { font-size: 1.15rem; font-weight: 700; color: #0f172a; letter-spacing: -0.3px; }
.cart-bulk-hint {
    display: flex; align-items: flex-start; gap: 8px;
    margin: 14px 0 0;
    padding: 12px 12px;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #eef2f7;
}
.cart-bulk-hint svg { color: #94a3b8; flex-shrink: 0; margin-top: 2px; }
.cart-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cart-checkout-bar {
    display: flex; align-items: center; justify-content: stretch;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}
.cart-summary-card .ccb-pay-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}
.ccb-pay-btn {
    display: inline-flex; align-items: center; gap: 8px;
    border: none; background: var(--primary); color: #fff;
    border-radius: 12px; padding: 12px 24px;
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: 0.2s ease;
}
.ccb-pay-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.cart-modal-list { display: grid; gap: 8px; margin: 12px 0; }
.cart-modal-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid #e5eaf3; border-radius: 10px; padding: 10px 12px; }

/* Search page */
.search-page-form { display: flex; gap: 8px; margin-bottom: 18px; }
.search-page-form input { flex: 1; border: 1px solid #d0d7e2; border-radius: 10px; padding: 11px 14px; font-size: 1rem; background: #fff; }
.search-page-form input:focus { border-color: #8ab2f7; outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,0.14); }


/* Reviews */
.rv-page { max-width: 680px; }
.rv-summary { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; flex-wrap: wrap; }
.rv-score { font-size: 1.6rem; font-weight: 700; color: #0f172a; letter-spacing: -0.5px; }
.rv-stars { display: flex; gap: 2px; align-items: center; }
.rv-count { font-size: 0.82rem; color: #94a3b8; }
.rv-list { display: grid; gap: 0; margin-bottom: 8px; }
.rv-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
}
.rv-page-link--nav {
    font-size: 0.86rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.rv-page-link--nav:hover { border-color: #93c5fd; color: #1d4ed8; background: #f8fafc; }
.rv-page-link--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.rv-page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.rv-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.rv-page-num:hover {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}
.rv-page-num--current {
    color: #fff;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    cursor: default;
}
.rv-item { padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.rv-item:first-child { padding-top: 0; }
.rv-item-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.rv-item-left { min-width: 0; }
.rv-name { display: block; font-size: 0.88rem; color: #1e293b; }
.rv-product { font-size: 0.76rem; color: #94a3b8; }
.rv-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rv-item-stars { display: flex; gap: 1px; }
.rv-date { font-size: 0.72rem; color: #cbd5e1; }
.rv-text { margin: 0; color: #475569; font-size: 0.9rem; line-height: 1.65; }

.rv-write-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 8px 16px; font-size: 0.86rem; font-weight: 500;
    color: #475569; cursor: pointer; transition: all 0.15s; margin-bottom: 20px;
}
.rv-write-btn:hover { border-color: var(--accent); color: var(--accent); }

.rv-form-wrap { margin-bottom: 24px; }
.rv-form { position: relative; }
.rv-form h2 { margin: 0 0 16px; font-size: 1rem; color: #1e293b; }
.rv-form-row { margin-bottom: 12px; }
.rv-form-row label { display: block; font-size: 0.82rem; color: #64748b; margin-bottom: 4px; }
.rv-form-row input, .rv-form-row textarea {
    width: 100%; padding: 9px 12px; font-size: 0.88rem;
    border: 1px solid #e2e8f0; border-radius: 8px; background: #fff;
    color: #1e293b; transition: border-color 0.15s; box-sizing: border-box;
    font-family: inherit;
}
.rv-form-row input:focus, .rv-form-row textarea:focus { border-color: var(--accent); outline: none; }
.rv-form-row textarea { resize: vertical; min-height: 70px; }

.rv-rating-pick { display: flex; gap: 4px; }
.rv-star-btn {
    background: none; border: none; padding: 2px; cursor: pointer;
    color: #d4d4d8; transition: color 0.1s;
}
.rv-star-btn svg { fill: currentColor; display: block; }
.rv-star-btn.active { color: #f59e0b; }
.rv-star-btn:hover { color: #f59e0b; }

.rv-form-actions { display: flex; gap: 8px; margin-top: 14px; }
.rv-cancel-btn {
    padding: 8px 16px; font-size: 0.86rem; border: 1px solid #e2e8f0;
    border-radius: 8px; background: none; color: #64748b; cursor: pointer;
    transition: all 0.15s;
}
.rv-cancel-btn:hover { border-color: #cbd5e1; color: #1e293b; }
.rv-submit-btn {
    padding: 8px 20px; font-size: 0.86rem; border: none;
    border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer;
    font-weight: 500; transition: background 0.15s;
}
.rv-submit-btn:hover { background: #1d4ed8; }

.rv-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(15,23,42,0.45); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center;
}
.rv-modal-overlay.open { display: flex; }
.rv-modal {
    background: #fff; border-radius: 14px; padding: 32px;
    max-width: 380px; width: 90%; text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: rvFadeIn 0.2s ease-out;
}
@keyframes rvFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.rv-modal-icon { margin: 0 auto 12px; display: block; }
.rv-modal h3 { margin: 0 0 8px; font-size: 1.1rem; color: #1e293b; }
.rv-modal p { margin: 0 0 18px; font-size: 0.88rem; color: #64748b; line-height: 1.6; }
.rv-modal-close {
    padding: 8px 24px; font-size: 0.88rem; border: none;
    border-radius: 8px; background: var(--accent); color: #fff;
    cursor: pointer; font-weight: 500; transition: background 0.15s;
}
.rv-modal-close:hover { background: #1d4ed8; }

/* Order status */
.order-status-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.order-status-form .rv-form-row { flex: 1; min-width: 200px; margin-bottom: 0; }
.order-status-form .field-error { flex: 1 0 100%; margin-top: 0; }
.order-status-form .filter-apply { flex-shrink: 0; align-self: flex-end; }
.order-status-timeline { display: flex; gap: 0; margin-top: 18px; justify-content: space-between; position: relative; }
.order-status-timeline::before { content: ""; position: absolute; top: 8px; left: 8px; right: 8px; height: 2px; background: #e4e7ec; }
.timeline-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; flex: 1; text-align: center; font-size: 0.82rem; color: var(--muted); }
.timeline-dot { width: 18px; height: 18px; border-radius: 50%; background: #e4e7ec; border: 3px solid #fff; box-shadow: 0 0 0 1px #d0d7e2; }
.timeline-step.done .timeline-dot { background: #22c55e; box-shadow: 0 0 0 1px #16a34a; }
.timeline-step.done { color: #166534; font-weight: 500; }

/* 404 */
.page-404 { text-align: center; padding: 80px 0; }
.error-404-box { max-width: 500px; margin: 0 auto; padding: 0 4px; }
.error-404-title { font-size: clamp(4rem, 12vw, 8rem); margin: 0; color: #e2e8f0; line-height: 1; font-weight: 800; }
.error-404-box h2 { margin: 0 0 10px; font-size: clamp(1.15rem, 4vw, 1.35rem); line-height: 1.3; }
.error-404-box p { color: var(--muted); margin: 0 0 20px; line-height: 1.55; font-size: 0.95rem; }
.error-404-actions { display: flex; gap: 10px; justify-content: center; }

/* ── Scroll animations ── */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ── Back to top ── */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    border: 1px solid #d8e2f0;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    color: #475569;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, border-color 0.2s;
    z-index: 40;
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Toast notifications ── */
.toast-container {
    position: fixed;
    top: 88px; right: 20px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #d8e2f0;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.12);
    pointer-events: auto;
    animation: toastIn 0.35s cubic-bezier(0.22,1,0.36,1), toastOut 0.3s ease 3.2s forwards;
    min-width: 260px;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
.toast-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: #ecfdf5; color: #16a34a;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.toast-body { flex: 1; }
.toast-title { font-size: 0.84rem; font-weight: 600; color: #0f172a; }
.toast-text { font-size: 0.78rem; color: #64748b; margin-top: 1px; }

/* ── Social proof ── */
.social-proof {
    position: fixed;
    bottom: 28px; left: 28px;
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e9f4;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 28px rgba(15,23,42,0.10);
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s cubic-bezier(0.22,1,0.36,1);
    max-width: 320px;
}
.social-proof.show { opacity: 1; visibility: visible; transform: translateY(0); }
.sp-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34,197,94,0.5);
    flex-shrink: 0;
    animation: lsPulse 2s ease-in-out infinite;
}
.sp-body { flex: 1; }
.sp-name { display: block; font-size: 0.82rem; color: #0f172a; }
.sp-text { font-size: 0.78rem; color: #64748b; }
.sp-close {
    border: none; background: none; color: #94a3b8;
    font-size: 1.1rem; cursor: pointer; padding: 2px;
    line-height: 1; flex-shrink: 0;
}
.sp-close:hover { color: #475569; }

/* ── Language switcher ── */
.lang-wrap { position: relative; z-index: 1; }
.lang-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid #e2e9f4; background: #f8fafc;
    border-radius: 8px; padding: 6px 10px;
    cursor: pointer; font-size: 0.78rem; font-weight: 500;
    color: #475569; transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.lang-trigger:hover { background: #eef2f7; border-color: #c8d6ee; }
.lang-trigger-flag { display: flex; align-items: center; line-height: 0; }
.lang-trigger-flag svg { border-radius: 2px; display: block; }
.lang-trigger-name { line-height: 1; }
.lang-chevron { transition: transform 0.2s; color: #94a3b8; }
.lang-wrap.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
    position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 170px; background-color: #fff;
    border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    padding: 6px; z-index: 200;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.lang-wrap.open .lang-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
}

.lang-option {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; border-radius: 8px;
    cursor: pointer; font-size: 0.8rem; font-weight: 500;
    color: #334155; transition: background 0.15s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.lang-option:hover { background: #f1f5f9; }
.lang-option.active { background: #eff6ff; color: #1d4ed8; font-weight: 600; }
.lang-option-flag { display: flex; align-items: center; line-height: 0; }
.lang-option-flag svg { border-radius: 2px; display: block; }

html.dark .lang-trigger { background: #1e2536; border-color: #2a3242; color: #cbd5e1; }
html.dark .lang-trigger:hover { background: #2a3242; border-color: #3c4a62; }
html.dark .lang-menu { background-color: #1a2030; border-color: #2a3242; box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
html.dark .lang-option { color: #cbd5e1; }
html.dark .lang-option:hover { background: #1e2536; }
html.dark .lang-option.active { background: #1a2640; color: #93b4f5; }

/* ── Dark mode toggle ── */
.theme-toggle {
    border: 1px solid #e2e9f4;
    background: #f8fafc;
    border-radius: 50%;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
    padding: 0;
    color: #64748b;
}
.theme-toggle:hover { background: #eef2f7; transform: scale(1.08); }
.theme-icon-moon { display: none; }
html.dark .theme-icon-sun { display: none; }
html.dark .theme-icon-moon { display: block; }

/* ── Dark theme ── */
html.dark {
    --bg: #0f1219;
    --card: #181d27;
    --text: #e2e8f0;
    --muted: #8896ab;
    --line: #2a3242;
    --primary: #e2e8f0;
    --primary-hover: #fff;
    --shadow: 0 10px 35px rgba(0,0,0,0.3);
}
html.dark body { background: #0f1219; color: #e2e8f0; }
html.dark .site-header { background: rgba(15,18,25,0.92); border-bottom-color: #2a3242; }
html.dark .top-nav a { color: #8896ab; }
html.dark .top-nav a:hover { background: #1e2536; color: #e2e8f0; }
html.dark .header-search { background: linear-gradient(135deg, #1a1f2e, #1e2536); border-color: #2a3242; }
html.dark .header-search input { color: #e2e8f0; }
html.dark .header-search input::placeholder { color: #5b6b82; }
html.dark .header-search button { background: #e2e8f0; color: #0f1219; }
html.dark .search-dropdown { background: #1a1f2e; border-color: #2a3242; }
html.dark .sd-item { color: #e2e8f0; }
html.dark .sd-item:hover, html.dark .sd-item.active { background: #242b3a; }
html.dark .sd-item-logo { background: #242b3a; border-color: #2a3242; }
html.dark .sd-item-price { color: #e2e8f0; }
html.dark .theme-toggle { background: #1e2536; border-color: #2a3242; color: #e2e8f0; }
html.dark .theme-toggle:hover { background: #2a3242; }
html.dark .mobile-menu-btn { background: #1e2536; border-color: #2a3242; color: #e2e8f0; }
html.dark .mobile-nav { background: #161b26; border-color: #2a3242; }
html.dark .mobile-nav a { color: #8896ab; }
html.dark .mobile-search { background: linear-gradient(135deg, #1a1f2e, #1e2536); border-color: #2a3242; }
html.dark .mobile-search input { color: #e2e8f0; }
html.dark .brand { color: #e2e8f0; }
html.dark .section-title { color: #e2e8f0; }
html.dark .section-subtitle { color: #6b7f99; }
html.dark .hero-premium { }
html.dark .hero-copy h1 { color: #f1f5f9; }
html.dark .hero-copy p { color: #8896ab; }
html.dark .live-stats { color: #6b7f99; }
html.dark .ls-item strong { color: #e2e8f0; }
html.dark .tp-info { color: #cbd5e1; }
html.dark .tp-review-count { color: #cbd5e1; }
html.dark .tp-logo-text { color: #e2e8f0; }
html.dark .category-card { background: #181d27; border-color: #232b3a; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
html.dark .category-card:hover { border-color: #3c4a62; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
html.dark .category-card h3 { color: #e2e8f0; }
html.dark .carousel-nav { background: #1e2536; border-color: #2a3242; color: #8896ab; }
html.dark .carousel-nav:hover { background: #242b3a; border-color: #3c4a62; }
html.dark .logo-badge { background: #1e2536; border-color: #2a3242; }
html.dark .breadcrumbs a { color: #8896ab; }
html.dark .breadcrumbs a:hover { color: #e2e8f0; }
html.dark .breadcrumbs li[aria-current="page"] { color: #e2e8f0; }
html.dark .gift-card { border-color: #2a3242; }
html.dark .gift-card:hover { border-color: #4a5a72; }
html.dark .offer-badge { background: rgba(226,232,240,0.15); }

/* Dark mode — bento */
html.dark .bento-tile { background: #181d27; border-color: #2a3242; }
html.dark .bento-tile:hover { border-color: #3c4a62; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
html.dark .bento-content h3 { color: #e2e8f0; }
html.dark .bento-content p { color: #6b7f99; }
html.dark .bento-title { color: #f1f5f9; }
html.dark .bento-subtitle { color: #5b6b82; }
html.dark .bento-stat-num { color: #e2e8f0; }
html.dark .bento-icon { color: #3c4a62; }
html.dark .bento-tile:hover .bento-icon { color: #5b6b82; }

/* Dark mode — filter strip */
html.dark .filter-strip { background: rgba(24,29,39,0.85); border-color: #2a3242; }
html.dark .fs-input-wrap { background: #1e2536; border-color: #2a3242; }
html.dark .fs-input-wrap input { color: #e2e8f0; }
html.dark .fs-prefix { color: #5b6b82; }
html.dark .cd-trigger { background: #1e2536; border-color: #2a3242; color: #e2e8f0; }
html.dark .cd-trigger:hover { background: #242b3a; border-color: #3c4a62; }
html.dark .cd-menu { background: #1e2536; border-color: #2a3242; box-shadow: 0 12px 36px rgba(0,0,0,0.3); }
html.dark .cd-option { color: #cbd5e1; }
html.dark .cd-option:hover { background: #242b3a; color: #e2e8f0; }
html.dark .cd-option.active { background: #242b3a; color: #93b4f5; }
html.dark .cd-option.active::before { background: #3b82f6; }
html.dark .fs-apply { background: #e2e8f0; color: #0f1219; }
html.dark .fs-apply:hover { background: #fff; }

/* Dark mode — product page */
html.dark .product-main, html.dark .buy-card { background: linear-gradient(180deg, #181d27, #1a2030); border-color: #2a3242; }
html.dark .product-panel { background: linear-gradient(180deg, #1e2536, #1a2030); border-color: #2a3242; }
html.dark .product-section h2 { color: #8896ab; }
html.dark .product-section p { color: #cbd5e1; }
html.dark .content-list { color: #8896ab; }
html.dark .steps-modern li { background: #1e2536; border-color: #2a3242; color: #cbd5e1; }
html.dark .steps-modern li::before { background: #1a2640; border-color: #2a3a52; color: #6b8fc4; }
html.dark .price-line { border-color: #2a3242; }
html.dark .price-line-label { color: #6b7f99; }
html.dark .price-line-value { color: #e2e8f0; }
html.dark .buy-btn, html.dark .confirm-btn { background: #e2e8f0; color: #0f1219; }
html.dark .buy-btn:hover, html.dark .confirm-btn:hover { background: #fff; }
html.dark .usdt-note { background: #1a2640; border-color: #2a3a52; color: #93b4f5; }
html.dark .back-link { background: #1e2536; border-color: #2a3242; color: #8896ab; }
html.dark .bulk-table td { color: #cbd5e1; border-color: #242b3a; }
html.dark .bulk-table th { color: #5b6b82; border-color: #2a3242; }
html.dark .bulk-price-cell { color: #e2e8f0; }

/* Dark mode — cart */
html.dark .cart-items-card,
html.dark .cart-summary-card {
    background: linear-gradient(180deg, #1a1f2e, #181d27);
    border-color: #2a3242;
}
html.dark .cart-panel-title { color: #6b7f99; }
html.dark .cart-item { border-color: #242b3a; }
html.dark .cart-item h3 { color: #e2e8f0; }
html.dark .cart-item-unit { color: #6b7f99; }
html.dark .cart-item-total { color: #e2e8f0; }
html.dark .cart-qty-form { border-color: #2a3242; background: #141824; }
html.dark .qty-btn { color: #6b7f99; }
html.dark .qty-btn:hover { background: #242b3a; color: #e2e8f0; }
html.dark .qty-display { color: #e2e8f0; border-color: #2a3242; }
html.dark .cart-remove-icon {
    background: transparent;
    color: #64748b;
}
html.dark .cart-remove-icon:hover {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
}
html.dark .cart-remove-icon:focus-visible {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.45);
}
html.dark .cart-bulk-hint { background: #141824; border-color: #2a3242; color: #8896ab; }
html.dark .cart-hold-bar {
    border-top-color: #2a3242;
    border-bottom-color: #2a3242;
}
html.dark .cart-hold-kicker { color: #6b7f99; }
html.dark .cart-hold-kicker--warn { color: #fdba74; }
html.dark .cart-hold-sep::before { color: #3c4a62; }
html.dark .cart-hold-text { color: #8896ab; }
html.dark .cart-hold-time { color: #e2e8f0; }
html.dark .cart-hold-bar--expired {
    border-top-color: rgba(251, 191, 36, 0.22);
    border-bottom-color: rgba(251, 191, 36, 0.18);
}
html.dark .cart-hold-panel--expired { color: #fcd34d; }
html.dark .cart-summary-table td { color: #cbd5e1; }
html.dark .cst-label { color: #6b7f99; }
html.dark .cst-value { color: #e2e8f0; }
html.dark .cst-total { color: #f1f5f9; }
html.dark .cst-total-row td { border-color: #2a3242; }
html.dark .ccb-pay-btn { background: #e2e8f0; color: #0f1219; }
html.dark .ccb-pay-btn:hover { background: #fff; }

/* Dark mode — modals */
html.dark .om { background: #141820; border-color: #232b3a; }
html.dark .om-close { background: #1e2536; color: #6b7f99; }
html.dark .om-close:hover { background: #2a3242; color: #e2e8f0; }
html.dark .om-icon { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); color: #0f172a; }
html.dark .om h3 { color: #f1f5f9; }
html.dark .om-sub { color: #4a5a72; }
html.dark .om-item { border-color: #1e2536; }
html.dark .om-item img { border-color: #2a3242; background: #1a2030; }
html.dark .om-item-name { color: #e2e8f0; }
html.dark .om-item-qty { color: #4a5a72; }
html.dark .om-item-price { color: #f1f5f9; }
html.dark .om-row { color: #5b6b82; }
html.dark .om-final { border-color: #232b3a; color: #f1f5f9; }
html.dark .om-field label { color: #8896ab; }
html.dark .om-optional { color: #4a5a72; }
html.dark .om-input-wrap { background: #1a2030; border-color: #2a3242; }
html.dark .om-input-wrap:focus-within { border-color: #4a7ad4; background: #1e2536; }
html.dark .om-input-wrap svg { color: #4a5a72; }
html.dark .om-input-wrap input { color: #e2e8f0; }
html.dark .om-input-wrap input::placeholder { color: #3c4a62; }
html.dark .cw-connect-button.cw-withdraw-button,
html.dark .om-pay { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); color: #0f172a; }
html.dark .cw-connect-button.cw-withdraw-button:hover,
html.dark .om-pay:hover { box-shadow: 0 6px 20px rgba(226,232,240,0.12); }
html.dark .field-hint { color: #4a5a72; }

/* Dark mode — footer */
html.dark .site-footer { background: #0d1017; border-color: #2a3242; }
html.dark .footer-brand { color: #e2e8f0; }
html.dark .footer-about { color: #5b6b82; }
html.dark .footer-col h4 { color: #8896ab; }
html.dark .footer-nav-list a { color: #6b7f99; }
html.dark .footer-nav-list a:hover { color: #e2e8f0; }
html.dark .footer-cta-text { color: #5b6b82; }
html.dark .newsletter-form { background: #161b26; border-color: #2a3242; box-shadow: none; }
html.dark .newsletter-form input { color: #e2e8f0; background: transparent; }
html.dark .newsletter-form input::placeholder { color: #4a5568; }
html.dark .newsletter-form:focus-within { border-color: #3c4a62; box-shadow: 0 0 0 3px rgba(59,130,246,0.08); }
html.dark .newsletter-form button { background: #3b82f6; color: #fff; }
html.dark .newsletter-form button:hover { background: #2563eb; }
html.dark .footer-bottom { border-color: #2a3242; }
html.dark .trust-item { color: #5b6b82; }
html.dark .trust-item svg { color: #3c4a62; }
html.dark .trust-sep { background: #2a3242; }
html.dark .payment-label { color: #5b6b82; }
html.dark .crypto-coin { background: #1e2536; border-color: #2a3242; }
html.dark .crypto-coin:hover { border-color: #3c4a62; }
html.dark .footer-meta { color: #3c4a62; border-color: #2a3242; }
html.dark .cookie-inner {
    background: linear-gradient(165deg, #1a2234 0%, #151c2c 50%, #12192a 100%);
    border-color: rgba(71, 85, 105, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 4px 6px -1px rgba(0, 0, 0, 0.35),
        0 24px 48px -12px rgba(0, 0, 0, 0.55);
}
html.dark .cookie-consent__icon {
    color: #93c5fd;
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.45) 0%, rgba(29, 78, 216, 0.25) 100%);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
html.dark .cookie-consent__title { color: #f1f5f9; }
html.dark .cookie-consent__text { color: #94a3b8; }
html.dark .cookie-consent__text a {
    color: #93c5fd;
    border-bottom-color: rgba(147, 197, 253, 0.4);
}
html.dark .cookie-consent__text a:hover {
    color: #bfdbfe;
    border-bottom-color: #bfdbfe;
}
html.dark .cookie-consent__accept {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 8px 20px -4px rgba(37, 99, 235, 0.45);
}
html.dark .cookie-consent__accept:hover {
    filter: brightness(1.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 4px 8px rgba(0, 0, 0, 0.25),
        0 12px 28px -6px rgba(37, 99, 235, 0.5);
}

/* Dark mode — content pages */
html.dark .content-page h1 { color: #e2e8f0; }
html.dark .content-lead { color: #6b7f99; }
html.dark .content-block h2 { color: #cbd5e1; }
html.dark .content-block p { color: #8896ab; }
html.dark .faq-item { border-color: #242b3a; }
html.dark .faq-item summary { color: #e2e8f0; }
html.dark .faq-item p { color: #8896ab; }
html.dark .blog-entry { border-color: #242b3a; }
html.dark .blog-entry h2 { color: #e2e8f0; }
html.dark .blog-excerpt { color: #8896ab; }
html.dark .error-404-box h2 { color: #e2e8f0; }

/* Dark mode — reviews */
html.dark .rv-item { border-color: #242b3a; }
html.dark .rv-name { color: #e2e8f0; }
html.dark .rv-text { color: #8896ab; }
html.dark .rv-write-btn { border-color: #2a3242; color: #8896ab; }
html.dark .rv-pagination { border-top-color: #242b3a; }
html.dark .rv-page-link--nav {
    color: #94a3b8;
    background: #1e2536;
    border-color: #2a3242;
}
html.dark .rv-page-link--nav:hover { color: #bfdbfe; border-color: #3c4a62; background: #242f42; }
html.dark .rv-page-num { color: #8896ab; }
html.dark .rv-page-num:hover { color: #93c5fd; background: rgba(30, 58, 138, 0.25); border-color: #3c4a62; }
html.dark .rv-page-num--current {
    color: #fff;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}
html.dark .rv-form-row input, html.dark .rv-form-row textarea { background: #1e2536; border-color: #2a3242; color: #e2e8f0; }

/* Dark mode — toast/social/backtop */
html.dark .back-to-top { background: rgba(24,29,39,0.9); border-color: #2a3242; color: #8896ab; }
html.dark .back-to-top:hover { background: #e2e8f0; color: #0f1219; border-color: #e2e8f0; }
html.dark .toast { background: rgba(24,29,39,0.95); border-color: #2a3242; }
html.dark .toast-title { color: #e2e8f0; }
html.dark .toast-text { color: #6b7f99; }
html.dark .toast-icon { background: #1a2e1f; color: #22c55e; }
html.dark .social-proof { background: rgba(24,29,39,0.95); border-color: #2a3242; }
html.dark .sp-name { color: #e2e8f0; }
html.dark .sp-text { color: #6b7f99; }

/* Dark mode — empty cart */
html.dark .empty-cart-title { color: #e2e8f0; }
html.dark .empty-cart-text { color: #6b7f99; }
html.dark .empty-cart-icon { color: #3c4a62; }
html.dark .empty-cart-icon rect, html.dark .empty-cart-icon path, html.dark .empty-cart-icon circle { stroke: #3c4a62; }
html.dark .empty-cart-btn { background: #e2e8f0; color: #0f1219; }

/* Responsive */
@media (max-width: 900px) {
    .top-nav { display: none; }
    .search-wrapper { display: none; }
    .mobile-menu-btn { display: block; }
    .lang-trigger-name { display: none; }
    .lang-trigger { padding: 5px 7px; }
    .lang-chevron { display: none; }
    .site-header,
    .header-wrap,
    .header-actions,
    .lang-wrap { overflow: visible; }
    .header-actions { position: relative; z-index: 210; }
    .lang-wrap { z-index: 211; }
    .lang-menu {
        right: 0;
        left: auto;
        z-index: 212;
        max-height: min(70vh, 320px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .hero-grid, .product-layout { grid-template-columns: 1fr; }
    .product-side { position: static; }
    .buy-card { position: static; }
    .add-cart-card { margin-top: 10px; }
    .category-carousel { grid-template-columns: 36px 1fr 36px; gap: 8px; }
    .carousel-nav { width: 36px; height: 36px; font-size: 1.2rem; }
    .cards-grid, .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-page-split { grid-template-columns: 1fr; gap: 20px; }
    .cart-summary-card { position: static; top: auto; }
    .cart-item { flex-wrap: wrap; }
    .cart-item-controls { width: 100%; justify-content: flex-end; }
    .cart-layout .cart-item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        row-gap: 12px;
        align-items: start;
    }
    .cart-layout .cart-item-product { grid-column: 1 / -1; }
    .cart-layout .cart-item-qty { grid-column: 1; grid-row: 2; align-self: center; }
    .cart-layout .cart-item-price { grid-column: 2; grid-row: 2; align-self: center; }
    .om { width: min(480px, 94%); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .filter-strip { flex-wrap: wrap; gap: 8px; }
    .fs-group { width: 100%; }
    .fs-input-wrap { flex: 1; }
    .fs-input-wrap input { width: 100%; }
    .cd-wrap { flex: 1; }
    .cd-trigger { width: 100%; }
    .cd-menu { right: 0; }
    .fs-apply { width: 100%; justify-content: center; }
    .rv-item-top { flex-direction: column; align-items: flex-start; gap: 6px; }
    .rv-item-right { align-items: flex-start; flex-direction: row; gap: 8px; }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "checkout checkout"
            "delivery worldwide"
            "fees     secure"
            "support  support";
    }
}

@media (max-width: 680px) {
    /* Mobile: consistent type & spacing site-wide */
    .section-subtitle { margin: 0 0 12px; font-size: 0.94rem; }
    .content-page { padding: 26px 0 36px; }
    .content-lead { margin: 0 0 16px; line-height: 1.55; font-size: 0.93rem; }
    .content-block { margin-bottom: 18px; }
    .content-block:last-child { margin-bottom: 0; }
    .content-block p { line-height: 1.6; }
    .content-block p + p { margin-top: 8px; }
    .breadcrumbs { padding: 6px 0 0; }
    .breadcrumbs ol { font-size: 0.8rem; row-gap: 4px; }
    .not-found { padding: 36px 0; }
    .page-404 { padding: 48px 0 40px; }
    .search-page-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 14px;
    }
    .search-page-form .mini-btn { display: flex; width: 100%; justify-content: center; align-items: center; }
    .order-status-form { flex-direction: column; align-items: stretch; }
    .order-status-form .rv-form-row { flex: 1 1 auto; min-width: 0; width: 100%; }
    .order-status-form .filter-apply { display: flex; width: 100%; justify-content: center; align-items: center; align-self: stretch; }
    .rv-summary { margin: 0 0 16px; }
    .rv-text { line-height: 1.6; }
    .cart-items-card,
    .cart-summary-card { padding: 18px 16px; border-radius: 14px; }
    .cart-panel-title { margin-bottom: 12px; }

    .container { width: min(1140px, 95%); }
    .site-header { position: sticky; top: 0; z-index: 50; }
    .header-wrap { min-height: 64px; gap: 10px; }
    .brand { font-size: 1.15rem; }
    .section { padding: 24px 0; }
    .section-title { margin-bottom: 10px; font-size: clamp(1.2rem, 5vw, 1.7rem); }
    .hero-premium { padding: 24px 0 14px; }
    .hero-copy { border-radius: 16px; padding: 18px; }
    .hero-copy h1 { font-size: clamp(1.45rem, 7vw, 2rem); }
    .hero-copy p { font-size: 0.98rem; }
    .tp-widget { width: 100%; }
    .tp-star-box { width: 20px; height: 20px; }
    .tp-info { font-size: 0.78rem; }
    .category-track { gap: 10px; }
    .category-viewport { padding: 6px 0; }
    .category-card { flex-basis: 156px; width: 156px; min-width: 156px; max-width: 156px; padding: 7px 9px; }
    .category-card h3 { font-size: 0.78rem; }
    .cards-grid, .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card-link { padding: 14px; }
    .logo-badge { width: 36px; height: 36px; border-radius: 10px; padding: 4px; }
    .gift-card h3 { font-size: 0.86rem; }
    .gift-card p { font-size: 0.78rem; }
    .product-layout { padding: 20px 0 30px; }
    .product-main, .buy-card { border-radius: 14px; }
    .product-main { padding: 16px; }
    .pv { padding: 20px 18px; }
    .pv-top { gap: 12px; }
    .pv-logo { width: 44px; height: 44px; border-radius: 11px; padding: 5px; }
    .pv-amount { font-size: 1.3rem; }
    .pv-tier-strip { grid-template-columns: 1fr; gap: 8px; }
    .pv-tier-item { padding: 10px; }
    .pv-tier-item.best { margin-top: 2px; }
    .logo-badge.large { width: 54px; height: 54px; border-radius: 14px; }
    .checkout-points { margin: 10px 0 12px; }
    .buy-btn, .confirm-btn, .mini-btn, .back-link { width: 100%; text-align: center; }
    .back-link { display: inline-block; }
    .om { border-radius: 14px; }
    .om-head { padding: 20px 18px 0; }
    .om h3 { font-size: 1.05rem; }
    .om-icon { width: 38px; height: 38px; border-radius: 10px; }
    .om-icon svg { width: 18px; height: 18px; }
    .om-items { padding: 0 18px; }
    .om-totals { padding: 0 18px; }
    .om-fields { padding: 12px 18px 0; gap: 10px; }
    .om-field-row { grid-template-columns: 1fr; }
    .cw-connect-button.cw-withdraw-button,
    .om-pay { width: calc(100% - 36px); margin: 14px 18px 16px; }
    .cart-grid { gap: 8px; }
    .cart-item { padding: 10px 0; }
    .cart-item h3 { font-size: 0.95rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 14px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    .trust-sep { margin: 0 8px; }
    .crypto-coin { width: 28px; height: 28px; padding: 4px; }
    .live-stats { font-size: 0.82rem; }
    .ls-sep { margin: 0 7px; }
    .order-status-timeline { flex-direction: column; gap: 12px; }
    .order-status-timeline::before { display: none; }
    .cookie-inner { flex-direction: column; gap: 10px; text-align: center; }
    .bento-section { padding: 32px 0 40px; }
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "checkout"
            "delivery"
            "worldwide"
            "fees"
            "secure"
            "support";
        gap: 12px;
    }
    .bento-tile { padding: 20px 18px; min-height: 140px; }
    .bento-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
    .bento-stat-num { font-size: 1.6rem; }
}

@media (max-width: 420px) {
    .content-page { padding: 20px 0 28px; }
    .content-lead { margin-bottom: 14px; font-size: 0.9rem; }
    .section-subtitle { margin: 0 0 10px; font-size: 0.88rem; }
    .section { padding: 20px 0; }
    .carousel-nav { width: 32px; height: 32px; font-size: 1rem; }
    .category-carousel { grid-template-columns: 32px 1fr 32px; gap: 6px; }
    .category-card { flex-basis: 148px; width: 148px; min-width: 148px; max-width: 148px; }
    .price-highlight strong { font-size: 1.06rem; }
    .content-list { padding-left: 18px; }
    #orderForm input, #cartOrderForm input { padding: 10px; font-size: 0.95rem; }
    .error-404-actions { flex-direction: column; }
    .cards-grid, .featured-grid { grid-template-columns: 1fr; }
    .card-link { padding: 12px; }
    .gift-card { border-radius: 14px; }
    .bento-tile { padding: 18px 16px; min-height: 120px; border-radius: 16px; }
    .bento-icon { width: 36px; height: 36px; top: 16px; right: 16px; }
    .bento-content h3 { font-size: 0.98rem; }
    .bento-content p { font-size: 0.84rem; }
    .back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
    .social-proof { bottom: 12px; left: 12px; right: 12px; max-width: none; }
    .toast-container { top: 12px; right: 12px; left: 12px; }
    .toast { min-width: 0; }
}
