/* Requested storefront revisions, 17 September 2026. */
.pyatochka-pre-header .row{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px 28px;align-items:center;margin:0}
.pyatochka-pre-header .row:before,.pyatochka-pre-header .row:after{display:none}
.pyatochka-pre-header .additional-shop-info,.pyatochka-pre-header .additional-nav{float:none!important;width:auto;min-width:0;margin:0;padding:0;grid-column:auto;grid-row:auto}
.pyatochka-pre-header .additional-nav ul{display:flex;flex-direction:column;align-items:flex-start;gap:6px;float:none!important;margin:0}
.pyatochka-pre-header .additional-nav li{padding:0;border:0;white-space:nowrap}
.pyatochka-pre-header .additional-nav a{white-space:nowrap}
.pyatochka-header>.container{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);grid-template-areas:"logo cart" "nav nav";align-items:center;gap:8px 28px;padding-top:12px;padding-bottom:0}
.pyatochka-header>.container:before,.pyatochka-header>.container:after{display:none}
.pyatochka-header .site-logo.pyatochka-logo{grid-area:logo;float:none;margin:0;padding:0;min-height:0;width:max-content;max-width:100%}
.pyatochka-header .pyatochka-logo-mark{width:280px;height:auto;max-width:100%}
.pyatochka-header .pyatochka-cart-line{grid-area:cart;float:none!important;justify-self:end;position:static!important;margin:0!important;width:260px!important;max-width:100%;box-sizing:border-box;min-width:0!important;padding:0!important;border:1px solid #b4c9d7!important;background:#f2f8fc!important;box-shadow:none!important}
.pyatochka-header .pyatochka-cart-line .bx-basket{border:0;background:transparent;padding:12px 16px;min-height:72px;display:flex;align-items:center;justify-content:center}
.pyatochka-header .pyatochka-cart-line .bx-basket-block,.pyatochka-header .pyatochka-cart-line a{font-size:16px!important;font-weight:600!important;color:#124c6e!important}
.pyatochka-cart-line .bx-basket-block{white-space:normal;line-height:1.5}
.pyatochka-header .pyatochka-nav{grid-area:nav;float:none;clear:none;width:100%;margin:0;border-top:1px solid #e2eaf0}
.pyatochka-header .pyatochka-nav>ul{float:none;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;width:100%}
.pyatochka-header .pyatochka-nav>ul>li{float:none;margin:0}
.pyatochka-header .pyatochka-nav>ul>li>a{font-size:20px!important;padding:16px 18px!important;letter-spacing:0;line-height:1.4}
.pyatochka-category-list a.pyatochka-all-products,.pyatochka-catalog-sidebar a.pyatochka-all-products{color:#18232b!important;background:#edf3f7!important;border:1px solid #b4c9d7;border-left:4px solid #176a98;font-weight:800}
.pyatochka-category-list a.pyatochka-all-products:hover,.pyatochka-catalog-sidebar a.pyatochka-all-products:hover{background:#dae9f2!important}
.pyatochka-page-search{padding-top:22px}
.pyatochka-page-search .pyatochka-sidebar-search{max-width:720px;margin:0}
.pyatochka-page-search .pyatochka-sidebar-search>label{font-size:18px}
.pyatochka-page-search+.pyatochka-section{padding-top:26px}
.pyatochka-search-row button{min-width:65px;min-height:46px}
.pyatochka-site .pyatochka-original-price,.pyatochka-site .pyatochka-discount-price{display:block;width:max-content;max-width:100%;white-space:nowrap;line-height:1.5}
.pyatochka-site .pyatochka-discount-price{margin-top:2px}
.pyatochka-site .product-item-price-container:has(.pyatochka-discount-price){display:flex;flex-direction:column;align-items:flex-start;gap:0}
.pyatochka-detail .product-item-detail-info-container .btn,.pyatochka-detail .product-item-detail-buy-button,.pyatochka-detail .product-item-detail-pay-block .btn{font-size:14px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:normal;word-break:normal;padding:12px 10px!important;max-width:100%;height:auto!important;min-height:46px;box-sizing:border-box;letter-spacing:0!important}
.pyatochka-map-link{display:block;margin-top:16px;border:1px solid #c4d7e3;border-radius:8px;overflow:hidden;text-decoration:none!important;background:#f0f7fb}
.pyatochka-map-link img{display:block;width:100%;height:auto}
.pyatochka-map-link span{display:block;padding:12px;color:#155679;font-weight:700;text-decoration:underline}
.pyatochka-contact-links li{line-height:1.65}
.pyatochka-contact-links li>span{font-size:15px;font-weight:400;color:#294351}
.pyatochka-feedback-phone{border-top:1px solid #d8e5ed;padding-top:16px;margin-top:20px}
.pyatochka-payment-image-link{width:80%;max-width:480px}
.pyatochka-payment-qr{width:100%;max-width:480px}
.pyatochka-dialog-actions a{white-space:normal;overflow-wrap:anywhere;min-height:44px}
@media(max-width:1024px){
 .pyatochka-header>.container{grid-template-columns:minmax(0,1fr) 48px;grid-template-areas:"logo menu" "cart cart" "nav nav";gap:8px 12px;padding-bottom:12px}
 .pyatochka-header .pyatochka-logo-mark{width:250px;max-width:100%;height:auto}
 .pyatochka-header .pyatochka-menu-toggle{grid-area:menu;position:static!important;float:none!important;margin:0!important;width:44px;height:44px;display:flex!important;justify-self:end}
 .pyatochka-header .pyatochka-cart-line{justify-self:stretch;width:100%!important;text-align:right}
 .pyatochka-header .pyatochka-nav>ul{display:block}
 .pyatochka-header .pyatochka-nav>ul>li>a{font-size:19px!important;padding:13px 8px!important}
 .pyatochka-pre-header .additional-nav ul{justify-content:flex-start}
}
@media(max-width:767px){
 .pyatochka-pre-header .row{grid-template-columns:minmax(0,1fr);gap:12px}
 .pyatochka-pre-header .additional-nav{border-top:1px solid #e2eaf0;padding-top:10px}
}
@media(max-width:480px){
 .pyatochka-header .pyatochka-logo-mark{width:210px}
 .pyatochka-pre-header .additional-nav ul{gap:6px 14px}
 .pyatochka-pre-header .additional-nav li:last-child{flex-basis:100%}
 .pyatochka-page-search{padding-top:18px}
 .pyatochka-site .pyatochka-discount-price{font-size:22px!important}
}

/* Match the homepage sidebar's 1200px breakpoint. */
@media(min-width:992px) and (max-width:1199px){.pyatochka-mobile-search{display:block;padding-top:20px}.pyatochka-mobile-search .pyatochka-sidebar-search{margin-bottom:0}}
/* Keep the price and purchase controls wide enough on tablet layouts. */
@media(min-width:992px) and (max-width:1199px){
 .pyatochka-catalog-with-sidebar{grid-template-columns:1fr}
 .pyatochka-catalog-with-sidebar-main,.pyatochka-catalog-sidebar{grid-column:auto;grid-row:auto}
 .pyatochka-catalog-sidebar{position:static}
 .pyatochka-catalog-sidebar ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}

.pyatochka-delivery-choices button:disabled{opacity:.65;cursor:wait}

.pyatochka-site .product-item-button-container .btn{font-size:12px!important;line-height:1.4!important;white-space:normal!important;padding:11px 7px!important;letter-spacing:0!important;max-width:100%;box-sizing:border-box;min-height:44px}
.pyatochka-commerce-dialog a.btn-primary,.pyatochka-commerce-dialog a.btn-primary:hover,.pyatochka-commerce-dialog a.btn-primary:focus{color:#fff!important}
.pyatochka-contact-links a{text-decoration:underline;text-underline-offset:3px}
.pyatochka-paid-button{display:block;width:100%;min-height:58px;margin-top:20px;padding:16px;font-size:22px;font-weight:700;white-space:normal}
.pyatochka-paid-button:disabled{opacity:.65;cursor:wait}
#pyatochka-payment-status{color:#246c36;font-weight:600}
