@font-face {
    font-family: 'DBHelvethaicaMonX';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/DBHelvethaicaMonX.woff2');
}

@font-face {
    font-family: 'DBHelvethaicaMonXBd';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/DBHelvethaicaMonXBd.woff2');
}

body {
    background-color: #9BD0B3 !important;
    font-family: "DBHelvethaicaMonX" !important;
    font-size: 22px !important;
    font-weight: normal;
    font-style: normal;
    line-height: 1em;
    letter-spacing: normal;
    line-height: 1.5 !important;
    color: #000 !important;
    word-wrap: break-word;
}

:root {
    --swiper-navigation-color: #fff;
    --swiper-navigation-size: 35px !important;
    --peach: #FF9890;
    --radius: 18px;
}

input[type=text],
input[type=email],
input[type=password],
input[type=tel],
input[type=number],
input[type=search],
input[type=date],
textarea,
select {
    width: 100%;
    /* min-height: 44px; */
    padding: 6px 10px;
    font-size: 20px;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #CECECE;
    border-radius: 7px;
    color: #103b40;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type=text]:disabled,
input[type=email]:disabled,
input[type=password]:disabled,
input[type=tel]:disabled,
input[type=number]:disabled,
input[type=search]:disabled,
input[type=date]:disabled,
textarea:disabled,
select:disabled {
    background-color: #f5f5f5;
    color: #a0a0a0;
    border-color: #ddd;
    cursor: not-allowed;
    opacity: 1;
}


input:focus,
textarea:focus,
select:focus {
    border: 1px solid #CECECE !important;
    outline: none !important;
}

input.success {
    background: #d3fff6;
    border-color: #c3f7ec !important;
    box-shadow: none;
    transition: background 0.3s ease;
    margin-top: 0px !important;
}

input.error {
    background: #ffe2e3;
    border-color: #ffd3d5;
    box-shadow: none;
    transition: background 0.3s ease;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #CECECE;
    border-radius: 10px;
}

a {
    color: #103b40 !important;
    text-decoration: none !important;
}

.pagination {
    margin-top: 10px;
}

.page-link {
    font-size: 20px !important;
}

.btn {
    font-size: 22px !important;
}

.table {
    font-size: 20px !important;
    vertical-align: middle !important;
}

/* ------ Swiper's CSS -----  */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
}

.swiper-slide img,
.swiper-slide video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.mySwiper2 {
    height: 80%;
    width: 100%;
}

.mySwiper {
    height: 20%;
    box-sizing: border-box;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    border-radius: 7px;
}

.mySwiper .swiper-slide-video {
    opacity: 1;
    width: clamp(320px, 45vw, 600px);
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
}

.mySwiper .swiper-slide-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    width: 50px !important;
    height: 50px !important;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* ------ End Swiper's CSS -----  */

.products-container {
    padding: 0px 20px 20px 20px;
}

.btn-loading {
    opacity: 1;
    padding: 0 16px;
    transform: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='50px' height='50px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3e%3crect x='0' y='0' fill='none' class='bk'%3e%3c/rect%3e%3ccircle cx='50' cy='50' r='40' stroke='%23fff' fill='none' stroke-width='6' stroke-linecap='round'%3e%3canimate attributeName='stroke-dashoffset' dur='1.5s' repeatCount='indefinite' from='0' to='502'%3e%3c/animate%3e%3canimate attributeName='stroke-dasharray' dur='1.5s' repeatCount='indefinite' values='150.6 100.4;1 250;150.6 100.4'%3e%3c/animate%3e%3c/circle%3e%3c/svg%3e") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 30px !important;
    transition: none;
}

.errors {
    color: #ff0000;
}

.success {
    color: #716056;
}

.errors,
.success {
    padding: 0 5px 5px 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.alert {
    padding: 6px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.alert-info {
    background-color: rgba(33, 150, 243, 0.1) !important;
    color: #2196F3 !important;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1) !important;
    color: #035932 !important;
}

.alert-warning {
    background-color: rgba(243, 148, 64, 0.1) !important;
    color: #f39440 !important;
}

.alert-danger {
    background-color: rgba(244, 67, 54, 0.1) !important;
    color: #F44336 !important;
}

.show_password,
.show_current_password,
.show_new_password,
.show_confirm_new_password {
    position: absolute;
    cursor: pointer;
    display: inline-block;
}

.hide_password,
.hide_current_password,
.hide_new_password,
.hide_confirm_new_password {
    position: absolute;
    cursor: pointer;
}

.toggle_password,
.toggle_current_password,
.toggle_new_password,
.toggle_confirm_new_password {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 10px;
    margin-top: -22px;
    margin-bottom: 20px;
}

.header-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.6), 4px -4px 10px rgba(255, 255, 255, 0.6), -4px 4px 10px rgba(255, 255, 255, 0.6), 4px 4px 10px rgba(0, 0, 0, 0.15);
}

.footer-container {
    width: 100%;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -6px -6px 20px rgba(255, 255, 255, 1), 6px 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 30px 30px 0px 0px;
}

#content {
    padding: 1.2rem 0rem;
}

.link-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.phone-text {
    color: #fff !important;
    text-decoration: none !important;
}

.navbar-social {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.header-menu-follow-social {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}



/* ----- custom navbar ----- */
.navbar-toggle-icon {
    display: inline-block;
    width: 30px !important;
    height: 30px !important;
}

.btn-icon-menu {
    color: #F1F1E7;
}

.btn-icon-menu {
    display: none !important;
}

.navbar-main-social {
    padding: 5px;
    background-color: #9BD0B3;
}

.navbar-main {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.main-menu {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.nav-item,
.un-line {
    border-bottom: 2px dashed #F1F1E7;
}

.nav-item-income {
    border-bottom: none !important;
}

.navbar-menu,
.nav-item,
.nav-link,
.list-item {
    display: flex !important;
    -webkit-box-align: center;
    align-items: center;
    text-decoration: none;
    color: #103b40 !important;
    gap: 5px;
    font-weight: bold;
}

.navbar-menu-register {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #716056;
    color: #716056 !important;
    padding: 2px 9px;
    border-radius: 20px;
    height: 40px;
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.4), -3px 3px 8px rgba(255, 255, 255, 0.4), 3px 3px 8px rgba(0, 0, 0, 0.15);

}

.btn-see-story {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: white !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(7px) saturate(180%);
    -webkit-backdrop-filter: blur(7px) saturate(180%);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 1), -3px 3px 8px rgba(255, 255, 255, 0.4), 3px 3px 8px rgba(0, 0, 0, 0.15);
    padding: 2px 9px;
    padding-top: 20px;
    padding-right: 25px;
    padding-bottom: 20px;
    padding-left: 25px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 0px;
    height: 50px;

}

.navbar-menu-login {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #716056;
    color: white !important;
    padding: 3px 18px;
    border-radius: 20px;
    height: 40px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.4), -3px 3px 8px rgba(255, 255, 255, 0.4), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.btn-select-product {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(7px) saturate(180%);
    -webkit-backdrop-filter: blur(7px) saturate(180%);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.4), -3px 3px 8px rgba(255, 255, 255, 1), 3px 3px 8px rgba(0, 0, 0, 0.15);
    font-size: 25px;
    color: white !important;
    padding: 3px 18px;
    padding-top: 20px;
    padding-right: 40px;
    padding-bottom: 20px;
    padding-left: 40px;
    border-top-left-radius: 18px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
    height: 50px;
}

.nav-link-icon img {
    width: 40px;
    height: 40px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    margin-right: 5px;
}

.nav-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lang-txt {
    color: #103b40;
}

.offcanvas {
    background-color: #FFF9F3;
}

.offcanvas-header {
    background: linear-gradient(135deg, #F7E7C5 0%, #FAD2DC 30%, #9BD0B3 100%) !important;
}

.offcanvas-header .site-header-close {
    padding: calc(var(--bs-offcanvas-padding-y)* .5) calc(var(--bs-offcanvas-padding-x)* .5);
    margin: calc(-.5* var(--bs-offcanvas-padding-y)) calc(-.5* var(--bs-offcanvas-padding-x)) calc(-.5* var(--bs-offcanvas-padding-y)) auto;
}

.site-header-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #fff;
}

/* ----- end custom navbar ----- */

/* ----- custom footer ----- */
.welcome-footer-main {
    padding: 40px 15px 0px;
}

.footer-main-txt-header {
    font-weight: bold;
    font-size: 24px;
    line-height: 1em;
    margin-bottom: 20px;
}

.footer-menu,
.menu-follow-social {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.footer-menu li {
    margin-bottom: 10px;
}

.menu-follow-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

.footer-menu li a {
    font-weight: bold;
    color: #103b40 !important;
    text-decoration: none;
}

.welcome-footer-second {
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid #fff;
    text-align: center;
}

/* ----- end custom footer ----- */
/* ----- custom dropdown ----- */
.dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: none !important;
}

.dropdown-menu.show {
    right: 0 !important;
    left: auto !important;
    margin-top: 7px !important;
}

.dropdown-menu.show li {
    border-bottom: 1px dashed #F1F1E7;
    ;
}

.dropdown-item .icon img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.dropdown-item .text {
    font-weight: bold;
    font-size: 22px;
    color: #103b40;
}

.dropdown-item .text-red {
    font-weight: bold;
    font-size: 22px;
    color: #DC143C;
}



/* ----- end custom dropdown ----- */

.product-banner {
    margin-bottom: 10px;
}

.product_menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    margin-top: 15px !important;
    margin-bottom: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.product_menu a {
    font-weight: bold;
    font-size: 24px;
    line-height: 1em;
    color: #716056 !important;
    transition: .3s ease;
}

.product_menu a:hover,
.product_category a:hover,
.wow_main_blogs:hover {
    transform: scale(1.1);
}

.product_menu_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    padding: 10px 0px;
}

.product_menu_card .img {
    padding: 10px;
    background: #F1F1E7;
    border: 1px dashed;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.product_menu_card img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.product_menu_card .text {
    padding: 15px 0px;
}

.box_header_category {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: 150px;
    background: #716056;
    border-radius: 7px;
    padding: 7px;
}

.box_header_category img,
.box_header_product img {
    width: 70px;
    height: 70px;
}

.box_header_category .text,
.box_header_product .text {
    font-weight: bold;
    font-size: 40px;
    color: #103b40;
}

.box_header_product {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* --- categort --- */

/* .div_product_category {
    margin: 30px 0 60px;
} */

.product_category_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    height: 100%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow:
        -6px -6px 12px rgba(255, 255, 255, 0.6),
        6px 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.product_category_card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        -8px -8px 16px rgba(255, 255, 255, 0.7),
        8px 8px 16px rgba(0, 0, 0, 0.2);
    border-color: #ff6f61;
    background-color: rgba(255, 255, 255, 0.8);
}

.product_category_card .img {
    border-radius: 50%;
    background: radial-gradient(circle at top left, #ffffff, #f0f0f0);
    padding: 14px;
    margin-bottom: 10px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 0.9),
        inset -3px -3px 6px rgba(0, 0, 0, 0.05);
}

.product_category_card .img::after {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0.05));
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product_category_card:hover .img {
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 12px 18px rgba(0, 0, 0, 0.25),
        inset 0 2px 6px rgba(255, 255, 255, 1),
        inset -2px -2px 6px rgba(0, 0, 0, 0.1);
}

.product_category_card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.15));
}

.product_category_card:hover img {
    transform: scale(1.2) rotate(3deg);
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

.product_category_card .text {
    font-size: 25px;
    font-weight: 600;
    color: #444;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.product_category_card:hover .text {
    color: #ff6f61;
}

/* -------------------- */

.page_header_box,
.register_affiliate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.page_header_box img {
    width: 40px;
    height: 40px;
}

.page_header_box .text,
.page_header .text {
    font-weight: bold;
    font-style: normal;
    letter-spacing: normal;
    font-size: 32px;
    color: #103b40;
}

/* .page_content {
    margin: 20px 0px;
} */

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
}

.btn-main,
.btn-register {
    font-weight: bold;
    font-size: 24px;
    font-weight: normal;
    font-style: normal;
    line-height: 1em;
    letter-spacing: normal;
    width: 100%;
    max-width: 150px;
    height: 44px;
    border-radius: 7px;
    color: #fff;
    background: #716056;
    border: none;
    margin: 20px auto 0;
    display: block;
    text-align: center;
    align-content: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    font-weight: normal;
    font-style: normal;
    line-height: 1em;
    letter-spacing: normal;
    width: 100%;
    max-width: 150px;
    height: 44px;
    border-radius: 7px;
    color: #fff !important;
    background: #716056;
    border: none;
    margin: 20px auto 0;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


.btn-save {
    min-width: 150px;
    margin: 20px 0;
    height: 45px;
    border-radius: 7px;
    background: #716056;
    color: #fff;
    font-size: 24px;
    border: none;
}

.btn-search {
    min-width: 100px;
    margin: 20px 0;
    height: 40px;
    border-radius: 7px;
    background: #716056;
    font-size: 24px;
    border: none;
}

.btn-get-link {
    color: #ee4d2d;
    border-color: #ee4d2d;
    background-color: #fff;
    border-radius: 10px;
    padding: 0 7px;
}

.btn-back-login {
    display: flex !important;
    align-items: center !important;
    gap: 5px;
    background: #716056 !important;
    border: none !important;
    font-size: 20px !important;
    width: 170px;
}

.btn-select-img {
    width: 100%;
    max-width: 130px;
    height: 35px;
    margin-top: 10px;
    border-radius: 7px;
    background: #f6f7f9;
    font-size: 20px;
    border: none;
}

.btn-add-product,
.btn-add-address,
.btn-add-blogs,
.btn-add-news,
.btn-add-bank-accounts,
.btn-add-credit-card {
    font-weight: bold;
    font-size: 22px;
    color: #103b40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 120px;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 7px;
    background: #ffc107;
    border: none;
}

.btn-register-affiliate {
    min-width: 150px;
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 25px;
    background: #f05d40;
    color: #fff;
    font-size: 24px;
    border: none;
    transition: transform 0.5s;
    animation: heartbeat 1s infinite alternate;
}

.product_data_page {
    padding: 15px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow:
        -3px -3px 8px rgba(255, 255, 255, 0.5),
        3px -3px 8px rgba(255, 255, 255, 0.5),
        -3px 3px 8px rgba(255, 255, 255, 0.5),
        3px 3px 8px rgba(0, 0, 0, 0.15);
}

.data_product_title {
    font-size: 30px;
}

/* .data_product_price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    font-size: 40px;
    font-weight: bold;
    color: #716056;
    background: #fafafa;
    margin-top: 10px;
    padding: 10px;
    border-radius: 40px;
} */

.data_product_price {
    display: inline-block;
    background: linear-gradient(135deg, #b71c1c, #e53935);
    border-radius: 3px 4px 4px 3px;
    border-left: 1px solid #b71c1c;
    margin-left: 19px;
    position: relative;
    color: #fff;
    font-weight: bold;
    font-size: 32px;
    line-height: 60px;
    padding: 0 15px;
    height: 60px;
    box-sizing: border-box;
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5),
        3px -3px 8px rgba(255, 255, 255, 0.5),
        -3px 3px 8px rgba(255, 255, 255, 0.5),
        3px 3px 8px rgba(0, 0, 0, 0.15);
}

.data_product_price:before {
    content: "";
    position: absolute;
    left: -19px;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-right: 19px solid #b71c1c;
}

.data_product_price:after {
    content: "";
    background-color: white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    position: absolute;
    left: -6px;
    top: 24px;
}


.data_product_quantity,
.data_product_shipping {
    padding: 10px;
}

.data_product_detail {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    width: 170px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 130, 210, 0.25) 0%, transparent 50%), radial-gradient(circle at 80% 25%, rgba(120, 210, 255, 0.25) 0%, transparent 50%), radial-gradient(circle at 25% 80%, rgba(255, 220, 140, 0.25) 0%, transparent 55%), radial-gradient(circle at 75% 75%, rgba(70, 235, 210, 0.25) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(140, 150, 255, 0.25) 0%, transparent 60%), linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.data_shipping_date {
    cursor: pointer;
}

.product_description {
    margin-top: 10px;
    padding: 10px 15px;
}

.product_detail {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow:
        -3px -3px 8px rgba(255, 255, 255, 0.5),
        3px -3px 8px rgba(255, 255, 255, 0.5),
        -3px 3px 8px rgba(255, 255, 255, 0.5),
        3px 3px 8px rgba(0, 0, 0, 0.15);
}

.product_button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #e53935;
    min-width: 170px;
    height: 100%;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 1);
    padding: 7px 12px;
    border: 1px solid #e53935;
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.btn-buy-now,
.btn-order-product,
.btn-purchase-product {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    min-width: 150px;
    height: 100%;
    border-radius: 25px;
    background: #e53935;
    padding: 7px 12px;
    border: 1px solid #fff;
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.decrease_product_quantity,
.increase_product_quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #716056;
    border: 1.5px solid #716056;
    border-radius: 50%;
    padding: 1px 6px;
}

#product_quantity,
.product_quantity_input {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    text-align: center !important;
    padding: 0px !important;
    border-left: 0 !important;
    border-right: 0 !important;
}


@keyframes heartbeat {
    0% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1.1);
    }
}

.user-menu-combination {
    text-decoration: none;
}

.user-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.user-name {
    font-weight: bold;
    color: #103b40;
}

.user-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-setting-sidebar {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}



.list-unstyled li {
    margin-bottom: 10px;
}

.list-item .title-text {
    font-weight: bold;
    font-size: 22px;
    color: #103b40;
}

.list-item .text {
    font-size: 22px;
    font-weight: normal;
    color: #103b40;
}

.list-item .icon-main img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.list-item .icon img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.acc_profile_avatar,
.product_img,
.upload_file_image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #CECECE;
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 10px;
}

.acc_profile_detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.acc_title {
    font-size: 24px;
    margin: 20px 0px;
    color: #fff;
}

.acc_item,
.acc_profile {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.acc_item_label {
    display: flex;
    flex-basis: 165px;
    margin-right: 5px;
}

.acc_item_value {
    width: 100%;
}

.acc_profile_avatar img {
    width: 130px;
    height: 130px;
    border-radius: 100%;
    object-fit: cover;
}

.upload_file_image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.acc_profile_name {
    font-size: 36px;
}

.imageInput {
    cursor: pointer;
}

.product_img img {
    width: 100%;
    height: 100%;
    max-width: 170px;
    max-height: 120px;
    border-radius: 7px;
    object-fit: cover;
}

.page_banner img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    margin-bottom: 15px;
}

.register_affiliate .icon img {
    width: 40px;
    height: 40px;
}

.content_data,
.content_data_period,
.content_key_metrics {
    padding: 15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 1px 4px 0 #4a4a4e29;
    margin-bottom: 15px;
}

.dashboard_panel,
.product-offer-panel,
.page-panel {
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 1px 4px 0 #4a4a4e29;
}

.input_date_range {
    max-width: 250px;
}

.cart-count {
    position: absolute;
    right: -5px;
    top: 15px;
    border-radius: 100%;
    background: #FFF;
    color: #032524;
    font-size: 18px;
    display: flex;
    width: 30px;
    height: 30px;
    padding: 2px 8px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.card_body_prod {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 15px;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow:
        -4px -4px 10px rgba(255, 255, 255, 0.6),
        4px -4px 10px rgba(255, 255, 255, 0.6),
        -4px 4px 10px rgba(255, 255, 255, 0.6),
        4px 4px 10px rgba(0, 0, 0, 0.15);

}

.card_body_prod:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    /* ยกขึ้นตอน hover */
}


.overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 130, 210, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(120, 210, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 30% 75%, rgba(255, 220, 140, 0.20) 0%, transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(70, 235, 210, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(140, 150, 255, 0.25) 0%, transparent 60%);

    background-blend-mode: screen;
    /* ให้สีผสมกันเหมือนแสง */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);

    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}



.card_body_prod:hover .overlay {
    transform: translateY(0);
    opacity: 1;
    animation: overlayBounceUp 0.8s forwards;
}


@keyframes overlayBounceUp {
    0% {
        transform: translateY(100%);
    }

    60% {
        transform: translateY(-8%);
    }

    80% {
        transform: translateY(4%);
    }

    100% {
        transform: translateY(0);
    }

}


.buy-btn {
    background-image: linear-gradient(to right, #DD5E89 0%, #F7BB97 51%, #DD5E89 100%)
}

.buy-btn {
    font-size: 25px;
    margin: 10px;
    padding: 10px 15px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 30px;
    display: block;
}

.buy-btn:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}



.card_body_prod a {
    text-decoration: none;
}

.product_commission {
    min-height: 45px;
    margin-top: 10px;
}

.card_product_img {
    position: relative;
    overflow: hidden;
}

.card_product_img img {
    width: 100%;
    height: 100%;
    border-radius: 5px 5px 0px 0px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card_product_detail {
    padding: 0.8rem;
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    min-height: 160px;
}

.product_title {
    font-weight: bold;
    color: #103b40;
    line-height: 1.2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: break-word;
}

.pro_comm {
    min-height: 20px;
}

.pro_comm img {
    width: 65px;
    height: 16px;
}

.product_price {
    color: #716056;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.total_sell {
    font-size: 16px;
    color: #103b40;
}

.data-overview-card-list {
    padding: 10px;
    border-radius: 7px;
    border: 1px solid #ddd;
    cursor: pointer;
    margin-bottom: 15px;
    background-color: rgba(0, 0, 0, 0.1);
}

.overview-data {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.get_link_product {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 10px;
}

.data-overview-card-list.selected {
    border: 1px solid #ececec;
    box-shadow: 2px 2px 14px 0 #ee4d2d14, inset 0 4px 0 0 #ee4d2d;
    border-radius: 10px;
}

.commRate {
    font-size: 20px;
    font-weight: bold;
    color: #DC143C;
}

.wrapper,
.payment-warp {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.payment-warp {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.welcome_wrapper {
    padding: 0px 2.5px;
    margin-top: -1rem;
}

.login-wrap {
    width: 100%;
    max-width: 400px;
    margin: auto;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}


.register-wrap {
    width: 100%;
    max-width: 650px;
    margin: auto;
    margin-bottom: 20px;
    padding: 20px 15px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.modal .header {
    padding: 15px 15px 0px 15px;
}

.modal .body {
    padding: 0px 15px 0px 15px;
}

.modal .footer {
    padding: 15px;
    text-align: right;
}

.label_as {
    align-items: center;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .03);
    background: #F1F1E7;
    display: flex;
    height: 40px;
    margin-right: 10px;
    max-width: 150px;
    padding: 0 12px;
}

.label_as:hover {
    cursor: pointer;
}

.label_as[aria-checked="true"] {
    border-color: #716056;
    color: #716056;
}

/* .address_location {
    height: 120px;
    position: relative;
    width: 100%;
}

.hFrNuF.kz8c88 {
    cursor: not-allowed;
} */


/* .add_location:disabled {
    background: #fff;
    color: #ccc;
}

.rxnJuz {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
} */

.add-svg {
    margin-right: 7px;
    fill: currentColor;
    height: 15px;
    width: 15px;
}

.add_location {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .03);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 3px 7px;
    position: absolute;
}

.search_address {
    position: absolute;
    right: 60px;
    margin-top: 7px;
    display: none;
}

.clear_search {
    position: absolute;
    right: 40px;
    margin-top: 7px;
    cursor: pointer;
    display: none;
}

.select_address {
    position: absolute;
    right: 20px;
    margin-top: 7px;
}

.address-dropdown-container {
    width: 94%;
    margin-top: 5px !important;
}

.list-menu-address {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border-bottom: 1px solid #CECECE;
}

.list-menu-address li {
    width: 25%;
    list-style: none;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
}

.list-menu-address li.active {
    color: #716056;
    border-bottom: 3px solid #716056;
    cursor: pointer;
}

.list-menu-address li.inactive {
    cursor: not-allowed;
}

.province-list,
.district-list,
.sub-district-list,
.postal-code-list {
    width: 100%;
    height: 100%;
    max-height: 250px;
    overflow-y: scroll;
    padding: 0px;
}

.province-list li,
.district-list li,
.sub-district-list li,
.postal-code-list li,
.banks-dropdown-list li,
.location-dropdown-list li {
    font-size: 20px;
    list-style: none;
    padding: 5px 15px;
}

.province-list li:hover,
.district-list li:hover,
.sub-district-list li:hover,
.postal-code-list li:hover,
.banks-dropdown-list li:hover,
.location-dropdown-list li:hover {
    background: #e9e8e8;
    cursor: pointer;
}

.banks-dropdown-list,
.location-dropdown-list {
    width: 100%;
    height: 250px;
    overflow-y: scroll;
    padding: 0px;
}

.txt_request_account_deletion {
    font-weight: bold;
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
}

.text-delete {
    font-weight: bold;
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
    padding: 25px 10px 10px;
}

.list-menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    border-bottom: 1px solid #CECECE;
}

.list-menu li {
    font-weight: bold;
    font-size: 22px;
    list-style: none;
    margin: 0px 12px;
}

.list-menu li .active {
    color: #716056;
    border-bottom: 3px solid #716056;
    cursor: pointer;
}

.list-menu-purchase {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    position: sticky;
    top: 0;
    overflow-x: auto;
    border-radius: 7px;
    background: #F1F1E7;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.list-menu-purchase li {
    font-weight: bold;
    font-size: 22px;
    list-style: none;
    margin: 0px 12px;
    min-width: 137px;
}

.list-menu-purchase li .active {
    color: #716056 !important;
    border-bottom: 3px solid #716056;
    cursor: pointer;
    padding: 10px 0px;
}

.nav-link-purchase {
    color: #103b40 !important;
    justify-content: center;
}

.wow_fcov_image {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: #f7f7f7;
    border-radius: 10px;
    margin-top: 10px;
}

.wow_fcov_image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    max-height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.wow_fcov_image .upload_ad_image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 10px;
    padding: 15px;
}

.wow_fcov_image .upload_ad_image .upload_ad_image_content {
    color: white;
    font-size: 24px;
}

.blog_img img,
.products_thumbnail img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.table-blog-list a,
.table-news-list a {
    color: #103b40;
    text-decoration: none;
}

.page-thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 7px;
}

.page-title {
    color: rgb(82, 82, 82);
    font-weight: bold;
    font-size: 40px;
    font-weight: normal;
    margin-top: 15px;
}

.page-description {
    font-size: 22px;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin: 15px 0px;
}

.page-content {
    font-size: 22px;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
}

.read-tags .postTag {
    display: inline-block;
    font-size: 22px;
    text-decoration: none;
    padding: 1px;
    border-bottom: 1px solid #103b40;
    margin: 5px;
    font-weight: 500;
    color: black;
}

.wow_content {
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.search-blog {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

}

.popular-blogs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 0 10px;
    margin: 15px 0px;
    border-bottom: 1px solid #eee;
}

.wo_page_hd_text {
    font-weight: bold;
    font-size: 22px;
}

.wo_page_hd .icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #716056;
    color: #ffffff;
    cursor: pointer;
}

.search-blog-input,
.search-news-input {
    border-radius: 20px !important;
    min-width: 320px;
}

.search-products {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    width: 100%;
}

.search-products-input {
    border-radius: 25px !important;
    border: 2px solid #CECECE !important;
    min-width: 380px;
}

.popular-articles {
    padding: 0px;
}

.popular-articles li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    list-style: none;
}

.popular-articles li .article-thumbnail {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    position: relative;
    margin-right: 15px;
    border-radius: 10px;
    object-fit: cover;
}

.popular-articles li .article-title {
    color: #103b40;
    text-decoration: none;
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-blog-result:empty {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.search-blog-result {
    position: absolute;
    z-index: 9;
    margin: 0;
    background: #F1F1E7;
    padding: 10px;
    box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: 45px;
    width: 100%;
    max-width: 320px;
}

.wow_main_blogs {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 15px;
    transition: .3s ease;
}

.wow_main_blogs .thumbnail {
    display: block;
    position: relative;
    padding-bottom: 65%;
}

.wow_main_blogs .thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 9px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    object-fit: cover;
}

.wow_main_blogs .title {
    font-weight: bold;
    font-size: 24px;
    color: #103b40;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 10px;
}

.btn-load-more {
    color: #fff;
    background: #716056;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    height: 40px;
    border-radius: 2em;
    padding: 0 20px;
    margin-top: 15px;
    border: none;
}

/*Empty State*/

.empty_state {
    margin: 25px 0;
    font-size: 24px;
    color: #fff;
    text-align: center;
}

.empty_state svg {
    display: block;
    margin: 0 auto 15px;
    width: 100px;
    height: 100px;
    color: #ffffff;
    background-color: #716056;
    border-radius: 100%;
    padding: 5px;
    opacity: 0.7;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.section_header_title,
.bank_card_acc_no {
    font-weight: bold;
    font-size: 24px;
}

.bank_card_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 20px;
    border-bottom: 1px solid #efefef;
}

.bank_card_bank_name {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.bank_card_logo {
    border: 1px solid rgba(0, 0, 0, .14);
    padding: 4px;
}

.bank_card_logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.bacc-default-badge {
    background: #00bfa5;
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    padding: 3px 7px 2px;
}

.bank_card_button {
    min-width: 140px;
}

/* .location-map{
    width: 100%;
    min-height: 350px;
    margin-top: 10px;
    border-radius: 7px;
} */

#map {
    width: 100%;
    height: 100%;
    min-height: 250px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 7px;
}

#map.disabled {
    pointer-events: none;
    /* Disable interactions */
    opacity: 0.5;
    /* Make it visually disabled */
}


.leaflet-top,
.leaflet-bottom {
    position: absolute;
    z-index: 999 !important;
}

.leaflet-control-attribution {
    display: none !important;
}

.my-address-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.section-username {
    font-weight: bold;
    font-size: 22px;
}

.dividing-line {
    border-left: .5px solid rgba(0, 0, 0, .26);
    margin: 0 8px;
}

.address_button_edit {
    margin-bottom: 10px
}

.status_default {
    border: 1px solid;
    border-radius: 4px;
    border-color: #dc3545;
    color: #dc3545;
    margin: 0 4px 4px 0;
    padding: 2px 4px;
}

.status_pickup_product,
.status_return_product {
    border: 1px solid;
    border-radius: 4px;
    border-color: #ffc107;
    color: #ffc107;
    margin: 0 4px 4px 0;
    padding: 2px 4px;
}

#cartModal .modal-body,
#delete_cartModal .modal-body,
#select_cartModal .modal-body,
#select_addressModal .modal-body,
#stockModal .modal-body,
#copy_trackingModal .modal-body,
#InstallAppModal .modal-body,
#missingCardModal .modal-body,
#successModal .modal-body,
#unsuccessModal .modal-body {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    color: #103b40;
    background: #00bfa5;
    border-radius: 7px;
    border: 1px dashed #fff;

}


#register_successModal .modal-content.register-success {
    text-align: center;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.3s ease-out;
}


#register_successModal .success-icon {
    margin-bottom: 15px;
}

#register_successModal .success-icon img {
    width: 100px;
    height: 100px;
    animation: bounceIn 0.8s ease;
}


#register_successModal .success-text {
    font-family: 'DBHelvethaicaMonXBd';
    font-size: 30px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

@keyframes scaleIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}


.bg-green {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    color: #F1F1E7;
    background: #00bfa5;
}

.register-page,
.login-page {
    text-align: center;
    margin-top: 20px;
}

.register-page .desc,
.login-page .desc {
    color: #716056 !important;
    font-weight: bold;
    margin-left: 7px;
}

.search-products-box {
    margin-left: auto;
    margin-right: auto;
}

.search-cart-input {
    min-width: 400px;
    border-radius: 20px !important;
}

.bt-icon-search {
    margin-left: -42px;
    margin-top: 2px;
}

.icon-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #716056;
    border-radius: 100%;
}

.menu-cart-products {
    min-width: 375px !important;
}

.cart_text_header {
    font-weight: bold;
    font-size: 22px;
    color: #716056 !important;
    padding: 0px 16px 10px 16px;
    border-bottom: 1px dashed #F1F1E7;
}

.cart_product_box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.cart_product_box .product_thumbnail img,
.product_purchase_img img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

/* .cart_product_box .product_name, */
.product_name,
.cart_product_name,
.blog_title,
.product_purchase_name {
    font-size: 22px;
    width: 220px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cart_product_box .product_price {
    font-size: 20px;
}

.my_shopping_cart {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff !important;
    width: 130px;
    height: 40px;
    background-color: #716056;
    border-radius: 10px;
    padding: 5px 10px;
    text-align: center;
    float: right;
    margin: 10px 10px 5px 10px;
}

.empty_cart_message {
    font-size: 20px;
    padding: 10px 16px 10px 16px;
}

.cart_product_thumbnail img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.total_product_price {
    font-weight: bold;
    font-size: 30px;
    color: #716056;
    text-align: right;
}

.cart_accessibility_footer {
    position: sticky;
    bottom: 0;
    left: 0;
    background-color: #F1F1E7;
    /* or any background color you prefer */
    z-index: 1000;
    /* Ensure it stays on top of other content */
    padding: 15px;
    /* Adjust padding to fit your layout */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    /* Optional for some styling */
    font-size: 24px;
}

.purchase_section,
.product_detail_section,
.payment_detail_section,
.discount_code_section {
    border-radius: 30px;
    padding: 15px 25px 15px;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

}

.address_header .text,
.product_detail_header .text,
.payment_detail_header .text {
    font-size: 25px;
    font-weight: bold;
    color: #716056;
}

.table-purchase-product {
    --bs-table-bg: #F1F1E7 !important;
}

.payment_grid {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 0;
}

.payment_grid label {
    text-align: left;
    color: #103b40;
    min-width: 150px;
}

.payment_grid .text {
    text-align: right;
    min-width: 100px;
    color: #103b40;
}

.text_total_payment {
    font-weight: bold;
    font-size: 40px;
    color: #716056;
}

.btn-buy-product-section,
.order_total_section,
.shipping_option_section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px dashed rgba(0, 0, 0, .09);
    padding: 20px 0px 5px 0;
}


.order_total_section .text {
    font-weight: bold;
    font-size: 30px;
    color: #716056;
}

.box_main_header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.box_main_header .dividing_line {
    border-left: 2px solid #fff;
    padding-left: 15px;
}

.payment-methods {
    transition: opacity 0.3s ease-in-out;
    background: #fff;
    padding: 10px;
    border-radius: 7px;
}

.payment-methods.show {
    opacity: 1;
}

.payment-option {
    color: #103b40;
    font-size: 22px;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.payment-option.active {
    background-color: red;
    color: white;
}

.payment-option.disabled {
    pointer-events: none;
    opacity: 0.5;
    background-color: #eee;
    color: gray;
    cursor: not-allowed !important;
}

.paymentLabel_c {
    font-weight: bold;
    font-size: 22px;
    color: #103b40;
}


.mobileBanking-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: #103b40;
    font-size: 22px;
    font-weight: bold;
}

#collapse_mobileBanking {
    margin-top: 5px;
}

.mobileBanking-option.active {
    border: 2px solid #716056;
}

.data_total_sell {
    font-weight: bold;
    font-size: 24px;
    padding: 10px 0px;
}

.data_product_commission {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #F1F1E7;
    margin-top: 10px;
    padding: 15px 20px;
    border-radius: 30px;
}

.data_product_commission .commRate {
    font-weight: bold;
    font-size: 20px;
}

.thead-cart-list {
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.text-shipping {
    font-weight: bold;
    font-size: 22px;
}

.data_shipping_date_content_md {
    font-size: 20px;
    color: #716056;
}

.shipping-to {
    display: flex;
    align-items: flex-start;
    font-size: 20px;
    gap: 5px;
    cursor: pointer;
}

.shipping-to .label {
    flex: 0 0 auto;
    font-weight: bold;
}

.shipping-to .add-address {
    font-weight: bold;
    color: #b71c1c;
    ;
    padding: 0px 5px;
    border-radius: 5px;
    border: 2px solid;
    background: #fff0f0;
}

.shipping-to .address {
    flex: 1;
    white-space: normal;
    word-break: break-word;
    text-indent: -1.5em;
    padding-left: 1.5em;
    line-height: 1.5;
}

.out_of_stock {
    font-weight: bold;
    font-size: 24px;
    margin-left: 90px;
}

.cart_out_of_stock {
    width: 90px;
    background-color: #a3a3a3;
    border-radius: 25px;
    font-size: 18px;
    text-align: center;
    padding: 5px 0px;
    color: #fff;
}

.box_main_purchase {
    border-radius: 7px;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05);
    margin: 12px 0;
    padding: 12px 20px;
    background-color: #f5f5f5;
}

.box_main_purchase_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-size: 22px;
    border-bottom: 1px solid rgba(0, 0, 0, .09);
}

.purchase_status,
.pay_text {
    color: #716056;
    font-weight: bold;
}


.product_list_content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0px;
    border-bottom: 1px dashed rgba(0, 0, 0, .09);
}

.product_image img {
    background: #e1e1e1;
    border: 1px solid #e1e1e1;
    flex-shrink: 0;
    height: 80px;
    width: 80px;
    border-radius: 10px;
}

.pur_de {
    display: flex;
    flex-direction: column
}

.cancel_order,
.purchase_again {
    min-width: 100px;
}

.payment_content {
    padding: 15px 20px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.box_main_header_payment {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .09);
}

.total_payment,
.pay_within {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 22px;
    font-weight: bold;
}


.qr_code_img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.qr_code_img img {
    width: 220px;
    height: 220px;
}

.ic_prompt_pay {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin-top: 10px;
    background-color: #0e3d67;
}

.ic_prompt_pay img {
    height: 46px;
    margin: 4px auto;
}

.order_amount {
    margin-top: 10px;
    text-align: center;
    color: #716056;
    font-size: 30px;
    font-weight: bold;
}

.recommend_warp {
    padding: 0px 10px;
    margin-top: 20px;
}

.pay_within_date {
    color: rgba(0, 0, 0, .54);
}

.payment_note {
    color: rgba(0, 0, 0, .54);
    font-size: 18px;
    margin: .75rem auto .5rem;
    padding: 0 .75rem;
}

.payment_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 0 40px;
    position: sticky;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.btn-save-qr {
    min-width: 150px;
    margin: 20px 0;
    height: 45px;
    border-radius: 10px;
    background: #716056;
    color: #fff;
    font-size: 24px;
    border: none;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.btn-agree {
    width: 150px;
    height: 40px;
    border-radius: 7px;
    color: #fff;
    background: #716056;
    border: #716056;
}

.main-search-products {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-search-products {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: #716056;
    margin-left: -43px;
    cursor: pointer;
}

.main-label {
    background: #F1F1E7;
    padding: 6px;
    border-radius: 10px;
}

.product_shipped_by,
.product_tracking_number {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 22px;
    padding: 10px 0px 0px;
}

.shipped_by,
.tracking_number_text {
    color: #DC143C;
    margin-left: 5px;
}

.shipped_icon {
    margin: 0px 5px 0px 15px;
}

.dividing_line_top_purchase {
    border-top: 1px dashed #DC143C;
}

.btn-copy-tracking {
    margin-left: 15px;
    font-size: 18px !important;
}

/* Loading Popup Styles */
.loading-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.2);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* -----  payment success ----- */

.success-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 20px 15px;
    background-color: #f9f9f9;
    border-radius: 12px;
}

.success-icon {
    font-size: 60px;
    color: #4BB543;
}

.success-message {
    font-size: 24px;
    font-weight: bold;
    color: #716056;
    margin-bottom: 10px;
}

.order-id,
.payment-method,
.order-amount {
    font-size: 22px;
    color: #555;
    margin-bottom: 10px;
}

.success-subtext {
    font-size: 20px;
    color: #777;
    margin-bottom: 30px;
    text-align: center;
}

.btn-return {
    background-color: #716056;
    color: #fff !important;
    padding: 12px 24px;
    font-size: 22px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-return:hover {
    background-color: #42BF2A;
}

.pay-link {
    font-size: 20px;
    font-weight: bold;
    color: #F1F1E7 !important;
    background-color: #716056;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.btn-cancel {
    font-size: 20px;
    font-weight: bold;
    color: #f72222 !important;
    border: none;
    background: none;
}

.total_income_data {
    font-size: 35px;
    font-weight: bold;
    color: #716056;
}

#cvvInfoModal {
    display: none;
    position: fixed;
    z-index: 1061;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#customBackdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1060;
}

/* ปรับวงกลม radio */
.form-check-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-radio-circle {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

input[type="radio"]:checked+label .custom-radio-circle {
    background-color: #716056;
}

input[type="radio"]:checked+label .card-option {
    border: 2px solid #716056;
    background-color: #eaf3ff;
    box-shadow: 0 0 0.5rem rgba(13, 110, 253, 0.2);
    transform: scale(1.01);
}

input[type="radio"]:checked+label .card-icon {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.transition-all {
    transition: all 0.3s ease;
}

.payment-setting-section {
    padding-top: 20px;
    padding-bottom: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.payment-setting-sub-title {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
    border-left: 4px solid #ee4d2d;
    text-indent: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-setting-tax-form-title {
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 30px;
}


.payment-setting-tip,
.payment-setting-title-tip {
    margin-top: 4px;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 30px;
    color: #999;
}


.sticky-bottom {
    background: #F1F1E7;
    border-radius: 16px;
}


.forgot_password {
    text-align: right;
    margin-top: 25px;
}

.forgot_password .txt {
    color: #716056 !important;
    font-weight: bold;
}

.preview_product {
    margin-top: 5px;
    padding: 10px 20px 10px 20px;
    border-radius: 30px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 130, 210, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 25%, rgba(120, 210, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 25% 80%, rgba(255, 220, 140, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 75% 75%, rgba(70, 235, 210, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(140, 150, 255, 0.25) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
    background-blend-mode: screen;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow:
        -4px -4px 10px rgba(255, 255, 255, 0.6),
        4px -4px 10px rgba(255, 255, 255, 0.6),
        -4px 4px 10px rgba(255, 255, 255, 0.6),
        4px 4px 10px rgba(0, 0, 0, 0.15);
}

.benefit1_wrapper,
.benefit2_wrapper,
.storytelling_wrapper {
    margin-top: 30px;
    padding: 15px;
}

.section_benefit_title {
    position: absolute;
    top: -30px;
    left: 30px;
    background: #4c4c4c;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 18px;
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.section_benefit {
    position: relative;
    padding-top: 40px;
    padding-right: 30px;
    padding-bottom: 20px;
    padding-left: 30px;
    border-radius: 30px;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow:
        -4px -4px 10px rgba(255, 255, 255, 0.6),
        4px -4px 10px rgba(255, 255, 255, 0.6),
        -4px 4px 10px rgba(255, 255, 255, 0.6),
        4px 4px 10px rgba(0, 0, 0, 0.15);

}

.section_benefit_2 {
    position: relative;
    padding-top: 40px;
    padding-right: 30px;
    padding-bottom: 20px;
    padding-left: 30px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow:
        -4px -4px 10px rgba(255, 255, 255, 0.6),
        4px -4px 10px rgba(255, 255, 255, 0.6),
        -4px 4px 10px rgba(255, 255, 255, 0.6),
        4px 4px 10px rgba(0, 0, 0, 0.15);
}

.cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.section_benefit_content {
    font-size: 30px;
    text-align: justify;
}

.section_benefit_img {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.section_benefit_img img {
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.6), 4px -4px 10px rgba(255, 255, 255, 0.6), -4px 4px 10px rgba(255, 255, 255, 0.6), 4px 4px 10px rgba(0, 0, 0, 0.15);
}


/* ===== Overlay ===== */
.modal3d-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(10, 12, 16, .45);
    backdrop-filter: blur(6px);
    z-index: 9990;
    opacity: 0;
    pointer-events: none;
    transition: opacity .36s ease;
    overflow: hidden;
}

.modal3d-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

body.modal-open {
    overflow: hidden;
}

/* ===== Bubble core ===== */
.bubble3d {
    position: absolute;
    width: clamp(260px, 40vmin, 520px);
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: transparent;
    box-shadow:
        inset 0 10px 28px rgba(255, 255, 255, .50),
        inset 0 -14px 24px rgba(0, 0, 0, .25),
        0 12px 28px rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .20);
    transform: scale(.92);
    opacity: 0;
    transition: transform 1s cubic-bezier(.2, 1, .2, 1), opacity .6s ease;
}

.modal3d-overlay.open .bubble3d {
    transform: scale(1);
    opacity: 1;
}


.bubble3d::before {
    content: "";
    position: absolute;
    inset: -2%;
    border-radius: 50%;
    background:
        conic-gradient(from 200deg at 50% 50%,
            transparent 0 8%,
            rgba(255, 130, 210, .55) 15%,
            rgba(120, 210, 255, .55) 35%,
            rgba(255, 220, 140, .45) 55%,
            rgba(70, 235, 210, .55) 70%,
            rgba(140, 150, 255, .55) 85%,
            transparent 98% 100%);
    mix-blend-mode: screen;
    filter: blur(6px);
    opacity: .9;
    -webkit-mask: radial-gradient(circle, transparent 46%, black 61%);
    mask: radial-gradient(circle, transparent 46%, black 61%);
    z-index: 1;
}


.bubble3d::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(70% 65% at 50% 55%, rgba(0, 0, 0, .45), transparent 65%);
    mix-blend-mode: multiply;
    filter: blur(4px);
    opacity: .85;
    z-index: 0;
}


.shine {
    position: absolute;
    inset: -25%;
    border-radius: 50%;
    background:
        radial-gradient(180px 140px at 22% 15%, rgba(255, 255, 255, .95) 0 40%, transparent 70%),
        radial-gradient(34px 28px at 32% 12%, rgba(255, 255, 255, 1), transparent 60%),
        radial-gradient(220px 180px at 18% 80%, rgba(255, 180, 100, .35), transparent 60%),
        radial-gradient(240px 200px at 78% 72%, rgba(60, 230, 255, .45), transparent 62%),
        radial-gradient(220px 180px at 58% 78%, rgba(230, 120, 255, .32), transparent 62%),
        radial-gradient(140px 100px at 52% 82%, rgba(255, 255, 255, .9), transparent 65%);
    mix-blend-mode: screen;
    filter: blur(1.2px);
    opacity: .95;
    z-index: 2;
}

@supports (-webkit-touch-callout: none) {
    .shine {
        display: block !important;
        background: none !important;
        filter: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}


.bubble3d>img {
    width: clamp(120px, 40%, 300px);
    max-height: 40%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    opacity: .98;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15));
    margin-top: 55px;
    pointer-events: none;
    animation: heartbeat 2.5s ease-in-out infinite;
}

.bubble-text {
    position: absolute;
    top: 30%;
    left: 53%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    pointer-events: none;
    z-index: 5;
}

.bubble-text .type {
    font-size: clamp(28px, 4.2vmin, 46px);
    font-weight: 800;
    letter-spacing: .4px;
    white-space: nowrap;
    background: linear-gradient(90deg, #fff, #eef6ff, #b8fff0, #f5d4ff, #ffe7bf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: .35px rgba(255, 255, 255, .25);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35), 0 0 22px rgba(124, 77, 255, .22);
    position: relative;
}

.bubble-text .wink {
    font-size: clamp(18px, 2.6vmin, 28px);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, .95)) drop-shadow(0 0 18px rgba(255, 255, 255, .75));
    animation: winkTwinkle 2.2s ease-in-out infinite;
}

@keyframes winkTwinkle {

    0%,
    100% {
        transform: translateY(-2px) rotate(0) scale(1);
    }

    50% {
        transform: translateY(-3px) rotate(18deg) scale(1.5);
    }
}


/* ===== แตกแล้วหาย ===== */
.bubble3d.pop {
    animation: pop-burst .65s ease-out forwards;
    pointer-events: none;
}

.bubble3d.pop::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .9);
    animation: ring .65s ease-out forwards;
}

@keyframes pop-burst {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: none;
    }

    35% {
        transform: scale(1.12);
    }

    60% {
        transform: scale(.92);
        filter: blur(2px);
    }

    100% {
        transform: scale(.40);
        filter: blur(12px);
        opacity: 0;
    }
}

@keyframes ring {
    0% {
        transform: scale(.40);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ลด motion */
@media (prefers-reduced-motion: reduce) {

    .bubble3d,
    .bubble3d::before,
    .shine {
        animation: none !important;
        transition: none !important;
    }

    .bubble3d {
        transform: none;
        opacity: 1;
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1.1);
    }
}

/* เริ่มซ่อน */
.fun-bounce,
.fun-zoom {
    opacity: 0;
}

/* bounce effect */
.fun-bounce.show {
    opacity: 1;
    animation: bounceIn 1s ease forwards;
}

/* zoom effect */
.fun-zoom.show {
    opacity: 1;
    animation: zoomIn 1s ease forwards;
}


.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}


@keyframes bounceIn {
    0% {
        transform: scale(0.5) translateY(200px);
        opacity: 0;
    }

    60% {
        transform: scale(1.1) translateY(-20px);
        opacity: 1;
    }

    80% {
        transform: scale(0.8) translateY(10px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.notification {
    width: 320px;
    height: 70px;
    position: absolute;
    left: 15px;
    bottom: 255px;
    display: flex;
    align-items: center;
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}


/* Hero */
.hero {
    position: relative;
    background: url("../img/product_banner/bg1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    border-radius: 0px 0px 30px 30px;
    overflow: hidden;
    box-shadow:
        -6px -6px 20px rgba(255, 255, 255, 0.6),
        6px -6px 20px rgba(255, 255, 255, 0.6),
        -6px 6px 20px rgba(255, 255, 255, 0.6),
        6px 6px 20px rgba(0, 0, 0, 0.15);

}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1;
}


.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.hero-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(7px) saturate(180%);
    -webkit-backdrop-filter: blur(7px) saturate(180%);
    box-shadow:
        -3px -3px 8px rgba(255, 255, 255, 0.5),
        3px -3px 8px rgba(255, 255, 255, 0.4),
        -3px 3px 8px rgba(255, 255, 255, 0.4),
        3px 3px 8px rgba(0, 0, 0, 0.15);
}

.hero-card .head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 15px;
}

.hero-card .text1 {
    font-size: 30px;
    font-weight: bold;
}

.hero-card .text2 {
    font-size: 22px;
}

.hero-card .video {
    width: clamp(320px, 45vw, 600px);
    height: 100%;
    border-radius: 16px;
    margin: 14px auto 0;
    background: linear-gradient(135deg, #ffe8e4, #e6fbff);
    overflow: hidden;
}

.badge {
    display: inline-block;
    background: white;
    border-radius: 999px;
    padding: 6px 12px;
    border: 2px solid rgba(0, 0, 0, .08);
    font-size: 12px;
    font-weight: 700
}

.headline {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.12;
    text-align: center;
    margin: 12px 0 14px
}

.sub {
    font-size: 30px;
    text-align: center;
    opacity: .9
}

.play {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #e9f9fb);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible;
}

.play svg {
    width: 50px;
    height: 50px;
    fill: #000
}

.play::before,
.play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(77, 208, 225, 0.5);
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: play-pulse 3s ease-out infinite;
}

.play::after {
    animation-delay: 1.5s;
}

@keyframes play-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    70% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px
}

/* Sections */

/* -------user review--------- */
.user_feedback .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.user_feedback .swiper-slide {
    opacity: 1 !important;
    padding: 15px 20px;
    border-radius: 30px;
    height: auto;
    box-sizing: border-box;
    display: flex;
}

.u-feed-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.7);
}

.u-feed-review {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.u-feed-review .user-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
    width: 100%;
}

.u-feed-review .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.u-feed-review .user-name {
    font-weight: bold;
    color: #F1F1E7;
}


.u-feed-review .review-rating {
    color: #FFD700;
    margin: 8px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.u-feed-review .review-message {
    flex-grow: 1;
    font-size: 20px;
    color: #333;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.u-feed-review .review-time {
    font-size: 18px;
    color: #888;
    margin-bottom: 10px;
    text-align: left;
    /* ✅ เวลาก็ชิดซ้าย */
    width: 100%;
}

.u-feed-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* ✅ ปุ่ม Like ชิดซ้าย */
    gap: 8px;
}

.like-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 25px;
    color: #c5c5c5;
    transition: color 0.3s;
}

.like-btn.liked {
    color: red;
}

.like-count {
    font-weight: bold;
    color: #103b40;
}


/* ---------------------- */

.section-title {
    font-size: 50px;
    font-weight: bold;
    margin: 20px 0px 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.channel_wrapper {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.channel_item {
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
}

.channel_item:hover {
    transform: translateY(-6px);
}

.icon_box img {
    width: 45px;
    height: 45px;
    /* filter: invert(0) brightness(0) saturate(100%); */
}

.icon_box.fb {
    background: #1877F2;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}


.icon_box.ig {
    background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fdf497 20%, #fd5949 50%, #d6249f 75%, #285AEB 100%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}


.icon_box.line {
    background: #06C755;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}


.icon_box.tiktok {
    background: #000000;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}


.icon_box.yt {
    background: #FF0000;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.coupon {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
    display: flex;
    align-items: stretch;
    text-transform: uppercase;
    filter: drop-shadow(0 -4px 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 4px 4px rgba(255, 255, 255, 0.9));
}

.coupon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 0 50%, transparent 25px, #fff 26px);
    z-index: -1;
}

.coupon>div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-head {
    width: 75px;
    border-right: 2px dashed rgba(0, 0, 0, 0.3);
}

.coupon-head .text {
    transform: rotate(-90deg);
    white-space: nowrap;
    color: #000;
    font-weight: bold;
    margin-left: 15px;
}

.coupon-body {
    flex-grow: 1;
    text-align: center;
    background-image: radial-gradient(circle at 100% 50%, transparent 25px, gold 26px);
}

.coupon-body h2 {
    background: #000;
    color: #fff;
    padding: 0px 10px;
    font-size: 30px;
    border-radius: 7px;
}

.coupon-body h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    font-size: 30px;
    font-weight: bold;
    color: #000;
    padding: 0px 12px;
    border-radius: 7px;
    border: 2px dashed #000;
    margin: 5px auto;
}

.coupon-body p {
    color: #b71c1c;
    font-weight: bold;
    margin-bottom: 0px;
}



/* ------comment under product ---- */

.product-reviews {
    margin-top: 30px;
    margin-bottom: 10%;
    padding: 15px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.5), 3px -3px 8px rgba(255, 255, 255, 0.5), -3px 3px 8px rgba(255, 255, 255, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.15);
}

.review-form {
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 17px;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.6);
}

.review-list {
    border-radius: 30px;
    padding: 17px;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.1);
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-bar {
    position: relative;
    background-image: linear-gradient(to right, #555555 0%, #000000 100%);
    border-radius: 40px;
    padding: 8px 60px 12px 16px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05),
        0 4px 10px rgba(0, 0, 0, 0.6);
}

.rating-circle {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.35),
        0 8px 16px rgba(0, 0, 0, 0.7),
        inset 0 3px 6px rgba(255, 255, 255, 0.2);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rating-circle.animate {
    animation: pulse 0.35s ease;
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.2);
    }

    100% {
        transform: translateY(-50%) scale(1);
    }
}


.review-form .rating-row label {
    margin: 0;
    font-weight: bold;
}

/* stars */
.review-form .stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.review-form .stars input {
    display: none;
}

.review-form .stars label {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: transform 0.2s;
}

.review-form .stars label svg {
    width: 100%;
    height: 100%;
    fill: #fff;
    transition: fill 0.3s, filter 0.3s;
}

.review-form .stars label:hover svg,
.review-form .stars label:hover~label svg {
    fill: url(#gold-gradient);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

.review-form .stars input:checked~label svg {
    fill: url(#gold-gradient);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.review-form .stars label:hover {
    transform: scale(1.15);
}

.avatar-textarea {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.avatar-textarea .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.message-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group {
    position: relative;
    flex: 1;
}

.input-group textarea {
    width: 100%;
    padding: 10px 40px 10px 10px;
    min-height: 150px;
    border-radius: 16px !important;
    border: 1px solid #ccc;
    resize: vertical;
}

.upload-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: #C4C4C4;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    cursor: pointer;
    transition: background 0.2s;
}

.upload-btn:hover {
    background: #ddd;
}

.comment-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.comment-preview img,
.comment-preview video {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.submit-review-btn {
    margin-left: 60px;
    margin-top: 5px;
    padding: 8px 20px;
    background: #716056;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 16px;
    cursor: pointer;
}


.pagination {
    list-style: none;
    display: flex;
    gap: 5px;
    padding: 0;
}

.pagination li a {
    display: block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 3px;
    color: #333;
}

.pagination li.active a {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}


/* ------- comment list ---- */

.review {
    position: relative;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.review-header {
    display: flex;
    align-items: flex-start;
}

.review-header .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.review-header .time {
    color: #f5f5f5;
}

.review-header div {
    flex: 1;
}

.review_rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #A31B00;
    font-weight: bold;
}

.review-body {
    margin-left: 50px;
}

.review-body p {
    margin: 5px 0;
}

.review-media {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.review-media img,
.review-media video {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.review-media img:hover,
.review-media video:hover {
    transform: scale(1.05);
}

.video-thumb {
    position: relative;
    display: inline-block;
}

.video-thumb .play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.video-thumb .play-icon svg {
    width: 40px;
    height: 40px;
}

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#lightbox .close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: none;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.review-title {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #000;
    padding: 12px 15px;
    border-radius: 30px;
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.product-rating-box {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #f5e6e6;
    padding: 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.rating-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.rating-score {
    text-align: center;
    flex-shrink: 0;
}

.rating-score .score {
    font-size: 35px;
    font-weight: bold;
    color: #e60012;
}

.rating-score .score span {
    font-size: 25px;
    color: #000;
}

.rating-score .stars {
    font-size: 24px;
    color: #e60012;
}

.rating-score .total-reviews {
    margin-top: 5px;
    font-weight: bold;
    color: #666;
}

.rating-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.rating-filters .filter {
    padding: 6px 12px;
    border: 2px solid #716056;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.rating-filters .filter:hover {
    background: #f5f5f5;
}

.rating-filters .filter.active {
    border-color: #e60012;
    color: #e60012;
    font-weight: bold;
}

.review-actions {
    position: absolute;
    top: 15px;
    right: 10px;
    display: flex;
    gap: 6px;
}

.review-actions .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    padding: 3px 8px !important;
    border-radius: 50% !important;
}

.edit-reply,
.delete-reply {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    padding: 3px 8px !important;
    border-radius: 50% !important;
}

.reply-form {
    margin-top: 10px;
    padding: 8px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.8);
}

.reply-form textarea {
    width: 100%;
    margin-bottom: 6px;
    border-radius: 16px;
    resize: none;
}

.review-replies {
    margin-top: 10px;
    margin-left: 20px;
    border-left: 2px solid #ddd;
    padding-left: 10px;
}

.reply-item {
    position: relative;
    border-radius: 16px;
    margin-bottom: 5px;
    font-size: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 6px 10px;
}

.reply-item .seller_txt {
    color: #dc3545;
    font-weight: bold;
}

.reply-text-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    word-break: break-word;
}

.reply-text-wrapper strong {
    white-space: nowrap;
}

.reply-message {
    flex: 1;
    white-space: pre-wrap;
    word-break: break-word;
}

.reply-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
}

.discount_code_form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discount_code_wrapper {
    position: relative;
    flex: 1;
}

.discount_code_wrapper input {
    width: 100%;
    padding-right: 35px;
    border-radius: 20px;
    border: 1px solid #ccc;
    height: 45px;
    font-size: 20px;
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 45%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 35px;
    color: #888;
    cursor: pointer;
    display: none;
}

.clear-btn:hover {
    color: #000;
}

#apply_discount_btn {
    height: 45px;
    line-height: 40px;
    padding: 0 15px;
    border-radius: 6px;
}

#discount_code_message {
    margin-top: 5px;
}

.income_card {
    text-align: center;
    padding: 20px;
    border-radius: 30px !important;
    background-color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(209, 213, 219, 0.3) !important;
}

.nav-income {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px !important;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px !important;
}

.page-panel .title h3 {
    font-weight: bold;
}

.billing-table {
    width: 100%;
    overflow-x: auto;

    table {
        width: 100% !important;
        min-width: 1400px;
        table-layout: auto;

        thead th {
            white-space: nowrap;
            text-align: center;
            padding: 12px 10px;
            background: #f9fafb;
        }

        tbody td {
            text-align: center;
            vertical-align: middle;
            padding: 10px;
        }
    }
}

.btn-edit-address {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: #285AEB !important;
}

/* share social button --------- */
.social-share-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 25px;
    font-weight: 700;
    margin-right: 5px;
    color: #444;
}

.share-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* สีประจำแต่ละแบรนด์ */
.share-btn.fb {
    background-color: #1877F2;
    /* Facebook Blue */
}

.share-btn.fb:hover {
    background-color: #145dbf;
}

.share-btn.twitter {
    background-color: #1DA1F2;
    /* Twitter Blue */
}

.share-btn.twitter:hover {
    background-color: #0d8ddc;
}

.share-btn.line {
    background-color: #00B900;
    /* Line Green */
}

.share-btn.line:hover {
    background-color: #009a00;
}

.share-btn.copy {
    background-color: #888888;
    /* Neutral Gray */
}

.share-btn.copy:hover {
    background-color: #666666;
}

.share-btn img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}


@media (max-width: 991px) {

    /* ----- custom navbar ----- */
    .btn-icon-menu {
        display: inline-block !important;
        margin-left: -20px;
    }

    .navbar {
        padding: 18px !important;
    }

    /* ----- end custom navbar ----- */
    .navbar-brand,
    .navbar-menu-login,
    .navbar-menu-register,
    .menu-lang,
    .separate-menu {
        display: none !important;
    }

    .main-menu {
        display: none;
    }

    .user-container .user-name {
        display: none;
    }

    .cart-count {
        right: 10px;
    }

    .table-blog-list {
        width: 200% !important;
        max-width: 200%;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-card .video {
        width: clamp(320px, 100vw, 630px);
    }
}

@media (max-width: 768px) {

    /* Apply to both html and body */
    html,
    body {
        overflow-y: scroll;
        /* Allows scrolling but hides scrollbar */
        -webkit-overflow-scrolling: touch;
        /* Ensures smooth scrolling on iOS */
        scrollbar-width: none;
        /* Hides scrollbar in Firefox */
        -ms-overflow-style: none;
        /* Hides scrollbar in IE/Edge */
    }

    /* Fully hide scrollbar in iOS Safari & Chrome */
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        width: 0px;
        height: 0px;
        display: none;
        background: transparent;
    }

    .table {
        width: 200% !important;
    }

    .register-wrap,
    .login-wrap,
    .payment-warp {
        max-width: 100%;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .product_menu::-webkit-scrollbar,
    .product_category::-webkit-scrollbar,
    .table-responsive::-webkit-scrollbar,
    .list-menu-purchase::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .product_menu,
    .product_category,
    .table-responsive {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .bank_card_content {
        flex-direction: column;
    }

    .cart_accessibility_footer,
    .my-address-section {
        flex-direction: column;
        gap: 20px;
    }

    .payment-option {
        width: 100%;
        padding: 5px;
        margin: 5px 0;
        text-align: center;
        border-radius: 10px;
    }

    .payment-option.active {
        background-color: red;
        color: white;
    }

    .payment-option.disabled {
        pointer-events: none;
        opacity: 0.5;
        background-color: #eee;
        color: gray;
        cursor: not-allowed;
    }

    .payment-methods-bt-section {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .btn-change-shipping {
        width: 100%;
        font-size: 18px;
    }


    .hero-card .video {
        width: clamp(320px, 100vw, 530px);
    }

    .rating-content {
        flex-direction: column;
        align-items: center;
    }


}

@media (max-width: 767px) {
    .benefit2_wrapper {
        margin-top: 0px
    }

    .section_benefit_2 {
        margin-top: 45px;
    }
}

@media (max-width: 550px) {

    .headline {
        font-size: 40px;
    }

    .hero-card .video {
        width: clamp(320px, 50vw, 430px);
    }
}