/* =========================================================
   PRODUCT PAGE
========================================================= */

.product-breadcrumb-section {
    padding: 34px 0 24px;
    background: #fff;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: "Lato", sans-serif;
    font-size: 13px;
    color: #777;
}

.product-breadcrumb a {
    color: #555;
    text-decoration: none;
    transition: color 0.25s ease;
}

.product-breadcrumb a:hover {
    color: #111;
}

.product-breadcrumb i {
    font-size: 9px;
    color: #aaa;
}

.product-breadcrumb span {
    color: #111;
}


/* =========================================================
   PRODUCT DETAIL
========================================================= */

.product-detail {
    padding: 35px 0 110px;
    background: #fff;
}


/* =========================================================
   PRODUCT GALLERY
========================================================= */

.product-gallery {
    position: relative;
}

.product-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f3f1ed;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-main-image:hover img {
    transform: scale(1.025);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #f1efeb;
}

.product-detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 8px 13px;
    background: #fff;
    color: #171717;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   THUMBNAILS
========================================================= */

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.product-thumbnail {
    position: relative;
    padding: 0;
    border: 1px solid transparent;
    background: #f3f1ed;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s ease;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #171717;
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-detail-content {
    position: sticky;
    top: 145px;
    padding: 15px 0 0 25px;
}

.product-detail-category {
    display: inline-block;
    margin-bottom: 18px;
    color: #777;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.product-detail-category:hover {
    color: #111;
}

.product-detail-content h1 {
    max-width: 520px;
    margin: 0 0 24px;
    color: #171717;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.04em;
}


/* =========================================================
   PRICE
========================================================= */

.product-detail-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e6e2dc;
}

.product-detail-price .current-price {
    color: #171717;
    font-family: "Lato", sans-serif;
    font-size: 23px;
    font-weight: 700;
}

.product-detail-price del {
    color: #999;
    font-family: "Lato", sans-serif;
    font-size: 17px;
}

.product-discount {
    padding: 5px 9px;
    background: #eeeae4;
    color: #333;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.product-short-description {
    padding: 25px 0 5px;
}

.product-short-description p {
    max-width: 500px;
    margin: 0;
    color: #656565;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   STOCK
========================================================= */

.product-stock {
    margin: 21px 0 28px;
}

.product-stock span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Lato", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.product-stock .in-stock {
    color: #49654d;
}

.product-stock .out-of-stock {
    color: #a3473f;
}


/* =========================================================
   PURCHASE
========================================================= */

.product-purchase-form {
    margin-top: 10px;
}

.product-option-label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-quantity {
    margin-bottom: 15px;
}

.quantity-control {
    display: inline-flex;
    height: 48px;
    border: 1px solid #d8d4ce;
}

.quantity-control button {
    width: 45px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 20px;
    transition: background 0.2s ease;
}

.quantity-control button:hover {
    background: #f3f1ed;
}

.quantity-control input {
    width: 55px;
    padding: 0;
    border: 0;
    border-left: 1px solid #e3dfd9;
    border-right: 1px solid #e3dfd9;
    outline: none;
    background: transparent;
    color: #171717;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.product-add-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    border: 1px solid #171717;
    background: #171717;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.product-add-cart:hover:not(:disabled) {
    background: transparent;
    color: #171717;
}

.product-add-cart:disabled {
    border-color: #ccc;
    background: #ccc;
    cursor: not-allowed;
}


/* =========================================================
   WISHLIST
========================================================= */

.product-wishlist-form {
    margin-top: 10px;
}

.product-add-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    border: 1px solid #d8d4ce;
    background: transparent;
    color: #222;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.product-add-wishlist:hover {
    border-color: #171717;
    background: #f5f3ef;
}


/* =========================================================
   BENEFITS
========================================================= */

.product-benefits {
    margin-top: 32px;
    padding: 25px 0;
    border-top: 1px solid #e6e2dc;
    border-bottom: 1px solid #e6e2dc;
}

.product-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.product-benefit + .product-benefit {
    margin-top: 20px;
}

.product-benefit > i {
    margin-top: 2px;
    color: #333;
    font-size: 19px;
}

.product-benefit div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-benefit strong {
    color: #222;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.product-benefit span {
    color: #777;
    font-family: "Lato", sans-serif;
    font-size: 13px;
}


/* =========================================================
   PRODUCT META
========================================================= */

.product-meta {
    margin-top: 25px;
}

.product-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eeeae5;
}

.product-meta span {
    color: #888;
    font-family: "Lato", sans-serif;
    font-size: 13px;
}

.product-meta strong,
.product-meta a {
    color: #333;
    font-family: "Lato", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


/* =========================================================
   DESCRIPTION SECTION
========================================================= */

.product-description-section {
    padding: 110px 0;
    background: #f3f1ed;
}

.product-description-content h2 {
    max-width: 700px;
    margin: 0 0 30px;
    color: #171717;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.product-description-text {
    max-width: 750px;
    color: #626262;
    font-family: "Lato", sans-serif;
    font-size: 17px;
    line-height: 1.9;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-information-section {
    padding: 100px 0;
    background: #fff;
}

.product-information-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ddd9d3;
    border-bottom: 1px solid #ddd9d3;
}

.product-information-item {
    padding: 45px 40px;
}

.product-information-item + .product-information-item {
    border-left: 1px solid #ddd9d3;
}

.product-information-item > span {
    display: block;
    margin-bottom: 40px;
    color: #aaa;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.product-information-item h3 {
    margin: 0 0 15px;
    color: #171717;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.product-information-item p {
    margin: 0;
    color: #777;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.product-related-section {
    padding: 110px 0 120px;
    background: #f8f7f4;
}

.product-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.product-related-header h2 {
    margin: 12px 0 0;
    color: #171717;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 500;
    letter-spacing: -0.035em;
}


/* =========================================================
   RELATED PRODUCT CARDS
========================================================= */

.product-related-section .product-card {
    height: 100%;
}

.product-related-section .product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eeeae4;
}

.product-related-section .product-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-related-section .product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-related-section .product-card:hover .product-image img {
    transform: scale(1.035);
}

.product-related-section .product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 9px;
    background: #fff;
    color: #222;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-related-section .product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #222;
}

.product-related-section .product-cart-wrap {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 3;
}

.product-related-section .add-to-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 45px;
    padding: 0 15px;
    border: 0;
    background: #171717;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-related-section .product-info {
    padding-top: 17px;
}

.product-related-section .product-category {
    display: block;
    margin-bottom: 6px;
    color: #999;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-related-section .product-info h3 {
    margin: 0 0 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.product-related-section .product-info h3 a {
    color: #222;
    text-decoration: none;
}

.product-related-section .product-price {
    display: flex;
    gap: 9px;
    color: #222;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.product-related-section .product-price del {
    color: #aaa;
    font-weight: 400;
}


/* =========================================================
   TEXT LINK
========================================================= */

.product-related-section .text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    color: #222;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .product-detail {
        padding-bottom: 80px;
    }

    .product-detail-content {
        position: static;
        padding: 15px 0 0;
    }

    .product-information-grid {
        grid-template-columns: 1fr;
    }

    .product-information-item + .product-information-item {
        border-top: 1px solid #ddd9d3;
        border-left: 0;
    }

    .product-description-section,
    .product-information-section,
    .product-related-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .product-breadcrumb-section {
        padding: 22px 0 15px;
    }

    .product-detail {
        padding: 15px 0 65px;
    }

    .product-detail .row {
        --bs-gutter-y: 2rem;
    }

    .product-main-image {
        aspect-ratio: 4 / 5;
    }

    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-detail-content h1 {
        font-size: 34px;
    }

    .product-detail-price .current-price {
        font-size: 21px;
    }

    .product-short-description p {
        font-size: 15px;
    }

    .product-description-section,
    .product-information-section,
    .product-related-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .product-description-content h2,
    .product-related-header h2 {
        font-size: 32px;
    }

    .product-description-text {
        font-size: 15px;
    }

    .product-information-item {
        padding: 35px 5px;
    }

    .product-information-item > span {
        margin-bottom: 22px;
    }

    .product-related-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
    }

    .product-detail-content h1 {
        font-size: 30px;
    }

    .product-add-cart {
        min-height: 54px;
    }

    .product-information-item h3 {
        font-size: 18px;
    }

}