/* Hipobuy Source SEO/content cleanup: responsive grid and unclipped mobile UI. */
.hb-footer-links { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 18px; margin:14px 0; }
.hb-footer-links a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.products-grid,.recommended-products .products-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
.hb-product-copy { max-width:1200px; margin:28px auto; padding:26px; border:1px solid #e4eaf0; border-radius:18px; background:#fff; }
.hb-product-copy h2 { margin:0 0 12px; color:#10263e; }
.hb-product-copy-body { color:#4d5e70; line-height:1.75; }
.hb-category-copy { max-width:1200px; margin:32px auto; padding:28px; border-radius:18px; background:#f4f8fb; color:#4d5e70; line-height:1.75; }
.hb-category-copy h2 { margin:0 0 10px; color:#10263e; }

@media (max-width:1180px) {
  .products-grid,.recommended-products .products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:768px) {
  html,body { max-width:100%; overflow-x:hidden; }
  body.hb-home { width:100vw !important; max-width:100vw !important; overflow-x:hidden !important; }
  .hb-home .hb-header { width:100vw !important; max-width:100vw !important; grid-template-columns:minmax(120px,1fr) 40px 38px; gap:6px; padding:8px 14px; }
  .hb-home .hb-brand { min-width:0; }
  .hb-home .hb-brand img { width:min(132px,100%); height:auto; }
  .hb-home .hb-locale-trigger { width:38px; max-width:38px; min-width:38px; padding:7px; }
  .hb-home .hb-locale-trigger [data-hb-locale-label],.hb-home .hb-locale-trigger .hb-locale-chevron { display:none; }
  .hb-home .hb-spreadsheet-hero { width:100vw !important; max-width:100vw !important; }
  .hb-home .hb-spreadsheet-copy { width:100% !important; max-width:100% !important; min-width:0; overflow:hidden; }
  .hb-home .hb-spreadsheet-copy h1 { width:100%; max-width:100%; font-size:29px !important; line-height:1.08; overflow-wrap:anywhere; white-space:normal; }
  .hb-home .hb-spreadsheet-copy h2,.hb-home .hb-spreadsheet-copy > p { width:100%; max-width:100%; }
  .hb-home .hb-spreadsheet-hero .hb-hero-search { width:100%; max-width:100%; min-width:0; }
  .hb-home .hb-spreadsheet-hero .hb-hero-search input { width:1%; min-width:0; }
  .hb-home .hb-spreadsheet-shortcuts { width:100%; max-width:100%; overflow:hidden; }
  .hb-home .hb-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .hb-floating-social { display:none !important; }
  header { overflow:visible; }
  .header-left,.header-right { min-width:0; }
  .logo { color:#17283d !important; white-space:nowrap; }
  .header-right .search-form { width:100%; max-width:none; }
  .header-right .hb-locale-switcher { min-width:0; }
  .hb-locale-trigger { max-width:118px; padding-inline:7px; }
  [data-hb-locale-label] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .products-grid,.recommended-products .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .product-detail { overflow-x:hidden; }
  .product-details,.product-container { min-width:0; }
  .product-title { overflow-wrap:anywhere; }
  .hb-home .hb-spreadsheet-hero { overflow:visible; }
}
@media (max-width:390px) {
  .logo { font-size:20px !important; }
  .hb-locale-trigger { max-width:104px; font-size:11px; }
  .mobile-menu-btn { margin-left:2px; }
}
