/**
 * Layout inspirado no tema My Listing (listagem única) — apenas #c27-site-wrapper.sc-empresa-ml
 */
#c27-site-wrapper.sc-empresa-ml {
  --sc-ml-accent: #00a2ed;
  --sc-ml-accent-2: #162e3d;
  --sc-ml-page: #ecf0ff;
  --sc-ml-card: #fff;
  --sc-ml-text: #242429;
  --sc-ml-muted: #6b7280;
  --sc-ml-page-max: 1080px;
  --sc-ml-page-gutter: 15px;
  background-color: var(--sc-ml-page) !important;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  padding-bottom: 2rem;
}

/* Uma só coluna: hero, abas, atalhos e tabs alinhados à mesma largura */
.sc-empresa-ml #wa-listing-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.sc-empresa-ml #wa-listing-section > .main-info-mobile {
  display: none;
}

.sc-empresa-ml #wa-listing-section > .sc-empresa-wa-hero,
.sc-empresa-ml #wa-listing-section > .tab-content.listing-tabs {
  width: 100%;
  max-width: var(--sc-ml-page-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.sc-empresa-ml .case27-primary-text {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--sc-ml-text);
}

.sc-empresa-ml .container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.sc-empresa-ml .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.sc-empresa-ml .col-md-5,
.sc-empresa-ml .col-md-6,
.sc-empresa-ml .col-md-7,
.sc-empresa-ml .col-md-12 {
  position: relative;
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
}

@media (min-width: 992px) {
  .sc-empresa-ml .col-md-5 {
    flex: 0 0 41.666%;
    max-width: 41.666%;
  }
  .sc-empresa-ml .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .sc-empresa-ml .col-md-7 {
    flex: 0 0 58.333%;
    max-width: 58.333%;
  }
  .sc-empresa-ml .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Capa */
.sc-empresa-ml .featured-section.profile-cover {
  position: relative;
  background-color: #242429;
  background-size: cover;
  background-position: center;
  min-height: 200px;
  padding-bottom: 28% !important;
}

@media (min-width: 768px) {
  .sc-empresa-ml .featured-section.profile-cover {
    min-height: 260px;
    padding-bottom: 22% !important;
  }
}

.sc-empresa-ml .featured-section .overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sc-empresa-ml .main-info-desktop {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding-bottom: 8px;
}

.sc-empresa-ml .listing-main-info {
  background: transparent;
}

.sc-empresa-ml .profile-name {
  padding-top: 8px;
}

.sc-empresa-ml .profile-name.has-tagline .pa-below-title {
  margin-top: 6px;
}

.sc-empresa-ml a.profile-avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .sc-empresa-ml a.profile-avatar {
    width: 112px;
    height: 112px;
  }
}

.sc-empresa-ml .profile-name h1.case27-primary-text {
  margin: 12px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .sc-empresa-ml .profile-name h1.case27-primary-text {
    font-size: 1.75rem;
    margin-top: 16px;
  }
}

.sc-empresa-ml .verified-badge .verified-listing {
  vertical-align: middle;
}

.sc-empresa-ml .pa-below-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.sc-empresa-ml .listing-rating {
  display: inline-flex;
  gap: 2px;
  color: #f5a623;
  font-size: 18px;
  line-height: 1;
}

.sc-empresa-ml .listing-rating .mi,
.sc-empresa-ml .listing-rating i {
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}

.sc-empresa-ml .profile-tagline {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--sc-ml-muted);
}

.sc-empresa-ml .listing-main-buttons ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .sc-empresa-ml .listing-main-buttons ul {
    justify-content: flex-end;
    margin-top: 88px;
  }
}

.sc-empresa-ml .listing-main-buttons .lmb-calltoaction a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid #9d9d9d;
  background: #fff;
  color: var(--sc-ml-text);
  transition: background 0.15s, border-color 0.15s;
}

.sc-empresa-ml .listing-main-buttons .lmb-calltoaction a:hover {
  border-color: var(--sc-ml-accent);
  color: var(--sc-ml-accent);
}

.sc-empresa-ml .listing-main-buttons .lmb-calltoaction--wa a {
  border-color: #25d366;
  color: #128c7e;
}

.sc-empresa-ml .listing-main-buttons .lmb-calltoaction--wa a:hover {
  background: #e8fff1;
}

.sc-empresa-ml .listing-main-buttons .lmb-calltoaction--ig a {
  border-color: #c13584;
  color: #c13584;
}

/* Abas no rodapé do cartão do hero (wa-listing-tabs-in-hero) */
.sc-empresa-ml .sc-empresa-wa-hero .wa-listing-tabs-in-hero {
  margin-top: 8px;
  margin-left: calc(-1 * var(--sc-ml-page-gutter));
  margin-right: calc(-1 * var(--sc-ml-page-gutter));
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-listing-tabs {
  background: #f1f5f9;
  border-bottom: none;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-listing-tabs__toggle {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-listing-tabs__item.is-active .wa-listing-tabs__toggle {
  color: var(--sc-ml-accent);
  border-bottom-color: var(--sc-ml-accent);
  background: #fff;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-listing-tabs__toggle:hover {
  color: var(--sc-ml-text);
  background: rgba(0, 162, 237, 0.08);
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-listing-tabs__counter {
  background: var(--sc-ml-accent);
  color: #fff;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-listing-tabs__item:not(.is-active) .wa-listing-tabs__counter {
  background: #cbd5e1;
  color: var(--sc-ml-text);
}

@media (max-width: 600px) {
  /* Menos “respiro” entre redes/CTA do hero e abas Empresa | Avaliações */
  .sc-empresa-ml .sc-empresa-wa-hero .wa-listing-tabs-in-hero {
    margin-top: 0;
  }

  .sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-identity {
    padding-bottom: 6px;
  }

  .sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-text--hero-centered .wa-perfil-hero-cta-row {
    margin-top: 8px;
  }
}

/* Conteúdo das tabs: ocupa 100% da coluna já limitada pelo .tab-content */
.sc-empresa-ml .listing-tab .container {
  box-sizing: border-box;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--sc-ml-page-gutter);
  padding-right: var(--sc-ml-page-gutter);
}

.sc-empresa-ml .listing-tab .container > .row {
  margin-left: 0;
  margin-right: 0;
}

.sc-empresa-ml .listing-tab .container > .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.sc-empresa-ml .listing-tab .container > .row.listing-tab-grid {
  column-gap: 4px;
  row-gap: 4px;
}

.sc-empresa-ml .listing-tab-grid > .grid-item {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .sc-empresa-ml .listing-tab .container > .row.listing-tab-grid > .col-md-6 {
    flex: 0 0 calc(50% - 2px);
    max-width: calc(50% - 2px);
  }

  .sc-empresa-ml .listing-tab .container > .row.listing-tab-grid > .col-md-12.grid-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sc-empresa-ml .listing-tab .container > .row.sc-ml-reviews-row {
    column-gap: 24px;
    row-gap: 24px;
  }

  .sc-empresa-ml .listing-tab .container > .row.sc-ml-reviews-row > .col-md-7 {
    flex: 7 1 0;
    max-width: none;
    min-width: 0;
  }

  .sc-empresa-ml .listing-tab .container > .row.sc-ml-reviews-row > .col-md-5 {
    flex: 5 1 0;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 991px) {
  .sc-empresa-ml .listing-tab .container > .row.sc-ml-reviews-row > .col-md-7,
  .sc-empresa-ml .listing-tab .container > .row.sc-ml-reviews-row > .col-md-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Conteúdo em blocos */
.sc-empresa-ml .tab-content.listing-tabs {
  margin-top: 4px;
}

/* Empresa e Avaliações: mesma largura útil que o hero (filho de .tab-content com max-width 1080px) */
.sc-empresa-ml .tab-content.listing-tabs > .listing-tab {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sc-empresa-ml .listing-tab {
  animation: scMlFade 0.25s ease;
}

@keyframes scMlFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sc-empresa-ml .listing-tab-grid {
  margin-top: 0;
}

.sc-empresa-ml .listing-tab-grid--solo > .grid-item {
  margin-bottom: 0;
}

.sc-empresa-ml .block-type-text .element {
  border: 1px solid rgba(11, 20, 26, 0.1);
  box-shadow: 0 2px 12px rgba(11, 20, 26, 0.07);
}

.sc-empresa-ml .block-type-text .pf-head {
  padding: 18px 22px 0;
}

.sc-empresa-ml .block-type-text .pf-body {
  padding: 14px 22px 22px;
}

/* Duas colunas no desktop: mesma altura da linha + cards em coluna flex preenchem a coluna */
@media (min-width: 992px) {
  .sc-empresa-ml .listing-tab-grid.row > .grid-item.col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .sc-empresa-ml .listing-tab-grid.row > .grid-item.col-md-6 > .element {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }
}

/* Mesmo recuo e cartão que “Sobre a loja” */
.sc-empresa-ml .block-type-map .element.map-block {
  align-items: stretch;
  border: 1px solid rgba(11, 20, 26, 0.1);
  box-shadow: 0 2px 12px rgba(11, 20, 26, 0.07);
}

.sc-empresa-ml .block-type-map .pf-head {
  flex-shrink: 0;
  padding: 18px 22px 0;
}

.sc-empresa-ml .block-type-text .wa-sobre-empresa-html,
.sc-empresa-ml .block-type-text .wa-sobre-desc {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(11, 20, 26, 0.08);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
}

.sc-empresa-ml .block-type-text .wa-sobre-desc-more {
  margin-top: 12px;
}

.sc-empresa-ml .block-type-text .wa-sobre-empresa-html,
.sc-empresa-ml .block-type-text .wa-sobre-desc {
  font-size: 0.984rem;
  line-height: 1.65;
  color: var(--sc-ml-text);
  text-align: left;
}

.sc-empresa-ml .block-type-text .wa-sobre-empresa-html p {
  margin: 0 0 1rem;
}

.sc-empresa-ml .block-type-text .wa-sobre-empresa-html p:last-child {
  margin-bottom: 0;
}

.sc-empresa-ml .block-type-text .wa-sobre-empresa-html strong,
.sc-empresa-ml .block-type-text .wa-sobre-empresa-html b {
  font-weight: 600;
  color: inherit;
}

.sc-empresa-ml .block-type-map .pf-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 22px 18px;
}

.sc-empresa-ml .block-type-map .contact-map {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-height: 0;
}

/* Endereço + link abaixo do mapa (fluxo normal no fim do cartão interno) */
.sc-empresa-ml .block-type-map .map-block-address {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(11, 20, 26, 0.08);
  text-align: left;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.sc-empresa-ml .block-type-map .map-block-address ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-empresa-ml .block-type-map .map-block-address li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 20, 26, 0.07);
  min-width: 0;
}

.sc-empresa-ml .block-type-map .map-block-address p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--sc-ml-text, #1a2530);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sc-empresa-ml .block-type-map .map-block-address .location-address {
  margin: 0;
  flex: 0 0 auto;
  align-self: center;
}

.sc-empresa-ml .block-type-map .map-block-address .location-address a {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sc-ml-accent, #00a2ed);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 162, 237, 0.45);
  background: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.sc-empresa-ml .block-type-map .map-block-address .location-address a:hover {
  text-decoration: none;
  color: #fff;
  background: var(--sc-ml-accent, #00a2ed);
  border-color: var(--sc-ml-accent, #00a2ed);
}

@media (max-width: 991.98px) {
  .sc-empresa-ml .block-type-map .pf-body {
    padding: 10px 12px 14px;
  }

  .sc-empresa-ml .block-type-map .map-block-address {
    padding: 10px 10px 12px;
  }

  .sc-empresa-ml .block-type-map .map-block-address ul {
    gap: 10px;
  }

  .sc-empresa-ml .block-type-map .map-block-address li {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 12px 12px;
  }

  .sc-empresa-ml .block-type-map .map-block-address p {
    flex: none;
    width: 100%;
    max-width: 100%;
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 0;
    margin: 0 0 0;
    order: 1;
  }

  .sc-empresa-ml .block-type-map .map-block-address .location-address {
    flex: none;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(11, 20, 26, 0.08);
    order: 2;
  }

  .sc-empresa-ml .block-type-map .map-block-address .location-address a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 0.8125rem;
    border-radius: 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    min-height: 44px;
  }
}

/* Cartão interior em volta do mapa (ou do CTA só com link) */
.sc-empresa-ml .wa-loc-map-card {
  background: #fff;
  border: 1px solid rgba(11, 20, 26, 0.1);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(11, 20, 26, 0.04),
    0 8px 24px -6px rgba(11, 20, 26, 0.12);
  overflow: hidden;
}

/* Na aba empresa: cartão interno preenche a área útil; embed cresce com flex */
.sc-empresa-ml .block-type-map .wa-loc-map-card {
  position: relative;
  border-color: rgba(11, 20, 26, 0.1);
  border-radius: 12px;
  box-shadow: none;
}

.sc-empresa-ml .block-type-map .wa-loc-map-card--embed {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.sc-empresa-ml .wa-loc-map-card--embed {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.sc-empresa-ml .wa-loc-map-card--embed .wa-map__inner--tab,
.sc-empresa-ml .wa-loc-map-card--embed .wa-map__inner--embed:not(.wa-map__inner--tab) {
  border-radius: 0;
}

.sc-empresa-ml .wa-loc-map-card--linkout {
  padding: 0;
}

.sc-empresa-ml .block-type-map .wa-loc-map-card--linkout {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

/* Mapa ocupa todo o espaço flexível do cartão interno */
.sc-empresa-ml .block-type-map .wa-loc-map-card--embed > .wa-map {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #e5e3df;
}

@media (max-width: 991.98px) {
  .sc-empresa-ml .block-type-map .wa-loc-map-card--embed > .wa-map {
    min-height: clamp(260px, 52vw, 340px);
  }
}

.sc-empresa-ml .block-type-map .wa-map__inner--tab,
.sc-empresa-ml .block-type-map .wa-map__inner--embed,
.sc-empresa-ml .block-type-map .wa-map__inner--gmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #e8eef2;
}

.sc-empresa-ml .block-type-map .wa-tab-gmap-canvas {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.sc-empresa-ml .block-type-map .wa-map__inner--embed:not(.wa-map__inner--tab) .wa-map__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sc-empresa-ml .wa-map-linkout-card {
  padding: 28px 22px;
  text-align: center;
  background: linear-gradient(165deg, #f8fafc 0%, #fff 55%);
}

.sc-empresa-ml .wa-map-linkout-card__addr {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--sc-ml-text);
}

.sc-empresa-ml .wa-map-linkout-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: #027eb5;
  color: #fff;
  text-decoration: none;
}

.sc-empresa-ml .wa-map-linkout-card__btn:hover {
  filter: brightness(1.05);
  color: #fff;
}

.sc-empresa-ml .grid-item {
  margin-bottom: 20px;
}

.sc-empresa-ml .element {
  background: var(--sc-ml-card);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(11, 20, 26, 0.08);
  overflow: hidden;
  height: 100%;
}

.sc-empresa-ml .pf-head {
  padding: 14px 16px 0;
}

.sc-empresa-ml .title-style-1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.sc-empresa-ml .title-style-1 .material-icons {
  color: var(--sc-ml-accent);
  font-size: 22px;
  font-style: normal;
  line-height: 1;
}

.sc-empresa-ml .title-style-1 h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sc-ml-text);
}

.sc-empresa-ml .pf-body {
  padding: 14px 16px 18px;
}

.sc-empresa-ml .video-block-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 200px;
  border: 0;
  border-radius: 8px;
}

.sc-empresa-ml .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 480px) {
  .sc-empresa-ml .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sc-empresa-ml .gallery-grid a.gallery-item {
  position: relative;
  display: block;
  padding-bottom: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}

.sc-empresa-ml .gallery-grid a.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-empresa-ml .wp-editor-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sc-ml-text);
}

.sc-empresa-ml .wp-editor-content iframe {
  max-width: 100%;
  border-radius: 8px;
}

.sc-empresa-ml ul.outlined-list.details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sc-empresa-ml ul.outlined-list.details-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  text-decoration: none;
  color: var(--sc-ml-text);
  font-size: 0.875rem;
  font-weight: 500;
}

.sc-empresa-ml ul.outlined-list.details-list a:hover {
  border-color: var(--sc-ml-accent);
  color: var(--sc-ml-accent);
}

.sc-empresa-ml .buttons.button-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  color: #fff !important;
  background: var(--sc-ml-accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  margin-top: 10px;
}

.sc-empresa-ml .buttons.button-1:hover {
  filter: brightness(1.05);
}

.sc-empresa-ml .buttons.button-1.full-width {
  width: 100%;
}

.sc-empresa-ml .buttons.button-2 {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  background: var(--sc-ml-accent-2);
  color: #fff;
  cursor: pointer;
}

/* Avaliações — shell + lista + formulário (visual premium) */
.sc-empresa-ml #avaliacoes .sc-ml-reviews-shell {
  position: relative;
  margin-top: 4px;
  padding: 20px 16px 24px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.99) 48%, rgba(241, 245, 249, 0.95) 100%);
  border: 1px solid rgba(22, 46, 61, 0.09);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(22, 46, 61, 0.07);
  overflow: hidden;
}

@media (min-width: 768px) {
  .sc-empresa-ml #avaliacoes .sc-ml-reviews-shell {
    padding: 28px 26px 32px;
    border-radius: 20px;
  }
}

.sc-empresa-ml #avaliacoes .comments-list-wrapper {
  position: relative;
  z-index: 1;
}

.sc-empresa-ml #avaliacoes .row.sc-ml-reviews-row {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  /* Não usar gap: 0 — anula o column-gap da grid e deixa as colunas coladas */
  row-gap: 22px;
  column-gap: 0;
}

.sc-empresa-ml #avaliacoes .row.sc-ml-reviews-row > .col-md-5 {
  align-self: flex-start;
}

@media (min-width: 992px) {
  .sc-empresa-ml #avaliacoes .row.sc-ml-reviews-row {
    row-gap: 0;
    column-gap: 32px;
  }

  .sc-empresa-ml #avaliacoes .row.sc-ml-reviews-row > .col-md-5 .element {
    position: sticky;
    top: 1.25rem;
    z-index: 2;
    border-radius: 16px;
    border: 1px solid rgba(22, 46, 61, 0.08);
    box-shadow:
      0 1px 2px rgba(15, 23, 42, 0.04),
      0 16px 48px rgba(22, 46, 61, 0.1);
  }

  .sc-empresa-ml #avaliacoes .col-md-5 .pf-head {
    padding: 18px 20px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    margin-bottom: 0;
    padding-bottom: 14px;
  }

  .sc-empresa-ml #avaliacoes .col-md-5 .title-style-1 h5 {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
  }

  .sc-empresa-ml #avaliacoes .col-md-5 .pf-body.sidebar-comment-form {
    padding: 18px 20px 22px;
  }
}

@media (max-width: 991px) {
  .sc-empresa-ml #avaliacoes .row.sc-ml-reviews-row {
    flex-direction: column-reverse;
  }

  /* Lista longa: rolagem só nesta coluna (layout empilhado), sem esticar a página inteira */
  .sc-empresa-ml #avaliacoes .comments-list-wrapper {
    max-height: min(72vh, 560px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 6px;
    scrollbar-gutter: stable;
  }

  .sc-empresa-ml #avaliacoes .col-md-5 .element {
    margin-top: 20px;
    border-radius: 16px;
    border: 1px solid rgba(22, 46, 61, 0.08);
    box-shadow: 0 8px 32px rgba(22, 46, 61, 0.08);
  }
}

.sc-empresa-ml .comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sc-empresa-ml .comments-list .single-comment {
  margin-bottom: 0;
}

.sc-empresa-ml .comment-container {
  background: var(--sc-ml-card);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.sc-empresa-ml .comments-list .comment-container:hover {
  border-color: rgba(0, 162, 237, 0.22);
  box-shadow: 0 8px 28px rgba(22, 46, 61, 0.09);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .sc-empresa-ml .comment-container {
    padding: 18px 20px;
    border-radius: 16px;
  }
}

.sc-empresa-ml .comment-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.sc-empresa-ml .c27-user-avatar {
  flex-shrink: 0;
}

.sc-empresa-ml .c27-user-avatar img {
  border-radius: 999px;
  width: 32px;
  height: 32px;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(226, 232, 240, 0.95);
}

@media (min-width: 768px) {
  .sc-empresa-ml .c27-user-avatar img {
    width: 40px;
    height: 40px;
  }

  .sc-empresa-ml .sc-ml-review-photo-trigger--avatar img {
    width: 40px;
    height: 40px;
  }
}

.sc-empresa-ml .sc-ml-comment-head-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.sc-empresa-ml .sc-ml-comment-title-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.sc-empresa-ml .comment-head h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  min-width: 0;
  flex: 1 1 auto;
}

.sc-empresa-ml .comment-head .comment-date {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sc-ml-muted);
  white-space: nowrap;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sc-empresa-ml .listing-review-rating {
  color: #f5a623;
  line-height: 1;
}

.sc-empresa-ml .comment-body {
  padding-top: 2px;
  border-top: 1px solid rgba(241, 245, 249, 0.9);
}

.sc-empresa-ml .comment-body p {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: #334155;
}

.sc-empresa-ml .comment-body p:last-child {
  margin-bottom: 0;
}

.sc-empresa-ml .sc-ml-review-loja-reply {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(165deg, #f0f9ff 0%, #f8fafc 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.sc-empresa-ml .sc-ml-review-loja-reply__name-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.sc-empresa-ml .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sc-empresa-ml .sc-ml-review-loja-reply__name {
  color: #0f172a;
  font-weight: 700;
}

.sc-empresa-ml .sc-ml-review-loja-reply__verified {
  margin: 0;
}

.sc-empresa-ml .sc-ml-review-loja-reply__verified svg {
  display: block;
  width: 16px;
  height: 16px;
}

.sc-empresa-ml .sc-ml-review-reply-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
}

.sc-empresa-ml .sc-ml-review-reply-form__label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: #475569;
}

.sc-empresa-ml .sc-ml-review-reply-form__textarea {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 4.5rem;
  background: #fff;
}

.sc-empresa-ml .sc-ml-review-reply-form__textarea:focus {
  outline: none;
  border-color: var(--cor-primaria, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.sc-empresa-ml .sc-ml-review-reply-form__btn {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
}

.sc-empresa-ml .sc-ml-stars {
  display: inline-flex;
  gap: 2px;
  letter-spacing: 0;
}

.sc-empresa-ml .sc-ml-stars__i {
  font-style: normal;
  color: #e2e8f0;
  font-size: 14px;
}

.sc-empresa-ml .sc-ml-stars__i--full {
  color: #f5a623;
  text-shadow: 0 1px 0 rgba(245, 166, 35, 0.2);
}

@media (min-width: 768px) {
  .sc-empresa-ml .sc-ml-stars__i {
    font-size: 15px;
  }
}

.sc-empresa-ml .sidebar-comment-form .form-group {
  margin-bottom: 14px;
}

.sc-empresa-ml #avaliacoes .sidebar-comment-form .sc-ml-review-form > .buttons.button-2 {
  margin-top: 8px;
  padding: 15px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  background: linear-gradient(165deg, var(--sc-ml-accent) 0%, #0090d4 100%);
  box-shadow: 0 4px 16px rgba(0, 162, 237, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.sc-empresa-ml #avaliacoes .sidebar-comment-form .sc-ml-review-form > .buttons.button-2:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 22px rgba(0, 162, 237, 0.42);
  transform: translateY(-1px);
}

.sc-empresa-ml #avaliacoes .sidebar-comment-form .sc-ml-review-form > .buttons.button-2:active {
  transform: translateY(0);
}

.sc-empresa-ml .sidebar-comment-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-review-req {
  color: #dc2626;
  font-weight: 800;
  margin-left: 2px;
  white-space: nowrap;
}

.sc-empresa-ml .sidebar-comment-form input,
.sc-empresa-ml .sidebar-comment-form textarea,
.sc-empresa-ml .sidebar-comment-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sc-empresa-ml #avaliacoes .sidebar-comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.sc-empresa-ml #avaliacoes .sidebar-comment-form input:focus,
.sc-empresa-ml #avaliacoes .sidebar-comment-form textarea:focus,
.sc-empresa-ml #avaliacoes .sidebar-comment-form select:focus {
  outline: none;
  border-color: rgba(0, 162, 237, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 162, 237, 0.18);
}

/* Formulário avaliação: bloco de nota (1–5 estrelas → BD 1–5, vitrine em escala /10) */
.sc-empresa-ml .sidebar-comment-form .sc-ml-rating-fieldset {
  border: 0;
  padding: 16px 16px 14px;
  margin: 0 0 18px;
  min-width: 0;
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-rating__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-rating-legend,
.sc-empresa-ml .sidebar-comment-form .form-group-review-ratings .rating-category-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0;
  padding: 0;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-rating__badge {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-rating__badge.is-selected {
  color: #b45309;
  background: #fffbeb;
  border-color: #fcd34d;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-rating__hint {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #64748b;
}

/* Formulário avaliação: fotos opcionais (avatar + foto com produto) */
.sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-review-prod-field {
  margin: 0 0 18px;
  min-width: 0;
}

.sc-empresa-ml .sidebar-comment-form .av-field .av-label {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 8px;
}

.sc-empresa-ml .sidebar-comment-form .av-label__opt {
  font-weight: 600;
  font-size: 0.78rem;
  color: #64748b;
}

.sc-empresa-ml .sidebar-comment-form .av-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sc-empresa-ml .sidebar-comment-form .av-file__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sc-empresa-ml .sidebar-comment-form .av-file__input:focus + .av-file__btn {
  outline: 2px solid var(--cor-primaria, #3b82f6);
  outline-offset: 2px;
}

.sc-empresa-ml .sidebar-comment-form .av-file__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.sc-empresa-ml .sidebar-comment-form .av-file__btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.sc-empresa-ml .sidebar-comment-form .av-file__name {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
  word-break: break-all;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-legend {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: #0f172a;
  padding: 0;
  margin: 0 0 8px;
  float: none;
  width: auto;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-opt {
  font-weight: 600;
  font-size: 0.78rem;
  color: #64748b;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-lead {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #475569;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-upload-card {
  position: relative;
  padding: 15px 15px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  min-width: 0;
  width: 100%;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-upload-card--compact {
  padding: 12px 14px 11px;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-upload-input {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  font-size: 0.75rem;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-upload-input::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--cor-primaria, #3b82f6), var(--cor-secundaria, #6366f1));
  color: #fff;
  cursor: pointer;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-upload__picked {
  margin: 8px 0 0;
  font-size: 0.7rem;
  color: #94a3b8;
  word-break: break-all;
  line-height: 1.35;
}

.sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-foot {
  margin: 14px 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Formulário avaliação: desktop (coluna lateral md+) — ritmo vertical e cartões empilhados */
@media (min-width: 992px) {
  .sc-empresa-ml .sidebar-comment-form .form-group {
    margin-bottom: 18px;
  }

  .sc-empresa-ml .sidebar-comment-form label {
    margin-bottom: 8px;
    font-size: 0.875rem;
  }

  .sc-empresa-ml .sidebar-comment-form input,
  .sc-empresa-ml .sidebar-comment-form textarea,
  .sc-empresa-ml .sidebar-comment-form select {
    padding: 13px 15px;
    border-radius: 10px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-rating-fieldset {
    padding: 18px 18px 16px;
    margin-bottom: 22px;
    border-radius: 14px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-rating__head {
    margin-bottom: 8px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-rating__hint {
    margin-bottom: 14px;
  }

  .sc-empresa-ml .sidebar-comment-form .c27-rating-field .sc-ml-rating-stars {
    padding: 6px 4px 4px;
    gap: 4px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-fieldset {
    margin-bottom: 22px;
    padding: 18px 18px 16px;
    background: linear-gradient(165deg, #f8fafc 0%, #fff 45%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-legend {
    margin-bottom: 10px;
    font-size: 0.95rem;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-lead {
    margin-bottom: 16px;
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-grid {
    gap: 16px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-upload-card {
    padding: 18px 18px 16px;
    border-radius: 16px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-upload-card--compact {
    padding: 14px 16px 12px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-upload-input {
    padding: 11px 12px;
    border-radius: 11px;
    font-size: 0.8rem;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-upload-input::file-selector-button {
    padding: 8px 14px;
    font-size: 0.8rem;
    margin-right: 12px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-upload__picked {
    margin-top: 10px;
    font-size: 0.75rem;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-photos-foot {
    margin-top: 16px;
    font-size: 0.75rem;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-prod-field {
    margin-bottom: 22px;
    padding: 18px 18px 16px;
    background: linear-gradient(165deg, #f8fafc 0%, #fff 45%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-prod-field .av-label {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-prod-field .av-file__btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .sc-empresa-ml .sidebar-comment-form .sc-ml-review-prod-field .av-file__name {
    font-size: 0.75rem;
  }

  .sc-empresa-ml #avaliacoes .sidebar-comment-form .sc-ml-review-form > .buttons.button-2 {
    margin-top: 10px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
  }
}

.sc-empresa-ml .c27-rating-field .sc-ml-rating-stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin: 0;
  padding: 4px 2px 2px;
  flex-wrap: nowrap;
}

.sc-empresa-ml .sc-ml-rating-star {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 48px;
  margin: 0;
}

.sc-empresa-ml .sc-ml-rating-star input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.sc-empresa-ml .sc-ml-rating-star label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.sc-empresa-ml .sc-ml-rating-star label:hover {
  background: rgba(255, 255, 255, 0.85);
}

.sc-empresa-ml .sc-ml-rating-star label:active {
  transform: scale(0.96);
}

.sc-empresa-ml .sc-ml-rating-star .sc-ml-rating-ico {
  font-size: 32px;
  width: 32px;
  height: 32px;
  line-height: 1;
  color: #cbd5e1;
  transition: color 0.15s ease, filter 0.15s ease, transform 0.12s ease;
}

.sc-empresa-ml .sc-ml-rating-star label.sc-ml-rating-label--on .sc-ml-rating-ico,
.sc-empresa-ml .sc-ml-rating-star label.sc-ml-rating-label--preview .sc-ml-rating-ico {
  color: #ea580c;
  filter: drop-shadow(0 1px 2px rgba(234, 88, 12, 0.35));
}

.sc-empresa-ml .sc-ml-rating-star label.sc-ml-rating-label--preview:not(.sc-ml-rating-label--on) .sc-ml-rating-ico {
  color: #fb923c;
  filter: none;
  opacity: 0.85;
}

.sc-empresa-ml .sc-ml-rating-star input:focus-visible + label {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  background: #fff;
}

@media (max-width: 400px) {
  .sc-empresa-ml .sc-ml-rating-star .sc-ml-rating-ico {
    font-size: 28px;
    width: 28px;
    height: 28px;
  }

  .sc-empresa-ml .sc-ml-rating-star label {
    min-height: 44px;
  }
}

.sc-empresa-ml .wa-av-item__foto-produto img {
  border-radius: 8px;
  max-width: 200px;
  height: auto;
}

/* Modal partilhar */
.sc-ml-share-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.sc-ml-share-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.sc-ml-share-modal__dialog {
  background: #fff;
  border-radius: 16px 16px 0 0;
  max-width: 420px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  padding: 20px;
  transform: translateY(12px);
  transition: transform 0.2s;
}

.sc-ml-share-modal.is-open .sc-ml-share-modal__dialog {
  transform: translateY(0);
}

.sc-ml-share-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sc-ml-share-modal__head h3 {
  margin: 0;
  font-size: 1.1rem;
}

.sc-ml-share-modal__close {
  border: none;
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.sc-ml-share-options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-ml-share-options a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--sc-ml-text);
  font-weight: 600;
}

.sc-ml-share-options a:hover {
  background: #f8fafc;
}

.sc-ml-share-options i {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Lightbox — fotos nas avaliações (avatar / galeria) */
.sc-empresa-ml .sc-ml-review-photo-trigger {
  display: inline-block;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  line-height: 0;
  font: inherit;
  color: inherit;
  vertical-align: middle;
}

.sc-empresa-ml .sc-ml-review-photo-trigger:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
  border-radius: 8px;
}

.sc-empresa-ml .sc-ml-review-photo-trigger--avatar {
  cursor: zoom-in;
  border-radius: 999px;
}

.sc-empresa-ml .c27-user-avatar .sc-ml-review-photo-trigger--avatar img {
  display: block;
}

/* Galeria avaliação: 2 miniaturas visíveis no mobile, 4 no desktop; scroll horizontal (carrossel) para o resto */
.sc-empresa-ml .sc-ml-prod-gallery-wrap {
  margin-top: 10px;
}

.sc-empresa-ml .sc-ml-prod-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px 10px;
  margin: 0 -4px;
  scrollbar-width: thin;
}

.sc-empresa-ml .sc-ml-prod-gallery::-webkit-scrollbar {
  height: 6px;
}

.sc-empresa-ml .sc-ml-prod-gallery::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.sc-empresa-ml .sc-ml-prod-gallery__item {
  flex: 0 0 calc(50% - 4px);
  max-width: calc(50% - 4px);
  scroll-snap-align: start;
  min-width: 0;
}

@media (min-width: 992px) {
  .sc-empresa-ml .sc-ml-prod-gallery__item {
    flex: 0 0 calc(25% - 6px);
    max-width: calc(25% - 6px);
  }
}

.sc-empresa-ml .sc-ml-prod-gallery__item .sc-ml-review-photo-trigger--gallery {
  display: block;
  width: 100%;
}

.sc-empresa-ml .sc-ml-prod-gallery__item .sc-ml-review-photo-trigger--gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  max-height: 220px;
}

.sc-ml-review-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 100060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 20px 20px;
  background: rgba(15, 23, 42, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sc-ml-review-photo-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.sc-ml-review-photo-modal__backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

.sc-ml-review-photo-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: auto;
}

.sc-ml-review-photo-modal__close:hover {
  background: #f1f5f9;
}

.sc-ml-review-photo-modal__nav {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: auto;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.sc-ml-review-photo-modal__nav span {
  font-size: 2.125rem;
  font-weight: 300;
  line-height: 1;
  display: block;
  margin-top: -0.06em;
  user-select: none;
}

.sc-ml-review-photo-modal__nav:hover {
  background: #f1f5f9;
}

.sc-ml-review-photo-modal__nav:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.sc-ml-review-photo-modal__stage .sc-ml-review-photo-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

.sc-ml-review-photo-modal__stage .sc-ml-review-photo-modal__nav--prev {
  left: clamp(8px, 2.2vw, 18px);
}

.sc-ml-review-photo-modal__stage .sc-ml-review-photo-modal__nav--next {
  right: clamp(8px, 2.2vw, 18px);
}

.sc-ml-review-photo-modal__stage .sc-ml-review-photo-modal__meta {
  position: absolute;
  bottom: clamp(8px, 2vw, 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  max-width: calc(100% - 24px);
  text-align: center;
}

.sc-ml-review-photo-modal__count {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.sc-ml-review-photo-modal__box {
  position: relative;
  z-index: 100061;
  /* Área estável ao trocar de foto (orientação/formatos diferentes) */
  width: min(92vw, 960px);
  height: min(78vh, 720px);
  max-height: min(88vh, 900px);
  box-sizing: border-box;
  padding: clamp(48px, 8vw, 56px) 12px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  pointer-events: none;
}

.sc-ml-review-photo-modal__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-ml-review-photo-modal__img {
  display: block;
  box-sizing: border-box;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Mobile: contador sobre a imagem; setas numa fila por baixo do contador */
@media (max-width: 767.98px) {
  .sc-ml-review-photo-modal__stage .sc-ml-review-photo-modal__nav {
    top: auto;
    transform: none;
  }

  .sc-ml-review-photo-modal__stage .sc-ml-review-photo-modal__meta {
    bottom: clamp(64px, 15vw, 80px);
  }

  .sc-ml-review-photo-modal__stage .sc-ml-review-photo-modal__nav--prev {
    left: calc(50% - 52px);
    right: auto;
    bottom: clamp(8px, 2.5vw, 14px);
  }

  .sc-ml-review-photo-modal__stage .sc-ml-review-photo-modal__nav--next {
    right: auto;
    left: calc(50% + 8px);
    bottom: clamp(8px, 2.5vw, 14px);
  }
}

/* Compat: galeria / campanha herdadas do sobre.css dentro do cartão */
.sc-empresa-ml .wa-catalogo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 480px) {
  .sc-empresa-ml .wa-catalogo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Galeria e eventos do perfil: scroll horizontal acima de 3 (mobile) ou 4 (desktop) */
.sc-empresa-ml .block-type-gallery .wa-catalogo-grid-page,
.sc-empresa-ml .block-type-events .wa-eventos-perfil-grid,
.sc-empresa-ml .block-type-imoveis .wa-imoveis-perfil-grid {
  gap: 8px;
}

@media (max-width: 991.98px) {
  .sc-empresa-ml .block-type-gallery .wa-catalogo-grid-page:not(:has(.gallery-item:nth-child(4))),
  .sc-empresa-ml .block-type-events .wa-eventos-perfil-grid:not(:has(.gallery-item:nth-child(4))),
  .sc-empresa-ml .block-type-imoveis .wa-imoveis-perfil-grid:not(:has(.gallery-item:nth-child(4))) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sc-empresa-ml .block-type-gallery .wa-catalogo-grid-page:has(.gallery-item:nth-child(4)),
  .sc-empresa-ml .block-type-events .wa-eventos-perfil-grid:has(.gallery-item:nth-child(4)),
  .sc-empresa-ml .block-type-imoveis .wa-imoveis-perfil-grid:has(.gallery-item:nth-child(4)) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .sc-empresa-ml .block-type-gallery .wa-catalogo-grid-page:has(.gallery-item:nth-child(4)) > .gallery-item,
  .sc-empresa-ml .block-type-events .wa-eventos-perfil-grid:has(.gallery-item:nth-child(4)) > .gallery-item,
  .sc-empresa-ml .block-type-imoveis .wa-imoveis-perfil-grid:has(.gallery-item:nth-child(4)) > .gallery-item {
    flex: 0 0 calc((100% - 16px) / 3);
    min-width: calc((100% - 16px) / 3);
    scroll-snap-align: start;
  }
}

@media (min-width: 992px) {
  .sc-empresa-ml .block-type-gallery .wa-catalogo-grid-page:not(:has(.gallery-item:nth-child(5))),
  .sc-empresa-ml .block-type-events .wa-eventos-perfil-grid:not(:has(.gallery-item:nth-child(5))),
  .sc-empresa-ml .block-type-imoveis .wa-imoveis-perfil-grid:not(:has(.gallery-item:nth-child(5))) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sc-empresa-ml .block-type-gallery .wa-catalogo-grid-page:has(.gallery-item:nth-child(5)),
  .sc-empresa-ml .block-type-events .wa-eventos-perfil-grid:has(.gallery-item:nth-child(5)),
  .sc-empresa-ml .block-type-imoveis .wa-imoveis-perfil-grid:has(.gallery-item:nth-child(5)) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .sc-empresa-ml .block-type-gallery .wa-catalogo-grid-page:has(.gallery-item:nth-child(5)) > .gallery-item,
  .sc-empresa-ml .block-type-events .wa-eventos-perfil-grid:has(.gallery-item:nth-child(5)) > .gallery-item,
  .sc-empresa-ml .block-type-imoveis .wa-imoveis-perfil-grid:has(.gallery-item:nth-child(5)) > .gallery-item {
    flex: 0 0 calc((100% - 24px) / 4);
    min-width: calc((100% - 24px) / 4);
    scroll-snap-align: start;
  }
}

.sc-empresa-ml .wa-imoveis-perfil__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  width: 100%;
}

.sc-empresa-ml .wa-imoveis-perfil__head .material-icons {
  flex-shrink: 0;
}

.sc-empresa-ml .wa-imoveis-perfil__head h5 {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
}

.sc-empresa-ml .wa-imoveis-perfil__ver-todos {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sc-ml-accent, #00a2ed);
  text-decoration: none;
  white-space: nowrap;
}

.sc-empresa-ml .wa-imoveis-perfil__ver-todos:hover {
  text-decoration: underline;
}

.sc-empresa-ml .wa-cat-cell--imovel-perfil {
  color: inherit;
}

.sc-empresa-ml .wa-cat-cell__cap-meta--preco {
  font-weight: 600;
  line-height: 1.25;
}

.sc-empresa-ml .wa-cat-cell__cap-valor {
  font-weight: 700;
  color: #059669;
}

.sc-empresa-ml .wa-cat-cell__cap-meta--preco .wa-cat-cell__cap-fin {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.sc-empresa-ml .wa-cat-cell {
  border-radius: 8px;
  overflow: hidden;
}

.sc-empresa-ml .wa-card__campanha-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

/* Hero: padding lateral = gutter; max-width vem do #wa-listing-section > filho */
.sc-empresa-ml .sc-empresa-wa-hero {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--sc-ml-page-gutter);
  padding-right: var(--sc-ml-page-gutter);
  box-sizing: border-box;
}

/* Evita padding extra do sobre.css; o inset lateral vem só do hero (como .container) */
.sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-cover-wrap {
  padding-left: 0;
  padding-right: 0;
  padding-top: 16px;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-identity {
  padding-left: 0;
  padding-right: 0;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-avatar-ring {
  width: 120px;
  height: 120px;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-avatar--fallback {
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Título + redes dentro de wa-perfil-text, bloco centralizado */
.sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-text--hero-centered {
  text-align: center;
  max-width: 100%;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-text--hero-centered .wa-perfil-loc {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-text--hero-centered .wa-perfil-tagline-hero {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
}

.sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-text--hero-centered .wa-perfil-creci {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
}

.sc-empresa-ml .wa-perfil-redes__btn--generic {
  background: #64748b;
}

.sc-empresa-ml .wa-perfil-redes__btn--generic:hover {
  background: #475569;
}

.sc-empresa-ml .wa-perfil-tagline-hero {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--sc-ml-muted);
}

.sc-empresa-ml .wa-perfil-creci {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--sc-ml-muted);
}

.sc-empresa-ml .wa-perfil-creci__k {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--sc-ml-ink, #0f172a);
  opacity: 0.85;
}

.sc-empresa-ml .wa-perfil-creci__v {
  font-weight: 600;
  color: var(--sc-ml-ink, #0f172a);
}

.sc-empresa-ml .wa-perfil-hero-catalog-wrap {
  text-align: center;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sc-empresa-ml .wa-perfil-text--hero-centered .wa-perfil-hero-cta-row {
  margin-top: 10px;
}

.sc-empresa-ml .wa-perfil-hero-cta-row .wa-perfil-hero-catalog-wrap {
  margin: 0;
  flex-direction: column;
  align-items: stretch;
}

.sc-empresa-ml .wa-perfil-hero-cta-row .wa-perfil-hero-catalog-wrap .wa-ig-card--hero-cta:first-child {
  margin-top: 0;
}

.sc-empresa-ml .wa-perfil-hero-catalog-wrap .wa-ig-card--hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  max-width: min(100%, 22rem);
  text-align: left;
  text-decoration: none;
}

.sc-empresa-ml .wa-perfil-hero-catalog-wrap .wa-ig-card--catalog {
  margin-bottom: 0;
}

/**
 * Perfil empresa (Mylisting): avatar mais próximo da capa.
 * Não altera a linha horário + Info (wa-perfil-identity-top): só puxa o bloco do avatar com margin-bottom
 * mais negativo no topo e menos margin-top no anel — sobre.css usa -46px / 8px.
 */
@media (min-width: 601px) {
  .sc-empresa-ml .sc-empresa-wa-hero:not(.wa-perfil-hero--no-banner):not(.wa-perfil-hero--no-logo) .wa-perfil-identity-top {
    margin-bottom: -56px;
  }

  .sc-empresa-ml .sc-empresa-wa-hero:not(.wa-perfil-hero--no-banner) .wa-perfil-avatar-ring {
    margin-top: 16px;
  }
}

/* Mylisting: mesmo “encosto” suave ao banner que em sobre.css */
@media (max-width: 600px) {
  .sc-empresa-ml .sc-empresa-wa-hero:not(.wa-perfil-hero--no-banner):not(.wa-perfil-hero--no-logo) .wa-perfil-identity {
    margin-top: -52px;
    padding-top: 10px;
  }

  /*
   * Com banner, sobre.css usa margin-bottom negativo no .wa-perfil-identity-top para subir o avatar;
   * em mobile o status + “Info” acabavam por cobrir a logo — cortamos o “pull-up” e afastamos o anel.
   */
  .sc-empresa-ml .sc-empresa-wa-hero:not(.wa-perfil-hero--no-banner):not(.wa-perfil-hero--no-logo) .wa-perfil-identity-top {
    margin-bottom: 0;
    padding-bottom: 4px;
  }

  .sc-empresa-ml .sc-empresa-wa-hero:not(.wa-perfil-hero--no-banner) .wa-perfil-avatar-ring {
    /* Sobe só o anel do avatar; não mexe na linha horário + Info */
    margin-top: -34px;
  }

  .sc-empresa-ml .sc-empresa-wa-hero .wa-perfil-identity-status {
    max-width: calc(100% - 4.75rem);
  }
}

/* —— InfoWindow Google Maps (cartão da loja) —— */
.gm-style-iw-c:has(.wa-gmaps-info-card) {
  border-radius: 14px !important;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.08),
    0 12px 28px -6px rgba(15, 23, 42, 0.18) !important;
  border: 1px solid rgba(226, 232, 240, 0.98) !important;
  overflow: hidden;
  background: #fff !important;
}

.gm-style-iw-c:has(.wa-gmaps-info-card) .gm-style-iw-chr {
  align-items: stretch;
}

.gm-style-iw-c:has(.wa-gmaps-info-card) .gm-style-iw-ch {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 10px 4px 10px 12px;
}

.gm-style-iw-c:has(.wa-gmaps-info-card) .gm-ui-hover-effect {
  align-self: center;
}

.gm-style-iw-c:has(.wa-gmaps-info-card) > .gm-style-iw-d:empty {
  display: none !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.gm-style-iw-ch > .wa-gmaps-info-card {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.wa-gmaps-info-card {
  padding: 0;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.wa-gmaps-info-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.wa-gmaps-info-card__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(226, 232, 240, 0.95);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.wa-gmaps-info-card__title-stack {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.wa-gmaps-info-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.wa-gmaps-info-card__body {
  padding: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-gmaps-info-card__addr {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  color: #475569;
}

.wa-gmaps-info-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(165deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(3, 105, 161, 0.25);
  transition:
    transform 0.12s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.wa-gmaps-info-card__btn:hover {
  color: #fff;
  filter: brightness(1.05);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.35);
}

.wa-gmaps-info-card__btn:active {
  transform: scale(0.98);
}

.wa-gmaps-info-card__btn:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.wa-gmaps-info-card__btn-ico {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.95;
}

.wa-gmaps-info-card__btn-ico svg {
  display: block;
}

.wa-gmaps-info-card__btn-txt {
  flex: 1;
  min-width: 0;
  text-align: center;
}

/* Galeria da loja (mesmo bloco visual que evento) */
.sc-empresa-ml .wa-evento-galeria {
  margin-top: 0.25rem;
}
.sc-empresa-ml .block-type-gallery .wa-evento-hero-galeria {
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.sc-empresa-ml .block-type-gallery .wa-evento-hero-galeria .pf-head {
  padding: 10px 14px 8px;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0;
}
.sc-empresa-ml .block-type-gallery .wa-evento-hero-galeria .pf-body {
  padding: 10px 12px 12px;
}

.sc-empresa-ml .wa-evento-galeria button.wa-cat-cell {
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  background: #dfe5e7;
}

/* Galeria da loja: grelha fixa com paginação DOM (sem scroll horizontal). */
.sc-empresa-ml .wa-evento-galeria .wa-loja-galeria-pager__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 992px) {
  .sc-empresa-ml .wa-evento-galeria .wa-loja-galeria-pager__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
