/* =========================================================
   VYOJIN PRODUCT PAGE
========================================================= */

.product-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.product-header {
    position: sticky;
    top: 0;
    z-index: 100;
}


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

.product-breadcrumb {
    background: #faf7f2;
    border-bottom: 1px solid #eee5dc;
    padding: 18px 0;
}


.product-breadcrumb .product-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}


.product-breadcrumb a {
    color: #777;
    text-decoration: none;
    font-size: 13px;
}


.product-breadcrumb strong {
    color: #9f1239;
    font-size: 13px;
}


/* =========================================================
   LOADING
========================================================= */

.product-loading {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #777;
}


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

.product-detail-section {
    padding: 70px 0 90px;
    background: #fff;
}


.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
    gap: 70px;
    align-items: start;
}


/* =========================================================
   GALLERY
========================================================= */

.product-gallery {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    position: sticky;
    top: 110px;
}


.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.product-thumbnail {
    width: 82px;
    height: 100px;
    padding: 0;
    border: 1px solid #e5ddd5;
    background: #faf8f5;
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color .25s ease,
        transform .25s ease;
}


.product-thumbnail:hover {
    transform: translateY(-2px);
}


.product-thumbnail.active {
    border: 2px solid #9f1239;
}


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


.product-main-image {
    position: relative;
    background: #f7f3ee;
    min-height: 650px;
    overflow: hidden;
    touch-action: pan-y;
}


.product-main-image img {
    width: 100%;
    height: 730px;
    object-fit: contain;
    background: #f7f3ee;
    display: block;
    transform-origin: center center;
    transition: transform .28s ease;
    cursor: zoom-in;
    user-select: none;
}

.product-main-image img.is-zoomed {
    cursor: zoom-out;
}

.product-image-wishlist {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 8;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(38,27,24,.10);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.94);
    color: #261b18;
    font-size: 20px;
    box-shadow: 0 8px 22px rgba(33,21,18,.12);
    transition: transform .2s ease, color .2s ease, background .2s ease;
}

.product-image-wishlist:hover,
.product-image-wishlist.active {
    color: #9f1239;
    transform: scale(1.06);
}

.product-zoom-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(38,27,24,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 22px rgba(33,21,18,.10);
}

.product-zoom-controls button {
    min-width: 42px;
    height: 42px;
    border: 0;
    border-right: 1px solid rgba(38,27,24,.10);
    background: transparent;
    color: #261b18;
    font-size: 18px;
}

.product-zoom-controls button:last-child {
    border-right: 0;
}

.product-zoom-controls button:hover {
    background: #f8e9ed;
    color: #9f1239;
}

.product-price.price-coming-soon {
    font-size: 18px;
    color: #777;
    font-weight: 600;
}

.product-actions button:disabled,
.product-actions button.is-disabled {
    opacity: .5;
    cursor: not-allowed;
}


.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #9f1239;
    color: #fff;
    padding: 8px 13px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-information {
    padding-top: 8px;
}


.product-category {
    display: block;
    margin-bottom: 12px;
    color: #9f1239;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.product-name {
    margin: 0;
    color: #261b18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.08;
}


.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 25px;
    color: #777;
    font-size: 13px;
}


.stars {
    color: #c89b3c;
    letter-spacing: 2px;
}


.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}


.product-price {
    color: #9f1239;
    font-size: 27px;
    font-weight: 700;
}


.product-old-price {
    color: #999;
    font-size: 16px;
}


.product-discount {
    background: #f8e9ed;
    color: #9f1239;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 700;
}


.product-short-description {
    color: #655b57;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 35px;
}


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

.product-option {
    padding: 20px 0;
    border-top: 1px solid #eee5dc;
}


.product-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}


.product-option-header strong {
    color: #261b18;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.product-option-header span {
    color: #777;
    font-size: 12px;
}


.product-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.product-color-option {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 2px solid #ddd5cb;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


.product-color-option:hover {
    transform: scale(1.08);
}


.product-color-option.selected {
    border-color: #9f1239;
    box-shadow:
        0 0 0 3px #fff,
        0 0 0 5px #9f1239;
    transform: scale(1.08);
}


.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}


.product-size-option {
    min-width: 48px;
    min-height: 42px;
    padding: 8px 15px;
    background: #fff;
    color: #261b18;
    border: 1px solid #dcd3ca;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition:
        .2s ease;
}


.product-size-option:hover {
    border-color: #9f1239;
    color: #9f1239;
}


.product-size-option.selected {
    background: #9f1239;
    border-color: #9f1239;
    color: #fff;
}


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

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dcd3ca;
}


.quantity-control button {
    width: 42px;
    height: 42px;
    border: 0;
    background: #fff;
    color: #dbdbdb;
    font-size: 20px;
    cursor: pointer;
}


.quantity-control span {
    min-width: 48px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   ACTIONS
========================================================= */

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}


.product-actions button {
    min-height: 54px;
    cursor: pointer;
}


.product-add-cart {
    width: 100%;
}


.product-buy-now {
    width: 100%;
}


/* =========================================================
   FEATURES
========================================================= */

.product-features {
    margin-top: 35px;
    border-top: 1px solid #eee5dc;
}


.product-feature {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 0;
    border-bottom: 1px solid #eee5dc;
}


.product-feature strong {
    color: #261b18;
    font-size: 12px;
}


.product-feature span {
    color: #777;
    font-size: 12px;
}


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

.product-description-section {
    padding: 90px 0;
    background: #faf7f2;
}


.description-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
}


.description-grid h2 {
    margin-top: 12px;
    color: #261b18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.15;
}


.description-grid h2 em {
    color: #9f1239;
}


.description-grid p {
    margin: 0;
    color: #655b57;
    font-size: 15px;
    line-height: 1.9;
}


.product-highlights {
    margin: 25px 0 0;
    padding-left: 20px;
    color: #655b57;
    line-height: 2;
}


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

.reviews-section {
    padding: 90px 0;
    background: #fff;
}


.no-reviews {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 25px;
    border: 1px solid #eee5dc;
    background: #faf8f5;
}


.no-reviews-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f8e9ed;
    color: #9f1239;
}


.no-reviews h3 {
    margin: 0 0 10px;
    color: #261b18;
}


.no-reviews p {
    margin: 0;
    color: #777;
    font-size: 14px;
}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.related-products-section {
    padding: 90px 0;
    background: #faf7f2;
}


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


.related-product-card {
    background: #fff;
    overflow: hidden;
}


.related-product-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f5f1ec;
}


.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f5f1ec;
    transition: transform .45s ease;
}


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


.related-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #9f1239;
    color: #fff;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}


.related-product-info {
    padding: 18px;
}


.related-product-info > span {
    color: #9f1239;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.related-product-info h3 {
    margin: 7px 0 12px;
    color: #261b18;
    font-size: 16px;
    font-weight: 600;
}


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


.related-product-price strong {
    color: #9f1239;
}


.related-product-price del {
    color: #999;
    font-size: 12px;
}


/* =========================================================
   TOAST
========================================================= */

.product-toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 9999;
    transform: translate(-50%, 20px);
    opacity: 0;
    background: #261b18;
    color: #fff;
    padding: 13px 20px;
    font-size: 13px;
    pointer-events: none;
    transition:
        opacity .3s ease,
        transform .3s ease;
}


.product-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* =========================================================
   NOT FOUND
========================================================= */

.product-not-found {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.product-not-found h1 {
    margin-bottom: 10px;
    color: #261b18;
    font-family: Georgia, "Times New Roman", serif;
}


.product-not-found p {
    margin-bottom: 25px;
    color: #777;
}


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

@media (max-width: 1000px) {

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .product-gallery {
        position: static;
    }


    .product-main-image,
    .product-main-image img {
        min-height: 600px;
        height: 600px;
    }


    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .description-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


@media (max-width: 650px) {

    .product-container {
        width: min(100% - 24px, 1200px);
    }


    .product-detail-section {
        padding: 35px 0 55px;
    }


    .product-gallery {
        display: flex;
        flex-direction: column-reverse;
        gap: 12px;
    }


    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
    }


    .product-thumbnail {
        flex: 0 0 70px;
        width: 70px;
        height: 85px;
    }


    .product-main-image,
    .product-main-image img {
        min-height: 470px;
        height: 470px;
    }


    .product-name {
        font-size: 34px;
    }


    .product-actions {
        grid-template-columns: 1fr;
    }


    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }


    .related-product-info {
        padding: 12px;
    }


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


    .product-description-section,
    .reviews-section,
    .related-products-section {
        padding: 60px 0;
    }

}
/* =========================================================
   PRODUCT PAGE ENHANCEMENTS
========================================================= */

.product-main-image {
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}

.product-main-image.is-dragging {
    cursor: grabbing;
}

.product-main-image img {
    transition: opacity .18s ease, transform .28s ease;
}

.product-main-image img.is-changing-right {
    animation: productImageFromRight .28s ease;
}

.product-main-image img.is-changing-left {
    animation: productImageFromLeft .28s ease;
}

@keyframes productImageFromRight {
    from { opacity: .35; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes productImageFromLeft {
    from { opacity: .35; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.product-gallery-controls {
    position: absolute;
    inset: auto 16px 16px auto;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.gallery-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(38,27,24,.78);
    color: #fff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.gallery-arrow:hover {
    background: #9f1239;
}

.product-option-empty {
    color: #777;
    font-size: 13px;
}

.product-color-option {
    overflow: visible;
}

.product-color-option::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    pointer-events: none;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.review-summary {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid #eee5dc;
    background: #faf8f5;
}

.review-summary strong {
    color: #261b18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
}

.review-summary-stars,
.review-card-top span {
    color: #c89b3c;
    letter-spacing: 2px;
}

.review-summary small {
    color: #777;
}

.review-card {
    padding: 24px;
    border: 1px solid #eee5dc;
    background: #faf8f5;
}

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

.review-card-top strong {
    color: #261b18;
}

.review-card p {
    margin: 0 0 15px;
    color: #655b57;
    font-size: 14px;
    line-height: 1.8;
}

.review-card small {
    color: #999;
}

.no-reviews {
    grid-column: 1 / -1;
}

.related-view-link {
    display: inline-block;
    margin-top: 15px;
    color: #9f1239;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.related-view-link:hover {
    text-decoration: underline;
}

@media (max-width: 650px) {
    .product-main-image {
        min-height: 470px;
        height: 470px;
        overflow: hidden;
    }

    .product-main-image img {
        height: 470px;
        -webkit-user-drag: none;
    }

    .product-gallery-controls {
        display: none;
    }

    .product-thumbnails {
        scrollbar-width: none;
    }

    .product-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-summary {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-main-image img,
    .product-main-image img.is-changing-right,
    .product-main-image img.is-changing-left {
        animation: none;
        transition: none;
    }
}

/* =========================================================
   PREMIUM E-COMMERCE PRODUCT EXPERIENCE
========================================================= */

.product-detail-section {
    position: relative;
    overflow: hidden;
}

.product-detail-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -180px;
    right: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(159,18,57,.08), transparent 68%);
    pointer-events: none;
}

.product-main-image {
    border-radius: 2px;
    box-shadow: 0 22px 60px rgba(38,27,24,.12);
    touch-action: pan-y;
}

.product-main-image::after {
    content: "Swipe to explore";
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20,20,20,.62);
    color: #fff;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

@media (max-width: 650px) {
    .product-main-image::after {
        opacity: .8;
        animation: swipeHint 2.8s ease 1.2s 1 both;
    }
}

@keyframes swipeHint {
    0%, 100% { opacity: 0; }
    25%, 65% { opacity: .8; }
}

.product-information,
.description-grid,
.reviews-header,
.review-summary,
.reviews-toolbar,
.related-product-card {
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   REVIEW EXPERIENCE
========================================================= */

.reviews-section {
    background:
        linear-gradient(180deg, #fff 0%, #fcfaf7 100%);
    border-top: 1px solid #eee5dc;
}

.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.reviews-header h2 {
    margin: 8px 0 0;
    color: #261b18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.05;
}

.reviews-header h2 em {
    color: #9f1239;
    font-style: italic;
}

.section-label {
    color: #9f1239;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.write-review-btn {
    border: 1px solid #261b18;
    background: #fff;
    color: #261b18;
    padding: 13px 20px;
    font-size: 12px;
    cursor: pointer;
    transition: .25s ease;
}

.write-review-btn:hover {
    background: #261b18;
    color: #fff;
    transform: translateY(-2px);
}

.review-summary {
    display: grid;
    grid-template-columns: minmax(210px, .7fr) minmax(300px, 1.3fr);
    gap: 40px;
    align-items: center;
    padding: 30px;
    border: 1px solid #e9e0d7;
    background: #fff;
    box-shadow: 0 16px 40px rgba(38,27,24,.05);
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.overall-stars {
    color: #c89b3c;
    font-size: 19px;
    letter-spacing: 4px;
}

.overall-number {
    color: #261b18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}

#reviewCountText {
    color: #777;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rating-breakdown {
    display: grid;
    gap: 9px;
}

.rating-row {
    display: grid;
    grid-template-columns: 16px 15px minmax(100px, 1fr) 32px;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 12px;
}

.small-star {
    color: #c89b3c;
}

.rating-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #eee8e1;
}

.rating-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #c89b3c;
    transition: width .8s cubic-bezier(.2,.7,.2,1);
}

.review-form-wrapper {
    margin-top: 28px;
}

.review-form-card {
    padding: 30px;
    border: 1px solid #e9e0d7;
    background: #fff;
    box-shadow: 0 18px 50px rgba(38,27,24,.07);
}

.review-form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.review-form-heading h3 {
    margin: 8px 0 0;
    color: #261b18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
}

.review-form-close {
    width: 38px;
    height: 38px;
    border: 1px solid #e5ddd5;
    background: #fff;
    color: #261b18;
    font-size: 22px;
    cursor: pointer;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3b302d;
    font-size: 12px;
    font-weight: 700;
}

.form-group label span {
    color: #999;
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ded5cc;
    border-radius: 0;
    background: #fcfaf8;
    color: #261b18;
    padding: 13px 14px;
    outline: none;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #9f1239;
    box-shadow: 0 0 0 3px rgba(159,18,57,.08);
}

.review-rating-input {
    display: flex;
    gap: 4px;
}

.review-rating-input button {
    border: 0;
    padding: 0 2px;
    background: transparent;
    color: #cfc5bc;
    font-size: 29px;
    cursor: pointer;
    transition: transform .15s ease, color .15s ease;
}

.review-rating-input button:hover,
.review-rating-input button.active {
    color: #c89b3c;
    transform: translateY(-1px);
}

.review-form-message {
    min-height: 20px;
    margin: 6px 0 14px;
    font-size: 13px;
}

.review-form-message.success {
    color: #18794e;
}

.review-form-message.error {
    color: #b00020;
}

.submit-review-btn {
    border: 0;
    background: #9f1239;
    color: #fff;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s ease;
}

.submit-review-btn:hover {
    background: #76102e;
    transform: translateY(-2px);
}

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

.reviews-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding: 15px 0;
    border-bottom: 1px solid #e9e0d7;
    color: #777;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.reviews-toolbar select {
    border: 1px solid #ddd3ca;
    background: #fff;
    color: #261b18;
    padding: 10px 12px;
    font: inherit;
    cursor: pointer;
}

.reviews-list {
    display: grid;
}

.review-item {
    padding: 30px 0;
    border-bottom: 1px solid #e9e0d7;
}

.review-item-head {
    display: flex;
    align-items: center;
    gap: 13px;
}

.review-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0ece7;
    color: #6e5d54;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.review-author-line,
.review-stars-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.review-author-line strong {
    color: #261b18;
    font-size: 14px;
}

.review-stars {
    color: #c89b3c;
    letter-spacing: 2px;
    font-size: 13px;
}

.review-stars-line time {
    color: #999;
    font-size: 12px;
}

.review-verified,
.review-customer-label {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    background: #f7e8bd;
    color: #765914;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.review-customer-label {
    background: #f0ece7;
    color: #776b63;
}

.review-item h3 {
    margin: 18px 0 5px;
    color: #3b302d;
    font-size: 16px;
    font-weight: 700;
}

.review-item p {
    max-width: 850px;
    margin: 0;
    color: #655b57;
    font-size: 14px;
    line-height: 1.8;
}

.review-image {
    display: block;
    width: 110px;
    height: 110px;
    margin-top: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 8px 25px rgba(38,27,24,.08);
}

.reviews-loading {
    padding: 40px 0;
    color: #888;
    text-align: center;
}

/* =========================================================
   RELATED PRODUCT POLISH
========================================================= */

.related-products-section {
    border-top: 1px solid #eee5dc;
}

.related-product-card {
    border: 1px solid #eee5dc;
    box-shadow: 0 8px 25px rgba(38,27,24,.035);
    transition: transform .35s ease, box-shadow .35s ease;
}

.related-product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(38,27,24,.11);
}

.related-product-image {
    overflow: hidden;
}

.related-product-image img {
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

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

.related-quick-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    background: rgba(255,255,255,.92);
    color: #261b18;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.related-product-card:hover .related-quick-label {
    opacity: 1;
    transform: translateY(0);
}

.related-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.related-product-price em {
    color: #9f1239;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.related-stars {
    margin-top: 10px;
    color: #c89b3c;
    font-size: 12px;
    letter-spacing: 2px;
}

.related-stars small {
    color: #999;
    font-size: 10px;
    letter-spacing: 0;
}

.related-view-link {
    margin-top: 14px;
    display: inline-block;
    color: #261b18;
    transition: color .2s ease;
}

.related-view-link:hover {
    color: #9f1239;
}

@media (max-width: 700px) {
    .reviews-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-summary {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 22px;
    }

    .review-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .overall-number {
        font-size: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-on-scroll.is-visible,
    .related-product-card,
    .related-product-image img {
        transition: none !important;
        transform: none !important;
    }
}


/* =====================================================
   PAIRS WELL WITH
===================================================== */

.pairs-well-with {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pairs-header {
    margin-bottom: 14px;
}

.pairs-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #222;
}

.pairs-subtitle {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}


/* PRODUCTS ONE BELOW ANOTHER */

.pairs-products {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 100%;
}


/* EACH PRODUCT */

.pair-product {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 8px;

    text-decoration: none;
    color: inherit;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;

    background: #fff;

    transition: 0.25s ease;
}

.pair-product:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateX(2px);
}


/* IMAGE */

.pair-product-image {
    flex: 0 0 65px;

    width: 65px;
    height: 78px;

    overflow: hidden;

    border-radius: 5px;

    background: #f5f3f0;
}

.pair-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* PRODUCT INFO */

.pair-product-name {
    display: block;

    font-size: 13px;
    font-weight: 500;

    color: #222;

    margin-bottom: 5px;
}

.pair-product-price {
    display: block;

    font-size: 12px;
    font-weight: 600;

    color: #111;
}


/* =========================================================
   LIVE READINESS / REVIEW ACCESSIBILITY
========================================================= */

.product-loading {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #777;
}

.product-loading-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #eee5dc;
    border-top-color: #9f1239;
    border-radius: 50%;
    animation: productSpinner .8s linear infinite;
}

@keyframes productSpinner {
    to { transform: rotate(360deg); }
}

.product-not-found[hidden],
.product-loading[hidden] {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pair-product-copy {
    min-width: 0;
    display: block;
}

.review-item h3 {
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 500;
}

.review-item p {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.review-form-message:empty {
    min-height: 0;
}

@media (max-width: 700px) {
    .reviews-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .reviews-toolbar select {
        width: 100%;
    }

    .review-rating-input button {
        min-width: 40px;
        min-height: 42px;
        font-size: 30px;
    }

    .review-form-card {
        border-radius: 2px;
    }

    .product-loading {
        min-height: 300px;
    }
}


/* VYOJIN product image visibility + responsive gallery */
.product-main-image{background:#f5eee6;overflow:hidden;}
.product-main-image img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;}
.product-thumbnail img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;background:#f5eee6;}
.pair-product-image{background:#f5eee6;overflow:hidden;}
.pair-product-image img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;}
@media(max-width:768px){
 .product-detail-grid{grid-template-columns:1fr!important;}
 .product-gallery{width:100%;min-width:0;}
 .product-main-image{height:auto!important;aspect-ratio:3/4;min-height:0;}
 .product-thumbnails{display:flex;overflow-x:auto;gap:8px;padding-bottom:5px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;}
 .product-thumbnail{flex:0 0 68px;scroll-snap-align:start;}
 .related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:420px){.product-thumbnail{flex-basis:60px}.related-products-grid{gap:10px!important;}}

.product-quantity-note {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
}

.product-quantity-note strong {
    margin: 0;
    text-align: left;
}

.quantity-control {
    display: flex;
    align-items: center;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.quantity-btn {
    width: 28px;
    height: 30px;
    border: 0;
    background: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.quantity-btn:disabled {
    cursor: not-allowed;
}

.disabled-plus {
    color: #aaa;
    background: #f7f7f7;
}

.quantity-value {
    width: 26px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 13px;
    font-weight: 600;
}


/* final product gallery controls */
.product-main-image {
    position: relative;
    background: #f5eee6;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 730px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f5eee6;
    transform-origin: center center;
    transition: transform .28s ease;
}

.product-image-wishlist {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 20;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(38,27,24,.10);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.94);
    color: #261b18;
    font-size: 20px;
    box-shadow: 0 8px 22px rgba(33,21,18,.12);
}

.product-image-wishlist:hover,
.product-image-wishlist.active {
    color: #9f1239;
    transform: scale(1.06);
}

.product-zoom-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgba(38,27,24,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 22px rgba(33,21,18,.10);
}

.product-zoom-controls button {
    min-width: 42px;
    height: 42px;
    border: 0;
    border-right: 1px solid rgba(38,27,24,.10);
    background: transparent;
    color: #261b18;
    font-size: 18px;
}

.product-zoom-controls button:last-child {
    border-right: 0;
}

.product-zoom-controls button:hover {
    background: #f8e9ed;
    color: #9f1239;
}

.product-price.price-coming-soon {
    font-size: 18px;
    color: #777;
    font-weight: 600;
}

.product-actions button:disabled,
.product-actions button.is-disabled {
    opacity: .5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .product-main-image {
        height: auto !important;
        min-height: 0;
        aspect-ratio: 3 / 4;
    }

    .product-main-image img {
        height: 100% !important;
    }

    .product-image-wishlist {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }

    .product-zoom-controls {
        right: 12px;
        bottom: 12px;
    }

    .product-zoom-controls button {
        min-width: 38px;
        height: 38px;
    }
}
/* =========================================================
   FINAL PRODUCT IMAGE CONTROLS FIX
========================================================= */

.product-main-image {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
    background: #f5eee6 !important;
}

/* product image */
.product-main-image > img#productMainImage {
    position: relative;
    z-index: 1;
    display: block;
    width: 100% !important;
    height: 730px !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform-origin: center center !important;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform .28s ease, opacity .18s ease;
}

/* wishlist */
.product-image-wishlist {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 50 !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    padding: 0 !important;
    margin: 0 !important;

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

    border: 1px solid rgba(38, 27, 24, .14) !important;
    border-radius: 50% !important;

    background: rgba(255, 255, 255, .96) !important;
    color: #261b18 !important;

    font-size: 21px !important;
    line-height: 1 !important;

    cursor: pointer !important;
    pointer-events: auto !important;

    box-shadow: 0 6px 20px rgba(38, 27, 24, .14) !important;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease !important;
}

.product-image-wishlist i {
    display: block;
    line-height: 1;
    pointer-events: none;
}

.product-image-wishlist:hover {
    background: #fff !important;
    color: #9f1239 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 10px 25px rgba(38, 27, 24, .18) !important;
}

.product-image-wishlist.active {
    background: #fff !important;
    color: #9f1239 !important;
}

.product-image-wishlist.active i {
    color: #9f1239 !important;
}

/* zoom controls */
.product-zoom-controls {
    position: absolute !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 50 !important;

    display: flex !important;
    align-items: center !important;

    width: auto !important;
    height: 42px !important;

    overflow: hidden !important;

    border: 1px solid rgba(38, 27, 24, .14) !important;
    border-radius: 10px !important;

    background: rgba(255, 255, 255, .97) !important;

    box-shadow: 0 8px 24px rgba(38, 27, 24, .14) !important;

    pointer-events: auto !important;
}

.product-zoom-controls button {
    position: relative !important;
    z-index: 51 !important;

    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

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

    border: 0 !important;
    border-right: 1px solid rgba(38, 27, 24, .10) !important;

    background: transparent !important;
    color: #261b18 !important;

    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    pointer-events: auto !important;

    transition:
        background .2s ease,
        color .2s ease !important;
}

.product-zoom-controls button:last-child {
    border-right: 0 !important;
}

.product-zoom-controls button:hover {
    background: #f8e9ed !important;
    color: #9f1239 !important;
}

.product-zoom-controls button:active {
    background: #f2dce2 !important;
}

.product-zoom-controls button:focus-visible,
.product-image-wishlist:focus-visible {
    outline: 2px solid #9f1239 !important;
    outline-offset: 2px !important;
}

/* don't allow gallery drag handlers to capture control clicks */
.product-image-wishlist,
.product-zoom-controls,
.product-zoom-controls button {
    touch-action: manipulation !important;
}

/* mobile */
@media (max-width: 768px) {

    .product-main-image > img#productMainImage {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .product-image-wishlist {
        top: 12px !important;
        right: 12px !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 19px !important;
    }

    .product-zoom-controls {
        right: 12px !important;
        bottom: 12px !important;
        height: 40px !important;
    }

    .product-zoom-controls button {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 420px) {

    .product-image-wishlist {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .product-zoom-controls {
        right: 10px !important;
        bottom: 10px !important;
    }

    .product-zoom-controls button {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        font-size: 16px !important;
    }
}
/* customer review photo upload/display */
.review-image-help{display:block;margin-top:7px;font-size:12px;opacity:.72;}
.review-image-preview{margin-top:12px;max-width:180px;}
.review-image-preview img{display:block;width:100%;height:180px;object-fit:cover;border-radius:10px;}
.review-customer-image{margin-top:14px;max-width:220px;}
.review-customer-image img{display:block;width:100%;height:220px;object-fit:contain;background:#f5eee6;border-radius:12px;}


/* =========================
   PRODUCT CODE
========================= */

.product-code-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 18px;
    font-size: 13px;
}

.product-code-label {
    color: #777;
    font-weight: 500;
}

.product-code-value {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    color: #17120f;
    letter-spacing: 1px;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: none;
    text-align: left;
}