:root {
    --bg-color: #121212;
    --surface-color: #242424;
    --surface-hover: #2c2c2c;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-orange: #ff6000;
    --accent-glow: rgba(255, 96, 0, 0.4);
    --star-color: #ffc107;
    --danger: #ff6b6b;
    --success: #4cd183;
    --max-width: 480px;
    --footer-height: 132px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body.splg-body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #000;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.splg-body img { max-width: 100%; display: block; }
.splg-body a { text-decoration: none; color: inherit; }
.splg-body button { font-family: inherit; }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.app-container {
    width: 100%;
    max-width: var(--max-width);
    background-color: var(--bg-color);
    min-height: 100vh;
    position: relative;
    padding-bottom: calc(var(--footer-height) + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
}

@media (min-width: 540px) {
    body.splg-body { padding: 32px 16px; align-items: flex-start; }
    .app-container {
        min-height: auto;
        border-radius: 20px;
        box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
        overflow: hidden;
    }
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.carousel-track {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    background: #000;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-dots {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 6;
}
.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}
.carousel-arrow:hover { background: rgba(0,0,0,0.7); }
.carousel-arrow-prev { left: 10px; }
.carousel-arrow-next { right: 10px; }

.carousel-hint {
    font-size: 0.72rem;
    color: var(--text-secondary);
    padding: 10px clamp(16px, 5vw, 24px) 0;
    margin: 0;
}

.carousel-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px clamp(16px, 5vw, 24px) 0;
    scrollbar-width: none;
}
.carousel-thumbs::-webkit-scrollbar { display: none; }

.carousel-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--surface-color);
    padding: 0;
    cursor: pointer;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}
.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-thumb.active { opacity: 1; border-color: var(--accent-orange); }
.carousel-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 12px;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: clamp(24px, 8vw, 40px) clamp(14px, 4vw, 20px) 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.splg-ai-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 4px 9px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    pointer-events: none;
}

.video-overlay h2 {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.video-author { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #ddd; }
.video-author img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

.content { padding: clamp(16px, 5vw, 24px); }

.product-title { font-size: clamp(1.1rem, 4vw, 1.3rem); font-weight: 600; line-height: 1.4; margin-bottom: 10px; }

.rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.stars { color: var(--star-color); font-size: 1.1rem; letter-spacing: -2px; }
.rating-count { color: var(--text-secondary); font-size: 0.9rem; }

.price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.current-price { font-size: clamp(1.3rem, 5vw, 1.5rem); font-weight: 700; }
.old-price { color: var(--text-secondary); font-size: 1rem; text-decoration: line-through; }

.badge {
    background-color: rgba(255, 107, 107, 0.12);
    color: var(--danger);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 107, 0.25);
}

.shipping-note { color: var(--text-secondary); font-size: 0.8rem; margin-bottom: 4px; }

.urgency-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(255,96,0,0.18), rgba(255,188,0,0.18));
    border: 1px solid rgba(255,150,0,0.35);
    color: #ffb347;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.price-asof { color: var(--text-secondary); font-size: 0.72rem; margin-bottom: 20px; }
.price-asof a { color: var(--text-secondary); text-decoration: underline; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
@media (max-width: 359px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

.feature-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 15px 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card .material-symbols-outlined { font-size: 24px; }
.feature-card p { color: var(--text-secondary); font-size: 0.75rem; line-height: 1.25; }

.description { font-size: 0.95rem; line-height: 1.55; margin-bottom: 8px; }
.description-sub { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; margin-bottom: 20px; }

.specs {
    background-color: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 4px 16px;
    margin-bottom: 8px;
}
.specs .row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.specs .row:last-child { border-bottom: none; }
.specs .k { color: var(--text-secondary); }
.specs .v { font-weight: 600; text-align: right; }

.reviews-section { margin-top: 4px; }
.reviews-heading { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }

.review-card {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.review-card:last-child { border-bottom: none; }

.review-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), #ffbc00);
    color: #111;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-body { flex: 1; min-width: 0; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 3px; }
.review-name { font-size: 0.85rem; font-weight: 600; }
.review-stars { color: var(--star-color); font-size: 0.8rem; letter-spacing: -1px; white-space: nowrap; }
.review-text { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
}
@media (min-width: 540px) { .sticky-footer { border-radius: 0 0 20px 20px; } }

.cta-btn {
    width: 100%;
    background: linear-gradient(90deg, #ffbc00, #ff9900);
    color: #111;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 18px;
}
.cta-btn:hover { box-shadow: 0 10px 30px rgba(255, 153, 0, 0.4); }
.cta-btn:active { transform: scale(0.98); box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3); }

.splg-disclosure {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.7rem;
    margin-bottom: 12px;
}

/* ---------- Age verification gate ---------- */
.splg-age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #5b6785;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.splg-age-gate-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #0a0a0a;
    border-radius: 20px;
    padding: 40px 28px 36px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.splg-age-gate-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #cfcfd6;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}
.splg-age-gate-close:hover { background: rgba(255,255,255,0.2); }

.splg-age-gate-message {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.splg-age-gate-question {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.splg-age-gate-btn {
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    margin-bottom: 14px;
}
.splg-age-gate-yes { background: #2ecc55; }
.splg-age-gate-yes:hover { background: #29b84c; }
.splg-age-gate-no { background: #e53e3e; margin-bottom: 0; }
.splg-age-gate-no:hover { background: #cc3535; }

/* ---- Theme: Minimalis Putih ---- */
.splg-age-gate-theme-minimal.splg-age-gate-overlay { background: rgba(0,0,0,0.45); }
.splg-age-gate-theme-minimal .splg-age-gate-card { background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); }
.splg-age-gate-theme-minimal .splg-age-gate-message,
.splg-age-gate-theme-minimal .splg-age-gate-question { color: #1a1a1a; }
.splg-age-gate-theme-minimal .splg-age-gate-close { background: #f0f0f1; color: #444; border: 1px solid #ddd; }
.splg-age-gate-theme-minimal .splg-age-gate-close:hover { background: #e2e2e3; }
.splg-age-gate-theme-minimal .splg-age-gate-btn { border-radius: 6px; }
.splg-age-gate-theme-minimal .splg-age-gate-yes { background: #111; }
.splg-age-gate-theme-minimal .splg-age-gate-yes:hover { background: #000; }
.splg-age-gate-theme-minimal .splg-age-gate-no { background: #fff; color: #111; border: 2px solid #111; }
.splg-age-gate-theme-minimal .splg-age-gate-no:hover { background: #f5f5f5; }

/* ---- Theme: Neon Cyber ---- */
.splg-age-gate-theme-neon.splg-age-gate-overlay { background: rgba(3,3,18,0.88); }
.splg-age-gate-theme-neon .splg-age-gate-card { background: #06060f; border: 1px solid #00f0ff; border-radius: 14px; box-shadow: 0 0 25px rgba(0,240,255,0.45), 0 0 60px rgba(255,0,230,0.15); }
.splg-age-gate-theme-neon .splg-age-gate-message { color: #b9f8ff; }
.splg-age-gate-theme-neon .splg-age-gate-question { color: #00f0ff; text-shadow: 0 0 10px rgba(0,240,255,0.7); }
.splg-age-gate-theme-neon .splg-age-gate-close { background: rgba(0,240,255,0.12); color: #00f0ff; border: 1px solid rgba(0,240,255,0.4); }
.splg-age-gate-theme-neon .splg-age-gate-btn { border-radius: 6px; text-transform: uppercase; letter-spacing: 1px; }
.splg-age-gate-theme-neon .splg-age-gate-yes { background: #00f0ff; color: #06060f; box-shadow: 0 0 15px rgba(0,240,255,0.6); }
.splg-age-gate-theme-neon .splg-age-gate-yes:hover { background: #33f5ff; }
.splg-age-gate-theme-neon .splg-age-gate-no { background: transparent; color: #ff2ecb; border: 1px solid #ff2ecb; box-shadow: 0 0 15px rgba(255,46,203,0.4); }
.splg-age-gate-theme-neon .splg-age-gate-no:hover { background: rgba(255,46,203,0.1); }

/* ---- Theme: Elegan Emas ---- */
.splg-age-gate-theme-gold .splg-age-gate-card { background: #0d0d0d; border: 1px solid #c9a24b; border-radius: 8px; box-shadow: 0 15px 50px rgba(0,0,0,0.6); }
.splg-age-gate-theme-gold .splg-age-gate-message { color: #e8dcc0; }
.splg-age-gate-theme-gold .splg-age-gate-question { color: #d4b571; letter-spacing: 0.5px; }
.splg-age-gate-theme-gold .splg-age-gate-close { background: rgba(201,162,75,0.15); color: #d4b571; border: 1px solid rgba(201,162,75,0.4); }
.splg-age-gate-theme-gold .splg-age-gate-btn { border-radius: 2px; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.95rem; }
.splg-age-gate-theme-gold .splg-age-gate-yes { background: linear-gradient(135deg, #e8cc82, #c9a24b); color: #1a1400; }
.splg-age-gate-theme-gold .splg-age-gate-yes:hover { background: linear-gradient(135deg, #f0d798, #d4ad55); }
.splg-age-gate-theme-gold .splg-age-gate-no { background: transparent; color: #d4b571; border: 1px solid #c9a24b; }
.splg-age-gate-theme-gold .splg-age-gate-no:hover { background: rgba(201,162,75,0.1); }

/* ---- Theme: Kartu Bulat (pastel) ---- */
.splg-age-gate-theme-rounded.splg-age-gate-overlay { background: rgba(60,40,80,0.5); }
.splg-age-gate-theme-rounded .splg-age-gate-card { background: #fdf2f8; border-radius: 32px; box-shadow: 0 15px 45px rgba(190,120,200,0.35); }
.splg-age-gate-theme-rounded .splg-age-gate-message,
.splg-age-gate-theme-rounded .splg-age-gate-question { color: #5b3a5e; }
.splg-age-gate-theme-rounded .splg-age-gate-close { background: #f3d9ec; color: #a5588f; border: none; }
.splg-age-gate-theme-rounded .splg-age-gate-btn { border-radius: 50px; }
.splg-age-gate-theme-rounded .splg-age-gate-yes { background: #c98fd6; color: #fff; }
.splg-age-gate-theme-rounded .splg-age-gate-yes:hover { background: #bc79ca; }
.splg-age-gate-theme-rounded .splg-age-gate-no { background: #f3e6f0; color: #5b3a5e; }
.splg-age-gate-theme-rounded .splg-age-gate-no:hover { background: #ecd9e6; }

/* ---- Theme: Kaca Buram (glassmorphism) ---- */
.splg-age-gate-theme-glass.splg-age-gate-overlay { background: rgba(20,25,45,0.55); backdrop-filter: blur(3px); }
.splg-age-gate-theme-glass .splg-age-gate-card { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 15px 45px rgba(0,0,0,0.3); }
.splg-age-gate-theme-glass .splg-age-gate-message,
.splg-age-gate-theme-glass .splg-age-gate-question { color: #fff; }
.splg-age-gate-theme-glass .splg-age-gate-close { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.splg-age-gate-theme-glass .splg-age-gate-btn { border-radius: 10px; }
.splg-age-gate-theme-glass .splg-age-gate-yes { background: rgba(255,255,255,0.9); color: #1a1a2e; }
.splg-age-gate-theme-glass .splg-age-gate-yes:hover { background: #fff; }
.splg-age-gate-theme-glass .splg-age-gate-no { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.splg-age-gate-theme-glass .splg-age-gate-no:hover { background: rgba(255,255,255,0.2); }

/* ---- Theme: Kontras Merah ---- */
.splg-age-gate-theme-redalert .splg-age-gate-card { background: #fff; border: 4px solid #d63638; border-radius: 6px; box-shadow: 0 15px 40px rgba(214,54,56,0.35); }
.splg-age-gate-theme-redalert .splg-age-gate-message { color: #333; }
.splg-age-gate-theme-redalert .splg-age-gate-question { color: #d63638; font-weight: 900; }
.splg-age-gate-theme-redalert .splg-age-gate-close { background: #fbeaea; color: #d63638; border: 1px solid #f0b8b8; }
.splg-age-gate-theme-redalert .splg-age-gate-btn { border-radius: 4px; }
.splg-age-gate-theme-redalert .splg-age-gate-yes { background: #d63638; }
.splg-age-gate-theme-redalert .splg-age-gate-yes:hover { background: #b92d2f; }
.splg-age-gate-theme-redalert .splg-age-gate-no { background: #fff; color: #d63638; border: 2px solid #d63638; }
.splg-age-gate-theme-redalert .splg-age-gate-no:hover { background: #fbeaea; }

/* ---- Theme: Gradient Ungu ---- */
.splg-age-gate-theme-gradient .splg-age-gate-card { background: linear-gradient(160deg, #7b2ff7, #f72fa3); border-radius: 18px; box-shadow: 0 20px 50px rgba(123,47,247,0.4); }
.splg-age-gate-theme-gradient .splg-age-gate-message,
.splg-age-gate-theme-gradient .splg-age-gate-question { color: #fff; }
.splg-age-gate-theme-gradient .splg-age-gate-close { background: rgba(255,255,255,0.2); color: #fff; border: none; }
.splg-age-gate-theme-gradient .splg-age-gate-btn { border-radius: 30px; }
.splg-age-gate-theme-gradient .splg-age-gate-yes { background: #fff; color: #7b2ff7; }
.splg-age-gate-theme-gradient .splg-age-gate-yes:hover { background: #f2eaff; }
.splg-age-gate-theme-gradient .splg-age-gate-no { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.splg-age-gate-theme-gradient .splg-age-gate-no:hover { background: rgba(255,255,255,0.15); }

/* ---- Theme: Kotak Tegas (brutalist, no rounded) ---- */
.splg-age-gate-theme-brutalist.splg-age-gate-overlay { background: rgba(0,0,0,0.6); }
.splg-age-gate-theme-brutalist .splg-age-gate-card { background: #fff200; border: 4px solid #000; border-radius: 0; box-shadow: 8px 8px 0 #000; }
.splg-age-gate-theme-brutalist .splg-age-gate-message,
.splg-age-gate-theme-brutalist .splg-age-gate-question { color: #000; }
.splg-age-gate-theme-brutalist .splg-age-gate-close { background: #000; color: #fff200; border-radius: 0; border: 2px solid #000; }
.splg-age-gate-theme-brutalist .splg-age-gate-btn { border-radius: 0; border: 3px solid #000; }
.splg-age-gate-theme-brutalist .splg-age-gate-yes { background: #000; color: #fff200; }
.splg-age-gate-theme-brutalist .splg-age-gate-yes:hover { background: #1a1a1a; }
.splg-age-gate-theme-brutalist .splg-age-gate-no { background: #fff; color: #000; }
.splg-age-gate-theme-brutalist .splg-age-gate-no:hover { background: #eee; }

/* ---- Theme: Alam Hijau ---- */
.splg-age-gate-theme-nature.splg-age-gate-overlay { background: rgba(15,35,20,0.6); }
.splg-age-gate-theme-nature .splg-age-gate-card { background: linear-gradient(160deg, #1f4d2e, #0f2b18); border-radius: 16px; box-shadow: 0 15px 45px rgba(15,60,25,0.5); }
.splg-age-gate-theme-nature .splg-age-gate-message { color: #d9ecd9; }
.splg-age-gate-theme-nature .splg-age-gate-question { color: #b8e6b0; }
.splg-age-gate-theme-nature .splg-age-gate-close { background: rgba(184,230,176,0.15); color: #b8e6b0; border: 1px solid rgba(184,230,176,0.35); }
.splg-age-gate-theme-nature .splg-age-gate-btn { border-radius: 8px; }
.splg-age-gate-theme-nature .splg-age-gate-yes { background: #4caf5e; }
.splg-age-gate-theme-nature .splg-age-gate-yes:hover { background: #439c53; }
.splg-age-gate-theme-nature .splg-age-gate-no { background: transparent; color: #b8e6b0; border: 1px solid #4caf5e; }
.splg-age-gate-theme-nature .splg-age-gate-no:hover { background: rgba(76,175,94,0.15); }

.bottom-nav { display: flex; justify-content: space-around; align-items: center; padding: 0 10px; flex-wrap: wrap; gap: 6px; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-secondary); transition: color 0.15s ease; }
.nav-item:hover { color: var(--text-primary); }
.nav-item span.material-symbols-outlined { font-size: 22px; }
.nav-item p { font-size: 0.68rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Discount claim banner (redesigned to avoid resembling a system/browser
   dialog — no full-screen dark backdrop, no floating generic close icon. Slides in as
   an on-brand banner anchored to the bottom edge, page stays visible & interactive
   around it, like a promo bar rather than a blocking modal.) ---------- */
.splg-popup-overlay {
    position: fixed;
    left: 50%;
    width: 100%;
    max-width: var(--max-width, 480px);
    z-index: 1000;
    transition: transform 0.35s ease;
}
.splg-popup-overlay.splg-popup-pos-bottom {
    bottom: 0;
    padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 110%);
}
.splg-popup-overlay.splg-popup-pos-top {
    top: 0;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 0;
    transform: translate(-50%, -110%);
}
.splg-popup-overlay.splg-popup-visible {
    transform: translate(-50%, 0);
}
.splg-popup-overlay[hidden] { display: none; }

/* Center/modal variant — overrides the edge-anchored positioning above. Brought back as an
   opt-in choice (not the default) for pages where the tradeoff is worth it — see the admin
   description next to this setting for why it's not the default everywhere. */
.splg-popup-overlay.splg-popup-pos-center {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    background: rgba(0,0,0,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transform: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.splg-popup-overlay.splg-popup-pos-center.splg-popup-visible {
    opacity: 1;
    pointer-events: auto;
}
.splg-popup-pos-center .splg-popup {
    max-width: 340px;
    border-top: 3px solid var(--accent-orange);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.splg-popup {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, var(--surface-color), var(--bg-color));
    border: 1px solid rgba(255,150,0,0.35);
    border-top: 3px solid var(--accent-orange);
    border-radius: 16px;
    padding: 18px 44px 18px 18px;
    text-align: left;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
}
.splg-popup-pos-top .splg-popup {
    border-top: 1px solid rgba(255,150,0,0.35);
    border-bottom: 3px solid var(--accent-orange);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.splg-popup h3 { font-size: 1rem; margin-bottom: 6px; }
.splg-popup p { color: var(--text-secondary); font-size: 0.84rem; line-height: 1.45; margin-bottom: 12px; }

.splg-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--text-secondary);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.splg-popup-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.06);
    border: 1px dashed rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 9px 12px;
    margin-bottom: 12px;
}
.splg-popup-code span { font-weight: 700; letter-spacing: 1px; }
.splg-popup-code button {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    cursor: pointer;
}

.splg-popup-claim {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #ffbc00, #ff9900);
    color: #111;
    font-weight: 700;
    text-align: center;
    padding: 11px;
    border-radius: 30px;
}

/* v2.32.0 — editorial + related */
.splg-editorial{margin:20px 0 8px;color:var(--text-primary)}
.splg-editorial h2{font-size:1.1rem;font-weight:700;margin:0 0 8px}
.splg-editorial h3{font-size:.95rem;font-weight:600;margin:14px 0 6px}
.splg-editorial p,.splg-editorial li{font-size:.9rem;line-height:1.55;color:var(--text-secondary)}
.splg-editorial ul{margin:0;padding-left:18px}
.splg-editorial details{border-top:1px solid rgba(128,128,128,.25);padding:8px 0}
.splg-editorial summary{cursor:pointer;font-size:.9rem;font-weight:600;color:var(--text-primary)}
.splg-editorial details p{margin:6px 0 0}
.splg-editorial .splg-editorial-note{font-size:.75rem;margin-top:12px;opacity:.8}
.splg-related{margin:20px 0 8px}
.splg-related h2{font-size:1rem;font-weight:700;margin:0 0 8px;color:var(--text-primary)}
.splg-related ul{margin:0;padding-left:18px}
.splg-related li{margin:4px 0;font-size:.9rem}
.splg-related a{color:var(--text-secondary);text-decoration:underline}

/* v2.34.0 — colour swatches & sizes */
.splg-variants{margin:12px 0 4px}
.splg-var-label{font-size:.85rem;color:var(--text-secondary);margin:6px 0}
.splg-var-label strong{color:var(--text-primary)}
.splg-swatches{display:flex;flex-wrap:wrap;gap:8px}
.splg-swatch{width:48px;height:48px;padding:2px;border:2px solid rgba(128,128,128,.35);border-radius:10px;background:var(--surface-color);cursor:pointer;overflow:hidden}
.splg-swatch img{width:100%;height:100%;object-fit:cover;border-radius:7px;display:block}
.splg-swatch.active{border-color:var(--accent-orange)}
.splg-sizes{display:flex;flex-wrap:wrap;gap:6px}
.splg-size{font-size:.8rem;padding:4px 10px;border:1px solid rgba(128,128,128,.35);border-radius:999px;color:var(--text-secondary)}
