/* Brazilcomp theme component: components */

/* Catalog template */
.bc-shop {
  width: min(calc(100% - 48px), var(--container));
  padding: 56px 0 110px;
  margin-inline: auto;
}

.bc-contact-location { padding: 0 0 100px; color: #fff; background: var(--bg); }
.bc-contact-location__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.72fr); gap: 64px; align-items: end; padding: 46px; background: radial-gradient(circle at 86% 20%, rgba(0,169,197,.2), transparent 28%), #0d2b45; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
.bc-contact-location h2 { max-width: 650px; margin: 10px 0 16px; color: #fff; font-size: clamp(2rem,4vw,3.8rem); }
.bc-contact-location p:not(.eyebrow) { max-width: 600px; color: #b4c4d0; }
.bc-contact-location__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.bc-contact-location address { padding: 28px; color: #b8c9d5; background: rgba(5,19,32,.52); border: 1px solid rgba(255,255,255,.11); border-radius: 12px; font-style: normal; line-height: 1.8; }
.bc-contact-location address span { display: block; margin-bottom: 12px; color: #7ce0eb; font: 800 .72rem "Manrope",sans-serif; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 780px) { .bc-contact-location__grid { grid-template-columns: 1fr; gap: 32px; padding: 30px 24px; } }

/* Legal documents */
.bc-legal-page { color: var(--text); background: var(--bg); }
.bc-legal-hero { padding: 72px 0 76px; background: radial-gradient(circle at 82% 16%, rgba(0,169,197,.16), transparent 30%), linear-gradient(145deg, #071527, #0d2d48); border-bottom: 1px solid rgba(255,255,255,.09); }
.bc-legal-hero .container { max-width: 980px; }
.bc-legal-breadcrumb { display: flex; gap: 10px; margin-bottom: 42px; color: rgba(255,255,255,.58); font-size: .75rem; }
.bc-legal-breadcrumb a { color: #8de3ee; }
.bc-legal-hero h1 { max-width: 820px; margin: 10px 0 18px; color: #fff; font-size: clamp(2.65rem, 6vw, 5.8rem); letter-spacing: -.055em; }
.bc-legal-hero > .container > p:last-of-type { max-width: 720px; color: #b8c8d4; font-size: 1.05rem; }
.bc-legal-hero time { display: inline-flex; margin-top: 28px; color: #75d9e7; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bc-legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 72px; align-items: start; padding-block: 80px 110px; }
.bc-legal-summary { position: sticky; top: 110px; display: flex; flex-direction: column; padding: 24px; background: var(--bg-elevated); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; }
.bc-legal-summary > span { color: #74dce9; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bc-legal-summary strong { margin: 12px 0 7px; color: #fff; font: 700 1rem "Manrope", sans-serif; }
.bc-legal-summary p { margin-bottom: 20px; color: var(--muted); font-size: .78rem; }
.bc-legal-summary a { padding-top: 16px; color: #8de3ee; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; font-weight: 800; }
.bc-legal-document section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.09); }
.bc-legal-document section:last-child { border-bottom: 0; }
.bc-legal-document h2 { margin-bottom: 16px; color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.bc-legal-document p, .bc-legal-document li { color: #aebfcb; line-height: 1.82; }
.bc-legal-document ul { padding-left: 20px; margin-block: 15px; }
.bc-legal-document li + li { margin-top: 8px; }
.bc-legal-document a { color: #78dce9; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .bc-legal-layout { grid-template-columns: 1fr; gap: 36px; padding-block: 54px 76px; }
  .bc-legal-summary { position: static; }
}

@media (max-width: 560px) {
  .bc-legal-hero { padding: 48px 0 54px; }
  .bc-legal-breadcrumb { margin-bottom: 30px; }
  .bc-legal-hero h1 { font-size: clamp(2.35rem, 14vw, 3.55rem); }
}

.bc-shop__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 60px;
  align-items: end;
  padding: 38px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.bc-shop__hero > div:first-child {
  max-width: 850px;
}

.bc-shop__hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.bc-shop__hero .term-description {
  max-width: 670px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.03rem;
}

.bc-shop__hero .term-description p:last-child {
  margin-bottom: 0;
}

.bc-shop__hero-meta {
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.bc-shop__hero-meta strong,
.bc-shop__hero-meta span {
  display: block;
}

.bc-shop__hero-meta strong {
  color: #fff;
  font: 800 3rem/1 "Manrope", sans-serif;
  letter-spacing: -.06em;
}

.bc-shop__hero-meta span {
  margin-top: 8px;
  color: var(--muted);
  font-size: .74rem;
}

.bc-shop__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  margin-bottom: 28px;
}

.bc-shop__toolbar-copy {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: .8rem;
}

.bc-shop__toolbar-copy > span {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 166, 106, .11);
}

.bc-shop__toolbar .woocommerce-result-count,
.bc-shop__toolbar .woocommerce-ordering {
  float: none !important;
  margin: 0 !important;
}

.bc-shop__ordering select {
  min-width: 250px;
  min-height: 46px;
  padding: 0 42px 0 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
}

.bc-shop ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  padding: 0;
  margin: 0 !important;
}

.bc-shop ul.products::before,
.bc-shop ul.products::after {
  display: none !important;
}

.bc-shop ul.products li.bc-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: auto !important;
  min-width: 0;
  padding: 0;
  margin: 0 !important;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .15);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.bc-shop ul.products li.bc-product-card:hover {
  border-color: rgba(0, 169, 197, .42);
  box-shadow: 0 25px 55px rgba(0, 0, 0, .28);
  transform: translateY(-6px);
}

.bc-product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin: 12px 12px 0;
  background: #f7f9fa;
  border-radius: 11px;
  overflow: hidden;
}

.bc-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  padding: 24px;
  margin: 0 !important;
  object-fit: contain;
  border-radius: 0 !important;
  transition: transform 480ms cubic-bezier(.2, .7, .2, 1);
}

.bc-product-card:hover .bc-product-card__media img {
  transform: scale(1.045);
}

.bc-product-card__view {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.bc-product-card:hover .bc-product-card__view {
  opacity: 1;
  transform: none;
}

.bc-product-card__media .onsale {
  top: 13px !important;
  right: auto !important;
  left: 13px !important;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  padding: 7px 10px;
  color: var(--navy-950);
  background: #7ee1ed;
  border-radius: 99px;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.bc-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 20px 20px;
}

.bc-product-card__category {
  min-height: 18px;
  margin-bottom: 8px;
  color: #70d6e5;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bc-product-card__category a:hover {
  color: #fff;
}

.bc-product-card .woocommerce-loop-product__title {
  min-height: 2.7em !important;
  padding: 0 !important;
  margin: 0 0 11px !important;
  font-size: 1.02rem !important;
  line-height: 1.35;
}

.bc-product-card .woocommerce-loop-product__title a {
  color: var(--text);
}

.bc-product-card__sku {
  width: fit-content;
  padding: 6px 8px;
  margin-bottom: 19px;
  color: #8ee2ed;
  background: rgba(0, 169, 197, .08);
  border: 1px solid rgba(0, 169, 197, .25);
  border-radius: 4px;
  font: 800 .64rem/1 "DM Sans", monospace;
  letter-spacing: .07em;
}

.bc-product-card__commercial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: end;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.bc-product-card__commercial .star-rating {
  margin: 0 0 8px;
  color: #ffc75a;
  font-size: .72rem;
}

.bc-product-card__commercial .price {
  min-height: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  font: 800 1.04rem/1.25 "Manrope", sans-serif !important;
}

.bc-product-card__commercial .price del {
  display: block;
  color: var(--muted);
  font-size: .72em;
}

.bc-product-card__commercial .price ins {
  text-decoration: none;
}

.bc-product-card__commercial .button {
  width: 46px !important;
  min-width: 46px;
  min-height: 46px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
}

.bc-product-card__commercial .button::before {
  content: "+";
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
}

.bc-product-card__commercial .added_to_cart {
  grid-column: 1 / -1;
  color: #83e1ec;
  font-size: .74rem;
  font-weight: 700;
}

.bc-shop__empty {
  padding: 70px 30px;
  color: var(--muted);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  text-align: center;
}

/* Professional account shell and dashboard */
body.logged-in.woocommerce-account .page-hero {
  display: none;
}

body.logged-in.woocommerce-account .content-area {
  padding-top: 68px;
}

body.logged-in.woocommerce-account .entry-content > .woocommerce {
  display: block;
}

.bc-account {
  width: 100%;
}

.bc-account__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 34px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.bc-account__header span {
  display: block;
  margin-bottom: 7px;
  color: #74dbe7;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bc-account__header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.bc-account__header > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: .88rem;
}

.bc-account__layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.bc-account__layout .woocommerce-MyAccount-navigation,
.bc-account__layout .woocommerce-MyAccount-content {
  float: none;
  width: auto;
}

.bc-account__content {
  min-height: 520px;
}

.bc-dashboard__welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.bc-dashboard__welcome span {
  color: #72d9e7;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bc-dashboard__welcome h2 {
  margin: 5px 0 9px;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.bc-dashboard__welcome p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: .87rem;
}

.bc-dashboard__welcome > a {
  flex: 0 0 auto;
  color: #7ddbea !important;
  font-size: .75rem;
  font-weight: 700;
}

.bc-dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 30px;
}

.bc-dashboard__metrics > div {
  display: flex;
  flex-direction: column;
  min-height: 165px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  transition: border-color var(--transition), transform var(--transition);
}

.bc-dashboard__metrics > div:hover {
  border-color: rgba(0, 169, 197, .35);
  transform: translateY(-3px);
}

.bc-dashboard__metrics span {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bc-dashboard__metrics strong {
  display: block;
  margin: 12px 0;
  color: #fff !important;
  font: 800 2rem/1 "Manrope", sans-serif;
}

.bc-dashboard__metrics a {
  margin-top: auto;
  color: #7edce8 !important;
  font-size: .72rem;
  font-weight: 700;
}

.bc-dashboard__actions {
  padding-top: 5px;
}

.bc-dashboard__actions h3 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 1.1rem;
}

.bc-dashboard__actions > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bc-dashboard__actions a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 18px;
  color: var(--text) !important;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  text-decoration: none !important;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.bc-dashboard__actions a:hover {
  background: rgba(0, 169, 197, .07);
  border-color: rgba(0, 169, 197, .32);
  transform: translateY(-3px);
}

.bc-dashboard__actions a > span {
  color: #65cfde;
  font-size: .63rem;
  font-weight: 800;
}

.bc-dashboard__actions a > strong {
  margin: auto 0 4px;
  color: var(--text) !important;
  font-size: .9rem;
}

.bc-dashboard__actions a > small {
  color: var(--muted);
  font-size: .7rem;
}
/* Technical content hub */
.bc-content-search {
  padding: 24px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
}

.bc-content-search label {
  display: block;
  margin-bottom: 9px;
  color: #add4dc;
  font-size: .7rem;
  font-weight: 700;
}

.bc-content-search > div {
  display: flex;
}

.bc-content-search input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px 0 0 6px;
  outline: 0;
}

.bc-content-search button {
  padding: 0 19px;
  color: #fff;
  background: var(--blue-600);
  border: 0;
  border-radius: 0 6px 6px 0;
  font-weight: 800;
  cursor: pointer;
}

.bc-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.bc-article-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 15px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.bc-article-card:hover {
  border-color: rgba(0, 169, 197, .35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .24);
  transform: translateY(-5px);
}

.bc-article-card__media {
  display: block;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
}

.bc-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.bc-article-card:hover .bc-article-card__media img {
  transform: scale(1.045);
}

.bc-article-card__body {
  padding: 23px;
}

.bc-article-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: .65rem;
  text-transform: uppercase;
}

.bc-article-card__meta span {
  color: #6fd5e3;
  font-weight: 800;
}

.bc-article-card h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.2rem;
}

.bc-article-card p {
  color: var(--muted);
  font-size: .82rem;
}

.bc-article-card .text-link {
  color: #7bdbe7;
  font-size: .74rem;
}

.bc-pagination ul {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 0;
  margin: 45px 0 0;
  list-style: none;
}

.bc-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
}

.bc-pagination .current,
.bc-pagination a:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.bc-empty-state {
  padding: 70px 30px;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
}

.bc-empty-state h2 {
  color: var(--text);
}

.bc-empty-state p {
  color: var(--muted);
}

/* Contact */
.bc-contact-availability {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
}

.bc-contact-availability > span {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(22, 166, 106, .12);
}

.bc-contact-availability strong,
.bc-contact-availability small {
  display: block;
}

.bc-contact-availability strong {
  color: #fff;
  font-size: .85rem;
}

.bc-contact-availability small {
  color: var(--muted);
  font-size: .69rem;
}

.bc-contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, .74fr) minmax(0, 1.26fr);
  gap: 80px;
  align-items: start;
}

.bc-contact-aside {
  position: sticky;
  top: 115px;
}

.bc-contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.bc-contact-methods > * {
  display: block;
  padding: 18px 20px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  transition: border-color var(--transition), transform var(--transition);
}

.bc-contact-methods a:hover {
  border-color: rgba(0, 169, 197, .34);
  transform: translateX(3px);
}

.bc-contact-methods span,
.bc-contact-methods strong,
.bc-contact-methods small {
  display: block;
}

.bc-contact-methods span {
  color: #68d2e1;
  font-size: .64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bc-contact-methods strong {
  margin: 6px 0 3px;
  color: var(--text);
  font-size: .9rem;
}

.bc-contact-methods small {
  color: var(--muted);
  font-size: .69rem;
}

.bc-contact-form-panel {
  padding: 36px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .2);
}

.bc-contact-form-panel__heading > span {
  color: #69d4e2;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bc-contact-form-panel__heading h2 {
  margin: 6px 0 7px;
  color: var(--text);
  font-size: 2rem;
}

.bc-contact-form-panel__heading p {
  color: var(--muted);
  font-size: .75rem;
}

.bc-contact-form {
  margin-top: 26px;
}

.bc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bc-contact-form p {
  margin-bottom: 16px;
}

.bc-contact-form label {
  display: block;
  margin-bottom: 7px;
  color: #c5d1db;
  font-size: .73rem;
  font-weight: 700;
}

.bc-contact-form input,
.bc-contact-form select,
.bc-contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  outline: 0;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.bc-contact-form textarea {
  min-height: 145px;
  padding-block: 12px;
  resize: vertical;
}

.bc-contact-form input:focus,
.bc-contact-form select:focus,
.bc-contact-form textarea:focus {
  background: var(--panel-strong);
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(0, 169, 197, .11);
}

.bc-contact-form .button {
  min-width: 210px;
}

.bc-contact-form .bc-form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.bc-contact-form .bc-form-consent input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  padding: 0;
  margin-top: 2px;
}

.bc-contact-form .bc-form-consent a {
  color: #7edce8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bc-honeypot {
  position: absolute;
  left: -9999px;
}

.bc-form-notice {
  padding: 14px 16px;
  margin-bottom: 22px;
  border: 1px solid;
  border-radius: 7px;
  font-size: .8rem;
}

.bc-form-notice--success {
  color: #89e3b7;
  background: rgba(22, 166, 106, .08);
  border-color: rgba(22, 166, 106, .3);
}

.bc-form-notice--error {
  color: #ffaaaa;
  background: rgba(255, 95, 95, .07);
  border-color: rgba(255, 95, 95, .28);
}

@media (max-width: 1120px) {
  .bc-shop ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .bc-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 72px);
  }

  .primary-menu,
  .primary-menu > li,
  .primary-menu > li > a {
    display: block;
    height: auto;
  }

  .primary-menu > li > a {
    display: flex;
  }

  .bc-shop {
    width: min(calc(100% - 36px), var(--container));
  }

  .bc-shop ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bc-account__header,
  .bc-section-heading,
  .bc-page-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .bc-account__layout {
    grid-template-columns: 1fr;
  }

  .bc-account__layout .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-page-hero__grid,
  .bc-story-grid,
  .bc-contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .bc-page-hero__index {
    display: none;
  }

  .bc-story-copy {
    order: -1;
  }

  .bc-contact-aside {
    position: static;
  }

  .bc-metrics-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-metrics-panel > div:nth-child(2) {
    border-right: 0;
  }

  .bc-metrics-panel > div:nth-child(-n+2) {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar .site-header.is-scrolled {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .header-left .custom-logo {
    width: 164px;
  }

  .bc-shop {
    width: min(calc(100% - 28px), var(--container));
    padding-block: 34px 72px;
  }

  .bc-shop__hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 38px;
  }

  .bc-shop__hero-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 0;
    border: 0;
  }

  .bc-shop__hero-meta strong {
    font-size: 2rem;
  }

  .bc-shop__hero-meta span {
    margin: 0;
  }

  .bc-shop__toolbar {
    align-items: stretch;
    flex-direction: column;
    min-height: 0;
    padding-block: 22px;
  }

  .bc-shop__ordering select {
    width: 100%;
  }

  .bc-shop ul.products {
    grid-template-columns: 1fr !important;
  }

  .bc-account__header {
    gap: 18px;
  }

  .bc-account__layout .woocommerce-MyAccount-navigation ul,
  .bc-dashboard__metrics,
  .bc-dashboard__actions > div,
  .bc-value-grid,
  .bc-metrics-panel,
  .bc-article-grid,
  .bc-form-grid {
    grid-template-columns: 1fr;
  }

  .bc-dashboard__welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .bc-page-hero {
    padding-block: 68px 60px;
  }

  .bc-page-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.1rem);
  }

  .bc-page-section {
    padding-block: 70px;
  }

  .bc-story-media img {
    min-height: 360px;
  }

  .bc-value-grid article {
    min-height: 210px;
  }

  .bc-value-grid article > span {
    margin-bottom: 42px;
  }

  .bc-metrics-panel {
    padding: 15px 0;
  }

  .bc-metrics-panel > div,
  .bc-metrics-panel > div:nth-child(2),
  .bc-metrics-panel > div:nth-child(-n+2) {
    padding: 22px 26px;
    margin: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .bc-metrics-panel > div:last-child {
    border-bottom: 0;
  }

  .bc-page-cta {
    padding-bottom: 70px;
  }

  .bc-page-cta .container {
    padding: 34px 24px;
  }

  .bc-contact-form-panel {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .bc-contact-form .button {
    width: 100%;
  }
}

/* ================================================================
   Institutional pages — shared catalog-aligned design system
   ================================================================ */
body.brazilcomp-internal-dark {
  color: var(--navy-950);
  background: #f3f7fa;
}

body.brazilcomp-internal-dark .bc-internal-page {
  color: var(--navy-950);
  background: #f3f7fa;
}

.bc-page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 116px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 169, 197, .2), transparent 28%),
    linear-gradient(135deg, #071527 0%, #0c2941 100%);
}

.bc-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 15%, #000);
}

.bc-page-hero--compact {
  padding-block: clamp(64px, 7vw, 98px);
}

.bc-page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: clamp(45px, 7vw, 96px);
  align-items: end;
}

.bc-page-hero__copy {
  max-width: 790px;
}

.bc-page-hero .eyebrow {
  color: #7bddea;
}

.bc-page-hero h1 {
  max-width: 850px;
  margin: 17px 0 23px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.bc-page-hero__copy > p:last-child {
  max-width: 690px;
  margin: 0;
  color: #b8c7d2;
  font-size: clamp(.98rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.bc-page-section {
  padding-block: clamp(70px, 8vw, 112px);
  color: var(--navy-950);
  background: #f3f7fa;
}

.bc-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .54fr);
  gap: 50px;
  align-items: end;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid #ccdbe3;
}

.bc-section-heading h2 {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--navy-950);
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  letter-spacing: -.045em;
}

.bc-section-heading > p {
  max-width: 510px;
  margin: 0;
  color: #526979;
  line-height: 1.75;
}

.bc-insights-page .bc-content-search {
  padding: 23px;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .17);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
}

.bc-insights-page .bc-content-search label {
  color: #b8dce3;
}

.bc-insights-page .bc-content-search input {
  color: #fff;
  background: rgba(5, 19, 32, .62);
}

.bc-insights-page .bc-article-card {
  color: var(--navy-950);
  background: #fff;
  border-color: #d7e2e8;
  box-shadow: 0 16px 38px rgba(8, 31, 51, .07);
}

.bc-insights-page .bc-article-card:hover {
  border-color: rgba(0, 131, 171, .38);
  box-shadow: 0 22px 50px rgba(8, 31, 51, .12);
}

.bc-insights-page .bc-article-card__meta {
  color: #687e8d;
}

.bc-insights-page .bc-article-card__meta span,
.bc-insights-page .bc-article-card .text-link {
  color: var(--blue-700);
}

.bc-insights-page .bc-article-card h3,
.bc-insights-page .bc-article-card h3 a {
  color: var(--navy-950);
}

.bc-insights-page .bc-article-card p {
  color: #526979;
}

.bc-insights-page .bc-empty-state {
  padding: clamp(54px, 7vw, 86px) 30px;
  color: var(--navy-950);
  background:
    linear-gradient(135deg, rgba(0, 169, 197, .08), transparent 55%),
    #fff;
  border: 1px solid #d7e2e8;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(8, 31, 51, .06);
}

.bc-insights-page .bc-empty-state h2 {
  color: var(--navy-950);
}

.bc-insights-page .bc-empty-state p {
  color: #526979;
}

.bc-pagination .page-numbers {
  color: var(--navy-950);
  background: #fff;
  border-color: #d4e0e6;
}

.bc-pagination .current,
.bc-pagination a:hover {
  color: #fff;
}

.bc-page-cta {
  padding-block: 46px;
  color: #fff;
  background: var(--navy-950);
}

.bc-page-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.bc-page-cta h2 {
  max-width: 790px;
  margin: 9px 0 0;
  color: #fff;
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
}

/* Contact: technical service desk on a clean catalog surface. */
.bc-contact-page .bc-contact-availability {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .17);
}

.bc-contact-page .bc-contact-layout {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 7vw, 84px);
}

.bc-contact-page .bc-contact-aside h2 {
  margin: 10px 0 17px;
  color: var(--navy-950);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  letter-spacing: -.04em;
}

.bc-contact-page .bc-contact-aside > p:not(.eyebrow) {
  color: #526979;
  line-height: 1.75;
}

.bc-contact-page .bc-contact-methods > * {
  color: var(--navy-950);
  background: #fff;
  border-color: #d7e2e8;
  box-shadow: 0 10px 28px rgba(8, 31, 51, .05);
}

.bc-contact-page .bc-contact-methods span {
  color: var(--blue-700);
}

.bc-contact-page .bc-contact-methods strong {
  color: var(--navy-950);
}

.bc-contact-page .bc-contact-methods small {
  color: #617786;
}

.bc-contact-page .bc-contact-form-panel {
  padding: clamp(28px, 4vw, 44px);
  color: var(--navy-950);
  background: #fff;
  border: 1px solid #d7e2e8;
  border-top: 4px solid var(--cyan-500);
  border-radius: 14px;
  box-shadow: 0 22px 55px rgba(8, 31, 51, .09);
}

.bc-contact-page .bc-contact-form-panel__heading > span {
  color: var(--blue-700);
}

.bc-contact-page .bc-contact-form-panel__heading h2 {
  color: var(--navy-950);
}

.bc-contact-page .bc-contact-form-panel__heading p {
  color: #617786;
}

.bc-contact-page .bc-contact-form label {
  color: #304a5d;
}

.bc-contact-page .bc-contact-form input,
.bc-contact-page .bc-contact-form select,
.bc-contact-page .bc-contact-form textarea {
  color: var(--navy-950);
  background: #f8fafb;
  border-color: #bccdd6;
}

.bc-contact-page .bc-contact-form input:focus,
.bc-contact-page .bc-contact-form select:focus,
.bc-contact-page .bc-contact-form textarea:focus {
  background: #fff;
}

.bc-contact-page .bc-contact-form .bc-form-consent a {
  color: var(--blue-700);
}

.bc-contact-page .bc-contact-location {
  padding-top: 0;
  background: #f3f7fa;
}

@media (max-width: 980px) {
  .bc-page-hero__grid,
  .bc-section-heading,
  .bc-contact-page .bc-contact-layout {
    grid-template-columns: 1fr;
  }

  .bc-page-hero__grid {
    gap: 34px;
  }

  .bc-contact-page .bc-contact-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .bc-page-hero,
  .bc-page-hero--compact {
    padding-block: 58px 62px;
  }

  .bc-page-hero h1 {
    margin-block: 14px 18px;
    font-size: clamp(2.65rem, 12vw, 3.8rem);
  }

  .bc-page-section {
    padding-block: 66px;
  }

  .bc-section-heading {
    gap: 18px;
    margin-bottom: 26px;
  }

  .bc-insights-page .bc-content-search,
  .bc-contact-page .bc-contact-form-panel {
    padding: 22px;
  }

  .bc-page-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .bc-page-cta .button {
    width: 100%;
  }
}
