/* Search results only: strong separation, matte black text and prominent delivery. */
#catalog-offers .catalog-offer.catalog-group {
 display:block; border:4px solid #315faa!important; border-radius:14px;
 padding:18px; margin:0 0 18px; background:#fff;
 box-shadow:0 4px 12px #193b641a; color:#252629;
}
#catalog-offers .catalog-group.catalog-exact {border-color:#1749a0!important;background:#f8faff}
#catalog-offers .catalog-group :is(p,span,small,b,strong,h4,button,input,summary,label,a) {color:#252629!important;text-shadow:none}
#catalog-offers .catalog-result-row {display:grid;grid-template-columns:minmax(95px,.8fr) minmax(150px,1.6fr) minmax(185px,1.35fr) minmax(85px,.65fr) minmax(105px,.8fr) 178px;gap:14px;align-items:center}
#catalog-offers .catalog-result-row>* {min-width:0;overflow-wrap:anywhere}
#catalog-offers .catalog-identity {display:flex;flex-direction:column;align-items:flex-start;gap:5px}
#catalog-offers .catalog-brand {font-size:17px;font-weight:800;line-height:1.3}
#catalog-offers .catalog-title-button {font-size:16px;line-height:1.35;padding:4px 0;max-width:100%;overflow-wrap:anywhere;text-decoration-color:#252629;background:transparent;box-shadow:none}
#catalog-offers .catalog-match {font-size:12px;letter-spacing:0;text-transform:none;margin:0;padding:3px 6px;border-radius:5px;background:#e2eafa;line-height:1.4}
#catalog-offers .catalog-name h4 {font-size:17px;line-height:1.45;margin:0 0 6px;font-weight:650}
#catalog-offers .catalog-info-link {font:inherit;font-size:14px;font-weight:650;min-height:44px;padding:5px 0;cursor:pointer;border:0;background:transparent;box-shadow:none;text-decoration:underline;text-underline-offset:3px}
#catalog-offers .catalog-cell-label {display:block;font-size:12px;line-height:1.4;font-weight:550;margin:0 0 5px}
#catalog-offers .catalog-delivery {padding:12px;border:2px solid #aec4e6;border-radius:10px;background:#eaf0fb;line-height:1.45}
#catalog-offers .catalog-delivery>strong {display:block;font-size:20px;line-height:1.4;font-weight:800}
#catalog-offers .catalog-fast {display:flex;align-items:center;gap:6px;margin-top:7px;font-size:12px;line-height:1.4;font-weight:700}
#catalog-offers .catalog-fast svg {color:#16803c!important;width:25px;height:24px;flex-shrink:0;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;fill:none}
#catalog-offers .catalog-availability strong {display:block;font-size:17px;line-height:1.4}
#catalog-offers .catalog-availability small {display:block;font-size:12px;line-height:1.5;margin-top:5px}
#catalog-offers .catalog-group .catalog-price {display:flex;flex-direction:column;align-items:flex-start;gap:3px}
#catalog-offers .catalog-price>strong {font-size:22px;font-weight:800;white-space:normal;line-height:1.35}
#catalog-offers .catalog-price>span {font-size:12px}
#catalog-offers .catalog-buy {display:flex;align-items:flex-end;gap:8px}
#catalog-offers .catalog-buy label {width:60px;flex-shrink:0;margin:0}
#catalog-offers .catalog-buy .catalog-cell-label {font-size:11px}
#catalog-offers .catalog-buy input {width:100%;box-sizing:border-box;min-height:46px;padding:8px 5px;border:2px solid #315faa;border-radius:8px;background:#fff;font:inherit;font-size:16px;font-weight:700;text-align:center;margin:0}
#catalog-offers .catalog-buy .button {min-height:46px;padding:10px 12px;border:2px solid #315faa;border-radius:9px;background:#dce8ff;box-shadow:0 2px 5px #193b6415;font-size:14px;font-weight:750;white-space:nowrap;margin:0}
#catalog-offers .catalog-buy .button:hover {background:#c8dbfc}
#catalog-offers .catalog-buy .button:disabled {opacity:.7;cursor:wait}
#catalog-offers :is(button,input,summary):focus-visible {outline:3px solid #252629;outline-offset:3px}
#catalog-offers .catalog-variants {border-top:2px solid #adc2e1;margin-top:16px;padding-top:8px}
#catalog-offers .catalog-variants summary {min-height:44px;align-content:center;font-size:15px;font-weight:750;padding:8px 0;cursor:pointer}
#catalog-offers .catalog-variant-row {display:grid;grid-template-columns:minmax(185px,1.4fr) minmax(95px,1fr) minmax(110px,1fr) 178px;gap:14px;align-items:center;padding:12px 0;border-bottom:2px solid #d0dced}
#catalog-offers .catalog-variant-row:last-child {border-bottom:0;padding-bottom:0}
#catalog-offers .catalog-variant-row>* {min-width:0;overflow-wrap:anywhere}
#catalog-offers .catalog-no-offer {grid-column:3/-1;font-size:16px;line-height:1.5;margin:0}
@media(max-width:1100px) {
 #catalog-offers .catalog-result-row {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 #catalog-offers .catalog-name {grid-column:span 2}
 #catalog-offers .catalog-result-row>.catalog-buy {grid-column:1/-1;justify-content:flex-end}
 #catalog-offers .catalog-no-offer {grid-column:1/-1}
}
@media(max-width:620px) {
 #catalog-offers .catalog-offer.catalog-group {padding:14px;margin-bottom:16px}
 #catalog-offers .catalog-result-row {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #catalog-offers .catalog-name {grid-column:auto}
 #catalog-offers .catalog-result-row>.catalog-delivery {grid-column:1/-1}
 #catalog-offers .catalog-delivery>strong {font-size:22px}
 #catalog-offers .catalog-result-row>.catalog-buy {justify-content:flex-start}
 #catalog-offers .catalog-buy {width:100%}
 #catalog-offers .catalog-buy .button {flex:1;font-size:16px}
 #catalog-offers .catalog-buy label {width:72px}
 #catalog-offers .catalog-buy .catalog-cell-label {font-size:12px}
 #catalog-offers .catalog-variant-row {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0}
 #catalog-offers .catalog-variant-row>.catalog-delivery,#catalog-offers .catalog-variant-row>.catalog-buy {grid-column:1/-1}
 #catalog-offers .catalog-name h4 {font-size:16px}
}

/* Keep full-width product text; short price/stock fields can share a row. */
@media(max-width:700px){
 #catalog-offers .catalog-offer.catalog-group{padding:14px;margin-bottom:16px}
 #catalog-offers .catalog-result-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
 #catalog-offers .catalog-result-row>:is(.catalog-identity,.catalog-name,.catalog-delivery,.catalog-buy,.catalog-no-offer){grid-column:1/-1}
 #catalog-offers .catalog-name h4{font-size:16px;line-height:1.45}
 #catalog-offers .catalog-result-row>.catalog-buy{justify-content:flex-start}
 #catalog-offers .catalog-buy{width:100%;flex-wrap:wrap}
 #catalog-offers .catalog-buy .button{flex:1 1 120px;white-space:normal;min-height:46px}
 #catalog-offers .catalog-variant-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
 #catalog-offers .catalog-variant-row>:is(.catalog-delivery,.catalog-buy){grid-column:1/-1}
}

/* Long calendar dates and delivery windows must wrap inside narrow offer rows. */
#catalog-offers .catalog-delivery>strong{white-space:normal;overflow-wrap:anywhere}
/* Local 1C stock: price is per the sales unit; warehouse quantities stay private. */
.store-browser{margin-top:20px}.store-status{color:#3c5266;font-size:.9rem;line-height:1.6}.store-filters{display:grid;grid-template-columns:1.5fr 2fr 1fr 1fr auto;gap:12px;align-items:end;margin:20px 0}.store-filters label{display:flex;flex-direction:column;gap:7px;min-width:0}.store-filters input,.store-filters select{width:100%;min-height:46px;box-sizing:border-box}.store-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.store-item{background:white;border:1px solid #d7e2ec;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:10px;min-width:0}.store-item h4{margin:0;font-size:1.05rem;line-height:1.5}.store-item .catalog-title-button{text-align:left;white-space:normal;overflow-wrap:anywhere}.store-item .catalogue-price{margin-top:auto}.store-item .catalogue-price small{font-size:.8rem;font-weight:400}.store-available{color:#166534;background:#edf9f0;border:1px solid #bbdfc4;border-radius:7px;padding:5px 8px;font-size:.85rem;font-weight:700;display:inline-block;align-self:flex-start}.store-item .catalog-buy{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.store-item .catalog-quantity-field{min-width:120px}.store-item .catalog-buy .button{flex:1}.catalog-delivery small{display:block;margin-top:6px}.catalog-modes{flex-wrap:wrap}
@media(max-width:1000px){.store-filters{grid-template-columns:1fr 1fr}.store-items{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.store-filters,.store-items{grid-template-columns:1fr}.store-item{padding:16px}.store-browser{margin-top:12px}}

.store-item-photo{display:grid;place-items:center;background:white;border:0;padding:0;cursor:pointer;width:100%;height:160px}.store-item-photo img{width:100%;height:100%;object-fit:contain}.product-source-status{line-height:1.6;color:#3c5266}
