/*---------------------------------------------------------------*/
@font-face {
    font-family: "SR FahMai Bold Italic";
    src: url(../asset/fonts/SR-FahMai-Bold-Italic.ttf);

}

@font-face {
    font-family: "SR FahMai Bold";
    src: url(../asset/fonts/SR-FahMai-Bold.ttf);

}

@font-face {
    font-family: "SR FahMai Italic";
    src: url(../asset/fonts/SR-FahMai-Italic.ttf);


}

@font-face {
    font-family: "SR FahMai Normal";
    src: url(../asset/fonts/SR-FahMai-Normal.ttf);

}
/*--------------------------------------------------------------*/

.font-family-SrFahMai,
.font-family-SrFahMai .elementor-heading-title,
.font-family-SrFahMai .elementor-icon-box-title,
.font-family-SrFahMai .elementor-image-box-title {
  font-family: "SR FahMai Normal", serif !important;
}

.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.d-inline-flex {
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-table {
    display: table !important;
  }
  .d-sm-table-row {
    display: table-row !important;
  }
  .d-sm-table-cell {
    display: table-cell !important;
  }
  .d-sm-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-sm-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-table {
    display: table !important;
  }
  .d-md-table-row {
    display: table-row !important;
  }
  .d-md-table-cell {
    display: table-cell !important;
  }
  .d-md-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-md-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-inline {
    display: inline !important;
  }
  .d-lg-inline-block {
    display: inline-block !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-table {
    display: table !important;
  }
  .d-lg-table-row {
    display: table-row !important;
  }
  .d-lg-table-cell {
    display: table-cell !important;
  }
  .d-lg-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-lg-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-inline {
    display: inline !important;
  }
  .d-xl-inline-block {
    display: inline-block !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-table {
    display: table !important;
  }
  .d-xl-table-row {
    display: table-row !important;
  }
  .d-xl-table-cell {
    display: table-cell !important;
  }
  .d-xl-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-xl-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

.iSocialBar { position: fixed; right: 0; top: calc(50% - (135px / 2)); z-index: 1001; }
.iSocialBar .linkSocial { display: block; height: 45px; width: 45px; text-align: center; line-height: 45px; font-size: 25px; color: #FFFFFF; background-color: #777777; }
.iSocialBar .linkSocial.linkSocial-line { background-color: #00b900; }
.iSocialBar .linkSocial.linkSocial-facebook { background-color: #4867aa; }
.iSocialBar .linkSocial.linkSocial-tel { background-color: #FF0000; }
.linkSocial-telCircle { display: inline-block; background-color: #F00; color: #FFF; width: 45px; height: 45px; line-height: 45px; border-radius: 45px; margin-right: 4px; font-size: 25px; }
.jquery-modal.blocker.current { z-index:1100 }



body.elementor-page .woocommerce .products>.product>.eltd-product-inner {
    /*
    background-color: #FFF;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    border-radius: 16px;
    overflow: hidden;
    */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*
body.elementor-page .woocommerce .products>.product>.eltd-product-inner>.eltd-product-title-holder {
    margin-top: 0;
    padding: 16px;
}

body.elementor-page .woocommerce .products>.product>.eltd-product-inner .eltd-product-title-holder>.eltd-product-list-product-title,
body.elementor-page .woocommerce .products>.product .eltd-product-list-product-short-description {
    font-family: "Noto Sans Thai", sans-serif !important;
    font-size: 12px;
    color: #7E6F67;
}

body.elementor-page .woocommerce .products>.product>.eltd-product-inner .eltd-product-title-holder>.eltd-product-list-product-title {
    font-size: 14px !important;
    color: #1F1814;
    font-weight: 500;
    margin-bottom: 4px;
}

body.elementor-page .woocommerce .products>.product .price {
    font-size: 18px;
    color: #1F1814;
    font-weight: 700;
    font-family: "Noto Sans Thai", sans-serif !important;
    margin-top: 12px;
}
*/
.elementor .woocommerce>.products {
    padding: 0;
    list-style: none;
}

.elementor .woocommerce>.products>.product {
    padding: 10px;
}

.elementor .woocommerce>.products>.product .eltd-product-list-product-title,
.elementor .woocommerce>.products>.product .eltd-product-list-product-short-description,
.elementor .woocommerce>.products>.product .eltd-product-list-product-title a .eltd-btn-text,
.elementor .woocommerce>.products>.product .price {
    font-family: "Noto Sans Thai", sans-serif !important;
}

.elementor .woocommerce>.products>.product .eltd-product-inner {
    background-color: #fdfcfc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.elementor .woocommerce>.products>.product .eltd-product-image-holder {
    position: relative;
    overflow: hidden;
}

.elementor .woocommerce>.products>.product .eltd-product-image-holder img {
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    width: 100%;
}

.elementor .woocommerce>.products>.product:hover .eltd-product-image-holder img {
    transform: scale(1.05);
}

.elementor .woocommerce>.products>.product .eltd-product-image-holder .eltd-product-image-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.elementor .woocommerce>.products>.product .eltd-product-inner .eltd-product-list-product-title {
    font-size: 14px !important;
    color: #1F1814;
    font-weight: 500;
}

.elementor .woocommerce>.products>.product .eltd-product-list-product-short-description {
    font-size: 12px;
}

.elementor .woocommerce>.products>.product .price {
    font-size: 18px !important;
}

.elementor .woocommerce>.products>.product .eltd-product-inner:hover .eltd-product-list-product-title {
    color: #ee792b;
}

.elementor .woocommerce>.products>.product .eltd-product-title-holder {
    margin-top: 0;
    padding: 16px 16px 0;
}

.elementor .woocommerce>.products>.product .eltd-product-title-holder .eltd-product-list-product-short-description {
    margin-top: 4px;
}

.elementor .woocommerce>.products>.product .eltd-product-title-holder .price {
    margin-top: 12px;
}

.elementor .woocommerce>.products>.product .eltd-product-price-holder {
    padding: 12px 16px 16px;
}

/*
.elementor .woocommerce>.products>.product .eltd-product-image-holder:hover .eltd-product-image-overlay {
    display: block !important;
}

.elementor .woocommerce>.products>.product .eltd-product-image-holder:hover .eltd-product-image-overlay .eltd-product-image-overlay-inner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/
@media (min-width: 768px) {
    .elementor .woocommerce>.products {
        display: flex;
        flex-wrap: wrap;
    }

    .elementor .woocommerce>.products>.product {
        width: 50%;
    }
}

@media (min-width: 1025px) {
    .elementor .woocommerce>.products>.product {
        width: 25%;
    }
}








/* Container หลัก */
.oat-flower-posts-container {
    max-width: 1000px;
    margin: 20px auto;
    font-family: 'Noto Sans Thai', sans-serif;
}

/* รายการบทความแต่ละอัน */
.oat-post-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    gap: 25px;
    align-items: center;
}

/* เอฟเฟกต์เวลาเอาเมาส์ไปชี้ */
.oat-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(238, 121, 43, 0.1);
    border-color: rgba(238, 121, 43, 0.3);
}

/* ส่วนรูปภาพ */
.oat-post-thumb {
    flex: 0 0 180px;
    overflow: hidden;
    border-radius: 12px;
    height: 140px;
}

.oat-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.oat-post-item:hover .oat-post-thumb img {
    transform: scale(1.1);
}

/* ส่วนเนื้อหา */
.oat-post-content {
    flex: 1;
}

.oat-post-title {
    margin: 0 0 10px 0 !important;
    line-height: 1.4;
}

.oat-post-title a {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.oat-post-item:hover .oat-post-title a {
    color: #EE792B; /* สีส้มหลักของร้าน */
}

.oat-post-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ปุ่มอ่านต่อ */
.read-more {
    display: inline-block;
    color: #EE792B !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.read-more:after {
    content: '→';
    position: absolute;
    right: 0;
    transition: right 0.3s ease;
}

.read-more:hover {
    letter-spacing: 0.5px;
}

.read-more:hover:after {
    right: -5px;
}

/* ปรับแต่งสำหรับมือถือ */
@media (max-width: 767px) {
    .oat-post-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .oat-post-thumb {
        flex: 0 0 200px;
        width: 100%;
        height: 200px;
    }
    
    .oat-post-title a {
        font-size: 18px;
    }
}

.bootstrap5navbar {
  font-family: "SR FahMai Normal", serif !important;
}

.oat-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.oat-review-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #fef0e6;
    transition: transform 0.3s ease;
}

.oat-review-card:hover {
    transform: translateY(-5px);
    border-color: #EE792B;
}

.oat-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.oat-review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #EE792B;
}

.oat-review-meta strong {
    display: block;
    font-size: 18px;
    color: #333;
}

.oat-stars {
    color: #EE792B;
    font-size: 14px;
    margin-top: 4px;
}

.oat-review-body {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}