/*
 * In Hoang Gia — shared UI system
 * Loaded after the legacy theme layers to keep every template on one responsive system.
 */
:root {
  --hg-ink: #172b4d;
  --hg-navy: #123565;
  --hg-blue: #0861dc;
  --hg-blue-dark: #064fb5;
  --hg-gold: #e4a238;
  --hg-muted: #64748b;
  --hg-line: #e2e8f0;
  --hg-paper: #f5f7fb;
  --hg-card-shadow: 0 10px 30px rgba(18, 53, 101, .075);
  --hg-radius-sm: 8px;
  --hg-radius: 12px;
  --hg-radius-lg: 18px;
  --hg-content-width: 1280px;
  --hg-font: 'Inter', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  color: var(--hg-ink);
  background: #fff;
  font-family: var(--hg-font) !important;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body *:not(i):not(svg):not(path):not([class*="fa-"]) { font-family: var(--hg-font) !important; }
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--hg-blue); }
a:hover { color: var(--hg-blue-dark); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(8, 97, 220, .35); outline-offset: 2px; }

.container { width: min(var(--hg-content-width), calc(100% - 48px)); }
.site-page, .news-page, .sp-page, .hg-contact-page, .hg-wc-page { color: var(--hg-ink); }
.site-page, .news-page, .sp-page { background: var(--hg-paper); }
.page-layout { gap: 28px; }
.page-main, .page-sidebar .widget, .sp-content,
.woocommerce-cart form, .woocommerce-cart .cart_totals,
.woocommerce-checkout form.checkout, .woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content {
  border-color: var(--hg-line);
  border-radius: var(--hg-radius-lg);
  box-shadow: var(--hg-card-shadow);
}
.page-main { padding: clamp(22px, 3.5vw, 42px); }
.page-content { color: #41516a; font-size: 16px; line-height: 1.8; }
.page-content h2, .page-content h3, .sp-content h2, .sp-content h3 { color: var(--hg-navy); line-height: 1.35; }
.page-title, .news-header__title, .sp-head__title, .spd-title { color: var(--hg-navy); }
.news-header__title, .sp-head__title { letter-spacing: -.035em; }

/* Shared controls. */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="url"], input[type="number"], input[type="password"], select, textarea {
  min-height: 44px;
  border: 1px solid #d6e0ec;
  border-radius: var(--hg-radius-sm);
  background-color: #fff;
  color: var(--hg-ink);
  font-size: 15px;
  line-height: 1.4;
}
textarea { min-height: 120px; padding-top: 11px; }
input::placeholder, textarea::placeholder { color: #8996a8; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: #7eafe8; box-shadow: 0 0 0 3px rgba(8, 97, 220, .11); }
.button, button.button, input[type="submit"], .woocommerce a.button,
.woocommerce button.button, .woocommerce input.button {
  min-height: 42px;
  border-radius: var(--hg-radius-sm);
  font-weight: 700;
}
.button:disabled, button:disabled, input:disabled { cursor: not-allowed; }

/* Shared header: one compact desktop row, with a dedicated mobile search row. */
#header.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: #fff;
  box-shadow: 0 5px 18px rgba(18, 53, 101, .055);
}
#header .hd-top { border-bottom: 1px solid #edf1f6; background: #fff; }
#header .hd-top__inner {
  display: grid;
  grid-template-columns: 180px 156px minmax(220px, 1fr) auto;
  grid-template-areas: "brand category search actions";
  align-items: center;
  gap: 14px;
  width: min(1440px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  padding: 10px 0;
}
#header .hd-top__logo { grid-area: brand; min-width: 0; margin: 0; }
#header .hd-top__logo img { display: block !important; width: 180px; max-width: 100%; max-height: 54px; object-fit: contain; }
#header .hd-category { grid-area: category; min-width: 0; }
#header .hd-category > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--hg-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
#header .hd-category > summary:hover, #header .hd-category[open] > summary { background: var(--hg-blue-dark); }
#header .hd-category > summary .fa-bars { font-size: 18px; }
#header .hd-category__chevron { margin-left: auto; font-size: 11px; }
#header .hd-top__search {
  grid-area: search;
  display: flex !important;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 54px;
  overflow: hidden;
  border: 1px solid #d6dfea;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}
#header .hd-top__search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  box-shadow: none;
}
#header .hd-top__search button { flex: 0 0 54px; width: 54px; min-height: 0; border: 0; border-radius: 0; background: var(--hg-blue); color: #fff; font-size: 18px; }
#header .hd-top__search button:hover { background: var(--hg-blue-dark); }
#header .hd-top__actions { grid-area: actions; display: flex; align-items: center; gap: 0; }
#header .hd-top__action { min-height: 42px; gap: 9px; padding: 0 12px; border: 0; border-left: 1px solid #e4e9f0; border-radius: 0; background: transparent; color: var(--hg-ink); box-shadow: none; text-decoration: none; }
#header .hd-top__action:first-child { border-left: 0; }
#header .hd-top__action-icon { flex: 0 0 30px; width: 30px; height: 30px; color: var(--hg-blue); font-size: 19px; }
#header .hd-top__action-icon img { width: 25px; height: 25px; object-fit: contain; }
#header .hd-top__action-text small { color: #6e7c90; font-size: 11px; font-weight: 500; }
#header .hd-top__action-text strong { color: var(--hg-blue); font-size: 14px; font-weight: 750; white-space: nowrap; }
#header .hd-top__cart { width: 42px; height: 42px; flex: 0 0 42px; margin-left: 8px; border: 1px solid var(--hg-line); border-radius: 9px; background: #f8faff; color: var(--hg-navy); }
#header .hd-benefits { min-height: 46px; border-bottom: 1px solid #e8edf4; background: #fff; }
#header .hd-benefits__inner { display: flex; width: min(1320px, calc(100% - 48px)); min-height: 46px; align-items: center; justify-content: space-between; gap: 10px; margin: 0 auto; overflow: auto hidden; scrollbar-width: none; }
#header .hd-benefits__inner::-webkit-scrollbar { display: none; }
#header .hd-benefits__inner span { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 0 12px; color: #263750; font-size: 13px; font-weight: 600; white-space: nowrap; }
#header .hd-benefits__inner span:first-child { padding-left: 0; }
#header .hd-benefits__inner span + span { border-left: 1px solid #e6ebf2; }
#header .hd-benefits__inner i { color: var(--hg-blue); font-size: 15px; }

/* Refined category mega menu. */
#header .hd-category__panel { top: 140px !important; border: 1px solid var(--hg-line); border-radius: 16px; box-shadow: 0 22px 60px rgba(15, 35, 66, .24); }
#header .hd-category__sidebar { padding: 18px 12px; background: #fbfcfe; }
#header .hd-category__group { min-height: 46px; border-radius: 8px; font-size: 13px; }
#header .hd-category__content { padding: 20px; }
#header .hd-category__hero { min-height: 190px; border-radius: 12px; }
#header .hd-category__products { gap: 12px; }
#header .hd-category__product { border-radius: 10px; }

@media (min-width: 851px) and (max-width: 1199px) {
  #header .hd-top__inner {
    grid-template-columns: 164px minmax(0, 1fr) auto;
    grid-template-areas: "brand actions actions" "category search search";
    gap: 8px 14px;
    width: calc(100% - 40px);
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 0;
  }
  #header .hd-top__logo img { width: 160px; }
  #header .hd-top__actions { justify-self: end; }
  #header .hd-top__action { padding: 0 10px; }
  #header .hd-top__action-text strong { font-size: 13px; }
  #header .hd-top__search { height: 46px; }
  #header .hd-category > summary { min-height: 46px; }
  #header .hd-category__panel { top: 164px !important; }
  #header .hd-benefits__inner { display: flex !important; grid-template-columns: none !important; justify-content: flex-start !important; width: calc(100% - 40px) !important; overflow-x: auto !important; }
  #header .hd-benefits__inner span { flex: 0 0 auto !important; white-space: nowrap !important; }
}

@media (max-width: 850px) {
  #header.site-header { position: sticky; top: 0; }
  #header .hd-top__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-areas: "brand category actions" "search search search" !important;
    gap: 8px 10px !important;
    width: calc(100% - 28px) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 9px 0 10px !important;
  }
  #header .hd-top__logo { grid-area: brand !important; width: auto !important; min-width: 0 !important; }
  #header .hd-top__logo img { width: 148px !important; max-width: 100% !important; max-height: 42px !important; }
  #header .hd-category { grid-area: category !important; width: auto !important; min-width: 0 !important; }
  #header .hd-category > summary { min-height: 40px !important; gap: 8px; padding: 0 11px; border-radius: 8px; font-size: 13px; }
  #header .hd-category > summary .fa-bars { font-size: 15px; }
  #header .hd-category__chevron { display: none; }
  #header .hd-top__search { grid-area: search !important; grid-column: 1 / -1 !important; width: 100% !important; height: 44px !important; }
  #header .hd-top__search input[type="search"] { padding: 0 12px; font-size: 14px; }
  #header .hd-top__search button { flex-basis: 46px; width: 46px; font-size: 16px; }
  #header .hd-top__actions { grid-area: actions !important; display: flex !important; width: auto !important; justify-self: end !important; gap: 6px !important; }
  #header .hd-top__action { width: 38px; min-width: 38px; height: 38px; min-height: 38px; justify-content: center; padding: 0; border: 1px solid var(--hg-line); border-radius: 8px; }
  #header .hd-top__action + .hd-top__action { border-left: 1px solid var(--hg-line); }
  #header .hd-top__action-text { display: none; }
  #header .hd-top__action-icon { flex: 0 0 auto; width: auto; height: auto; font-size: 17px; }
  #header .hd-top__action-icon img { width: 22px; height: 22px; }
  #header .hd-top__cart { grid-column: auto !important; width: 38px !important; height: 38px !important; flex: 0 0 38px; margin: 0 !important; }
  #header .hd-benefits__inner { width: calc(100% - 28px); min-height: 40px; justify-content: flex-start; }
  #header .hd-benefits__inner span { gap: 7px; padding: 0 9px; font-size: 12px; }
  #header .hd-category__panel { top: 160px !important; width: calc(100vw - 24px) !important; height: min(74dvh, 620px); max-height: calc(100dvh - 172px) !important; }
  #header .hd-category__panels { max-height: calc(74dvh - 58px); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 28px); }
  #header .hd-top__inner { width: calc(100% - 24px) !important; grid-template-columns: minmax(0, 1fr) auto auto !important; gap: 7px 8px !important; }
  #header .hd-top__logo img { width: 134px !important; max-height: 38px !important; }
  #header .hd-category > summary { min-height: 38px; gap: 7px; padding: 0 9px; font-size: 12px; }
  #header .hd-top__actions { gap: 5px; }
  #header .hd-top__zalo, #header .hd-top__quote { display: none; }
  #header .hd-top__action, #header .hd-top__cart { width: 36px; min-width: 36px; height: 36px; min-height: 36px; flex-basis: 36px; }
  #header .hd-top__search { height: 42px; }
  #header .hd-top__search input[type="search"] { font-size: 13px; }
  #header .hd-benefits__inner { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 !important; width: 100% !important; min-height: 52px !important; overflow: visible !important; }
  #header .hd-benefits__inner span { display: flex; min-width: 0; min-height: 48px; justify-content: center; gap: 5px; padding: 4px 5px !important; font-size: 11px !important; line-height: 1.25; text-align: center; white-space: normal; }
  #header .hd-benefits__inner span:first-child { padding-left: 5px !important; }
  #header .hd-benefits__inner span:nth-child(n+4) { display: none !important; }
  #header .hd-benefits__inner span + span { border-left: 1px solid #e6ebf2; }
  #header .hd-category__panel { top: 166px !important; height: min(74dvh, 620px); max-height: calc(100dvh - 178px) !important; border-radius: 12px; }
  #header .hd-category__hero { min-height: 112px; }
  #header .hd-category__hero-copy strong { font-size: 18px; }
  #header .hd-category__content { padding: 10px; }
  #header .hd-category__services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #header .hd-category__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .hg-home-banner__copy { width: 66%; padding: 16px; }
  body.home .hg-home-banner__title { font-size: 24px; line-height: 1.08; }
  body.home .hg-home-banner__visual { width: 41%; padding-right: 4px; }
}

/* Home modules use the same quiet page canvas and evenly weighted type scale. */
body.home { background: #f1f5fb !important; }
body.home .lp-partners--strip, body.home .hg-solutions, body.home .hg-home-projects, body.home .lp-blog { background: #f1f5fb !important; }
body.home .hg-home-section-head h2,
body.home .hg-solutions__heading h2 { color: var(--hg-navy) !important; font-size: clamp(23px, 2.4vw, 30px) !important; font-weight: 750 !important; letter-spacing: -.03em; }
body.home .hg-home-section-head p { color: var(--hg-muted); font-size: 14px; }
body.home .hg-home-project { border: 1px solid var(--hg-line); border-radius: 12px; box-shadow: 0 4px 16px rgba(18, 53, 101, .07); }
body.home .hg-home-project__title { padding: 11px 12px; font-size: 13px; }
body.home .hg-solution-card { overflow: hidden; border: 1px solid var(--hg-line) !important; border-radius: 12px !important; box-shadow: 0 4px 14px rgba(18, 53, 101, .06); }
body.home .hg-solution-card__title { color: var(--hg-ink); font-size: 13px !important; }
body.home .lp-process__step { border: 1px solid var(--hg-line); border-radius: 12px; box-shadow: 0 4px 16px rgba(18, 53, 101, .055); }
body.home .lp-process__step h4 { color: var(--hg-navy); font-size: 15px; }

/* Product, category and article grids share card borders, radii and content spacing. */
.woocommerce ul.products li.product, .hg-solution-card, .hg-home-project,
.woo-product-card, .news-card, .ncard, .post-card {
  border-color: var(--hg-line);
  border-radius: var(--hg-radius);
}
.woocommerce ul.products li.product:hover, .woo-product-card:hover { box-shadow: var(--hg-card-shadow); }
.woocommerce-loop-product__title { color: var(--hg-navy); line-height: 1.45; }
.woocommerce .woocommerce-breadcrumb, .woocommerce-breadcrumb { color: var(--hg-muted); font-size: 13px; }
.woocommerce div.product .product_title, .woocommerce-products-header__title { color: var(--hg-navy); letter-spacing: -.025em; }
.spd-title { font-size: clamp(22px, 2vw, 26px) !important; line-height: 1.3 !important; }
.spd-desc-content h2, .spd-desc-title { font-size: clamp(21px, 2vw, 25px) !important; line-height: 1.4 !important; }
.spd-desc-content h3 { font-size: clamp(18px, 1.8vw, 21px) !important; line-height: 1.4 !important; }
.spd-desc-content p, .spd-desc-content li { line-height: 1.75 !important; }
.news-card, .ncard, .post-card { box-shadow: 0 5px 18px rgba(18, 53, 101, .055); }

/* Floating contact controls stay reachable without covering mobile content. */
.hg-float-contact { z-index: 1000; }
@media (max-width: 560px) {
  .hg-float-contact { right: 12px !important; bottom: max(12px, env(safe-area-inset-bottom)) !important; }
  .hg-float__btn--zalo { width: 48px !important; min-width: 48px !important; height: 48px !important; }
  .page-main { padding: 20px 16px; }
  .page-content { font-size: 15px; line-height: 1.75; }
  .page-content img, .sp-content img { height: auto; }
  .lh2__hero-inner { padding-top: 38px; padding-bottom: 34px; }
  .lh2__main { padding-top: 32px; }
  .lh2__map-wrap { min-height: 300px; }
  .woocommerce-cart table.cart, .woocommerce-checkout form.checkout,
  .woocommerce-cart .cart_totals, .woocommerce-checkout #order_review { border-radius: 12px; }
  .woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Service/category archives mirror the reference's hero, client strip and featured-service tabs. */
body.tax-product_cat .arc-header,
body.archive.woocommerce .arc-header {
  padding: 12px 0 24px !important;
  border: 0 !important;
  background: #eef4ff !important;
}
body.tax-product_cat .arc-header > .container,
body.archive.woocommerce .arc-header > .container { max-width: 1320px !important; }
body.tax-product_cat .arc-header__hero,
body.archive.woocommerce .arc-header__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 30%);
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 245px;
  padding: clamp(22px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid #dce8fb;
  border-radius: 18px;
  background: linear-gradient(115deg, #fff 0%, #f8fbff 57%, #e4efff 100%);
  box-shadow: 0 12px 36px rgba(25, 72, 137, .07);
}
body.tax-product_cat .arc-header__hero::after,
body.archive.woocommerce .arc-header__hero::after {
  position: absolute;
  right: 19%;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(8, 97, 220, .055);
  content: "";
  pointer-events: none;
}
body.tax-product_cat .arc-header__copy,
body.archive.woocommerce .arc-header__copy { position: relative; z-index: 1; }
body.tax-product_cat .arc-header__eyebrow,
body.archive.woocommerce .arc-header__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #1761c7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
body.tax-product_cat .arc-header__title,
body.archive.woocommerce .arc-header__title {
  margin: 0;
  color: #122d52 !important;
  font-size: clamp(27px, 3vw, 38px) !important;
  font-weight: 850 !important;
  line-height: 1.17 !important;
}
body.tax-product_cat .arc-header__count,
body.archive.woocommerce .arc-header__count {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #54708f !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  vertical-align: middle;
}
body.tax-product_cat .arc-header__intro,
body.archive.woocommerce .arc-header__intro {
  max-width: 660px;
  margin: 12px 0 17px;
  color: #596b82;
  font-size: 14px;
  line-height: 1.65;
}
body.tax-product_cat .arc-header__cta,
body.archive.woocommerce .arc-header__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 8px;
  background: #075bd5;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
body.tax-product_cat .arc-header__cta:hover,
body.archive.woocommerce .arc-header__cta:hover { background: #064fb5; color: #fff; }
body.tax-product_cat .arc-header__visual,
body.archive.woocommerce .arc-header__visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 1.36 / 1;
  place-items: center;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,.86);
  border-radius: 14px;
  background: #dceaff;
  box-shadow: 0 12px 25px rgba(25, 72, 137, .13);
}
body.tax-product_cat .arc-header__visual img,
body.archive.woocommerce .arc-header__visual img { width: 100%; height: 100%; object-fit: cover; }
body.tax-product_cat .arc-header__visual > span,
body.archive.woocommerce .arc-header__visual > span { color: #1761c7; font-size: 44px; }
body.tax-product_cat .arc-partners,
body.archive.woocommerce .arc-partners { padding: 18px 0 22px !important; background: #f7f9fd !important; }
body.tax-product_cat .arc-partners .lp-partners__grid,
body.archive.woocommerce .arc-partners .lp-partners__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
body.tax-product_cat .arc-partners .lp-partners__item,
body.archive.woocommerce .arc-partners .lp-partners__item { height: 55px; padding: 4px; border: 0; background: transparent; box-shadow: none; }
body.tax-product_cat .arc-partners .lp-partners__item img,
body.archive.woocommerce .arc-partners .lp-partners__item img { max-height: 46px; filter: grayscale(1); opacity: .5; }

body.tax-product_cat .hg-service-showcase,
body.archive.woocommerce .hg-service-showcase { padding: 30px 0 24px; background: #fff; }
body.tax-product_cat .hg-service-showcase .hg-solutions__heading,
body.archive.woocommerce .hg-service-showcase .hg-solutions__heading { max-width: none; margin: 0 0 15px; text-align: left; }
body.tax-product_cat .hg-service-showcase .hg-solutions__heading h2,
body.archive.woocommerce .hg-service-showcase .hg-solutions__heading h2 { margin-bottom: 4px; font-size: clamp(22px, 2.3vw, 28px); }
body.tax-product_cat .hg-service-showcase .hg-solutions__heading p,
body.archive.woocommerce .hg-service-showcase .hg-solutions__heading p { font-size: 13px; }
body.tax-product_cat .hg-service-showcase .hg-solution-tabs,
body.archive.woocommerce .hg-service-showcase .hg-solution-tabs {
  justify-content: flex-start;
  gap: 4px;
  margin: 0;
  padding: 4px 8px 0;
  border-bottom: 1px solid #075bd5;
  background: #f4f7fc;
  scrollbar-width: thin;
}
body.tax-product_cat .hg-service-showcase .hg-solution-tab,
body.archive.woocommerce .hg-service-showcase .hg-solution-tab { border-radius: 8px 8px 0 0; }
body.tax-product_cat .hg-service-showcase__panel,
body.archive.woocommerce .hg-service-showcase__panel { padding: 18px; border-radius: 0 0 14px 14px; background: #075bd5; }
body.tax-product_cat .hg-service-showcase__panel .hg-solution-panel__intro,
body.archive.woocommerce .hg-service-showcase__panel .hg-solution-panel__intro { max-width: 980px; color: rgba(255,255,255,.9); }
body.tax-product_cat .hg-service-showcase__panel .hg-solution-grid,
body.archive.woocommerce .hg-service-showcase__panel .hg-solution-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body.tax-product_cat .hg-service-showcase__panel .hg-solution-card,
body.archive.woocommerce .hg-service-showcase__panel .hg-solution-card { border: 0; border-radius: 9px; }
body.tax-product_cat .hg-service-showcase__panel .hg-solution-card__image,
body.archive.woocommerce .hg-service-showcase__panel .hg-solution-card__image { aspect-ratio: 1.3 / 1; }
body.tax-product_cat .hg-service-showcase__links,
body.archive.woocommerce .hg-service-showcase__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
body.tax-product_cat .hg-service-showcase__links a,
body.archive.woocommerce .hg-service-showcase__links a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }
body.tax-product_cat .hg-service-showcase__links a:hover,
body.archive.woocommerce .hg-service-showcase__links a:hover { background: rgba(255,255,255,.14); }

body.tax-product_cat .arc-products__heading,
body.archive.woocommerce .arc-products__heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 0 0 8px; }
body.tax-product_cat .arc-products__heading h2,
body.archive.woocommerce .arc-products__heading h2 { margin: 0; color: var(--hg-ink); font-size: clamp(22px, 2.2vw, 28px); font-weight: 850; line-height: 1.2; }
body.tax-product_cat .arc-products__heading .hg-eyebrow,
body.archive.woocommerce .arc-products__heading .hg-eyebrow { margin-bottom: 3px; }
body.tax-product_cat .arc-products__heading > span,
body.archive.woocommerce .arc-products__heading > span { color: var(--hg-muted); font-size: 12px; font-weight: 700; }

@media (max-width: 900px) {
  body.tax-product_cat .arc-header__hero,
  body.archive.woocommerce .arc-header__hero { grid-template-columns: minmax(0, 1fr) minmax(180px, 30%); }
  body.tax-product_cat .hg-service-showcase__panel .hg-solution-grid,
  body.archive.woocommerce .hg-service-showcase__panel .hg-solution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.tax-product_cat .arc-partners .lp-partners__grid,
  body.archive.woocommerce .arc-partners .lp-partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.tax-product_cat .arc-header,
  body.archive.woocommerce .arc-header { padding: 8px 0 16px !important; }
  body.tax-product_cat .arc-header__hero,
  body.archive.woocommerce .arc-header__hero { grid-template-columns: minmax(0, 1fr) 82px; gap: 10px; min-height: 0; padding: 18px 15px; border-radius: 13px; }
  body.tax-product_cat .arc-header__eyebrow,
  body.archive.woocommerce .arc-header__eyebrow { margin-bottom: 5px; font-size: 9px; }
  body.tax-product_cat .arc-header__title,
  body.archive.woocommerce .arc-header__title { font-size: 22px !important; }
  body.tax-product_cat .arc-header__count,
  body.archive.woocommerce .arc-header__count { display: block; width: max-content; margin: 7px 0 0; padding: 3px 7px; font-size: 10px !important; }
  body.tax-product_cat .arc-header__intro,
  body.archive.woocommerce .arc-header__intro { display: -webkit-box; margin: 8px 0 10px; overflow: hidden; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  body.tax-product_cat .arc-header__cta,
  body.archive.woocommerce .arc-header__cta { min-height: 34px; gap: 6px; padding: 0 9px; font-size: 10px; }
  body.tax-product_cat .arc-header__visual,
  body.archive.woocommerce .arc-header__visual { width: 82px; aspect-ratio: 1; border-width: 3px; border-radius: 10px; }
  body.tax-product_cat .arc-partners,
  body.archive.woocommerce .arc-partners { padding: 10px 0 12px !important; }
  body.tax-product_cat .arc-partners .lp-partners__grid,
  body.archive.woocommerce .arc-partners .lp-partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  body.tax-product_cat .arc-partners .lp-partners__item,
  body.archive.woocommerce .arc-partners .lp-partners__item { height: 42px; }
  body.tax-product_cat .arc-partners .lp-partners__item img,
  body.archive.woocommerce .arc-partners .lp-partners__item img { max-height: 34px; }
  body.tax-product_cat .hg-service-showcase,
  body.archive.woocommerce .hg-service-showcase { padding: 22px 0 16px; }
  body.tax-product_cat .hg-service-showcase .hg-solutions__heading,
  body.archive.woocommerce .hg-service-showcase .hg-solutions__heading { margin-bottom: 10px; }
  body.tax-product_cat .hg-service-showcase .hg-solution-tabs,
  body.archive.woocommerce .hg-service-showcase .hg-solution-tabs { gap: 2px; padding: 4px 5px 0; }
  body.tax-product_cat .hg-service-showcase .hg-solution-tab,
  body.archive.woocommerce .hg-service-showcase .hg-solution-tab { padding: 9px 11px; font-size: 11px; }
  body.tax-product_cat .hg-service-showcase__panel,
  body.archive.woocommerce .hg-service-showcase__panel { padding: 10px; border-radius: 0 0 10px 10px; }
  body.tax-product_cat .hg-service-showcase__panel .hg-solution-grid,
  body.archive.woocommerce .hg-service-showcase__panel .hg-solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  body.tax-product_cat .hg-service-showcase__panel .hg-solution-card__body,
  body.archive.woocommerce .hg-service-showcase__panel .hg-solution-card__body { padding: 9px; }
  body.tax-product_cat .hg-service-showcase__panel .hg-solution-card__title,
  body.archive.woocommerce .hg-service-showcase__panel .hg-solution-card__title { min-height: 35px; font-size: 11px; }
  body.tax-product_cat .hg-service-showcase__panel .hg-solution-card__price,
  body.archive.woocommerce .hg-service-showcase__panel .hg-solution-card__price { font-size: 10px; }
  body.tax-product_cat .hg-service-showcase__links,
  body.archive.woocommerce .hg-service-showcase__links { gap: 5px; margin-top: 9px; }
  body.tax-product_cat .hg-service-showcase__links a,
  body.archive.woocommerce .hg-service-showcase__links a { padding: 6px 8px; font-size: 10px; }
  body.tax-product_cat .arc-products__heading,
  body.archive.woocommerce .arc-products__heading { margin-bottom: 4px; }
  body.tax-product_cat .arc-products__heading > span,
  body.archive.woocommerce .arc-products__heading > span { font-size: 10px; }
}
