/*
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.   ***************/
/* Khi màn hình lớn hơn 1025px NHƯNG nhỏ hơn 1650px */
@media (min-width: 1025px) and (max-width: 1650px) {
    .container-width, .full-width .ubermenu-nav, .container, .row {
        max-width: 1428px !important;
    }
}
/* Laptop màn nhỏ hoặc Tablet ngang */
@media (min-width: 1025px) and (max-width: 1280px) {
   .container-width, .full-width .ubermenu-nav, .container, .row {
       max-width: 1170px !important; 
   }
}
.row-full-width {
    max-width: 100% !important;
}
.product-small .box-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.product-small.col > .col-inner {
    transition: all 0.3s;
    height: 100%;
}
.nbw-thumb--wrap {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px; 
    padding: 0 10px;
    z-index: 10;
}
.nbw-thumb--items {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #e1e1e1;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: #fff;
}
.nbw-thumb--items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nbw-thumb--items.active {
    border: 2px solid var(--primary-color, #d26e4b);
    transform: scale(1.1);
}
.nbw-thumb--items:hover {
    border-color: var(--primary-color, #d26e4b);
}
@media (max-width: 550px) {
    .nbw-thumb--items {
        width: 28px;
        height: 28px;
    }
    .product-small.col > .col-inner {
        padding-bottom: 45px;
    }
}
/* các nút trong vùng image-tools */
.grid-tools {
    margin-bottom: 3px;
}
.image-tools a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px; 
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: none;
    padding: 0 !important; 
}

.image-tools a:hover {
    background-color: var(--primary-color, #d26e4b) !important;
    transform: translateY(-3px);
    color: #fff !important;
}
.image-tools a .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    margin: 0;
}
.image-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}




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


}