/* Общая корзина и заявки Digital Solution Group */
.dsgc-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1000;display:none;font-family:Manrope,sans-serif;color:#10233d;line-height:1.5}
.dsgc-overlay.active{display:block}
.dsgc-panel{position:absolute;right:0;top:0;height:100%;width:min(440px,100%);background:#fff;padding:26px;box-shadow:-20px 0 50px rgba(0,0,0,.15);overflow:auto}
.dsgc-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.dsgc-head h2{font-size:26px;line-height:1.1;letter-spacing:-.02em;margin:0}
.dsgc-close{width:38px;height:38px;border:0;border-radius:50%;background:#eef4fb;color:#062b5a;font-size:22px;line-height:1;padding:0;cursor:pointer;flex:none}
.dsgc-empty{text-align:center;color:#5f6f82;padding:70px 10px}
.dsgc-item{display:grid;grid-template-columns:72px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid rgba(8,53,112,.14)}
.dsgc-item img{width:72px;height:62px;border-radius:10px;object-fit:cover;background:#eef4fb;display:block}
.dsgc-item h4{font-size:14px;line-height:1.25;margin:0}
.dsgc-item p{font-size:12px;color:#5f6f82;margin:4px 0 7px}
.dsgc-qty{display:flex;align-items:center;gap:7px;font-size:14px}
.dsgc-qty button{width:30px;height:30px;padding:0;border:0;border-radius:8px;background:#eef4fb;color:#062b5a;font-weight:700;cursor:pointer}
.dsgc-qty .dsgc-remove{width:auto;height:auto;background:none;color:#083570;font-weight:600;font-size:12px;margin-left:auto}
.dsgc-total{display:flex;justify-content:space-between;gap:12px;font-size:18px;font-weight:800;margin:18px 0 4px}
.dsgc-note{font-size:12px;color:#5f6f82;margin:0 0 14px}
.dsgc-form input,.dsgc-form textarea{display:block;width:100%;min-width:0;padding:13px;border:1px solid #c9d8e8;border-radius:11px;margin:0 0 10px;font:inherit;font-size:16px;background:#fff;color:#10233d;box-sizing:border-box}
.dsgc-form textarea{min-height:82px;resize:vertical}
.dsgc-send{display:block;width:100%;min-height:50px;padding:12px;border:0;border-radius:999px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;margin-bottom:9px}
.dsgc-wa{background:#25D366;color:#fff}
.dsgc-mail{background:#ea4335;color:#fff}
.dsgc-checkout{background:#062b5a;color:#fff}
.dsgc-ask{font-size:15px;font-weight:800;margin:4px 0 10px}
.dsgc-clear{display:block;margin:6px auto 0;border:0;background:none;padding:6px;color:#5f6f82;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
.dsgc-error{color:#b3261e;font-size:13px;margin:0 0 10px;min-height:0}
.dsgc-modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(480px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;background:#fff;border-radius:22px;padding:26px;box-sizing:border-box}
.dsgc-modal p.dsgc-sub{font-size:14px;color:#5f6f82;margin:0 0 16px}
/* Кнопка корзины в шапке страницы товара */
.header-cart{border:0;background:#123d75;color:#fff;border-radius:999px;padding:10px 15px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;margin-left:26px;vertical-align:middle}
.header-cart .cart-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-left:5px;border-radius:50%;background:#a47c52;color:#fff;font-size:11px}
/* Страница товара */
.product-wa{display:flex;align-items:center;justify-content:center;min-height:50px;margin-top:12px;border-radius:999px;background:#25D366;color:#fff;font-size:14px;font-weight:700;text-decoration:none;transition:.25s}
.product-wa:hover{filter:brightness(.95);transform:translateY(-2px)}
.product-note{margin-top:14px;font-size:13px;color:#5b6b7a;line-height:1.55}
.related{margin-top:42px}
.related h2{font-size:clamp(24px,3vw,32px);line-height:1.1;letter-spacing:-.03em;color:#102a43;margin-bottom:20px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.related-card{display:block;background:#fff;border:1px solid rgba(18,61,117,.12);border-radius:18px;overflow:hidden;color:#102a43;text-decoration:none;transition:.25s}
.related-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(18,61,117,.12)}
.related-card img{display:block;width:100%;height:170px;object-fit:contain;background:#fff}
.related-card div{padding:14px 16px 16px}
.related-card strong{display:block;font-size:15px;line-height:1.25}
.related-card span{display:block;margin-top:5px;font-size:14px;font-weight:700;color:#123d75}
/* Каталог: фильтры и заявка */
.catalog-tools{margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid rgba(8,53,112,.18);background:#fff;color:#083570;border-radius:999px;padding:9px 15px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.chip.active{background:#083570;border-color:#083570;color:#fff}
.tools-right{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sort{border:1px solid rgba(8,53,112,.18);background:#fff;border-radius:999px;padding:10px 14px;font:inherit;font-size:13px;color:#10233d;width:auto;margin:0;min-width:0}
.lead-btn{border:0;background:#25D366;color:#fff;border-radius:999px;padding:11px 17px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.no-results{grid-column:1/-1;text-align:center;color:#5f6f82;padding:50px 10px}
@media(max-width:800px){.header-cart{margin:8px 0 0 10px}.related-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.related-grid{grid-template-columns:1fr}.tools-right,.lead-btn,.sort{width:100%}}
/* Узкий экран: шапка каталога в одну строку */
@media(max-width:520px){.logo-mark{width:96px;height:44px}.cart-button,.back{padding:9px 12px;font-size:12px;white-space:nowrap}}
