/* Loaded after the page's original styles, before the first byte of visible content. */
html.sin96-storefront {scrollbar-gutter:stable;}
html body.sin96-catalog-page,
html:is(.sin96-registration-page,.sin96-document-page) body {
 width:var(--s96-canvas-width,100%)!important;zoom:var(--s96-canvas-zoom,1)!important;
 transform:none!important;transform-origin:initial!important;height:auto!important;margin:0!important;
}
html.sin96-guide-page body,html.sin96-basket-page body {zoom:var(--s96-wide-zoom,1)!important;}
/* Availability replaces the controls, while keeping their original reserved space. */
html body .product-item.trigger-product-card>[data-entity="buttons-block"]:has(.trigger-card-cart) {
 position:relative!important;inset:auto!important;transform:none!important;display:block!important;order:100!important;
 width:100%!important;max-width:100%!important;height:auto!important;min-height:80px!important;margin:auto 0 0!important;padding:0!important;
}
html body .product-item.trigger-product-card>[data-entity="buttons-block"]>.trigger-card-cart {visibility:hidden!important;}
html body .product-item.trigger-product-card>[data-entity="buttons-block"]:has(>.trigger-card-cart)::before {
 content:'Проверяем наличие…';display:block;position:absolute;bottom:0;left:0;font:12px/1.35 Arial,sans-serif;color:#53677e;
}
html body .product-item .s96a-panel[data-kind="card"] {min-height:80px!important;}
html body.sin96-detail-page [data-entity="quantity-block"] {display:none!important;}
html body.sin96-detail-page .trigger-detail-basket-button:not([data-s96a-mounted]) {display:none!important;}
html body.sin96-detail-page [data-entity="main-button-container"]:has(.trigger-detail-basket-button) {min-height:40px!important;}
html body.sin96-detail-page .s96a-panel:is([data-kind="detail"],[data-kind="dock"])[data-loading] {min-height:40px!important;}
html body.sin96-detail-page [data-entity="main-button-container"]:has(.trigger-detail-basket-button):not(:has(.s96a-panel))::before {
 content:'Проверяем наличие…';display:block;min-height:40px;font:12px/1.35 Arial,sans-serif;color:#53677e;
}
html body.sin96-detail-page .trigger-mobile-buy-dock:not([data-s96a-mounted]) {height:auto!important;max-height:none!important;padding:10px 16px!important;}
html body.sin96-detail-page .trigger-mobile-buy-dock:not([data-s96a-mounted])>* {display:none!important;}
html body.sin96-detail-page .trigger-mobile-buy-dock:not([data-s96a-mounted])::before {content:'Проверяем наличие…';display:block;min-height:40px;font:12px/1.35 Arial,sans-serif;}
/* Keep SSR detail wrappers transparent on mobile; native controls retain their original slots. */
@media(max-width:600px) {
 html.sin96-wishlist-page body.sin96-catalog-page #catalogContainer.catalog-section.grid-view :is([data-entity="items-container"],.catalog-section-internal-wrapper) {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 16px!important;}
 html body.sin96-detail-flow .product-detail:has([data-sin96-ssr-layout]),
 html body.sin96-detail-flow [data-sin96-ssr-layout],
 html body.sin96-detail-flow [data-sin96-ssr-layout]>.sin96-detail-gallery {display:contents!important;}
 html body.sin96-detail-flow [data-sin96-ssr-layout]>.sin96-detail-panel {display:none!important;}

}

html body.sin96-home-page {width:var(--s96-home-width,100%)!important;zoom:var(--s96-home-zoom,1)!important;transform:none!important;transform-origin:initial!important;height:auto!important;margin:0!important;}
/* Preserve the header's 1280px geometry when the desktop canvas is fitted below that width. */
@media (min-width:601px) and (max-width:1280px) {
 html body.sin96-home-page .trigger-desktop-header__catalog {padding:0 14.08px!important;}
 html body.sin96-home-page .trigger-desktop-header__actions {gap:14.08px!important;}
 html body.sin96-home-page .trigger-desktop-header__action:not(.trigger-desktop-header__action--guide),
 html body.sin96-home-page .trigger-desktop-header__profile-toggle {min-width:51.2px!important;}
 html body.sin96-home-page .trigger-desktop-header__nav-links .menu ul {gap:30.72px!important;}
}

html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section.grid-view :is([data-entity="items-row"],.product-item-small-card,.row):has([data-entity="item"]) {display:contents!important;}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section .star {
 position:absolute!important;display:flex!important;align-items:center!important;justify-content:center!important;
 top:16px!important;bottom:auto!important;left:16px!important;right:auto!important;transform:none!important;
 width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;overflow:hidden!important;background:#fff!important;z-index:40!important;
}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section.list-view .star {left:auto!important;right:16px!important;}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section.list-view :is([data-entity="items-row"],.row) {display:contents!important;margin:0!important;padding:0!important;}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section.list-view .clearfix {display:none!important;}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section.list-view .product-item>.product-item-image-wrapper {order:0!important;}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section.list-view .product-item>:is(.trigger-catalog-props,.product-item-properties,.product-item-article) {order:10!important;}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section.list-view .product-item>.product-item-title {order:20!important;}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section.list-view .product-item>:is(.s96a-controls,[data-entity="buttons-block"]) {
 grid-area:auto!important;align-self:auto!important;justify-self:stretch!important;order:100!important;position:relative!important;inset:auto!important;transform:none!important;
 width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:80px!important;max-height:none!important;margin:auto 0 0!important;padding:0!important;flex:0 0 auto!important;
}
html.sin96-storefront body.sin96-catalog-page #catalogContainer.catalog-section .star :is(.to_wish,svg,img) {
 width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;transform:none!important;
}

/* The existing availability component geometry, applied before its enhancement. */
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) {position:relative!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;align-content:start!important;justify-content:flex-start!important;gap:10px!important;border-radius:16px!important;border:1px solid #dce5f0!important;background:#fff!important;box-shadow:0 4px 14px rgba(25,70,100,.06)!important;overflow:hidden!important;transition:border-color .18s ease, box-shadow .18s ease!important;}
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) > .product-item-image-wrapper {position:relative!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;flex:0 0 auto!important;order:0!important;display:block!important;aspect-ratio:1!important;overflow:hidden!important;border-radius:12px!important;transition:none!important;}
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) > :is(.trigger-catalog-props,.product-item-properties,.product-item-article) {position:relative!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:18.2px!important;max-height:none!important;margin:0!important;padding:0!important;flex:0 0 auto!important;order:10!important;display:block!important;font-family:Arial, sans-serif!important;font-size:12px!important;line-height:1.4!important;color:#53677e!important;}
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) > .product-item-title {position:relative!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:58.8px!important;min-height:58.8px!important;max-height:58.8px!important;margin:0!important;padding:0!important;flex:0 0 auto!important;font-family:Arial, sans-serif!important;font-size:14px!important;line-height:1.4!important;font-weight:600!important;text-transform:none!important;letter-spacing:normal!important;text-decoration:none!important;color:#123476!important;text-align:left!important;order:20!important;display:block!important;overflow:hidden!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) > .product-item-title a {position:static!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:58.8px!important;margin:0!important;padding:0!important;flex:0 0 auto!important;font-family:Arial, sans-serif!important;font-size:14px!important;line-height:1.4!important;font-weight:600!important;text-transform:none!important;letter-spacing:normal!important;text-decoration:none!important;color:#123476!important;text-align:left!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;text-overflow:ellipsis!important;}
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) > .trigger-catalog-props .param-row {position:relative!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;flex:0 0 auto!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;justify-content:flex-start!important;gap:0 5px!important;}
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) > .trigger-catalog-props dt {position:static!important;float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;flex:0 0 auto!important;margin:0!important;padding:0!important;font-family:Arial, sans-serif!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;}
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) > .trigger-catalog-props dd {position:static!important;float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important;margin:0!important;padding:0!important;font-family:Arial, sans-serif!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important;}
html.sin96-storefront body :is(#catalogContainer.catalog-section:is(.grid-view,.grid-view-mobile),.catalog-section:is(.grid-view,.grid-view-mobile),.home-catalog-grid,.search-results-page) .product-item.trigger-product-card:not(.list-view .product-item) > :is(.s96a-controls,[data-entity="buttons-block"]) {position:relative!important;inset:auto!important;transform:none!important;float:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:80px!important;max-height:none!important;margin:auto 0 0!important;padding:0!important;flex:0 0 auto!important;order:100!important;display:block!important;overflow:visible!important;}
