/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

body ::selection {
    background: #ed1c23 !important;
    /* màu nền bôi đen */
    color: #ffffff !important;
    /* màu chữ */
}

body ::-moz-selection {
    background: #ed1c23 !important;
    color: #ffffff !important;
}

/*----------------------- Home ----------------------------*/
.image-carousel .swiper-slide figure img {
    width: 179px;
    filter: grayscale(100%);
    opacity: 0.6;
}

.image-trademark {
    position: relative;
}

.image-trademark::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 375px;
    background: linear-gradient(0deg, rgb(0 59 164 / 0%), rgba(0, 0, 0, 0.1));
    border-top-left-radius: 187px;
    z-index: -1;
}

/* css slider center mode */
.slick-center-wrapper {
    margin: auto;
}

.slick-center-slider .slick-slide {
    transform: scale(0.85);
    transition: all 0.4s ease;
    opacity: 0.6;
    text-align: center;
}

.slick-center-slider .slick-center {
    transform: scale(1);
    opacity: 1;
}

.slick-slide-item img {
    width: 100%;
    height: 250px;
    /* Đặt chiều cao đồng bộ */
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.slick-slide-item p {
    margin-top: 16px;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
}

/* .slick-center-slider .slick-center img đã được đồng bộ chiều cao ở trên */
/* Mũi tên */
.slick-prev,
.slick-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    top: 40% !important;
    transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.slick-prev {
    left: 31% !important;
}

.slick-next {
    right: 31% !important;
}

.slick-prev:before,
.slick-next:before {
    color: #000 !important;
    font-size: 18px;
}

/*------------- about -------------*/
.image-about {
    position: relative;
}

.image-about::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 100%;
    background-color: #e4eaf5;
    z-index: -1;
}

.image-about-02 {
    position: relative;
}

.image-about-02::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 100%;
    background-color: #e4eaf5;
    z-index: -1;
}

.contact-image {
    position: relative;
}

.contact-image::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 100%;
    background-color: #e4eaf5;
}

.ff-el-group.ff-custom_html {
    font-family: "SFUAuchonRegular", sans-serif;
    font-size: 22px;
}

/*---------- Hieu ung ---------------*/
.slide-bottom {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.slide-bottom.active {
    opacity: 1;
    transform: translateY(0);
}

/*-----------------------------------*/

/*-------------------------- Blog -----------------*/
.post-blog .elementor-post__text .elementor-post__title {
    display: block;
    display: -webkit-box;
    min-height: 42px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    visibility: visible;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

/*---------------------- Nhà phân phối -----------------*/
.devvn_localstore_wrap .dvls_flex_box input::placeholder,
.devvn_localstore_wrap .dvls_flex_box input:focus {
    color: #fff;
}


.devvn_localstore_wrap select:focus {
    color: #fff;
}

.devvn_localstore_wrap select {
    color: #fff;
}

.dvls_flex_box.dvls_col_full button {
    background: transparent;
    color: #fff;
}

/*----------------- Animation -----------------------------*/

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

    .localstore_search_wrap,
    .localstore_maps {
        min-height: auto;
    }
}