@import url('https://fonts.googleapis.com/css2?family=Figtree&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree', sans-serif;
    background-color: #dfdede;

    /* font-family: 'Muli', sans-serif;
    background: #ddd; */
}

/* ========================== */

.thumbnail {
    position: relative;
    padding: 0px;
    margin-bottom: 20px;
}

.thumbnail img {
    width: 80%;
}

.thumbnail .caption {
    margin: 7px;
}

.main-section {
    background-color: #F8F8F8;

}

.dropdown {
    float: right;
    padding-right: 30px;
}

.btn {
    border: 0px;
    margin: 10px 0px;
    box-shadow: none !important;
}

.dropdown .dropdown-menu {
    padding: 20px;
    top: 30px !important;
    width: 350px !important;
    left: -110px !important;
    box-shadow: 0px 5px 30px black;
}

.total-header-section {
    border-bottom: 1px solid #d2d2d2;
}

.total-section p {
    margin-bottom: 20px;
}

.cart-detail {
    padding: 15px 0px;
}

.cart-detail-img img {
    width: 100%;
    height: 100%;
    padding-left: 15px;
}

.cart-detail-product p {
    margin: 0px;
    color: #000;
    font-weight: 500;
}

.cart-detail .price {
    font-size: 12px;
    margin-right: 10px;
    font-weight: bold;
}

.cart-detail .count {
    color: #C2C2DC;
}

.checkout {
    border-top: 1px solid #d2d2d2;
    padding-top: 15px;
}

.btn-yellow {
    background-color: #FF9800;
    color: white;
}

.yellow {
    background-color: #FF9800;
    color: white;
}

.btn-yellow:hover {
    background-color: #ad6800;
    color: white;
}

.dropdown-menu:before {
    content: " ";
    position: absolute;
    top: -20px;
    right: 50px;
    border: 10px solid transparent;
    border-bottom-color: #fff;
}

.garis-bawah {
    border-bottom: 1px solid #d2d2d2;
}

.garis-atas {
    border-top: 1px solid #d2d2d2;
}

/* ================= */


.shell {
    padding-top: 75px;
    padding-left: 5px;
    padding-right: 5px;
}

.wsk-cp-product {
    background: #fff;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: relative;
    margin: 5px auto;
}

.wsk-cp-img {
    position: absolute;
    top: 0px !important;
    left: 50%;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -o-transform: translate(-50%);
    -khtml-transform: translate(-50%);
    width: 100%;
    padding: 0px !important;
    transition: all 0.2s ease-in-out;
}

.wsk-cp-img img {
    width: 100%;
    /* transition: all 0.2s ease-in-out; */
    border-radius: 6px 6px 0px 0px;
}

/* .wsk-cp-product:hover .wsk-cp-img {
    top: -40px;
}

.wsk-cp-product:hover .wsk-cp-img img {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
} */

.wsk-cp-text {
    padding-top: 100%;
}

.wsk-cp-text .category {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 45px;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.wsk-cp-text .category>* {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -khtml-transform: translate(-50%, -50%);

}

.wsk-cp-text .category>span {
    padding: 12px 30px;
    border: 1px solid #313131;
    background: #212121;
    color: #fff;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
    border-radius: 27px;
    transition: all 0.05s ease-in-out;

}

.wsk-cp-product:hover .wsk-cp-text .category>span {
    border-color: #ddd;
    box-shadow: none;
    padding: 11px 28px;
}

.wsk-cp-product:hover .wsk-cp-text .category {
    margin-top: 0px;
}

.wsk-cp-text .title-product {
    text-align: left;
    height: 45px;
    margin-top: 20px;
}

.detail {
    text-decoration: none;
    color: #000;

}

.detail:hover {
    text-decoration: none;
    color: #FF9800;
}

.card-detail {
    padding: 15px !important;
}


.wsk-cp-text .title-product h3 {
    font-size: 20px;
    /* font-weight: bold; */
    margin: 15px auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

.wsk-cp-text .description-prod p {
    margin: 0;
}

/* Truncate */
.wsk-cp-text .description-prod {
    text-align: center;
    width: 100%;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
}

.product-footer {
    padding: 10px 0 5px;
    border-top: 1px solid #ddd;
}

.product-footer:after,
.product-footer:before {
    content: '';
    display: table;
}

.product-footer:after {
    clear: both;
}

.product-footer .wcf-left {
    float: left;
}

.product-footer .wcf-right {
    float: right;
}

.price {
    font-size: 12px;
    font-weight: bold;
}

a.buy-btn {
    display: block;
    color: #212121;
    text-align: center;
    font-size: 18px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    border: 1px solid #212121;
    transition: all 0.2s ease-in-out;
}

a.buy-btn:hover,
a.buy-btn:active,
a.buy-btn:focus {
    border-color: #FF9800;
    background: #FF9800;
    color: #fff;
    text-decoration: none;
}

.wsk-btn {
    display: inline-block;
    color: #212121;
    text-align: center;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
    border-color: #FF9800;
    background: #FF9800;
    padding: 12px 30px;
    border-radius: 27px;
    margin: 0 5px;
}

.wsk-btn:hover,
.wsk-btn:focus,
.wsk-btn:active {
    text-decoration: none;
    color: #fff;
}

.red {
    color: #F44336;
    font-size: 22px;
    display: inline-block;
    margin: 0 5px;
}

.jarak {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.dropdown-menu {
    width: 350px !important;
    /* background: #6c757d; */
}

.nama-produk {
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-name {
    font-size: 12px;
    /* font-weight: bold; */
}

.deskripsi {
    overflow: hidden;
}

.table td,
.table th {
    vertical-align: middle !important;
}

/* .dropdown-menu::before {
  border-bottom-color: #6c757d !important;
} */

.mt-40 {
    margin-top: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.pb-7 {
    padding-bottom: 7px;
}

.btn-abu {
    background-color: #9ea7af;
    color: white;
}

.tengah {
    margin: auto;
}

.toast-top-right {
    top: 85px !important;
    right: 19px !important;
}

/* Important part */
.modal-dialog {
    overflow-y: initial !important
}

.body-cart {
    height: 47vh !important;
    overflow-y: auto;
}

.bawah {
    z-index: 2;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: silver;
    color: white;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 13px;
}

.btn-search {
    margin: 0px 0px !important;
    background-color: #212529;
    color: white;
}

.search-category {
    padding-right: calc(var(--bs-gutter-x) * .3) !important;
    padding-left: calc(var(--bs-gutter-x) * 0) !important;
}

.search-name {
    padding-left: calc(var(--bs-gutter-x) * .3) !important;
    padding-right: calc(var(--bs-gutter-x) * 0) !important;
}

/* input,
textarea {
    border: 1px solid #eeeeee;
    box-sizing: border-box;
    margin: 0;
    outline: none;
    padding: 10px;
} */

input[type="number"] {
    -webkit-appearance: button;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    margin: 0;
    outline: none;
    padding: 10px;
}

input[type="button"] {
    -webkit-appearance: button;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    margin: 0;
    outline: none;
    padding: 10px;
}

/* 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-group {
    clear: both;
    /* margin: 15px 0; */
    position: relative;
}

.input-group input[type='button'] {
    background-color: #d9d9d9;
    min-width: 27px;
    width: auto;
    transition: all 300ms ease;
}

.input-group .button-minus,
.input-group .button-plus {
    font-weight: bold;
    height: 30px;
    padding: 0;
    width: 38px;
    position: relative;
}

.button-minus {
    border-top-left-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 5px;
}

.button-plus {
    border-top-left-radius: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 0px;
}

.input-group .quantity-field {
    position: relative;
    height: 30px;
    left: 0px;
    text-align: left;
    width: 50px;
    display: inline-block;
    font-size: 13px;
    margin: 0 0 5px;
    resize: vertical;
}

.button-plus {
    left: -13px;
}

.list-cart {
    padding: 15px !important;
}

.f-12 {
    font-size: 12px !important;
}

.f-14 {
    font-size: 14px !important;
}

.hapus {
    color: #778189 !important;
    font-size: 25px;
    margin-top: -4px;
    margin-right: 13px;
}

.checkout {
    padding: 15px !important;
}

.modal-dialog-invoice {
    max-width: 500px;
}

.modal-body-invoice {
    height: 80vh;
    overflow: hidden;
}

iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
}

.btn-block {
    width: 100%;
}

.pb-10 {
    padding-bottom: 10px !important;
}

label {
    padding-bottom: 6px !important;
}

.not-found {
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 170px;
    padding-top: 90px;
}

.not-found img {
    vertical-align: middle;
}


.center-hor {
    text-align: center;
}

/*horizontal center */

.center-vert {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*vertical center*/

@media screen and (max-width: 991px) {
    .wsk-cp-product .wsk-cp-text .category>span {
        border-color: #ddd;
        box-shadow: none;
        padding: 11px 28px;
    }

    .wsk-cp-product .wsk-cp-text .category {
        margin-top: 0px;
    }

    a.buy-btn {
        border-color: #FF9800;
        background: #FF9800;
        color: #fff;
    }

    .dropdown-menu {
        width: 270px !important;
    }

    .search-category {
        padding-right: calc(var(--bs-gutter-x) * 0) !important;
        padding-left: calc(var(--bs-gutter-x) * 0) !important;
    }

    .search-name {
        padding-left: calc(var(--bs-gutter-x) * 0) !important;
        padding-right: calc(var(--bs-gutter-x) * 0) !important;
    }

}

.box {
    width: 100%;
    font-size: 24px;
    color: #fff;
    background: #000;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 80%;
    /* margin-left: 18px; */
    text-align: center;
    margin: 0 auto;
    border-radius: 8px;
}

@media only screen and (min-width: 744px) and (max-width: 1366px) {
    .box {
        width: 100%;
        font-size: 44px;
        color: #fff;
        background: #000;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 80%;
        /* margin-left: 18px; */
        text-align: center;
        margin: 0 auto;
        border-radius: 8px;
    }
}

.blinkme {
    animation: blinker 2s linear infinite;
    padding: 10px;
    text-decoration: underline;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.pin-discount {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    opacity: 0.9;
    font-size: 12px;
    padding: 2px;
    border-radius: 5px
}

.stock {
    background-color: green;
    color: white;
    font-size: 12px;
    padding: 2px;
    border-radius: 5px
}
