/* banner */

.banner_box picture:after {
    display: none;
}

.product-banner .banner_content {
    transform: translate(0, 0);
    top: initial;
    left: initial;
    bottom: 70px;
    right: 60px;
    width: 350px;
    text-align: initial;
}

.product-banner .banner_title {
    font-size: 42px;
    line-height: 1.2;
}


/* design every space */

.dessign-every-section {
    overflow: hidden;
}

.design-text-wrapper {
    display: flex;
    gap: 40px;
}

.left-design-text {
    max-width: 500px;
    width: 100%;
}

.right-design-text {
    max-width: 550px;
    width: 100%;
}

.right-design-text p {
    font-size: 16px;
    line-height: 1.5;
}

.design-text-wrapper .section_title {
    line-height: 1.3;
}

.design-flip-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.design-flip-img {
    position: relative;
}

.design-flip-img::after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(247, 244, 235, 0) 55.12%, rgba(247, 244, 235, 0.9) 97.7%);
    z-index: 9;
}

.design-text-slider {
    margin-top: 50px;
}

.design-text-slide {
    height: auto;
}

.design-text-slide-wrapper {
    position: relative;
    transition: all 0.5s;
    width: 100%;
    height: 430px;
    perspective: 1000px;
    overflow: hidden;
}

.design-flip-text {
    position: absolute;
    top: 75%;
    left: 0;
    right: 0;
    padding: 40px 30px 25px 30px;
    transition: all 0.5s;
    height: fit-content;
}

.design-text-heading {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #242424;
    padding-bottom: 20px;
    position: relative;
}

.design-text-heading:before {
    content: '';
    position: absolute;
    bottom: -0.1px;
    height: 1.5px;
    width: 31px;
    background: var(--brandBg);
    left: 0px;
    z-index: 1;
}

.design-text-heading::after {
    content: '';
    position: absolute;
    bottom: 0px;
    height: 1px;
    width: 86px;
    background: #B3B3B3;
    left: 0px;
}

.design-text-des {
    height: 0;
    opacity: 0;
    transition: all 0.5s;
}

.design-text-des p {
    font-size: 14px;
    font-weight: 300;
    color: #000;
    line-height: 1.5;
    margin-top: 20px;
}

.design-text-btn {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #333333;
    display: flex;
    align-items: anchor-center;
    gap: 7px;
    padding-top: 20px;
    transition: all 0.3s;
}

.design-text-btn .plus-icon {
    font-size: 20px;
    font-weight: 400;
}

.design-text-slide-wrapper:hover .design-flip-text {
    top: 0;
}

.design-text-slide-wrapper:hover .design-text-des {
    height: fit-content;
    opacity: 1;
}

.design-text-btn:hover {
    color: #FF0000;
}

.design-text-btn:hover span:last-child {
    text-decoration: underline;
}


.design-flip-img {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.design-flip-img img,
.design-flip-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.9s ease;
}

.design-flip-img img {
    transform: rotateY(0deg);
    z-index: 2;
}

.design-flip-back {
    background-color: #F7F4EB;
    transform: rotateY(180deg);
    z-index: 1;
}

.design-text-slide-wrapper:hover .design-flip-img img {
    transform: rotateY(180deg);
}

.design-text-slide-wrapper:hover .design-flip-back {
    transform: rotateY(0deg);
    z-index: 3;
}



/* design tab section */

.design-tab-section {
    background-color: #F7F4EB;
}

.design-tab-a {
    border-top: 1px solid #CFCFCF;
    background-color: #F7F4EB;
    position: sticky;
    top: 60px;
}

.design-tab-a:last-of-type {
    border-bottom: 1px solid #CFCFCF;
}

.design-tab-wrapper {
    display: flex;
}

.left-design-area {
    width: 50%;
}

.left-design-area img {
    width: 100%;
    display: block;
}

.right-design-area {
    width: 50%;
}

.right-design-area .right-design-wrapper {
    display: flex;
    gap: 25px;
    padding: 114px 60px 50px 40px;
    position: relative;
    height: 100%;
}

.tab-item-name {
    font-size: 16px;
    font-weight: 400;
    color: #ED1C21;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-top: 8px;
    white-space: nowrap;
}

.tab-line {
    width: 62px;
    height: 2px;
    border-top: 1px solid #4D4D4D;
    position: relative;
    flex: none;
    margin-top: 18px;
}

.tab-line::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: #4D4D4D;
    transform: rotate(45deg);
    position: absolute;
    left: -2px;
    top: -4px;
}

.product-discription .product-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    color: #333333;
    margin-bottom: 20px;
}

.product-discription p {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 1.5;
}

.product-discription .product-btn {
    margin-top: 40px;
}

/* legacy */
.lagecy-section {
    overflow: hidden;
}

.legacy-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.legacy-card .legacy-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* .legacy-card-wrapper{display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px;} */
.legacy-card-text {
    padding: 20px 16px 20px 20px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 382px;
    transition: all 0.5s;
}

.on-hover-block {
    height: 0;
    opacity: 0;
}

.legacy-card:hover .on-hover-block {
    z-index: 1;
    opacity: 1;
    height: fit-content;
}

.legacy-top-heading {
    margin-bottom: 50px;
}

.legacy-heading {
    font-size: 16px;
    font-weight: 600;
    color: #242424;
    line-height: 1;
    position: relative;
    padding-bottom: 16px;
}

.legacy-heading::before {
    content: '';
    position: absolute;
    bottom: -0.1px;
    height: 1.5px;
    width: 15px;
    background: var(--brandBg);
    left: 0px;
    z-index: 1;
}

.legacy-heading::after {
    content: '';
    position: absolute;
    bottom: 0px;
    height: 2px;
    width: 42px;
    background: #F0F0F0;
    left: 0px;
}

.legacy-card-text p {
    font-size: 14px;
    line-height: 1.45;
    padding: 12px 0 24px 0;
    color: #000000;
    margin-bottom: 0;
}

.legacy-card-text .legacy-btn {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.legacy-card-text .legacy-btn:hover span {
    color: #ED1C24;
    border-bottom: 1px solid #ED1C24;
}

.legacy-card-text .legacy-btn span.plus-icon {
    font-size: 26px;
    font-weight: 200;
    border-bottom: 0;
}

/* catalogue */
.catalogue-section {
    background-color: #F7F4EB;
    overflow: hidden;
    padding-top: 0 !important;
}

.catalouge-slide-wrapper {
    background-color: #fff;
}

.catalouge-img {
    padding: 40px 20px 20px 70px;
}

.catalogue-text {
    text-align: center;
    padding-bottom: 42px;
}

.catalouge-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #242424;
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.catalouge-title::before {
    content: '';
    position: absolute;
    bottom: -0.1px;
    height: 1.5px;
    width: 15px;
    background: var(--brandBg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.catalouge-title::after {
    content: '';
    position: absolute;
    bottom: 0px;
    height: 2px;
    width: 42px;
    background: #D9D9D9;
    left: 50%;
    transform: translateX(-50%);
}

.catalouge-btn {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    display: flex;
    align-items: anchor-center;
    gap: 7px;
    justify-content: center;
    width: fit-content;
    margin: auto;
    transition: all 0.3s;
}

.catalouge-btn:hover {
    color: #FF0000;
}

.catalouge-btn:hover span:last-child {
    text-decoration: underline;
}

.catalouge-btn .plus-icon {
    font-size: 20px;
    font-weight: 400;
}

.catalouge-img img {
    width: 100%;
    height: 100%;
    display: block;
}


/* footer */
.footer_sticky_btn {
    display: none;
}



@media screen and (min-width:1699px) {

    /* design every space */
    .right-design-text {
        max-width: 650px;
    }

    .design-text-slide-wrapper {
        height: 550px;
    }
}



@media screen and (max-width:1400px) {

    /* banner */
    .product-banner .banner_title {
        font-size: 38px;
    }

    .right-design-text p {
        font-size: 14px;
    }

    /* design every space */
    .design-text-heading {
        font-size: 16px;
        padding-bottom: 15px;
    }

    .design-text-des p {
        margin-top: 15px;
    }

    .design-text-btn {
        padding-top: 10px;
    }


    /* design tab section */
    .product-discription p {
        font-size: 14px;
    }

    .product-discription .product-title {
        font-size: 28px;
    }

    .tab-item-name {
        font-size: 14px;
    }

    .tab-line {
        width: 55px;
    }

    .design-tabs {
        font-size: 14px;
    }

    /* .design-tab-a{top: 20px;} */

    /* legacy */
    .legacy-heading {
        font-size: 14px;
    }

    .legacy-heading::before {
        width: 10px;
    }

    .legacy-heading::after {
        width: 35px;
    }

    .legacy-card-text p {
        font-size: 13px;
    }

    .legacy-card-text .legacy-btn {
        font-size: 13px;
    }

    .legacy-card-text .legacy-btn span.plus-icon {
        font-size: 24px;
    }

    .legacy-card-text {
        max-width: 340px;
    }

    /* catalouge */
    .catalouge-title {
        font-size: 16px;
    }

}

@media screen and (max-width:1300px) {

    /* design every space */

    .design-text-slide-wrapper {
        height: 380px;
    }

    .design-flip-text {
        top: 75%;
        padding: 30px 20px 20px 20px;
    }

    .right-design-area .right-design-wrapper {
        padding: 80px 50px 40px 30px;
    }

    /* catalogue */
    .catalouge-img {
        padding: 40px 10px 20px 55px;
    }
}

@media screen and (max-width:1199px) {

    /* design tab section */
    /* .design-tab-a{top: 5px;} */
    .design-tabs-wraapper {
        top: 44px;
    }

    /* legacy */
    .legacy-card-text {
        max-width: 280px;
    }

    .design-tab-a {
        top: 40px;
    }

}

@media screen and (max-width:1099px) {

    /* design every space */
    .design-flip-img::after {
        display: none;
    }

    .design-flip-text {
        position: relative;
        top: initial;
        left: initial;
        right: initial;
        max-width: 90%;
        margin: auto;
        margin-top: -80px;
        background-color: #fff;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        height: calc(100% - 320px);
    }

    .design-flip-img {
        height: initial;
    }

    .design-flip-img img {
        transform: rotateY(0deg);
        z-index: 2;
        height: 400px;
    }

    .design-text-des {
        height: fit-content;
        opacity: 1;
    }

    .design-text-slide-wrapper:hover .design-flip-img img {
        transform: rotateY(0deg);
    }

    .design-flip-back {
        display: none;
    }

    .design-flip-img img,
    .design-flip-back {
        position: static;
    }

    .design-text-slide-wrapper {
        height: 100%;
        overflow: initial;
    }

    .design-text-btn {
        color: #FF0000;
    }

    .desing-text-slide {
        height: auto !important;
    }



    /* legacy */
    .legacy-card-text {
        position: relative;
        left: initial;
        bottom: initial;
        margin: auto;
        margin-top: -50px;
        background-color: #fff;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        max-width: 95%;
    }

    .legacy-card {
        overflow: initial;
    }

    .on-hover-block {
        height: initial;
        opacity: 1;
    }
}

@media screen and (max-width:1024px) {

    .right-design-wrapper {
        flex-wrap: wrap;
    }

    .product-discription {
        width: 100%;
        height: 100%;
    }

    .right-design-area .right-design-wrapper {
        padding: 50px 30px 40px 20px;
    }

    /* design tab section */
    .design-tabs-wraapper {
        gap: 40px;
        justify-content: center;
        padding-left: 0;
    }

    /* legacy */
    /* .legacy-card-wrapper{overflow-x: auto; overflow-y: hidden; display: flex; scrollbar-width: none;} */
    .legacy-card {
        width: 40vw;
        flex: 0 0 auto;
    }

    .legacy-card-text {
        width: 100%;
        height: fit-content;
        opacity: 1;
        right: 0;
        z-index: 1;
    }

    .legacy-card .legacy-img {
        width: 100%;
        height: auto;
    }

}


@media screen and (max-width:991px) {

    /* design every space */
    .design-text-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .right-design-text {
        max-width: 100%;
    }

    .design-text-des p {
        font-size: 13px;
        margin-top: 10px;
    }

    .design-text-btn {
        font-size: 13px;
        padding-top: 5px;
    }

    .design-text-btn .plus-icon {
        font-size: 18px;
    }

    .design-text-heading {
        font-size: 15px;
        padding-bottom: 10px;
    }

    .design-flip-text {
        padding: 20px;
        height: calc(100% - 270px);
    }

    .design-flip-img img {
        height: 350px;
    }

    /* design tab section */
    .design-tabs-wraapper {
        top: 47px;
    }

    /* legacy */
    .legacy-card {
        width: 60vw;
    }

}


@media screen and (max-width:767px) {

    /* banner */
    .product-banner .banner_title {
        font-size: 30px;
    }

    /* design tab section */

    .design-tab-wrapper {
        flex-direction: column;
    }

    .left-design-area {
        width: 100%;
    }

    .right-design-area {
        width: 100%;
    }

    .right-design-area .right-design-wrapper {
        padding: 20px 15px;
        gap: 15px;
    }

    .product-discription .product-btn {
        margin-top: 25px;
    }

    .product-discription .product-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .design-tab-a {
        position: static;
        border: 0;
    }

    .design-tab-a:last-of-type {
        border: 0;
    }

    .design-tabs-wraapper {
        display: flex;
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .design-tabs {
        flex: 0 0 auto;
        font-size: 13px;
    }

    /* catalouge */
    .catalouge-img {
        padding: 30px 0 10px 45px;
    }

    .catalouge-btn {
        font-size: 13px;
    }

    .catalouge-btn .plus-icon {
        font-size: 18px;
    }

    .catalogue-section .legacy-top-heading {
        margin-bottom: 30px;
    }
}


@media screen and (max-width:599px) {

    /* banner */
    .product-banner .banner_content {
        width: 100%;
        padding: 40px 15px;
    }

    /* design every space */
    .design-text-wrapper {
        gap: 20px;
    }

    /* design tab section */
    .design-tabs-wraapper {
        gap: 10px;
    }

    /* legacy */
    .legacy-card {
        width: 80vw;
    }

    .legacy-card-text p {
        font-size: 12px;
        padding: 8px 0 15px 0;
    }

    .legacy-card-text {
        padding: 15px;
    }

    .legacy-heading {
        font-size: 13px;
    }

    /* .legacy-card-text{max-width: 270px;} */
    .legacy-card-text .legacy-btn {
        font-size: 12px;
        gap: 5px;
    }

    .legacy-card-text .legacy-btn span.plus-icon {
        font-size: 22px;
    }

}