    @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
    /* @media screen and (max-width: 768px){ */
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Poppins", sans-serif;
            }
            html {
                margin: 0;
                padding: 0;
                scroll-behavior: smooth;
            }
            body {
            margin: 0;
            padding: 0;
            padding-top: 90px;
            min-height: 100vh;
            background: #ffffff;
            display: flex;
            justify-content: center;
        }

            header {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 9999;
    padding: 20px 5px; /* Kurangi padding agar tidak terlalu bongsor */
}
    
            header .Header .atas {
        display: flex;
            align-items: center;
            justify-content: space-between; /* KUNCI UTAMA */
            padding: 0 15px;                /* Jarak kiri kanan */
            width: 100%;
            display: flex;
            }
            .Menu {
            display: flex;
            flex-direction: column; /* Ini kunci untuk atas-bawah */
            gap: 10px; /* Jarak antara ikon back dan menu */
            align-items: center; /* Menyejajarkan ikon di tengah secara horizontal */
        }

        /* Mengatur ukuran ikon agar seragam */
        .Menu .icon-link i {
            font-size: 40px; /* Sesuaikan ukuran ikon */
            color: #7F331A; /* Sesuaikan warna */
        }

        /* Opsional: Efek saat ditekan */
        .Menu .icon-link:active {
            transform: scale(0.9);
        }
           /* Container Utama */
header .Header .bawah {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #7F331A;
    font-weight: 700;
    gap: 5px; /* Mengatur jarak antar elemen secara otomatis */
    padding: 10px 0;
}

/* Pengaturan Gambar/Logo agar di paling atas */
header .Header .bawah img {
    max-width: 150px; /* Ukuran bisa disesuaikan */
    height: auto;
    margin-bottom: 5px;
    margin-top: -100px;
}

/* Teks JAM : MENIT : DETIK */
header .Header .bawah p1 {
    font-size: 17px; /* Ukuran label jam */
    margin: 0;
}

/* Angka Countdown */
header .Header .bawah .countdown {
    font-size: 29px;
    margin: 0;
    line-height: 1; /* Agar tidak terlalu banyak spasi kosong */
}

/* Teks LAGI CLOSE ORDER */
header .Header .bawah p {
    color: #7F331A;
    font-size: 12px;
    margin: 0;
    font-weight: 700;
}
            header .Header .atas .Jussywar{
                display: flex;
                align-items: center;
                justify-content: center;
            }

        
            
            header .Header .atas .Jussywar span{
                margin-top: 10px;
                font-size: 40px;
                color: #7F331A;
                font-family: "Poppins",Bold;
                font-weight: 700;
            }
            header i{
                align-items: center;
                font-size: 40px;
                color: #7F331A;
                font-weight: 300;
                transition: color 0.5 ease;
            }
            
            header .Cart i {
                margin-right: 5px;
            }
            
        .Cart{
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 9999;
        }
    .password-box {
    position: relative;
}
/*PASS*/
.password-box .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #777;
}

.password-box .toggle-password:hover {
    color: #7F331A;
}
 .password-box .bxs-lock {
    margin-right: 35px;
}


.Cart a {
    pointer-events: auto;
    cursor: pointer;
}

        /* SHARE BUTTON */
        .share-btn{
            width: 60px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .share-btn i{
            color: #7F331A;
            font-size: 35px;
        }

/* Share popup (Salin link) */
.share-popup{
    position: fixed;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px;
    background: #C87430;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    z-index: 12000;
    transform-origin: top center;
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease;
    pointer-events: none;
}
.share-popup.visible{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.share-popup .btn-copy{
    background: #7F331A;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
.share-popup .btn-close{
    background: transparent;
    color: #666;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

/* toast yang muncul setelah salin link */
.share-toast{
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    z-index: 13000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
}
.share-toast.show{
    opacity: 1;
}

            
            header i:hover{
                transform: scale(1.1);
            }
            
            .layarpenuh{
                width: 100%;
                max-width: 400px;   /* KUNCI RESPONSIVE */
                margin-top: 100px;
                margin-bottom: 100px;
            }
            section{
                padding: 0;
            
            }
            .layarpenuh .checkout{
                width: min(1100px, 95%);
                margin: 50px auto;
                background-color: #7F331A;
                transform: none;
                border-radius: 40px;
                box-shadow: 0 3px 4px #727272;
                padding: 30px 20px 28px; /* slightly smaller bottom padding */
                min-height: auto;
                margin-bottom: 12px; /* reduce space to next section */
                margin-top: 20px
            }
            .layarpenuh .checkout h1{
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                transform: translateY(-35px);
                margin-bottom: 20px;
                margin-top: 15px;
                color: #fff;    
                }

            .layarpenuh .stok{
                    transform: translateY(-49px);
                    display: flex;
                    text-align: center;
                    align-items: center;
                    justify-content: center;
                    position: relative;
                        padding: 18px 14px 18px; /* side padding to avoid touching edges/menu */
                    width: 100%;
                        margin-bottom: 4px; /* tightened space to next section */
                    color: #fff;
                    font-size: 14px;
                    font-weight: 600;
                    font-family: "Poppins", medium;
                    z-index: 1;
                        gap: 14px; /* match .varian gap */
            }
            
            .layarpenuh .stok p{
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-variant-numeric: tabular-nums;
                margin: 0;
                text-align: center;
                font-weight: 600;
                width: 60px;   /* same width as .varian .item */
                height: 60px;  /* same height so visual size matches */
                font-size: 20px;
                transform: translateY(-13px);
                padding: 0; /* size controlled by width/height */
                border-radius: 12px;
                background-color: #C87430;
                box-shadow: 0 2px 4px #727272;
            }
            
            .layarpenuh .checkout .varian{
                display: flex;
                flex-direction: row;
                align-items: center;
                text-align: center;
                justify-content: center;
                gap: 0px;
                width: 100%;
                margin-top: -70px;
            
            }
            
            .layarpenuh .checkout .varian .item{
                transform: none;
                padding: 10px 0;
                width: 80px;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
            }
            
            .layarpenuh .checkout .varian span{
                color: #fff;
                font-size: 20px;
                font-weight: 700;
                margin-top: 14px;
            }
            /* hanya span translate="no" yang ada di dalam .panah */
.beli .panah span[translate="no"]{
  background: #ffffff;  /* warna kotak */
  color: #7F331A;       /* warna angka */
}

            .layarpenuh .checkout .varian img{
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                padding: 2px 2px;
                border-radius: 10px;
                background-color: #ffffff;
                height: 48px;
                width: 48px;
                box-shadow: 0 3px 4px #626161;
                object-fit: contain;
                padding: 5px;
            }
            
            .beli{
                margin-top: 15px;
                transform: none;
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                gap: 47px;
                color: #C87430;
            }
            
            .beli .panah{
                font-size: 39px;

                position: relative;
                display: inline-flex;
                flex-direction: column;
                text-align: center;
                cursor: pointer;

            }
            
            .beli span{
                border-radius: 5px;
                font-size: 18px;
                font-weight: bold;
                padding: 7px 4px;
                background-color: #C87430;
            }
            
            .total{
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 5px;
                width: 100%;
                max-width: 1100px;
                margin: 12px auto 20px; /* tightened gap from checkout */
                z-index: 20;
            }
            
            .total .price{
                display: inline-block;

            /* .sold: small badges showing total sold per variant *
            .sold h6{ display:none; }
            .sold p{
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-variant-numeric: tabular-nums;
                margin: 0;
                text-align: center;
                font-weight: 700;
                width: 60px;
                height: 60px;
                font-size: 12px;
                border-radius: 12px;
                background-color: #F7C948;
                box-shadow: 0 2px 4px rgba(0,0,0,0.25);
                color: #163c2a;
            }

            /* varianz (per-user variant display) */
            /* .varianz removed */
                font-variant-numeric: tabular-nums;
                font-family: "Poppins", Medium;
                padding: 15px 45px;
                color: #fff; /* contrast with white bg */
                font-size: 12px;
                border: none;
                outline: none;
                font-weight: 600;
                border-radius: 15px;
                background-color: #7F331A; /* separate from green container */
                box-shadow: 0 3px 4px #727272;
            }
            
            .total .btn{
                width: 100%;
                border: none;
                padding: 15px 25px;
                color: #fff;
                outline: none;
                font-size: 14px;
                font-weight: 600;
                border-radius: 15px;
                background-color: #C87430;
                box-shadow: 0 3px 4px #727272;
                cursor: pointer;
            }
            .ranking-list {
  margin-top: 20px;
}

.ranking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f6f6;
  padding: 10px 15px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.rank {
  font-weight: bold;
  width: 25px;
}

.rank-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.rank-name {
  flex: 1;
  margin-left: 10px;
  font-weight: 600;
}

.rank-total {
  font-weight: bold;
  color: #7F331A;
}

            .ranking .judul{
            display: flex;
            align-items: center;
            justify-content: center;
            }
            .ranking .judul img{
                display: block;
                max-width: 160px;
                margin: 0 auto;
                padding: 0 !important;
                margin-top: 50px;
            }

/* place ikon-row directly under the ranking image and center icons */
.ranking .ikon-row{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: 60px;
    margin-bottom: 60px;
}
.ranking .ikon{
    margin: 0;
    transform: none;
    padding-left: 0;
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ranking .poin-container{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Ensure ranking image and icons (akun + poin) sit on one row */
.ranking-header {
    display: flex;
    align-items: center;
    justify-content: center; /* center the whole block */
    gap: 28px;
}
.ranking-header .judul {
    flex: 0 0 auto;
}
.ranking-header .judul .ranking-img {
    max-width: 260px;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    display: block;
}

.ranking-header .ikon-row {
    display: flex;
    justify-content: space-between; /* kiri & kanan */
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 8px auto; /* reduced gap to title */
    padding: 0 16px;
    box-sizing: border-box;
}

/* Strong override so .ikon inside ranking-header doesn't translate/overlap the image */
.ranking-header .ikon{
    margin: 0 !important;
    transform: none !important;
    gap: 12px !important;
    padding-left: 0 !important;
    justify-content: flex-end !important;
    display: flex !important;
    align-items: center !important;
}

.ranking-header .poin-box{
    padding: 6px 12px;
    border-radius: 12px;
    background: #7F331A;
    box-shadow: 0 3px 4px #727272;
    color: white;
}
.ranking-header .poin-box a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}
.akun a,
.poin-box a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

/* Ensure the poin container itself doesn't expand full width and aligns with akun */
.poin-container{
    display: flex;
    align-items: center;
    justify-content: center;
} 
.ranking-header .poin-container{
    align-self: center;
}
            .sold h6{
                font-size: 11px;
                color: #7F331A;
                font-weight: 1000;
            }
            .sold{
                transform: translateX(-2px);
                font-size: 10px;
                margin-top: 8px;
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                gap: 8px;
                color:#7F331A;
            }
            
            .sold p{
                display: inline-block;
                font-variant-numeric: tabular-nums;
                font-family: "Poppins", Medium;
                font-weight: 700;
                font-size: 14px;
                padding: 4px 8px;
                min-width: 40px;
                border-radius: 15px;
                background-color: #ffffff;
                box-shadow: 0 3px 4px #727272;
            }
            
            
            .varianz{
                color: #7F331A;
                margin-top: 10px;
                margin-left: 19px;
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                gap: 8px;
            }
            .varianz h6{
                font-weight: 1000;
                font-size: 11px;
            }
            .varianz img{ 
                display: inline-block;
                font-variant-numeric: tabular-nums;
                font-family: "Poppins", Medium;
                background-color: white;
                box-shadow: 0 3px 4px #727272;
                border-radius: 15px;
                padding: 1px 5px;
                height: 30px;
                width: 40px;
            }
            .ikon{
                margin-top: 60px;
                margin-bottom: 20px;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                text-align: center;
                color: white;
                font-size: 15px;
                font-weight: 500;
            }
            .ikon a{
                color: white;
                display: flex;
                text-decoration: none;
            }
            .ikon .akun a{
            color: #fff;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }
            .ikon .akun i{
                margin-right: 5px;
                font-size: 25px;
            }
            .ikon .koin i{
                margin-left: 5px;
                font-size: 25px;
            
            }
            .ikon .akun{
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 12px;
            background-color: #C87430;
            box-shadow: 0 3px 4px #727272;
        }
            .ikon .koin{
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 3px 10px;
                border-radius: 10px;
                background-color: #ffffff;
                box-shadow: 0 3px 4px #727272;
            }
            .buy h6{
                display: flex;
                justify-content: left;
                align-items: center;
                text-align: left;
                font-size: 14px;
                color: #7F331A;
                font-weight: 800;
            }
            .buy{
                transform: translateX(27px);
            }
            .buy .user-checkout{
                font-variant-numeric: tabular-nums;
                font-size: 10px;
                margin-top: 10px;
                display: flex;
                justify-content: right;
                align-items: center;
                text-align: center;
                margin-right: 10px;
                gap: 8px;
                color:white;
            }
            
            .buy .user-checkout p{
                display: inline-block;
                font-family: "Poppins", Medium;
                font-variant-numeric: tabular-nums;
                padding: 4px 8px;
                text-align: center;
                font-weight: 700;
                font-size: 10px;
                min-width: 30px;
                border-radius: 11px;
                z-index: 10;
                background-color: #7F331A;
                box-shadow: 0 3px 4px #727272;
                position: relative;

            }
            .buy .user-checkout .total{
                font-family: "Poppins", Medium;
                font-variant-numeric: tabular-nums;
                min-width: 30px;
                font-size: 10px;
                font-weight: 700;
                padding: 4px 8px;
                margin-top: 0.5px;
                background-color: #7F331A;
                border-radius: 11px;
                box-shadow: 0 3px 4px #727272;
            }
            
            .buy, .varianz, .sold{
                z-index: 10;
                position: relative;
                margin-right: 25px;
            }

            .varianz{
                margin-bottom: 30px;
            }
                .totalsemua p{
                    display: inline-block;
                    font-family: "Poppins", Medium;
                    font-variant-numeric: tabular-nums;
                    padding: 4.5px 6px;
                    text-align: center;
                    font-weight: 700;
                    font-size: 14px;
                    min-width: 40px;
                    border-radius: 17px;
                    background-color: #ba1d1d;
                    color: #fff;
                    transform: translateY(-5px);
                    box-shadow: 0 3px 4px #727272;
                }
            .banyakk{   
                display: inline-block;
                    font-family: "Poppins", Medium;
                    font-variant-numeric: tabular-nums;
                width: 50px;
                height: 50px;
                    color: #000000;
                    font-weight: bold;
                font-size: 14px;
                border: none;
                outline: none;
                border-radius: 15px;
                background-color: #Fff;
                box-shadow: 0 3px 4px #727272;
            
            }
            /* =========================
   GUEST NOTICE POPUP (Anda belum login)
   ========================= */
.login-popup-overlay.guest-notice{
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* box khusus guest notice */
.login-popup-overlay.guest-notice .login-popup-box{
  background: #ffffff;
  border-radius: 26px;
  padding: 22px 18px 18px;
  max-width: 330px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  text-align: center;
}

/* tombol close (X) khusus guest */
.login-popup-overlay.guest-notice .btn-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: none;
  background: #C87430;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.login-popup-overlay.guest-notice .btn-close:hover{
  transform: scale(1.05);
}

/* judul */
.login-popup-overlay.guest-notice h2{
  font-size: 18px;
  font-weight: 800;
  color: #7F331A;
  margin: 8px 0 8px;
}

/* isi text */
.login-popup-overlay.guest-notice p{
  font-size: 13px;
  line-height: 1.45;
  color: #7F331A;
  margin-bottom: 14px;
}

/* tombol Oke - jangan ikut style .total .btn */
.login-popup-overlay.guest-notice .btn{
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;

  background: #7F331A;
  color: #fff;
  box-shadow: 0 6px 16px rgba(40,98,60,.28);
}
.login-popup-overlay.guest-notice .btn:active{
  transform: translateY(1px);
}

            

/* tombol panah */
.swiper-button-prev,
.swiper-button-next {
    color: #7F331A;
}

/* mobile: panah lebih kecil */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        transform: scale(0.8);
    }
     .popup-box {
        max-width: 95%;
    }

    .poinSwiper img {
        height: 420px;       /* INI YANG BIKIN TINGGI */
        max-width: 100%;
    }


    /* =========================
    TOMBOL NAVIGASI
    ========================= */
    .poinSwiper .swiper-button-prev,
    .poinSwiper .swiper-button-next {
        color: #7F331A;
        font-weight: bold;
    }
}
           
      
            .atas .koinn{
                background-color: #7F331A;
                width: 70px;
                height: 30px;   
                color: white;
                border-radius: 10px;
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                box-shadow: 0 3px 4px #727272;  
            }

            .atas .koinn i{
                margin-left: 5px;
                
            }
            .atas .close{
                background-color: #7F331A;
                width: 70px;
                height: 30px;
                color: white;
                border-radius: 10px;
                box-shadow: 0 3px 4px #727272;
            }
            .atas .close i{
                font-size: 25px;
                font-weight: 800;
                transform: translateY(2px);
            }
        
        .tomboltukar{
            font-size: 14px;
            font-weight: 500;
            padding: 5px 20px;
            bottom: 20px;
            left: 50%;
            background-color: #7F331A;
            border-radius: 15px;
            box-shadow: 0 3px 4px #727272;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
         }
        .tomboltukar a{
            color: white;
            text-decoration: none;
            display: block;
            width: 100%;
            padding: 8px 20px;
        }
    
        
/* WRAPPER SEJAJAR */
.ranking-user{
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

/* GUEST */
.user-box{
    display: flex;
    align-items: center;
    gap: 8px;
    background: #7F331A;
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 6px rgba(0,0,0,.25);
    font-weight: 600;
    font-size: 14px;
}

.user-box img{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

/* POIN */
.poin-box{
    display: flex;
    align-items: center;
    gap: 6px;
    background: #7F331A;
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 6px rgba(0,0,0,.25);
    font-weight: 600;
    font-size: 14px;
}

.poin-box a i{
    font-size: 18px;
    color: #C87430;
}
.share-popup {
  position: absolute;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: .2s ease;
}

.share-popup.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.share-popup .btn-share {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f4f6;
  cursor: pointer;
  font-weight: 600;
}

.share-popup .btn-share i {
  font-size: 18px;
}

.share-popup .btn-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}


    /* IKLAN */
    .modalIklan {
        display: none;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        background-color: rgba(114, 114, 114, 0.8);
        z-index: 9999;
        transition:all 0.5s ease-in-out ;
    }
    
    .fade-in{
        opacity: 1 !important;
        transform: scale(1) !important;
    }
    .fade-out{
        opacity: 0 !important;
    }

        .modalIklan .modalIklan-content .swiper-slide img{
            width: 90%;
            margin: 0 auto 0 auto;   
            z-index: 9999;
            max-width: 230px;
            margin-bottom: 20px;
            filter: drop-shadow(0 3px 4px #727272);
            border-radius: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .iklan{
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            flex-direction: column;
            max-width: 100%;
            height: auto;
        }
        
        .iklan .swiper .swiper-wrapper .swiper-slide img{
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            max-width: 80%;
            box-shadow:  0 2px 5px #7F331A; 
            border-radius: 20px;
        }   
        
       /* ===== POPUP INFORMASI / IKLAN ===== */
.modalIklan{
  position: fixed;
  inset: 0;
  display: none;               /* akan di-set flex saat muncul */
  justify-content: center;
  align-items: center;
  background: rgba(114,114,114,0.8);
  z-index: 20000;
}

/* box putih/area konten */
.modalIklan-content{
  width: min(92vw, 520px);     /* desktop max 520px */
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* swiper wrapper */
.modalIklan .iklan{
  width: 100%;
}

/* slide harus punya tinggi biar img bisa gede */
.modalIklan .iklan .swiper-slide{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* INI KUNCI: paksa gambar jadi gede */
.modalIklan .iklan .swiper-slide img{
  width: 100%;
  height: auto;
  max-height: 70vh;            /* biar ga keluar layar */
  object-fit: contain;         /* jangan kepotong */
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* tombol close */
.modalIklan .tutup{
  margin-top: 14px;
  width: 55%;
  max-width: 220px;
}
/* tombol Oke popup umum */
.popup-btn{
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;

  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  cursor: pointer;

  background: linear-gradient(135deg, #7F331A, #4457d6);
  color: #fff;

  box-shadow: 0 10px 20px rgba(40,98,60,.25);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.popup-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.popup-btn:active{
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(20,45,158,.2);
}

/* desktop: boleh lebih besar */
@media (min-width: 1024px){
  .modalIklan-content{
    width: min(80vw, 720px);
  }
  .modalIklan .iklan .swiper-slide img{
    max-height: 75vh;
  }
}

        .tutup{
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 4px 5px;
            width: 40%;
            color: white;
            font-weight: 500;
            border-radius: 15px;
            box-shadow: 0 3px 4px #727272;
            background-color: #7F331A;
            margin: 15px auto 0 auto;   
        }
        .tutup i{
            font-size: 20px;
            font-weight: bold;
        }
        .ranking-row {
    display: flex;
    align-items: center;
    justify-content: center; /* ⬅️ bikin semua ke tengah */

    gap: 5px; /* ⬅️ lebih dekat lagi */
    
    margin: 10px 0;
    padding-top: 10px;

    font-family: 'Arial', sans-serif;
}


/* Nama user */
.user-name {
    width: 50px; /* sedikit diperlebar agar rapi */
    font-size: 13px;
    font-weight: 700;
    color: #7F331A;
    line-height: 1.1;
    white-space: nowrap;
}

/* Grup bulat kuning */
.menu-count {
    display: flex;
    gap: 6px;
}

/* Total (hijau) didekatkan */
.total-count {
    margin-left: 6px;
}
/*LOGIN*/
.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;

}
.login-form input::placeholder,
.login-form select::placeholder {
    color: #fff; /* placeholder juga putih */
    opacity: 0.8; /* bisa bikin agak transparan biar lebih enak dilihat */
}

/* input & select */
.login-form input,
.login-form select {
    width: 100%;
    padding: 14px 42px 14px 14px;
    border-radius: 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    background: #7F331A;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15);
}

/* icon di kanan */
.login-form .input i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #fff;
}

/* select role */
.login-form .select-role select {
    appearance: none;
    cursor: pointer;
}

/* tombol login */
/* ---------- FORM LOGIN ---------- */


.login-form h1 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #7F331A;
}

/* Input field container */
.login-form .input {
    position: relative;
    margin-bottom: 16px;
    color: #fff;
    width: 100%;
}

.login-form .input input,
.login-form .input select {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: 0.2s;
}

.login-form .input input:focus,
.login-form .input select:focus {
    border-color: #327e4d;
    box-shadow: 0 0 8px rgba(27,108,97,0.3);
}

/* Icon inside input */


/* ===== FIX SELECT "Login sebagai" ===== */
/* ===== SELECT ROLE: PUTIH + TEXT HITAM ===== */
.login-form .input.select-role select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: #fff !important;
  color: #000 !important;

  border: 1px solid #ccc !important;
  border-radius: 12px;
  padding: 12px 40px 12px 12px; /* kanan dikasih ruang buat panah */
  font-size: 14px;
  font-weight: 600;

  outline: none;
}

/* option dropdown */
.login-form .input.select-role select option{
  background: #fff !important;
  color: #000 !important;
}

/* panah dropdown hitam */
.login-form .input.select-role::after{
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  pointer-events: none;
  font-size: 14px;
  font-weight: 800;
}

/* icon di kanan jangan nutup panah dropdown */
.login-form .input.select-role i{
  display: none !important;
}



/* Button */
.login-form .btn {
    margin-top: 10px;
    padding: 14px;
    border-radius: 20px;
    border: none;
    background: #7F331A;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,.25);
    transition: 0.2s;
}

.login-form .btn:hover {
    opacity: 0.9;
}

/* ---------- POPUP LAYOUT ---------- */
.login-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 15000;
}

.login-popup-backdrop {
    position: absolute;
    inset: 0;
}

.login-popup-box {
    position: relative;
    width: 90%;
    max-width: 380px;
    background: #fff;
    border-radius: 25px;
    padding: 28px 24px;
    z-index: 2;
    animation: popupScale 0.25s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* Close button */
.login-popup-box .btn-close{
  position: absolute;
  top: 12px;
  right: 12px;

  width: 36px;
  height: 36px;
  border-radius: 10px;

  border: none;
  background: #7F331A;     /* hijau */
  color: #fff;          /* putih */
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;

  z-index: 5;              /* biar pasti di atas */
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.login-popup-box .btn-close:hover{
  transform: scale(1.05);
}


.login-popup-box .btn-close:hover {
    background-color: #fff;
    color: #7F331A;
}

/* Animation */
@keyframes popupScale {
    from { transform: scale(.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsif */
@media (max-width: 400px) {
    .login-popup-box {
        padding: 24px 16px;
    }
    .login-form .btn {
        padding: 12px;
        font-size: 14px;
    }
}
/* Bulat umum */
.count {
    min-width: 40px;
    height: 30px;
    padding: 0 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.538);
}

/* Kuning */
.count.yellow {
    background-color: #fff;
    color: #7F331A;
}

/* Hijau total */
.count.green {
    background-color: #7F331A;
    color: #fff;
    min-width: 34px;
}
/* Tombol Oke di popup sukses */
#flashSuccessPopup #okFlashSuccess {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;

  background: #7F331A;   /* hijau */
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;

  transition: transform .08s ease, opacity .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 22px rgba(20,45,158,.25);
}

#flashSuccessPopup #okFlashSuccess:hover {
  opacity: .95;
}

#flashSuccessPopup #okFlashSuccess:active {
  transform: scale(.98);
  box-shadow: 0 6px 14px rgba(20,45,158,.18);
}

#flashSuccessPopup #okFlashSuccess:focus {
  outline: none;
}

#flashSuccessPopup #okFlashSuccess:focus-visible {
  outline: 3px solid rgba(247, 201, 72, .75); /* kuning highlight */
  outline-offset: 2px;
}/* tombol Oke di popup showSimplePopup() */
#simplePopup .popup-btn{
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  cursor: pointer;

  background: linear-gradient(135deg, #7F331A, #C87430);
  color: #fff;

  box-shadow: 0 10px 20px rgba(40, 98, 60, 0.25);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

#simplePopup .popup-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 26px rgba(20, 45, 158, 0.32);
}

#simplePopup .popup-btn:active{
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(20, 45, 158, 0.22);
}

#simplePopup .popup-btn:focus{
  outline: none;
}

#simplePopup .popup-btn:focus-visible{
  outline: 3px solid rgba(247, 201, 72, .75);
  outline-offset: 2px;
}
/* ===== RAPETIN JARAK VERTIKAL STOK & VARIAN ===== */

/* stok: jangan terlalu naik & padding vertical kecil */
.layarpenuh .checkout .stok{
    /* dari -49px -> -20px (lebih dekat ke varian) */
  padding: 8px 14px;             /* dari 18px atas/bawah -> 8px */
  margin-bottom: 0;              /* pastiin ga nambah jarak */
}

/* kotak angka stok: jangan naik lagi */
.layarpenuh .checkout .stok p{
  transform: none;               /* dari translateY(-13px) -> hilang */
}

/* varian: jangan naik terlalu tinggi */
.layarpenuh .checkout .varian{
  margin-top: -50px;     
transform: translateY(-5px);        /* dari -70px -> -25px (lebih dekat) */
}
.layarpenuh .checkout .varian{
  align-items: flex-start; /* biar semua mulai dari atas rapi */
}

.layarpenuh .checkout .varian .item{
  width: 80px;            /* dari 70px -> 80px biar muat "Sosis solo" */
  text-align: center;
}

.layarpenuh .checkout .varian span{
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.1;
}

/* =========================
   DESKTOP SCALE FIX
   ========================= */
@media (min-width: 1024px) {

    body {
        justify-content: center;
    }

    .layarpenuh {
        max-width: 550px;        /* dari 420 → 600 */
    }

    .layarpenuh .checkout {
        width: min(1100px, 80%);
        margin: 120px auto;
        transform: none;        /* matiin geser HP */
        padding: 40px 30px;     /* isi lebih lega */
        border-radius: 60px;
        margin-top: 100px;
    }

    .layarpenuh .stok {
        transform: none;
        height: 30px;
        gap: 5px;
        font-size: 16px;
        margin-bottom: 80px;
    }

    .layarpenuh .stok p {
        font-size: 18px;
        padding: 12px 15px;
        min-width: 20px;
    }

    .layarpenuh .checkout .varian img {
        width: 56px;
    }

    .layarpenuh .checkout .varian span {
        font-size: 12px;
    }

    .beli {
        transform: none;
        gap: 50px;
    }

    .beli span {
        font-size: 20px;
        padding: 10px 8px;
    }

    .total {
        margin-top: 20px;
        gap: 18px;
    }

    /* give the following section an explicit gap if needed */
    section.ranking,
    .ranking {
        margin-top: 40px;
    }

    .total .price,
    .total .btn {
        font-size: 16px;
        padding: 18px 40px;
    }

    .banyakk {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
}

/* FIX: close button share popup jangan ikut style .btn-close popup lain */
#sharePopup .btn-close{
  position: static !important;     /* penting: jangan absolute */
  width: auto !important;
  height: auto !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;

  background: transparent !important;
  color: #666 !important;
  box-shadow: none !important;

  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
/* =========================
   POPUP POIN - DESKTOP FIX
   ========================= */

/* Box popup default (biar aman di semua ukuran) */
#popupPoin .popup-box{
  width: min(92vw, 520px);
  max-height: 88vh;
}

/* Area swiper wajib punya tinggi biar gambar ga gepeng */
#popupPoin .poinSwiper{
  width: 100%;
}

/* Gambar: jangan di-stretch, jaga rasio */
#popupPoin .poinSwiper img{
  width: 100%;
  height: 100%;
  object-fit: contain;      /* penting: ga kepotong & ga gepeng */
  border-radius: 18px;
}

/* Desktop */
@media (min-width: 1024px){
  #popupPoin .popup-box{
    width: min(92vw, 1100px);
    padding: 28px 26px;
    border-radius: 28px;
  }

  /* KUNCI: kasih tinggi slider di desktop */
  #popupPoin .poinSwiper{
    height: min(62vh, 520px);
  }
}
/* ===== IKLAN/INFO POPUP: PAKSA 1 SLIDE DI SEMUA DEVICE ===== */
.modalIklan .iklan,
.modalIklan .swiper,
.modalIklan .swiper-wrapper,
.modalIklan .swiper-slide {
  width: 100% !important;
}

.modalIklan .swiper-slide{
  display: flex;
  justify-content: center;
  align-items: center;
}

.modalIklan .swiper-slide img{
  width: 100% !important;
  max-width: 520px;      /* desktop biar ga kegedean */
  height: auto !important;
  max-height: 75vh;
  object-fit: contain;
}

/* =========================
   MOBILE: VARIAN "SOSIS SOLO" PRESISI
   ========================= */
@media (max-width: 480px){
  /* item varian dibikin seukuran kotak stok */
  .layarpenuh .checkout .varian .item{
    width: 60px !important;      /* sama kayak .stok p */
    padding: 0 !important;
  }
  

  /* gambar varian dibikin seukuran kotak stok */
  .layarpenuh .checkout .varian img{
    width: 60px !important;
    height: 60px !important;
    padding: 6px !important;     /* biar icon ga mepet */
    border-radius: 12px;         /* biar feelnya sama */
  }

  /* teks bawahnya tetap 2 baris rapi */
  .layarpenuh .checkout .varian span{
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.1;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;

  }

  /* jarak antar varian (kamu bisa atur) */
  .layarpenuh .checkout .varian{
    gap: 6px !important;
  }
}

/* =========================
   MOBILE: VARIAN LEBIH RAPET
   ========================= */
@media (max-width: 480px){
  .layarpenuh .checkout .varian{
    gap: 0px !important;              /* <<< kecilin jarak antar varian */
    justify-content: center;
  }

  .layarpenuh .checkout .varian .item{
    width: 60px !important;           /* <<< sedikit kecil biar makin rapet */
    padding: 12px 0 !important;
  }
}

/* =========================
   DESKTOP: STOK & VARIAN TIDAK BERTUMBUK
   ========================= */
@media (min-width: 1024px){

  /* matiin semua geser2 mobile */
  .layarpenuh .checkout h1,
  .layarpenuh .checkout .stok,
  .layarpenuh .checkout .stok p,
  .layarpenuh .checkout .varian{
    transform: none !important;
  }

  /* hapus margin-top negatif yang bikin numplek */
  .layarpenuh .checkout .varian{
    margin-top: 0 !important;
  }

  /* rapihin jarak antar baris */
  .layarpenuh .checkout h1{
    margin-bottom: 18px;
  }

  .layarpenuh .checkout .stok{
    margin: 0 0 30px 0 !important;   /* jarak ke varian */
    padding: 0 !important;
    gap: 25px !important;
  }

  .layarpenuh .checkout .varian{
    margin: 0 !important;
    padding: 0 !important;
    gap: 18px !important;
  }

  /* kunci ukuran biar sejajar */
  .layarpenuh .checkout .stok p{
    width: 60px;
    height: 60px;
    font-size: 22px;
    margin: 0;
  }

  .layarpenuh .checkout .varian .item{
    width: 60px;
    padding: 0;
  }

  .layarpenuh .checkout .varian img{
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .layarpenuh .checkout .varian span{
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
  }
}
/* =========================
   MOBILE: SAMAIN PADDING KIRI/KANAN STOK & VARIAN (PRESISI)
   ========================= */
@media (max-width: 480px){

  /* stok & varian harus punya padding horizontal yg sama */
  .layarpenuh .stok,
  .layarpenuh .checkout .varian{
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box;
  }

  /* biar item gak “narik” layout */
  .layarpenuh .checkout .varian{
    justify-content: center;
  }
}
@media (max-width: 480px){
  .layarpenuh .checkout .stok{
    gap: 25px !important;
  }
  .layarpenuh .checkout .varian{
    gap: 25px !important;
  }
}
/* =========================
   MODAL KOIN (SAMAKAN DENGAN MENU.PHP)
   Scope: hanya #coinModal biar ga ganggu popup lain
   ========================= */

@keyframes coinSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes coinSlideUp {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-100%); opacity: 0; }
}

/* overlay */
#coinModal.modal{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  pointer-events: none;
}

/* show */
#coinModal.modal.show{
  display: flex;
  pointer-events: auto;

  justify-content: center;
  align-items: flex-start;     /* sama seperti menu: di atas */
  padding-top: 24px;
}

/* animasi */
#coinModal.modal.show .modal-content{
  animation: coinSlideDown .45s ease forwards;
}
#coinModal.modal.hide .modal-content{
  animation: coinSlideUp .45s ease forwards;
}

/* box */
#coinModal .modal-content{
  position: relative;
  width: min(92vw, 520px);
  background-color: rgb(243, 223, 73);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 3px 7px #727272;

  max-height: 88vh;
  overflow: hidden; /* kunci: isi gak bocor */
}

/* swiper */
#coinModal .swiper{
  overflow: hidden !important;
}

#coinModal .swiper-slide img{
  display: block;
  width: 100%;
  height: min(65vh, 520px);
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 3px 4px #727272;
}

/* navigation */
#coinModal .swiper-button-next::after,
#coinModal .swiper-button-prev::after{
  display: none;
}

/* kalau kamu pakai icon i di tombol next/prev (optional) */
#coinModal .swiper-button-next i,
#coinModal .swiper-button-prev i{
  font-size: 36px;
  color: #7F331A;
  cursor: pointer;
}

/* pagination */
#coinModal .swiper-pagination{
  position: relative;
  margin-top: 10px;
}

/* close button */
#coinModal .close-modal{
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  font-size: 28px;
  cursor: pointer;
  color: #7F331A;
}



/* mobile */
@media screen and (max-width: 768px){
  #coinModal .modal-content{
    width: 100%;
    border-radius: 0 0 20px 20px; /* mirip menu */
  }
}

/* FIX warna link poin jadi ga ungu */
.poin-btn,
.poin-btn:visited,
.poin-box a,
.poin-box a:visited{
  color: #fff !important;
  text-decoration: none !important;
}

/* pastiin angka (span) ikut putih */
.poin-btn span,
.poin-box a span{
  color: #fff !important;
}

/* icon coin tetap kuning */
.poin-btn i,
.poin-box a i{
  color: #fff !important;
}
/* ===== FIX: TULISAN INPUT LOGIN JADI PUTIH ===== */
.login-form .input input,
.login-form .input select{
  color: #fff !important;              /* teks yang diketik */
  -webkit-text-fill-color: #fff !important; /* khusus autofill iOS/Chrome */
  caret-color: #fff !important;        /* warna kursor */
}

/* placeholder putih */
.login-form .input input::placeholder,
.login-form .input select::placeholder{
  color: rgba(255,255,255,.85) !important;
}

/* option dropdown juga putih */
.login-form .input select option{
  color: #fff !important;
  background: #7F331A !important; /* biar kontras saat dropdown */
}

/* kalau Chrome autofill bikin kuning & teks gelap */
.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus,
.login-form select:-webkit-autofill{
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0px 1000px #7F331A inset !important;
  transition: background-color 9999s ease-in-out 0s;
}
/* === OVERRIDE FINAL: SELECT "Login sebagai" HARUS HITAM === */
.login-form .input.select-role select{
  background: #fff !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  caret-color: #000 !important;
}

/* option dropdownnya juga hitam */
.login-form .input.select-role select option{
  background: #fff !important;
  color: #000 !important;
}

/* placeholder (kalau ada) hitam */
.login-form .input.select-role select::placeholder{
  color: #000 !important;
}
/* =========================
   FIX CAPTION MENU (MOBILE) - JANGAN KEPOTONG
   taruh PALING BAWAH home.css
   ========================= */
@media (max-width: 480px){
  .layarpenuh .checkout .varian span{
    white-space: normal !important;       /* boleh turun baris */
    overflow: visible !important;
    text-overflow: unset !important;

    display: block !important;
    max-width: 70px;                      /* sesuaikan sama lebar item kamu */
    line-height: 1.1;
    font-size: 11px;                      /* biar muat */
    margin-top: 8px;

    overflow-wrap: anywhere;              /* kalau kata kepanjangan tetap pecah */
    word-break: normal;
  }
}
/* =========================
   LAYOUT STABIL: STOK + VARIAN + PANAH (1 KOLOM)
   taruh PALING BAWAH home.css
   ========================= */

/* matiin geser2 yang bikin numpuk */
.layarpenuh .stok,
.layarpenuh .stok p,
.layarpenuh .checkout .varian,
.beli{
  transform: none !important;
  margin-top: 0 !important;
}

/* container merah jadi 1 kolom center */
.layarpenuh .checkout{
  display: grid;
  justify-items: center;
  align-content: start;
  row-gap: 18px;
}

/* STOK MENU SAAT INI (angka) */
.layarpenuh .stok{
  display: grid;
  justify-items: center;
  row-gap: 10px;
  padding: 0 !important;
}

.layarpenuh .stok p{
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0 !important;
  border-radius: 14px;
}

/* VARIAN: gambar + nama di bawahnya (tengah) */
.layarpenuh .checkout .varian{
  display: grid !important;
  grid-auto-flow: row;
  justify-items: center;
  gap: 8px !important;
  padding: 0 !important;
  width: 100%;
}

.layarpenuh .checkout .varian .item{
  width: auto !important;
  padding: 0 !important;
  display: grid;
  justify-items: center;
}

.layarpenuh .checkout .varian img{
  width: 58px !important;
  height: 58px !important;
  border-radius: 14px;
}

.layarpenuh .checkout .varian span{
  margin-top: 0 !important;
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  max-width: 90px;
  white-space: normal !important;
  overflow: visible !important;
}

/* PANAH + ANGKA DI TENGAH (kolom) */
.beli{
  display: grid !important;
  grid-auto-flow: row;
  justify-items: center;
  gap: 8px !important;
  margin-top: 4px !important;
  color: #C87430;
}

/* panahnya */
.beli .panah{
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 34px;  /* ukuran panah */
}

/* angka qty */
.beli .panah span{
  width: 36px;
  padding: 6px 0 !important;
  border-radius: 10px;
  text-align: center;
  background: #fff;
  color: #7F331A;
  font-weight: 800;
}
/* FIX: checkout jangan ikut transform saat countdown habis */
.layarpenuh .checkout{
  transform: none !important;   /* ngalahin inline transform */
  margin-bottom: 24px;          /* kasih jarak aman ke area total */
}

/* biar area tombol bawah ga naik/numpuk */
.layarpenuh .total{
  margin-top: 12px !important;
}