/* Исходные Figma layouts подключаются из полной неизменённой asset closure. */
@import url('./assets/components/catalog/catalog.css');
@import url('./assets/components/catalog/product.css');
/* Native controls и состояния дополняют существующие layout slots. */
.catalog-favourite{font-size:28px;color:var(--color-gold)}
.catalog-favourite img{max-width:28px;max-height:28px}
.catalog-card-cart{font-size:12px;display:flex;align-items:center;justify-content:center;padding:8px}
.category-tile>img{position:absolute;inset:0}
.catalog-pages a{display:inline-flex;padding:12px;min-width:44px;justify-content:center}
.catalog-pages a[aria-current=page]{background:var(--color-gold);color:white}
.catalog-search-form{margin:24px 0}
.product-config select,.product-config input[type=number]{width:100%;min-height:44px;border:1px solid #c1bcb6;background:transparent;padding:10px;color:var(--color-text)}
[data-quote-status]{margin:16px 0;line-height:1.5}
.product-gallery-main>img{width:100%;height:100%;object-fit:cover}
.product-thumbnails button[aria-pressed=true]{outline:2px solid var(--color-gold)}
[data-product-add]:disabled{opacity:.5;cursor:not-allowed}
.product-info p{font-size:13px;line-height:1.5;padding:16px 0}
@media(max-width:767px){.product-right form .product-buy{display:flex;padding:16px 0}.product-config-card{padding-bottom:16px}.catalog-grid{padding-bottom:24px}}
/* Native страница содержит реальную server pagination: fixture обрезание после шести карточек снимается. */
@media(max-width:767px){.catalog-grid>.catalog-card:nth-child(n+7){display:block}}
.product-specs>p{font-size:15px;line-height:1.6;margin:20px 0}
/* Нижние блоки используют реальные варианты и session history вместо демонстрационных карточек. */
.product-gallery--single{grid-template-columns:1fr}
.product-gallery-side>img:only-child{height:100%}
.product-empty{font-size:14px;line-height:1.6;margin:24px 0;color:var(--color-muted)}
.product-native-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.product-native-variant{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;border:1px solid #d1cdca;background:var(--color-card);text-align:left;color:var(--color-text)}
.product-native-variant span:last-child{color:var(--color-gold)}
.catalog-rail-heading,.catalog-rail-track{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
@media(max-width:767px){.product-native-variants{grid-template-columns:1fr}.product-native-variant{padding:16px}.product-empty{font-size:12px}.catalog-rail-heading,.catalog-rail-track{padding-left:14px;padding-right:14px}}
/* Пропорции плиток заданы макетом; native DTO не обязан содержать CSS-переменную. */
.category-tile{--tile-ratio:899/540}
.category-tile:nth-child(1),.category-tile:nth-child(6),.category-tile:nth-child(9){--tile-ratio:998/540}
.category-tile:nth-child(2),.category-tile:nth-child(5),.category-tile:nth-child(10){--tile-ratio:800/540}
.category-tile:after{background:linear-gradient(180deg,#1c1816b3,transparent 70%)}
/* Сортировка, пустая выдача и навигация остаются понятными без fixture controls. */
.catalog-sort{justify-content:flex-end;min-height:44px;margin:0 0 24px}
.catalog-sort select{max-width:none;min-height:44px;padding:8px;border:1px solid #c1bcb6;border-radius:2px}
.catalog-empty{grid-column:1/-1;text-align:center;line-height:1.6;padding:64px 24px}
.catalog-empty a{color:var(--color-gold);text-decoration:underline}
.catalog-pages{margin:32px 0 56px;flex-wrap:wrap}
.catalog-pages:empty{display:none}
.catalog-card--rail .catalog-card-title{display:flex;align-items:flex-start}
.catalog-rail .catalog-card-title h2{font-size:20px;line-height:1.35}
.catalog-card-title h2{overflow-wrap:anywhere}
.catalog-card-cart{width:auto;min-width:72px;height:40px;border-radius:3px;padding:8px 12px}
.product-price{margin:20px 0 28px}
.product-right form .product-buy{padding:16px 0 0}
.product-thumbnails{padding:3px;overflow-x:auto;max-width:100%}
.product-thumbnails>button:focus-visible,.product-native-variant:focus-visible,.catalog-favourite:focus-visible{outline:2px solid var(--color-gold);outline-offset:3px}
.product-native-variant[aria-pressed=true]{border-color:var(--color-gold);box-shadow:inset 0 0 0 1px var(--color-gold)}
.product-native-variant:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:767px){
 .catalog-sort{justify-content:space-between;font-size:12px;margin-bottom:20px}
 .catalog-sort select{position:static;opacity:1;width:auto;max-width:70%;font-size:12px}
 .catalog-card-cart{width:auto;min-width:48px;height:32px;border-radius:3px;font-size:10px;top:auto;bottom:calc(100% - (100vw - 36px)/2 + 8px)}
 .catalog-card--rail .catalog-card-cart{position:static;min-width:52px}
 .product-thumbnails{padding:3px 14px}
 .product-thumbnails>button:nth-child(5),.product-thumbnails>button:nth-child(6){display:block}
 .product-price{margin:16px 0 24px;flex-wrap:wrap}
 .catalog-favourite{width:32px;height:32px}
 .catalog-empty{padding:48px 20px;font-size:14px}
}

/* Native каталог сохраняет общий card DOM во всех consumers и точную геометрию Figma. */
.catalog-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}
[data-catalog-grid]>[hidden],[data-catalog-more][hidden]{display:none!important}
.category-tile:after{background:linear-gradient(180deg,#1c1816b3,transparent)}
.category-label strong{font-weight:600}
.categories-page>.site-breadcrumbs,.listing-page>.site-breadcrumbs,.search-page>.site-breadcrumbs{margin:0;font-size:13px;line-height:18px;gap:12px;min-height:0}
.categories-page>.site-breadcrumbs{padding:20px var(--page-gutter) 0}
.listing-page>.site-breadcrumbs{padding:24px var(--page-gutter) 0}
.category-section{padding-top:12px}.category-section>h1{margin-bottom:20px}
.catalog-card-visual{position:relative}
.catalog-card-media{border-radius:6px}
.catalog-card-copy{padding-top:16px;gap:8px}
.catalog-card-title{align-items:center;gap:8px}
.catalog-card-title h2{font-family:var(--font-heading);font-size:24px;font-weight:400;line-height:normal}
.catalog-card .catalog-favourite{width:18px;height:18px}
.catalog-card .catalog-favourite img{max-width:18px;max-height:18px}
.catalog-card-description{font-size:15px;line-height:normal;color:#5c5653;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.catalog-card-price{gap:24px;align-items:center}
.catalog-card-price strong{font-size:18px;font-weight:600;color:#8e441c;line-height:normal}
.catalog-card-price del{font-size:16px;font-weight:500;line-height:normal}
.catalog-card-cart{display:none;position:absolute;inset:auto 12px 12px auto;width:54px;height:54px;min-width:0;padding:0;border-radius:50%;background:var(--color-gold)}
.catalog-card-cart img{width:auto;height:auto;max-width:24px;max-height:24px}
.catalog-card-cart:focus-visible,.catalog-category-pills a:focus-visible{outline:2px solid var(--color-text);outline-offset:3px}
.catalog-rail .catalog-card-title h2{font-size:24px;line-height:normal}
.catalog-rail .catalog-card-copy{gap:12px}
.catalog-rail .catalog-card-title{display:flex}
.catalog-list-heading{gap:24px}
.catalog-list-heading>span{font-size:14px}
.catalog-filters{margin:20px 0 40px;gap:24px;align-items:flex-end}
.catalog-category-filter{flex:1;min-width:0;gap:8px}
.catalog-category-pills{gap:0 40px;flex-wrap:nowrap;align-items:center}
.catalog-category-pills a{display:flex;align-items:center;gap:12px;min-height:44px;max-width:100%;border-bottom:1px solid #d1cdca;font-size:16px}
.catalog-category-pills>a{white-space:nowrap}
.catalog-category-more{position:relative;font-size:16px;flex:none}
.catalog-category-more summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}
.catalog-category-more summary:after{content:'';display:block;width:16px;height:16px;background:url('/local/storefront/assets/images/catalog/2019-12709-16e43.svg') center no-repeat}
.catalog-category-more>div{position:absolute;top:44px;right:0;z-index:5;background:var(--color-bg);padding:12px 20px;width:320px;max-height:360px;overflow:auto;border:1px solid #d1cdca;box-shadow:0 4px 12px #0001}
.catalog-category-more>div>a{white-space:normal}
.catalog-category-pills a[aria-current=page]{border-color:#706c68}
.catalog-category-pills a img{width:10px;height:10px;flex:none}
.catalog-sort{position:relative;min-height:44px;margin:0;gap:8px;font-size:14px;justify-content:flex-end;color:var(--color-text);padding-right:24px}
.catalog-sort:after{content:'';position:absolute;right:0;width:16px;height:16px;background:url('/local/storefront/assets/images/catalog/2019-12709-db512.svg') center no-repeat;pointer-events:none}
.catalog-sort select{position:absolute;inset:0;opacity:0;max-width:none;width:100%;cursor:pointer}
.catalog-sort:has(select:focus-visible){outline:2px solid var(--color-gold);outline-offset:3px}
.catalog-pagination{margin:40px 0 0;gap:0;align-items:center}
.catalog-range{font-size:14px;line-height:20px;color:var(--color-text);margin-bottom:50px}
.catalog-pagination>[data-catalog-more]{width:160px;height:48px;min-height:48px;padding:0;font-size:14px;margin-bottom:50px}
.catalog-load-status{font-size:13px;line-height:20px;text-align:center;max-width:600px}
.catalog-load-status:empty{display:none}
.catalog-pages{gap:16px;margin:0;flex-wrap:wrap;justify-content:center}
.catalog-pages a{border:1px solid #d1cdca;min-width:44px;height:34px;padding:0 8px;align-items:center;font-size:14px;line-height:20px}
.catalog-pages a[aria-current=page]{background:transparent;color:var(--color-text);border-color:#706c68}
.catalog-pages a.catalog-page-step{border:0;font-size:22px;min-width:20px}
.catalog-faq{padding:120px var(--page-gutter);margin:0}
.catalog-faq>h2{margin-bottom:24px}
.catalog-faq details{border:0;border-radius:0;margin-bottom:16px;background:var(--color-block);padding:0 24px}
.catalog-faq summary{font-family:var(--font-body);font-size:16px;line-height:24px;padding:20px 0;cursor:pointer}
.catalog-faq details[open]{background:white}
.catalog-faq-copy{padding:0;font-size:15px;line-height:24px}
.catalog-faq-copy p+p{margin-top:24px}
.catalog-faq-copy a{text-decoration:underline}
.search-page{padding-top:40px}.search-page>.site-breadcrumbs{padding:0 var(--page-gutter)}
.search-page .catalog-search-body{padding:20px var(--page-gutter) 120px;min-height:882px}
.search-page .catalog-search-heading h1{font-size:32px;line-height:normal;font-weight:400}
.catalog-search-heading{gap:20px}
.catalog-search-form{margin:20px 0 40px;gap:12px;flex-direction:row}
.catalog-search-form button img{width:auto;height:auto;max-width:24px;max-height:24px}
.catalog-search-grid{grid-template-columns:repeat(2,minmax(0,366px));gap:40px}
.catalog-search-grid .catalog-card-cart{display:flex}
.search-page .catalog-pagination{margin-bottom:0}
.search-page--empty .catalog-search-body{min-height:0}
.catalog-empty{border:1px solid #706c6833;border-radius:6px;padding:100px 10px;gap:24px;min-height:564px}
.catalog-empty-image{width:300px;height:236px}
.catalog-empty>p{font-size:16px;line-height:24px}
.catalog-empty .ui-button{min-width:200px;color:white;text-decoration:none;height:54px;font-size:14px}
.catalog-empty-image img{width:100%;height:126.85%;object-fit:cover;top:-15.78%}
@media(min-width:768px) and (max-width:1250px){
 .catalog-card-title h2{font-size:20px}.catalog-filters{align-items:flex-start}.catalog-category-pills{gap:0 20px;flex-wrap:wrap}.catalog-category-pills a{font-size:14px}.catalog-search-grid{gap:24px}.catalog-card-price{gap:12px}.catalog-sort{font-size:14px}
}
@media(max-width:767px){
 .categories-page>.site-breadcrumbs,.listing-page>.site-breadcrumbs,.search-page>.site-breadcrumbs{height:42px;padding:16px 14px 12px;margin:0;font-size:10px;line-height:14px;flex-wrap:nowrap;overflow:hidden;white-space:nowrap}
 .category-section{padding:9px 14px 40px}.category-section>h1{margin-bottom:14px}.category-label strong{font-size:13px}.category-label{gap:6px}
 .catalog-list-heading{gap:4px}.catalog-list-heading>span{font-size:12px;line-height:16px}
 .catalog-filters{margin:16px 0 24px;gap:12px;align-items:stretch}.catalog-category-pills{display:none}.catalog-category-filter{display:block}
 .catalog-mobile-categories select{border-radius:0;font-weight:600;height:44px;font-size:12px;padding:0 16px}
 .catalog-sort{min-height:16px;font-size:12px;padding-right:24px}.catalog-sort select{position:absolute;inset:0;opacity:0;max-width:none;width:100%}
 .catalog-card-copy{padding-top:12px;gap:4px}.catalog-card-title h2{font-size:14px;line-height:normal}
 .catalog-card .catalog-favourite{width:16px;height:16px}.catalog-card .catalog-favourite img{max-width:16px;max-height:16px}
 .catalog-card-description{font-size:12px;line-height:16px}.catalog-card-bottom{order:-1;min-height:0}.catalog-card-price{gap:12px;flex-direction:row;align-items:center}
 .catalog-card-price strong{font-size:14px;font-weight:500;line-height:19px}.catalog-card-price del{font-size:12px;line-height:16px}
 .catalog-card-cart,.catalog-card--rail .catalog-card-cart{display:flex;position:absolute;inset:auto 8px 8px auto;width:36px;height:36px;min-width:0;padding:0;font-size:0}
 .catalog-card-cart img{max-width:16px;max-height:16px}.catalog-rail .catalog-card-title h2{font-size:14px}.catalog-rail .catalog-card-copy{gap:8px}
 .catalog-pagination{margin-top:40px}.catalog-range{display:none}.catalog-pagination>[data-catalog-more]{width:100%;height:44px;min-height:44px;margin-bottom:24px;font-size:12px}
 .catalog-pages{gap:8px;margin:0}.catalog-pages a{min-width:40px;height:32px;font-size:12px}.catalog-pages a.catalog-page-step{min-width:20px}
 .catalog-faq{padding:80px 14px 40px}.catalog-faq>h2{margin-bottom:24px}.catalog-faq-columns{gap:40px}.catalog-faq details{padding:0 16px;margin-bottom:8px}.catalog-faq summary{font-size:14px;line-height:20px;padding:14px 0}
 .catalog-faq details p,.catalog-faq-copy{font-size:13px;line-height:20px}.catalog-faq-copy p+p{margin-top:20px}
 .search-page{padding-top:0}.search-page .catalog-search-body{padding:24px 14px 40px;min-height:700px}.search-page .catalog-search-heading h1{font-size:24px;line-height:normal}.catalog-search-heading{gap:16px}
 .catalog-search-form{height:44px;gap:8px;margin:20px 0 24px;padding:10px 16px;flex-direction:row}.catalog-search-form button img{max-width:16px;max-height:16px}
 .catalog-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 8px}.search-page--empty .catalog-search-body{min-height:0}
 .catalog-empty{min-height:430px;padding:100px 10px;gap:24px}.catalog-empty-image{width:153px;height:120px}.catalog-empty>p{font-size:12px;line-height:16px}.catalog-empty .ui-button{min-width:135px;height:44px;min-height:44px;padding:0 36px;font-size:11px}
}
/* Responsive SVG берутся отдельными exact assets; их intrinsic размеры не масштабируются CSS. */
.catalog-card-cart picture,.catalog-favourite picture,.catalog-search-form picture{display:block}
.catalog-card-cart img,.catalog-card .catalog-favourite img,.catalog-search-form button img{width:auto;height:auto;max-width:none;max-height:none}

/* Native product использует единое состояние покупки и исходные responsive slots. */
.product-page>.site-breadcrumbs{padding:24px var(--page-gutter) 0;margin:0;min-height:0;font-size:13px;line-height:18px}
.product-grid{padding-top:20px}.product-gallery{aspect-ratio:1180/761}.product-gallery-main>img{width:100%;height:100%;object-fit:cover;border-radius:2px}
.product-thumbnails{padding:0;gap:10px;margin-top:20px;flex-wrap:nowrap;scrollbar-width:thin}.product-thumbnails>button{width:74px;height:74px;outline:0}.product-thumbnails>button[aria-pressed=true]{border:1px solid var(--color-text)}
.product-thumbnails>button:focus-visible{outline:2px solid var(--color-gold);outline-offset:-2px}
.product-title{align-items:center;gap:16px}.product-page .product-title h1{font-size:32px;line-height:normal;font-weight:400;margin:0}
.product-title .product-favourite{display:flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;padding:0}
.product-favourite picture,.product-favourite img{display:block}.product-favourite img{width:auto;height:auto;max-width:none;max-height:none}
.product-favourite[aria-pressed=true]{background:#91806e33;border-radius:50%}
.product-summary{gap:8px;margin-bottom:40px}.product-review-link{font-size:14px;text-decoration:underline;width:max-content}
.product-price{margin:16px 0 0;gap:24px}.product-price strong,.product-price del{font-size:24px;line-height:normal}.product-price strong{font-weight:600}.product-price del{font-weight:500}
.product-config{gap:32px}.product-config-group{gap:12px;font-size:14px}.product-config-group>label,.product-config-group>p:first-child{font-weight:500}
.product-config select{appearance:none;height:60px;padding:10px 52px 10px 24px;border:1px solid var(--color-text);border-radius:4px;font-size:15px;font-weight:600;background:url('/local/storefront/assets/images/catalog/2019-11665-1f2c6.svg') right 24px center no-repeat}
.product-config-group+.product-config-group{border-top:1px solid #d1cdca;padding-top:24px}
.product-tissue-note{font-size:12px;font-weight:400;line-height:20px;color:var(--color-muted)}
.product-options{gap:16px}.product-option{align-items:flex-start;gap:10px}.product-option>span{display:flex;flex:1;min-width:0;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px;font-size:14px;line-height:20px}
.product-option>span>span{min-width:0}.product-option small{font-size:14px;color:var(--color-text);white-space:nowrap;flex:none;line-height:20px}
.product-option[hidden],[data-product-options-more][hidden],[data-product-refresh][hidden]{display:none!important}
.product-more-options{margin:4px 0 0;gap:8px;font-size:13px;padding:4px;line-height:20px;color:var(--color-text);align-self:center}
.product-more-options:after{content:'';width:16px;height:16px;background:url('/local/storefront/assets/images/catalog/2019-12709-16e43.svg') no-repeat center}.product-more-options[aria-expanded=true]:after{transform:rotate(180deg)}
.product-quantity{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.product-config .product-quantity input{width:100px;min-height:44px;text-align:center;padding:8px;font-size:14px;border-radius:2px}
.product-empty-options{font-size:13px;line-height:20px;color:var(--color-muted)}
.product-page [data-quote-status]{font-size:12px;line-height:18px;margin:20px 0 0;color:var(--color-muted)}
.product-quote-retry,.product-mobile-refresh{padding:0;border:0;background:transparent;color:var(--color-text);font-size:12px;text-decoration:underline;cursor:pointer}
.product-right form .product-desktop-buy{padding:24px 0 0;gap:24px}.product-desktop-buy>div{gap:16px}.product-desktop-buy span{font-size:14px;color:var(--color-text)}.product-desktop-buy strong{font-size:20px;line-height:normal;font-weight:600}
.product-right form .product-desktop-buy>.ui-button{width:100%;height:56px;min-height:56px;font-size:14px}
.product-page[data-quote-state=loading] [data-quote-price]{color:var(--color-muted)}
.product-description{margin-top:80px}.product-description>p{font-size:15px;line-height:24px;margin-top:24px;white-space:pre-line}
.product-specs>dl{margin-top:24px}.product-specs dd{overflow-wrap:anywhere}.product-specs dt{min-width:0}
.product-reviews .product-empty{margin-bottom:0}.product-info p{font-size:12px;color:var(--color-muted)}
/* Snap сохраняет исходный gutter после прокрутки к первой и следующим карточкам. */
.product-page .catalog-rail-track{scroll-behavior:smooth;scroll-snap-type:x proximity;scroll-padding-inline:60px}.product-page .catalog-card--rail{scroll-snap-align:start}

/* Native details сохраняют исходную стрелку раскрытия и её состояние без второго обработчика. */
.catalog-faq summary::after{content:'';display:block;flex:0 0 24px;width:24px;height:24px;background:url('./assets/images/catalog/2019-12709-6d371.svg') center no-repeat}
.catalog-faq details[open]>summary::after{background-image:url('./assets/images/catalog/2019-12709-62f6b.svg');transform:scaleY(-1)}
@media(min-width:768px) and (max-width:1250px){
 .product-config-card{padding:24px}.product-config select{padding-left:16px;padding-right:40px;background-position:right 16px center;font-size:13px}.product-page .product-title h1{font-size:26px}.product-option>span{font-size:12px}.product-option small{font-size:12px}.product-desktop-buy>div{flex-wrap:wrap}
}
@media(max-width:767px){
 .product-page>.site-breadcrumbs{height:42px;padding:16px 14px 12px;font-size:10px;line-height:14px;white-space:nowrap;flex-wrap:nowrap;overflow:hidden}
 .product-page{padding-bottom:0}.product-grid{padding:0}.product-gallery{height:calc(100vw * 334 / 390);aspect-ratio:auto}.product-gallery-main>img{border-radius:0}
 .product-thumbnails{padding:0 14px;margin:14px 0 24px;gap:10px;scrollbar-width:none}.product-thumbnails>button{width:64px;height:64px;border-radius:4px}
 .product-right{padding:0 14px}.product-config-card{padding:0}.product-summary{gap:4px;margin-bottom:24px}
 .product-page .product-title h1{font-size:22px}.product-title{gap:4px}.product-title .product-favourite{width:24px;height:24px}.product-review-link{font-size:12px}
 .product-price{margin:12px 0 0;gap:12px}.product-price strong{font-size:20px}.product-price del{font-size:14px}
 .product-config{padding:20px;background:var(--color-card);gap:20px}.product-config-group{font-size:12px;gap:8px}.product-config-group+.product-config-group{padding-top:20px}
 .product-config select{height:44px;min-height:44px;padding:10px 42px 10px 16px;font-size:12px;border-radius:2px;background-position:right 16px center}
 .product-tissue-note{font-size:11px;line-height:16px}.product-options{gap:16px}.product-option{gap:8px}.product-option>span{font-size:12px;line-height:18px;gap:8px}.product-option small{font-size:12px;line-height:18px}.product-option input{margin-top:1px}
 .product-more-options{font-size:11px;line-height:16px}.product-config .product-quantity input{font-size:12px;width:80px;min-height:40px}
 .product-right form .product-desktop-buy{display:none}.product-page [data-quote-status]{margin:12px 0 0;font-size:11px;line-height:16px}
 .product-description{margin:40px 14px 0;order:4}.product-description>p{margin-top:24px;font-size:12px;line-height:20px}
 .product-mobile-buy{z-index:30;box-shadow:0 -7px 13.95px #0000000f}.product-mobile-buy .product-buy{padding:16px 14px calc(16px + env(safe-area-inset-bottom));gap:12px;background:#fff}
 .product-mobile-buy .product-buy>div{gap:8px;align-items:center}.product-mobile-buy .product-buy span{min-width:0;white-space:normal;font-size:12px;font-weight:500;line-height:normal}
 .product-mobile-buy .product-buy strong{font-size:14px;font-weight:600;white-space:nowrap;flex:none}.product-mobile-buy .product-buy>.ui-button{height:44px;min-height:44px;font-size:12px;font-weight:600;gap:8px;width:100%}.product-mobile-buy .product-buy>.ui-button img{width:auto;height:auto;max-width:none;max-height:none}
 .product-mobile-refresh{align-self:flex-start;font-size:11px}.catalog-page:has(.product-mobile-buy){padding-bottom:var(--product-buy-space,112px)}
 .catalog-page:has(dialog[open]) .product-mobile-buy{visibility:hidden}.catalog-page:has(.product-mobile-buy) .ui-status{bottom:calc(var(--product-buy-space,112px) + 12px)}
}
/* Кнопки rail сохраняют intrinsic SVG и показывают доступность текущего scroll window. */
[data-product-rail-step] img{width:auto;height:auto;max-width:none;max-height:none}
[data-product-rail-step="1"] img{transform:rotate(180deg)}
[data-product-rail-step]:disabled{opacity:.4;cursor:default}
/* Desktop CTA прижимается вправо; мобильный полноширинный CTA сохраняет исходный layout. */
@media(min-width:768px){.product-review-heading>.ui-button{margin-left:auto}}
@media(max-width:767px){
 /* Типографика выдачи не меняет карточки рекомендаций и кабинета. */
 .listing-page .catalog-card-title h2,.search-page .catalog-card-title h2{font-size:13px}
 .product-page .catalog-rail-track{scroll-padding-inline:14px}
 /* Нижний отступ и две строки панели дают исходную высоту 110px без safe-area. */
 .product-mobile-buy .product-buy{padding-bottom:calc(19px + env(safe-area-inset-bottom));min-height:calc(110px + env(safe-area-inset-bottom))}
}

/* Полная композиция товара использует native данные в исходных gallery/config/sidebar slots. */
/* Product rail повторяет исходную карточку; listing/search сохраняют собственные controls и sale colours. */
.product-page .catalog-rail .catalog-card-copy{padding-top:16px;gap:8px}
.product-page .catalog-rail .catalog-card-title h2{font-size:24px}
.product-page .catalog-rail .catalog-card-media{border-radius:0}
.product-page .catalog-rail .catalog-card-bottom{order:0}
.product-page .catalog-rail .catalog-card-description{font-size:15px;line-height:normal;color:#706c68}
.product-page .catalog-rail .catalog-card-price strong{font-size:20px;font-weight:600;color:#1c1816}
.product-page .catalog-rail .catalog-favourite,.product-page .catalog-rail .catalog-card-cart{display:none}
.product-thumbnail-photos{display:flex;gap:10px;min-width:0;max-width:494px;overflow-x:auto;scrollbar-width:thin}
.product-thumbnail-photos>button{width:74px;height:74px;padding:0;border:0;background:transparent;position:relative;flex:none}
.product-thumbnail-photos>button>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}
.product-thumbnail-photos>button[aria-pressed=true]{border:1px solid var(--color-text);border-radius:4px}
.product-thumbnail-photos>button:focus-visible{outline:2px solid var(--color-gold);outline-offset:-2px}
.product-thumbnails{width:578px;max-width:100%;overflow:visible;align-items:flex-start}
.product-thumbnails .product-three-d{display:flex;flex:none;margin:0;background:#fff;border:1px solid #d1cdca;border-radius:4px;color:#706c68;cursor:not-allowed}
.product-three-d>img{width:43px!important;height:43px!important}.product-three-d span{font:400 18px/25px var(--font-body)}
.product-right .product-desktop-buy{padding:24px 40px;gap:24px;background:#fff}
.product-desktop-buy>div{min-height:33px}.product-desktop-buy strong{font-size:24px;line-height:33px}
.product-desktop-buy>.ui-button{height:60px;min-height:60px;width:100%;font-size:14px;gap:8px}
.product-desktop-buy>.ui-button img{width:24px;height:24px}
.product-provider-note{background:#fff;margin:0;padding:24px 40px;font-size:12px;line-height:20px;color:var(--color-muted)}
.product-right .product-info{padding:0;background:transparent;margin:0;display:flex;flex-direction:column;gap:1px}
.product-info .product-info-row{padding:16px 24px;min-height:52px;border:0;background:#ffffff80;font-size:14px;line-height:20px;gap:10px;text-decoration:none;justify-content:flex-start}
.product-info-row picture{display:block;flex:none}.product-info-row .product-info-icon{display:block;width:18px;height:18px;object-fit:contain}
.product-info-row>span{flex:1;min-width:0}.product-info-row .product-info-chevron{display:block;width:18px;height:18px;flex:none;transform:rotate(-90deg)}
.product-info .product-info-row--mobile{display:none}
.product-options-heading{display:flex;align-items:center;gap:12px;font-weight:500}
.product-options-heading img{width:20px;height:20px;object-fit:contain}
.product-option input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--color-gold)}
.product-options{gap:12px}.product-option{gap:12px}.product-option>span{line-height:20px}
.product-more-options{align-self:flex-start;font-size:13px;color:#706c68;padding:0;margin:4px 0 0;text-decoration:underline;min-height:20px}
.product-more-options:after{display:none}
/* Количество доступно в native disclosure; ready live-region не добавляет строку в Source композицию. */
.product-quantity-details{margin-top:20px;font-size:12px;line-height:18px;color:var(--color-muted)}
.product-quantity-details>summary{cursor:pointer;width:max-content}.product-quantity-details .product-quantity{gap:16px;margin-top:12px;color:var(--color-text)}
.product-quantity-details input{width:100px;min-height:40px;padding:8px;border:1px solid #d1cdca;background:transparent;font:inherit;text-align:center}
.product-page[data-quote-state=ready] [data-quote-status]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Одна фотография того же parent иллюстрирует полный CMS текст без отдельного story dataset. */
.product-description>h2{padding-bottom:24px;border-bottom:1px solid #d1cdca;margin-bottom:24px}
.product-description-card{display:flex;align-items:center;gap:40px;padding:24px;background:var(--color-card)}
.product-description-photo{display:block;width:400px;height:400px;object-fit:cover;border-radius:4px;flex:none}
.product-description-copy{flex:1;min-width:0}.product-description-copy p{font-size:15px;line-height:24px;white-space:pre-line;margin:0;overflow-wrap:anywhere}
/* Flex leaders соединяют реальные названия и значения, не растягивая строки до фиксированных колонок. */
.product-specs>h2{padding-bottom:24px;border-bottom:1px solid #d1cdca}
.product-specs>dl{display:flex;flex-direction:column;gap:16px}
.product-specs dl>div{display:flex;align-items:baseline;gap:8px;padding:0;border:0;font-size:15px;line-height:20px}
.product-specs dt{flex:none;max-width:65%;color:var(--color-text);overflow-wrap:anywhere}
.product-specs dl>div:after{content:'';order:2;flex:1;min-width:12px;border-bottom:1px dotted #706c6866}
.product-specs dd{order:3;flex:none;max-width:45%;margin:0}
@media(min-width:768px) and (max-width:1250px){
 .product-right .product-desktop-buy,.product-provider-note{padding:24px}
 .product-description-card{gap:24px}.product-description-photo{width:40%;height:auto;aspect-ratio:1}
 .product-specs dt{max-width:50%}.product-specs dl>div{font-size:13px}
}
@media(max-width:767px){
 .product-page .catalog-rail .catalog-card-copy{padding-top:16px;gap:4px}
 .product-page .catalog-rail .catalog-card-title h2{font-size:16px}
 .product-page .catalog-rail .catalog-card-description{font-size:12px;line-height:1.4}
 .product-page .catalog-rail .catalog-card-price strong{font-size:14px;font-weight:600}
 .product-thumbnails .product-three-d,.product-thumbnail-photos>button{width:64px;height:64px}
 .product-thumbnail-photos{flex:0 1 286px;max-width:calc(100% - 76px);scrollbar-width:none}.product-thumbnails{width:auto;gap:10px;overflow:visible}
 .product-summary .product-price{display:flex;font-size:20px}
 .product-summary .product-price strong{font-size:20px;line-height:27px}.product-summary .product-price del{font-size:14px;line-height:19px}
 .product-right .product-desktop-buy{display:none}
 .product-provider-note{padding:0;margin:0;height:0;overflow:hidden;position:absolute;width:1px;clip:rect(0,0,0,0)}
 .product-right .product-info{margin-top:16px;gap:1px}
 .product-info .product-info-row{padding:12px 16px;min-height:42px;line-height:16px;font-size:12px;gap:10px}
 .product-info .product-info-row--mobile{display:flex}.product-info-row .product-info-icon{width:16px;height:16px}
 .product-options-heading{gap:12px}.product-options-heading img{width:16px;height:16px}
 .product-option input{width:16px;height:16px}.product-options{gap:12px}.product-option{gap:8px}
 .product-option>span,.product-option small{font-size:12px;line-height:16px}.product-option>span{gap:8px}
 .product-more-options{font-size:12px;line-height:16px;min-height:16px}
 .product-quantity-details{margin:12px 20px 0}.product-quantity-details .product-quantity{margin-bottom:12px}
 .product-page [data-quote-status]{margin-left:20px;margin-right:20px}
 .product-left section h2{font-size:18px;line-height:25px}
 .product-reviews .product-review-heading{gap:16px}.product-review-heading>.ui-button{height:40px;min-height:40px;font-size:12px}
 .product-description>h2{padding-bottom:16px;margin-bottom:16px}
 .product-description-card{display:flex;flex-direction:column;align-items:stretch;padding:16px;gap:16px}
 .product-description-photo{width:100%;height:auto;aspect-ratio:1}
 .product-description-copy p{font-size:13px;line-height:18px}
 .product-specs>h2{padding-bottom:24px}.product-specs>dl{gap:12px}
 .product-specs dl>div{padding:0;font-size:13px;line-height:18px}
 .product-specs dt{max-width:65%;color:var(--color-text)}.product-specs dd{max-width:45%;text-align:right}
}
