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

@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Inder&family=Quicksand:wght@300..700&display=swap');
body {
    font-family: 'Quicksand', sans-serif;
}
#top-bar .flex-col.flex-center {
    flex-grow: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
}
#top-bar ul.nav, 
#top-bar li.header-block,
#top-bar .header-block-block-2 {
    width: 100% !important;
    display: block !important;
}
#top-bar .flickity-viewport {
    height: 50px !important;
    min-height: 50px !important;
}
#top-bar .flickity-button {
    display: none !important;
}
#top-bar .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#top-bar .row {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.header-top .flex-row.container {
    display: block;
}
.ss-slideheader{
    padding: 0 !important;
}
.ss-slideheader .col{
    padding: 0 !important;
}
.header-nav-main{
    justify-content: center;
}
.header-search-form input#woocommerce-product-search-field-0 {
    width: 630px;
    height: 42px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 3px 0 0 3px;
}
button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    font-size: 17px;
    border: none;
    box-shadow: none;
    border-radius: 0 3px 3px 0;
    outline: none;
    text-transform: none;
    height: 42px;
    color: #fff;
    background-color: #dd2400;
    font-weight: 500;
}
.dola-feature-wrapper {
    padding: 15px 0;
    font-family: sans-serif;
}
.dola-feature-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.dola-feature-item {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 10px;
    max-width: 350px;
}
.dola-icon-box {
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}
.dola-icon-box svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}
.dola-text-box h4 {
    margin: 0 0 4px 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}
.dola-text-box p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.3;
}
.ss-technical .flickity-viewport img {
    padding: 4px;
    border-radius: 10px;
}
.ss-product .text-dec {
    background-color: #0f7d5c;
    display: inline-block;
    padding: 10px 50px 10px 20px;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 100%, 0% 100%);
    border-bottom: 4px solid #8bdcb6;
    margin-bottom: 15px;
    width: auto;
}
.ss-product .text-dec h2 {
    color: #fff !important;
    margin: 0;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* Shared Product Styles for .ss-product and .ss-technical */
.ss-product .products-detail .col-inner,
.ss-technical .slider .col-inner {
    background-color: #fff;
    border: 2px solid #c3f0d8;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s;
    margin-bottom: 10px;
}

.ss-product .products-detail .col-inner:hover,
.ss-technical .slider .col-inner:hover {
    border-color: #0f7d5c;
}

.ss-product .box-image,
.ss-technical .box-image {
    padding: 10px;
}

.ss-product .box-text,
.ss-technical .box-text {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.ss-product .title-wrapper,
.ss-technical .title-wrapper {
    padding: 0 10px;
    text-align: center;
    margin-bottom: 5px;
}

.ss-product .product-title,
.ss-technical .product-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #0f7d5c;
    font-size: 16px;
    line-height: 1.3;
}

.ss-product .product-title a,
.ss-technical .product-title a {
    color: #0f7d5c;
}

.ss-product .price-wrapper,
.ss-technical .price-wrapper {
    background-color: #c3f0d8;
    padding: 10px;
    text-align: center;
    border-radius: 50% 50% 0 0 / 15px 15px 0 0;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
}

.ss-product .price,
.ss-technical .price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #000;
    line-height: 1.2;
}

.ss-product .price del,
.ss-technical .price del {
    font-size: 12px;
    color: #555;
    opacity: 0.8;
    order: 1;
    display: block;
    margin-bottom: 2px;
}

.ss-product .price del bdi::before,
.ss-technical .price del bdi::before {
    content: "Giá niêm yết: ";
    font-weight: normal;
    font-size: 11px;
}

.ss-product .price ins,
.ss-technical .price ins {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    order: 2;
    display: block;
}

.ss-product .price > .amount,
.ss-technical .price > .amount {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    order: 2;
    display: block;
}

.ss-product .badge-container,
.ss-technical .badge-container {
    top: auto !important;
    left: auto !important;
    bottom: 15px;
    right: 10px;
    margin: 0 !important;
    display: none;
}

.ss-product .badge-inner.on-sale,
.ss-technical .badge-inner.on-sale {
    background-color: #0f7d5c;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 38px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid #fff;
}
.text-link{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.text-link p{
    margin-bottom: 0;
    color: #40957f;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.3s;
}
.text-link p:hover{
    color: #0f7d5c;
}
@media (max-width: 849px) {
    .text-link {
        justify-content: flex-start;
        margin-top: 10px;
    }
}
@media (max-width: 768px) {
    .dola-feature-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }
    .dola-feature-item {
        width: 100%;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}
