/* MaXXX Global — vitrine leve: branco, com vermelho, azul e amarelo só no detalhe */

body.cx-body {
  background: #f6f4f0;
  color: #1c1c1c;
}

body.cx-body h1,
body.cx-body h2,
body.cx-body h3,
.cx-catalog h1,
.cx-head h2,
.cx-footer__logo strong,
.cx-footer__logo em {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  text-shadow: none;
}

/* Cabeçalho no padrão do catálogo de exemplo: vermelho, azul e verde */
.cx-header.site-header {
  background: #0a4cb3;
  color: #fff;
  border-bottom: 0;
  box-shadow: none;
}

.cx-header .flag-bar {
  height: 4px;
}

.cx-header .cx-ticker {
  background: #e30613;
  color: #fff;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
  border-bottom: 0;
}

.cx-header .cx-bar {
  background: #0a4cb3;
}

.cx-header .cx-logo .logo-mark--header,
.cx-logo .logo-mark--header {
  width: auto;
  height: 3.15rem;
  max-height: 3.15rem;
  max-width: 12.5rem;
  border-radius: 0.55rem;
  box-shadow: none;
  background: #fff;
  object-fit: contain;
}

@media (min-width: 768px) {
  .cx-header .cx-logo .logo-mark--header,
  .cx-logo .logo-mark--header {
    width: auto;
    height: 3.45rem;
    max-height: 3.45rem;
    max-width: 14rem;
  }
}

.cx-header .logo-wordmark {
  display: none;
}

.cx-header .cx-icon,
.cx-header .header-menu-btn {
  color: #fff;
}

.cx-header .lang-switch {
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
}

.cx-header .lang-switch__btn,
.cx-header .lang-switch__code {
  color: #fff;
}

.cx-header .lang-switch__btn.is-active {
  color: #0a4cb3;
  background: #fff;
  box-shadow: none;
}

.cx-header .cx-nav-drop__btn,
.cx-header .cx-nav-drop:hover .cx-nav-drop__btn,
.cx-header .cx-nav-drop:focus-within .cx-nav-drop__btn {
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.cx-header .cx-nav-drop__btn:hover,
.cx-header .cx-nav-drop__btn.is-active,
.cx-header .cx-nav-drop.is-open .cx-nav-drop__btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: transparent;
}

.cx-header .cx-nav-drop__menu {
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.cx-header .cx-nav-drop__item {
  color: #1c1c1c;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.cx-header .cx-nav-drop__item:hover,
.cx-header .cx-nav-drop__item.is-active {
  color: #fff;
  background: #0a4cb3;
}

.cx-header .cx-search {
  display: flex;
  max-width: none;
}

.cx-header .cx-bar__row {
  flex-wrap: wrap;
}

.cx-header .cx-search__input {
  background: #fff;
  color: #1a140f;
  border: 0;
  border-radius: 999px;
  min-height: 2.55rem;
  box-shadow: none;
}

.cx-header .cx-search__input::placeholder {
  color: #8a8a8a;
}

.cx-header .cx-search__input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.cx-header .cx-cart {
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: transparent;
  color: #fff;
}

.cx-header .header-wa.btn-whatsapp {
  background: #25d366;
  box-shadow: none;
}

.cx-header .header-wa.btn-whatsapp:hover {
  background: #16a34a;
  filter: none;
}

.cx-header .cx-cart__badge {
  background: #e30613;
  color: #fff;
}

.cx-header .header-mobile-panel .mobile-link {
  color: #1c1c1c;
}

.cx-header .header-mobile-panel .mobile-link:hover {
  background: #f6f6f6;
  color: #e10600;
}

@media (max-width: 767px) {
  .cx-header .cx-ticker {
    white-space: normal;
    text-overflow: clip;
    line-height: 1.35;
    letter-spacing: 0;
    font-size: 0.72rem;
    padding: 0.42rem 0.75rem;
  }

  .cx-header .cx-search {
    order: 8;
    flex: 1 1 100%;
    margin: 0.15rem 0 0;
  }

  .ec-hero {
    min-height: 0;
    align-items: center;
  }

  .ec-hero__content {
    padding: 1.5rem 0 1.7rem;
  }

  .ec-hero__logo {
    width: min(9.5rem, 46vw);
    margin-bottom: 0.65rem;
  }

  .ec-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ec-hero__actions a {
    width: 100%;
    justify-content: center;
  }

  .cx-header .cx-logo .logo-mark--header {
    width: auto;
    height: 2.7rem;
    max-height: 2.7rem;
    max-width: 10.5rem;
  }
}

/* Departamentos */
.ec-depts {
  border-top: 0;
  background: #f6f1e8;
}

.ec-depts__row {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.45rem 0 0.55rem;
  scrollbar-width: none;
}

.ec-depts__row::-webkit-scrollbar {
  display: none;
}

.ec-depts a {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #3a332c;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.ec-depts a:hover,
.ec-depts a.is-active {
  background: transparent;
  color: #0a4cb3;
}

/* Hero grande, na frente da loja */
.ec-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(28rem, 78vh, 46rem);
  overflow: hidden;
  color: #fff;
  background: #07070b;
}

.ec-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.ec-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(12, 18, 32, 0.55) 100%);
}

.ec-hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 1.7rem));
  margin: 0 auto;
  padding: 2.4rem 0 2.8rem;
  text-align: center;
}

.ec-hero__logo {
  display: block;
  width: min(22rem, 78vw);
  height: auto;
  margin: 0 auto 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 1rem;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.ec-hero__kicker {
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ec-hero h1,
body.cx-body .ec-hero h1 {
  margin: 0.45rem auto 0;
  max-width: 14ch;
  color: #ffe14a;
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  line-height: 0.95;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.ec-hero__lead {
  margin: 0.9rem auto 0;
  max-width: 38rem;
  color: #f4f7fb;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.5;
}

.ec-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.ec-hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

.ec-hero .btn-outline:hover {
  color: #161616;
  background: #fff;
  border-color: #fff;
}

.ec-perks {
  padding: 0.85rem 0 0.2rem;
  background: transparent;
}

.ec-perks__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.ec-perks li {
  background: #fff;
  border: 1px solid #efe8d6;
  border-top: 2px solid #0a4cb3;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.ec-perks strong,
.ec-perks span {
  display: block;
}

.ec-perks strong {
  font-size: 0.82rem;
  color: #0038a8;
}

.ec-perks span {
  margin-top: 0.15rem;
  color: #6b645c;
  font-size: 0.75rem;
  line-height: 1.35;
}

@media (min-width: 800px) {
  .ec-perks__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Categorias e prateleiras */
.cx-cats {
  margin-top: 1rem;
}

.cx-cat {
  padding: 0;
  gap: 0;
  background: #fff;
  border: 1px solid #efe8d6;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}

.cx-cat img {
  width: 100%;
  height: 11rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cx-cat > div {
  padding: 0.9rem 1rem 1.15rem;
}

@media (max-width: 639px) {
  .cx-cat {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    align-items: stretch;
  }

  .cx-cat img {
    width: 100%;
    height: 100%;
    min-height: 7.5rem;
  }

  .cx-cat > div {
    padding: 0.75rem 0.85rem;
  }
}

.cx-cat strong {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

.cx-head h2 {
  color: #1c1c1c;
  font-size: 1.35rem;
  box-shadow: inset 0 -2px 0 #e30613;
  width: fit-content;
}

.cx-head a {
  color: #e30613;
  text-transform: none;
  letter-spacing: 0;
}

.cx-block {
  padding-top: 1.25rem;
}

.cx-steps article {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #efe8d6;
  border-top: 2px solid #0a4cb3;
}

.cx-steps b {
  color: #e30613;
}

/* Cards de produto */
.cx-grid {
  gap: 0.7rem;
}

@media (min-width: 1100px) {
  .cx-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cx-body .product-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid #efe8d6;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cx-body .product-card:hover {
  transform: none;
  border-color: #f0b90b;
  box-shadow: 0 8px 18px rgba(28, 28, 28, 0.06);
}

.cx-body .product-card__media {
  background: #fff;
  aspect-ratio: 1;
}

.cx-body .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.65rem;
  background: #fff;
}

.product-card__cat {
  color: #888;
  letter-spacing: 0.04em;
}

.product-card__title {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 650;
  font-size: 0.92rem;
}

.cx-body .product-card .price-stack__main,
.cx-body .product-card .price-now {
  color: #e30613;
  font-size: 1.2rem;
}

.product-card__cart,
.cx-body .btn-primary {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 8px;
  background: #e30613;
  box-shadow: none;
  color: #fff;
}

.cx-body .btn-primary:hover {
  filter: none;
  background: #b42318;
  box-shadow: none;
}

.cx-body .btn-outline {
  color: #1c1c1c;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.cx-body .btn-outline:hover {
  border-color: #e10600;
  color: #e10600;
  background: #fff;
  box-shadow: none;
}

.badge-promo {
  background: #e10600;
  color: #fff;
}

/* Catálogo */
.cx-catalog h1 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #1c1c1c;
}

.cx-catboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.15rem 0 1.2rem;
}

.cx-catpick {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  color: #1c1c1c;
  text-decoration: none;
}

.cx-catpick__photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  border: 2px solid transparent;
  background: #efeae2;
  box-shadow: 0 8px 18px rgba(28, 24, 18, 0.08);
}

.cx-catpick__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.cx-catpick:hover .cx-catpick__photo img {
  transform: scale(1.04);
}

.cx-catpick__name {
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.cx-catpick:hover .cx-catpick__name,
.cx-catpick.is-active .cx-catpick__name {
  color: #0038a8;
}

.cx-catpick.is-active .cx-catpick__photo {
  border-color: #0038a8;
  box-shadow: 0 0 0 2px #f0b90b, 0 8px 18px rgba(0, 56, 168, 0.12);
}

@media (max-width: 720px) {
  .cx-catboard {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cx-catboard::-webkit-scrollbar {
    display: none;
  }

  .cx-catpick {
    scroll-snap-align: start;
  }

  .cx-catpick {
    flex: 0 0 8.5rem;
  }
}

.catalog-search__input,
.cx-catalog .catalog-search__field {
  background: #fff;
}

/* Produto */
.cx-pdp__frame {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
}

.cx-pdp__frame img {
  object-fit: contain;
  padding: 1rem;
}

.cx-buy {
  border-radius: 12px;
}

.cx-crumb a:hover {
  color: #e10600;
}

/* FAQ e fechamento */
.cx-faq summary {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-style: normal;
  color: #1c1c1c;
}

.cx-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0 0;
  padding: clamp(3.2rem, 8vw, 5.5rem) 0;
  min-height: 22rem;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #12141c;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cx-cta__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.cx-cta__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.28) 0%, rgba(12, 14, 20, 0.55) 100%);
}

.cx-cta__content {
  position: relative;
  z-index: 2;
}

.cx-cta h2 {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-style: normal;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.cx-cta p {
  color: rgba(255, 255, 255, 0.92);
}

/* Barra móvel */
.page-home .cv-dock {
  background: #fff;
  border: 1px solid #efe8d6;
  box-shadow: 0 -6px 18px rgba(28, 28, 28, 0.06);
}

.page-home .cv-dock a {
  background: #fff;
  color: #1c1c1c;
  border: 1px solid #efe8d6;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-style: normal;
}

.page-home .cv-dock button {
  background: #e10600;
  font-family: Outfit, "Segoe UI", sans-serif;
}

/* Rodapé de loja */
.cx-body .site-footer,
.cx-footer {
  background: #12141c;
  color: #fff;
  border-top: 3px solid #e30613;
}

.cx-body .site-footer::before {
  display: none;
}

.cx-footer__trust {
  background: #0c0e14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cx-footer__trust-row strong {
  color: #fff;
  letter-spacing: 0.04em;
}

.cx-footer__trust-row span,
.cx-footer__brand p,
.cx-footer__addr,
.cx-footer__muted,
.cx-footer__legal,
.cx-footer__ask p,
.cx-footer__main li small {
  color: rgba(255, 255, 255, 0.82) !important;
}

.cx-footer__logo {
  color: #fff;
}

.cx-footer__logo strong {
  color: #ffe14a;
  font-size: 1.2rem;
}

.cx-footer__logo em {
  color: #fff;
  font-size: 0.95rem;
}

.cx-footer .logo-mark--footer {
  width: auto;
  height: 4.4rem;
  max-width: 15rem;
  border-radius: 0.7rem;
  background: #fff;
  object-fit: contain;
  box-shadow: none;
}

.cx-footer .footer-link,
.cx-footer__phone,
.cx-footer__contact a {
  color: #fff;
}

.cx-footer .footer-link:hover,
.cx-footer__phone:hover,
.cx-footer__contact a:hover {
  color: #ffe14a;
}

.cx-footer__main h3 {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-style: normal;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.cx-footer__bottom {
  background: #0c0e14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cx-footer__addr,
.cx-footer__contact,
.cx-footer__phone,
.cx-footer__legal {
  overflow-wrap: anywhere;
}

@media (max-width: 420px) {
  .product-card__body {
    padding: 0.6rem 0.55rem 0.7rem;
  }

  .cx-grid {
    gap: 0.55rem;
  }
}
