/*
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.   ***************/


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


}
.shop-page-title .page-title-inner {
    min-height: 500px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Ẩn cột trống bên trái */
.shop-page-title .page-title-inner > .flex-col:first-child {
    display: none !important;
}


/* Ẩn cột trống bên phải */
.shop-page-title .page-title-inner > .flex-col.flex-right {
    display: none !important;
}


/* Cột giữa chứa H1 + breadcrumb */
.shop-page-title .page-title-inner > .flex-col.flex-center {
    width: 100% !important;
    max-width: 100% !important;

    flex: 1 1 100% !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;

    margin: 0 !important;
    padding: 20px !important;
}


/* H1 */
.shop-page-title .page-title-inner h1 {
    width: 100% !important;

    margin: 0 0 12px !important;

    color: #fff !important;

    text-align: center !important;
}


/* Breadcrumb - đang nằm trong .is-medium */
.shop-page-title .page-title-inner .is-medium {
    width: auto !important;

    margin: 0 auto !important;

    text-align: center !important;

    color: #fff !important;
}


/* Breadcrumb link */
.shop-page-title .breadcrumbs,
.shop-page-title .breadcrumbs a {
    color: #fff !important;
}


/* Mobile */
@media (max-width: 849px) {

    .shop-page-title .page-title-inner {
        min-height: 300px !important;
    }

    .shop-page-title .page-title-inner > .flex-col.flex-center {
        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;
        justify-content: center !important;

        opacity: 1 !important;
        visibility: visible !important;
    }

    .shop-page-title .page-title-inner h1,
    .shop-page-title .page-title-inner .is-medium {
        display: block !important;

        opacity: 1 !important;
        visibility: visible !important;
    }
}


.single-product-acf-banner {
    width: 100%;
    height: 500px;
    margin: 0 0 30px;
    overflow: hidden;
}

.single-product-acf-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile */
@media (max-width: 768px) {
    .single-product-acf-banner {
        height: 300px;
    }
}


.product-gallery .flickity-slider > .product-gallery-slider,
.product-gallery .flickity-slider > .col,
.product-gallery .woocommerce-product-gallery__image {
    height: 550px !important;
}

/* Ảnh bên trong */
.product-gallery .woocommerce-product-gallery__image img,
.product-gallery .product-gallery-slider img {
    width: 100% !important;
    height: 500px !important;

    object-fit: cover !important;
    object-position: center center !important;

    display: block !important;
}


/* Tablet */
@media (max-width: 849px) {

    .product-gallery .woocommerce-product-gallery__image img,
    .product-gallery .product-gallery-slider img {
        height: 450px !important;
    }

    .product-gallery .woocommerce-product-gallery__image {
        height: 450px !important;
    }

}


/* Mobile */
@media (max-width: 549px) {

    .product-gallery .woocommerce-product-gallery__image img,
    .product-gallery .product-gallery-slider img {
        height: 350px !important;
    }

    .product-gallery .woocommerce-product-gallery__image {
        height: 350px !important;
    }

}



.acf-text-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 0 !important;
    border-radius: 5px;
}

.acf-text-button .acf-button-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin: 0 !important;
}

.product-acf-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.acf-image-button {
    display: inline-flex;
    align-items: center;
}

.acf-image-button img {
    display: block;
    max-height: 65px;
    width: auto;
}

.acf-text-button {
    margin: 0 !important;
    border-radius: 5px;
}



.product-tech-specs {
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
}

.product-tech-specs h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 18px;
    color: #222;
}


/* 4 cột */
.product-tech-specs .tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 38px;
    row-gap: 0;
}


/* Từng thông số */
.product-tech-specs .spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
    padding: 11px 0;

    border-bottom: 1px solid #eee;
}


/* Tên thông số */
.product-tech-specs .spec-label {
    font-size: 15px;
    font-weight: 400;
    color: #444;
}


/* Giá trị */
.product-tech-specs .spec-value {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    text-align: right;
}


/* Tablet */
@media (max-width: 849px) {

    .product-tech-specs .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 25px;
    }

}


/* Mobile */
@media (max-width: 549px) {

    .product-tech-specs {
        padding: 15px;
    }

    .product-tech-specs .tech-grid {
        grid-template-columns: 1fr;
    }

    .product-tech-specs .spec-row {
        padding: 10px 0;
    }
}




.add-to-cart-button a:before {
    display: inline-block;
    content: "\f105";
    font-family: fl-icons;
    float: left;
    font-weight: 300;
    margin-right: 5px;
    color: #fbb812;
}


.product-acf-subtitle{
        color: #a8a8a8;
}


