 /* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.input-with-icons {
    position: relative;
    display: inline-block;
}

.input-with-icons input {
    padding-right: 30px;
    /* Space for the icons */
}

.icon-up-down {
    position: absolute;
    right: 45px;
    top: 35%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.increment-icon-up {
    cursor: pointer;
    margin: 2px 0;
    font-size: 18px;
}

.decrement-icon-down {
    cursor: pointer;
    margin: 2px 0;
    font-size: 18px;
}


.swal2-close {
    font-size: 30px;
    color: #bfbfbf;
    margin-top: 10px;
    margin-right: 10px;
}

.swal2-modal {
    border-radius: 20px;
}

.detail-row {
    display: none;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Warna hitam dengan transparansi */
    z-index: 999;
    /* Tepat di bawah consent banner */
    display: none;
    /* Sembunyikan overlay secara default */
}

/* === GLOBAL BUTTON STYLE === */
.promo-carousel .slick-prev,
.promo-carousel .slick-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    padding: 0;
    cursor: pointer;
}

/* Posisi tombol */
.promo-carousel .slick-prev {
    left: 15px;
}
.promo-carousel .slick-next {
    right: 15px;
}

/* === ICONS === */

/* Icon PREV (<) */
.promo-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 1 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center;
}

/* Icon NEXT (>) */
.promo-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%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 1 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center;
}

.promo-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.promo-image-overlay {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* Button overlay */
.promo-overlay-btn {
    position: absolute;
    bottom: 15px;          /* naik sedikit dari bawah gambar */
    left: 50%;
    transform: translateX(-50%);
    background-color: #bf3136;
    color: #fff;
    padding: 6px 50px;
    border-radius: 100px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
}

.promo-overlay-btn:hover {
    background-color: #e6383e;
}

a:hover.promo-overlay-btn  {
    color: #fff;
}

