/* =========================================================
   MI FURNITURES
   PRODUCT DETAILS PAGE
   FINAL CSS
========================================================= */


/* =========================================================
   01. GLOBAL
========================================================= */

.product-details-page {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: #111;
    background: #f4f1ef;
    overflow-x: hidden;
}

.product-details-page *,
.product-details-page *::before,
.product-details-page *::after {
    box-sizing: border-box;
}

.product-details-page a {
    color: inherit;
    text-decoration: none;
}

.product-details-page img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   02. CONTAINERS
========================================================= */

.details-container {
    padding-left: 3%;
    padding-right: 4%;
}

.details-product-container {
    padding-left: 7.5%;
    padding-right: 7.5%;
}

.product-information-container {
    padding-left: 9%;
    padding-right: 9%;
}


/* =========================================================
   03. HEADER
========================================================= */

.details-header {
    position: relative;
    z-index: 100;

    width: 100%;

    padding: 20px 0 17px;

    background: #f4f1ef;
}

.details-header .navbar {
    min-height: 42px;
}


/* Logo */

.details-header .navbar-brand {
    margin: 0;
    padding: 0;

    color: #111;

    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}


/* Main Menu */

.details-main-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.details-main-menu .nav-link {
    position: relative;

    padding: 7px 0 !important;

    color: #111;

    font-size: 11px;
    font-weight: 400;
}

.details-main-menu .nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 1px;

    background: #111;

    transition: width 0.3s ease;
}

.details-main-menu .nav-link:hover::after {
    width: 100%;
}


/* Social */

.details-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.details-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #111;

    font-size: 15px;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.details-social a:hover {
    opacity: 0.55;
    transform: translateY(-2px);
}


/* =========================================================
   04. BREADCRUMB
========================================================= */

.details-breadcrumb {
    padding:65px 83px 21px;

    background: #f4f1ef;
}

.details-breadcrumb .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.details-breadcrumb .breadcrumb-item {
    color: #111;

    font-size: 12px;
    font-weight: 400;
}

.details-breadcrumb .breadcrumb-item a {
    color: #111;
}

.details-breadcrumb .breadcrumb-item.active {
    color: #111;
    font-weight: 500;
}

.details-breadcrumb .breadcrumb-item +
.details-breadcrumb .breadcrumb-item::before {
    content: "→";

    padding-right: 10px;

    color: #111;
}


/* =========================================================
   05. PRODUCT MAIN SECTION
========================================================= */

.product-details-main {
    padding: 0 0 38px;

    background: #f4f1ef;
}


/* =========================================================
   06. PRODUCT GALLERY
========================================================= */

.product-gallery {
    width: 100%;
}


/* Main Product Image */

.product-main-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 500px;

    background: #fff;

    overflow: hidden;
}

.product-main-image img {
    width: auto;
    height: auto;

    max-width: 72%;
    max-height: 455px;

    object-fit: contain;

    opacity: 1;

    transition:
        opacity 0.2s ease,
        transform 0.6s cubic-bezier(.2, .6, .2, 1);
}

.product-main-image:hover img {
    transform: scale(1.025);
}

.product-main-image img.image-changing {
    opacity: 0;
}


/* =========================================================
   07. PRODUCT THUMBNAILS
========================================================= */

.product-thumbnails {
    display: grid;

    grid-template-columns: repeat(6, minmax(0, 1fr));

    gap: 6px;

    margin-top: 8px;
}

.product-thumbnail {
    display: flex;
    flex-direction: column;

    width: 100%;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: "Poppins", sans-serif;

    cursor: pointer;
}

.thumbnail-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    aspect-ratio: 1 / 1;

    padding: 7px;

    background: #fff;

    border: 1px solid transparent;

    overflow: hidden;

    transition: border-color 0.25s ease;
}

.thumbnail-image img {
    width: auto;
    height: auto;

    max-width: 94%;
    max-height: 94%;

    object-fit: contain;
}

.thumbnail-name {
    display: block;
    padding-top: 7px;
    color: #000000;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.product-thumbnail.active .thumbnail-image {
    border-color: #999;
}

.product-thumbnail:hover .thumbnail-image {
    border-color: #bbb;
}

.product-thumbnail:focus-visible .thumbnail-image {
    border-color: #111;
}


/* =========================================================
   08. RIGHT PRODUCT INFORMATION
========================================================= */

.product-details-info {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 500px;

    padding: 10px 0 20px;
}


/* Product Name */

.product-details-info h1 {
    margin: 0 0 18px;

    color: #111;

    font-size: clamp(22px, 2vw, 30px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.8px;
}


/* Product Size */

.product-size {
    margin-bottom: 25px;

    color: #111;

    font-size: 16px;
    font-weight: 400;
}


/* Product Description */

.product-description {
    width: 100%;
    max-width: 480px;

    margin: 0;

    color: #333;

    font-size: 10px;
    font-weight: 300;
    line-height: 1.6;
}


/* =========================================================
   09. PRODUCT FEATURE ICONS
========================================================= */

.product-features {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    align-items: start;

    width: 100%;
    max-width: 500px;

    margin-top: 32px;
    margin-bottom: 30px;

    gap: 10px;
}


/* Individual Feature */

.product-feature {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    min-width: 0;

    text-align: center;
}


/* Icon */

.feature-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin: 0 auto 8px;

    color: #111;

    font-size: 42px;
    line-height: 1;
}

.feature-icon i {
    display: block;

    line-height: 1;
}


/* Feature Text */

.feature-title {
    display: block;

    color: #111;

    font-size: 10px;
    font-weight: 600;
    line-height: 1.08;

    text-align: center;
}


/* =========================================================
   10. REQUEST INFORMATION BUTTON
========================================================= */

.information-request-btn {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    align-self: flex-start;

    width: 215px;

    margin-top: 10px;

    padding: 11px 17px;

    color: #111;
    background: #fff;

    font-size: 14px;
    font-weight: 400;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}

.information-request-btn:hover {
    color: #fff;
    background: #111;
}


/* Arrow */

.request-arrow {
    position: relative;

    display: inline-block;
    flex-shrink: 0;

    width: 23px;
    height: 1px;

    margin-left: 12px;

    background: currentColor;
}

.request-arrow::after {
    content: "";

    position: absolute;

    top: -3px;
    right: 0;

    width: 7px;
    height: 7px;

    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;

    transform: rotate(45deg);
}


/* =========================================================
   11. PRODUCT INFORMATION SECTION
========================================================= */

.product-information-section {
    padding: 48px 0 80px;

    background: #fff;
}


/* =========================================================
   12. SINGLE LIFESTYLE GALLERY
========================================================= */

.lifestyle-gallery {
    position: relative;

    width: 100%;
    height: 430px;

    background: #f3f3f3;

    overflow: hidden;
}

.lifestyle-gallery-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.8s cubic-bezier(.2, .6, .2, 1);
}

.lifestyle-gallery:hover .lifestyle-gallery-image {
    transform: scale(1.02);
}

/* =========================================================
   PRODUCT SUMMARY - HAVEN SOFA SET
========================================================= */

.product-summary {
    width: 100%;
    max-width:450px;
    min-width:450px;
    margin: 0;
}

/* Mobile */
@media (max-width: 575.98px) {
    .product-summary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }
}


/* =========================
   DIMENSIONS
========================= */

.product-dimensions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    margin: 0 0 14px;
    padding: 0 0 13px;

    border-bottom: 1px solid #d8d5d2;
}

.product-dimensions span {
    position: relative;

    display: inline-block;

    padding: 0 11px;

    color: #111;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.product-dimensions span:first-child {
    padding-left: 0;
}

.product-dimensions span:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 0;

    width: 1px;
    height: 12px;

    background: #aaa;

    transform: translateY(-50%);
}


/* =========================
   DESCRIPTION
========================= */

.product-summary .product-description {
    width: 100%;
    max-width: 480px;

    margin: 0 0 15px !important;

    color: #666;

    font-size: 10px;
    font-weight: 300;
    line-height: 1.65;
}


/* =========================
   PRODUCT SPECIFICATIONS
========================= */

.product-spec-short {
    width: 100%;

    margin: 0;
    padding: 0;

    border-top: 1px solid #ddd9d6;
}

.product-spec-short .spec-line {
    display: grid;

    grid-template-columns: 72px minmax(0, 1fr);

    align-items: start;

    gap: 12px;

    margin: 0;
    padding: 7px 0;

    border-bottom: 1px solid #e1dedb;
}

.product-spec-short .spec-line strong {
    display: block;

    margin: 0;

    color: #111;

    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
}

.product-spec-short .spec-line span {
    display: block;

    margin: 0;

    color: #333;

    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
}


/* Last Row */

.product-spec-short .spec-line:last-child {
    border-bottom: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .product-summary {
        max-width: 650px;
    }

    .product-summary .product-description {
        max-width: 650px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .product-summary {
        width: 100%;
        max-width: 100%;
    }


    /* Dimensions */

    .product-dimensions {
        display: grid;

        grid-template-columns: 1fr;

        gap: 3px;

        margin-bottom: 13px;
        padding-bottom: 11px;
    }

    .product-dimensions span {
        padding: 0;

        font-size: 10px;

        white-space: normal;
    }

    .product-dimensions span:not(:last-child)::after {
        display: none;
    }


    /* Description */

    .product-summary .product-description {
        margin-bottom: 14px !important;

        font-size: 10px;
        line-height: 1.6;
    }


    /* Specifications */

    .product-spec-short .spec-line {
        grid-template-columns: 68px minmax(0, 1fr);

        gap: 8px;

        padding: 6px 0;
    }

    .product-spec-short .spec-line strong,
    .product-spec-short .spec-line span {
        font-size: 9.5px;
        line-height: 1.5;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .product-spec-short .spec-line {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 7px;
    }

    .product-dimensions span,
    .product-spec-short .spec-line strong,
    .product-spec-short .spec-line span {
        font-size: 9px;
    }

}


/* Accordion Button */

.specification-button {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 13px 0;

    border: 0;

    color: #111;
    background: transparent;

    font-family: "Poppins", sans-serif;

    font-size:12px;
    font-weight: 600;
    line-height: 1.4;

    text-align: left;

    cursor: pointer;
}


/* =========================================================
   14. PLUS / MINUS ICON
========================================================= */

.spec-plus {
    position: relative;

    display: block;
    flex: 0 0 12px;

    width: 12px;
    height: 12px;

    margin-left: 20px;
}

.spec-plus::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 12px;
    height: 1px;

    background: #111;

    transform: translateY(-50%);
}

.spec-plus::after {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 1px;
    height: 12px;

    background: #111;

    transform:
        translateX(-50%)
        scaleY(1);

    transition: transform 0.25s ease;
}

.specification-button:not(.collapsed) .spec-plus::after {
    transform:
        translateX(-50%)
        scaleY(0);
}


/* =========================================================
   15. SPECIFICATION CONTENT
========================================================= */

.specification-content {
    padding: 5px 0 20px;

    color: #666;

    font-size: 10px;
    font-weight: 300;
    line-height: 1.65;
}

.specification-content p {
    max-width: 500px;

    margin: 0;
}

.spec-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 8px 0;

    border-bottom: 1px solid #eee;
}

.spec-row:last-child {
    border-bottom: 0;
}

.spec-row strong {
    color: #111;

    font-weight: 500;

    text-align: right;
}


/* =========================================================
   16. REQUEST PRODUCT INFORMATION SECTION
========================================================= */

.details-request-section {
    padding: 60px 0;

    background: #f4f1ef;
}

.details-request-inner {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.request-small-title {
    display: block;

    margin-bottom: 8px;

    color: #777;

    font-size: 11px;
    font-weight: 400;
}

.details-request-inner h2 {
    margin: 0;

    color: #111;

    font-size: clamp(25px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.details-contact-button {
    display: inline-flex;

    align-items: center;

    padding: 13px 18px;

    color: #111;
    background: #fff;

    font-size: 11px;
    font-weight: 400;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}

.details-contact-button:hover {
    color: #fff;
    background: #111;
}


/* =========================================================
   17. FOOTER
========================================================= */

.details-footer {
    padding: 75px 0 22px;

    background: #ddd4ce;
}

.details-footer-container {
    padding-left: 6.5%;
    padding-right: 4%;
}

.details-footer-main {
    min-height: 220px;
}


/* Footer Links */

.details-footer-links,
.details-footer-right {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.details-footer-links a,
.details-footer-right a {
    color: #111;

    font-size: 14px;
    font-weight: 500;

    transition: opacity 0.25s ease;
}

.details-footer-links a:hover,
.details-footer-right a:hover {
    opacity: 0.55;
}


/* Footer Logo */

.details-footer-logo {
    color: #111;

    font-size: 27px;
    font-weight: 700;
    letter-spacing: -1px;
}


/* Footer Right */

.details-footer-right {
    text-align: right;
}


/* =========================================================
   18. FOOTER BOTTOM
========================================================= */

.details-footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 45px;
}

.details-footer-bottom small {
    color: #111;

    font-size: 8px;
    line-height: 1.5;
}

.details-footer-social {
    display: flex;
    align-items: center;

    gap: 14px;
}

.details-footer-social a {
    color: #111;

    font-size: 14px;

    transition: opacity 0.25s ease;
}

.details-footer-social a:hover {
    opacity: 0.55;
}


/* =========================================================
   19. LARGE DESKTOP
   1400px+
========================================================= */

@media (min-width: 1400px) {

    .product-main-image {
        min-height: 560px;
    }

    .product-main-image img {
        max-height: 510px;
    }

    .product-details-info {
        min-height: 560px;
    }

    .lifestyle-gallery {
        height: 470px;
    }

}


/* =========================================================
   20. TABLET
   BELOW 992px
========================================================= */

@media (max-width: 991.98px) {

    /* Containers */

    .details-container,
    .details-product-container,
    .product-information-container,
    .details-footer-container {
        padding-left: 28px;
        padding-right: 28px;
    }


    /* Navigation */

    .details-header .navbar-collapse {
        margin-top: 15px;

        padding: 20px;

        background: #fff;
    }

    .details-main-menu {
        align-items: flex-start;

        gap: 2px;
    }

    .details-main-menu .nav-link {
        padding: 9px 0 !important;

        font-size: 13px;
    }

    .details-social {
        margin-top: 15px;
        padding-top: 15px;

        border-top: 1px solid #eee;
    }


    /* Product Information */

    .product-details-info {
        min-height: auto;

        padding: 35px 0 10px;
    }

    .product-description {
        max-width: 650px;
    }


    /* Features */

    .product-features {
        max-width: 520px;

        margin-top: 30px;
        margin-bottom: 25px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;

        font-size: 40px;
    }


    /* Button */

    .information-request-btn {
        margin-top: 10px;
    }


    /* Information Section */

    .product-information-section {
        padding: 40px 0 60px;
    }


    /* Lifestyle */

    .lifestyle-gallery {
        height: auto;
    }

    .lifestyle-gallery-image {
        width: 100%;
        height: auto;

        object-fit: contain;
    }


    /* Specifications */

    .product-specifications {
        margin-top: 35px;

        padding-left: 0;
    }


    /* Footer */

    .details-footer-logo {
        margin: 40px 0;
    }

    .details-footer-right {
        text-align: left;
    }

}


/* =========================================================
   21. MOBILE
   BELOW 576px
========================================================= */

@media (max-width: 575.98px) {

    /* Containers */

    .details-container,
    .details-product-container,
    .product-information-container,
    .details-footer-container {
        padding-left: 18px;
        padding-right: 18px;
    }


    /* Header */

    .details-header {
        padding: 14px 0;
    }

    .details-header .navbar-brand {
        font-size: 18px;
    }


    /* Breadcrumb */

    .details-breadcrumb {
        padding: 10px 0 22px;
    }

    .details-breadcrumb .breadcrumb-item {
        font-size: 9px;
    }


    /* Main Product */

    .product-details-main {
        padding-bottom: 30px;
    }


    /* Main Image */

    .product-main-image {
        min-height: 350px;
    }

    .product-main-image img {
        max-width: 88%;
        max-height: 315px;
    }


    /* Thumbnails */

    .product-thumbnails {
        grid-template-columns: repeat(3, 1fr);

        gap: 12px 5px;
    }

    .thumbnail-name {
        font-size: 8px;
    }


    /* Product Details */

    .product-details-info {
        padding-top: 35px;
    }

    .product-details-info h1 {
        font-size: 24px;
    }

    .product-size {
        margin-bottom: 20px;

        font-size: 14px;
    }

    .product-description {
        font-size: 10px;
        line-height: 1.65;
    }


    /* Feature Icons */

    .product-features {
        grid-template-columns: repeat(2, 1fr);

        max-width: 320px;

        gap: 25px 15px;

        margin-top: 28px;
        margin-bottom: 30px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;

        font-size: 38px;
    }

    .feature-title {
        font-size: 10px;
        line-height: 1.15;
    }


    /* Information Button */

    .information-request-btn {
        margin-top: 0;
    }


    /* Information Section */

    .product-information-section {
        padding: 35px 0 50px;
    }


    /* Lifestyle */

    .lifestyle-gallery {
        height: auto;
    }

    .lifestyle-gallery-image {
        width: 100%;
        height: auto;

        object-fit: contain;
    }


    /* Specifications */

    .product-specifications {
        margin-top: 30px;

        padding: 0;
    }

    .specification-button {
        padding: 15px 0;

        font-size: 11px;
    }

    .specification-content {
        font-size: 10px;
    }


    /* Request Section */

    .details-request-section {
        padding: 45px 0;
    }

    .details-request-inner {
        flex-direction: column;

        align-items: flex-start;
    }


    /* Footer */

    .details-footer {
        padding: 50px 0 20px;
    }

    .details-footer-main {
        min-height: auto;
    }

    .details-footer-logo {
        margin: 35px 0;

        text-align: left !important;

        font-size: 23px;
    }

    .details-footer-right {
        text-align: left;
    }

    .details-footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        margin-top: 45px;
    }

    .details-footer-bottom small {
        font-size: 7px;
        line-height: 1.7;
    }

}


/* =========================================================
   22. VERY SMALL MOBILE
   BELOW 381px
========================================================= */

@media (max-width: 380px) {

    .details-container,
    .details-product-container,
    .product-information-container,
    .details-footer-container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* Main Image */

    .product-main-image {
        min-height: 300px;
    }

    .product-main-image img {
        max-width: 90%;
        max-height: 270px;
    }


    /* Thumbnails */

    .product-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }


    /* Product */

    .product-details-info h1 {
        font-size: 21px;
    }


    /* Features */

    .product-features {
        grid-template-columns: repeat(2, 1fr);

        width: 100%;
        max-width: 280px;
    }


    /* Lifestyle */

    .lifestyle-gallery {
        width: 100%;
        height: auto;
    }

    .lifestyle-gallery-image {
        width: 100%;
        height: auto;
    }

}


/* =========================================================
   23. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .product-main-image img,
    .thumbnail-image,
    .lifestyle-gallery-image,
    .details-main-menu .nav-link::after,
    .details-social a,
    .details-footer a,
    .information-request-btn,
    .details-contact-button,
    .spec-plus::after {
        transition: none !important;
    }

}



.customizable-label {
    display: inline-block;
    width: fit-content;
    padding: 3px 10px;
    background: #e8f5e9;
    color: #2e7d32 !important;
    border-radius: 20px;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
}