/* Product details: preserve the storefront palette and give artwork more room. */
.product-page .product-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 54px; }
.product-page .product-main { position: sticky; top: 24px; align-self: start; min-width: 0; }
.product-page .product-info { min-width: 0; }
.product-page .breadcrumb { overflow-wrap: anywhere; line-height: 1.8; }
.gallery-stage { overflow: hidden; border-radius: 14px; background: #f3eff5; }
.gallery-panel[hidden] { display: none; }
.gallery-enlarge { display: block; width: 100%; padding: 0; position: relative; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.gallery-enlarge .product-photo { width: 100%; border-radius: 0; transition: transform .2s; }
.gallery-detail .product-photo { transform: scale(1.65); }
.gallery-zoom-label { position: absolute; inset-inline-end: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; background: #fff; color: #222; border-radius: 30px; font-size: 11px; box-shadow: 0 2px 12px #0001; }
.gallery-zoom-label .icon { width: 15px; height: 15px; }
.product-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 5px; }
.gallery-thumb { flex: 0 0 76px; min-width: 0; padding: 4px; border: 1px solid #ddd7e4; border-radius: 9px; background: #fff; color: #555; font-size: 10px; }
.gallery-thumb.active { border-color: #171717; box-shadow: 0 0 0 1px #171717; color: #171717; }
.gallery-thumb .product-photo { width: 100%; border-radius: 5px; }
.gallery-thumb span { display: block; margin-top: 6px; padding-bottom: 2px; }
.gallery-thumb:focus-visible, .gallery-enlarge:focus-visible { outline: 3px solid #9273bc; outline-offset: -3px; }
.gallery-caption { margin-top: 12px; color: #777; font-size: 11px; line-height: 1.65; }
.gallery-lightbox { overflow: hidden; border-radius: 10px; }
.modal-body .gallery-lightbox .product-photo { width: 100%; margin: 0; border-radius: 0; }
dialog:has(.gallery-lightbox) { width: 800px; }
.product-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #365e39; }
.product-stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.product-stock.unavailable { color: #777; }
.product-page .product-info h1 { margin-top: 18px; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.15; overflow-wrap: anywhere; }
.product-page .product-price { display: flex; align-items: baseline; gap: 12px; margin: 23px 0 16px; }
.product-price > span { color: #777; font-size: 11px; font-weight: 400; }
.product-description { color: #555; font-size: 13px; line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; }
.product-payment-note { margin-top: -9px; margin-bottom: 16px; font-size: 11px; color: #604375; }
.product-description-panel { margin-block: 0 22px; border-block: 1px solid #e8e2ed; }
.product-description-panel summary { min-height: 48px; padding-block: 13px; font-size: 13px; font-weight: 600; cursor: pointer; }
.product-description-panel .product-description { padding-bottom: 17px; }
.product-purchase { padding: 18px; margin-block: 20px; border: 1px solid #e2dbe9; border-radius: 12px; background: #fdfcfe; }
.product-choice-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding-block: 12px 0; border-top: 1px solid #e8e2ed; margin-top: 16px; font-size: 12px; font-weight: 600; }
.product-choice-summary > span:last-child { white-space: nowrap; }
.product-choice-summary small { font-size: 10px; color: #777; font-weight: 400; }
.product-purchase .variants { margin: 0; }
.variant-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.variant-heading label { margin: 0; }
.variant-heading .text-link { font-size: 11px; }
.product-purchase select { width: 100%; padding: 13px 14px; background: #fff; border: 1px solid #d4ceda; border-radius: 7px; font-size: 14px; }
.product-buy-actions { display: flex; gap: 10px; margin-top: 18px; }
.product-buy-actions > .btn { min-height: 49px; }
.product-save { flex: 0 0 49px; padding: 12px; }
.product-save[aria-pressed=true] { color: #755297; background: #f3edf8; border-color: #c6b4dd; }
.product-delivery { display: flex; gap: 13px; padding: 18px; margin-bottom: 24px; border: 1px solid #e8e2ed; border-radius: 10px; background: #faf8fc; }
.delivery-icon { display: flex; align-items: flex-start; padding-top: 2px; color: #715389; }
.product-delivery h2 { font-size: 13px; margin: 0 0 5px; }
.product-delivery p { font-size: 11px; line-height: 1.75; margin: 2px 0; overflow-wrap: anywhere; }
.product-accordion summary { font-size: 13px; font-weight: 600; padding: 18px 0; }
.product-accordion h3 { font-size: 14px; margin-top: 2px; }
.product-accordion .text-link { display: inline-flex; align-items: center; gap: 8px; margin: 3px 0 18px; font-size: 12px; }
.product-accordion p, .product-long-text { line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.product-specs { margin: 0 0 16px; }
.product-specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid #f0edf3; font-size: 12px; line-height: 1.7; }
.product-specs dt { color: #777; }
.product-specs dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.product-related { padding-top: 15px; }
.listing-details { border: 0; padding: 0; margin: 25px 0; min-width: 0; }
.listing-details legend { padding: 0; font-size: 15px; font-weight: 600; }
.listing-details > p { margin: 8px 0 17px; line-height: 1.7; }
.listing-details textarea { min-height: 85px; }
.listing-details .field { min-width: 0; }
.gallery-upload-list { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery-upload-item { flex: 0 0 82px; text-align: center; }
.modal-body .gallery-upload-item .product-photo, .gallery-upload-item .product-photo { width: 82px; margin: 0 0 8px; border-radius: 6px; }
.gallery-upload-item .text-link { font-size: 11px; }
.gallery-editor input[type=file] { max-width: 100%; }
/* A full product story, without interrupting the purchase controls above. */
.product-page .product-layout { padding-bottom: 44px; }
.product-page .product-description { font-size: 14px; }
.product-sample-pricing { margin: 0 0 20px; padding: 14px 16px; border: 1px solid #dfd3ed; border-radius: 9px; background: #f7f2fc; color: #604375; }
.product-sample-pricing strong { display: block; margin-bottom: 5px; font-size: 12px; }
.product-sample-pricing p { margin: 0; font-size: 12px; line-height: 1.8; }
.product-format-picker { margin: 22px 0; }
.product-format-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; }
.product-format-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-format-link { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 15px; border: 1px solid #e2dce8; border-radius: 24px; color: #626064; background: #fff; font-size: 12px; }
.product-format-link.is-current { border-color: #151515; color: #151515; background: #f6f3f9; font-weight: 600; }
.product-format-link .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.product-section-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 13px 0; border-block: 1px solid #e7e3eb; margin-bottom: 42px; }
.product-section-nav a { display: flex; align-items: center; min-height: 44px; color: #666; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.product-section-nav a:hover, .product-format-link:hover { color: #72518e; }
.product-page [tabindex="-1"] { scroll-margin-top: 28px; }
.product-page [tabindex="-1"]:focus { outline: none; }
.product-page a:focus-visible { outline: 3px solid #9273bc; outline-offset: 4px; }
.product-story-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 86px); align-items: center; padding: 40px; background: #f5f1e9; border-radius: 18px; margin-bottom: 12px; }
.product-story-art { position: relative; min-width: 0; overflow: hidden; border-radius: 10px; }
.product-story-art > .product-photo { width: 100%; border-radius: 0; }
.product-story-art > .product-photo.custom { padding: 32px; background: #ede8df; }
.product-art-label { position: absolute; bottom: 16px; inset-inline-start: 16px; max-width: calc(100% - 32px); padding: 9px 13px; background: #fffc; backdrop-filter: blur(6px); border-radius: 30px; font-size: 11px; }
.product-story-copy { min-width: 0; }
.product-story-copy .eyebrow { color: #746952; }
.product-story-copy h2 { margin: 16px 0 22px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; overflow-wrap: anywhere; }
.product-story-copy > .product-long-text { font-size: 15px; color: #615b54; line-height: 1.9; }
.product-story-credit { display: flex; align-items: center; gap: 10px; margin: 24px 0 16px; font-size: 12px; }
.product-story-credit .icon { flex-shrink: 0; color: #8c7960; width: 20px; height: 20px; }
.product-story-copy .small { font-size: 11px; line-height: 1.7; }
.product-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.product-section-heading h2 { margin: 12px 0 10px; font-size: clamp(27px, 3vw, 37px); line-height: 1.25; }
.product-section-heading p { max-width: 630px; font-size: 13px; color: #777; line-height: 1.8; }
.product-section-heading > .text-link { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding-block: 10px; font-size: 12px; }
.product-page .product-same-design, .product-page .product-discover { padding-block: 62px; }
.product-artist-editorial { border-top: 1px solid #e7e3eb; }
.product-artist-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.product-artist-identity { display: flex; align-items: center; gap: 20px; }
.product-artist-identity > div { min-width: 0; }
.product-artist-monogram { display: flex; align-items: center; justify-content: center; flex: 0 0 90px; height: 90px; border-radius: 50%; background: #e9e0f3; color: #5a446e; font-size: 27px; font-weight: 600; }
.product-artist-identity h2 { margin: 10px 0 7px; font-size: 30px; overflow-wrap: anywhere; }
.product-artist-identity .small { font-size: 12px; line-height: 1.7; }
.product-artist-about > p { white-space: pre-line; max-height: 230px; overflow: auto; font-size: 14px; line-height: 1.9; color: #666; overflow-wrap: anywhere; }
.product-artist-about .btn { margin-top: 22px; }
.product-artist-more { margin-top: 44px; }
.product-artist-more h3 { font-size: 22px; margin-bottom: 10px; }
.product-everyday-editorial { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; background: #eee8f5; border-radius: 18px; overflow: hidden; margin-block: 16px 40px; }
.product-everyday-editorial figure { min-width: 0; margin: 0; align-self: stretch; position: relative; display: flex; flex-direction: column; }
.product-everyday-editorial img { width: 100%; flex: 1; min-height: 330px; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-everyday-editorial figcaption { padding: 10px 15px; font-size: 11px; line-height: 1.6; background: #e7dfef; color: #5f536a; }
.product-everyday-editorial > div { min-width: 0; padding: clamp(28px, 4vw, 58px); }
.product-everyday-editorial h2 { margin: 18px 0 22px; font-size: clamp(29px, 3.4vw, 43px); line-height: 1.18; }
.product-everyday-editorial p { font-size: 14px; line-height: 1.9; color: #655b6c; margin-bottom: 25px; }
.product-questions { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; border-bottom: 1px solid #e7e3eb; }
.product-questions h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.25; margin: 16px 0 22px; }
.product-questions .text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding-block: 12px; }
.product-questions details { border-bottom: 1px solid #e7e3eb; padding-block: 18px; }
.product-questions details:first-child { border-top: 1px solid #e7e3eb; }
.product-questions summary { font-size: 14px; font-weight: 600; cursor: pointer; min-height: 28px; line-height: 1.8; }
.product-questions details > p { margin-top: 14px; font-size: 13px; color: #777; line-height: 1.9; }
.product-discovery-tags { margin-top: 40px; padding-top: 28px; border-top: 1px solid #e7e3eb; }
.product-discovery-tags h3 { margin-bottom: 16px; font-size: 15px; }
.product-discovery-tags > div { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tag { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 16px; border-radius: 22px; border: 1px solid #e5ddec; background: #f8f5fb; color: #655970; font-size: 12px; max-width: 100%; overflow-wrap: anywhere; }
[dir="rtl"] .product-story-copy h2, [dir="rtl"] .product-everyday-editorial h2 { line-height: 1.5; }
@media (max-width: 1000px) {
 .product-page .product-layout { gap: 30px; }
 .product-story-block { padding: 28px; gap: 30px; }
 .product-artist-intro { gap: 32px; }
 .product-questions { gap: 40px; }
}
@media (max-width: 760px) {
 body[data-route=product] .category-nav, body[data-route=preview] .category-nav { display: none; }
 .product-page .breadcrumb { padding-block: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
 .product-page .product-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .product-page .product-info { display: contents; }
 .product-identity { grid-row: 1; }
 .product-page .product-main { grid-row: 2; }
 .product-page .product-purchase { grid-row: 3; margin-block: 0 2px; }
 .product-page .product-main { position: static; }
 .product-page .product-info h1 { font-size: 28px; margin-block: 10px 7px; line-height: 1.2; }
 .product-page .artist-link { display: inline-flex; align-items: center; min-height: 30px; font-size: 12px; }
 .product-page .product-price { margin-block: 7px 0; font-size: 23px; }
 .product-payment-note { margin-block: 3px 0; }
 .product-page .product-description-panel { margin-bottom: 0; }
 .product-page .product-format-picker { margin-block: 2px; }
 .product-page .product-sample-pricing { margin-bottom: 0; }
 .product-page .product-delivery { margin-bottom: 0; }
 .product-page .gallery-caption { margin-top: 8px; }
 .product-page .product-choice-summary { font-size: 12px; }
 .gallery-thumb { flex-basis: 68px; }
 .gallery-zoom-label { inset-inline-end: 10px; bottom: 10px; font-size: 10px; }
 .product-purchase select { font-size: 16px; }
 .product-accordion summary { padding: 17px 0; }
 .product-specs > div { gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
 .product-page .product-layout { padding-bottom: 25px; }
 .product-section-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 8px 0; margin-bottom: 28px; }
 .product-section-nav a { font-size: 11px; }
 .product-story-block { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 27px; border-radius: 12px; }
 .product-story-art { max-width: 100%; }
 .product-story-art > .product-photo.custom { padding: 22px; }
 .product-story-copy h2 { font-size: 30px; margin-block: 12px 17px; }
 .product-story-copy > .product-long-text { font-size: 14px; }
 .product-section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 24px; }
 .product-section-heading h2 { font-size: 28px; }
 .product-section-heading p { font-size: 12px; }
 .product-section-heading .eyebrow { font-size: 9px; line-height: 1.7; }
 .product-section-heading > .text-link { font-size: 11px; }
 .product-page .product-same-design, .product-page .product-discover { padding-block: 42px; }
 .product-artist-intro { grid-template-columns: minmax(0, 1fr); gap: 22px; }
 .product-artist-identity { gap: 16px; }
 .product-artist-identity h2 { font-size: 26px; }
 .product-artist-identity .eyebrow { font-size: 9px; line-height: 1.7; }
 .product-artist-monogram { flex-basis: 72px; height: 72px; font-size: 23px; }
 .product-artist-about > p { font-size: 13px; max-height: none; }
 .product-artist-more { margin-top: 34px; }
 .product-artist-more h3 { font-size: 21px; }
 .product-everyday-editorial { grid-template-columns: minmax(0, 1fr); border-radius: 12px; margin-block: 0 16px; }
 .product-everyday-editorial img { min-height: 0; aspect-ratio: 4/3; height: auto; }
 .product-everyday-editorial figcaption { font-size: 10px; }
 .product-everyday-editorial > div { padding: 29px 24px 34px; }
 .product-everyday-editorial h2 { font-size: 32px; }
 .product-everyday-editorial p { font-size: 13px; }
 .product-questions { grid-template-columns: minmax(0, 1fr); gap: 22px; }
 .product-questions h2 { font-size: 29px; margin-block: 13px 10px; }
 .product-questions summary { font-size: 13px; }
 .product-discovery-tags { margin-top: 30px; }
 .product-tag { min-height: 44px; font-size: 11px; }
}
