/* Shop hub only. Shares the catalog's white cards, 12px corners and blue links.
 * Separate from ACSS generation; all existing Bricks content/links stay native. */
#brxe-shlsec {
  background: #f5f6f8;
  padding: 40px clamp(18px, 5.56vw, 80px) !important;
}
#brxe-shlcon {
  width: 100%;
  max-width: 1120px;
  padding: 0 !important;
  margin-inline: auto;
  gap: 28px !important;
}
#brxe-shltop {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas: "icon title" ". description";
  gap: 10px 18px;
  align-items: center;
  text-align: left;
  padding: 0 !important;
  margin: 0 !important;
  border: 0;
}
#brxe-shltoptw { display: contents; }
#brxe-shltopib {
  grid-area: icon;
  width: 52px;
  height: 52px;
  background: #eaf2fc;
  border-radius: 12px;
}
#brxe-shltopic { color: #1464c8; font-size: 26px; }
#brxe-shltoph1 {
  grid-area: title;
  margin: 0;
  min-width: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 700;
  color: #0e2b5b;
  text-transform: none;
  text-align: left;
}
#brxe-shltopp {
  grid-area: description;
  width: 100%;
  max-width: 760px;
  margin: 0;
  color: #536174;
  font-size: 17px !important;
  line-height: 1.55 !important;
  text-align: left;
}
#brxe-shlgrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px !important;
  align-items: stretch;
}
#brxe-shlgrid > .brxe-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 88px auto 1fr auto;
  grid-template-areas: "icon" "title" "description" "link";
  gap: 12px;
  align-items: start;
  min-width: 0;
  height: 100%;
  padding: 24px !important;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#brxe-shlgrid > .brxe-block > .brxe-icon {
  grid-area: icon;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: 80px;
  height: 80px;
  margin: 0;
  background: #f0f5fc;
  border-radius: 12px;
  color: #1464c8;
  font-size: 34px;
}
#brxe-shlgrid > .brxe-block > h3 {
  grid-area: title;
  margin: 0;
  color: #0e2b5b;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}
#brxe-shlgrid > .brxe-block > p {
  grid-area: description;
  margin: 0;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #536174;
}
#brxe-shlgrid > .brxe-block > a {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  margin: 0;
  color: #1464c8;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}
#brxe-shlgrid > .brxe-block:hover,
#brxe-shlgrid > .brxe-block:focus-within {
  border-color: #9cbce5;
  box-shadow: 0 8px 32px rgba(20, 61, 122, .12);
  transform: translateY(-2px);
  background: #fff;
}
#brxe-shlgrid > .brxe-block:active,
#brxe-shlgrid > .brxe-block.xp-card-pressed {
  transform: translateY(0) scale(.985);
  box-shadow: 0 3px 12px rgba(20, 61, 122, .12);
}
#brxe-shlgrid > .brxe-block > a:hover { text-decoration: underline; }
#brxe-shlgrid > .brxe-block > a:focus-visible {
  outline: 2px solid #1464c8;
  outline-offset: 4px;
  border-radius: 3px;
}
@media (max-width: 1099px) {
  #brxe-shlgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #brxe-shlgrid > .brxe-block {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "icon title" "icon description" "icon link";
    gap: 6px 16px;
    padding: 20px !important;
  }
  #brxe-shlgrid > .brxe-block > .brxe-icon { width: 72px; height: 80px; }
  #brxe-shlgrid > .brxe-block > h3 { font-size: 20px; }
}
@media (max-width: 767px), (max-width: 991px) and (orientation: landscape) {
  #brxe-shlsec { padding: 26px 18px !important; }
  #brxe-shlcon { gap: 22px !important; }
  #brxe-shltop {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "icon title" "description description";
    gap: 14px 12px;
  }
  #brxe-shltopib { width: 40px; height: 40px; border-radius: 10px; }
  #brxe-shltopic { font-size: 23px; }
  #brxe-shltoph1 { font-size: 24px; }
  #brxe-shltopp { font-size: 15px !important; }
  #brxe-shlgrid { gap: 12px !important; }
  #brxe-shlgrid > .brxe-block {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 14px !important;
    min-height: 144px;
  }
  #brxe-shlgrid > .brxe-block > .brxe-icon { width: 64px; height: 80px; font-size: 30px; }
  #brxe-shlgrid > .brxe-block > h3 { font-size: 18px; line-height: 1.3; }
  #brxe-shlgrid > .brxe-block > p { font-size: 14px !important; }
  #brxe-shlgrid > .brxe-block > a { font-size: 15px; }
}
@media (max-width: 639px) {
  #brxe-shlgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #brxe-shlgrid > .brxe-block { transition: none; }
  #brxe-shlgrid > .brxe-block:is(:hover, :focus-within, :active, .xp-card-pressed) { transform: none; }
}
