/**
 * Master CSS for Checkout & Games Detail V2
 * File: assets/css/templates/v2-games.css
 * Diadopsi dari: todagames_checkout_redesign.html
 */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:wght@700&family=Luckiest+Guy&display=swap');

/* =========================================================
   1. HERO GAME BANNER FULL-WIDTH (Bangjeff Style)
   ========================================================= */
.relative {
    position: relative;
}

.w-full {
    width: 100%;
}

.min-h-56 {
    min-height: 14rem;
}

.bg-muted {
    background-color: var(--bg-surface, #221542);
}

.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}

.object-center {
    -o-object-position: center;
    object-position: center;
}

@media (min-width: 1024px) {
    .lg\:object-contain {
        -o-object-fit: contain;
        object-fit: contain;
    }
}

/* Ensure banner image respects aspect ratio and display block */
img.min-h-56 {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================================
   2. METADATA BAND FULL-WIDTH (Bangjeff Exact Classes & CSS)
   ========================================================= */
.bg-title-product {
    background-color: hsl(var(--secondary-foreground, 222.2 47.4% 11.2%));
    color: hsl(var(--foreground, 210 40% 98%));
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTkyMCAxMDAwIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPnBhdGh7b3BhY2l0eTouMTtjbGlwLXBhdGg6dXJsKCNjbGlwUGF0aCk7ZmlsbDp1cmwoI2xpbmVhckdyYWRpZW50KTt9PC9zdHlsZT48Y2xpcFBhdGggaWQ9ImNsaXBQYXRoIj48cmVjdCB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxMDAwIi8+PC9jbGlwUGF0aD48bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhckdyYWRpZW50IiB4MT0iMCUiIHkxPSIwJSIgeDI9IjkwJSIgeTI9IjAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9ImhzbCgwIDAlIDEwMCUvMSkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9ImhzbCgwIDAlIDEwMCUvMCkiLz48L2xpbmVhckdyYWRpZW50PjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE5MjAsMTAwMClzY2FsZSgtMSwtMSkiPjxwYXRoIGQ9Ik0xMzg0LjUgMzQzLjJMMTkyLjcgMTUzNWwtMjEzLjUtM0wxMzgzIDEyOC4ybDEuNSAyMTV6Ii8+PHBhdGggZD0iTTE5MTkuNyA0NDguM0wxMzU5IDEwMDlsLTEwMC40LTEuNEwxOTE5IDM0Ny4xbC43IDEwMS4yeiIvPjxwYXRoIGQ9Ik0xMTc2LjcgNTE0LjNMNjE2IDEwNzVsLTEwMC40LTEuNEwxMTc2IDQxMy4xbC43IDEwMS4yeiIvPjxwYXRoIGQ9Ik02NDQuNyA0NTcuM0w4NCAxMDE4bC0xMDAuNC0xLjRMNjQ0IDM1Ni4xbC43IDEwMS4yeiIvPjxwYXRoIGQ9Ik0xMzg3LjcgNDQ4LjNMODI3IDEwMDlsLTEwMC40LTEuNEwxMzg3IDM0Ny4xbC43IDEwMS4yeiIvPjxwYXRoIGQ9Ik0xMjUwLjEgNDkzLjhsLTU0NSA1NDUtNTIuNyA0My42IDY0MS45LTY0MS45LTQ0LjIgNTMuM3oiLz48cGF0aCBkPSJNODkxLjEgNjM5LjFMLTc3OCAyMzA4LjNsLTI5OC45LTQuMkw4ODkgMzM4LjFsMi4xIDMwMXoiLz48cGF0aCBkPSJNMTg3MC40IDQxOS44TC0yOC44IDIzMTlsLTM0MC4xLTQuOEwxODY4IDc3LjNsMi40IDM0Mi41eiIvPjxwYXRoIGQ9Ik05MDguNCA0MzYuOEwtOTkwLjggMjMzNmwtMzQwLjEtNC44TDkwNiA5NC4zbDIuNCAzNDIuNXoiLz48cGF0aCBkPSJNMTYzMi40IDUxNS44TC0yNjYuOCAyNDE1bC0zNDAuMS00LjhMMTYzMCAxNzMuM2wyLjQgMzQyLjV6Ii8+PHBhdGggZD0iTTExNzYuMyA1NjcuMUwtMTQ0NS42IDMxODlsLTQ2OS41LTYuNkwxMTczIDk0LjNsMy4zIDQ3Mi44eiIvPjxwYXRoIGQ9Ik0xNDI3LjMgNTgwLjFMLTExOTQuNiAzMjAybC00NjkuNS02LjZMMTQyNCAxMDcuM2wzLjMgNDcyLjh6Ii8+PHBhdGggZD0iTTE2NDkuNSA4ODAuMkw0NTcuNyAyMDcybC0yMTMuNS0zTDE2NDggNjY1LjJsMS41IDIxNXoiLz48cGF0aCBkPSJNNjc1LjggNTIyLjJsLTI2MjEuOSAyNjIxLjktNDY5LjQtNi42TDY3Mi41IDQ5LjRsMy4zIDQ3Mi44eiIvPjxwYXRoIGQ9Ik0yNTk1LjkgNTIyLjJMLTI2IDMxNDQuMWwtNDY5LjUtNi42TDI1OTIuNiA0OS40bDMuMyA0NzIuOHoiLz48L2c+PC9zdmc+");
    background-repeat: repeat-x;
    background-position: top;
    background-size: clamp(60em, 100rem, 100em) auto, cover;
}

.min-h-32 {
    min-height: 8rem;
}

@media (min-width: 1024px) {
    .lg\:min-h-\[160px\] {
        min-height: 160px;
    }
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--border-card, rgba(255, 255, 255, 0.09));
}

.bg-transparent {
    background-color: transparent;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

/* 3D Thumbnail Overhang */
.product-thumbnail-container {
    perspective: 25em;
}

.product-thumbnail-container img {
    position: relative;
    height: auto;
    transform: rotateY(20deg) rotateX(-4deg) !important;
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-thumbnail-container img:hover {
    transform: rotateY(12deg) rotateX(-2deg) scale(1.02) !important;
}

.-top-16 {
    top: -4rem;
}

@media (min-width: 768px) {
    .md\:-top-28 {
        top: -7rem;
    }
}

.-mb-14 {
    margin-bottom: -3.5rem;
}

@media (min-width: 768px) {
    .md\:-mb-20 {
        margin-bottom: -5rem;
    }
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.w-32 {
    width: 8rem;
}

@media (min-width: 768px) {
    .md\:w-60 {
        width: 15rem;
    }
}

.rounded-2xl {
    border-radius: 1rem;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}

.z-20 {
    z-index: 20;
}

/* Flexbox & Layout Utilities */
.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.items-start {
    align-items: flex-start;
}

.justify-evenly {
    justify-content: space-evenly;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (min-width: 640px) {
    .sm\:py-0 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Typography Utilities */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.uppercase {
    text-transform: uppercase;
}

.leading-7 {
    line-height: 1.75rem;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

@media (min-width: 640px) {
    .sm\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .sm\:text-base\/6 {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

.mt-4 {
    margin-top: 1rem !important;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }
}

.text-xs\/7 {
    font-size: 0.75rem;
    line-height: 1.75rem;
}

.text-\[10px\] {
    font-size: 10px;
}

/* Badge Icons & Sizes */
.size-8 {
    width: 2rem;
    height: 2rem;
}

.size-6 {
    width: 1.5rem;
    height: 1.5rem;
}

.size-5 {
    width: 1.25rem;
    height: 1.25rem;
}

.size-4 {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 768px) {
    .md\:size-8 {
        width: 2rem;
        height: 2rem;
    }
}

.ml-1\.5 {
    margin-left: 0.375rem;
}

.mr-0\.5 {
    margin-right: 0.125rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.text-yellow-300 {
    color: #fde047;
}

.text-sky-300 {
    color: #7dd3fc;
}

.text-emerald-300 {
    color: #6ee7b7;
}

/* Accordion Petunjuk Cara Pembelian */
.v2-hero-accordion-wrap {
    margin-top: 20px;
}

.v2-desc-toggle-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    color: var(--text-muted, #94a3b8);
    padding: 10px 16px;
    border-radius: var(--radius-sm, 8px);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.v2-desc-toggle-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.v2-desc-content {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-top: none;
    border-radius: 0 0 var(--radius-sm, 8px) var(--radius-sm, 8px);
    padding: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-body);
    display: none;
}

.v2-desc-content.open {
    display: block;
}

/* =========================================================
   2. CHECKOUT GRID (SIDEBAR + STEPS FORM)
   ========================================================= */
.v2-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 24px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .v2-checkout-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

/* Right Sidebar Info */
.v2-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 992px) {
    .v2-info-sidebar {
        position: sticky;
        top: 8rem;
        align-self: start;
    }
}

.v2-info-card {
    background: var(--bg-card, #2d1b55);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: var(--radius-md, 12px);
    padding: 18px;
}

.v2-info-card-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Steps Wrapper Right */
.v2-steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.v2-step-card {
    background: var(--bg-card);
    /* border: 1px solid var(--border-card); */
    border-radius: var(--radius-lg, 16px);
    overflow: visible;
    transition: border-color 0.2s ease;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* .v2-step-card:focus-within,
.v2-step-card.active-step {
    border-color: rgba(167, 139, 250, 0.5);
} */

.v2-step-header {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.v2-step-number {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--warna_4);
    color: #fff;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v2-step-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.v2-step-subtitle {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    margin-top: 2px;
}

.v2-step-body {
    padding: 20px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .v2-step-header {
        padding: 14px 16px;
    }

    .v2-step-body {
        padding: 14px 12px;
    }
}

/* =========================================================
   3. STEP 1: NOMINAL PRODUCT TABS & CARDS
   ========================================================= */
.v2-category-tabs-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.v2-category-tabs-container::-webkit-scrollbar {
    display: none;
}

.v2-cat-tab-btn {
    background: var(--warna_2);
    border: 1px solid transparent !important;
    color: var(--text-title, #ffffff);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    outline: none !important;
    box-shadow: none !important;
}

.v2-cat-tab-btn:focus,
.v2-cat-tab-btn:focus-visible,
.v2-cat-tab-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.v2-cat-tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.v2-cat-tab-btn.active {
    background: var(--warna_4);
    color: var(--text-title, #ffffff);
    border-color: transparent !important;
}

.v2-product-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 640px) {
    .v2-product-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.v2-product-card-item {
    position: relative;
}

.v2-product-card-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.v2-product-card-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: var(--radius-md, 12px);
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.v2-product-card-label:hover {
    background: #3b236e;
    border-color: rgba(167, 139, 250, 0.45);
    transform: translateY(-2px);
}

.v2-product-card-item input[type="radio"]:checked+.v2-product-card-label {
    background: rgba(109, 40, 217, 0.35);
    border-color: #8b5cf6;
}

.v2-product-card-item input[type="radio"]:checked+.v2-product-card-label::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #8b5cf6;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.v2-product-card-item input[type="radio"]:checked+.v2-product-card-label::before {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
}

.v2-product-card-item.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.v2-product-card-item.disabled .v2-product-card-label {
    border-style: dashed;
    background: rgba(0, 0, 0, 0.2);
}

/* =========================================================
   SPECIAL FLASH SALE & CATEGORY PRODUCT CARD UI (v2/games.php)
   ========================================================= */
.v2-flash-group-card {
    background: hsl(var(--warnahsl) / 0.5);
    border: 2px dashed var(--warna_4);
    border-radius: var(--radius-lg, 16px);
    padding: 18px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* .v2-normal-group-card {
    background: hsl(var(--warnahsl2, 250 40% 20%) / 0.5);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: var(--radius-lg, 16px);
    padding: 18px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
} */

@media (max-width: 576px) {
    .v2-flash-group-card {
        padding: 14px 10px;
    }
}

.v2-flash-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.v2-normal-group-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v2-normal-group-title svg {
    color: var(--warna_4);
}

.v2-flash-group-title {
    font-family: 'Comic Jungle', 'Bangers', 'Luckiest Guy', 'Comic Neue', cursive, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.35rem;
    line-height: 1.3;
    padding: 2px 8px 2px 2px;
    color: var(--warna_4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--warna_4), var(--warna), var(--warna_3), var(--warna_4));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flashTextShine 3s linear infinite;
    font-style: normal;
}

.v2-flash-group-title i.fa-bolt {
    -webkit-text-fill-color: initial;
    color: #f59e0b;
    font-size: 18px;
    animation: flashPulse 1.5s infinite ease-in-out;
}

@keyframes flashPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

@keyframes flashTextShine {
    to {
        background-position: 200% center;
    }
}

.v2-flash-prod-card-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 110px;
    background: transparent;
    border: 2px solid var(--border-card);
    border-radius: var(--radius-md, 12px);
    padding: 0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.v2-flash-prod-card-label:hover {
    border-color: var(--warna_4);
}

.v2-flash-card-body {
    padding: 12px 14px;
    background: hsl(var(--warnahsl2) / .8);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.v2-product-card-item input[type="radio"]:checked+.v2-flash-prod-card-label {
    border-color: var(--warna_4);
}

.v2-product-card-item input[type="radio"]:checked+.v2-flash-prod-card-label::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: var(--warna_4);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 3;
}

.v2-product-card-item input[type="radio"]:checked+.v2-flash-prod-card-label::before {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    z-index: 4;
}

.v2-flash-card-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
}

.v2-flash-card-content-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v2-flash-prod-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.v2-flash-prod-img-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: hsl(var(--warnahsl4) / 0.1);
    color: var(--warna_4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.v2-flash-card-prices {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.v2-flash-price-sale {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 800;
    color: var(--warna_4);
}

.v2-flash-price-cut {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    text-decoration: line-through;
}

.v2-flash-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    background: var(--warna);
    padding: 6px 14px;
    width: 100%;
    min-height: 28px;
}

.v2-flash-card-badge {
    background: var(--warna_4);
    color: #ffffff;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 4px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 1px;
}

.v2-flash-card-badge-muted {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted, #94a3b8);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.v2-prod-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 6px;
    padding-right: 10px;
}

.v2-prod-price-area {
    margin-top: auto;
}

.v2-price-original {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    text-decoration: line-through;
}

.v2-price-current {
    font-size: 14px;
    font-weight: 800;
    color: var(--warna_4);
}

.v2-prod-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.85;
}

.v2-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f43f5e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 20px;
}

.v2-badge-sale {
    background: rgba(244, 63, 94, 0.2);
    color: #f43f5e;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

/* =========================================================
   4. STEP 2: USER ACCOUNT DATA & SAVED ID
   ========================================================= */
.v2-form-group {
    margin-bottom: 14px;
}

.v2-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

/* =========================================================
   TARGET FORM INPUTS (STEP 2: MASUKKAN DATA AKUN)
   ========================================================= */
.v2-target-form-wrapper {
    margin-bottom: 16px;
}

.v2-target-form-wrapper .form-row {
    margin-left: -6px;
    margin-right: -6px;
    padding-top: 0 !important;
}

.v2-target-form-wrapper .form-row>[class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

.v2-target-form-wrapper label,
.v2-target-form-wrapper .form-label,
.v2-form-label {
    display: block;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: .75rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 6px !important;
}

.v2-target-form-wrapper .form-control,
.v2-target-form-wrapper input,
.v2-target-form-wrapper select,
.v2-custom-input {
    width: 100%;
    background: hsl(var(--warnahsl) / 0.5) !important;
    border: 2px solid var(--border-card, rgba(255, 255, 255, 0.09)) !important;
    border-radius: 1rem !important;
    padding-right: .75rem !important;
    padding-left: .75rem !important;
    height: 2.25rem !important;
    color: #ffffff !important;
    font-size: .75rem !important;
    font-weight: 500;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
    -webkit-border-radius: 1rem !important;
    -moz-border-radius: 1rem !important;
    -ms-border-radius: 1rem !important;
    -o-border-radius: 1rem !important;
}

.v2-target-form-wrapper .form-control::placeholder,
.v2-target-form-wrapper input::placeholder,
.v2-custom-input::placeholder {
    color: var(--text-muted, #94a3b8);
    opacity: 0.7;
}

.v2-target-form-wrapper .form-control:focus,
.v2-target-form-wrapper input:focus,
.v2-target-form-wrapper select:focus,
.v2-custom-input:focus {
    border-color: var(--warna_4) !important;
    background: hsl(var(--warnahsl) / 0.5) !important;
}

/* WhatsApp Joined Input Group with Flag Prefix Button (V2 Modal Popup) */
.v2-wa-input-group {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

.v2-wa-flag-prefix {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--warna_2, #1e133a) !important;
    border: 2px solid var(--border-card, rgba(255, 255, 255, 0.09)) !important;
    border-right: 1px solid var(--border-card, rgba(255, 255, 255, 0.09)) !important;
    border-radius: 1rem 0 0 1rem !important;
    padding: 0 12px !important;
    height: 2.25rem !important;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.v2-wa-flag-prefix:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.v2-wa-flag-img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.v2-wa-input {
    flex: 1 !important;
    width: 100% !important;
    background: hsl(var(--warnahsl) / 0.5) !important;
    border: 2px solid var(--border-card, rgba(255, 255, 255, 0.09)) !important;
    border-left: 1px solid var(--border-card, rgba(255, 255, 255, 0.09)) !important;
    border-radius: 0 1rem 1rem 0 !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    height: 2.25rem !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 500;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.v2-wa-input:focus {
    border-color: var(--warna_4) !important;
    background: hsl(var(--warnahsl) / 0.5) !important;
}

/* Country Selection Modal Options */
.country-modal-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-md, 12px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    color: var(--text-body, #ddd6fe);
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.country-modal-option:hover,
.country-modal-option.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--warna_4);
    color: #ffffff;
}

.country-option-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.country-option-subtitle {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
}

/* =========================================================
   SAVED ID: TRIGGER BAR RINGKAS + POPUP MODAL DENGAN SEARCH
   ========================================================= */
/* .v2-saved-ids-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: var(--radius-md, 12px);
    padding: 12px;
    margin-top: 14px;
} */

.v2-saved-ids-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.v2-saved-id-trigger {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: hsl(var(--warnahsl) / 0.5);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
    font: inherit;
    text-align: left;
}

.v2-saved-id-trigger:hover {
    border-color: var(--warna_4);
    background: hsl(var(--warnahsl) / 0.7);
    transform: translateY(-1px);
}

.v2-saved-id-trigger-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.v2-saved-id-trigger-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: hsl(var(--warnahsl4) / 0.15);
    color: var(--warna_4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.v2-saved-id-trigger-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.v2-saved-id-trigger-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.v2-saved-id-trigger-sub {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-saved-id-trigger-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.v2-saved-id-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 1rem;
    font-size: 12px;
    font-weight: 700;
    color: var(--warna_4);
    background: hsl(var(--warnahsl4) / 0.12);
    border: 1px dashed hsl(var(--warnahsl4) / 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    outline: none !important;
}

.v2-saved-id-save-btn:hover {
    background: hsl(var(--warnahsl4) / 0.22);
    border-color: var(--warna_4);
}

/* Daftar kartu ID di dalam popup modal */
.v2-saved-id-modal-card {
    max-width: 480px !important;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.v2-saved-id-modal-body {
    max-height: calc(85vh - 190px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px !important;
}

.v2-saved-id-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    background: hsl(var(--warnahsl) / 0.5);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-saved-id-card:hover {
    border-color: var(--warna_4);
    background: hsl(var(--warnahsl) / 0.7);
    transform: translateY(-1px);
}

.v2-saved-id-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.v2-saved-id-card-main {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-word;
}

.v2-saved-id-card-main i {
    color: var(--warna_4);
    font-size: 15px;
    flex-shrink: 0;
}

.v2-saved-id-card-nick {
    font-size: 11.5px;
    color: var(--text-muted, #94a3b8);
    padding-left: 23px;
    word-break: break-word;
}

.v2-saved-id-card-del {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-size: 13px;
}

.v2-saved-id-card-del:hover {
    background: #f43f5e;
    color: #ffffff;
}

.v2-saved-id-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px;
    border-top: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
}

@media (max-width: 420px) {
    .v2-saved-ids-bar {
        flex-direction: column;
    }
    .v2-saved-id-save-btn {
        width: 100%;
    }
}

.v2-btn-text-danger {
    background: none;
    border: none;
    color: #f43f5e;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

/* =========================================================
   5. STEP 3: PAYMENT METHOD ACCORDION & SALDO AKUN
   ========================================================= */
.v2-payment-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v2-pay-balance-label {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.v2-pay-balance-label:hover {
    border-color: var(--warna_4);
    background: rgba(255, 255, 255, 0.05);
}

.v2-pay-balance-card input[type="radio"]:checked+.v2-pay-balance-label {
    border-color: var(--warna_4);
}

.v2-pay-balance-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.v2-pay-balance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warna_4);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.v2-pay-balance-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.v2-pay-balance-amount {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--warna_4);
    text-align: right;
    white-space: nowrap;
    line-height: 1;
    margin-left: auto;
}

/* Accordion Item Card (Header [$categoryName], Body [Cards], Footer [Logos]) */
.v2-pay-accordion-item {
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-pay-accordion-header {
    padding: 14px 18px;
    background: var(--warna);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    border-radius: 14px 14px 0 0;
}

.v2-pay-accordion-header:hover {
    filter: brightness(1.05);
}

.v2-pay-cat-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.v2-pay-chevron {
    color: #ffffff;
    font-size: 12px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-pay-accordion-item.is-open .v2-pay-chevron {
    transform: rotate(180deg);
}

/* Accordion Body with smooth modern slide animation */
.v2-pay-accordion-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 14px;
    border-top: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    background: hsl(var(--warnahsl3) / .5);
    /* Saat TUTUP: tunggu 0.12s agar footer muncul terlebih dahulu, baru body menutup */
    transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
        opacity 0.25s ease 0.12s,
        padding 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

@media (min-width: 576px) {
    .v2-pay-accordion-body {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .v2-pay-accordion-body {
        grid-template-columns: repeat(3, 1fr);
    }
}

.v2-pay-accordion-item.is-open .v2-pay-accordion-body {
    max-height: 2500px;
    opacity: 1;
    padding: 14px;
    border-radius: 0 0 1rem 1rem;
    /* Saat BUKA: body langsung meluncur buka seketika (delay 0s) */
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0s,
        opacity 0.3s ease 0s,
        padding 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0s;
}

.v2-pay-method-card {
    position: relative;
}

.v2-pay-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.v2-pay-method-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border-card);
    border-radius: 10px;
    cursor: pointer;
    min-height: 85px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.v2-pay-method-label:hover {
    border-color: var(--warna_4);
    background: rgba(255, 255, 255, 0.05);
}

.v2-pay-method-card input[type="radio"]:checked+.v2-pay-method-label {
    border-color: var(--warna_4);
}

.v2-pay-card-logo-wrap {
    margin-bottom: 6px;
}

.v2-pay-method-logo {
    height: 22px;
    max-width: 75px;
    object-fit: contain;
    border-radius: 4px;
}

.v2-pay-card-info-wrap {
    margin-top: auto;
}

.v2-pay-method-price {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 4px;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    min-height: 24px;
    line-height: 1.25;
}

.v2-pay-method-fee {
    font-size: 10px;
    color: var(--text-muted, #94a3b8);
    font-style: italic;
    line-height: 1.3;
}

/* Accordion Footer: Logos di kanan dengan background var(--warna_2) */
.v2-pay-accordion-footer {
    padding: 8px 14px;
    background: var(--warna_2);
    border-radius: 0 0 1rem 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 36px;
    max-height: 80px;
    opacity: 1;
    overflow: hidden;
    -webkit-border-radius: 0 0 1rem 1rem;
    -moz-border-radius: 0 0 1rem 1rem;
    -ms-border-radius: 0 0 1rem 1rem;
    -o-border-radius: 0 0 1rem 1rem;
    /* Saat TUTUP: footer langsung muncul seketika tanpa delay (delay 0s) */
    transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1) 0s,
        opacity 0.22s ease 0s,
        padding 0.25s ease 0s,
        min-height 0.25s ease 0s;
}

.v2-pay-accordion-item.is-open .v2-pay-accordion-footer {
    max-height: 0;
    min-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    /* Saat BUKA: dikasih jeda (delay 0.22s) sebelum footer di-hidden */
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.22s,
        opacity 0.22s ease 0.22s,
        padding 0.3s ease 0.22s,
        min-height 0.3s ease 0.22s;
}

.v2-pay-footer-logo {
    height: 20px;
    width: auto;
    max-width: 44px;
    object-fit: contain;
    border-radius: 4px;
    background: #ffffff;
    padding: 2px 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   6. STEP 4 & 5: VOUCHER & KONFIRMASI
   ========================================================= */
.v2-voucher-input-group {
    display: flex;
    gap: 10px;
}

.v2-btn-apply {
    background: var(--warna_4);
    color: #fff;
    border: none;
    padding-left: .75rem;
    padding-right: .75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: .75rem;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
    outline: none !important;
    height: 2.25rem !important;
}

.v2-btn-apply:hover {
    background: var(--warna_4);
}

/* =========================================================
   7. STICKY BOTTOM PURCHASE SUMMARY BAR
   ========================================================= */
.v2-sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(26, 16, 45, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    padding: 12px 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

.v2-buy-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.v2-summary-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.v2-summary-game-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm, 8px);
    object-fit: cover;
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    background: #1a102d;
}

.v2-summary-text-group {
    display: flex;
    flex-direction: column;
}

.v2-summary-prod-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.v2-summary-total-price {
    font-size: 16px;
    font-weight: 800;
    color: #c4b5fd;
    display: flex;
    align-items: center;
    gap: 6px;
}

.v2-summary-details-toggle {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    gap: 4px;
}

.v2-btn-buy-now {
    background: var(--warna, );
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md, 12px);
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.v2-btn-buy-now:hover {
    background: #5b21b6;
    transform: translateY(-2px);
}

/* Collapsible Order Drawer */
.v2-order-drawer {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card, #2d1b55);
    border-top: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    padding: 18px;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
    display: none;
}

.v2-order-drawer.open {
    display: block;
}

.v2-drawer-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-body);
}

.v2-drawer-divider {
    height: 1px;
    background: var(--border-card, rgba(255, 255, 255, 0.09));
    margin: 10px 0;
}

.v2-drawer-total {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

/* Voucher Cards */
.v2-voucher-list-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-title, #ffffff);
    margin: 18px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================================
   AUTHENTIC VOUCHER TICKET CARD DESIGN
   ========================================================= */
.v2-voucher-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.v2-voucher-ticket {
    display: flex;
    flex-direction: row;
    background: hsl(var(--warnahsl) / 0.7);
    /* border: 1px solid var(--border-card, rgba(255, 255, 255, 0.1)); */
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 104px;
}

.v2-voucher-ticket:hover {
    /* border-color: var(--warna_4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); */
    transform: translateY(-2px);
}

/* Sisi Kiri: Ticket Stub (Diskon Emblem) */
.v2-voucher-stub {
    width: 106px;
    min-width: 106px;
    background: linear-gradient(145deg, hsl(var(--warnahsl4) / 0.26) 0%, hsl(var(--warnahsl4) / 0.08) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 6px;
    position: relative;
    user-select: none;
    border-right: 1px dashed rgba(255, 255, 255, 0.15);
}

.v2-voucher-stub-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--warna_4);
    background: hsl(var(--warnahsl4) / 0.2);
    padding: 2px 7px;
    border-radius: 999px;
    margin-bottom: 5px;
    line-height: 1;
}

.v2-voucher-stub-val {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.v2-voucher-stub-num {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.v2-voucher-stub-unit {
    font-size: 15px;
    font-weight: 800;
    color: var(--warna_4);
    margin-left: 2px;
}

.v2-voucher-stub-prefix {
    font-size: 11px;
    font-weight: 700;
    color: var(--warna_4);
    margin-right: 2px;
}

.v2-voucher-stub-label {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text-muted, #94a3b8);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Garis Perforasi & Lekukan Notches Tiket Bulat */
.v2-voucher-divider {
    position: relative;
    width: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-voucher-line {
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 0;
    border-left: 2px dashed rgba(255, 255, 255, 0.2);
}

.v2-voucher-notch {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--warna_2);
    z-index: 3;
}

.v2-voucher-notch-top {
    top: -9px;
    left: -9px;
    border-bottom: 1px solid var(--border-card, rgba(255, 255, 255, 0.15));
    box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.35);
}

.v2-voucher-notch-bottom {
    bottom: -9px;
    left: -9px;
    border-top: 1px solid var(--border-card, rgba(255, 255, 255, 0.15));
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.35);
}

/* Sisi Kanan: Ticket Body */
.v2-voucher-body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}

.v2-voucher-body-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.v2-voucher-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    word-break: break-word;
}

.v2-voucher-sisa-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--warna_4);
    background: hsl(var(--warnahsl4) / 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.v2-voucher-code-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-voucher-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.v2-voucher-code-pill svg {
    color: var(--warna_4);
}

.v2-voucher-desc {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-voucher-body-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.v2-voucher-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 10.5px;
    color: var(--text-muted, #94a3b8);
}

.v2-voucher-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.v2-voucher-meta-item i {
    font-size: 10px;
    color: var(--warna_4);
}

/* Button Gunakan Voucher */
.v2-voucher-apply-btn {
    background: var(--warna_4);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    height: 30px;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    outline: none !important;
}

.v2-voucher-apply-btn:hover:not(.is-disabled) {
    filter: brightness(1.15);
    transform: scale(1.02);
}

.v2-voucher-apply-btn.is-disabled {
    opacity: 0.55;
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-muted, #94a3b8) !important;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsif Mobile untuk Ticket */
@media (max-width: 420px) {
    .v2-voucher-stub {
        width: 88px;
        min-width: 88px;
        padding: 10px 4px;
    }
    .v2-voucher-stub-num {
        font-size: 20px;
    }
    .v2-voucher-body {
        padding: 10px 12px;
    }
    .v2-voucher-title {
        font-size: 12.5px;
    }
    .v2-voucher-body-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .v2-voucher-apply-btn {
        width: 100%;
        height: 28px;
    }
}

/* =========================================================
   VOUCHER PROMO TRIGGER CARD & POPUP MODAL V2
   ========================================================= */
.v2-voucher-trigger-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: hsl(var(--warnahsl) / 0.5);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
}

.v2-voucher-trigger-card:hover {
    border-color: var(--warna_4);
    background: hsl(var(--warnahsl) / 0.7);
    transform: translateY(-1px);
}

.v2-voucher-trigger-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.v2-voucher-trigger-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: hsl(var(--warnahsl4) / 0.15);
    color: var(--warna_4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v2-voucher-trigger-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.v2-voucher-trigger-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.v2-voucher-trigger-sub {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    margin-top: 1px;
}

.v2-voucher-trigger-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.v2-voucher-trigger-count-pill {
    font-size: 11px;
    font-weight: 700;
    color: var(--warna_4);
    background: hsl(var(--warnahsl4) / 0.15);
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1;
}

.v2-voucher-trigger-arrow {
    color: var(--text-muted, #94a3b8);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.v2-voucher-trigger-card:hover .v2-voucher-trigger-arrow {
    color: var(--warna_4);
    transform: translateX(2px);
}

/* State saat voucher berhasil terpasang */
.v2-voucher-applied-card {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
}

.v2-voucher-applied-card:hover {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.12) !important;
}

.v2-voucher-applied-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.18);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v2-voucher-applied-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 0.5px;
}

.v2-voucher-applied-sub {
    font-size: 11px;
    color: #6ee7b7;
    margin-top: 1px;
}

.v2-voucher-change-btn {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    padding: 4px 10px;
    border-radius: 999px;
}

/* Popup Modal Voucher V2 */
.v2-voucher-modal-card {
    max-width: 560px !important;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.v2-voucher-modal-body {
    padding: 16px !important;
    max-height: calc(85vh - 70px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
}

.v2-voucher-modal-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Modal Konfirmasi Pesanan V2 (Native Backdrop) */
.v2-order-modal-card {
    max-width: 440px !important;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--warna_2, #232324) !important;
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.1)) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}

.modal-order-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-order-top-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.modal-order-header {
    text-align: left;
}

.modal-order-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.modal-order-subtitle {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    margin: 0;
    line-height: 1.4;
}

.modal-order-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
}

.modal-order-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Card Hero: Image, Games, Produk — TANPA BORDER */
.modal-order-hero-box {
    background: hsl(var(--warnahsl, 240 6% 10%) / 0.6);
    border: none !important;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-order-hero-img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    background: #1a102d;
    flex-shrink: 0;
}

.modal-order-hero-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.modal-order-hero-game {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-title);
    text-transform: none !important;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.modal-order-hero-product {
    font-family: var(--font-heading);
    font-size: .875rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
    word-break: break-word;
}

/* Daftar Rincian (List rows tanpa card border) */
.modal-order-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 6px 0;
}

.modal-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
}

.modal-order-label {
    color: var(--text-title);
    font-weight: 500;
    flex-shrink: 0;
}

.modal-order-val {
    color: #ffffff;
    font-weight: 500;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    text-align: right;
    word-break: break-word;
}

/* Footer: Total Pembayaran (kiri) & Tombol Konfirmasi (kanan) */
.modal-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    margin-top: 4px;
}

.modal-order-footer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.modal-order-footer-label {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    font-weight: 600;
    line-height: 1.2;
}

.modal-order-footer-total {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 16px;
    font-weight: 800;
    color: var(--warna_4, #f97316);
    line-height: 1.2;
    white-space: nowrap;
}

.modal-order-btn-confirm {
    height: 40px;
    padding: 0 24px;
    border-radius: 10px;
    background: var(--warna_4, #f97316);
    border: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    white-space: nowrap;
    flex-shrink: 0;
}

.modal-order-btn-confirm:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* =========================================================
   RIGHT SIDEBAR — ORDER SUMMARY CARD (preview-game-v4 style)
   ========================================================= */
.order-summary-card {
    background: var(--bg-card, #2d1b55);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    border-radius: 20px;
    padding: 22px;
    position: sticky;
    top: 80px;
}

.summary-rating-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    margin-bottom: 16px;
}

.summary-rating-score {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-verified-badge {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    color: #10b981;
    font-size: 10px;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.summary-section-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.summary-game-product-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
    margin-bottom: .5rem;
}

.summary-game-product-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.summary-game-name {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
}

.summary-game-product-img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    background: #1a102d;
    display: block;
}

.summary-chosen-product {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-title);
    word-break: break-word;
}

.summary-chosen-product.is-placeholder {
    color: var(--text-title);
    font-weight: 600;
}

.summary-detail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.summary-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    gap: 12px;
}

.summary-detail-label {
    color: var(--text-title);
    flex-shrink: 0;
    font-weight: 500;
    font-size: .775rem;
    line-height: 1.25rem;
}

.summary-detail-val {
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    text-align: right;
    word-break: break-word;
}

/* Auto-check nickname states (sidebar kanan) */
#summary-nickname.is-checking {
    color: var(--text-muted, #94a3b8);
    font-style: italic;
    font-weight: 600;
}

#summary-nickname.is-verified {
    color: #10b981;
}

#summary-nickname .summary-nickname-text {
    word-break: break-word;
}

#summary-nickname {
    display: inline-flex;
    align-items: center;
}

#summary-nickname .summary-nickname-check,
#summary-nickname .summary-nickname-error,
#summary-nickname .summary-nickname-loading {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    flex-shrink: 0;
    line-height: 1;
}

#summary-nickname .summary-nickname-check {
    color: #10b981;
}

#summary-nickname.is-verified .summary-nickname-check {
    display: inline-flex;
}

#summary-nickname .summary-nickname-check svg {
    width: 15px;
    height: auto;
}

#summary-nickname .summary-nickname-error {
    color: #f43f5e;
}

#summary-nickname.is-error .summary-nickname-error {
    display: inline-flex;
}

#summary-nickname .summary-nickname-error svg {
    width: 15px;
    height: auto;
}

#summary-nickname .summary-nickname-loading {
    color: var(--text-muted, #94a3b8);
}

#summary-nickname.is-checking .summary-nickname-loading {
    display: inline-flex;
}

#summary-nickname .summary-nickname-loading svg {
    width: 15px;
    height: auto;
    animation: v2-nickname-spin 1s linear infinite;
}

@keyframes v2-nickname-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#summary-nickname.is-error {
    color: #f43f5e;
}

.summary-total-box {
    /* background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.09));
    padding: 14px 16px; */
    border-radius: 12px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.summary-total-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
    text-align: left;
}

.summary-total-label {
    font-size: .875rem;
    color: var(--text-title);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    line-height: 1.2;
}

.summary-total-note {
    font-size: 11px;
    color: #34d399;
    font-weight: 600;
    line-height: 1.3;
}

.summary-total-value {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--warna_4);
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Ultra-Smooth Number Flow (Vertical Slide per Digit, inspired by number-flow) */
.v2-nf-wrap {
    display: inline-flex;
    align-items: baseline;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    white-space: nowrap;
    position: relative;
    line-height: 1.25;
}

.v2-nf-prefix {
    display: inline-block;
    white-space: pre;
    font-variant-numeric: tabular-nums;
}

.v2-nf-static {
    display: inline-block;
    width: auto;
    text-align: center;
    white-space: pre;
}

.v2-nf-slot {
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 1.25em;
    line-height: 1.25em;
    vertical-align: -0.12em;
    text-align: center;
    white-space: pre;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    transition: width 0.44s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.44s ease;
}

.v2-nf-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
    transition: transform 0.44s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-nf-digit {
    display: block;
    height: 1.25em;
    line-height: 1.25em;
    text-align: center;
    min-width: 0.58em;
    white-space: pre;
}

/* Exit slot (digit disappearing when price decreases, smoothly collapses width without &nbsp;) */
.v2-nf-slot.v2-nf-exit-prep {
    width: 0.6em;
    opacity: 1;
}

.v2-nf-slot.v2-nf-exit-run {
    width: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Enter slot (digit appearing when price increases, smoothly expands width) */
.v2-nf-slot.v2-nf-enter-prep {
    width: 0;
    opacity: 0;
}

.v2-nf-slot.v2-nf-enter-run {
    width: 0.6em;
    opacity: 1;
}

.btn-order-now {
    width: 100%;
    background: var(--warna_4);
    color: var(--text-title);
    border: 1px solid var(--warna_4);
    padding: .75rem .75rem;
    border-radius: 1rem;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, transform 0.15s;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
    outline: none !important;
}

.btn-order-now:hover {
    transform: translateY(-1px);
}

.btn-order-now:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-order-now svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* =========================================================
   ANIMASI SHOPPING BAG (HOVER & KLIK)
   Efek memasukkan barang belanjaan + membal elastis & sparkle
   ========================================================= */
.btn-order-now .v2-btn-buy-svg {
    overflow: visible;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* State Diam (Default): Item & Sparkle tersembunyi */
.btn-order-now .v2-bag-item {
    opacity: 0;
    transform: translateY(-8px) scale(0.6);
    transform-origin: 12px 5px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-order-now .v2-bag-handle {
    transform-origin: 12px 10px;
    transition: transform 0.2s ease;
}

.btn-order-now .v2-bag-body-group {
    transform-origin: 12px 20px;
    transition: transform 0.2s ease;
}

.btn-order-now .v2-bag-sparkle {
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Saat Hover: Animasi memasukkan barang belanjaan secara halus */
.btn-order-now:hover:not(:disabled) .v2-bag-item {
    animation: bagItemDrop 1.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.btn-order-now:hover:not(:disabled) .v2-bag-body-group {
    animation: bagBodyBounce 1.2s ease-in-out infinite;
}

.btn-order-now:hover:not(:disabled) .v2-bag-handle {
    animation: bagHandleStretch 1.2s ease-in-out infinite;
}

.btn-order-now:hover:not(:disabled) .v2-bag-sparkle.s-left {
    animation: bagSparklePopLeft 1.2s ease-out infinite;
}

.btn-order-now:hover:not(:disabled) .v2-bag-sparkle.s-right {
    animation: bagSparklePopRight 1.2s ease-out infinite;
}

/* Saat Klik (Active): Efek haptic press membal */
.btn-order-now:active:not(:disabled) .v2-btn-buy-svg {
    transform: scale(0.85) rotate(-5deg);
    transition: transform 0.08s ease;
}

/* Keyframe 1: Barang meluncur turun masuk ke dalam tas */
@keyframes bagItemDrop {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.5);
    }
    18% {
        opacity: 1;
        transform: translateY(-3px) scale(1.1);
    }
    48% {
        opacity: 1;
        transform: translateY(6px) scale(0.9);
    }
    66% {
        opacity: 0.8;
        transform: translateY(10px) scale(0.5);
    }
    75%, 100% {
        opacity: 0;
        transform: translateY(12px) scale(0.2);
    }
}

/* Keyframe 2: Tas membal (squash & stretch) menyambut barang */
@keyframes bagBodyBounce {
    0%, 100% {
        transform: scale(1, 1);
    }
    28% {
        transform: scale(0.96, 1.05);
    }
    52% {
        transform: scale(1.15, 0.86);
    }
    70% {
        transform: scale(0.95, 1.04);
    }
    84% {
        transform: scale(1.02, 0.99);
    }
}

/* Keyframe 3: Handle terangkat sedikit */
@keyframes bagHandleStretch {
    0%, 100% {
        transform: translateY(0);
    }
    28% {
        transform: translateY(-1.5px) scaleY(1.1);
    }
    52% {
        transform: translateY(1px) scaleY(0.95);
    }
    70% {
        transform: translateY(-0.5px);
    }
}

/* Keyframe 4: Partikel Sparkle saat barang mendarat */
@keyframes bagSparklePopLeft {
    0%, 45% {
        opacity: 0;
        transform: translate(2px, 2px) scale(0);
    }
    58% {
        opacity: 1;
        transform: translate(-2px, -3px) scale(1.2);
    }
    75%, 100% {
        opacity: 0;
        transform: translate(-4px, -5px) scale(0);
    }
}

@keyframes bagSparklePopRight {
    0%, 48% {
        opacity: 0;
        transform: translate(-2px, 2px) scale(0);
    }
    62% {
        opacity: 1;
        transform: translate(2px, -3px) scale(1.2);
    }
    78%, 100% {
        opacity: 0;
        transform: translate(4px, -5px) scale(0);
    }
}

/* Hide legacy sticky bar if any leftover markup exists */
.v2-sticky-buy-bar {
    display: none !important;
}

/* Voucher discount on product card (STEP 1) */
.v2-voucher-cut-injected {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    text-decoration: line-through;
}

.v2-flash-price-sale.has-voucher {
    color: var(--warna_4);
}

#bar-voucher-discount {
    font-size: 11px;
    font-weight: 700;
    color: var(--warna_4);
    background: hsl(var(--warnahsl4) / 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1;
}

#drawer-voucher-row {
    color: var(--text-body);
}

#drawer-voucher-row #drawer-voucher-discount {
    color: var(--warna_4);
}

/* =========================================================
   V2 TOASTR NOTIFICATION (POJOK KANAN ATAS — clean white, no shadow/neon/gradient)
   ========================================================= */
#toast-container.toast-top-right {
    top: 20px;
    right: 20px;
    z-index: 999999;
}

#toast-container>.toast {
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: none;
    color: #000000;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    opacity: 1;
    animation: v2ToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding-left: 52px;
    position: relative;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

#toast-container>.toast:hover {
    box-shadow: none;
}

#toast-container>.toast>.toast-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: #000000;
}

#toast-container>.toast>.toast-message {
    font-size: 12px;
    line-height: 1.45;
    color: #000000;
}

#toast-container>.toast>.toast-close-button {
    color: #000000;
    opacity: 0.6;
    text-shadow: none;
}

#toast-container>.toast>.toast-close-button:hover,
#toast-container>.toast>.toast-close-button:focus {
    color: #000000;
    opacity: 1;
}

/* Sembunyikan ikon bawaan toastr, ganti lucide */
#toast-container>.toast::before {
    display: none !important;
}

#toast-container>.toast {
    background-image: none !important;
}

/* Ikon lucide di kiri toast */
.toast-v2-svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.toast-v2-svg svg {
    width: 24px;
    height: 24px;
}

.toast-v2-svg-success svg {
    color: #10b981;
    stroke: #10b981;
}

.toast-v2-svg-error svg {
    color: #f43f5e;
    stroke: #f43f5e;
}

.toast-v2-svg-warning svg {
    color: #f59e0b;
    stroke: #f59e0b;
}

.toast-v2-svg-info svg {
    color: var(--warna_4);
    stroke: var(--warna_4);
}

/* #toast-container>.toast-success {
    border-left: 4px solid #10b981;
}

#toast-container>.toast-error {
    border-left: 4px solid #f43f5e;
}

#toast-container>.toast-warning {
    border-left: 4px solid #f59e0b;
}

#toast-container>.toast-info {
    border-left: 4px solid var(--warna_4);
} */

#toast-container>.toast>.toast-progress {
    background: #9ca3af;
    opacity: 0.7;
}

@keyframes v2ToastSlideIn {
    from {
        opacity: 0;
        transform: translateX(60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* =========================================================
   STACK DECK: toast baru di atas, lama menumpuk ke belakang
   (bukan list memanjang ke bawah).
   ========================================================= */
#toast-container.v2-toast-stack.toast-top-right {
    width: 330px;
    max-width: calc(100vw - 40px);
}

#toast-container.v2-toast-stack {
    position: fixed;
}

#toast-container.v2-toast-stack>.toast {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    margin: 0;
    transform-origin: top center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, scale 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast teratas (paling baru): penuh di depan */
#toast-container.v2-toast-stack>.toast:first-child {
    position: relative;
    z-index: 4;
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Toast ke-2: mundur sedikit + mengecil ke belakang */
#toast-container.v2-toast-stack>.toast:nth-child(2) {
    z-index: 3;
    transform: translateY(10px) scale(0.96);
    opacity: 0.92;
    pointer-events: none;
}

/* Toast ke-3: makin mundur + makin kecil */
#toast-container.v2-toast-stack>.toast:nth-child(3) {
    z-index: 2;
    transform: translateY(20px) scale(0.92);
    opacity: 0.8;
    pointer-events: none;
}

/* Toast ke-4: paling belakang, hampir tenggelam */
#toast-container.v2-toast-stack>.toast:nth-child(4) {
    z-index: 1;
    transform: translateY(30px) scale(0.88);
    opacity: 0.6;
    pointer-events: none;
}

/* Toast ke-5+: sembunyikan total (maxOpened juga membatasi di JS) */
#toast-container.v2-toast-stack>.toast:nth-child(n+5) {
    display: none;
}

@media (min-width: 1024px) {
    .v2-meta-band {
        min-height: 160px;
    }
}