/* BANK DETAIL PAGE STYLES */

/* ─── HERO ─── */
.hero { background:#fff; border-bottom:1px solid #eaeef0; padding:12px 0 20px; }
.hero-inner { max-width:1140px; margin:0 auto; padding:0 24px; }

/* Breadcrumbs в hero */
.hero-breadcrumbs { display:flex; align-items:center; gap:6px; font-size:12px; color:#9eaab0; flex-wrap:wrap; margin-bottom:16px; margin-top:12px; }
.hero-breadcrumbs a { color:#9eaab0; text-decoration:none; transition:color .15s; }
.hero-breadcrumbs a:hover { color:#00955c; }
.hero-breadcrumbs .breadcrumb-item a { color:#00955c; }
.hero-breadcrumbs .breadcrumb-item a:hover { color:#007a47; }

/* Hero content */
.hero-content { display:flex; align-items:center; gap:24px; }

/* Логотип */
.hero-logo {
  width:160px; height:40px; flex-shrink:0;
  background:#f0f8f4; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:800; color:#00955c;
  overflow:hidden;
}
.hero-logo img { width:100%; height:100%; object-fit:contain; padding:6px 12px; }

/* Разделитель */
.hero-divider { width:1px; height:48px; background:#eaeef0; flex-shrink:0; }

/* Основная инфо */
.hero-main { flex:1; min-width:0; }
.hero-short { font-size:13px; color:#262626; font-weight:500; margin-bottom:4px; }
.hero-name { font-size:22px; font-weight:800; letter-spacing:-.02em; line-height:1.2; color:#1a2228; }
.hero-license { font-size:12px; color:#b0bec5; margin-top:6px; }

/* Контакты */
.hero-contacts { display:flex; flex-direction:column; gap:8px; flex-shrink:0; }
.hero-contact {
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; color:#00955c;
  text-decoration:none; white-space:nowrap; transition:color .15s;
}
.hero-contact svg { color:#00955c; flex-shrink:0; transition:color .15s; }
.hero-contact:hover { color:#007a47; }
.hero-contact:hover svg { color:#007a47; }

/* ─── PRODUCTS SECTION ─── */
.products-section { background:#fff; border-bottom:1px solid #eaeef0; padding:20px 0; }
.products-inner { max-width:1140px; margin:0 auto; padding:0 24px; }
.products-title { font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:#9eaab0; margin-bottom:12px; padding-left:2px; }
.products-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; }
.product-card { background:#fff; border-radius:16px; padding:16px 18px; display:flex; align-items:center; gap:13px; cursor:pointer; border:1.5px solid #eaeef0; transition:border-color .18s, box-shadow .18s, transform .15s; }
.product-card:hover { border-color:#00955c; box-shadow:0 4px 20px rgba(0,149,92,0.13); transform:translateY(-1px); }
.product-icon { width:42px; height:42px; border-radius:12px; background:#f0f8f4; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .18s; }
.product-card:hover .product-icon { background:#d2f0e0; }
.product-icon svg { width:20px; height:20px; color:#00955c; }
.product-info { flex:1; min-width:0; }
.product-name { font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#1a2228; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.product-count { font-size:20px; font-weight:700; color:#1a2228; line-height:1.1; margin-top:1px; }

@media (max-width:680px) {
  .products-section { padding:16px 0; }
  .products-grid { grid-template-columns:repeat(2, 1fr); gap:8px; }
  .product-card { padding:12px 14px; gap:10px; }
  .product-icon { width:38px; height:38px; }
  .product-icon svg { width:18px; height:18px; }
  .product-name { font-size:11px; }
  .product-count { font-size:18px; }
}
@media (max-width:420px) {
  .product-card { padding:13px 14px; gap:11px; border-radius:14px; }
  .product-icon { width:36px; height:36px; border-radius:10px; }
  .product-icon svg { width:17px; height:17px; }
  .product-name { font-size:12px; }
  .product-count { font-size:18px; }
}
@media (max-width:360px) {
  .product-card { padding:10px 12px; gap:8px; }
  .product-icon { width:32px; height:32px; border-radius:8px; }
  .product-icon svg { width:15px; height:15px; }
  .product-name { font-size:10px; }
  .product-count { font-size:16px; }
}

/* ─── ANCHOR NAV ─── */
.anchor-nav {
  background:#fff; border-bottom:2px solid #eaeef0;
  transition:box-shadow .2s;
}
.anchor-nav.sticky {
  position:sticky; top:0; z-index:100;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
}
.anchor-nav-inner {
  max-width:1140px; margin:0 auto; padding:0 24px;
  display:flex; overflow-x:auto; gap:0;
  scrollbar-width:none;
}
.anchor-nav-inner::-webkit-scrollbar { display:none; }
.anav-link {
  padding:14px 18px;
  font-size:13px; font-weight:700; color:#9eaab0;
  text-decoration:none; white-space:nowrap;
  border-bottom:2px solid transparent; margin-bottom:-2px;
  transition:color .15s, border-color .15s;
}
.anav-link.active { color:#00955c; border-bottom-color:#00955c; }
.anav-link:hover:not(.active) { color:#1a2228; }

/* ─── LAYOUT ─── */
.layout {
  max-width:1140px; margin:0 auto;
  padding:24px 24px 60px;
  display:grid;
  grid-template-columns:1fr 320px;
  gap:24px;
  align-items:start;
}

/* ─── CARD ─── */
.bank-card { background:#fff; border-radius:16px; border:1.5px solid #eaeef0; overflow:hidden; margin-bottom:20px; box-shadow:0 1px 3px rgba(0,0,0,0.04); }
.bank-card:last-child { margin-bottom:0; }
.bank-card-header {
  padding:18px 24px; border-bottom:1px solid #f0f3f0;
  font-size:16px; font-weight:700; color:#1a2228;
}
.bank-card-header svg { display:none; }
.bank-card-body { padding:20px; }

/* ─── INFO TABLE ─── */
.info-grid {
  display:grid;
  grid-template-columns:200px 1fr;
  row-gap:0;
}
.info-row {
  display:contents;
}
.info-row .k,
.info-row .v {
  padding:10px 0;
  border-bottom:1px solid #f0f3f0;
  font-size:16px;
  color:#262626;
  font-weight:400;
  line-height:1.7;
}
.info-row:last-child .k,
.info-row:last-child .v { border-bottom:none; }
.info-row .k {
  font-weight:600;
  padding-right:20px;
}
.info-row .v {
  font-weight:500;
}
.info-row .v a { color:#00955c; text-decoration:none; transition:color .15s; }
.info-row .v a:hover { text-decoration:underline; }

/* ─── CONTACTS ─── */
.contact-list { display:flex; flex-direction:column; gap:14px; }
.contact-item { display:flex; align-items:center; gap:12px; }
.c-icon {
  width:44px; height:44px; border-radius:12px;
  background:#f0f8f4; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; color:#00955c;
}
.c-lbl { font-size:16px; color:#262626; font-weight:400; margin-bottom:2px; }
.c-val { font-size:16px; font-weight:400; color:#262626; }
.c-val a { color:#262626; text-decoration:none; transition:color .15s; }
.c-val a:hover { color:#00955c; }

/* ─── DESCRIPTION ─── */
.description { font-size:16px; color:#262626; font-weight:400; line-height:1.7; }
.description > * + * { margin-top:16px; }
.description h2 { font-size:20px; font-weight:800; color:#1a2228; letter-spacing:-.02em; margin-top:24px; margin-bottom:12px; }
.description h3 { font-size:16px; font-weight:800; color:#1a2228; margin-top:20px; margin-bottom:10px; }
.description p strong { color:#1a2228; font-weight:700; }
.description a { color:#00955c; text-decoration:none; transition:color .15s; }
.description a:hover { text-decoration:underline; }
.description ul { padding-left:24px; display:flex; flex-direction:column; gap:6px; }
.description ul li { line-height:1.6; }
.description ul li strong { color:#1a2228; }
.description table { width:100%; border-collapse:collapse; font-size:13px; margin-top:16px; }
.description table thead th { background:#f8faf8; padding:10px 14px; text-align:left; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#9eaab0; border-bottom:2px solid #eaeef0; }
.description table tbody tr { border-bottom:1px solid #f0f3f0; }
.description table tbody tr:last-child { border-bottom:none; }
.description table tbody td { padding:10px 14px; color:#1a2228; }
.description table tbody td:last-child { font-weight:600; }

/* ─── SIDEBAR: SIMILAR ─── */
.similar-list { display:flex; flex-direction:column; }
.similar-item {
  display:flex; align-items:center; gap:12px;
  padding:12px 0; border-bottom:1px solid #f0f3f0;
  text-decoration:none; color:inherit;
  transition:background .15s;
}
.similar-item:last-child { border-bottom:none; }
.similar-item:hover .sim-name { color:#00955c; }
.sim-logo {
  width:44px; height:44px; border-radius:12px;
  background:#f0f8f4; display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:800; color:#00955c; flex-shrink:0;
  overflow:hidden;
}
.sim-name { font-size:13px; font-weight:700; transition:color .15s; line-height:1.3; color:#1a2228; }
.sim-short { display:none; }
.sim-arr { color:#d0d5dd; margin-left:auto; flex-shrink:0; transition:color .15s, transform .15s; }
.similar-item:hover .sim-arr { color:#00955c; transform:translateX(2px); }

.all-btn {
  display:flex; align-items:center; justify-content:center; gap:6px;
  padding:14px 18px; margin-top:16px;
  background:#fff; border:1.5px solid #eaeef0; border-radius:14px;
  font-size:13px; font-weight:700; color:#5a6673;
  text-decoration:none; transition:border-color .2s, color .2s, background .2s;
}
.all-btn:hover { border-color:#00955c; color:#00955c; background:#f0f8f4; }

/* ─── MOBILE ─── */
@media (max-width:768px) {
  .hero { padding:10px 0 16px; }
  .hero-inner { padding:0 16px; }
  .hero-breadcrumbs { margin-bottom:12px; margin-top:10px; font-size:11px; }
  .hero-content { gap:16px; flex-wrap:wrap; }
  .hero-logo { width:140px; height:36px; margin-bottom:8px; }
  .hero-divider { display:none; }
  .hero-main { width:100%; margin-bottom:8px; }
  .hero-name { font-size:18px; }
  .hero-short { font-size:12px; }
  .hero-license { font-size:11px; }
  .hero-contacts { flex-direction:row; flex-wrap:wrap; gap:10px; width:100%; }
  .hero-contact { font-size:12px; }
  .anchor-nav-inner { padding:0 16px; }
  .anav-link { padding:12px 16px; font-size:12px; }
  .layout { grid-template-columns:1fr; padding:16px 16px 40px; gap:16px; }
  .bank-card { margin-bottom:16px; border-radius:12px; }
  .bank-card-body { padding:16px; }
  .bank-card-header { padding:14px 16px; font-size:12px; }
  .info-grid { grid-template-columns:140px 1fr; }
  .info-row .k { font-size:11px; padding-right:12px; }
  .info-row .v { font-size:13px; }
  .c-icon { width:36px; height:36px; }
  .c-lbl { font-size:10px; }
  .c-val { font-size:13px; }
  .description { font-size:13px; }
  .description h2 { font-size:18px; margin-top:20px; }
  .description h3 { font-size:15px; margin-top:16px; }
  .all-btn { margin-top:0; }
}
