/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Thai:wght@100..900&display=swap'); */
@font-face{
    font-family: "Montserrat";
    src: url('./assets/font/montserrat/montserrat.ttf') format("truetype");
}

@font-face{
    font-family: "Noto Sans Thai";
    src: url('./assets/font/noto_sans_th/nototh.ttf') format("truetype");
}

*{
    font-family: "Noto Sans Thai", sans-serif;
    margin: 0;
    padding: 0;
}
.eng{
    font-family: "Montserrat", sans-serif;
}
:root{
    --color-red-1:#BE1E2D;
    --color-red-2:#CE051D;
    --color-red-3:#ED1C24;
    --color-red-4:#FF4057;
}
html {
    scroll-behavior: smooth;
    background-color: #ffffff;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}
p{
    margin-bottom: 0 !important;
}
h1.entry-title,
article.product-list .inside-article,
article.post footer.entry-meta,
article.post .featured-image,
article.post header.entry-header,
article.post .comments-area
{
    display: none !important;
}
.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
    margin-top: 0em !important;
}
.site-content{
    flex-direction: column;
}
.page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    color: #404040 !important;
    font-size: 24px;
    font-weight: 500;
    justify-content: center;
    margin-left: 0.5rem;
    
}
.next.page-numbers,.prev.page-numbers{
    border: 1px solid #404040;
    background: #fff;
}
.prev.page-numbers{
    transform: rotate(180deg);
}
.page-numbers.current {
    background: var(--color-red-2);
    color: #fff !important;
}
ul#menu-menu-main{
    list-style: none;
    margin-bottom: 0 !important;
}
.font-title{
    font-size: 1.7rem;
    text-transform: uppercase;
}
.font-sub-title{
    font-size: 1.5rem;
}

.font-w-200 {
    font-weight: 270;
}
.font-w-300{
    font-weight: 300;
}
.font-w-400{
    font-weight: 400;
}
.font-w-500{
    font-weight: 500;
}
.font-w-600{
    font-weight: 600;
}
.font-w-700{
    font-weight: 700;
}
.text-green{
    color: #518C73 !important;
}
.text-green-light{
    color: #37AF7C !important;
}

.text-gold{
    color: #CDB256 !important; 
}
.text-dark{
    color: #404040 !important;
}
.img-dot{
    border-radius: 50% !important;
}
.text-red1{
    color: var(--color-red-1) !important;
}
.text-red2{
    color: var(--color-red-2) !important;
}
.text-red3{
    color: var(--color-red-3) !important;
}

.w-80-center{
    width: calc(100% - 20%);
    margin: 0  auto;
}
.w-70-center{
    width: calc(100% - 30%);
    margin: 0 auto;
}
.elementor-widget-container{
    background: #ffffff !important;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
ิ.border-radius-20{
    border-radius: 20px !important;
    transition:  0.5s;
}
ิ.border-radius-top-20{
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    transition:  0.5s;
}
.inside-site-info {
    display: none !important;
    
}
.bg-cream{
    background: #fffff9;
}
.font-404 {
    font-size: 10rem;
}
.sub-font-404{
    font-size: 3rem;
}
p.sub-font-404{
    font-size: 1rem;
}
.hover-up:hover{
    transform:translateY(-15px);
    transition:  0.5s;
}
.hover-big:hover{
    transform:scale(1.05);
    transition:  0.5s;
}
.hover-down:hover{
    transform:translateY(-15px);;
    transition:  0.5s;
}
label.wpforms-field-label {
    color: #1a1a1a !important;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--color-red-3);
}
.main-bt a:hover{
    color: #fff;
    transform: scale(1.05);
    transform-origin: center;
    transition: 0.5s;
}

#backToTop {
    /* display: none; ซ่อนปุ่มไว้ก่อน */
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--color-red-3);
    color: #fff;
    border: none;
    padding: 10px ;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.5s ease-in-out;
    z-index: 1000;
}
#backToTop:hover {
    background-color: #8f0c19;
    transition: all 0.5s ease-in-out;
}