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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --bg-color: #fff;
}

#main,
#wrapper {
    background: var(--bg-color);
}

footer a.ux-menu-link__link.flex {
    justify-content: flex-start;
}

.header-nav li a {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
}


.header:not(.transparent) .header-nav-main.nav>li>a {
    display: inline !important;
}

.product-small.col .badge-container {
    display: none;
}
form.variations_form.cart.ux-swatches-js-attached.ux-variation-images-js-attached table.variations{
    display: block !important;
}


/* Sidebar accordion styles */
.category-accordion .widget-title {
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 14px;
    font-size: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.category-accordion .accordion-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-accordion .cat-link,
.category-accordion .cat-toggle .cat-label {
    display: block;
    text-decoration: none;
    color: #222;
    font-size: 14px;
}

.category-accordion .cat-toggle {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6px;
}

.category-accordion .toggle-icon {
    font-weight: 700;
    margin-left: 10px;
}

.category-accordion .children {
    padding-left: 14px;
}

.category-accordion .cat-item.is-current>.cat-toggle .cat-label,
.category-accordion .cat-link.current-top {
    font-weight: 700;
    color: #111;
}

.category-accordion .cat-item.is-current>.children {
    display: block;
}

.category-accordion .child-item.current-child a {
    font-weight: 700;
    color: #111;
}

.category-accordion .children .child-item a {
    display: block;
    font-size: 14px;
}

ul.accordion-list li a {
    font-weight: 300;
    text-transform: uppercase;
}

.sorter-wrapper {
    display: flex;
    justify-content: flex-end;
}

p.woocommerce-result-count.hide-for-medium {
    display: none;
}

.sorter-wrapper * {
    margin: 0;
}

.sorter-wrapper form.woocommerce-ordering {
    margin-top: -6px;
    margin-bottom: 20px;
}

.accordion-list button.toggle {
    display: none;
}

.accordion-list button.cat-toggle {
    padding: 0;
    margin: 0;
}

.section-about .col .text {
    padding: 15px 2em;
}

.section-about .text-columns {
    column-count: 2;
    column-gap: 1rem;
}

.section-about .img-columns {
    padding: 0 25px;
    padding-left: 7% !important;
}

/* --- Cấu hình chung cho Demo --- */
/* Đặt font chữ dễ đọc */
.post-item {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 350px;
    /* Giới hạn chiều rộng thẻ để demo đẹp hơn */
}

a.gt-current-wrapper.notranslate.glink.nturl.gt_raw_link-xxjexk {
    display: none;
}

li.menu-item.menu-item-gtranslate.menu-item-has-children.notranslate {
    display: flex;
}

li.menu-item.menu-item-gtranslate.menu-item-has-children.notranslate ul.dropdown-menu.sub-menu {
    display: flex;
    list-style: none;
}

li.menu-item.menu-item-gtranslate.menu-item-has-children.notranslate ul.dropdown-menu.sub-menu li {
    margin: 0 5px;
}

/* --- Style cho Card bao ngoài --- */
.box-blog-post {
    background-color: #ffffff;
    border-radius: 12px;
    /* Bo tròn góc */
    overflow: hidden;
    /* Ẩn phần hình ảnh bị thừa khi zoom */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Bóng đổ nhẹ */
    transition: all 0.3s ease;
    /* Hiệu ứng mượt mà */
    border: 1px solid #f0f0f0;
}

/* Hiệu ứng khi di chuột vào cả thẻ */
.box-blog-post:hover {
    transform: translateY(-5px);
    /* Nổi lên trên 1 chút */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* Bóng đổ đậm hơn */
}

/* --- Phần Hình ảnh --- */
.box-image {
    position: relative;
    overflow: hidden;
}

.box-image .image-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Đảm bảo ảnh lấp đầy khung mà không méo */
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
    /* Hiệu ứng zoom chậm */
}

/* Zoom ảnh khi hover vào box */
.box-blog-post:hover .box-image img {
    transform: scale(1.1);
}

/* --- Phần Nội dung Text --- */
.box-text {
    padding: 20px 24px;
}

/* Tiêu đề bài viết */
.post-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.post-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #007bff;
    /* Đổi màu xanh khi hover tiêu đề (bạn có thể thay màu brand của bạn) */
}

/* Dòng kẻ chia cách (Divider) */
.is-divider {
    height: 3px;
    width: 40px;
    background-color: #007bff;
    /* Màu đường kẻ */
    margin: 10px 0 15px 0;
    border-radius: 2px;
}

/* Đoạn trích dẫn (Excerpt) */
.from_the_blog_excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;

    /* Cắt bớt text nếu quá dài (tối đa 3 dòng) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.gt-current-wrapper.notranslate.glink.nturl.gt_raw_link-xxjexk {
    display: none !important;
}

span.price {
    display: none !important;
}

.title-wrapper p.name.product-title.woocommerce-loop-product__title {
    display: none;
}

.box-text.box-text-products {
    position: unset
}

.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content {
    margin-top: 30px;
}

.product_meta,
.product-info .social-icons {
    display: none;
}

.entry-content p{
    margin-bottom: 1.5em;
}


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


}