* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; background: #fff; color: #1a1a1a; }

/* ─── SKELETON ─── */
.hb-skeleton {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: hb-shimmer 1.5s infinite;
}
@keyframes hb-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ─── HERO ─── */
.hb-hero { position: relative; overflow: hidden; background: #fff; background-image: radial-gradient(circle at 80% 50%, #d1fae5 0%, rgba(255,255,255,0) 70%); }
.hb-hero-inner { max-width: 1152px; margin: 0 auto; padding: 64px 16px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hb-hero-title { font-size: 56px; font-weight: 900; color: #111827; line-height: 1.1; margin: 0 0 16px 0; }
.hb-hero-sub { font-size: 20px; font-weight: 700; color: #6b7280; font-style: italic; margin: 0; }
.hb-hero-btns { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hb-btn-yellow { display: inline-flex; align-items: center; gap: 8px; background: #facc15; color: #1a1a1a; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 10px; border: none; cursor: pointer; text-decoration: none; transition: background 0.2s; }
.hb-btn-yellow:hover { background: #eab308; }
.hb-btn-outline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #047857; border: 1px solid #a7f3d0; padding: 10px 24px; border-radius: 12px; background: transparent; cursor: pointer; text-decoration: none; transition: background 0.2s; }
.hb-btn-outline:hover { background: #ecfdf5; }
.hb-hero-right { display: flex; align-items: center; gap: 48px; flex-shrink: 0; }
.hb-qr { text-align: center; }
.hb-qr-label { font-size: 11px; font-weight: 900; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.08em; color: #1f2937; margin: 0 0 12px 0; }
.hb-qr-box { width: 110px; height: 110px; background: #fff; padding: 8px; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); border: 1px solid #f3f4f6; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 72px; }

/* ─── CATBAR ─── */
.hb-catbar { background: #f9fafb; border-top: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; }
.hb-catbar-inner { max-width: 1152px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.hb-catbar-inner::-webkit-scrollbar { display: none; }
.hb-catpill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; padding: 6px 12px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #4b5563; cursor: pointer; text-decoration: none; transition: all 0.2s; line-height: 1; }
.hb-catpill:hover { background: #ecfdf5; color: #047857; }
.hb-catpill.active { background: #d1fae5; color: #047857; border-color: #6ee7b7; }

/* ─── CATS GRID ─── */
#hb-cats-wrap { max-width: 1152px; margin: 0 auto; padding: 40px 16px 0; }
#hb-cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 100px)); justify-content: center; gap: 12px;  position: relative; transition: max-height 0.35s ease; }
/*#hb-cats-grid::after {  position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%); pointer-events: none; transition: opacity 0.25s; }
#hb-cats-grid.open { max-height: 3000px; }
#hb-cats-grid.open::after { opacity: 0; }*/
.hb-cat-card2 { display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 110px; padding: 12px 6px 10px; border-radius: 14px; text-decoration: none; background: transparent; transition: background 0.15s, transform 0.15s; }
.hb-cat-card2:hover { background: #f0faf5; transform: translateY(-2px); }
.hb-cat-card2:hover .hb-cat-title2 { color: #059669; }
.hb-cat-title2 { font-size: 11px; font-weight: 700; text-align: center; color: #1f2937; line-height: 1.25; transition: color 0.15s; text-decoration: none; }
/*#hb-cats-toggle-wrap { text-align: center; padding: 14px 0 40px; }
#hb-cats-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #059669; background: #ecfdf5; border: 1px solid #a7f3d0; padding: 8px 22px; border-radius: 20px; cursor: pointer; font-family: 'Inter', sans-serif; }
#hb-cats-toggle:hover { background: #d1fae5; }*/

/* ─── MAIN LAYOUT ─── */
.hb-main { max-width: 1152px; margin: 0 auto; padding: 0 16px 80px; display: flex; flex-direction: column; gap: 56px; }
.hb-sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hb-sec-title { font-size: 20px; font-weight: 900; color: #111827; margin: 0; }
.hb-sec-sub { font-size: 11px; font-weight: 700; color: #9ca3af; margin: 4px 0 0 0; }

/* ─── GRIDS ─── */
.hb-grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.hb-grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hb-grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

/* ─── PRODUCT CARD ─── */
.hb-pcard { border: 1px solid #f3f4f6; border-radius: 12px; padding: 10px; background: #fff; cursor: pointer; transition: box-shadow 0.2s; text-decoration: none; display: block; color: inherit; }
.hb-pcard:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.07); }
.hb-pimg { position: relative; aspect-ratio: 1/1; background: #f9fafb; border-radius: 8px; overflow: hidden; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; }
.hb-ptitle { font-size: 10px; font-weight: 700; color: #1f2937; line-height: 1.4; margin: 0 0 6px 0; height: 28px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hb-pprice { font-size: 12px; font-weight: 900; color: #111827; margin: 0; }
.hb-pprice-row { display: flex; align-items: center; justify-content: space-between; }
.hb-pviews { font-size: 9px; color: #9ca3af; font-weight: 700; }
.hb-pcat { font-size: 9px; font-weight: 700; color: #059669; margin: 3px 0 0 0; }
.hb-badge-new { position: absolute; top: 7px; left: 7px; background: #10b981; color: #fff; font-size: 8px; font-weight: 900; padding: 2px 7px; border-radius: 4px; }
.hb-badge-urgent { position: absolute; bottom: 7px; left: 7px; background: #ef4444; color: #fff; font-size: 8px; font-weight: 900; padding: 2px 6px; border-radius: 4px; display: inline-flex; align-items: center; gap: 2px; text-transform: uppercase; }
.hb-hot-price { font-size: 12px; font-weight: 900; color: #dc2626; margin: 0; }
.hb-hot-label { font-size: 8px; font-weight: 900; color: #9ca3af; }
.hb-hot-tag { font-size: 8px; color: #9ca3af; font-weight: 700; text-transform: uppercase; font-style: italic; }

/* ─── SECTION WRAPPERS ─── */
.hb-sec-new { border: 1px solid #d1fae5; background: rgba(249,250,251,0.6); padding: 24px; border-radius: 24px; }
.hb-sec-hot { border: 1px solid #fee2e2; background: rgba(255,250,250,0.6); padding: 24px; border-radius: 24px; }

/* ─── NEWS ─── */
.hb-news-card { border: 1px solid #f3f4f6; border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; transition: box-shadow 0.2s; text-decoration: none; display: block; }
.hb-news-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.hb-news-img { height: 120px; overflow: hidden; background: #f3f4f6; display: flex; align-items: center; justify-content: center; }
.hb-news-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-news-img img.hb-news-logo { width: 60%; height: 60%; object-fit: contain; opacity: 0.3; }
.hb-news-body { padding: 10px; }
.hb-news-title { font-size: 11px; font-weight: 700; color: #1f2937; line-height: 1.4; margin: 0 0 4px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-news-date { font-size: 9px; color: #9ca3af; font-weight: 700; }

/* ─── B2B ─── */
.hb-b2b { background: linear-gradient(135deg, #1e3a3a 0%, #2d5a5a 100%); border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: space-between; color: #fff; overflow: hidden; position: relative; gap: 32px; }
.hb-b2b-title { font-size: 28px; font-weight: 900; line-height: 1.3; margin: 0 0 20px 0; }
.hb-b2b-desc { font-size: 24px; color: rgba(255,255,255,0.7); margin: 0 0 24px 0; line-height: 1.6; }
.hb-b2b-des { font-size: 24px; font-weight: 900; line-height: 1.3; margin: 0 0 20px 0; }
.hb-b2b-right { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.hb-b2b-bg { font-size: 56px; font-weight: 900; color: rgba(255,255,255,0.12); line-height: 1; margin-bottom: -16px; }
.hb-b2b-icon { position: absolute; right: 40px; top: 40px; color: rgba(255,255,255,0.08); font-size: 56px; transform: rotate(12deg); }

/* ─── PARTNERS ─── */
.hb-partners { display: flex; flex-direction: row; gap: 20px; overflow-x: auto; padding: 10px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hb-partners::-webkit-scrollbar { display: none; }
.hb-partner { flex: 0 0 auto; width: 180px; height: 90px; display: flex; align-items: center; justify-content: center; border: 1px solid #f3f4f6; border-radius: 12px; background: #fff; scroll-snap-align: start; cursor: pointer; transition: box-shadow 0.2s; text-decoration: none; }
.hb-partner:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.07); }
.hb-partner img { max-height: 60px; max-width: 140px; object-fit: contain; }

/* ─── EMPTY ─── */
.hb-empty { text-align: center; padding: 48px; color: #9ca3af; font-weight: 700; font-size: 14px; grid-column: span 6; }
.hb-empty i { font-size: 36px; display: block; margin-bottom: 8px; }


.hb-cat-card2 {
  height: 160px !important;
  padding: 14px 8px 12px !important;
  border-radius: 18px !important;
}

#hb-cats-grid {
  grid-template-columns: repeat(auto-fill, minmax(130px, 130px)) !important;
  gap: 16px !important;
}.hb-cat-ico2 {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  font-size: 44px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
	.hb-grid7 { grid-template-columns: repeat(4, 1fr); }
	.hb-grid6 { grid-template-columns: repeat(3, 1fr); }
	.hb-grid5 { grid-template-columns: repeat(3, 1fr); }
	.hb-hero-title { font-size: 38px; }
	.hb-hero-right { display: none; }
}
@media (max-width: 640px) {
	.hb-grid7, .hb-grid6, .hb-grid5 { grid-template-columns: repeat(2, 1fr); }
	.hb-hero-title { font-size: 28px; }
	.hb-b2b { flex-direction: column; }
	.hb-b2b-right { display: none; }
}@media (max-width: 640px) {
  .hb-cat-ico2 {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 26px;
  }
  .hb-cat-card2 {
    height: 110px;
    padding: 10px 6px 8px;
    border-radius: 14px;
  }
  #hb-cats-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 80px));
    gap: 10px;
  }
}
/* В вашем links.css — оставить только это, без !important */
.hb-cat-ico2 {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 22px;
  font-size: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hb-cat-card2 {
  height: 160px;
  padding: 14px 8px 12px;
  border-radius: 18px;
}
#hb-cats-grid {
  grid-template-columns: repeat(auto-fill, minmax(130px, 130px));
  gap: 16px;
}

@media (max-width: 640px) {
  .hb-cat-ico2 {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 14px;
    font-size: 26px;
  }
  .hb-cat-card2 {
    height: 110px;
    padding: 10px 6px 8px;
    border-radius: 14px;
  }
  #hb-cats-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 80px));
    gap: 10px;
  }
}