/* ========================================
   Product detail page — custom CSS only
   ======================================== */

.prd-page {
    --prd-bg: #ffffff;
    --prd-surface: #ffffff;
    --prd-ink: #1a1816;
    --prd-muted: #8a847c;
    --prd-line: #e8e2da;
    --prd-gold: #c5915d;
    --prd-gold-deep: #a97845;
    --prd-cream: #ffffff;
    --prd-panel: #ffffff;
    --prd-radius: 12px;
    --prd-shadow: 0 6px 22px rgba(40, 30, 20, 0.07);

    float: none;
    clear: both;
    display: block;
    width: 100%;
    background: var(--prd-bg);
    color: var(--prd-ink);
    position: relative;
    z-index: 3;
    --prd-nav-h: 78px;

    padding-top: var(--prd-nav-h);
    padding-bottom: 72px;
    min-height: 60vh;
    overflow: visible;
}

/* Neutralize storefront float/fixed nav rules inside product page */
.prd-page nav {
    float: none;
    position: relative;
    width: auto;
    margin-top: 0;
}

.prd-page *,
.prd-page *::before,
.prd-page *::after {
    box-sizing: border-box;
}

.prd-page button,
.prd-page input,
.prd-page a {
    font-family: inherit;
}

/* ---------- Nav ---------- */

.prd-page .prd-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    float: none;
    width: 100%;
    margin: 0;
    padding: 18px 28px 14px;
    background: var(--prd-surface);
    border-bottom: 1px solid var(--prd-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    box-sizing: border-box;
    overflow: visible;
}

.prd-page .prd-nav .MenuItem--mega .AllMegaMenu {
    z-index: 220;
}

.prd-page .prd-nav .RightNavContent,
.prd-page .prd-nav .LeftNavContent {
    float: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.prd-page .prd-nav .MainLogo {
    float: none;
    margin-left: 18px;
}

.prd-page .prd-nav .SearchContauner {
    background: var(--prd-bg);
    border: 1px solid var(--prd-line);
}

/* ---------- Shell ---------- */

.prd-shell {
    float: none;
    clear: both;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 28px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.prd-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 10px !important;
    font-weight: 400;
    line-height: 1.5;
    color: #888888;
    margin: 0 0 20px;
    padding: 0;
    background: transparent;
    border: 0;
    box-sizing: border-box;
    float: none;
    position: static;
    width: 100%;
}

.prd-breadcrumb a,
.prd-breadcrumb span,
.prd-breadcrumb strong {
    font-size: 10px !important;
    line-height: 1.5;
}

.prd-breadcrumb a {
    color: #888888;
    font-weight: 400;
}

.prd-breadcrumb a:hover {
    color: #555555;
}

.prd-breadcrumb span {
    color: #aaaaaa;
    font-weight: 300;
    opacity: 1;
}

.prd-breadcrumb strong {
    color: #666666;
    font-weight: 400;
}

/* ---------- Top: info (right) + gallery (left) ---------- */

.prd-top {
    display: grid;
    grid-template-columns: minmax(340px, 0.92fr) minmax(340px, 1.08fr);
    grid-template-areas: "info gallery";
    gap: 42px;
    align-items: start;
    margin-bottom: 36px;
    direction: rtl;
    float: none;
    clear: both;
    width: 100%;
    overflow: hidden;
}

.prd-info {
    grid-area: info;
    min-width: 0;
    max-width: 100%;
    padding-top: 2px;
    text-align: right;
    float: none;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.prd-gallery {
    grid-area: gallery;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 12px;
    align-items: start;
    direction: rtl;
    min-width: 0;
    max-width: 100%;
    float: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.prd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prd-thumb {
    width: 68px;
    height: 68px;
    border: 1.5px solid #ebe6df;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #f2eee8;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

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

.prd-thumb.is-active,
.prd-thumb:hover {
    border-color: var(--prd-gold);
}

.prd-thumb--video .prd-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.prd-thumb--video .prd-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent var(--prd-ink);
}

.prd-main-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f2eee8;
    width: 100%;
    max-width: 100%;
    height: 520px;
    max-height: 520px;
}

.prd-main-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.prd-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--prd-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.prd-zoom svg {
    width: 15px;
    height: 15px;
}

/* ---------- Info ---------- */

.prd-info-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.prd-info-head-main {
    min-width: 0;
}

.prd-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 8px;
    background: #f3e8da;
    color: #9a7345;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.prd-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    min-width: 0;
}

.prd-brand {
    color: var(--prd-gold);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.prd-meta-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cfc7bc;
    flex-shrink: 0;
}

.prd-sku {
    color: #9a9288;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    direction: ltr;
    unicode-bidi: isolate;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prd-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
}

.prd-info-intro {
    display: block;
    margin-bottom: 0;
}

.prd-summary {
    margin: 0 0 12px;
    font-size: 12.5px;
    line-height: 1.95;
    color: #7a7a7a;
    max-width: 28em;
    text-align: right;
}

.prd-rating-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e8e2da;
}

.prd-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
}

.prd-stars {
    display: inline-flex;
    gap: 1px;
    color: #d4a017;
}

.prd-stars svg {
    width: 13px;
    height: 13px;
}

.prd-rating-link {
    color: #9a9a9a;
    font-size: 11px;
}

.prd-rating-link:hover {
    color: var(--prd-gold);
}

.prd-price {
    display: block;
    width: auto;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-align: left;
    border-bottom: 0;
}

.prd-price span {
    font-size: 13px;
    font-weight: 600;
    color: #777777;
    margin-right: 4px;
}

.prd-option {
    margin-bottom: 16px;
}

.prd-option--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
    width: 100%;
}

.prd-option-label {
    font-size: 12.5px;
    color: #666666;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.prd-option-label strong {
    color: #222222;
    font-weight: 700;
}

.prd-size-guide {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--prd-gold);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.prd-size-guide svg {
    width: 15px;
    height: 15px;
}

.prd-size-guide:hover {
    color: var(--prd-gold-deep);
}

.prd-swatches {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-inline-start: 0;
    padding-left: 12px;
    direction: ltr;
}

.prd-swatches button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.prd-swatches button.is-active {
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 3.5px var(--prd-gold);
}

.prd-sizes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-inline-start: 0;
    padding-left: 12px;
    direction: ltr;
}

.prd-sizes button {
    min-width: 44px;
    height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid #e6e6e6;
    background: #fff;
    color: #333333;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.prd-sizes button.is-active,
.prd-sizes button:hover {
    border-color: var(--prd-gold);
    color: var(--prd-gold);
}

.prd-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 4px 0 18px;
    direction: rtl;
}

.prd-qty {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
    background: #F9F8F5;
    height: 46px;
    min-width: 110px;
    flex-shrink: 0;
    direction: ltr;
}

.prd-qty button {
    width: 36px;
    height: 100%;
    border: 0;
    background: transparent;
    font-size: 17px;
    color: #333333;
    cursor: pointer;
}

.prd-qty-value {
    width: 34px;
    height: 100%;
    border: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: #333333;
}

.prd-add {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--prd-gold);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    padding: 0 16px;
}

.prd-add svg {
    width: 17px;
    height: 17px;
    color: #fff;
}

.prd-add:hover {
    background: var(--prd-gold-deep);
}

.prd-add.is-disabled,
.prd-add:disabled {
    background: #c4c0ba;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.9;
}

.prd-add.is-disabled:hover,
.prd-add:disabled:hover {
    background: #c4c0ba;
}

.prd-wish {
    width: 46px;
    height: 46px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    color: #333333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.prd-wish svg {
    width: 17px;
    height: 17px;
}

.prd-wish:hover,
.prd-wish.is-active {
    border-color: var(--prd-gold);
    color: #c45c5c;
}

.prd-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 14px 6px;
    background: #F9F8F5;
    border: 0;
    border-radius: 12px;
}

.prd-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 4px 6px;
    background: transparent;
    border-radius: 0;
    border-left: 1px solid #ebebeb;
}

.prd-feature:last-child {
    border-left: 0;
}

.prd-feature svg {
    width: 22px;
    height: 22px;
    color: var(--prd-gold);
    flex-shrink: 0;
    margin: 0;
}

.prd-feature strong {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: #333333;
    line-height: 1.45;
    margin: 0;
}

.prd-feature span {
    font-size: 9.5px;
    color: #8a8a8a;
    line-height: 1.35;
}

/* ---------- Tabs ---------- */

.prd-tabs {
    margin-bottom: 48px;
}

.prd-tab-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    border-bottom: 1px solid var(--prd-line);
    margin-bottom: 0;
    direction: rtl;
}

.prd-tab {
    border: 0;
    background: transparent;
    padding: 14px 4px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--prd-muted);
    cursor: pointer;
    position: relative;
}

.prd-tab.is-active {
    color: var(--prd-gold);
}

.prd-tab.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--prd-gold);
}

.prd-tab-panels {
    background: #ffffff;
    border: 1px solid var(--prd-line);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: none;
    margin-top: 18px;
    min-height: 220px;
}

.prd-tab-panel[hidden] {
    display: none;
}

.prd-tab-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
    grid-template-areas: "highlights copy";
    gap: 28px;
    align-items: stretch;
    direction: rtl;
}

.prd-highlights {
    grid-area: highlights;
    list-style: none;
    margin: 0;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    background: #ffffff;
    border: 1px solid var(--prd-line);
    border-radius: 14px;
    min-height: 180px;
    height: 100%;
    box-sizing: border-box;
}

.prd-tab-copy {
    grid-area: copy;
    min-width: 0;
    min-height: 180px;
}

.prd-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--prd-ink);
}

.prd-hl-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--prd-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--prd-gold);
}

.prd-hl-icon svg {
    width: 18px;
    height: 18px;
}

/* Collapsed product body (TinyMCE HTML) */
.prd-body-clamp {
    position: relative;
    min-width: 0;
}

.prd-body-clamp:not(.is-expanded) .prd-body-clamp__inner {
    max-height: 220px;
    overflow: hidden;
}

.prd-body-clamp:not(.is-expanded).is-clamped::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 44px;
    height: 72px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 88%);
}

.prd-body-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(184, 157, 122, 0.55);
    background: #fff;
    color: #2b2723;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.prd-body-more:hover {
    background: #2b2723;
    border-color: #2b2723;
    color: #fff;
}

.prd-body-more[hidden] {
    display: none !important;
}

/* HTML from TinyMCE / product body editor */
.prd-body-html {
    direction: rtl;
    text-align: right;
    font-size: 13px;
    line-height: 2.1;
    color: #6b6b6b;
    max-width: none;
}

.prd-body-html::after {
    content: "";
    display: block;
    clear: both;
}

.prd-body-html p {
    margin: 0 0 12px;
}

.prd-body-html p:last-child {
    margin-bottom: 0;
}

.prd-body-html ul,
.prd-body-html ol {
    margin: 0 0 12px;
    padding-inline-start: 1.4em;
}

.prd-body-html ul {
    list-style: disc;
}

.prd-body-html ol {
    list-style: decimal;
}

.prd-body-html li {
    margin-bottom: 6px;
}

.prd-body-html h1,
.prd-body-html h2,
.prd-body-html h3,
.prd-body-html h4 {
    margin: 16px 0 10px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.4;
}

.prd-body-html h1 { font-size: 1.5rem; }
.prd-body-html h2 { font-size: 1.25rem; }
.prd-body-html h3 { font-size: 1.1rem; }
.prd-body-html h4 { font-size: 1rem; }

.prd-body-html strong,
.prd-body-html b {
    color: #333333;
    font-weight: 700;
}

.prd-body-html a {
    color: var(--prd-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prd-body-html blockquote {
    margin: 14px 0;
    padding: 10px 14px;
    border-inline-start: 3px solid var(--prd-gold);
    background: #F9F8F5;
    color: #666666;
}

.prd-body-html img,
.prd-body-html .product-body-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: 12px;
}

.prd-body-html img.img-align-right,
.prd-body-html .img-align-right {
    float: right;
    max-width: 48%;
    margin: 8px 0 12px 16px;
}

.prd-body-html img.img-align-left,
.prd-body-html .img-align-left {
    float: left;
    max-width: 48%;
    margin: 8px 16px 12px 0;
}

.prd-body-html img.img-align-center,
.prd-body-html .img-align-center {
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 85%;
}

.prd-body-html img.img-align-full,
.prd-body-html .img-align-full {
    float: none;
    width: 100%;
    max-width: 100%;
}

.prd-body-html figure {
    margin: 16px 0;
}

.prd-body-html figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: #8a8a8a;
    text-align: center;
}

.prd-body-html table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
}

.prd-body-html table td,
.prd-body-html table th {
    border: 1px solid var(--prd-line);
    padding: 8px 12px;
    text-align: right;
}

.prd-specs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    border: 1px solid #eceae7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.prd-spec-row {
    display: grid;
    grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
    gap: 16px 24px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0eeea;
}

.prd-spec-row:last-child {
    border-bottom: none;
}

.prd-spec-row:nth-child(odd) {
    background: #fcfbf9;
}

.prd-spec-row--meta {
    background: #f7f5f1;
}

.prd-spec-row--meta:nth-child(odd) {
    background: #f7f5f1;
}

.prd-spec-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #8a847c;
    line-height: 1.5;
}

.prd-spec-values {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.prd-spec-text {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    word-break: break-word;
}

.prd-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #e7e2db;
    background: #fff;
    color: #2b2723;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.prd-spec-chip--size {
    min-width: 42px;
    justify-content: center;
    border-radius: 10px;
    font-variant-numeric: tabular-nums;
}

.prd-spec-chip--color {
    padding-inline-start: 8px;
}

.prd-spec-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.prd-spec-value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

.prd-empty-note {
    margin: 0;
    font-size: 13px;
    color: var(--prd-muted);
    line-height: 1.8;
    text-align: center;
    padding: 28px 16px;
}

/* ---------- Reviews ---------- */

.prd-reviews {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.prd-reviews-summary {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 20px;
    background: #F9F8F5;
    border: 1px solid #eceae7;
    border-radius: 16px;
}

.prd-reviews-score {
    text-align: center;
}

.prd-reviews-avg {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 8px;
}

.prd-reviews-stars {
    display: inline-flex;
    gap: 2px;
    color: #d4a017;
    margin-bottom: 8px;
}

.prd-reviews-stars svg {
    width: 16px;
    height: 16px;
}

.prd-reviews-count {
    font-size: 12px;
    color: #8a847c;
}

.prd-reviews-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.prd-reviews-bar {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: #666666;
}

.prd-reviews-bar-track {
    height: 8px;
    border-radius: 99px;
    background: #ebe7e1;
    overflow: hidden;
}

.prd-reviews-bar-track i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--prd-gold);
}

.prd-reviews-bar em {
    font-style: normal;
    text-align: left;
    color: #8a847c;
}

.prd-reviews-write-btn {
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--prd-gold);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.prd-reviews-write-btn:hover {
    background: var(--prd-gold-deep);
}

.prd-review-form {
    padding: 22px;
    border: 1px solid #eceae7;
    border-radius: 16px;
    background: #fff;
}

.prd-review-form.is-hidden {
    display: none;
}

.prd-review-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.prd-review-form-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.prd-review-form-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: #F9F8F5;
    color: #666;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

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

.prd-review-form-row {
    margin-bottom: 14px;
}

.prd-review-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #555555;
}

.prd-review-rate {
    display: inline-flex;
    gap: 4px;
    direction: ltr;
}

.prd-review-star {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #d9d3cb;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.prd-review-star.is-active,
.prd-review-star.is-hover {
    color: #d4a017;
}

.prd-review-star:hover {
    transform: scale(1.08);
}

.prd-review-input,
.prd-review-textarea {
    width: 100%;
    border: 1px solid #e6e0d8;
    border-radius: 10px;
    background: #fff;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13px;
    color: #1a1a1a;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.prd-review-input:focus,
.prd-review-textarea:focus {
    border-color: var(--prd-gold);
    box-shadow: 0 0 0 3px rgba(197, 145, 93, 0.15);
}

.prd-review-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.8;
}

.prd-review-hint {
    margin-top: 6px;
    font-size: 11px;
    color: #9a9a9a;
    text-align: left;
}

.prd-review-error {
    margin: 8px 0 0;
    font-size: 12px;
    color: #c45c5c;
}

.prd-review-success {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eef7ef;
    color: #2f6b3a;
    font-size: 12.5px;
}

.prd-review-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.prd-review-submit {
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: var(--prd-gold);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.prd-review-submit:hover {
    background: var(--prd-gold-deep);
}

.prd-review-cancel {
    height: 44px;
    padding: 0 18px;
    border: 1px solid #e6e0d8;
    border-radius: 10px;
    background: #fff;
    color: #666;
    font-size: 13px;
    cursor: pointer;
}

.prd-reviews-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.prd-reviews-toolbar-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.prd-reviews-sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #777;
}

.prd-reviews-sort select {
    height: 36px;
    border: 1px solid #e6e0d8;
    border-radius: 8px;
    background: #fff;
    padding: 0 10px;
    font-family: inherit;
    font-size: 12px;
    color: #333;
}

.prd-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prd-review-card {
    padding: 18px;
    border: 1px solid #eceae7;
    border-radius: 14px;
    background: #fff;
}

.prd-review-card-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.prd-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0e6d8;
    color: var(--prd-gold-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.prd-review-author {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.prd-review-date {
    font-size: 11px;
    color: #9a9a9a;
}

.prd-review-card-stars {
    color: #d4a017;
    font-size: 14px;
    letter-spacing: 1px;
    direction: ltr;
}

.prd-review-card-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.prd-review-card-body {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 2;
    color: #666;
}

.prd-review-card-foot {
    display: flex;
    justify-content: flex-start;
}

.prd-review-helpful {
    border: 1px solid #e6e0d8;
    background: #F9F8F5;
    color: #666;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.prd-review-helpful:hover,
.prd-review-helpful.is-active {
    border-color: var(--prd-gold);
    color: var(--prd-gold-deep);
}

.prd-review-helpful em {
    font-style: normal;
}

@media (max-width: 900px) {
    .prd-reviews-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .prd-reviews-write-btn {
        width: 100%;
    }

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

/* ---------- Related ---------- */

.prd-related {
    margin-bottom: 28px;
}

.prd-related-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.prd-related-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--prd-ink);
    white-space: nowrap;
}

.prd-related-line {
    flex: 1;
    max-width: 64px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--prd-gold);
}

.prd-related-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
    gap: 16px 14px;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.prd-card {
    width: 100%;
    max-width: 240px;
    min-width: 0;
    flex: 0 1 240px;
    background: #ffffff;
    border: 1px solid #f0ebe4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(40, 30, 20, 0.12);
    padding: 8px;
    box-sizing: border-box;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(40, 30, 20, 0.16);
}

.prd-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.prd-card-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #ebe6df;
    width: 100%;
    height: 188px;
    flex-shrink: 0;
}

.prd-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}

.prd-card:hover .prd-card-media img {
    transform: scale(1.04);
}

.prd-card-badge {
    position: absolute;
    inset-inline-start: 10px;
    inset-block-start: 10px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(40, 36, 32, 0.82);
    color: #f5f1ea;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.prd-card-swatches {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.prd-card-swatches span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.prd-card-body {
    padding: 12px 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.prd-card-body h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #5c564f;
    text-align: right;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
}

.prd-card-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;
    color: var(--prd-gold);
    white-space: nowrap;
}

.prd-card-price strong {
    font-size: 14px;
    font-weight: 800;
}

.prd-card-price span {
    font-size: 11px;
    font-weight: 600;
    color: #9a9288;
}

.prd-card-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.prd-card-sizes span {
    min-width: 28px;
    padding: 4px 7px;
    border-radius: 8px;
    border: 1px solid #ebe6df;
    background: #faf8f5;
    color: #6b655d;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.prd-card-sizes-more {
    color: #9a9288 !important;
    background: transparent !important;
    border-style: dashed !important;
}

.prd-card.is-oos {
    opacity: 0.78;
}

.prd-card.is-oos .prd-card-media img {
    opacity: 0.72;
    filter: grayscale(0.25);
}

.prd-card.is-oos .prd-card-sizes span {
    opacity: 0.7;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .prd-shell {
        padding: 18px 20px 0;
    }

    .prd-specs {
        border-radius: 14px;
    }

    .prd-spec-row {
        grid-template-columns: minmax(96px, 140px) minmax(0, 1fr);
        padding: 14px 16px;
        gap: 12px 16px;
    }

    .prd-page .prd-nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    .prd-top {
        grid-template-columns: 1fr;
        grid-template-areas:
            "info"
            "gallery";
        gap: 28px;
    }

    .prd-gallery {
        max-width: 640px;
        margin: 0 auto;
        width: 100%;
    }

    .prd-main-media {
        height: 380px;
        max-height: 380px;
        aspect-ratio: auto;
    }

    .prd-related-track {
        gap: 16px 14px;
    }
}

@media (max-width: 700px) {
    .prd-page {
        --prd-nav-h: 64px;
    }

    .prd-shell {
        padding: 16px 16px 0;
    }

    .prd-specs {
        border-radius: 12px;
    }

    .prd-spec-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 14px;
        align-items: start;
    }

    .prd-spec-label {
        font-size: 12px;
    }

    .prd-gallery {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "thumbs";
    }

    .prd-main-media {
        grid-area: main;
        height: 320px;
        max-height: 320px;
        aspect-ratio: auto;
    }

    .prd-thumbs {
        grid-area: thumbs;
        flex-direction: row;
        overflow-x: auto;
    }

    .prd-thumb {
        flex: 0 0 68px;
        width: 68px;
        height: 68px;
    }

    .prd-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: center;
        gap: 0;
        padding: 12px 4px;
    }

    .prd-feature {
        padding: 4px 2px;
    }

    .prd-feature strong {
        font-size: 9.5px;
    }

    .prd-feature span {
        font-size: 8.5px;
    }

    .prd-feature svg {
        width: 20px;
        height: 20px;
    }

    .prd-actions {
        flex-wrap: wrap;
    }

    .prd-add {
        order: -1;
        flex: 1 1 100%;
    }

    .prd-tab-list {
        gap: 18px;
    }

    .prd-tab-panels {
        padding: 20px 16px;
    }

    .prd-tab-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "highlights"
            "copy";
        gap: 20px;
    }

    .prd-related-track {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .prd-related-track .prd-card {
        flex: 0 0 210px;
        max-width: 210px;
        scroll-snap-align: start;
    }

    .prd-card-media {
        height: 188px;
    }

    .prd-title {
        font-size: 24px;
    }

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

@media (max-width: 520px) {
    .prd-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prd-feature {
        border-left: 0;
        border-bottom: 1px solid var(--prd-line);
        padding: 10px 6px;
    }

    .prd-feature:nth-child(odd) {
        border-left: 1px solid var(--prd-line);
    }

    .prd-feature:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .prd-feature strong {
        font-size: 10.5px;
    }

    .prd-feature span {
        font-size: 9.5px;
    }
}

@media (max-width: 360px) {
    .prd-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .prd-feature {
        width: 100%;
        border-left: 0;
        border-bottom: 1px solid var(--prd-line);
        padding: 12px 8px;
    }

    .prd-feature:nth-child(odd) {
        border-left: 0;
    }

    .prd-feature:nth-last-child(-n + 2),
    .prd-feature:last-child {
        border-bottom: 1px solid var(--prd-line);
    }

    .prd-feature:last-child {
        border-bottom: 0;
    }
}
