
:root {
    --font-family: "Montserrat";
    --font-secondary: "SVN-Astronout";
    --primary-color: #161619;
    --text-color: #161619;
    --text-color-paragraph: #898999;
    --lg-radius: 24px;
    --md-radius: 22px;
    --xlg-radius: 60px;
}

@font-face {
    font-family: 'SVN-Astronout';
    src: url('../fonts/Astronout/SVN-Astronout.eot');
    src: url('../fonts/Astronout/SVN-Astronout.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Astronout/SVN-Astronout.woff2') format('woff2'),
        url('../fonts/Astronout/SVN-Astronout.woff') format('woff'),
        url('../fonts/Astronout/SVN-Astronout.ttf') format('truetype'),
        url('../fonts/Astronout/SVN-Astronout.svg#SVN-Astronout') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 20px;
    color: var(--primary-color);
}

.heading-style *,
.heading-style {
    font-family: var(--font-secondary) !important;
    font-size: 80px;
    line-height: 100%;
    font-weight: 400;
    margin-bottom: 0;
}

.ft-32 *,
.ft-32 {
    font-size: 32px;
    line-height: 100%;
    font-weight: 600;
}

body a {
    text-decoration: unset !important;
}

body .btn-blur {
    background-color: #FFFFFF1A;
    backdrop-filter: blur(4px);
    border: 1px solid white;
    border-radius: 0 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    min-height: unset;
    font-weight: 500;
    color: white;
    width: max-content;
    height: 50px;
    padding: 12px 24px !important;
    text-decoration: unset !important;
    transition: all 0.4s;
}

body .btn-primary {
    background-color: var(--primary-color);
    backdrop-filter: blur(4px);
    border: 1px solid white;
    border-radius: 0 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    min-height: unset;
    font-weight: 500;
    color: white;
    width: max-content;
    height: 50px;
    padding: 0 24px !important;
    text-decoration: unset !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s;
}

body .btn-primary:hover {
    background-color: white;
    color: var(--text-color);
    border-color: var(--primary-color);
}

body .btn-blur:hover {
    background-color: var(--primary-color);
    backdrop-filter: blur(0);
    border-color: var(--primary-color);
}

body .btn-radius {
    border-radius: 24px !important;
}

/* button arrows slider */
.slick-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%) scale(-1);
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #DEE5FA66;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0;
    padding: 0;
    margin: 0;
    background-image: url(../images/arrow-right.svg);
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
    opacity: .7;
    transition: all 0.4s;
}

.slick-arrow.slick-next {
    transform: translateY(-50%) translateX(50%) scale(1);
}

/* --- FIX Magnific Popup arrow in Flatsome --- */
.mfp-wrap .mfp-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    cursor: pointer !important;

}

.mfp-arrow:before,
.mfp-arrow:after {
    border: none !important;
}

button.mfp-arrow.mfp-arrow-left {
    transform: translateY(-50%) scale(-1) !important;
}

button.mfp-arrow {
    background-color: #DEE5FA66 !important;
    border: none !important;
    padding: 0 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    background-image: url(../images/arrow-right.svg);
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
}

.mfp-arrow-left {
    left: 20px !important;
}

.mfp-arrow-right {
    right: 20px !important;
}

/* Ngăn Flatsome auto-hide khi ảnh load */
.mfp-figure figure {
    position: relative !important;
}

.mfp-img {
    max-height: 90vh !important;
    object-fit: contain !important;
}

.mfp-content {
    min-height: 60vh !important;
}

/* breadcrumb */
.section-breadcrumb {
    border-top: 1px solid #DBDEF2;
}

.custom-breadcrumb {
    padding-top: 15px;
    padding-bottom: 15px;
}

.custom-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-breadcrumb,
.custom-breadcrumb a {
    font-size: 12px;
    line-height: 18px;
    color: var(--text-color-paragraph);
    font-weight: 400;
    transition: all 0.4s;
}

.custom-breadcrumb a:hover {
    color: #ffb619;
}

.custom-breadcrumb span {
    color: var(--text-color);
    font-size: 14px;
}



/* content */
.furniture-section .is-loading {
    opacity: .5;
    pointer-events: none;
}

.furniture-section .furn-title {
    width: max-content;
}

.furniture-section .title-wrapper p {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    color: var(--text-color-paragraph);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
    letter-spacing: 2px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.furniture-section .title-wrapper .product-title a {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
    letter-spacing: 2px;
    margin: 0;
}

.furniture-section .furn-select {
    margin-bottom: 0;
    border-radius: var(--md-radius);
    border: 1px solid var(--primary-color);
    padding: 8px 28px 8px 12px;

}

.furniture-section .slick-track {
    margin: 0;
}

.furniture-section .furn-price {
    display: inline-block;
    margin-top: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #E2E5EC;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    color: var(--text-primary);
}


.furniture-section .furn-card .box-text {
    padding-bottom: 0;
    padding-top: 24px;
}

/* Ảnh co theo tỉ lệ tự nhiên, cao cố định */
.furniture-section .furn-card .box-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Đảm bảo Slick không bóp item */
.furniture-section .furn-card .box-image {
    width: 100%;
    height: 150px;
}

.furniture-section .slick-list {
    margin: 24px -12px;
    padding-right: 80px;
}

.furniture-section .slick-slide {
    margin: 0 12px;
}

.slick-arrow.slick-disabled {
    opacity: 0 !important;
}

.furniture-section .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%) scale(-1);
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #DEE5FA66;
    backdrop-filter: blur(8px);
    background-image: url(../images/arrow-right.svg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0;
    padding: 0;
    margin: 0;
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
    opacity: .7;
    transition: all 0.4s;
}

.furniture-section .slick-arrow.slick-next {
    transform: translateY(-50%) translateX(50%) scale(1);
    right: 0;
}

.furniture-section .slick-arrow.slick-prev {
    left: 0;
}

.furniture-section .slick-arrow:hover {
    opacity: 1;
}

.post-section .row-slider {
    margin-top: 24px;
}

.post-section .post-item .box-image {
    aspect-ratio: 410 / 240;
    border-radius: var(--lg-radius);
    overflow: hidden;
}

.post-section .post-item .box-text {
    text-align: left !important;
    padding: 16px 0px 0px;
}

.post-section .post-item .box-text .post-title a {
    margin: 0;
    font-size: 20px;
    line-height: 22px;
    font-weight: 600;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.4s;
}

.post-section .post-item .box-text .post-title a:hover {
    color: #ffb619;

}

.post-section .slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: 0;
}

.post-section .flickity-prev-next-button {
    bottom: 50%;
    width: 56px;
    height: 56px;
    background-color: #DEE5FA66;
    backdrop-filter: blur(8px);
    color: var(--primary-color) !important;
    border-radius: 50%;
    border: none !important;
    background-image: url(../images/arrow-right.svg);
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7 !important;
}

.post-section .flickity-prev-next-button:hover {
    opacity: 1 !important;
}

.post-section .flickity-prev-next-button.next {
    transform: translateY(50%) !important;
    right: 0;
}

.post-section .flickity-prev-next-button.previous {
    transform: translateY(50%) scale(-1) !important;
    left: 0;
    right: unset;
}

.post-section .flickity-prev-next-button svg {
    display: none;
}

.contact-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 44%, rgba(255, 255, 255, 0) 75%);
}

.contact-section form {
    margin-top: 24px;
}

.contact-section form .column input {
    border: 1px solid #E2E5EC;
    padding: 16px;
    height: 48px;
    color: var(--text-color);
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

.contact-section form .column.column-half p {
    display: flex;
    gap: 16px;
}

.contact-section form .column.column-half span {
    width: calc(50% - 8px);
    display: block;
}

.contact-section form input[type="submit"] {
    width: 100%;
    margin: 16px 0 0;
    height: 48px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    transition: all 0.4s;
}

.contact-section .wpcf7-not-valid-tip,
.contact-section .wpcf7-response-output,
.contact-section .wpcf7-spinner {
    display: none !important;
}

.contact-section form .wpcf7-form-control:hover {
    color: var(--text-color);
    background-color: white;
}

.space-section {
    position: relative;
}

.space-section .col-heading {
    position: absolute;
    top: 0;
    left: 0;
}

.space-section .row-slider {
    position: relative;
}

.space-section .row-image .col {
    display: flex;
    align-items: flex-end;
}

.space-section .row-image .col>.col-inner {
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    max-height: 560px;
}

.space-section .row-image .col .col-inner .img {
    width: 100%;
    height: 100%;
}

.space-section .row-image .col .col-inner .img .img-inner {
    width: 100%;
    height: 100%;
}

.space-section .row-image .col .col-inner .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.space-section .row-image .col:first-child>.col-inner {
    height: 70%;
}

.space-section .row-image .col:nth-child(2)>.col-inner {
    height: 55%;
}

.space-section .row-image .col:nth-child(3)>.col-inner {
    height: 75%;
    display: flex;
    gap: 30px;
    flex-direction: column;
}

.space-section .row-image .col:nth-child(3) .col-inner .img {
    border-radius: 24px;
    overflow: hidden;
}

.space-section .row-image .col:nth-child(3) .col-inner .img:first-child {
    height: calc(60% - 30px);
    margin-bottom: 0;
}

.space-section .row-image .col:nth-child(3) .col-inner .img:last-child {
    height: 40%;
}

.space-section .flickity-button {
    display: none !important;
}

.space-section .col-bottom>.col-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 12px;
}

.col-bottom .flick-arrows {
    display: flex;
    align-items: center;
    gap: 16px;
}

.flick-arrows br {
    display: none;
}

.flick-arrows .arrow {
    width: 56px;
    height: 56px;
    background-color: #DEE5FA66;
    backdrop-filter: blur(8px);
    border-radius: 50%;
    background-image: url(../images/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .7;
    transition: all 0.4s;
}

.flick-arrows .arrow:hover {
    opacity: 1;
}

.flick-arrows .arrow.prev {
    transform: scale(-1);
}

.about-section-one .row-heading {
    margin-bottom: 24px;
}

.about-section-one .row-heading h1 {
    padding-bottom: 24px;
}

.about-section-one p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: var(--text-color-paragraph);
    letter-spacing: 2px;
}

.about-section-one strong {
    color: var(--text-color);
}

.about-section-one .row-content {
    margin-bottom: 26px;
}

.about-section-one .row-content .col:first-child .col-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.about-section-one .row-content .col:first-child img {
    aspect-ratio: 411 / 388;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-section-one .row-content .col:nth-child(2) .img:first-child {
    margin-bottom: 30px;
}

.about-section-one .row-content .col:nth-child(3) img,
.about-section-one .row-content .col:nth-child(2) .img:first-child img {
    aspect-ratio: 411 / 322;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 60px;
}

.about-section-one .row-content .col:nth-child(3) img {
    border-radius: 0 !important;
}

.about-section-one .row-content .col:nth-child(2) .img:last-child img {
    aspect-ratio: 411 / 166;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom-right-radius: 60px;
}



/* product detail */
.section-info-product {
    margin-bottom: 80px;
}

.product-gallery-slider {
    margin-bottom: 24px;
}

.single-product .btn-zoom {
    opacity: .7;
    transition: all 0.4s;
}

.single-product .btn-zoom:hover {
    opacity: 1;
}

.single-product .flick-arrows .arrow.next {
    transform: scale(-1);

}

.single-product .flick-arrows .arrow {
    width: 32px;
    height: 32px;
    background-size: 6px;
    background-image: url('../images/ic-arrow-right.svg');
    transform: scale(1);
}

.single-product .product-gallery-slider .gallery-item {
    padding-bottom: 0;
}

.single-product .product-gallery-slider .gallery-item img {
    padding-bottom: 0;
    aspect-ratio: 630 / 254;
    width: 100%;
    height: auto;
}

.single-product .product-gallery-slider .slick-arrow {
    display: none !important;
}

.single-product .product-gallery-slider .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin-bottom: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
    top: calc(100% + 30px);
}

.single-product .product-gallery-slider .slick-dots li {
    margin-bottom: 0;
}

.single-product .product-gallery-slider .slick-dots li.slick-active button {
    background-color: var(--text-color);
}

.single-product .product-gallery-slider .slick-dots button {
    padding: 0;
    margin: 0;
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background-color: var(--text-color-paragraph);
    font-size: 0px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-info .product-name-desc h1 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.product-info .product-name-desc p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-color-paragraph);
    font-weight: 400;
}

.product-info .product_price {
    font-size: 20px;
    line-height: 24px;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 2px;
}

.information-detail {
    background-color: #DEE5FA66;
    margin-bottom: 80px;
}

.information-detail .col-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    height: 100%;
    padding: 30px 0px;
}

.information-detail .col-content .desc {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: var(--text-color-paragraph);
}

.information-detail .col-content .desc strong {
    color: var(--text-color);
}

.information-detail .col-image {
    aspect-ratio: 624 / 416;
    width: 100%;
    height: auto;
}

.information-detail .col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* related product */
.custom-related-products {
    margin-bottom: 80px;
}

/* danh muc san pham */
#archive-products {
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: #F2F5FD;
}

/* bai viet */
.featured-posts {
    max-width: 100%;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
    margin-top: 24px;
}

.featured-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #DBDEF2;
}

.featured-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.featured-item img {
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform .4s ease;
}

.featured-item:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, #FFFFFF00 40%, #F2F5FD 75%);
    padding: 16px;
}

.featured-overlay h3 {
    color: var(--text-color);
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.section-tong-hop .post-item .box-image {
    aspect-ratio: 410 / 240;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 16px;
}

.section-tong-hop .post-item .box-image .image-cover {
    height: 100%;
}

.section-tong-hop .post-item .box-text {
    padding: 0;
}

.section-tong-hop .post-item .box-text a {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.4s;
}

.section-tong-hop .post-item .box-text a:hover {
    color: #ffb619;
}

/* post detail */
.blog-single .entry-image img {
    border-radius: 24px;
    aspect-ratio: 128 / 40;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 16px 0px 24px;
}

.blog-single .blog-share {
    text-align: left !important;
    border-top: 1px solid #757575;
    padding-top: 24px;
    padding-bottom: 24px;
}

.blog-single .blog-share .social-icons a {
    opacity: 1 !important;
}

.is-divider {
    display: none !important;
}

@media(min-width: 850px) {
    .about-section .row .col {
        padding-bottom: 0;
    }


}

@media(max-width: 849px) {
    .about-section-one .row-content .col:first-child img {
        margin-top: 20px;
    }

    .space-section .col-heading {
        position: static;
    }

    .custom-breadcrumb {
        padding-left: 16px;
        padding-right: 16px;
    }

    .space-section .col-bottom>.col-inner {
        padding: 24px 0 0;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        /* grid-auto-rows: 180px; */
    }

    .featured-item img {
        aspect-ratio: 4 / 3;
    }

    .featured-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media only screen and (max-width: 549px) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .about-section-one .row-heading {
        margin-bottom: 8px;
    }

    .about-section-one .row-content {
        gap: 16px;
    }

    .about-section-one .row-content .col:nth-child(2) .img:first-child {
        margin-bottom: 16px;
    }

    .about-section-one .row-content .col:nth-child(3) .col-inner {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }

    .about-section-one .row-content .col:nth-child(3) .col-inner p {
        text-align: left !important;
    }

    .contact-section::before {
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(90deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .8) 53%, rgba(255, 255, 255, 0) 75%);
    }

    .contact-section .section-bg.bg-loaded {
        height: 100%;
        position: absolute;
        top: 0;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
    }

    .contact-section form .column.column-half p {
        flex-wrap: wrap;
        gap: 0;
    }

    .contact-section form .column.column-half span {
        width: 100%;
        display: block;
    }

    .about-section-one .row-content .col:nth-child(1) {
        order: 2;
    }

    .about-section-one .row-content .col:nth-child(2) {
        order: 1;
    }

    .about-section-one .row-content .col:nth-child(3) {
        order: 3;
    }

    .post-section .flickity-prev-next-button {
        width: 40px !important;
        height: 40px;
        background-size: 6px;
    }

    .space-section .row-image .col>.col-inner {
        height: 100% !important;
    }

    .space-section .row-image .col {
        height: max-content;
    }

    .space-section .row-image .col:nth-child(3) .col-inner .img {
        height: max-content !important;
    }

    .space-section .row-image .col .col-inner .img img {
        aspect-ratio: 1;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .furniture-section .slick-list {
        margin-right: 0;
        margin-left: 0;
    }

    .furniture-section .slick-slide {
        margin: 0;
    }

    .furniture-section .slick-arrow {
        transform: translateY(-50%) scale(-1);
        width: 40px;
        height: 40px;
        background-size: 6px;
    }

    .furniture-section .slick-arrow.slick-next {
        transform: translateY(-50%) scale(1);
    }

    .post-section .row-slider {
        margin-bottom: 24px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .featured-posts {
        padding: 0px 15px;
    }
}