@font-face {
    font-family: 'DB Heavent';
    src: url("/fonts/DB Heavent.woff2") format("woff2"),
        url("/fonts/DB Heavent.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    font-synthesis: none;
}

@font-face {
    font-family: 'DB Heavent';
    src: url("/fonts/DB Heavent Bold.woff2") format("woff2"),
        url("/fonts/DB Heavent Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    font-synthesis: none;
}

/* ใช้ทั้งเว็บ (ไม่มี fallback ตามที่พี่ต้องการ) */
html,
body {
    font-family: 'DB Heavent' !important;
}

/* หัวข้อ (ยังสั่งน้ำหนักได้ตามปรกติ) */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DB Heavent' !important;
    font-weight: 700;
}

h1 {
    font-size: 2.65rem;
    line-height: 1;
}

.carousel-indicators {
    margin-bottom: 0;
}

.carousel-indicators button {
    background-color: black !important;
    width: 12px;
    height: 12px;
}

.carousel-indicators .active {
    background-color: whitesmoke !important;
}

.row-carousel {
    display: flex;
    justify-content: center;
}

.accordion-button:not(.collapsed) {
    background-color: #005825 !important;
    color: white !important;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.accordion-body {
    background-color: #eaf5ea !important;
    color: black !important;
}

.accordion {
    --bs-accordion-border-color: #005825;
    --bs-accordion-border-radius: 8px;
}

.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.product-link:hover {
    color: #918c3d !important;
    cursor: pointer;
}

.scroll-icon {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: #11582c;
    cursor: pointer;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@media screen and (max-width: 1024px) {
    .fear-of-missing-timer {
        flex-direction: column;
        align-items: center;
    }

    #clockdiv {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 920px) {
    .row-carousel>div {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 991px) {
    .image-container {
        margin-top: 76px;
    }
}

@media only screen and (max-width: 767px) {
    .header-title {
        flex-direction: column;
        align-items: center;
    }

    .benefits-swap span {
        order: 2;
    }

    .benefits-swap img {
        order: 1;
    }

    .header-title>span {
        margin-top: 1rem !important;
    }

    .header-content {
        margin: 0 1.25rem !important;
    }

    .slider_s_two .slider_content {
        padding-top: 0px;
    }

    .text_top1 {
        font-size: 25px;

    }

    .text_top2 {
        font-size: 18px;

    }
}

/* ชิดบนเสมอสำหรับ PC */
@media (min-width: 992px) {
    .header_transparent {
        top: 10px !important;
        margin-top: 0 !important;
    }

    .header_transparent.sticky-header.sticky {
        top: 0 !important;
        margin-top: 0 !important;
    }
}

/* ถ้าต้องการเว้นระยะบนเฉพาะมือถือ ค่อยใส่ตรงนี้ */
@media (max-width: 991.98px) {
    .header_transparent {
        top: 10px !important;
        /* คงเดิมเฉพาะมือถือ */
    }
}

.font_title {
    font-weight: 700;
    font-size: 16px;
}

.col_t {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.col_t3 {
    margin-top: 15px;
}

.col_t4 {
    margin-top: 15px;
}

.btn-light {
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    font-weight: 600;
}

.box_4 {
    margin-top: 25px;
}

@media screen and (max-width: 600px) {
    .bt_shop {
        border-bottom-left-radius: 25px;
        background-color: #005825;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 0px;
        font-size: 22px;
        border-top-right-radius: 25px;
        padding-top: 5px;
    }

    .box_3 {
        margin-top: 25px;
    }

    .box_4 {
        margin-top: -35px;
    }

    .col_t3 {
        margin-top: -25px;
    }

    .col_t4 {
        margin-top: -60px;
    }

    .col_t {
        flex: 0 0 auto;
        width: 50%;
    }
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

.badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem;
}

.badge {
    float: inline-start;
    margin-left: 10px;
    /* padding: .25em .4em; */
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    /* padding-left: 26px; */
    /* padding-right: 25px; */
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 15px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.ytp-title-channel {
    display: none !important;
}

.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.new_line {
    border-top: 1px dotted #000;
}

.image-icon11 {
    width: 326.9px;
    position: relative;
    height: 362px;
    object-fit: cover;
}

.timeline-main-container {
    border-left: 5px solid #42510e;
    margin-left: 50px;
}

.xyz::before {
    content: "";
    border-radius: 50%;
    height: 20px;
    /* Changed */
    width: 20px;
    /* Changed */
    background-color: #42510e;
    position: absolute;
    /* Added */
    left: -63px;
    /* Added */
}

.xyz {
    margin-left: 50px;
    position: relative;
    /* Added */
}

.single_product {
    background-color: white;
    margin: .25rem;
    border-radius: .25rem;
    border: 1px solid #dfdfdf;
}

.box_sale_item {
    border-width: 0.4px;
    color: coral !important;
    border-style: solid;
    border-color: coral !important;
    background-color: #fff;
    padding-left: 5px;
    font-size: .625rem;
    margin-left: 5px;
    margin-right: 5px;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    .slider_s_two .single_slider {
        height: 550px !important;
    }
}

.header_transparent {
    color: #fff;
}

#clockdiv div>span {
    padding: 3px;
    background-color: #fff;
    border-color: #fff;
    border-style: solid;
    border-width: 1.25px;
    display: inline-block;
    color: #000;
    font-size: 44px;
    padding: 10px;
    font-weight: 500;
}

.sticky {
    color: #000 !important;
}

.btn-cart {
    background-color: #FF3300;
    color: #fff;
    font-size: 14px;
    font-weight: 100;
}

@media screen and (min-width: 800px) {
    .slider_s_two .single_slider .container {
        max-width: 1800px;
    }

    .slider_s_two .single_slider {
        height: 730px !important;
    }
}

.box_textbt {
    font-size: 16px;
    color: #005825;
    font-weight: 900 !important;
}

.padding_box_sale {
    padding-bottom: 15px;
    padding-left: 0px;
    padding-right: 0px;
}

.box_text_top {
    color: #626262;
    font-size: 17px;
    font-weight: 300;
    margin-top: 15px;
    line-height: 1.6;
    padding-left: 10px;
    padding-right: 10px;
}

.box_text_top2 {
    color: #626262;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    padding-left: 10px;
    padding-right: 10px;
    opacity: 0.2;
}

.box_text_top3 {
    color: #000;
    font-size: 17px;
    font-weight: 300;
    margin-top: 15px;
    line-height: 1.6;
    padding-left: 10px;
    padding-right: 10px;
}

.bt_red_all {
    font-size: 18px;
    font-weight: 900;
    padding-left: 35px;
    padding-right: 35px;
    border: 2px solid;
}

.img_box_text_top {
    border-radius: 0px;
    width: 100%;
}

.price_box {
    margin-top: 0px !important;
}

.text_article_bt {
    color: rgb(102, 102, 102);
    height: 2.6em;
    line-height: 1.3em;
    overflow: hidden;
}

.slider_s_two .slider_content a {
    background: none !important;
}

@media only screen and (max-width: 767px) {
    .single_slider {
        background-position: 20% !important;
    }
}

@media (max-width: 767.98px) {
    h1.my-4 span {
        display: block !important;
        /* บังคับขึ้นบรรทัดใหม่ */
        /* เว้นระยะเล็กน้อย */
        line-height: 1 !important;
        /* อ่านง่ายขึ้นบนมือถือ */
    }
}

/* เฉพาะมือถือให้ขึ้นบรรทัดใหม่ */
@media (max-width: 767.98px) {
    .break-mobile {
        display: block;
        /* บังคับขึ้นบรรทัดใหม่ */
        margin-top: 0.25rem;
        /* เว้นระยะนิดนึง */
    }
}

.product_name {
    font-size: 1.4rem;
}

/* ปุ่ม ซื้อเลย */
.btn-buy-now {
    background: linear-gradient(135deg, #ff7a00, #ff4e00);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    padding: .8rem 1.6rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    transition: all .25s ease;
    cursor: pointer;
}

.btn-buy-now img {
    margin-bottom: 2px;
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 100, 0, .45);
    background: linear-gradient(135deg, #ff4e00, #ff7a00);
}

.btn-buy-now:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
