/* Страницы: производители, штрихкод. Загружается последним. */

/* --- Производители --- */
.stat-card{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #e9eef4;border-radius:14px;padding:14px 16px;height:100%}
.stat-ico{width:40px;height:40px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.stat-ico i{font-size:20px}
.stat-label{font-size:12px;color:#8a94a6;text-transform:uppercase;letter-spacing:.02em}
.stat-value{font-size:22px;font-weight:700;color:#1f2733;line-height:1.2}
.stat-hint{font-size:12px;color:#8a94a6}

.prod-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.prod-search{position:relative;flex:1 1 260px;max-width:360px}
.prod-search i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8a94a6;font-size:17px}
.prod-search .form-control{padding-left:36px;border-radius:10px;border-color:#e6ebf2}
.prod-alpha{display:flex;flex-wrap:wrap;gap:4px}
.prod-alpha-btn{border:1px solid #e6ebf2;background:#fff;color:#4a5560;border-radius:8px;min-width:30px;height:30px;padding:0 8px;font-size:13px;line-height:1;cursor:pointer;transition:.15s}
.prod-alpha-btn:hover{background:#f2f7ff;border-color:#cfe0ff;color:#1b6fd8}
.prod-alpha-btn.is-active{background:#2bb3a3;border-color:#2bb3a3;color:#fff}
.prod-count{font-size:13px;color:#8a94a6;margin-left:auto}
.prod-card{display:flex;align-items:center;gap:12px;height:100%;padding:12px 14px;background:#fff;border:1px solid #e9eef4;border-radius:14px;text-decoration:none;transition:.15s}
.prod-card:hover{border-color:#cfe0ff;box-shadow:0 6px 18px rgba(27,111,216,.08);transform:translateY(-1px)}
.prod-ava{width:40px;height:40px;flex:none;border-radius:11px;background:#eef4ff;color:#1b6fd8;font-weight:700;font-size:16px;display:inline-flex;align-items:center;justify-content:center}
.prod-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.prod-name{font-size:14px;color:#1f2733;font-weight:600;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.prod-meta{display:flex;flex-wrap:wrap;gap:6px}
.prod-pill{font-size:11px;color:#5a6472;background:#f3f6fa;border-radius:7px;padding:3px 8px;display:inline-flex;align-items:center;gap:4px;text-decoration:none}
.prod-pill i{font-size:12px}
.prod-pill-price{background:#eefaf6;color:#0f7d63}
.prod-arrow{color:#c2cad6;font-size:16px;transition:.15s}
.prod-card:hover .prod-arrow{color:#1b6fd8;transform:translateX(2px)}
.prod-empty{text-align:center;padding:40px 10px;color:#8a94a6}
.prod-empty i{font-size:28px;display:block;margin-bottom:6px}

/* --- Штрихкод --- */
.bc-badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;border-radius:9px;padding:6px 11px}
.bc-badge-ok{background:#e9fbf3;color:#0f7d63}
.bc-badge-bad{background:#fdecec;color:#b42318}
.bc-badge-type{background:#eef4ff;color:#1b6fd8}

.bc-card{background:#fff;border:1px solid #e9eef4;border-radius:16px;padding:18px}
.bc-card-title{font-size:15px;font-weight:700;color:#1f2733;margin:0 0 12px}

.bc-product{display:flex;gap:18px;align-items:flex-start}
.bc-photo{flex:none;width:150px;height:150px;border-radius:14px;background:#f7f9fc;border:1px solid #eef2f7;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:6px;box-sizing:border-box}
.bc-photo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.bc-info{min-width:0;flex:1}
.bc-name{display:block;font-size:17px;line-height:1.3;font-weight:700;color:#1f2733;text-decoration:none;margin-bottom:8px}
.bc-name:hover{color:#1b6fd8}
.bc-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.bc-about{font-size:13px;line-height:1.5;color:#5a6472;margin:0 0 10px}

.bc-notfound{display:flex;gap:14px;align-items:center;background:#fbfcfe;border:1px dashed #e2e8f0;border-radius:12px;padding:16px}
.bc-notfound i{font-size:28px;color:#b7c2d1}
.bc-notfound-title{font-weight:700;color:#1f2733;margin-bottom:2px}

.bc-svg{margin-top:16px;border-top:1px solid #eef2f7;padding-top:14px;text-align:center}
.bc-svg-img{max-width:340px;margin:0 auto}
.bc-svg-img svg,.bc-svg-img img{max-width:100%;height:auto;display:block;margin:0 auto}
.bc-svg-digits{font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.14em;color:#4a5560;margin:10px 0 12px;font-size:14px}
.bc-svg-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}

.bc-others{margin-top:16px;border-top:1px solid #eef2f7;padding-top:14px}
.bc-others-title{font-size:13px;color:#8a94a6;margin-bottom:8px}

.bc-steps{display:grid;gap:8px}
.bc-step{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:13px;padding:9px 12px;background:#f8fafc;border-radius:10px}
.bc-step span{color:#5a6472}
.bc-step b{color:#1f2733;font-family:ui-monospace,Menlo,Consolas,monospace;white-space:nowrap}

.bc-form-row{display:flex;gap:8px}
.bc-form-row .form-control{border-radius:10px;border-color:#e6ebf2}
.bc-form-hint{font-size:12px;color:#8a94a6;margin:8px 0 0}

.bc-facts{margin-top:14px;display:grid;gap:6px}
.bc-fact{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;padding:9px 12px;background:#f8fafc;border-radius:10px}
.bc-fact span{color:#5a6472}
.bc-fact b{color:#1f2733}

.bc-why{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.bc-why li{display:flex;gap:8px;font-size:13px;color:#4a5560}
.bc-why i{color:#2bb3a3;font-size:15px;margin-top:1px}

@media (max-width:991.98px){
  .bc-photo{width:120px;height:120px}
}
@media (max-width:575.98px){
  .bc-product{flex-direction:column;align-items:center;text-align:center}
  .bc-photo{width:160px;height:160px}
  .bc-meta{justify-content:center}
  .bc-form-row{flex-direction:column}
  .prod-count{margin-left:0;width:100%}
  .prod-alpha{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}
}

a.prod-alpha-btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.custom-pagination .pagination{gap:4px;flex-wrap:wrap}
.custom-pagination .page-link{border-radius:9px;border:1px solid #e6ebf2;color:#4a5560;padding:6px 11px;font-size:13px}
.custom-pagination .page-item.active .page-link{background:#2bb3a3;border-color:#2bb3a3;color:#fff}
.custom-pagination .page-link:hover{background:#f2f7ff;border-color:#cfe0ff;color:#1b6fd8}

.cmp-empty{background:#fff;border:1px dashed #e2e8f0;border-radius:18px;padding:44px 20px;text-align:center}
.cmp-empty-ico{width:64px;height:64px;border-radius:50%;background:#eef4ff;color:#1b6fd8;display:inline-flex;align-items:center;justify-content:center;margin-bottom:12px}
.cmp-empty-ico i{font-size:28px}
.cmp-empty-title{font-size:19px;font-weight:700;color:#1f2733;margin:0 0 8px}
.cmp-empty-text{font-size:14px;color:#5a6472;max-width:520px;margin:0 auto}

.cmp-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e9eef4;border-radius:16px;overflow:hidden;transition:.15s}
.cmp-card:hover{border-color:#cfe0ff;box-shadow:0 8px 22px rgba(27,111,216,.08)}
.cmp-photo{position:relative;display:flex;align-items:center;justify-content:center;height:180px;background:#f7f9fc;padding:10px}
.cmp-photo img{max-width:100%;max-height:100%;object-fit:contain}
.cmp-photo-empty{color:#c2cad6;font-size:34px}
.cmp-best{position:absolute;left:8px;top:8px;background:#e9fbf3;color:#0f7d63;font-size:11px;font-weight:700;border-radius:8px;padding:4px 8px;display:inline-flex;align-items:center;gap:3px}
.cmp-body{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px;flex:1}
.cmp-name{font-size:14px;font-weight:600;color:#1f2733;text-decoration:none;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cmp-name:hover{color:#1b6fd8}
.cmp-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#f8fafc;border-radius:10px;padding:8px}
.cmp-price{display:flex;flex-direction:column;gap:2px;font-size:11px;color:#8a94a6;text-align:center}
.cmp-price b{font-size:13px;color:#1f2733}
.cmp-meta{display:flex;flex-wrap:wrap;gap:6px}
.cmp-actions{display:flex;gap:6px;margin-top:auto;align-items:center}
.cmp-actions .btn-primary{flex:1}
@media (max-width:575.98px){.cmp-photo{height:150px}}

.abt-card{background:#fff;border:1px solid #e9eef4;border-radius:16px;padding:18px}
.abt-h2{font-size:18px;font-weight:700;color:#1f2733;margin:0 0 12px}
.abt-p{font-size:14px;line-height:1.6;color:#4a5560}
.abt-grid{display:grid;gap:12px}
.abt-item{display:flex;gap:12px;align-items:flex-start}
.abt-ico{width:38px;height:38px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.abt-ico i{font-size:19px}
.abt-item b{display:block;font-size:14px;color:#1f2733;margin-bottom:2px}
.abt-item p{margin:0;font-size:13px;line-height:1.5;color:#5a6472}
.abt-steps{margin:0;padding-left:20px;display:grid;gap:10px}
.abt-steps li{font-size:14px;line-height:1.6;color:#4a5560}
.abt-steps b{color:#1f2733}
.abt-list{margin:0;padding-left:20px;display:grid;gap:8px}
.abt-list li{font-size:14px;color:#4a5560}
.abt-services{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.abt-service{display:flex;gap:10px;align-items:center;padding:11px 12px;border:1px solid #e9eef4;border-radius:12px;text-decoration:none;transition:.15s}
.abt-service:hover{border-color:#cfe0ff;background:#f7fbff}
.abt-service i{font-size:20px;color:#1b6fd8;flex:none}
.abt-service b{display:block;font-size:13px;color:#1f2733}
.abt-service small{display:block;font-size:11px;color:#8a94a6}
.abt-checks{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.abt-checks li{display:flex;gap:8px;font-size:13px;color:#4a5560}
.abt-checks i{color:#2bb3a3;font-size:16px;margin-top:-1px}
.abt-facts{display:grid;gap:6px}
.abt-fact{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:9px 12px;background:#f8fafc;border-radius:10px}
.abt-fact span{color:#5a6472}
.abt-fact b{color:#1f2733}
@media (max-width:575.98px){.abt-services{grid-template-columns:1fr}}

.svc-card{background:#fff;border:1px solid #e9eef4;border-radius:16px;padding:18px}
.svc-card-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:#1f2733;margin:0 0 12px}
.svc-card-title i{font-size:18px;color:#1b6fd8}
.svc-label{font-size:13px;color:#5a6472;margin-bottom:6px;display:block}
.svc-note{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;color:#8a94a6;background:#f8fafc;border-radius:10px;padding:10px 12px;margin:10px 0}
.svc-note i{font-size:16px;color:#1b6fd8;flex:none;margin-top:1px}
.svc-captcha{margin:12px 0}
#btn-process{margin-top:4px}
.svc-error{margin-top:12px;background:#fdecec;color:#b42318;border-radius:10px;padding:10px 12px;font-size:13px}
.svc-loading{margin-top:14px}
.svc-progress{height:8px;background:#eef2f7;border-radius:6px;overflow:hidden}
.svc-progress span{display:block;height:100%;width:35%;background:linear-gradient(90deg,#2bb3a3,#1b6fd8);border-radius:6px;animation:svcMove 1.2s infinite ease-in-out}
@keyframes svcMove{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}
.svc-loading-text{font-size:13px;color:#8a94a6;margin-top:8px}
.svc-result{margin-top:16px;border-top:1px solid #eef2f7;padding-top:14px}
.svc-result-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.svc-result-text{max-height:420px;overflow:auto;background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:14px;font-size:13px;line-height:1.55;white-space:pre-wrap;margin:0}
