@font-face {
    font-family: 'recoleta';
    src: url("https://db.onlinewebfonts.com/t/67415ab41a7350f81536b69763e6d031.eot");
    src: url("https://db.onlinewebfonts.com/t/67415ab41a7350f81536b69763e6d031.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/67415ab41a7350f81536b69763e6d031.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/67415ab41a7350f81536b69763e6d031.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/67415ab41a7350f81536b69763e6d031.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/67415ab41a7350f81536b69763e6d031.svg#Recoleta Regular")format("svg");
}

@font-face {
    font-family: 'simple-letter';
    src: url('../vendor/fonts/simple-letter/Simple-Letter.otf') format('opentype');
    font-style: normal;
}

@font-face {
    font-family: 'pais';
    src: url('../vendor/fonts/pais/Pais-Regular.otf') format('opentype');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'pais';
    src: url('../vendor/fonts/pais/Pais-Medium.otf') format('opentype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'pais';
    src: url('../vendor/fonts/pais/Pais-SemiBold.otf') format('opentype');
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: 'pais';
    src: url('../vendor/fonts/pais/Pais-Bold.otf') format('opentype');
    font-style: normal;
    font-weight: 700;
}

/* :root {
    --primary: #214B73;
    --light-primary: #EBE9D3;
    --soft-primary-1: #FED8A7;
    --soft-primary-2: #74A8DF;
    --soft-primary-3: #A1E3F9;
    --soft-primary-4: #D1F8EF;
    --soft-primary-5: #F2F8D1;
    --soft-primary-6: #E3D1F8;
    --secondary: #FFE889;
    --tertiary: #FBF10D;
    --light: #FAF9ED;
    --dark: #000000;
} */

body {
    padding: 0;
    margin: 0;
    font-family: 'pais', sans-serif;
    font-size: 16px;
    /* background-color: var(--light); */
    max-height: 100vh;
    overflow: hidden;
}

.bg--primary {
    background-color: var(--primary);
}

.bg--light-primary {
    background-color: var(--light-primary)!important;
}

.bg--soft-primary-1 {
    background-color: var(--soft-primary-1)!important;
}

.bg--soft-primary-2 {
    background-color: var(--soft-primary-2);
}

.bg--soft-primary-3 {
    background-color: var(--soft-primary-3);
}

.bg--soft-primary-4 {
    background-color: var(--soft-primary-4);
}

.bg--secondary {
    background-color: var(--secondary)!important;
}

.bg--tertiary {
    background-color: var(--tertiary);
}

.bg--light {
    background-color: var(--light);
}

h1.text-primary {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.border--primary {
    border: 2px solid var(--primary)!important;
}

.font-geist {
    font-family: "recoleta", sans-serif;
}

.font-simple-letter {
    font-family: 'simple-letter', sans-serif;
}

.logo-light {
    filter: brightness(0) saturate(100%) invert(1);
}

.navbar {
    border-bottom: 1px solid #EBE3D6;
}

.navbar-custom {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 3px solid var(--dark);
    box-shadow: 4px 4px 0px 0px var(--dark);
}

.navbar-brand span {
    color: var(--primary);
}

.nav-item {
    padding: 0 1rem;
}

.nav-link {
    font-weight: 600;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--primary) !important;
}

.btn {
    padding: 10px 25px;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-white {
    border: 1px solid var(--primary);
}
.btn-white:hover {
    border: 1px solid var(--primary);
    background: var(--secondary)
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
} 

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--secondary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover>i {
    /* color: var(--primary)!important; */
}

.btn-secondary.btn-back {
    background-color: var(--primary) ;
    color: var(--secondary);
    border: 1px solid var(--secondary);
} 

.btn-secondary.btn-back:hover {
    background-color: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--secondary);
}

.btn-secondary.btn-back:hover>i {
    /* color: var(--primary)!important; */
}

.btn-outline-primary {
    background-color: white;
    border: 2px solid var(--dark);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border: 2px solid var(--dark);
}

.btn:first-child:active:focus-visible,
.btn-outline-primary:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

:not(.btn-check)+.btn-primary:active:focus-visible,
:not(.btn-check)+.btn-outline-primary:active:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

.btn:first-child:active,
:not(.btn-check)+.btn:active,
:not(.btn-check)+.btn-outline-primary:active {
    background-color: var(--primary);
    border: 2px solid var(--dark);
}

.btn-light {
    background-color: var(--light);
    border: 2px solid var(--dark);
}

.btn-light:hover {
    background-color: var(--light);
    border: 2px solid var(--dark);
}

.btn-outline-light {
    background-color: white;
    border: 2px solid var(--dark);
    color: var(--light);
}

.btn-outline-light:hover {
    background-color: var(--light);
    border: 2px solid var(--dark);
}

.btn:first-child:active:focus-visible,
.btn-outline-light:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

:not(.btn-check)+.btn-light:active:focus-visible,
:not(.btn-check)+.btn-outline-light:active:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

.btn:first-child:active,
:not(.btn-check)+.btn:active,
:not(.btn-check)+.btn-outline-light:active {
    background-color: var(--light);
    border: 2px solid var(--dark);
}

.btn-soft-primary-3 {
    background-color: var(--soft-primary-3);
    border: 2px solid var(--dark);
}

.btn-soft-primary-3:hover {
    background-color: var(--soft-primary-3);
    border: 2px solid var(--dark);
}

.btn-outline-soft-primary-3 {
    background-color: white;
    border: 2px solid var(--dark);
    color: var(--soft-primary-3);
}

.btn-outline-soft-primary-3:hover {
    background-color: var(--soft-primary-3);
    border: 2px solid var(--dark);
}

.btn:first-child:active:focus-visible,
.btn-outline-soft-primary-3:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

:not(.btn-check)+.btn-soft-primary-3:active:focus-visible,
:not(.btn-check)+.btn-outline-soft-primary-3:active:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

.btn:first-child:active,
:not(.btn-check)+.btn:active,
:not(.btn-check)+.btn-outline-soft-primary-3:active {
    background-color: var(--soft-primary-3);
    border: 2px solid var(--dark);
}

.btn-soft-primary-5 {
    background-color: var(--soft-primary-5);
    border: 2px solid var(--dark);
}

.btn-soft-primary-5:hover {
    background-color: var(--soft-primary-5);
    border: 2px solid var(--dark);
}

.btn-outline-soft-primary-5 {
    background-color: white;
    border: 2px solid var(--dark);
    color: var(--soft-primary-5);
}

.btn-outline-soft-primary-5:hover {
    background-color: var(--soft-primary-5);
    border: 2px solid var(--dark);
}

.btn:first-child:active:focus-visible,
.btn-outline-soft-primary-5:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

:not(.btn-check)+.btn-soft-primary-5:active:focus-visible,
:not(.btn-check)+.btn-outline-soft-primary-5:active:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

.btn:first-child:active,
:not(.btn-check)+.btn:active,
:not(.btn-check)+.btn-outline-soft-primary-5:active {
    background-color: var(--soft-primary-5);
    border: 2px solid var(--dark);
}

.btn-soft-primary-6 {
    background-color: var(--soft-primary-6);
    border: 2px solid var(--dark);
}

.btn-soft-primary-6:hover {
    background-color: var(--soft-primary-6);
    border: 2px solid var(--dark);
}

.btn-outline-soft-primary-6 {
    background-color: white;
    border: 2px solid var(--dark);
    color: var(--soft-primary-6);
}

.btn-outline-soft-primary-6:hover {
    background-color: var(--soft-primary-6);
    border: 2px solid var(--dark);
}

.btn:first-child:active:focus-visible,
.btn-outline-soft-primary-6:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

:not(.btn-check)+.btn-soft-primary-6:active:focus-visible,
:not(.btn-check)+.btn-outline-soft-primary-6:active:focus-visible {
    box-shadow: 2px 2px 0px 0px var(--dark);
}

.btn:first-child:active,
:not(.btn-check)+.btn:active,
:not(.btn-check)+.btn-outline-soft-primary-6:active {
    background-color: var(--soft-primary-6);
    border: 2px solid var(--dark);
}

.btn {
    border-radius: 17px;
    font-family: 'recoleta', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.btn:hover {
    box-shadow: inset 0 0 0 2px var(--dark);
}

.btn i {
    width: 30px;
    height: 30px;
    padding: 0.3rem;
    border-radius: 0.5rem;
    border: 2px solid var(--dark);
    background-color: white;
}

.btn i.fa-arrow-up::before {
    transform: rotate(45deg);
    display: inline-block;
}

.btn-rounded {
    border-radius: 2rem;
    font-weight: 400;
}

.rounded {
    border-radius: 2rem !important;
}

/* Pewarnaan bintang pada teks marquee */
.primary-star{
    display:inline-block;              /* penting: bikin box terlihat */
    width: 40px;                       /* boleh pakai inline style juga */
    height: 40px;                      /* WAJIB ada */
    margin-bottom: -5px;
    background-color: var(--primary);  /* warna isi ikon */

    /* WebKit (Chrome/Safari) */
    -webkit-mask-image: url('../../assets/img/vector_assets/blue_star4.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    /* Standar */
    mask-image: url('../../assets/img/vector_assets/blue_star4.png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.secondary-star{
    display:inline-block;              /* penting: bikin box terlihat */
    width: 40px;                       /* boleh pakai inline style juga */
    height: 40px;                      /* WAJIB ada */
    margin-bottom: -5px;
    background-color: var(--secondary);  /* warna isi ikon */

    /* WebKit (Chrome/Safari) */
    -webkit-mask-image: url('../../assets/img/vector_assets/yellow_star4.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    /* Standar */
    mask-image: url('../../assets/img/vector_assets/yellow_star4.png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}
/* End pewarnaan bintang pada teks marquee */

/* Marquee bagian beranda */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: absolute;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.marquee-container.two {
    bottom: 25px;
    background-color: var(--primary);
    color: var(--secondary);
    rotate: -0.3deg
}

.marquee-container.one {
    bottom: 85px;
    background-color: var(--secondary);
    color: var(--primary);
    rotate: 2deg
}

.marquee-content.two {
    display: inline-block;
    animation: marquee_right 20s linear infinite;
    padding-top: 10px;
}

.marquee-content.one {
    display: inline-block;
    animation: marquee_left 20s linear infinite;
    padding-top: 10px;
}

.marquee-content span {
    display: inline-block;
}

    /* marquee bagian hasil akhir */
    .marquee-container.hasil-akhir.two {
        bottom: 41vh;
        background-color: var(--primary);
        color: var(--secondary);
        rotate: -0.3deg
    }

    .marquee-container.hasil-akhir.one {
        bottom: 50vh;
        background-color: var(--secondary);
        color: var(--primary);
        rotate: 2deg
    }

    .marquee-content.hasil-akhir.two {
        display: inline-block;
        animation: marquee_left 20s linear infinite;
        padding-top: 10px;
    }

    .marquee-content.hasil-akhir.one {
        display: inline-block;
        animation: marquee_right 20s linear infinite;
        padding-top: 10px;
    }
    /* End marquee bagian hasil akhir */

@keyframes marquee_right {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Bergeser sejauh 50% untuk menutupi konten duplikat */
}

@keyframes marquee_left {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); } /* Bergeser sejauh 50% untuk menutupi konten duplikat */
}
/* End marquee beranda */

.box-content {
    width: 100%;
    padding: 1.5rem 1.5rem;
    /* border-radius: 15px; */
    /* border: 2px solid var(--dark); */
    background-color: var(--light);
    /* background-image: url('../../assets/img/background/bg-grid.png'); */
    /* background-size: cover; */
    /* background-position: left center; */
    position: relative;
}

.box-content.beranda {
    width: 100%;
    padding: 1.5rem 1.5rem;
    /* border-radius: 15px; */
    /* border: 2px solid var(--dark); */
    background-color: var(--soft-primary-7);
    /* background-image: url('../../assets/img/background/bg-grid.png'); */
    /* background-size: cover; */
    /* background-position: left center; */
    position: relative;
}

.box-content-full {
    width: 100%;
    padding: 1.5rem;
    border-radius: 25px;
    border: 3px solid var(--dark);
    background-color: var(--light);
    background-image: url('../../assets/img/background/bg-grid.png');
    background-size: cover;
    background-position: left center;
    position: relative;
}

.box {
    padding: 1rem;
    border-radius: 25px;
    border: 2px solid var(--dark);
    margin: 30px 0 30px 0;
}

.layout.active .box {
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid rgba(104, 111, 202, 0.555)!important;
    box-shadow: 2px 2px 0px 0px var(--secondary);
}

.box-list-frame {
    width: 100%;
    height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
}

.bottom_rectangle_vector {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 15px 15px;
}

/* Page tutorial boking */
.tutorial-img {
    width: 180px;
    height: auto;
    border-radius: 15px;
}

.box.box-langkah {
    padding: 0!important;
    border-radius: 10px;
    max-width: min-content;
}

.box.box-langkah .card-footer {
    background: #fff;
    padding: 10px;
    border-radius: 0 0 10px 10px!important;
    max-width: 200px;
}

.box.box-langkah .card-footer p {
  	font-family: 'geist', sans-serif;
}
/* End page tutorial booking */

/* Page metode pemayaran */
.box-content #foto-pembayaran {
    width: 40vh;
    height: 40vh; 
    object-fit: contain;
    display: block;
    margin: 0;
    border-radius: 13px;
}
/* End page metode pembayaran */

/* Clamp teks deskripsi */
.line-clamp-3{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ---- WRAPPER ---- */
.hero-wrap{
    min-height: 100vh;
    max-height: 100vh!important;
    max-width: 100vw!important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    overflow: hidden!important;
}
.hero-inner{
    width: 100%;
    max-width: 1200px; /* biar headingnya konsisten */
    padding: 0 12px;    /* hindari padding besar yang memotong kiri */
    margin: 0 auto;
}

/* ---- OWL ---- */
#carousel-paket{
    width: 100%;
    margin-top: 1.25rem;
}

/* Penting: hindari clipping kiri-kanan */
#carousel-paket .owl-stage-outer{
    overflow: visible; /* biar shadow card terlihat dan item 1 tidak kepotong */
}

/* Jarak antar item di-handle oleh opsi JS "margin".
    Di sini hanya beri padding kecil agar card tidak nempel ke tepi. */
#carousel-paket .item{
    padding: 2px;
}

/* Card */
.paket-card{
    border: 2px solid rgba(104,111,202,.555);
    border-radius: 16px;
    height: 100%;
}
.paket-card .card-body{
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}
.paket-card h4{ color: var(--primary); margin-bottom: .5rem; }
.paket-harga{ color: var(--soft-primary-8); font-weight: 600; margin-bottom: .75rem; }

/* Biarkan navigasi default Owl, tanpa posisi negatif */
.owl-theme .owl-nav [class*='owl-']:focus{ outline: none; }

/* Page pilih paket */
#carousel-paket a.btn-secondary:hover>i {
    color: var(--secondary)!important;
}

    /* owl carousel */
    .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
        background: var(--primary)!important;
    }
    /* end owl */
/* End page pilih paket */

/* Page pembayaran */
.parent-form-step .form-step {
    /* background: var(--light); */
    padding: 30px;
    min-height: min-content;
    max-height: 55vh;
    min-width: 498px;
    max-width: 500px;
}

.parent-form-step .form-step .input-add-on-foto {
    width: 50%;
    margin: 15px 0 15px 0;
    border: 2px solid var(--light-primary);
    text-align: center;
    border-radius: 12px;
}

.parent-form-step .form-step .input-voucher {
    border-radius: 15px;
    width: 100%;
    height: 50px;
    padding: 0 18px 0 18px
}

.parent-form-step .form-step .input-add-on-foto:focus,
.parent-form-step .form-step .input-voucher:focus {
    box-shadow: none;
}

#btn-add-foto,
#btn-min-foto, 
#btn-add-waktu,
#btn-min-waktu {
    border-radius: 13px;
    background: var(--secondary);
    color: black;
    width: 40px;
    height: 40px;
    text-decoration: none;
    text-align: center;
    padding: 5px;
}

#label-jumlah-foto,
#label-jumlah-waktu {
    padding: 3px 5px;
    border-radius: 5px;
    background: #C7EEFF;
    color: rgba(6, 35, 61, 0.7); /* diubah dari #06233DB2 menjadi rgba dengan opacity ~70% */
    margin-left: 3px;
    font-size: 11px;
}

.box.box-content#container-pembayaran{
    width: 65vw;
}
/* End page pembayaran */

/* Page frame foto */
.category-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 12px; /* Jarak antar tombol */
    margin-bottom: 1rem;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    width: max-content;
    max-width: 90vw;
    -webkit-overflow-scrolling: touch;
}

.category-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar on mobile */
}

.category-scroll-wrapper .category-btn {
    flex: 0 0 auto; /* biar auto-width, tidak mengecil paksa */
    padding: 8px 20px;
    border-radius: 13px;
    background-color: var(--light-primary);
    font-family: 'RB Multima', sans-serif;
    white-space: nowrap;
    border: none;
    scroll-snap-align: start;
    font-weight: normal;
}

.category-scroll-wrapper .category-btn.active {
    background-color: var(--secondary);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.frame-option.selected {
    border: 3px solid var(--light-primary);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--tertiary);
}

.frame-preview {
    max-width: 100%;
    height: 45vh;
}
/* End page frame foto */

/* Page edit foto */
.thumbnail-filter .lut-thumb{ width:200px; height:auto; border-radius:8px; background:#f3f3f3; display:block }
.thumbnail-filter .spinner{ font-size:10px; color:#888; }
.frame-grid .foto-grid{ position:relative; }
.frame-grid canvas.filter-canvas{
    position:absolute; inset:0; width:100%; height:100%; display:none; /* tampil saat ada LUT */
}

.btn.lut-option:hover,
.btn.lut-option:active{
    border: none!important;
    box-shadow: none!important;
    background: none;
}
/* End page edit foto */

/* Page hasil akhir */
section.container-hasil-foto {
    margin-top: 20vh;
}

.box-content.hasil-foto {
    background-repeat: repeat;
    background-size: contain; 
}

.timer-wrapper .box {
    width: max-content;
}

.box-content.title-top {
    height: 35vh; 
    z-index: 1;
    border: 2px solid rgba(104, 111, 202, 0.555);
}

.title-section.hasil-foto {
    font-size: 3rem;
}
/* End page hasil akhir */

/* Bagian track (jalur scrollbar) */
.box-list-frame::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Bagian "isi" scroll (yang digeser) */
.box-list-frame::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/* Bagian latar belakang track */
.box-list-frame::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-filter {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
}
.thumbnail-filter img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.title-section {
    font-size: 5rem;
    font-weight: 800;
    text-shadow: 4px 4px 0px #0096E1;
    color: var(--primary);
}

.scanner {
    width: 200px;
    height: 200px;
    overflow: hidden;
}

.modal-content {
    border: none;
    background-color: var(--light);
    color: var(--primary);
    border-radius: 15px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
}

.modal .box .time {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
}

.box .time {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
}

.box-hasil-foto {
    width: 50vw;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--soft-primary-4);
    position: relative;
    margin: 10px 0 10px 0 !important;
}

.box-hasil-foto .retake-photo,
.foto-grid .retake-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    border: 1px solid var(--light);
    color: var(--light);
    padding: 0.5rem 1rem;
    z-index: 3;
    font-size: 16px;
}

.box-hasil-foto img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.capture-foto {
    aspect-ratio: var(--capture-preview-aspect-ratio, 16/9);
    overflow: hidden;
    position: relative;
}

.capture-foto.loading {
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

#live-camera {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: var(--capture-preview-aspect-ratio, 16/9);
    /* overflow: hidden; */
    /* position: relative; */
}

#camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    z-index: 10;
    transform: scaleX(-1);
}

.capture-foto .timer-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid var(--light);
    font-size: 1.5rem;
    color: var(--light);
}

.list-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid var(--light);
    font-size: 1.5rem;
    color: var(--light);
}

.capture-foto img {
    width: 100%;
    aspect-ratio: var(--capture-preview-aspect-ratio, 16/9);
}

/* Layout 4 Foto */

.frame-edit-layout-4 {
    width: 50vh;
    max-width: 100%;
    background-color: #fff;
    position: relative;
}

.frame-edit-layout-4 .frame-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    /* column-gap: 1rem; */
    row-gap: 0rem;
    width: 100%;
    height: 90%;
    padding: 1.5rem 0.5rem;
    /* background-color: #8ec0f4; */
    position: absolute;
    z-index: 1;
}

.frame-edit-layout-4 .foto-grid {
    width: 100%;
    overflow: hidden;
}

.frame-edit-layout-4 .foto-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.frame-edit-layout-4 .hasil-edit {
    width: 50%;
    aspect-ratio: 1/3;
    pointer-events: none;
}

.frame-edit-layout-4 .hasil-edit {
    width: 50vh;
    max-width: 100%;
    aspect-ratio: 2/3;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.frame-edit-layout-4 .sticker-edit {
    width: 100%;
    aspect-ratio: 2/3;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

 /* Layout 6 Foto  */
.frame-edit-layout-6 {
    width: 50vh;
    max-width: 100%;
    background-color: #fff;
    position: relative;
}

.frame-edit-layout-6 .frame-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    /* column-gap: 1.1rem; */
    row-gap: 0rem;
    width: 100%;
    height: 93%;
    padding: 0.5rem;
    /* background-color: #8ec0f4; */
    position: absolute;
    z-index: 1;
}

.frame-edit-layout-6 .foto-grid {
    width: 100%;
    overflow: hidden;
}

.frame-edit-layout-6 .foto-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.frame-edit-layout-6 .hasil-edit {
    width: 50%;
    aspect-ratio: 1/3;
    pointer-events: none;
}

.frame-edit-layout-6 .hasil-edit {
    width: 50vh;
    max-width: 100%;
    aspect-ratio: 2/3;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.frame-edit-layout-6 .sticker-edit {
    width: 100%;
    aspect-ratio: 2/3;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.carousel-control-prev,
.carousel-control-next {
    width: fit-content;
    height: fit-content;
    align-items: normal;
    justify-content: center;
}

.carousel-control-prev {
    margin-left: 25%;
}

.carousel-control-next {
    margin-right: 25%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e")!important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")!important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border: 1px solid var(--primary);
    border-radius: 50%;
    padding: 1rem;
    background-size: 60%;
    background-color: var(--tertiary);
    color: black;
}

.label-custom {
    font-family: "Geist", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control-custom {
    border: 2px solid var(--dark);
    border-radius: 1rem;
    background-color: var(--light);
    font-family: "Geist", sans-serif;
    font-size: 1.2rem;
    padding: 1rem;
}

input[name="rating"] {
    display: none;
}

.rating label img {
    filter: contrast(30%);
    cursor: pointer;
}

.rating label.active img {
    filter: contrast(100%);
}

.hasil-foto-frame {
    width: 50%;
    aspect-ratio: 93/140;
}

.hasil-foto-frame img {
    width: 100%;
    aspect-ratio: 93/140;
}

.hasil-foto-single {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hasil-foto-single img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.myImg:hover {
    cursor: pointer;
    filter: brightness(0.8); /* 0.8 artinya 80% kecerahan → lebih gelap */
    transition: filter 0.3s ease; /* biar smooth pas hover */
}

@media (min-width: 1400px) {
    .container {
        max-width: 90vw;
    }
}

@media (max-width: 1065px) {
    .timer-wrapper {
        margin-top: 2rem!important;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .primary-star,
    .secondary-star {
        width: 35px;
        height: 35px;
    }

    .title-section {
        font-size: 3rem;
    }

    .box.box-langkah img {
        width: 150px;
    }

    .parent-form-step .form-step {
        min-width: 250px;
    }

    .box.box-content#container-pembayaran{
        width: 100%;
    }

    .box-content #foto-pembayaran {
        height: 170px;
    }

    .box-hasil-foto {
        width: 70vw;
    }

    .carousel-control-prev {
        margin-left: 5%;
    }

    .carousel-control-next {
        margin-right: 5%;
    }

    .timer-wrapper {
        margin-top: 1rem!important;
    }
}

@media (max-width: 490px) {
    .img-pin-atas {
        width: 310px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        margin-top: 2rem;
    }
}

/* Filter */

/* Clarendon */
.filter-clarendon {
    filter: brightness(1.1) contrast(1.3) saturate(1.4);
}

/* Gingham */
.filter-gingham {
    filter: brightness(1.05) contrast(1) sepia(0.2);
}

/* Juno */
.filter-juno {
    filter: contrast(1.2) saturate(1.5) hue-rotate(-10deg);
}

/* Lark */
.filter-lark {
    filter: brightness(1.15) saturate(1.4);
}

/* Ludwig */
.filter-ludwig {
    filter: brightness(1.1) contrast(1.15) saturate(0.85);
}

/* Mono */
.filter-mono {
    filter: grayscale(1);
}