.product-detail-page { background: #f7f5f1; color: #2d2723; overflow-x: clip; }
.product-detail-page .site-header { background: #fff; }

.product-breadcrumb { min-height: 112px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #ded8d1; color: #665a51; font-size: .8125rem; }
.product-breadcrumb a { color: inherit; transition: color .2s ease; }
.product-breadcrumb a:hover { color: #8a6e5c; }
.product-breadcrumb > a:first-child { width: 22px; height: 22px; display: grid; place-items: center; }
.product-breadcrumb svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr); gap: clamp(52px, 6vw, 108px); align-items: start; padding-top: 68px; padding-bottom: 116px; }
.product-gallery { min-width: 0; display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 20px; }
.gallery-thumbnails { display: grid; align-content: start; gap: 14px; }
.gallery-thumbnails button { width: 100%; padding: 0; border: 1px solid transparent; background: #fff; cursor: pointer; opacity: .65; transition: opacity .25s ease, border-color .25s ease; }
.gallery-thumbnails button:hover, .gallery-thumbnails button.active { border-color: #756051; opacity: 1; }
.gallery-thumbnails img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.main-product-media { min-width: 0; background: #fff; }
.product-status-row { height: 45px; display: flex; align-items: stretch; background: #fff; }
.main-product-image { min-width: 0; overflow: hidden; background: #fff; }
.main-product-image > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .32s ease, transform .55s ease; }
.main-product-image:hover > img { transform: scale(1.018); }
.main-product-image > img.is-changing { opacity: 0; }
.detail-badge { width: 82px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; background: #655043; color: #fff; font-size: 1rem; font-weight: 400; line-height: 1; letter-spacing: .025em; }

.product-information { position: sticky; top: 30px; min-width: 0; padding-top: 16px; }
.product-kicker { margin: 0 0 18px; color: #9a735d; font-size: .75rem; font-weight: 500; letter-spacing: .14em; }
.product-information h1 { max-width: 560px; margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: clamp(2rem, 3vw, 3.25rem); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.product-code { margin: 18px 0 0; color: #84796f; font-size: .8125rem; letter-spacing: .08em; }
.product-intro { margin: 30px 0 35px; color: #574e47; font-size: .9375rem; line-height: 1.9; }
.colour-selector { padding: 25px 0 30px; border-top: 1px solid #ded8d1; }
.option-heading { display: flex; align-items: center; gap: 12px; color: #51463f; font-size: .8125rem; letter-spacing: .08em; }
.option-heading strong { color: #8a7568; font-weight: 400; }
.detail-swatches { display: flex; gap: 16px; margin-top: 19px; }
.detail-swatches button { width: 32px; height: 32px; padding: 0; border: 4px solid #f7f5f1; border-radius: 50%; box-shadow: 0 0 0 1px #bcb0a7; cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.detail-swatches button:hover, .detail-swatches button.active { box-shadow: 0 0 0 2px #655043; transform: scale(1.06); }
.detail-swatches .taupe { background: #8a7769; }
.detail-swatches .espresso { background: #3f2b21; }
.detail-swatches .ivory { background: #e8dfd3; }
.quote-button { width: 100%; min-height: 56px; display: grid; place-items: center; padding: 0 24px; border: 0; background: #655043; color: #fff; font: inherit; font-size: .8125rem; letter-spacing: .08em; cursor: pointer; transition: background-color .25s ease; }
.quote-button:hover { background: #80685a; }

.modal-open { overflow: hidden; }
.quote-dialog { width: min(760px, calc(100% - 36px)); max-height: calc(100vh - 36px); padding: 0; border: 0; background: #f8f6f2; color: #332c27; box-shadow: 0 24px 80px rgba(31, 24, 20, .3); overflow: auto; }
.quote-dialog::backdrop { background: rgba(25, 21, 18, .64); backdrop-filter: blur(3px); }
.quote-dialog-inner { position: relative; padding: 54px 58px 58px; }
.quote-dialog-close { position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #51463f; font: inherit; font-size: 1.8rem; font-weight: 200; line-height: 1; cursor: pointer; transition: background-color .2s ease; }
.quote-dialog-close:hover { background: #ece7e0; }
.quote-dialog-kicker { margin: 0 0 12px; color: #9a735d; font-size: .75rem; letter-spacing: .14em; }
.quote-dialog h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.quote-dialog-intro { max-width: 570px; margin: 19px 0 31px; color: #6c625b; font-size: .9375rem; line-height: 1.7; }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote-field { min-width: 0; }
.quote-field-wide { grid-column: 1 / -1; }
.quote-field label { display: block; margin-bottom: 8px; color: #4f4640; font-size: .875rem; }
.quote-field input, .quote-field textarea { width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid #d8d0c8; border-radius: 0; outline: 0; background: #fff; color: #332c27; font: inherit; font-size: .9375rem; transition: border-color .2s ease, box-shadow .2s ease; }
.quote-field textarea { min-height: 116px; resize: vertical; line-height: 1.55; }
.quote-field input[readonly] { background: #eeeae4; color: #6b625c; }
.quote-field input:focus, .quote-field textarea:focus { border-color: #756051; box-shadow: 0 0 0 2px rgba(101, 80, 67, .13); }
.quote-field input::placeholder, .quote-field textarea::placeholder { color: #aaa19a; }
.quote-submit { grid-column: 1 / -1; min-height: 54px; margin-top: 4px; border: 0; background: #655043; color: #fff; font: inherit; font-size: .8125rem; letter-spacing: .09em; cursor: pointer; transition: background-color .2s ease; }
.quote-submit:hover { background: #80685a; }
.quote-success { padding: 54px 8px 28px; text-align: center; }
.quote-success[hidden] { display: none; }
.quote-success-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid #80685a; border-radius: 50%; color: #80685a; font-size: 1.75rem; }
.quote-success p { max-width: 480px; margin: 20px auto 30px; color: #6c625b; font-size: .9375rem; line-height: 1.7; }
.quote-success button { min-width: 180px; min-height: 50px; border: 0; background: #655043; color: #fff; font: inherit; font-size: .8125rem; letter-spacing: .08em; cursor: pointer; }

.product-richtext { padding: 108px 0 116px; background: #ebe6df; }
.rich-text { max-width: 1080px; color: #4f4741; font-size: 1rem; line-height: 1.9; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text-kicker { margin: 0 0 16px; color: #9a735d; font-size: .75rem; font-weight: 500; letter-spacing: .14em; }
.rich-text h2, .rich-text h3, .rich-text h4 { color: #2d2723; font-weight: 400; line-height: 1.16; letter-spacing: -.025em; }
.rich-text h2 { max-width: 780px; margin: 0 0 28px; font-size: clamp(2.25rem, 3.7vw, 4rem); }
.rich-text h3 { margin: 56px 0 18px; font-size: clamp(1.65rem, 2.3vw, 2.5rem); }
.rich-text h4 { margin: 38px 0 14px; font-size: 1.25rem; }
.rich-text p { max-width: 840px; margin: 0 0 22px; }
.rich-text figure { margin: 52px 0; }
.rich-text figure img, .rich-text > img { display: block; width: 100%; height: auto; max-height: 660px; object-fit: cover; }
.rich-text figcaption { margin-top: 12px; color: #7d726a; font-size: .8125rem; line-height: 1.55; }
.rich-text ul, .rich-text ol { max-width: 820px; margin: 20px 0 30px; padding-left: 24px; }
.rich-text li { margin: 7px 0; padding-left: 5px; }
.rich-text blockquote { max-width: 850px; margin: 42px 0; padding: 8px 0 8px 30px; border-left: 2px solid #9b7964; color: #433a34; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.55; }
.rich-text a { color: #655043; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.rich-text a:hover { color: #8a6e5c; }
.rich-text table { width: 100%; margin: 38px 0; border-collapse: collapse; background: rgba(255, 255, 255, .35); font-size: .9375rem; }
.rich-text th, .rich-text td { padding: 16px 18px; border: 1px solid #d2c8bf; text-align: left; vertical-align: top; }
.rich-text th { color: #342d28; font-weight: 500; }

.related-products { padding-top: 112px; padding-bottom: 126px; text-align: center; }
.section-heading p { margin: 0 0 12px; color: #9a735d; font-size: .75rem; letter-spacing: .14em; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 2.6vw, 3rem); font-weight: 400; letter-spacing: -.025em; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 55px; text-align: center; }
.related-grid a { color: #403832; font-size: .8125rem; letter-spacing: .05em; }
.related-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; margin-bottom: 21px; transition: transform .4s ease, box-shadow .4s ease; }
.related-grid a:hover img { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(69, 51, 40, .09); }
.view-collection { min-width: 248px; min-height: 52px; display: inline-grid; place-items: center; margin-top: 60px; border: 1px solid #655043; color: #655043; font-size: .8125rem; letter-spacing: .07em; transition: background-color .25s ease, color .25s ease; }
.view-collection:hover { background: #655043; color: #fff; }

@media (max-width: 1180px) {
  .product-layout { grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 45px; }
  .product-gallery { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; }
  .related-grid { gap: 22px; }
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; padding-top: 45px; padding-bottom: 78px; }
  .product-information { position: static; padding-top: 0; }
  .product-gallery { max-width: 720px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; }
}

@media (max-width: 560px) {
  .product-breadcrumb { min-height: 84px; gap: 7px; font-size: .6875rem; }
  .product-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .product-layout { gap: 40px; padding-top: 28px; }
  .product-gallery { grid-template-columns: 1fr; }
  .gallery-thumbnails { grid-row: 2; grid-template-columns: repeat(4, 1fr); gap: 9px; }
  .product-status-row { height: 41px; }
  .detail-badge { width: 72px; height: 41px; font-size: .875rem; }
  .product-intro { margin-top: 24px; }
  .product-richtext { padding: 72px 0 78px; }
  .rich-text { font-size: .9375rem; line-height: 1.8; }
  .rich-text h3 { margin-top: 42px; }
  .rich-text figure { margin: 38px 0; }
  .rich-text figure img, .rich-text > img { max-height: none; }
  .rich-text blockquote { margin: 34px 0; padding-left: 20px; }
  .rich-text table { display: block; overflow-x: auto; white-space: nowrap; }
  .related-products { padding-top: 76px; padding-bottom: 84px; }
  .related-grid { gap: 28px 12px; margin-top: 38px; }
  .related-grid img { margin-bottom: 14px; }
  .related-grid a { font-size: .6875rem; }
  .view-collection { width: 100%; margin-top: 45px; }
  .quote-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); }
  .quote-dialog-inner { padding: 50px 22px 28px; }
  .quote-dialog-close { top: 10px; right: 10px; }
  .quote-form { grid-template-columns: 1fr; gap: 16px; }
  .quote-field-wide { grid-column: auto; }
  .quote-submit { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .main-product-image > img, .gallery-thumbnails button, .detail-swatches button, .related-grid img { transition: none; }
}
