/* ================================
   PRODUCT DETAIL PAGE
================================ */

.product-detail-page {
    min-height: 100vh;
}


/* ================================
   NAVBAR
   (now defined globally in style.css —
   do not restyle it here)
================================ */


/* ================================
   BREADCRUMB
================================ */

.product-breadcrumb {
    padding: 25px 7%;
    font-size: 13px;
    color: #777;
}

.product-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: #b88b4a;
}

.product-breadcrumb span {
    margin: 0 8px;
}


/* ================================
   PRODUCT SECTION
================================ */

.product-detail {
    width: 86%;
    max-width: 1200px;
    margin: 30px auto 100px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: start;
}


/* ================================
   PRODUCT IMAGE
================================ */

.detail-image {
    width: 100%;
    min-height: 670px;

    background: #f7f7f7;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.detail-product-image {
    width: 100%;
    height: 670px;
    object-fit: cover;
    display: block;
}

.detail-image-placeholder {
    width: 100%;
    height: 670px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #999;
    font-size: 14px;
    letter-spacing: 1px;
}


/* ================================
   PRODUCT INFO
================================ */

.detail-info {
    padding-top: 15px;
}

.detail-category {
    margin: 0 0 15px;

    color: #b88b4a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.detail-info h1 {
    margin: 0 0 15px;

    color: #111;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 500;
}


/* ================================
   RATING
================================ */

.detail-rating {
    margin-bottom: 20px;

    color: #555;
    font-size: 14px;
}


/* ================================
   PRICE
================================ */

.detail-price {
    margin-bottom: 25px;

    color: #111;
    font-size: 28px;
    font-weight: 600;
}

.detail-line {
    width: 100%;
    height: 1px;
    background: #e8e8e8;

    margin-bottom: 25px;
}


/* ================================
   SHOP & SAVE — PRODUCT CTA OFFER
================================ */

.product-offer-box {
    display: none;
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid #e7ddd1;
    background: #fbf7f1;
}

.product-offer-kicker {
    margin-bottom: 10px;
    color: #8d5c43;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.product-offer-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-offer-icon {
    font-size: 18px;
    line-height: 1.4;
}

.product-offer-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-offer-copy strong {
    color: #171717;
    font-size: 14px;
    line-height: 1.5;
}

.product-offer-copy > span {
    color: #666;
    font-size: 12px;
    line-height: 1.6;
}

.product-offer-code-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
    color: #333;
    font-size: 12px;
}

.product-offer-code-row > span {
    font-weight: 600;
}

.product-offer-code {
    padding: 7px 11px;
    border: 1px dashed #9a4f43;
    background: #fff;
    color: #9a4f43;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

.product-offer-code:hover {
    background: #9a4f43;
    color: #fff;
}

.product-offer-code-row small {
    color: #888;
    font-size: 10px;
}

/* ================================
   DESCRIPTION
================================ */

.detail-description {
    color: #666;
    font-size: 15px;
    line-height: 1.8;

    margin-bottom: 25px;
}


/* ================================
   STOCK
================================ */

.detail-stock {
    margin-bottom: 30px;

    color: #555;
    font-size: 14px;
}

.stock-dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 8px;

    border-radius: 50%;
    background: #4caf50;
}

.sold-text {
    color: #c0392b;
    font-weight: 600;
    letter-spacing: 1px;
}


/* ================================
   OPTIONS
================================ */

.detail-option {
    margin-bottom: 25px;
}

.detail-option label,
.quantity-section label {
    display: block;

    margin-bottom: 10px;

    color: #222;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.option-value {
    display: inline-block;

    min-width: 70px;

    padding: 10px 18px;

    border: 1px solid #ddd;

    color: #333;
    font-size: 14px;

    text-align: center;
}


/* ================================
   QUANTITY
================================ */

.quantity-section {
    margin-bottom: 30px;
}

.quantity-box {
    width: 130px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid #ddd;
}

.quantity-box button {
    width: 40px;
    height: 42px;

    border: none;
    background: #fff;

    font-size: 20px;
    color: #333;

    cursor: pointer;
}

.quantity-box button:hover {
    background: #f5f5f5;
}

.quantity-box span {
    font-size: 15px;
}


/* ================================
   BUTTONS
================================ */

.detail-buttons {
    display: flex;
    gap: 12px;

    margin-bottom: 35px;
}

.add-cart-btn {
    flex: 1;

    min-height: 52px;

    border: none;
    background: #111;
    color: #fff;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;

    cursor: pointer;

    transition: 0.2s ease;
}

.add-cart-btn:hover {
    background: #b88b4a;
}

.add-cart-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.wishlist-btn {
    width: 55px;

    border: 1px solid #ddd;
    background: #fff;

    font-size: 22px;
    cursor: pointer;
}

.wishlist-btn:hover {
    border-color: #111;
}


/* ================================
   PRODUCT META
================================ */

.detail-meta {
    border-top: 1px solid #eee;

    padding-top: 25px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-meta div {
    color: #666;
    font-size: 13px;
}

.detail-meta span {
    margin-right: 8px;
    color: #4caf50;
}


/* ================================
   FOOTER
================================ */

.shop-footer {
    padding: 50px 7% 25px;

    border-top: 1px solid #eee;
    background: #fafafa;
}

.shop-footer-logo {
    text-decoration: none;

    color: #111;

    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

.shop-footer-logo span {
    color: #b88b4a;
}

.shop-footer p {
    color: #777;
    line-height: 1.6;
}

.shop-footer-bottom {
    margin-top: 30px;
    padding-top: 20px;

    border-top: 1px solid #e5e5e5;

    color: #999;
    font-size: 12px;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

    .product-detail {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .detail-image {
        min-height: 520px;
    }

    .detail-product-image,
    .detail-image-placeholder {
        height: 520px;
    }

    .detail-info h1 {
        font-size: 34px;
    }
}


@media (max-width: 500px) {

    .product-breadcrumb {
        padding: 20px 5%;
    }

    .product-detail {
        width: 90%;
        margin-top: 10px;
    }

    .detail-image {
        min-height: 400px;
    }

    .detail-product-image,
    .detail-image-placeholder {
        height: 400px;
    }

    .detail-info h1 {
        font-size: 30px;
    }

    .detail-price {
        font-size: 24px;
    }

    .detail-buttons {
        flex-direction: row;
    }

    .add-cart-btn {
        min-height: 48px;
    }
}

/* ==========================================
   PRODUCT WISHLIST BUTTON
========================================== */

.wishlist-btn {
    width: 58px;
    height: 52px;

    border: 1px solid #222;
    background: #fff;

    font-size: 26px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.25s ease;
}

.wishlist-btn:hover {
    background: #111;
    color: #fff;
}

.wishlist-btn.active {
    background: #111;
    color: #fff;
}

.wishlist-btn.active:hover {
    opacity: 0.85;
}

.wishlist-btn {
    width: 58px;
    height: 52px;

    border: 1px solid #222;
    background: #fff;

    font-size: 25px;

    cursor: pointer;

    transition: all 0.25s ease;
}

.wishlist-btn:hover {
    background: #111;
    color: #fff;
}

.wishlist-btn.active {
    background: #111;
    color: #fff;
}

/* =========================================================
   PRODUCT VARIANT BOXES — SIZE / COLOR
   Added only; existing styles remain unchanged.
   ========================================================= */
.product-option-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.product-option-box {
    min-width: 58px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 12px;
    letter-spacing: .08em;
    cursor: pointer;
    transition: .2s ease;
}
.product-option-box:hover {
    border-color: #111;
}
.product-option-box.selected {
    background: #111;
    border-color: #111;
    color: #fff;
}
.cart-item-variant, .checkout-item-variant, .order-item-variant {
    margin: 5px 0 0;
    font-size: 11px;
    letter-spacing: .04em;
}
.cart-item-variant span, .checkout-item-variant span, .order-item-variant span {
    margin-right: 6px;
    font-weight: 700;
    letter-spacing: .1em;
    font-size: 9px;
}


/* =========================================================
   SIZE / COLOR SELECTOR — FINAL BOX LAYOUT
   ADD ONLY — existing CSS remains unchanged.
   ========================================================= */
.product-option-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 10px !important;
    width: 100%;
}

.product-option-box {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 44px;
    padding: 0 16px;
    margin: 0;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    cursor: pointer;
    box-sizing: border-box;
}

.product-option-box.selected {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

.product-option-box:hover {
    border-color: #111;
}

@media (max-width: 500px) {
    .product-option-grid {
        gap: 8px !important;
    }

    .product-option-box {
        min-width: 52px;
        height: 42px;
        padding: 0 13px;
    }
}

/* =========================================================
   MULTIPLE PRODUCT IMAGE GALLERY
   ADD ONLY — existing product CSS remains unchanged.
   ========================================================= */
.product-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.product-gallery-main {
    width: 100%;
    min-height: 520px;
    background: #f7f7f7;
    overflow: hidden;
}

.product-gallery-main .detail-product-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.product-gallery-thumbs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.product-gallery-thumb {
    width: 100%;
    height: 92px;
    padding: 0;
    border: 1px solid #e1e1e1;
    background: #f7f7f7;
    overflow: hidden;
    cursor: pointer;
    opacity: .72;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.product-gallery-thumb:hover {
    opacity: 1;
    border-color: #111;
}

.product-gallery-thumb.active {
    opacity: 1;
    border: 2px solid #111;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 900px) {
    .product-gallery-main {
        min-height: 400px;
    }

    .product-gallery-main .detail-product-image {
        height: 400px;
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
    }

    .product-gallery-thumb {
        height: 76px;
    }
}

@media (max-width: 500px) {
    .product-gallery {
        gap: 8px;
    }

    .product-gallery-main {
        min-height: 330px;
    }

    .product-gallery-main .detail-product-image {
        height: 330px;
    }

    .product-gallery-thumbs {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        padding-bottom: 2px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .product-gallery-thumb {
        flex: 0 0 68px;
        width: 68px;
        height: 82px;
        scroll-snap-align: start;
    }
}

@media (max-width: 360px) {
    .product-gallery-main,
    .product-gallery-main .detail-product-image {
        min-height: 300px;
        height: 300px;
    }

    .product-gallery-thumb {
        flex-basis: 62px;
        width: 62px;
        height: 74px;
    }
}

/* =========================================================
   PRODUCT IMAGE ZOOM / FULLSCREEN VIEWER
   ADD ONLY — existing product CSS remains unchanged.
   ========================================================= */
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.product-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-lightbox-stage {
    position: relative;
    width: min(92vw, 1100px);
    height: min(88vh, 850px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    cursor: zoom-out;
    user-select: none;
    -webkit-user-drag: none;
}

.product-lightbox-close,
.product-lightbox-prev,
.product-lightbox-next {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(0,0,0,.45);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease;
}

.product-lightbox-close:hover,
.product-lightbox-prev:hover,
.product-lightbox-next:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}

.product-lightbox-close {
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
}

.product-lightbox-prev,
.product-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 22px;
}

.product-lightbox-prev { left: 22px; }
.product-lightbox-next { right: 22px; }

.product-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    padding: 7px 11px;
    background: rgba(0,0,0,.58);
    color: #fff;
    font-size: 11px;
    letter-spacing: .12em;
}

.product-lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .product-lightbox {
        padding: 10px;
    }

    .product-lightbox-stage {
        width: 100vw;
        height: 84vh;
    }

    .product-lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 27px;
    }

    .product-lightbox-prev,
    .product-lightbox-next {
        width: 38px;
        height: 38px;
        font-size: 18px;
        top: auto;
        bottom: 22px;
        transform: none;
    }

    .product-lightbox-prev { left: 18px; }
    .product-lightbox-next { right: 18px; }

    .product-lightbox-counter {
        bottom: 27px;
        font-size: 10px;
    }
}

/* =========================================================
   ANAHEE-STYLE PRODUCT IMAGE SIZE & SHAPE
   Only product-image sizing is adjusted.
   Desktop: tall 3:4 portrait image like the reference page.
   Mobile: same portrait proportion and full available width.
   ========================================================= */
.product-detail {
    width: 92%;
    max-width: 1360px;
    gap: 48px;
}

.product-gallery-main {
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 0;
    background: #f7f7f7;
    overflow: hidden;
}

.product-gallery-main .detail-product-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.detail-image {
    min-height: 0;
}

.detail-product-image,
.detail-image-placeholder {
    height: auto;
}

@media (max-width: 900px) {
    .product-detail {
        width: 92%;
        gap: 32px;
    }

    .product-gallery-main,
    .product-gallery-main .detail-product-image {
        min-height: 0;
        height: auto;
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 500px) {
    .product-detail {
        width: 94%;
        gap: 28px;
    }

    .product-gallery-main,
    .product-gallery-main .detail-product-image {
        min-height: 0;
        height: auto;
        aspect-ratio: 3 / 4;
    }
}


/* ================================
   CUSTOMER REVIEWS
================================ */

.product-reviews {
    width: 100%;
    padding: 0 0 110px;
    background: #fff;
}

.product-reviews-inner {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #e8e2dc;
    padding-top: 70px;
}

.reviews-heading {
    margin-bottom: 42px;
}

.reviews-kicker,
.review-form-kicker {
    margin: 0 0 10px;
    color: #9a4f43;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.reviews-heading h2 {
    margin: 0 0 12px;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 400;
}

.reviews-summary {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 55px;
    align-items: start;
}

.review-list {
    display: grid;
    gap: 14px;
}

.review-card {
    padding: 22px 0;
    border-top: 1px solid #eee8e2;
}

.review-card:last-child {
    border-bottom: 1px solid #eee8e2;
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 9px;
}

.review-card-top strong {
    color: #222;
    font-size: 13px;
}

.review-card-top span {
    color: #999;
    font-size: 11px;
}

.review-stars {
    margin-bottom: 10px;
    color: #9a4f43;
    font-size: 13px;
    letter-spacing: 2px;
}

.review-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.reviews-empty {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 25px 0;
    color: #888;
    font-size: 13px;
    line-height: 1.6;
}

.reviews-empty strong {
    color: #333;
}

.review-form-card {
    padding: 28px;
    border: 1px solid #e7ddd1;
    background: #fbf7f1;
}

.review-form-card h3 {
    margin: 0 0 8px;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.review-login-note {
    min-height: 18px;
    margin: 0 0 22px;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

.review-form-card label {
    display: block;
    margin: 0 0 8px;
    color: #555;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.review-form-card select,
.review-form-card textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 13px 14px;
    border: 1px solid #ddd3c9;
    outline: none;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 13px;
}

.review-form-card textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.review-form-card select:focus,
.review-form-card textarea:focus {
    border-color: #9a4f43;
}

.review-submit-btn {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: #171717;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.review-submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.review-form-message {
    min-height: 18px;
    margin: 12px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .product-reviews {
        padding-bottom: 75px;
    }

    .product-reviews-inner {
        width: calc(100% - 40px);
        padding-top: 50px;
    }

    .reviews-heading h2 {
        font-size: 31px;
    }

    .review-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

@media (max-width: 480px) {
    .product-reviews-inner {
        width: calc(100% - 30px);
    }

    .review-form-card {
        padding: 22px;
    }

    .review-card-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* Review photo upload */
.review-photo-optional {
    font-weight: 400;
    letter-spacing: .8px;
    color: #999;
}

.review-photo-upload {
    margin: 0 0 20px;
    padding: 14px;
    border: 1px dashed #d8cec3;
    background: #fff;
}

.review-photo-upload input {
    display: block;
    width: 100%;
    font: inherit;
    font-size: 12px;
    color: #555;
}

.review-photo-upload p {
    margin: 8px 0 0;
    color: #999;
    font-size: 11px;
    line-height: 1.5;
}

.review-photo {
    display: block;
    width: min(360px, 100%);
    max-height: 420px;
    margin-top: 16px;
    object-fit: cover;
    border: 1px solid #eee8e2;
}

@media (max-width: 480px) {
    .review-photo-upload {
        padding: 12px;
    }

    .review-photo {
        width: 100%;
        max-height: 360px;
    }
}


/* ==========================================
   PRODUCT DESCRIPTION + YOU MAY ALSO LIKE
   Inspired by the clean editorial product flow
========================================== */

.product-description-section {
    width: 100%;
    padding: 72px 0 78px;
    background: #fbf8f4;
    border-top: 1px solid #eee7df;
    border-bottom: 1px solid #eee7df;
}

.product-description-inner {
    width: min(980px, 86%);
    margin: 0 auto;
}

.product-description-kicker,
.you-may-also-like-heading p {
    margin: 0 0 10px;
    color: #9a4f43;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
}

.product-description-inner h2,
.you-may-also-like-heading h2 {
    margin: 0 0 24px;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.1;
}

.product-description-copy {
    max-width: 820px;
    color: #666;
    font-size: 14px;
    line-height: 1.85;
}

.product-description-copy p {
    margin: 0 0 16px;
}

.product-description-copy .description-lead {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}

.description-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 28px;
    margin: 28px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid #e4dbd2;
    list-style: none;
}

.description-details li {
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

.description-details strong {
    color: #333;
    font-weight: 600;
}

.you-may-also-like {
    width: 100%;
    padding: 88px 0 110px;
    background: #fff;
}

.you-may-also-like-inner {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.you-may-also-like-heading {
    text-align: center;
    margin-bottom: 38px;
}

.you-may-also-like-heading h2 {
    margin-bottom: 0;
    font-size: 42px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.related-product-card {
    min-width: 0;
    background: #fff;
}

.related-product-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f4f0eb;
}

.related-product-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.related-product-card:hover .related-product-image-link img {
    transform: scale(1.035);
}

.related-product-no-image {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #999;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.related-product-info {
    padding: 15px 2px 0;
}

.related-product-info > p {
    margin: 0 0 7px;
    color: #999;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.related-product-info h3 {
    margin: 0 0 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.related-product-info h3 a {
    color: #222;
    text-decoration: none;
}

.related-product-bottom {
    display: flex;
    align-items: center;
    gap: 9px;
}

.related-product-price {
    color: #222;
    font-size: 13px;
    font-weight: 600;
}

.related-product-original {
    color: #aaa;
    font-size: 11px;
    text-decoration: line-through;
}

.related-products-loading {
    grid-column: 1 / -1;
    margin: 0;
    padding: 30px 0;
    color: #999;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 900px) {
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }

    .description-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .product-description-section {
        padding: 52px 0 58px;
    }

    .product-description-inner {
        width: calc(100% - 36px);
    }

    .product-description-inner h2,
    .you-may-also-like-heading h2 {
        font-size: 31px;
    }

    .product-description-copy {
        font-size: 13px;
        line-height: 1.75;
    }

    .you-may-also-like {
        padding: 62px 0 78px;
    }

    .you-may-also-like-inner {
        width: calc(100% - 30px);
    }

    .related-products-grid {
        gap: 26px 12px;
    }

    .related-product-info h3 {
        font-size: 15px;
    }
}

/* ======================================================
   FINAL PRODUCT GALLERY + REVIEW FLOW
   ====================================================== */
.product-gallery-main {
    position: relative;
}

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: rgba(20,18,16,.42);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: .2s ease;
}

.product-gallery-arrow:hover {
    background: rgba(20,18,16,.72);
}

.product-gallery-prev { left: 14px; }
.product-gallery-next { right: 14px; }

.product-gallery-counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    padding: 6px 9px;
    background: rgba(20,18,16,.55);
    color: #fff;
    font-size: 9px;
    letter-spacing: 1px;
}

.reviews-heading {
    text-align: center;
}

.open-review-form-btn {
    margin-top: 22px;
    min-width: 190px;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid #1d1b19;
    background: #1d1b19;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    cursor: pointer;
    transition: .2s ease;
}

.open-review-form-btn:hover {
    background: #9a4f43;
    border-color: #9a4f43;
}

.review-form-card {
    position: relative;
}

.review-form-hidden {
    display: none !important;
}

.review-form-card.is-open {
    display: block !important;
    animation: reviewFormOpen .25s ease;
}

.close-review-form-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid #ddd4cc;
    background: #fff;
    color: #333;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

@keyframes reviewFormOpen {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .product-gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .product-gallery-prev { left: 9px; }
    .product-gallery-next { right: 9px; }

    .open-review-form-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ================================
   PRODUCT OFFER APPLY / APPLIED PRICE
================================ */
.product-offer-apply {
    padding: 8px 14px;
    border: 0;
    background: #493f37;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}

.product-offer-apply:hover {
    opacity: .88;
}

.product-offer-apply:disabled {
    opacity: .65;
    cursor: wait;
}

.product-applied-offer-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 7px;
    font-size: 12px;
}

.product-applied-offer-price span {
    color: #8d5c43;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-applied-offer-price strong {
    color: #171717;
    font-size: 18px;
}

.product-applied-offer-price small {
    flex-basis: 100%;
    color: #4f8a4f;
    font-size: 11px;
}

@media (max-width: 700px) {
    .product-offer-code-row {
        align-items: stretch;
    }

    .product-offer-apply {
        min-height: 36px;
    }
}

/* =========================================================
   PRODUCT SHARE BUTTON
   ========================================================= */
.share-product-btn {
    min-width: 104px;
    height: 52px;
    border: 1px solid #222;
    background: #fff;
    color: #111;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    transition: all 0.25s ease;
}

.share-product-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.share-product-btn:hover {
    background: #111;
    color: #fff;
}

.product-share-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.product-share-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.product-share-card {
    width: min(100%, 390px);
    background: #fff;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    transform: translateY(10px);
    transition: transform 0.2s ease;
}

.product-share-modal.is-open .product-share-card {
    transform: translateY(0);
}

.product-share-kicker {
    margin: 0 0 6px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #777;
}

.product-share-title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 500;
}

.product-share-actions {
    display: grid;
    gap: 10px;
}

.product-share-action {
    min-height: 46px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    padding: 0 15px;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    letter-spacing: 0.8px;
    transition: 0.2s ease;
}

.product-share-action:hover {
    border-color: #111;
    background: #f8f8f8;
}

.product-share-close {
    width: 100%;
    margin-top: 14px;
    min-height: 44px;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

@media (max-width: 600px) {
    .detail-buttons {
        flex-wrap: wrap;
    }

    .add-cart-btn {
        min-width: 0;
    }

    .share-product-btn {
        flex: 1;
    }
}
