/*
* Template Name: UntreeStore
* Template Author: Untree.co
* Author URI: https://untree.co/
* License: https://creativecommons.org/licenses/by/3.0/
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body {
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 28px;
    color: #6a6a6a;
    font-size: 14px;
    background-color: #eff2f1;
}

a {
    text-decoration: none;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
    color: #2f2f2f;
    text-decoration: underline;
}

a:hover {
    color: #2f2f2f;
    text-decoration: none;
}

a.more {
    font-weight: 600;
}

.custom-navbar {
    background: #ffffff !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.custom-navbar .navbar-brand {
    font-size: 32px;
    font-weight: 600;
    color: #343a40 !important;
}

.custom-navbar .navbar-brand > span {
    opacity: 1;
}

.custom-navbar .navbar-toggler {
    border-color: transparent;
}

.custom-navbar .navbar-toggler:active,
.custom-navbar .navbar-toggler:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

@media (min-width: 992px) {
    .custom-navbar .custom-navbar-nav li {
        margin-left: 15px;
        margin-right: 15px;
    }
}

.custom-navbar .custom-navbar-nav li a {
    font-weight: 500;
    color: #343a40 !important;
    opacity: 0.5;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
    position: relative;
}

@media (min-width: 768px) {
    .custom-navbar .custom-navbar-nav li a:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 8px;
        right: 8px;
        background: #f9bf29;
        height: 5px;
        opacity: 1;
        visibility: visible;
        width: 0;
        -webkit-transition: 0.15s all ease-out;
        -o-transition: 0.15s all ease-out;
        transition: 0.15s all ease-out;
    }
}

.custom-navbar .custom-navbar-nav li a:hover {
    opacity: 1;
}

.custom-navbar .custom-navbar-nav li a:hover:before {
    width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-nav li.active a {
    opacity: 1;
}

.custom-navbar .custom-navbar-nav li.active a:before {
    width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-cta {
    margin-left: 0 !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

@media (min-width: 768px) {
    .custom-navbar .custom-navbar-cta {
        margin-left: 40px !important;
    }
}

.custom-navbar .custom-navbar-cta li {
    margin-left: 0px;
    margin-right: 0px;
}

.custom-navbar .custom-navbar-cta li:first-child {
    margin-right: 20px;
}

.hero {
    background: #ef742d;
    padding: calc(4rem - 30px) 0 0rem 0;
}

@media (min-width: 768px) {
    .hero {
        padding: calc(4rem - 30px) 0 4rem 0;
    }
}

@media (min-width: 992px) {
    .hero {
        padding: calc(8rem - 30px) 0 8rem 0;
    }
}

.hero .intro-excerpt {
    position: relative;
    z-index: 4;
}

@media (min-width: 992px) {
    .hero .intro-excerpt {
        max-width: 450px;
    }
}

.hero h1 {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}

@media (min-width: 1400px) {
    .hero h1 {
        font-size: 54px;
    }
}

.hero p {
    color: rgba(255, 255, 255, 0.5);
    margin-botom: 30px;
}

.hero .hero-img-wrap {
    position: relative;
}

.hero .hero-img-wrap img {
    position: relative;
    top: 0px;
    right: 0px;
    z-index: 2;
    max-width: 780px;
    left: -20px;
}

@media (min-width: 768px) {
    .hero .hero-img-wrap img {
        right: 0px;
        left: -100px;
    }
}

@media (min-width: 992px) {
    .hero .hero-img-wrap img {
        left: 0px;
        top: -80px;
        position: absolute;
        right: -50px;
    }
}

@media (min-width: 1200px) {
    .hero .hero-img-wrap img {
        left: 0px;
        top: -80px;
        right: -100px;
    }
}

.hero .hero-img-wrap:after {
    content: "";
    position: absolute;
    width: 255px;
    height: 217px;
    background-image: url("../images/dots-light.svg");
    background-size: contain;
    background-repeat: no-repeat;
    right: -100px;
    top: -0px;
}

@media (min-width: 1200px) {
    .hero .hero-img-wrap:after {
        top: -40px;
    }
}

.btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    color: #ffffff;
    background: #2f2f2f;
    border-color: #2f2f2f;
}

.btn:hover {
    color: #ffffff;
    background: #222222;
    border-color: #222222;
}

.btn:active,
.btn:focus {
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn.btn-primary {
    background: #3b5d50;
    border-color: #3b5d50;
}

.btn.btn-primary:hover {
    background: #314d43;
    border-color: #314d43;
}

.btn.btn-secondary {
    color: #2f2f2f;
    background: #f9bf29;
    border-color: #f9bf29;
}

.btn.btn-secondary:hover {
    background: #f8b810;
    border-color: #f8b810;
}

.btn.btn-white-outline {
    background: transparent;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn.btn-white-outline:hover {
    border-color: white;
    color: #ffffff;
}

.section-title {
    color: #2f2f2f;
}

.product-section {
    padding: 7rem 0;
}

.product-section .product-item {
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
    padding-bottom: 50px;
    cursor: pointer;
}

.product-section .product-item .product-thumbnail {
    margin-bottom: 30px;
    position: relative;
    top: 0;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.product-section .product-item h3 {
    font-weight: 600;
    font-size: 16px;
}

.product-section .product-item strong {
    font-weight: 800 !important;
    font-size: 18px !important;
}

.product-section .product-item h3,
.product-section .product-item strong {
    color: #2f2f2f;
    text-decoration: none;
}

.product-section .product-item .icon-cross {
    position: absolute;
    width: 35px;
    height: 35px;
    display: inline-block;
    background: #ff6600;
    bottom: 15px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    margin-bottom: -17.5px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.product-section .product-item .icon-cross img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.product-section .product-item:before {
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    content: "";
    background: #dce5e4;
    height: 0%;
    z-index: -1;
    border-radius: 10px;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.product-section .product-item:hover .product-thumbnail {
    top: -25px;
}

.product-section .product-item:hover .icon-cross {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

.product-section .product-item:hover:before {
    height: 70%;
}

.why-choose-section {
    padding: 7rem 0;
}

.why-choose-section .img-wrap {
    position: relative;
}

.why-choose-section .img-wrap:before {
    position: absolute;
    content: "";
    width: 255px;
    height: 217px;
    background-image: url("../images/dots-yellow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translate(-40%, -40%);
    -ms-transform: translate(-40%, -40%);
    transform: translate(-40%, -40%);
    z-index: -1;
}

.why-choose-section .img-wrap img {
    border-radius: 20px;
}

.feature {
    margin-bottom: 30px;
}

.feature .icon {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

.feature .icon:before {
    content: "";
    width: 33px;
    height: 33px;
    position: absolute;
    background: rgba(59, 93, 80, 0.2);
    border-radius: 50%;
    right: -8px;
    bottom: 0;
}

.feature h3 {
    font-size: 14px;
    color: #2f2f2f;
}

.feature p {
    font-size: 14px;
    line-height: 22px;
    color: #6a6a6a;
}

.we-help-section {
    padding: 7rem 0;
}

.we-help-section .imgs-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(27, 1fr);
    position: relative;
}

.we-help-section .imgs-grid:before {
    position: absolute;
    content: "";
    width: 255px;
    height: 217px;
    background-image: url("../images/dots-green.svg");
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-transform: translate(-40%, -40%);
    -ms-transform: translate(-40%, -40%);
    transform: translate(-40%, -40%);
    z-index: -1;
}

.we-help-section .imgs-grid .grid {
    position: relative;
}

.we-help-section .imgs-grid .grid img {
    border-radius: 20px;
    max-width: 100%;
}

.we-help-section .imgs-grid .grid.grid-1 {
    -ms-grid-column: 1;
    -ms-grid-column-span: 18;
    grid-column: 1 / span 18;
    -ms-grid-row: 1;
    -ms-grid-row-span: 27;
    grid-row: 1 / span 27;
}

.we-help-section .imgs-grid .grid.grid-2 {
    -ms-grid-column: 19;
    -ms-grid-column-span: 27;
    grid-column: 19 / span 27;
    -ms-grid-row: 1;
    -ms-grid-row-span: 5;
    grid-row: 1 / span 5;
    padding-left: 20px;
}

.we-help-section .imgs-grid .grid.grid-3 {
    -ms-grid-column: 14;
    -ms-grid-column-span: 16;
    grid-column: 14 / span 16;
    -ms-grid-row: 6;
    -ms-grid-row-span: 27;
    grid-row: 6 / span 27;
    padding-top: 20px;
}

.custom-list {
    width: 100%;
}

.custom-list li {
    display: inline-block;
    width: calc(50% - 20px);
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.custom-list li:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #3b5d50;
    position: absolute;
    left: 0;
    top: 8px;
}

.popular-product {
    padding: 0 0 7rem 0;
}

.popular-product .product-item-sm h3 {
    font-size: 14px;
    font-weight: 700;
    color: #2f2f2f;
}

.popular-product .product-item-sm a {
    text-decoration: none;
    color: #2f2f2f;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.popular-product .product-item-sm a:hover {
    color: rgba(47, 47, 47, 0.5);
}

.popular-product .product-item-sm p {
    line-height: 1.4;
    margin-bottom: 10px;
    font-size: 14px;
}

.popular-product .product-item-sm .thumbnail {
    margin-right: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    position: relative;
}

.popular-product .product-item-sm .thumbnail:before {
    content: "";
    position: absolute;
    border-radius: 20px;
    background: #dce5e4;
    width: 98px;
    height: 98px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-section {
    padding: 3rem 0 7rem 0;
}

.testimonial-slider-wrap {
    position: relative;
}

.testimonial-slider-wrap .tns-inner {
    padding-top: 0;
}

.testimonial-slider-wrap .item .testimonial-block blockquote {
    font-size: 16px;
}

@media (min-width: 768px) {
    .testimonial-slider-wrap .item .testimonial-block blockquote {
        line-height: 32px;
        font-size: 18px;
    }
}

.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic {
    margin-bottom: 20px;
}

.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic img {
    max-width: 80px;
    border-radius: 50%;
}

.testimonial-slider-wrap .item .testimonial-block .author-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 0;
}

.testimonial-slider-wrap #testimonial-nav {
    position: absolute;
    top: 40%;
    z-index: 99;
    width: 100%;
    display: none;
}

@media (min-width: 768px) {
    .testimonial-slider-wrap #testimonial-nav {
        display: block;
    }
}

.testimonial-slider-wrap #testimonial-nav > span {
    cursor: pointer;
    position: absolute;
    width: 58px;
    height: 58px;
    line-height: 58px;
    border-radius: 50%;
    background: rgba(59, 93, 80, 0.1);
    color: #2f2f2f;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.testimonial-slider-wrap #testimonial-nav > span:hover {
    background: #ff6600;
    color: #ffffff;
}

.testimonial-slider-wrap #testimonial-nav .prev {
    left: -10px;
}

.testimonial-slider-wrap #testimonial-nav .next {
    right: 0;
}

.testimonial-slider-wrap .tns-nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.testimonial-slider-wrap .tns-nav button {
    background: none;
    border: none;
    display: inline-block;
    position: relative;
    width: 0 !important;
    height: 7px !important;
    margin: 2px;
}

.testimonial-slider-wrap .tns-nav button:active,
.testimonial-slider-wrap .tns-nav button:focus,
.testimonial-slider-wrap .tns-nav button:hover {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
}

.testimonial-slider-wrap .tns-nav button:before {
    display: block;
    width: 7px;
    height: 7px;
    left: 0;
    top: 0;
    position: absolute;
    content: "";
    border-radius: 50%;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
    background-color: #d6d6d6;
}

.testimonial-slider-wrap .tns-nav button:hover:before,
.testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
    background-color: #ff6600;
}

.before-footer-section {
    padding: 7rem 0 12rem 0 !important;
}

.blog-section {
    padding: 7rem 0 12rem 0;
}

.blog-section .post-entry a {
    text-decoration: none;
}

.blog-section .post-entry .post-thumbnail {
    display: block;
    margin-bottom: 20px;
}

.blog-section .post-entry .post-thumbnail img {
    border-radius: 20px;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.blog-section .post-entry .post-content-entry {
    padding-left: 15px;
    padding-right: 15px;
}

.blog-section .post-entry .post-content-entry h3 {
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 600;
    margin-bottom: 7px;
}

.blog-section .post-entry .post-content-entry .meta {
    font-size: 14px;
}

.blog-section .post-entry .post-content-entry .meta a {
    font-weight: 600;
}

.blog-section .post-entry:hover .post-thumbnail img,
.blog-section .post-entry:focus .post-thumbnail img {
    opacity: 0.7;
}

.footer-section {
    padding: 80px 0;
    background: #ffffff;
}

.footer-section .relative {
    position: relative;
}

.footer-section a {
    text-decoration: none;
    color: #2f2f2f;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.footer-section a:hover {
    color: rgba(47, 47, 47, 0.5);
}

.footer-section .subscription-form {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    margin-top: 100px;
}

@media (min-width: 992px) {
    .footer-section .subscription-form {
        margin-top: 0px;
        margin-bottom: 80px;
    }
}

.footer-section .subscription-form h3 {
    font-size: 18px;
    font-weight: 500;
    color: #3b5d50;
}

.footer-section .subscription-form .form-control {
    height: 50px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
}

.footer-section .subscription-form .form-control:active,
.footer-section .subscription-form .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #3b5d50;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}

.footer-section .subscription-form .form-control::-webkit-input-placeholder {
    font-size: 14px;
}

.footer-section .subscription-form .form-control::-moz-placeholder {
    font-size: 14px;
}

.footer-section .subscription-form .form-control:-ms-input-placeholder {
    font-size: 14px;
}

.footer-section .subscription-form .form-control:-moz-placeholder {
    font-size: 14px;
}

.footer-section .subscription-form .btn {
    border-radius: 10px !important;
}

.footer-section .links-wrap {
    margin-top: 0px;
}

@media (min-width: 992px) {
    .footer-section .links-wrap {
        margin-top: 54px;
    }
    .footer-section .sofa-img {
        position: absolute;
        top: -100px;
        z-index: 1;
        right: 0;
    }

    .footer-section .sofa-img img {
        max-width: 380px;
    }
}

.footer-section .links-wrap ul li {
    margin-bottom: 10px;
}

.footer-section .footer-logo-wrap .footer-logo {
    font-size: 32px;
    font-weight: 500;
    text-decoration: none;
    color: #3b5d50;
}

.footer-section .custom-social li {
    margin: 2px;
    display: inline-block;
}

.footer-section .custom-social li a {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    display: inline-block;
    background: #dce5e4;
    color: #3b5d50;
    border-radius: 50%;
}

.footer-section .custom-social li a:hover {
    background: #3b5d50;
    color: #ffffff;
}

.footer-section .border-top {
    border-color: #dce5e4;
}

.footer-section .border-top.copyright {
    font-size: 14px !important;
}

.untree_co-section {
    padding: 7rem 0;
}

.untree_co-section2 {
    padding: 4rem 0;
    margin-bottom: 1rem;
}

.form-control {
    height: 50px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
}

.form-control:active,
.form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #3b5d50;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}

.form-control::-webkit-input-placeholder {
    font-size: 14px;
}

.form-control::-moz-placeholder {
    font-size: 14px;
}

.form-control:-ms-input-placeholder {
    font-size: 14px;
}

.form-control:-moz-placeholder {
    font-size: 14px;
}

.service {
    line-height: 1.5;
}

.service .service-icon {
    border-radius: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #3b5d50;
    margin-right: 20px;
    color: #ffffff;
}

textarea {
    height: auto !important;
}

.site-blocks-table {
    overflow: auto;
}

.site-blocks-table .product-thumbnail {
    width: 200px;
}

.site-blocks-table .btn {
    padding: 2px 10px;
}

.site-blocks-table thead th {
    padding: 30px;
    text-align: center;
    border-width: 0px !important;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px;
}

.site-blocks-table td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8);
}

.site-blocks-table tbody tr:first-child td {
    border-top: 1px solid #3b5d50 !important;
}

.site-blocks-table .btn {
    background: none !important;
    color: #000000;
    border: none;
    height: auto !important;
}

.site-block-order-table th {
    border-top: none !important;
    border-bottom-width: 1px !important;
}

.site-block-order-table td,
.site-block-order-table th {
    color: #000000;
}

.couponcode-wrap input {
    border-radius: 10px !important;
}

.text-primary {
    color: #3b5d50 !important;
}

.thankyou-icon {
    position: relative;
    color: #3b5d50;
}

.thankyou-icon:before {
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(59, 93, 80, 0.2);
}

.telColor {
    color: #3b5d50 !important;
    margin-right: 4px;
}

.colorText {
    color: #3b5d50 !important;
}

.colorTextBold {
    color: #3b5d50 !important;
    font-weight: bold;
}

.mr-3 {
    margin-right: 4px;
}

.cartUser {
    text-align: center;
    margin-top: -8px;
    margin-left: -10px;
    position: absolute;
    width: 25px;
    font-size: 16px;
    font-weight: bold;
    height: 25px;
    color: #ffffff !important;
    background-color: #f9bf29;
    border-radius: 50px;
    z-index: 0;
}

.hero2 {
    background-color: #f9bf29;
}

.bannerImage {
    background-size: cover;
    /* ทำให้ภาพครอบคลุมพื้นที่ทั้งหมด */
    background-position: center;
    /* จัดภาพให้อยู่ตรงกลาง */
    width: 100%;
    height: auto;
}

.imageLogo {
    width: 100%;
    height: auto;
    max-width: 300px;
    background-size: cover;
    /* ทำให้ภาพครอบคลุมพื้นที่ทั้งหมด */
    background-position: left;
}

.textHead {
    font-size: 16px !important;
    font-weight: 900 !important;
}

@media (max-width: 1200px) {
    .sim-mb-3 {
        margin-bottom: 16px;
    }
}

.price {
    color: #ef742d !important;
}

.sale-price {
    margin-left: 8px;
    text-decoration: line-through;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-results {
    display: none;
    /* Hidden by default */
    font-size: 4vw;
    color: #3b5d50;
    font-weight: bold;
    /* Red color for visibility */
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 1s ease-in-out;
}

.no-results.show {
    display: block;
}

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

@media (max-width: 992px) {
    .ms-md-mb-3 {
        margin-bottom: 16px;
    }
}

.carousel-item .row {
    display: flex;
}

.carousel-item .col-md-4 {
    flex: 1;
}

.carousel-item img {
    width: 95%;
    height: auto;
}

.carousel-slide-box {
    padding-left: 16px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ced4da;
    margin-bottom: 64px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 3rem !important;
    height: 3rem !important;
    background: #ef742d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.color-link {
    color: #ef742d;
}

.cursor-pointer {
    cursor: pointer;
}

.img-cursor:hover {
    transform: scale(1.5);
    /* ขยายภาพ 1.5 เท่า */
    transition: transform 0.5s ease;
    /* เพิ่มเอฟเฟกต์การขยายให้ดูนุ่มนวล */
}

.tab-pane {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.tab-pane img {
    max-width: 100%;
    height: auto;
}

.tab-pane {
    background-color: #ffffff;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #495057;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}

.nav-link:hover {
    display: block;
    padding: 0.5rem 1rem;
    color: #495057;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #ef742d;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.nav-link-p {
    text-align: left;
    font-weight: bold;
    font-size: 16px;
}

.nav-link-screen {
    display: flex;
    text-align: left;
    font-size: 14px;
    justify-content: space-between;
    margin-right: "20%";
}

@media (max-width: 766px) {
    .box-screen {
        position: relative;
        width: 300px;
        height: 200px;
        border: 1px solid #3b5d50;
        box-sizing: border-box;
    }

    .box-screen::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 120%;
        /* Diagonal length for a square box */
        height: 1px;
        /* Line thickness */
        background-color: #3b5d50;
        transform: rotate(-33.5deg);
        transform-origin: top right;
    }
}

@media (min-width: 767px) and (max-width: 992px) {
    .box-screen {
        position: relative;
        width: 100%;
        height: 150px;
        border: 1px solid #3b5d50;
        box-sizing: border-box;
    }

    .box-screen::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 126%;
        /* Diagonal length for a square box */
        height: 1px;
        /* Line thickness */
        background-color: #3b5d50;
        transform: rotate(-37.5deg);
        transform-origin: top right;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .box-screen {
        position: relative;
        width: 100%;
        height: 200px;
        border: 1px solid #3b5d50;
        box-sizing: border-box;
    }

    .box-screen::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 124%;
        /* Diagonal length for a square box */
        height: 1px;
        /* Line thickness */
        background-color: #3b5d50;
        transform: rotate(-36deg);
        transform-origin: top right;
    }
}

@media (min-width: 1201px) {
    .box-screen {
        position: relative;
        width: 100%;
        height: 300px;
        border: 1px solid #3b5d50;
        box-sizing: border-box;
    }

    .box-screen::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 126%;
        /* Diagonal length for a square box */
        height: 1px;
        /* Line thickness */
        background-color: #3b5d50;
        transform: rotate(-37.2deg);
        transform-origin: top right;
    }
}

@media (max-width: 766px) {
    .box-screen-2 {
        position: relative;
        width: 300px;
        height: 150px;
        border: 1px solid #3b5d50;
        box-sizing: border-box;
    }

    .box-screen-2::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 112%;
        /* Diagonal length for a square box */
        height: 1px;
        /* Line thickness */
        background-color: #3b5d50;
        transform: rotate(-26.3deg);
        transform-origin: top right;
    }
}

@media (min-width: 767px) and (max-width: 992px) {
    .box-screen-2 {
        position: relative;
        width: 100%;
        height: 130px;
        border: 1px solid #3b5d50;
        box-sizing: border-box;
    }

    .box-screen-2::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 120%;
        /* Diagonal length for a square box */
        height: 1px;
        /* Line thickness */
        background-color: #3b5d50;
        transform: rotate(-33.5deg);
        transform-origin: top right;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .box-screen-2 {
        position: relative;
        width: 100%;
        height: 150px;
        border: 1px solid #3b5d50;
        box-sizing: border-box;
    }

    .box-screen-2::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 114%;
        /* Diagonal length for a square box */
        height: 1px;
        /* Line thickness */
        background-color: #3b5d50;
        transform: rotate(-28.5deg);
        transform-origin: top right;
    }
}

@media (min-width: 1201px) {
    .box-screen-2 {
        position: relative;
        width: 100%;
        height: 250px;
        border: 1px solid #3b5d50;
        box-sizing: border-box;
    }

    .box-screen-2::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 118%;
        /* Diagonal length for a square box */
        height: 1px;
        /* Line thickness */
        background-color: #3b5d50;
        transform: rotate(-32.2deg);
        transform-origin: top right;
    }
}

.screen-text-bottom {
    color: #ef742d;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Optional: This ensures the text is vertically centered within the element if it has a height */

    /* Optional: This ensures the text within the flex container is centered */
}

.screen-text-right {
    color: #ef742d;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    right: 16px;
}

.screen-text-center {
    color: #ef742d;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    margin-top: -16px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    transform: rotate(-37.2deg);
    align-items: center;
}

.page-item.active .page-link {
    background-color: #ef742d !important;
    border-color: #ef742d !important;
    color: #ffffff !important;
}

.page-link:active {
    border-color: #ff5722 !important;
    /* สีขอบที่ต้องการเมื่อคลิก */
    background-color: #ff5722 !important;
    /* สีพื้นหลังที่เข้มกว่า */
    color: #ffffff !important;
    box-shadow: 0 4px 8px #ef742d !important;
}

.navbar-toggler {
    background-color: #ef742d !important;
    border-color: #ef742d !important;
}

.page-link {
    color: #ef742d !important;
}

.product-section {
    padding: 20px 0;
}

.category-section {
    margin-bottom: 30px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #ef742d;
    padding-bottom: 5px;
}

.product-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-details {
    padding: 15px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 10px 0;
}

.price2 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #ff0000;
}

.sale-price {
    color: #ff0000;
    margin-right: 10px;
}

.original-price {
    margin-left: 8px;
    text-decoration: line-through;
    color: #999;
}

.icon-cross {
    position: absolute;
    top: 10px;
    right: 10px;
}

.icon-cross img {
    width: 20px;
    height: 20px;
}

.product-section {
    padding: 40px 0;
}

.brand-selector {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.brand-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #ef742d;
    padding-bottom: 5px;
}

.brand-list {
    list-style: none;
    padding: 0;
}

.brand-list li {
    margin-bottom: 10px;
}

.brand-list a {
    text-decoration: none;
    color: #333;
    font-size: 1.125rem;
}

.brand-list a:hover {
    color: #ef742d;
}

.product-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product-thumbnail {
    width: 100%;
    height: "100%";
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 10px 0;
}

.product-price {
    display: block;
    font-size: 1.125rem;
    color: #ef742d;
}

.sale-price {
    color: #888;
    text-decoration: line-through;
}

.icon-cross {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 5px;
}

/* 
.btn-cart {
  background-color: #ef742d !important;
  border-color: #ef742d !important;
}

.btn-cart:hover {
  background-color: #ef742d !important;
  border-color: #ef742d !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} */

.btn-cart {
    background-color: #f57c00;
    /* สีพื้นฐานของปุ่ม */
    border-color: #f57c00;
    /* สีขอบพื้นฐานของปุ่ม */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    /* เพิ่มการเปลี่ยนแปลงสำหรับพื้นหลังและขอบ */
}

.btn-cart:hover {
    background-color: #ef742d !important;
    border-color: #ef742d !important;
    box-shadow: 0 0 10px rgba(239, 116, 45, 0.7);
    /* เพิ่มเอฟเฟกต์เงา */
}

.custom-navbar {
    transition: all 0.3s ease;
    /* ทำให้การเปลี่ยนแปลงราบรื่น */
}

.custom-navbar.sticky-navbar {
    background-color: #343a40;
    /* เปลี่ยนสีพื้นหลังเมื่อ sticky */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* เพิ่มเงา */
    padding: 10px 0;
    /* เปลี่ยนขนาด padding */
}

/* เมื่อ navbar ติดอยู่ที่ด้านบน */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    /* ให้แถบเมนูอยู่เหนือเนื้อหาทั้งหมด */
}

.custom-icon {
    font-size: 24px;
    cursor: pointer;
    margin-top: 8px;
    /* ปรับขนาดตามต้องการ */
}

.number-item {
    cursor: pointer;
    margin-top: -38px;
    margin-left: 16px;
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ef742d;
    color: #ffffff;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 50px;
}

/* ตั้งค่ารูปแบบหลักสำหรับ container ของรายการสินค้า */
#cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* ช่องว่างระหว่างรายการ */
}

/* รูปแบบสำหรับแต่ละรายการสินค้า */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* รูปแบบสำหรับเนื้อหาของรายการสินค้า */
.cart-item span {
    font-size: 16px;
}

/* รูปแบบสำหรับปุ่มลบ */
.remove-btn {
    cursor: pointer;
    color: #ff4d4d;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #ff4d4d;
    border-radius: 3px;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.remove-btn:hover {
    background-color: #ff4d4d;
    color: #fff;
}

/* CSS สำหรับปุ่ม Buy Now */
.buy-now-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 20px 0;
    background-color: #ef742d;
    /* สีโทนที่ต้องการ */
    color: #fff;
    /* สีตัวอักษร */
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    /* มุมโค้งมน */
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* เงาของปุ่ม */
    transition: background-color 0.3s, box-shadow 0.3s;
    /* การเปลี่ยนสีและเงา */
}

.buy-now-btn:hover {
    background-color: #d65a1e;
    /* สีพื้นหลังเมื่อ hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    /* เงาเข้มขึ้นเมื่อ hover */
}

.buy-now-btn:active {
    background-color: #c74e1b;
    /* สีพื้นหลังเมื่อคลิก */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    /* เงาลดลงเมื่อคลิก */
}

.buy-now-btn:focus {
    outline: none;
    /* ลบเส้นขอบที่เกิดจากการ focus */
    box-shadow: 0 0 0 4px rgba(239, 116, 45, 0.5);
    /* เงาของการ focus */
}

.buyItemAll-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.buyItemAll-cart {
    margin-top: 110px;
    background-color: #ffffff;

    margin-bottom: 200px;
    padding-bottom: 64px;
}

.pseudo-content::after {
    content: " ";
    /* เนื้อหาที่เป็นช่องว่าง */
    display: block;
    width: 100%;
    height: 2px;
    background-color: #d65a1e;
    /* สีเขียวของเส้น */
    margin-top: 20px;
}

.buyItemAll-decrement-btn {
    cursor: pointer;
    background-color: #ff4d4d;
    width: 50px;
    height: "auto";
    border: 1px solid #ff4d4d;
    color: #ffffff;
    border-radius: 16px;
    margin-right: 8px;
}

.bg-white-cart {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.bg-white {
    padding-top: 16px;
}

.buyItemAll-increment-btn {
    cursor: pointer;
    background-color: #ff4d4d;
    width: 50px;
    height: "auto";
    border: 1px solid #ff4d4d;
    color: #ffffff;
    border-radius: 16px;
    margin-left: 8px;
    margin-right: 16px;
}

.buyItemAll-remove-btn {
    cursor: pointer;
    background-color: #ff4d4d;
    width: 70px;
    height: "auto";
    border: 1px solid #ff4d4d;
    color: #ffffff;
    border-radius: 16px;
    margin-left: 16px;
}

@media (max-width: 576px) {
    .buyItemAll-remove-btn {
        cursor: pointer;
        background-color: #ff4d4d;
        width: 70px;
        height: "auto";
        border: 1px solid #ff4d4d;
        color: #ffffff;
        border-radius: 16px;
        margin-left: 16px;
        margin-top: 8px !important;
    }
}

.quantity-button {
    margin-top: 16px;
}

.purchase-details {
    margin-left: 16px;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 64px;
}

.all-item {
    margin-top: 18px;
    font-size: 16px;
    justify-content: space-between;
    display: flex;
    margin-right: 32px;
    margin-left: 32px;
}

.all-item-free {
    font-size: 16px;
    justify-content: space-between;
    display: flex;
    margin-right: 32px;
    margin-left: 32px;
}

.all-item-q {
    font-size: 16px;
    justify-content: space-between;
    display: flex;
    margin-right: 32px;
    margin-left: 32px;
    font-weight: bold;
}

.submit-buy-now {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}

.btn-processing {
    border-color: #ff4d4d !important;
    background-color: #ff4d4d !important;
}

.logo-gray {
    width: 300px !important;
    height: auto;
}
.al-product-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.al-product-description a,
.al-product-description p {
    word-break: break-word;
    font-size: 14px;
    color: #333;
}

.al-product-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 15px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ปรับให้คอลัมน์มีความสูงเท่ากัน */
.al-row > [class*="al-col-"] {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .al-container {
        margin-top: 17%;
        padding-left: 4px;
        padding-right: 4px;
    }
}
