/* Product detail: shared composition, independent of catalog and room pages. */
html body main.product-page--compact { padding-top: 8px !important; }
html body main.product-page--compact .product-breadcrumbs { min-height: 24px; height: auto; margin: 0 0 12px !important; padding: 0 !important; font-size: 12px; line-height: 1.4; }
html body main.product-page--compact .product-breadcrumbs .bx-breadcrumb { margin: 0; }
html body main.product-page--compact .product-breadcrumbs .bx-breadcrumb-item { margin-bottom: 0; }
html body main.product-page--compact .product-hero { grid-template-columns: minmax(0,1.5fr) minmax(360px,1fr) !important; gap: clamp(24px,3vw,48px) !important; align-items: start; }
html body main.product-page--compact .product-gallery { position: sticky; top: 150px; min-width: 0; }
html body main.product-page--compact .product-gallery__main { height: auto !important; min-height: 0 !important; aspect-ratio: 1.38; border: 0 !important; border-radius: 12px !important; background: #f6f6f4; overflow: hidden; }
html body main.product-page--compact .product-gallery__main > img { width: 100%; height: 100%; object-fit: contain; }
html body main.product-page--compact .product-gallery__thumbs { display: flex !important; gap: 10px !important; margin-top: 12px !important; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
html body main.product-page--compact .product-gallery__thumbs button { flex: 0 0 88px; width: 88px !important; height: 64px !important; min-height: 0 !important; border-radius: 8px; }
html body main.product-page--compact .product-side-panel { position: static !important; top: auto !important; width: 100% !important; max-width: none !important; }
html body main.product-page--compact .product-side-panel .product-buybox { padding: 0 !important; gap: 16px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body main.product-page--compact .product-buybox__top { gap: 8px; }
html body main.product-page--compact .product-buybox__top h1 { font-size: clamp(24px,2vw,32px); line-height: 1.2; margin: 6px 0 0; }
html body main.product-page--compact .product-buybox__top p { display: none; }
html body main.product-page--compact .ap-product-variants { display: flex; flex-direction: column; margin: 8px 0; gap: 24px; }
html body main.product-page--compact .ap-fabric-control { order: -1; }
html body main.product-page--compact .ap-product-variants legend { margin-bottom: 10px; font-weight: 500; color: #777; }
html body main.product-page--compact .ap-product-variants legend [data-variant-current] { display: none; }
html body main.product-page--compact .ap-product-variants__choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
html body main.product-page--compact [data-variant-group="size"] .ap-product-variants__choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
html body main.product-page--compact .ap-product-variants__choices button { flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; min-height: 50px; padding: 10px 12px; white-space: normal; background: #fff; border-color: #dededb; font-weight: 500; }
html body main.product-page--compact .ap-product-variants__choices button small { font-size: 11px; color: #888; font-weight: 400; line-height: 1.35; }
html body main.product-page--compact .ap-product-variants__choices button.is-active { border-color: #cd0000; background: #fff5f5; color: #cd0000; }
html body main.product-page--compact .ap-product-variants__choices button.is-active small { color: #a65e5e; }
.ap-fabric-preview { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px; margin-bottom: 10px; }
.ap-fabric-preview[hidden] { display: none; }
.ap-fabric-preview button { display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 3px; border: 1px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; color: #777; font: inherit; font-size: 24px; }
.ap-fabric-preview img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.ap-fabric-preview button[aria-pressed="true"] { border-color: #cd0000; background: #fff5f5; }
.ap-fabric-preview button:focus-visible { outline: 2px solid #cd0000; outline-offset: 2px; }
html body main.product-page--compact .ap-fabric-preview:not([hidden]) + .ap-fabric-trigger { border: 0; background: transparent; padding: 0; min-height: 40px; }
html body main.product-page--compact .ap-fabric-preview:not([hidden]) + .ap-fabric-trigger > img { display: none; }
html body .ap-fabric-dialog { width: min(520px,calc(100vw - 36px)); }
html body .ap-fabric-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px 6px; }
html body .ap-fabric-grid--text { grid-template-columns: repeat(2,minmax(0,1fr)); }
html body .ap-fabric-swatch { padding: 3px; gap: 4px; text-align: center; align-items: stretch; }
html body .ap-fabric-swatch__name { font-size: 11px; line-height: 1.3; }
html body .ap-fabric-swatch__price { font-size: 10px; line-height: 1.4; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side { display: grid !important; grid-template-columns: 92px minmax(0,1fr) !important; grid-template-rows: auto auto !important; min-height: 0 !important; gap: 14px 16px !important; padding: 18px !important; margin: 24px 0 0 !important; background: #f4f3ef !important; border: 0 !important; border-radius: 12px !important; box-shadow: none !important; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__brand { grid-column: 1 !important; grid-row: 1 !important; width: 92px !important; height: 68px !important; min-height: 0 !important; padding: 10px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #fff !important; border-radius: 8px !important; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__brand img { width: 100% !important; max-width: 100% !important; height: auto !important; max-height: 48px !important; object-fit: contain !important; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__info { grid-column: 2 !important; grid-row: 1 !important; display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 3px !important; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__info span { font-size: 11px; color: #888; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__info h2 { margin: 0 !important; font-size: 20px !important; line-height: 1.2 !important; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__info p { margin: 0 !important; max-width: none !important; font-size: 12px; text-align: left !important; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__actions { grid-column: 1/-1 !important; display: flex !important; flex-wrap: nowrap; gap: 8px !important; align-items: center; min-height: 44px !important; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__actions a { flex: 0 0 44px; display: flex !important; align-items: center; justify-content: center; width: 44px !important; min-height: 44px !important; height: 44px !important; padding: 0 !important; border: 0 !important; border-radius: 10px; background: #fff; color: #555; }
html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side .product-salon-card__actions .product-salon-card__catalog { flex: 1 1 auto; width: auto !important; gap: 10px; margin-left: auto; background: transparent !important; color: #cd0000 !important; justify-content: flex-end; font-size: 14px; font-weight: 550; white-space: nowrap; }
html body main.product-page--compact .product-info-grid { display: grid; grid-template-columns: 1fr !important; gap: 36px !important; margin-top: 36px !important; }
html body main.product-page--compact .product-description, html body main.product-page--compact .product-specs { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html body main.product-page--compact .product-info-grid h2 { margin: 0 0 20px; font-size: 26px; line-height: 1.25; }
html body main.product-page--compact .product-description__text { max-width: 980px; font-size: 15px; line-height: 1.7; }
html body main.product-page--compact .product-description__more { margin: 16px 0 0 !important; }
html body main.product-page--compact .product-specs dl { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 0 48px !important; margin: 0 !important; border: 0 !important; }
html body main.product-page--compact .product-spec-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #ecebe8; min-width: 0; }
html body main.product-page--compact .product-specs .product-spec-row dt, html body main.product-page--compact .product-specs .product-spec-row dd { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
html body main.product-page--compact .product-specs dt { color: #777; font-weight: 400; }
html body main.product-page--compact .product-specs dd { color: #242424; font-weight: 500; }
.product-specs__toggle[hidden] { display: none !important; }
.product-specs__toggle { display: none; }
html body main.product-page--compact .product-question-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; margin: 36px 0 0; border-radius: 12px; background: #f4f3ef; }
.product-question-row h2 { margin: 0 0 6px; font-size: 22px; }
.product-question-row p { margin: 0; color: #777; font-size: 14px; }
.product-question-row button { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; min-height: 46px; border: 1px solid #dededb; border-radius: 10px; color: #242424; background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
@media (max-width: 768px) {
 html body main.product-page--compact { padding-top: 4px !important; padding-bottom: 160px !important; }
 html body main.product-page--compact .product-breadcrumbs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; gap: 6px; font-size: 11px !important; min-height: 22px; margin-bottom: 8px !important; }
 html body main.product-page--compact .product-breadcrumbs > * { flex-shrink: 0; }
 html body main.product-page--compact .product-breadcrumbs .bx-breadcrumb { display: flex; flex-wrap: nowrap; }
 html body main.product-page--compact .product-hero { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
 html body main.product-page--compact .product-gallery { position: static; }
 html body main.product-page--compact .product-gallery__main { aspect-ratio: 1.2; border-radius: 12px !important; }
 html body main.product-page--compact .product-gallery__thumbs { gap: 8px !important; margin-top: 10px !important; }
 html body main.product-page--compact .product-gallery__thumbs button { flex-basis: 64px; width: 64px !important; height: 48px !important; }
 html body main.product-page--compact .product-buybox__top h1 { font-size: 24px; }
 html body main.product-page--compact .product-cart-button { display: none !important; }
 html body .product-mobile-buybar { display: grid !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
 html body main.product-page--compact .ap-product-variants { margin: 4px 0; gap: 22px; }
 html body main.product-page--compact .ap-product-variants__choices button { padding: 10px 8px; font-size: 13px; }
 html body .ap-fabric-dialog { width: 100%; }
 html body .ap-fabric-dialog__head { padding-inline: 16px; }
 html body .ap-fabric-dialog__body { padding-inline: 12px; }
 html body .ap-fabric-dialog__sort { padding-inline: 16px; grid-template-columns: 1fr auto; }
 html body .ap-fabric-dialog__sort select { max-width: 170px; font-size: 13px; }
 html body .ap-fabric-swatch__price { font-size: 10px; letter-spacing: -.25px; }
 html body main.product-page.product-page--compact .product-side-panel .product-salon-card.product-salon-card--side { margin-top: 24px !important; padding: 16px !important; }
 html body main.product-page--compact .product-info-grid { margin-top: 28px !important; gap: 28px !important; }
 html body main.product-page--compact .product-info-grid h2 { margin-bottom: 16px; font-size: 22px; }
 html body main.product-page--compact .product-description__text { font-size: 14px; line-height: 1.65; }
 html body main.product-page--compact .product-specs dl { grid-template-columns: minmax(0,1fr) !important; gap: 0 !important; }
 html body main.product-page--compact .product-spec-row { gap: 16px; padding: 12px 0; }
 html body main.product-page--compact .product-specs .product-spec-row dt, html body main.product-page--compact .product-specs .product-spec-row dd { font-size: 13px; }
 html body main.product-page--compact .product-specs.is-collapsible:not(.is-expanded) .product-spec-row:nth-child(n+6) { display: none; }
 .product-specs__toggle { display: flex; gap: 12px; align-items: center; min-height: 44px; margin-top: 12px; padding: 0; border: 0; background: transparent; color: #cd0000; font: inherit; font-size: 14px; cursor: pointer; }
 html body main.product-page--compact .product-question-row { margin-top: 28px; padding: 18px; display: grid; gap: 16px; }
 .product-question-row h2 { font-size: 20px; }
 .product-question-row button { width: 100%; }
}

html body main.product-page--compact .product-salon-card__actions svg { fill: none !important; stroke: currentColor; }
html body main.product-page--compact .product-specs { scroll-margin-top: 24px; }
