/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.18.10.11
*/

:root {
    --sp-font-family: 'Oswald', sans-serif;
}

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

h1 {
    font-size: 3em;
}

.product .product-info h1 {
    font-size: 2em;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5em;
}

.uppercase {
    letter-spacing: 0;
}

.box-text {
    font-size: inherit;
}

.row.branches .col .col-inner {
    padding: 30px;
    border: 1px solid #444;
    height: 100%;
}

.woocommerce-mini-cart__buttons.buttons {
    display: flex;
    gap: 10px;
}

.otgs-development-site-front-end {
    display: none !important;
}

/* ปรับ layout ให้ปุ่มเลือกตัวเลือกแสดงผลแบบ 2 แถว */
.product-small .form-row .form-group {
    display: flex;
    flex-wrap: wrap;
}

.product-small .form-row .form-group>label {
    width: 100%;
}

.product-small .form-row .form-group>div {
    width: 50%;
}

.product-small .form-row .form-group>div label {
    font-weight: normal;
}

.section-menu {
    border-bottom: 1px solid #ddd;
}

.section-menu .section-title-normal,
.section-menu .section-title-normal span {
    border: 0;
}

.menu-section {
    border-bottom: 1px solid #ddd;
}

/**
* PPOM plugin
*/
.ppom-wrapper {}

.ppom-wrapper .form-row .form-group {
    overflow: hidden;
}

.ppom-wrapper .form-row .form-group>label {
    width: 100%;
}

.ppom-wrapper .form-row .form-group>div {
    margin: 0;
    float: left;
    width: 50%;
}

.product-small.box .ppom-wrapper .form-row .form-group>div {
    width: 100%;
}

.product-small.box #ppom-box-12.ppom-wrapper .form-row .form-group>div {
    width: 50%;
}

.ppom-wrapper .form-row .form-group>div label {
    margin-bottom: 0;
    font-weight: normal;
}

.ppom-wrapper .form-row .form-group>div label input {
    margin-right: 5px;
    margin-bottom: 0;
}

/**
* Owl
*/
.owl-dots button {
    margin-right: 0;
}

/**
* Nav
*/
.nav-menu-section {
    position: sticky;
    top: 70px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    /* For Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, .8);
}

.nav-menu-section .button {
    border-radius: 4px;
}

/**
* product card
*/
.product-small.box .product-title a {
    margin-bottom: 10px;
    font-family: Oswald, sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
    transition: all .4s;
}

.product-small.box .product-title a:hover {
    color: var(--fs-color-primary);
}

div {}

.woocommerce-message___ {
    position: fixed;
    z-index: 9999;
    top: 15px;
    left: 15px;
    width: 300px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.owl-dots {}

.owl-theme .owl-dots .owl-dot {
    padding: 0 !important;
    margin: 0 2px !important;
    min-width: inherit !important;
    min-height: inherit !important;
}

.owl-theme .owl-dots .owl-dot span {
    margin: 0 !important;
    padding: 0 !important;
    width: 8px !important;
    height: 8px !important;
}


.header-nav.nav-right .header-language-dropdown .image-icon {
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
}

p.view-map {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--sp-font-family);
    text-transform: uppercase;
}

p.view-map a {
    color: var(--fs-color-primary);
}

.footer-1 {
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 90%;
}

.footer-1 .widget-title {
    font-family: var(--sp-font-family);
}

.footer-1 .is-divider {
    max-width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, .1);
}

.footer-1 p i {
    margin-right: 5px;
    font-size: 90%;
}

.footer-1 .menu li {
    border: 0;
}


.post-type-archive-product .products .product-small .box-image a img {
    aspect-ratio: 100/75;
    object-fit: cover;
}