/* ==========================================================
   SS LUXURY STUDIO
   PRODUCT DETAIL PAGE
   assets/css/product.css
   ========================================================== */


/* ==========================================================
   PAGE
   ========================================================== */

.product-page {
    background: #fffdfb;
    color: #554946;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.product-breadcrumb {
    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 24px 38px 18px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: #9a8b86;

    font-size: 10px;

    letter-spacing: 0.4px;
}


.product-breadcrumb a {
    color: #82736f;

    transition: color 0.25s ease;
}


.product-breadcrumb a:hover {
    color: #b27e73;
}


.product-breadcrumb > span:last-child {
    color: #a5766c;
}


/* ==========================================================
   MAIN PRODUCT SECTION
   ========================================================== */

.product-main {
    padding: 20px 38px 95px;
}


.product-main-inner {
    width: 100%;
    max-width: 1320px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(390px, 0.82fr);

    gap: 82px;

    align-items: start;
}


/* ==========================================================
   PRODUCT GALLERY
   ========================================================== */

.product-gallery {
    min-width: 0;
}


.product-main-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #f5eeea;
}


.product-main-image > img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.7s ease;
}


.product-main-image:hover > img {
    transform: scale(1.025);
}


/* ==========================================================
   PRODUCT BADGE
   ========================================================== */

.product-badge {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 5;

    padding: 8px 12px;

    background:
        rgba(255, 253, 251, 0.93);

    color: #95695f;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 1.7px;

    line-height: 1;

    backdrop-filter: blur(5px);
}


/* ==========================================================
   WISHLIST
   ========================================================== */

.product-wishlist {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 6;

    width: 42px;
    height: 42px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(130, 100, 92, 0.15);

    border-radius: 50%;

    background:
        rgba(255, 253, 251, 0.94);

    color: #76645f;

    font-family: Arial, sans-serif;

    font-size: 21px;

    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 3px 14px
        rgba(80, 60, 55, 0.06);

    transition:
        color 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}


.product-wishlist:hover {
    color: #ad766b;

    background: #ffffff;

    transform: scale(1.06);
}


.product-wishlist.active {
    color: #ad766b;

    background: #ffffff;
}


/* ==========================================================
   THUMBNAILS
   ========================================================== */

.product-thumbnails {
    margin-top: 14px;

    display: flex;

    gap: 12px;
}


.product-thumbnail {
    width: 82px;
    height: 100px;

    padding: 0;

    overflow: hidden;

    border:
        1px solid transparent;

    background: #f6efec;

    cursor: pointer;

    opacity: 0.7;

    transition:
        opacity 0.25s ease,
        border-color 0.25s ease;
}


.product-thumbnail:hover,
.product-thumbnail.active {
    opacity: 1;

    border-color: #b9877b;
}


.product-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Multiple product views */

.product-thumbnails {
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-thumbnail {
    position: relative;
    flex: 0 0 82px;
}

.product-thumbnail-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 6px 4px;

    background: rgba(255, 253, 251, 0.9);
    color: #6d5d59;

    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.7px;
    line-height: 1.2;

    text-align: center;
    text-transform: uppercase;
}

.product-thumbnail.active .product-thumbnail-label {
    color: #a56f64;
}

.product-thumbnails.single-image .product-thumbnail {
    cursor: default;
}

@media (max-width: 700px) {
    .product-thumbnails {
        gap: 9px;
    }

    .product-thumbnail {
        flex-basis: 72px;
        width: 72px;
        height: 88px;
    }
}


/* ==========================================================
   PRODUCT DETAILS
   ========================================================== */

.product-details {
    position: sticky;

    top: 130px;

    padding-top: 13px;
}


.product-category {
    display: block;

    margin-bottom: 13px;

    color: #ad7f74;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2.8px;
}


.product-details h1 {
    max-width: 560px;

    margin: 0;

    color: #514442;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(36px, 3.5vw, 52px);

    font-weight: normal;

    line-height: 1.12;

    letter-spacing: -0.4px;
}


.product-title-line {
    width: 45px;
    height: 1px;

    margin: 22px 0 20px;

    background: #b98579;
}


.product-price {
    margin: 0 0 24px;

    color: #695956;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;
}


.product-description {
    max-width: 570px;

    margin: 0 0 23px;

    color: #786b67;

    font-size: 13px;

    line-height: 1.85;
}


/* ==========================================================
   HANDMADE NOTE
   ========================================================== */

.product-handmade-note {
    margin: 0 0 30px;

    padding: 15px 17px;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    background: #faf3f0;

    border-left:
        2px solid #c69a8f;
}


.product-handmade-note > span {
    flex: 0 0 auto;

    margin-top: 1px;

    color: #b78377;

    font-size: 13px;
}


.product-handmade-note p {
    margin: 0;

    color: #766864;

    font-size: 11px;

    line-height: 1.65;
}


/* ==========================================================
   PRODUCT OPTION SECTION
   ========================================================== */

.product-option-section {
    margin-top: 5px;

    padding:
        25px 0 27px;

    border-top:
        1px solid #ece2de;

    border-bottom:
        1px solid #ece2de;
}


.product-option-heading {
    margin-bottom: 10px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.product-option-heading > span {
    color: #594b48;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;
}


.product-option-heading small {
    color: #ad7d72;

    font-size: 8px;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.product-option-description {
    margin: 0 0 17px;

    color: #837570;

    font-size: 11px;

    line-height: 1.7;
}


/* ==========================================================
   PERSONALISE CHECKBOX
   ========================================================== */

.product-personalise-check {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #625451;

    font-size: 11px;

    cursor: pointer;
}


.product-personalise-check input {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: #ad7d72;

    cursor: pointer;
}


/* ==========================================================
   PERSONALISATION BOX
   ========================================================== */

.product-personalisation-box {
    margin-top: 17px;

    padding: 18px;

    background: #fcf7f4;

    border:
        1px solid #eadbd5;
}


.product-personalisation-box[hidden] {
    display: none;
}


.product-personalisation-box label {
    display: block;

    margin-bottom: 9px;

    color: #655653;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.5px;
}


.product-personalisation-box textarea {
    display: block;

    width: 100%;
    min-height: 92px;

    padding: 12px 13px;

    resize: vertical;

    border:
        1px solid #ded0ca;

    border-radius: 0;

    outline: none;

    background: #ffffff;

    color: #594d49;

    font-family: inherit;

    font-size: 11px;

    line-height: 1.6;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.product-personalisation-box textarea:focus {
    border-color: #b98b80;

    box-shadow:
        0 0 0 2px
        rgba(185, 139, 128, 0.08);
}


.product-personalisation-box textarea::placeholder {
    color: #afa29e;
}


.product-personalisation-box small {
    display: block;

    margin-top: 8px;

    color: #978984;

    font-size: 9px;

    line-height: 1.5;
}


/* ==========================================================
   PURCHASE / QUANTITY
   ========================================================== */

.product-purchase-row {
    margin-top: 28px;

    display: flex;

    align-items: flex-end;

    gap: 20px;
}


.product-quantity {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.product-quantity-label {
    color: #6a5c58;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.quantity-control {
    height: 45px;

    display: flex;

    align-items: stretch;

    border:
        1px solid #dfd2cd;

    background: #ffffff;
}


.quantity-control button {
    width: 42px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #6b5b57;

    font-family: inherit;

    font-size: 17px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.quantity-control button:hover {
    background: #f8efec;

    color: #a87368;
}


.quantity-control input {
    width: 42px;

    padding: 0;

    border: 0;

    border-left:
        1px solid #eee3df;

    border-right:
        1px solid #eee3df;

    outline: none;

    background: #ffffff;

    color: #554845;

    font-family: inherit;

    font-size: 12px;

    text-align: center;

    appearance: textfield;
}


.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
    appearance: none;

    margin: 0;
}


/* ==========================================================
   ADD TO CART
   ========================================================== */

.product-add-cart {
    width: 100%;

    min-height: 52px;

    margin-top: 21px;

    padding: 15px 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid #b9877c;

    background: #b9877c;

    color: #ffffff;

    font-family: inherit;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;

    text-align: center;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}


.product-add-cart:hover {
    background: #a8766b;

    border-color: #a8766b;

    color: #ffffff;
}


.product-add-cart:active {
    transform: translateY(1px);
}


.product-add-cart.added {
    background: #74645f;

    border-color: #74645f;
}


/* Price-on-request product */

.product-enquire {
    text-decoration: none;
}


/* ==========================================================
   CART MESSAGE
   ========================================================== */

.product-cart-message {
    min-height: 18px;

    margin: 10px 0 0;

    color: #9b7067;

    font-size: 10px;

    line-height: 1.5;

    text-align: center;
}


/* ==========================================================
   PRODUCT PROMISES
   ========================================================== */

.product-promises {
    margin-top: 25px;

    padding-top: 23px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 13px;

    border-top:
        1px solid #ece2de;
}


.product-promises > div {
    display: flex;

    align-items: flex-start;

    gap: 8px;
}


.product-promises > div > span {
    flex: 0 0 auto;

    color: #b48378;

    font-size: 14px;
}


.product-promises p {
    margin: 0;

    color: #8a7b76;

    font-size: 8px;

    line-height: 1.5;
}


.product-promises strong {
    display: block;

    margin-bottom: 2px;

    color: #665754;

    font-size: 9px;

    font-weight: 600;
}


/* ==========================================================
   PRODUCT INFORMATION SECTION
   ========================================================== */

.product-information {
    padding: 92px 38px 100px;

    background: #faf4f1;

    border-top:
        1px solid #eee2dd;
}


.product-information-inner {
    width: 100%;
    max-width: 1240px;

    margin: 0 auto;
}


/* ==========================================================
   SECTION HEADING
   ========================================================== */

.product-section-heading {
    margin-bottom: 58px;

    text-align: center;
}


.product-section-heading > span:first-child {
    display: block;

    margin-bottom: 11px;

    color: #aa796f;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 3px;
}


.product-section-heading h2 {
    margin: 0;

    color: #554846;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(34px, 4vw, 48px);

    font-weight: normal;

    line-height: 1.15;
}


.product-section-heading h2 em {
    color: #b47f73;

    font-weight: normal;
}


.product-heading-line {
    display: block;

    width: 45px;
    height: 1px;

    margin: 19px auto 0;

    background: #b9897e;
}


/* ==========================================================
   PRODUCT INFORMATION GRID
   ========================================================== */

.product-information-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-top:
        1px solid #e4d6d1;

    border-bottom:
        1px solid #e4d6d1;
}


.product-info-item {
    position: relative;

    min-height: 205px;

    padding:
        35px 30px 32px;

    border-right:
        1px solid #e4d6d1;
}


.product-info-item:last-child {
    border-right: 0;
}


.product-info-number {
    display: block;

    margin-bottom: 24px;

    color: #c49a90;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 11px;
}


.product-info-item h3 {
    margin:
        0 0 12px;

    color: #594b48;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    font-weight: normal;
}


.product-info-item p {
    margin: 0;

    color: #81726d;

    font-size: 11px;

    line-height: 1.75;
}


/* ==========================================================
   CUSTOM ORDER CTA
   ========================================================== */

.product-custom-cta {
    padding: 100px 30px;

    background:
        linear-gradient(
            135deg,
            #f4e5df 0%,
            #fbf2ef 52%,
            #f5e7e2 100%
        );

    text-align: center;
}


.product-custom-cta-inner {
    width: 100%;
    max-width: 690px;

    margin: 0 auto;
}


.product-custom-cta-inner > span {
    display: block;

    margin-bottom: 13px;

    color: #a8766b;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 3px;
}


.product-custom-cta h2 {
    margin: 0;

    color: #554744;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(35px, 4.5vw, 51px);

    font-weight: normal;

    line-height: 1.15;
}


.product-custom-cta h2 em {
    display: block;

    color: #b47d71;

    font-weight: normal;
}


.product-custom-cta p {
    max-width: 580px;

    margin: 20px auto 29px;

    color: #796a66;

    font-size: 12px;

    line-height: 1.8;
}


/* ==========================================================
   PRODUCT NOT FOUND
   ========================================================== */

.product-not-found {
    min-height: 500px;

    padding: 100px 25px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #fbf5f2,
            #fffdfb
        );
}


.product-not-found .product-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #ad7d72;

    font-size: 9px;

    letter-spacing: 3px;
}


.product-not-found h1 {
    margin: 0;

    color: #554744;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(38px, 5vw, 58px);

    font-weight: normal;
}


.product-not-found p {
    max-width: 530px;

    margin: 20px auto 28px;

    color: #7e6f6a;

    font-size: 12px;

    line-height: 1.8;
}

/* ==========================================================
   PRODUCT CART FEEDBACK
   ========================================================== */

.product-cart-message.success {
    color: #7c7564;
}

.product-cart-message.error {
    color: #a85f55;
}





/* ==========================================================
   PRICE + WISHLIST
   ========================================================== */

.product-price-row {
    margin-bottom: 24px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


.product-price-row .product-price {
    margin: 0;
}


.product-wishlist-inline {
    position: static;

    width: auto;
    height: auto;

    padding: 7px 0;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;

    color: #846e68;

    font-family: inherit;

    cursor: pointer;

    transition: color 0.25s ease;
}

/* Keep the text action from inheriting the floating heart's responsive circle. */
.product-price-row .product-wishlist-inline {
    width: auto;
    height: auto;
    max-width: 100%;
    flex: 0 0 auto;
    white-space: nowrap;
}


.product-wishlist-inline:hover {
    background: transparent;

    transform: none;

    color: #ad766b;
}


.product-wishlist-heart {
    font-family: Arial, sans-serif;

    font-size: 19px;

    line-height: 1;
}


.product-wishlist-text {
    font-size: 9px;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.product-wishlist-inline.active {
    background: transparent;

    color: #ad766b;
}
















/* ==========================================================
   LARGE TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .product-main-inner {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 0.9fr);

        gap: 48px;
    }


    .product-main {
        padding-left: 28px;
        padding-right: 28px;
    }


    .product-breadcrumb {
        padding-left: 28px;
        padding-right: 28px;
    }


    .product-promises {
        grid-template-columns: 1fr;
    }


    .product-information-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .product-info-item:nth-child(2) {
        border-right: 0;
    }


    .product-info-item:nth-child(1),
    .product-info-item:nth-child(2) {
        border-bottom:
            1px solid #e4d6d1;
    }

}


/* ==========================================================
   TABLET / MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .product-breadcrumb {
        padding:
            17px 17px 12px;

        font-size: 8px;

        gap: 6px;
    }


    .product-breadcrumb > span:last-child {
        display: none;
    }


    .product-main {
        padding:
            8px 15px 65px;
    }


    .product-main-inner {
        display: block;
    }


    .product-main-image {
        aspect-ratio: 4 / 5;
    }


    .product-badge {
        top: 13px;
        left: 13px;

        padding: 7px 9px;

        font-size: 7px;
    }


    .product-wishlist {
        top: 11px;
        right: 11px;

        width: 38px;
        height: 38px;

        font-size: 19px;
    }


    .product-thumbnails {
        margin-top: 10px;
    }


    .product-thumbnail {
        width: 65px;
        height: 80px;
    }


    .product-details {
        position: static;

        padding-top: 35px;
    }


    .product-category {
        margin-bottom: 10px;

        font-size: 8px;
    }


    .product-details h1 {
        font-size: 36px;
    }


    .product-title-line {
        margin:
            18px 0 17px;
    }


    .product-price {
        margin-bottom: 19px;

        font-size: 20px;
    }


    .product-description {
        font-size: 12px;
    }


    .product-handmade-note {
        margin-bottom: 24px;
    }


    .product-purchase-row {
        margin-top: 24px;
    }


    .product-add-cart {
        min-height: 50px;
    }


    .product-promises {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 8px;
    }


    .product-promises > div {
        display: block;

        text-align: center;
    }


    .product-promises > div > span {
        display: block;

        margin-bottom: 6px;
    }


    .product-information {
        padding:
            70px 18px 75px;
    }


    .product-section-heading {
        margin-bottom: 40px;
    }


    .product-information-grid {
        grid-template-columns: 1fr;

        border-bottom: 0;
    }


    .product-info-item,
    .product-info-item:nth-child(2) {
        min-height: auto;

        padding:
            27px 8px;

        border-right: 0;

        border-bottom:
            1px solid #e4d6d1;
    }


    .product-info-number {
        margin-bottom: 13px;
    }


    .product-custom-cta {
        padding:
            72px 20px;
    }


    .product-custom-cta h2 {
        font-size: 35px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .product-price-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .product-main {
        padding-left: 12px;
        padding-right: 12px;
    }


    .product-details h1 {
        font-size: 31px;
    }


    .product-description {
        line-height: 1.75;
    }


    .product-promises {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .product-promises > div {
        display: flex;

        text-align: left;
    }


    .product-promises > div > span {
        margin-bottom: 0;
    }


    .product-custom-cta h2 {
        font-size: 31px;
    }

     .product-price-row {
        align-items: center;

        gap: 15px;
    }


    .product-wishlist-text {
        font-size: 8px;

        letter-spacing: 1px;
    }


}

