@charset "UTF-8";

/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('../vendor/fontawesome/all.min.css');
@import url('../vendor/ionicons/ionicons.min.css');
@import url('../vendor/bootstrap-icons-1.11.3/bootstrap-icons.min.css');
:root {
    --body-font: 'Nunito Sans', 'Noto Sans Thai', sans-serif;
    --body-font-size: 16px;
    --body-color: #f5f5f5;
    --theme-color: #02ca00;
    --theme-color-darker: #089606;
    --theme-color-text: #ffffff;
    --theme-color-gradient: linear-gradient(to left, var(--theme-color) 0%, var(--theme-color-darker) 50.39%, var(--theme-color) 100%);
    --theme-color-hover: #910a11;
    --theme-color-rgba: rgba(2, 202, 0, 1);
    --theme-color-rgba-trans: rgba(2, 202, 0, 0.1);
    --theme-color-rgba-trans-20: rgba(2, 202, 0, 0.2);
    --theme-button-color: rgba(145, 158, 171, 0.08);
    --theme-button-color-hover: rgba(2, 202, 0, 0.15);
}

html {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    overflow-x: hidden!important
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    line-height: 1.4em;
    background-color: var(--body-color);
}

a {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    cursor: pointer;
    color: var(--theme-color);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--theme-color-darker);
}

.flip-x {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

i:before {
    vertical-align: middle;
}

.container {
    /*max-width: 820px;*/
}

.container.bg-white {
    background-color: #fff;
    min-height: calc(100vh - 30px);
}

.copyright-text {
    font-size: small;
    background-color: #343a40;
    color: #fff;
    padding: 0.2rem 1rem;
}

@media all and (max-width: 767px) {
    .container {
        padding: 0;
    }
    .copyright-text {
        padding: 0.2rem 0.5rem;
    }
}


/*----- Scroll Top -----*/

.scroll-top {
    width: 45px;
    height: 45px;
    background: var(--theme-color);
    text-align: center;
    line-height: 22px;
    font-size: 20px;
    color: var(--theme-color-text);
    border-radius: .25rem;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9;
    cursor: pointer;
    transition: all 0.3s ease-out 0s;
    padding: 0.6em;
}

.scroll-top:hover {
    background: var(--theme-color-darker);
    color: var(--theme-color-text);
}


/*----- Theme Custom -----*/

.theme-btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    padding: 0.5em 1.5em;
    border-radius: .25rem;
    cursor: pointer;
    z-index: 5;
    transition: all .4s ease-in-out;
    border: none;
    color: var(--theme-color-text);
    background: var(--theme-color-gradient);
    background-size: 200% auto;
    overflow: hidden;
}

.theme-btn:hover,
.theme-btn:focus {
    background-position: right center;
    color: #fff;
    box-shadow: 0px 0px 30px rgba(255, 96, 86, 0.45);
}

.theme-btn.border-btn {
    padding: 14px 40px;
    background: transparent;
    border: 1.5px solid var(--theme-color);
    color: #6A7C92;
    font-size: 18px;
    box-shadow: none;
}

.btn-theme {
    color: var(--theme-color-text);
    background: var(--theme-color);
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    padding: 0.35em 1.5em;
    border-radius: .25rem;
    cursor: pointer;
    z-index: 5;
    transition: all .4s ease-in-out;
}

.btn-theme:hover,
.btn-theme:focus {
    color: var(--theme-color-text);
    background: var(--theme-color-darker);
}

.btn-default {
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    background-color: #d6d5d5!important;
    border-color: #b3b3b3!important;
    color: #333333!important;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}


/*----- Consent -----*/

.form-check {
    display: inline-flex;
    align-items: center;
    margin-right: 25px;
}

.form-check label,
#deliver-info .form-check label {
    margin-left: 10px !important;
    padding-top: 5px;
}

.form-check .form-check-input {
    border-color: #ccc;
}

.form-check .form-check-input[type=checkbox] {
    border-radius: .25em;
    height: 25px;
    width: 25px;
}

.form-check .form-check-input[type=radio] {
    border-radius: 100%;
    height: 22px;
    width: 22px;
}

.form-switch .form-check-input[type=checkbox] {
    border-radius: 2em;
    border-radius: 2em;
    height: 30px;
    width: 50px;
}

.form-check-input:checked {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.form-check a {
    white-space: nowrap;
    padding: 0 0.25rem;
}

.form-check-input:disabled,
.form-check-input:disabled~.form-check-label,
.form-check-input[disabled]~.form-check-label {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .form-check {
        align-items: start;
        margin-right: 0;
    }
    .form-check-label {
        display: inline-block !important;
    }
}


/*----- Header Bar -----*/

#header__icon {
    padding: 5px 0;
    font-size: .85rem;
    line-height: 1rem;
    display: flex;
    gap: 0.35rem;
}

#header__icon a {
    color: var(--theme-color);
}

#header__top a:hover {
    background-color: var(--theme-color-darker);
}

.header-icon {
    width: 2.75em;
    height: 2.75em;
    filter: drop-shadow(0px 1000px 0 var(--theme-color));
    transform: translateY(-1000px);
    border-radius: 50%;
}

#searchBar {
    background-color: #efefef;
}


/*----- Shop Header -----*/

header {
    padding: 0.5em;
}

.shop-logo {
    width: auto;
    max-height: 60px;
}

.navbar-nav {
    flex-direction: row;
    column-gap: 8px;
    margin-top: 1.5em;
}

.navbar-nav .nav-item .nav-link {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    flex-direction: row;
    flex-shrink: 0;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    user-select: none;
    appearance: none;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    text-transform: unset;
    white-space: nowrap;
    transition: 0.3s;
    outline: 0px;
    margin: 0px;
    border: 0px;
    border-radius: 8px;
    background: var(--theme-button-color);
    min-height: 34px;
    max-height: 34px;
    min-width: 90px;
    max-width: unset;
    opacity: 1;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus {
    background: var(--theme-button-color-hover);
}

.navbar-nav .nav-item .nav-link i {
    margin-right: 0.5em;
}

.nav-pills .nav-link {
    background: var(--theme-button-color);
    color: #333;
    font-weight: 600;
    margin-right: 0.5em;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background: var(--theme-color);
}

.nav-pills .nav-link i {
    margin-right: 0.2em;
}

.nav-pills .nav-link .fa-circle {
    color: #898989;
}

.nav-pills .nav-link.on-live .fa-circle {
    animation: animation1 1.5s linear infinite;
}

.icon-tab {
    height: 24px;
    margin-right: 0.2em;
}

.nav-pills .nav-link.active .icon-tab {
    filter: invert(100);
}

.tab-pane {
    min-height: 447px;
    position: relative;
}

@keyframes animation1 {
    0% {
        color: #333;
    }
    25% {
        color: #ff0000;
    }
    75% {
        color: #ff0000;
    }
    100% {
        color: #333;
    }
}

@media all and (max-width: 767px) {
    .navbar {
        justify-content: center;
        gap: 1rem;
    }
    .navbar-nav {
        margin: 0;
    }
}


/* ---- Product Clip ---- */

#viewplayer {
    margin-top: 1em;
}


/* ---- Flash Sale ---- */

.flsale {
    transform: scale(1.1);
}

#countdown {
    display: flex;
    align-items: center;
}

@media all and (min-width: 768px) {
    .flsale {
        transform: scale(1.4);
        margin-left: 1.75rem;
        margin-top: 0.25rem;
    }
}

.sale-header {
    display: flex;
    align-items: center;
    height: 3.25rem;
    color: var(--theme-color-text);
    padding: 0 1.2rem;
    background-color: var(--theme-color);
    background-image: url(), var(--theme-color-gradient);
    background-image: none;
}

.sale-header-right {
    justify-content: end;
}

.sale-price {
    display: flex;
    align-items: center;
    padding: 1.5rem 1rem;
    background: #fafafa;
}

.price-normal {
    color: #000;
    font-size: 1.875rem;
}

.sale-price.on-sale .price-normal {
    text-decoration: line-through;
    color: #929292;
    font-size: 1.2rem;
    margin-left: 10px;
}

.sale-price .price-sale {
    font-size: 1.875rem;
    font-weight: 500;
    color: #f6001f;
}

.sale-price .price-hilight {
    background-color: #f6001f;
    margin-left: 15px;
    font-size: .85rem;
    color: #fff;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 5px 8px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.sale-amount {
    font-size: 0.85rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
}

.sale-amount strong {
    font-size: 1rem;
    opacity: 1;
    color: #000;
    letter-spacing: 0.5px;
    margin: 0 5px;
}

.sale-amount div {
    margin: 0 0.75rem;
}

#countdown ul {
    margin: 0;
    padding: 0;
}

#countdown li {
    display: inline-block;
    font-size: 0.65rem;
    text-align: center;
    line-height: 0.95rem;
    list-style-type: none;
    padding: 0.55rem 0.2rem;
    background-color: #343a40;
    border-radius: 0.325rem;
    width: 40px;
    height: 40px;
    color: #fff;
    text-transform: uppercase;
}

#countdown li span {
    display: block;
    font-size: 1.2rem;
    text-align: center;
}

#detail-box {
    padding: 0 1rem;
}

#detail-box h1 {
    font-size: 1.75rem;
}

@media all and (max-width: 767px) {
    .sale-header-right {
        padding: 0 0 0 0;
    }
    #countdown li {
        font-size: 0.4rem;
        line-height: 0.9rem;
        padding: 0.45rem 0.1rem;
        width: 34px;
        height: 38px;
    }
    #detail-box {
        padding: 1.5rem 2.25rem;
    }
    #detail-box h1 {
        font-size: 1.45rem;
    }
    /* 
    .sale-price .price-hilight {
        position: absolute;
        left: calc(50% - 25px); 
        right: 0;
        top: 0;
        width: 100px;
        font-size: 1.5em;
        text-align: center;
        white-space: break-spaces;
        padding: .75rem 0;
    }*/
}


/* ---- Product Info ---- */

#summary-detail {
    padding: 0.5em;
}

#page-shopping,
#shopping-cart,
#deliver-info {
    padding: 0.5rem 0rem;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, .12);
}

#shopping-cart.cart-detail {
    padding: 0;
    box-shadow: none;
}

#prod-detail h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1em 0 0.5em 0;
}

h5.tp {
    background-color: #f5f5f5;
    margin-bottom: .75rem;
    padding: .875rem .75rem;
    position: relative;
}


/* ---- Review ---- */

#review .card {
    border-radius: 5px;
    background-color: #fff;
    padding-left: 60px;
    padding-right: 60px;
    margin-top: 1em;
    padding-top: 30px;
    padding-bottom: 30px
}

.rating-box {
    width: 100%;
    height: 130px;
    padding: 1em;
    margin-right: auto;
    margin-left: auto;
    background-color: var(--theme-color);
    color: var(--theme-color-text)
}

.rating-box h1 {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 0;
}

.rating-label {
    font-weight: bold
}

.rating-bar {
    width: 300px;
    padding: 8px;
    border-radius: 5px
}

.bar-container {
    width: 100%;
    background-color: #f1f1f1;
    text-align: center;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 5px
}

.bar-5 {
    width: 70%;
    height: 13px;
    background-color: var(--theme-color);
    border-radius: 20px
}

.bar-4 {
    width: 30%;
    height: 13px;
    background-color: var(--theme-color);
    border-radius: 20px
}

.bar-3 {
    width: 20%;
    height: 13px;
    background-color: var(--theme-color);
    border-radius: 20px
}

.bar-2 {
    width: 10%;
    height: 13px;
    background-color: var(--theme-color);
    border-radius: 20px
}

.bar-1 {
    width: 0%;
    height: 13px;
    background-color: var(--theme-color);
    border-radius: 20px
}

td {
    padding-bottom: 10px
}

#review .fa-star {
    font-size: 1.5em;
    margin-top: 10px;
    margin-bottom: 10px
}

.star-active {
    color: #FBC02D;
}


/*
.star-active:hover {
    color: #F9A825;
    cursor: pointer
}
*/

.star-inactive {
    color: #CFD8DC;
}

.blue-text {
    color: var(--theme-color);
    font-weight: 600;
}

.profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    margin-right: 20px
}

.pic {
    width: 80px;
    height: 80px;
    margin-right: 10px
}

.review-by-wrapper {
    display: flex;
    align-items: center;
}

.review-by {
    display: flex;
    flex-direction: column;
}

.review-by h3 {
    font-size: 1.2rem;
}

#review .review-by .fa-star {
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.cart-pinbox {
    position: absolute;
    z-index: 8;
    top: 0.5rem;
    right: 0.5rem;
    max-width: 50%;
}

.cart-bt-link {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    overflow: hidden;
    display: flex;
}

.cart-bt-link:hover {
    background-color: rgba(0, 0, 0, 0.75);
    transition: 0.5s all;
}

.cart-bt-link span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 1.25rem;
}

.cart-bt-link i {
    margin-right: 0.35rem;
    color: var(--theme-color-text);
    background-color: var(--theme-color);
    font-size: 1rem;
    padding: 0.2rem 0.25rem;
    border-radius: 0.25rem;
}

.cart-bt-link:hover i {
    color: var(--theme-color);
    background-color: var(--theme-color-text);
    transition: 0.5s all;
}


/* ---- Other Product ---- */

#oth-prod {
    padding: 1rem 0;
}


/*
.oth-prod-row {
    display: flex;
    overflow: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
}

.oth-prod-col {
    scroll-snap-align: start;
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1);
    transition: transform .3s ease, box-shadow .3s ease;
    padding: .3rem;
}
*/

.prod-wrapper {
    border: 1px solid #e5e7eb;
    position: relative;
}

.prod-wrapper .img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.prod-wrapper img {
    object-fit: contain;
    max-height: 100%;
    max-width: 100%;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.prodinfo-wrapper {
    padding: 0.5rem;
}

.prod-wrapper p {
    color: initial;
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.7em;
    background-color: #fff;
    padding: 0;
}

.sp-price {
    font-size: 1.15rem;
    font-weight: 500;
    color: #f6001f!important;
    width: 40%;
}

.soldno {
    margin: 0!important;
    padding-left: 0!important;
    font-size: 0.8rem;
    text-align: end;
    width: 60%;
    -webkit-line-clamp: 1!important;
    max-height: 2.2rem!important;
}

@media screen and (max-width: 767px) {
    #oth-prod {
        padding: 0 0.5rem;
    }
}


/*-------- Item Detail --------*/

#items-detail {
    padding: 2em 0.5em;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: var(--body-color);
    padding: 0.5rem;
    font-size: 0.8rem;
}

#gallery {
    position: relative;
}

#gallery .slider {
    position: relative;
}

#gallery .slider img {
    width: 100%;
    height: auto;
}

#gallery .slick-slide {
    height: auto;
}

#gallery .slider-nav .slick-list {
    margin: 10px 26px;
}

#gallery .slider-nav .slick-slide {
    height: auto;
    margin: 0 5px;
    border: 1px solid #dadada;
}

#gallery .slick-prev {
    left: 0;
}

#gallery .slick-next {
    right: 0;
}

#gallery .slick-prev:before,
#gallery .slick-next:before {
    color: #dadada;
    font-size: 25px;
}

#detail-box h1 {
    font-size: 2rem;
}

.pd-price_size_xl {
    font-size: 30px;
    font-weight: 500;
}

.pd-price_size_xs {
    font-size: 14px;
}

.pd-price_color_hilight {
    color: #ee4d2d;
}

.pd-price_type_line-through {
    text-decoration: line-through;
    color: #9e9e9e;
}

.pd-price-sale {
    display: flex;
    margin: 0.5rem 0;
}

.pd-product-price_discount {
    align-items: center;
    background-color: #feeeea;
    border-radius: 2px;
    color: #ee4d2d;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    height: 22px;
    justify-content: center;
    margin-left: 8px;
    padding: 0 4px;
}

.number-spinner .btn-outline-secondary {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    color: #555;
    background-color: #f5f5f5;
    border-color: #ccc;
}

.number-spinner .btn-outline-secondary:hover {
    background-color: #eee;
    border-color: #aaa;
    color: #222;
}

.number-spinner .input-group {
    width: auto;
}

.number-spinner.input-group {
    justify-content: center;
}

.number-spinner .input-group input {
    width: 6rem;
}

#shopping-cart.cart-detail .number-spinner .input-group input {
    width: 3rem;
    padding: .375rem 0;
}

#shopping-cart.cart-detail .number-spinner {
    justify-content: center;
}

#assets-tbl .form-check {
    margin-right: 0;
    width: 100%;
}

#assets-tbl .form-check.type-header {
    display: block;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    padding: 0;
}

#assets-tbl .form-check.type-header .form-check-label {
    margin-left: 0!important;
}

#assets-tbl .form-check+.form-check {
    margin-bottom: 0.75rem;
}

#assets-tbl .form-check .form-check-input[type=checkbox] {
    margin-right: 10px;
}

#assets-tbl .form-check .form-check-label {
    min-width: max-content;
}

#assets-tbl .form-check .prod-attribute {
    width: 70%;
    display: inline-flex;
    align-items: center;
}

#assets-tbl .form-check .input-group.number-spinner {
    justify-content: flex-end;
    width: 30%;
}

#order-detail .row {
    align-items: center;
    margin-bottom: 0.25rem;
}

#order-detail input+label {
    margin: 0 5px 0.5rem 0;
    min-width: 100px;
    min-height: 52px;
    text-align: left;
    display: inline-flex;
    align-items: center;
}

#order-detail label.btn-light {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 4px;
}

#order-detail label img {
    margin: 0 0.5rem 0 0;
}

#order-detail .btn-check:checked+.btn {
    color: var(--theme-color-darker);
    background-color: var(--theme-color-rgba-trans);
    border-color: var(--theme-color-darker);
}

#order-detail .card {
    border-color: var(--theme-color-rgba-trans-20);
    margin-bottom: 1rem;
}

@media screen and (max-width: 1400px) {
    #assets-tbl .form-check .prod-attribute {
        width: 62%;
    }
    #assets-tbl .form-check .input-group.number-spinner {
        width: 38%;
    }
}

@media screen and (max-width: 1200px) {
    #shopping-cart.cart-detail .number-spinner .input-group input {
        width: 5rem;
    }
}

@media screen and (max-width: 991px) {
    .pd-price.my-4 {
        display: flex;
        gap: 1rem;
    }
    .pd-price.my-4 .pd-price-sale {
        margin: 0;
    }
    #assets-tbl .form-check {
        display: table;
    }
    #assets-tbl .form-check .prod-attribute,
    #assets-tbl .form-check .input-group.number-spinner {
        width: 100%;
    }
    #assets-tbl .form-check .input-group.number-spinner .input-group {
        width: 96%;
        margin: 0.5rem 0 1rem 0;
    }
    #shopping-cart.cart-detail .number-spinner .input-group input {
        width: 4rem;
    }
}

@media screen and (max-width: 767px) {
    #items-detail {
        padding: 0;
    }
    #gallery .slider-nav {
        display: none;
    }
}


/*----- Cart -----*/

#cart-list>thead>tr>th {
    font-weight: bold;
    width: 15%;
    text-align: center;
    background-color: #edf2fa;
    border-bottom: solid 1px #dadfe7;
    border-top: solid 1px #dadfe7;
}

#cart-list>thead>tr>th:nth-child(2) {
    width: auto;
    text-align: start;
}

#cart-list>thead>tr>th:nth-child(3) {
    width: 20%;
}

.cart-summary-view #cart-list>thead>tr>th:nth-child(3) {
    width: 25%;
}

#cart-list>thead>tr>th:nth-child(4) {
    width: 15%;
    text-align: end;
    padding-right: 1rem;
}

#cart-list>tbody>tr>td {
    text-align: start;
    line-height: 1.25rem;
}

#cart-list>tbody>tr>td:nth-child(3) {
    text-align: center;
}

#cart-list>tbody>tr>td:nth-child(4) {
    text-align: end;
    padding-top: 1rem;
}

#cart-list.cart-confirm>tbody>tr>td:nth-child(4) {
    padding-right: 1rem;
    padding-top: 0.5rem;
}

#cart-list>tfoot {
    border-top: solid 2px #cfd3db;
    border-bottom: solid 2px #cfd3db;
}

#cart-list>tfoot>tr>th {
    text-align: end;
    font-weight: normal;
    padding: 0rem 0.5rem;
    border-bottom: none;
}

#cart-list>tfoot>tr:first-child>th {
    padding-top: 0.5rem;
}

#cart-list>tfoot>tr:last-child>th {
    padding-bottom: 0.5rem;
}

#cart-list img {
    max-width: 100%;
}

.del-item {
    color: var(--theme-color-darker);
    margin: 0.5rem 0;
    display: block;
}

.del-item::before {
    content: '';
    background: url(../img/trash3-fill.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 17px;
    height: 17px;
    margin-right: 3px;
    margin-bottom: 5px;
    display: inline-block;
    vertical-align: middle;
}

.cart-summary>th {
    font-weight: bold!important;
}

.cart-summary>th:nth-last-child(1) {
    font-size: 1.35rem;
    color: var(--theme-color-darker);
}

@media screen and (max-width: 767px) {
    #cart-list.cart-review-list>thead {
        display: none;
    }
    #cart-list.cart-review-list>tbody>tr {
        display: flex;
        flex-flow: wrap;
        width: 120%;
    }
    #cart-list.cart-confirm.cart-review-list>tbody>tr {
        width: 150%;
    }
    #cart-list.cart-review-list>tbody>tr>td:nth-child(1) {
        width: 30%;
        border-bottom: none;
    }
    #cart-list.cart-review-list>tbody>tr>td:nth-child(2) {
        width: 70%;
        border-bottom: none;
    }
    #cart-list.cart-review-list>tbody>tr>td:nth-child(3) {
        width: 100%;
        padding-top: 0;
    }
    #cart-list.cart-review-list>tbody>tr:last-child>td:nth-child(3) {
        border-bottom: none;
    }
    #cart-list.cart-confirm.cart-review-list>tbody>tr:last-child>td:nth-child(4) {
        border-bottom: none;
    }
    #cart-list.cart-review-list>tbody>tr>td:nth-child(4) {
        display: none;
    }
    #cart-list.cart-confirm.cart-review-list>tbody>tr>td:nth-child(3) {
        width: 25%;
        display: flex;
        order: 2;
        text-align: end;
        justify-content: end;
        font-style: italic;
    }
    #cart-list.cart-confirm.cart-review-list>tbody>tr>td:nth-child(3):before {
        content: 'x'
    }
    #cart-list.cart-confirm.cart-review-list>tbody>tr>td:nth-child(3) .input-group.number-spinner {
        height: auto;
    }
    #cart-list.cart-confirm.cart-review-list>tbody>tr>td:nth-child(4) {
        display: flex;
        width: 75%;
        padding: 0;
        order: 1;
        text-align: start;
        padding-left: 33%;
    }
    #cart-list.cart-confirm.cart-review-list>tbody>tr>td:nth-child(4):before {
        content: '฿'
    }
    #shopping-cart.cart-detail .number-spinner {
        justify-content: end;
    }
    #shopping-cart.cart-detail .number-spinner .input-group input {
        width: 6rem;
    }
    #cart-list.cart-confirm.cart-review-list .input-group.number-spinner {
        width: auto;
    }
}

.otpbox {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2.5rem auto 0.75rem auto;
    width: fit-content;
}

.otpbox input {
    text-align: center;
    font-size: 2em;
    width: 1.8em;
}