/*
 * Madame Charlotte — refinamento estrutural 3.1.0
 * Camada final e pequena: estabiliza layouts internos e responsividade sem
 * substituir hooks, templates transacionais ou integrações do WooCommerce.
 */

:root{
	--mc-layout-max:1280px;
	--mc-text:var(--mc-ink,#211f23);
	--mc-accent:var(--mc-red,#b31024);
	--mc-layout-gutter:clamp(16px,2.6vw,34px);
	--mc-inner-radius:clamp(16px,1.8vw,24px);
	--mc-line:#e9e2dc;
	--mc-muted:#716a68;
	--mc-soft:#fbf8f4;
	--mc-shadow-soft:0 14px 36px rgba(20,16,17,.07);
	--mc-shadow-hover:0 20px 46px rgba(20,16,17,.11);
}

html{scroll-padding-top:120px}
body{overflow-x:hidden}
.mc-container{width:min(var(--mc-layout-max),calc(100% - (var(--mc-layout-gutter) * 2)));margin-inline:auto}
.mc-main{min-width:0}
.mc-main--shop{padding-block:clamp(24px,4vw,52px)}
.mc-main img{max-width:100%;height:auto}

/* Foco e toque — legível sem transformar a interface em botões gigantes. */
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid color-mix(in srgb,var(--mc-red) 38%,transparent);outline-offset:3px}
:where(.button,button,input[type="submit"],input[type="button"]){min-height:44px}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:12px;font-weight:750;line-height:1.2}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce .select2-container .select2-selection{border-radius:12px;min-height:46px;border-color:#d9d1ca;background:#fff}
.woocommerce textarea{min-height:108px}

/* Avisos WooCommerce: mesma linguagem em todas as páginas internas. */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-error,.woocommerce-info,.woocommerce-message{border:1px solid var(--mc-line)!important;border-top:0!important;border-left:4px solid var(--mc-red)!important;border-radius:14px!important;background:#fff!important;color:var(--mc-ink)!important;box-shadow:0 8px 24px rgba(20,16,17,.05);padding:15px 18px 15px 20px!important}
.woocommerce-message{border-left-color:#2b7a55!important}.woocommerce-info{border-left-color:var(--mc-gold)!important}
.woocommerce-error::before,.woocommerce-info::before,.woocommerce-message::before{display:none!important}

/* CABEÇALHO / BUSCA */
.mc-site-header{isolation:isolate}
.mc-header-main{gap:clamp(12px,2vw,28px)}
.mc-product-search input[type="search"]{min-width:0}
.mc-live-search{border:1px solid var(--mc-line);box-shadow:0 22px 60px rgba(16,16,18,.16);border-radius:0 0 18px 18px;overflow:hidden}
.mc-live-search__results{max-height:min(62vh,520px);overflow:auto;overscroll-behavior:contain}
.mc-header-action{min-width:0}

/* CATÁLOGO / CATEGORIAS */
.mc-product-archive .mc-catalog-stage{min-width:0}
.mc-catalog-quickbar{position:sticky;top:8px;z-index:30;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;margin:18px 0 26px;padding:10px;border:1px solid var(--mc-line);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(20,16,17,.06);backdrop-filter:blur(12px)}
.mc-catalog-quick-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;margin:0}
.mc-catalog-quick-search input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;min-height:42px!important}
.mc-catalog-quick-search button{min-height:42px;border:0;border-radius:10px;padding:0 18px;background:var(--mc-black);color:#fff;font-weight:800;cursor:pointer}
.mc-catalog-quickbar__count{white-space:nowrap;color:var(--mc-muted);font-size:13px;font-weight:700;padding-right:6px}

.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2vw,26px)!important;margin:0!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product.mc-product-card,.woocommerce-page ul.products li.product.mc-product-card{width:auto!important;float:none!important;margin:0!important;min-width:0;height:100%}
.mc-product-card__inner{height:100%;display:flex;flex-direction:column;border:1px solid var(--mc-line);border-radius:var(--mc-inner-radius);background:#fff;box-shadow:0 7px 22px rgba(20,16,17,.04);overflow:hidden;transform:none!important}
.mc-product-card__inner:hover{border-color:#ddd1c7;box-shadow:var(--mc-shadow-hover);transform:translateY(-2px)!important}
.mc-product-card__media{aspect-ratio:1/1;overflow:hidden;background:#f8f5f1}
.mc-product-card__media>img,.mc-product-card__hover-image img{width:100%!important;height:100%!important;object-fit:cover}
.mc-product-card__content{display:flex;flex:1;flex-direction:column;padding:clamp(14px,1.5vw,20px)!important;min-width:0}
.mc-product-card .woocommerce-loop-product__title{font-size:clamp(15px,1.15vw,17px)!important;line-height:1.38!important;min-height:2.76em;margin:.35rem 0 .55rem!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mc-product-card__proof{min-height:22px}
.mc-product-card__price-block{margin-top:auto}
.mc-product-card__price{font-variant-numeric:tabular-nums}
.mc-card-payment-facts{display:grid;gap:7px;margin-top:10px}
.mc-card-payment-facts__item{min-width:0}
.mc-card-payment-facts__value,.mc-card-payment-facts__hint{overflow-wrap:anywhere}
.mc-product-card__footer{margin-top:14px!important}
.mc-product-card__action .button{width:100%;justify-content:center;min-height:46px!important}

.woocommerce nav.woocommerce-pagination{margin-top:clamp(28px,4vw,48px)}
.woocommerce nav.woocommerce-pagination ul{display:flex;flex-wrap:wrap;gap:7px;border:0!important}
.woocommerce nav.woocommerce-pagination ul li{border:0!important}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{display:grid;place-items:center;min-width:42px;min-height:42px;border:1px solid var(--mc-line);border-radius:10px;background:#fff}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--mc-black);color:#fff;border-color:var(--mc-black)}

/* SINGLE — grid consistente e sem “cartão dentro de cartão”. */
body.single-product .mc-single-product-page{padding-top:clamp(18px,3vw,34px)}
body.single-product .mc-product-shell{min-width:0}
body.single-product .mc-product-shell__primary{display:grid!important;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr)!important;gap:clamp(28px,4.5vw,64px)!important;align-items:start}
body.single-product .mc-product-shell__gallery,body.single-product.woocommerce div.product .mc-product-shell__summary.summary{min-width:0;width:100%!important;float:none!important;margin:0!important}
body.single-product .mc-product-shell__gallery{position:relative}
body.single-product.woocommerce .mc-product-shell__gallery div.images.woocommerce-product-gallery{width:100%!important;margin:0!important}
body.single-product.woocommerce div.product .mc-product-shell__summary.summary{position:sticky;top:18px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.single-product.woocommerce div.product .mc-product-shell__summary.summary:before{display:none!important}
body.single-product.woocommerce div.product .mc-product-shell__summary .product_title{font-size:clamp(27px,3vw,42px)!important;line-height:1.08!important;letter-spacing:-.025em!important;margin-bottom:12px!important;text-wrap:balance}
body.single-product .mc-product-shell__summary form.cart{border:1px solid var(--mc-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--mc-shadow-soft)!important;padding:clamp(15px,2vw,20px)!important;margin-top:16px!important}
body.single-product .mc-product-shell__summary form.cart .single_add_to_cart_button,body.single-product .mc-product-shell__summary form.cart .mc-buy-now-button{min-height:50px!important;border-radius:12px!important}
body.single-product .mc-product-shell__summary .quantity .qty{min-height:50px!important}
body.single-product .mc-product-shipping{border-radius:14px!important}
body.single-product .mc-product-video{margin:18px 0 0!important;border:1px solid var(--mc-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(20,16,17,.05)}
body.single-product .mc-product-video__frame{aspect-ratio:16/10;background:#0c0c0e;display:grid;place-items:center;overflow:hidden}
body.single-product .mc-product-video video{display:block;width:100%;height:100%;max-height:680px;object-fit:contain;background:#0c0c0e}
body.single-product .mc-product-video figcaption{padding:12px 14px;margin:0;color:var(--mc-muted);font-size:12px;font-weight:700;text-align:center}
body.single-product .mc-product-shell__details{margin-top:clamp(38px,6vw,76px)!important;min-width:0}
body.single-product .mc-product-shell__details :where(.related,.upsells){margin-top:clamp(34px,5vw,64px)!important}

.mc-product-mobile-buy{display:none}

/* CARRINHO */
.woocommerce-cart .mc-main--shop,.woocommerce-checkout .mc-main--shop,.woocommerce-account .mc-main--shop{background:linear-gradient(180deg,#fff 0,#fcfaf7 100%)}
.mc-cart-workspace{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr)!important;gap:clamp(24px,3.5vw,42px)!important;align-items:start}
.mc-cart-form,.cart_totals{min-width:0}
.mc-cart-item{border:1px solid var(--mc-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 22px rgba(20,16,17,.04)}
.mc-cart-item__image img{border-radius:12px}
.cart_totals{position:sticky;top:18px;border:1px solid var(--mc-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--mc-shadow-soft)!important}

/* CHECKOUT — leitura primeiro, decoração depois. */
.woocommerce-checkout form.checkout{max-width:1180px;margin-inline:auto}
.mc-checkout-card{border:1px solid var(--mc-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 30px rgba(20,16,17,.05)!important}
.mc-checkout-card--customer,.mc-checkout-card--decision{padding:clamp(18px,2.6vw,30px)!important}
.woocommerce-checkout .form-row{margin-bottom:14px!important}
.woocommerce-checkout .form-row label{font-size:13px;font-weight:750;color:#3c3737;margin-bottom:6px}
.woocommerce-checkout #payment{border-radius:16px!important;background:#fbf8f4!important;border:1px solid var(--mc-line)!important}
.woocommerce-checkout #payment ul.payment_methods{padding:8px!important}
.woocommerce-checkout #payment ul.payment_methods>li{margin:0 0 7px!important;border:1px solid transparent;border-radius:12px;background:#fff;padding:12px!important}
.woocommerce-checkout #payment ul.payment_methods>li:has(input:checked){border-color:#dfc9c9;box-shadow:0 0 0 2px rgba(179,16,36,.05)}
.woocommerce-checkout #place_order{min-height:54px!important;border-radius:13px!important;font-size:16px!important}
.woocommerce-checkout-review-order-table{width:100%;table-layout:fixed}
.woocommerce-checkout-review-order-table td,.woocommerce-checkout-review-order-table th{overflow-wrap:anywhere}

/* MINHA CONTA */
.mc-account-workspace{display:grid!important;grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;gap:clamp(22px,3vw,38px)!important;align-items:start}
.mc-account-navigation{position:sticky;top:18px;min-width:0}
.mc-account-navigation ul{display:grid;gap:6px}
.mc-account-navigation li a{min-height:46px;border-radius:11px}
.mc-account-content{min-width:0;border:1px solid var(--mc-line);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(20,16,17,.05);padding:clamp(18px,2.8vw,32px)}
.mc-account-shortcuts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
.mc-order-card{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:14px;align-items:center}
.woocommerce-MyAccount-content table.shop_table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;border:0!important}
.woocommerce-MyAccount-content table.shop_table tbody,.woocommerce-MyAccount-content table.shop_table thead{min-width:660px}

/* Tabelas transacionais nunca podem quebrar o viewport. */
.woocommerce table.shop_table{max-width:100%}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{overflow-wrap:anywhere}

/* Até notebook pequeno. */
@media (max-width:1100px){
	.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
	body.single-product .mc-product-shell__primary{grid-template-columns:minmax(0,1fr) minmax(330px,.9fr)!important;gap:30px!important}
	.mc-cart-workspace{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr)!important}
}

/* Tablet e mobile grande. */
@media (max-width:860px){
	html{scroll-padding-top:88px}
	.mc-main--shop{padding-block:22px 38px}
	.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
	.mc-catalog-quickbar{position:relative;top:auto;grid-template-columns:1fr;margin-block:14px 22px}
	.mc-catalog-quickbar__count{padding:0 6px 4px;text-align:right}
	body.single-product .mc-product-shell__primary{grid-template-columns:1fr!important;gap:24px!important}
	body.single-product.woocommerce div.product .mc-product-shell__summary.summary{position:relative;top:auto}
	.mc-product-mobile-buy.is-visible:not([hidden]){position:fixed;z-index:80;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(16,16,18,.96);color:#fff;box-shadow:0 16px 48px rgba(0,0,0,.26);backdrop-filter:blur(14px)}
	.mc-product-mobile-buy>div{display:grid;min-width:0;gap:1px}.mc-product-mobile-buy small{color:#d9d4d0;font-size:10px}.mc-product-mobile-buy strong{font-size:16px;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mc-product-mobile-buy em{display:none!important}.mc-product-mobile-buy .button{min-height:44px!important;padding-inline:16px!important;white-space:nowrap;background:var(--mc-red)!important;color:#fff!important}
	.mc-cart-workspace{grid-template-columns:1fr!important}.cart_totals{position:relative;top:auto}
	.mc-account-workspace{grid-template-columns:1fr!important}.mc-account-navigation{position:relative;top:auto;overflow:hidden}.mc-account-navigation__label{display:none!important}.mc-account-navigation ul{display:flex!important;overflow-x:auto;gap:6px;padding:2px 0 8px;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}.mc-account-navigation li{flex:0 0 auto;scroll-snap-align:start}.mc-account-navigation li a{min-height:42px;white-space:nowrap;padding-inline:12px!important}.mc-account-navigation li a>.mc-icon:last-child{display:none}
	.mc-order-card{grid-template-columns:auto minmax(0,1fr) auto!important}.mc-order-card>.button{grid-column:2/-1;width:100%}
}

/* Celular. */
@media (max-width:560px){
	:root{--mc-layout-gutter:14px}
	.mc-site-header .mc-container{width:min(100% - 24px,var(--mc-layout-max))}
	.mc-header-main{min-height:62px}
	.mc-header-action:not(.mc-header-action--cart) span:last-child{display:none}
	.mc-catalog-quick-search{grid-template-columns:auto minmax(0,1fr)}.mc-catalog-quick-search button{grid-column:1/-1;width:100%}.mc-catalog-quickbar__count{text-align:left}
	.woocommerce ul.products,.woocommerce-page ul.products{gap:12px!important}
	.mc-product-card__content{padding:12px!important}.mc-product-card .woocommerce-loop-product__title{font-size:14px!important;min-height:2.7em}.mc-product-card__proof{font-size:11px}.mc-card-payment-facts{gap:5px}.mc-card-payment-facts__label,.mc-card-payment-facts__hint{font-size:10px!important}.mc-card-payment-facts__value{font-size:12px!important}.mc-product-card__action .button{min-height:42px!important;padding:9px 8px!important;font-size:12px!important}
	body.single-product .mc-single-product-page{padding-top:12px}.woocommerce-breadcrumb{font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mc-product-shell__gallery{margin-inline:-2px!important}body.single-product.woocommerce div.product .mc-product-shell__summary .product_title{font-size:26px!important}.mc-product-shell__summary form.cart{padding:14px!important}.mc-product-shell__summary form.cart .quantity,.mc-product-shell__summary form.cart .single_add_to_cart_button,.mc-product-shell__summary form.cart .mc-buy-now-button{width:100%!important;max-width:none!important}
	.mc-product-mobile-buy.is-visible:not([hidden]){left:7px;right:7px;bottom:max(7px,env(safe-area-inset-bottom));border-radius:14px}.mc-product-mobile-buy small{display:none}.mc-product-mobile-buy strong{font-size:14px}.mc-product-mobile-buy .button{min-height:42px!important;font-size:12px!important;padding-inline:13px!important}
	.mc-cart-item{grid-template-columns:82px minmax(0,1fr)!important;gap:12px!important}.mc-cart-item__quantity,.mc-cart-item__price,.mc-cart-item__remove{grid-column:2!important}.mc-cart-item__price{text-align:left!important}.mc-cart-item__remove{justify-self:start!important}
	.mc-checkout-card--customer,.mc-checkout-card--decision{padding:16px!important;border-radius:16px!important}.woocommerce-checkout #payment ul.payment_methods>li{padding:10px!important}.woocommerce-checkout-review-order-table{font-size:12px}
	.mc-account-content{padding:16px;border-radius:16px}.mc-account-shortcuts{grid-template-columns:1fr!important}.mc-order-card{grid-template-columns:auto minmax(0,1fr)!important}.mc-order-card__total{grid-column:2}.mc-order-card>.button{grid-column:1/-1!important}
}

/* Telas muito estreitas: cards não ficam ilegíveis em duas colunas. */
@media (max-width:390px){
	.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr}
	.mc-product-card__media{aspect-ratio:4/3}
	.mc-product-card .woocommerce-loop-product__title{font-size:15px!important;min-height:auto}
	.mc-card-payment-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}

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


/* My Account — andamento do pedido */
.mc-order-progress {
  margin: 0 0 clamp(24px, 4vw, 38px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid color-mix(in srgb, var(--mc-text, #1d1d1f) 8%, transparent);
  border-radius: 22px;
  background: var(--mc-surface, #fff);
  box-shadow: 0 16px 40px rgba(24, 18, 20, .055);
}

.mc-order-progress__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.mc-order-progress__header span {
  display: block;
  margin-bottom: 6px;
  color: var(--mc-accent, #9c1427);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.mc-order-progress__header h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.mc-order-progress__header > strong {
  max-width: 260px;
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mc-accent, #9c1427) 8%, white);
  color: var(--mc-accent, #9c1427);
  font-size: .78rem;
  text-align: center;
}

.mc-order-progress__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mc-order-progress__steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0 8px;
  color: color-mix(in srgb, var(--mc-text, #1d1d1f) 50%, transparent);
  text-align: center;
}

.mc-order-progress__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 16px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: color-mix(in srgb, var(--mc-text, #1d1d1f) 10%, transparent);
}

.mc-order-progress__steps li.is-done:not(:last-child)::after {
  background: color-mix(in srgb, var(--mc-accent, #9c1427) 55%, white);
}

.mc-order-progress__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid color-mix(in srgb, var(--mc-text, #1d1d1f) 14%, transparent);
  border-radius: 50%;
  background: var(--mc-surface, #fff);
  font-size: .75rem;
  font-weight: 800;
}

.mc-order-progress__steps li.is-done,
.mc-order-progress__steps li.is-active {
  color: var(--mc-text, #1d1d1f);
}

.mc-order-progress__steps li.is-done .mc-order-progress__marker {
  border-color: var(--mc-accent, #9c1427);
  background: var(--mc-accent, #9c1427);
  color: #fff;
}

.mc-order-progress__steps strong {
  font-size: .78rem;
  line-height: 1.3;
}

@media (max-width: 680px) {
  .mc-order-progress {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .mc-order-progress__header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .mc-order-progress__header > strong {
    max-width: none;
    text-align: left;
  }

  .mc-order-progress__steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mc-order-progress__steps li {
    grid-template-columns: 34px 1fr;
    justify-items: start;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0;
    text-align: left;
  }

  .mc-order-progress__steps li:not(:last-child)::after {
    top: 35px;
    left: 16px;
    width: 2px;
    height: calc(100% - 18px);
  }
}

/* 3.0.0 — robustez final de layout e componentes transacionais */
:where(.mc-product-shell__primary,.mc-product-shell__gallery,.mc-product-shell__summary,.mc-cart-workspace,.mc-account-workspace,.mc-checkout-layout,.mc-catalog-stage)>*{min-width:0}
:where(.woocommerce,.mc-main) :where(p,li,dd,dt,td,th,label,small,strong,a){overflow-wrap:break-word}
.mc-category-chips{scroll-padding-inline:var(--mc-layout-gutter);overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.mc-category-chips>a{scroll-snap-align:start}

/* Vídeo no produto: integrado à galeria, sem saltos de layout. */
.mc-product-video{margin:18px 0 0}.mc-product-video__frame{position:relative;overflow:hidden;aspect-ratio:16/9;border:1px solid var(--mc-line);border-radius:18px;background:#101012;box-shadow:0 12px 32px rgba(20,16,17,.08)}.mc-product-video__frame video{display:block;width:100%;height:100%;object-fit:contain;background:#101012}.mc-product-video figcaption{margin-top:8px;color:var(--mc-muted);font-size:12px;font-weight:700;text-align:center}

/* Mini cart compatível com extensões e com textos longos de variação. */
.mc-mini-cart-item{min-width:0}.mc-mini-cart-item__copy,.mc-mini-cart-item__name{min-width:0}.mc-mini-cart-item__name{overflow-wrap:anywhere}.mc-mini-cart-item .variation{margin:5px 0 0}.mc-mini-cart-item .variation dd,.mc-mini-cart-item .variation dt{font-size:11px;line-height:1.35}.mc-mini-cart-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mc-mini-cart-actions .button{display:flex;align-items:center;justify-content:center;min-width:0;text-align:center}

/* Checkout: evita colunas estourando com gateways e campos brasileiros. */
.woocommerce-checkout .form-row{min-width:0}.woocommerce-checkout .form-row input,.woocommerce-checkout .form-row select,.woocommerce-checkout .form-row textarea{max-width:100%}.woocommerce-checkout #payment .payment_box{max-width:100%;overflow:hidden}.woocommerce-checkout #payment iframe{max-width:100%}.woocommerce-checkout #payment ul.payment_methods li{min-width:0}.woocommerce-checkout .select2-container{max-width:100%!important}.woocommerce-checkout-review-order-table td,.woocommerce-checkout-review-order-table th{min-width:0}

/* Carrinho: metadados de variação e nomes extensos permanecem legíveis. */
.mc-cart-item__details,.mc-cart-item__controls{min-width:0}.mc-cart-item__details h3{overflow-wrap:anywhere}.mc-cart-item__details .variation{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 8px;margin:7px 0}.mc-cart-item__details .variation dt,.mc-cart-item__details .variation dd{margin:0;font-size:11px;line-height:1.4}

/* Minha Conta e rastreio. */
.mc-order-tracking{max-width:100%;box-sizing:border-box}.mc-order-tracking code{display:inline-block;max-width:100%;overflow-wrap:anywhere;white-space:normal}.woocommerce-MyAccount-content .woocommerce-customer-details address{overflow-wrap:anywhere}

/* Estado de carregamento sem bloquear layout. */
[data-mc-mini-cart-qty][aria-busy="true"],.mc-product-shipping.is-loading{opacity:.62;pointer-events:none}.mc-live-search__item:focus-visible{outline:2px solid var(--mc-red);outline-offset:-2px}

@media(max-width:720px){
 .mc-mini-cart-actions{grid-template-columns:1fr}.mc-product-video__frame{border-radius:14px}.mc-category-chips{margin-inline:calc(var(--mc-layout-gutter) * -1);padding-inline:var(--mc-layout-gutter)}
 .woocommerce-checkout .form-row-first,.woocommerce-checkout .form-row-last{float:none!important;width:100%!important;margin-right:0!important}
}
@media(max-width:430px){
 .mc-product-mobile-buy.is-visible:not([hidden]){grid-template-columns:minmax(0,1fr) minmax(112px,auto)}.mc-product-mobile-buy .button{max-width:46vw;overflow:hidden;text-overflow:ellipsis}
 .mc-cart-item__details .variation{grid-template-columns:1fr;gap:1px}.mc-cart-item__details .variation dt{font-weight:800}
}


/* ========================================================================== 
   3.1.0 — auditoria de contraste e legibilidade
   Protege páginas claras contra texto herdado claro e mantém as paletas
   personalizadas legíveis escolhendo automaticamente a cor de primeiro plano.
   ========================================================================== */
:root{
	--mc-readable:#242428;
	--mc-readable-soft:#625a58;
	--mc-readable-muted:#716864;
	--mc-field-bg:#fff;
	--mc-field-border:#d8d1cb;
}

/* Superfícies claras nunca herdam texto branco de blocos/estados externos. */
:where(
	.mc-product-card__inner,
	.mc-product-card__content,
	.mc-catalog-quickbar,
	.mc-shop-toolbar,
	.mc-cart-form,
	.mc-cart-item,
	.cart_totals,
	.mc-cart-summary,
	.mc-checkout-intro,
	.mc-checkout-progress,
	.mc-checkout-card,
	.mc-account-navigation,
	.mc-account-content,
	.mc-account-dashboard-card,
	.mc-account-shortcut,
	.mc-order-card,
	.mc-address-card,
	.mc-auth-card,
	.mc-auth-register-disclosure,
	.mc-order-progress,
	.mc-product-video,
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error
){
	color:var(--mc-readable)!important;
	color-scheme:light;
}

:where(
	.woocommerce table.shop_table,
	.woocommerce table.shop_table th,
	.woocommerce table.shop_table td,
	.woocommerce-checkout-review-order-table,
	.woocommerce-checkout-review-order-table th,
	.woocommerce-checkout-review-order-table td,
	.woocommerce-order-details,
	.woocommerce-customer-details,
	.woocommerce-MyAccount-content
){color:var(--mc-readable)}

/* Inputs, selects e placeholders: contraste explícito inclusive em autofill. */
:where(.woocommerce,.mc-main,.mc-product-search,.mc-catalog-quick-search) :where(
	input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
	select,
	textarea
){
	background-color:var(--mc-field-bg);
	border-color:var(--mc-field-border);
	color:var(--mc-readable)!important;
	caret-color:var(--mc-readable);
	-webkit-text-fill-color:var(--mc-readable);
}
:where(.woocommerce,.mc-main,.mc-product-search,.mc-catalog-quick-search) :where(input,textarea)::placeholder{
	color:#716864!important;
	opacity:1!important;
	-webkit-text-fill-color:#716864;
}
:where(.woocommerce,.mc-main) input:-webkit-autofill,
:where(.woocommerce,.mc-main) input:-webkit-autofill:hover,
:where(.woocommerce,.mc-main) input:-webkit-autofill:focus{
	-webkit-text-fill-color:var(--mc-readable)!important;
	box-shadow:0 0 0 1000px #fff inset!important;
	transition:background-color 9999s ease-out 0s;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple{
	background:#fff!important;
	border-color:var(--mc-field-border)!important;
	color:var(--mc-readable)!important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-results__option,
.select2-dropdown{color:var(--mc-readable)!important}
.select2-dropdown{background:#fff!important;border-color:var(--mc-field-border)!important}

/* Texto auxiliar que antes ficava claro demais em superfícies brancas. */
:where(
	.mc-product-card__category,
	.mc-card-payment-facts__label,
	.mc-card-payment-facts__hint,
	.mc-cart-item__unit-price,
	.mc-cart-item__details .variation,
	.mc-cart-item__details .wc-item-meta,
	.mc-account-dashboard__compact-intro span,
	.mc-checkout-intro p,
	.mc-product-archive .woocommerce-breadcrumb,
	body.single-product .woocommerce-breadcrumb,
	.mc-single-social-proof,
	.mc-product-video figcaption
){color:var(--mc-readable-muted)!important}

body.single-product.woocommerce div.product .mc-product-shell__summary p.price del,
.mc-payment-preview--single .mc-payment-preview__main-price del{
	color:#6f6561!important;
	opacity:1!important;
}

/* Botões: primeiro plano calculado no PHP de acordo com a paleta escolhida. */
:where(
	.woocommerce a.button:not(.alt):not(.mc-mini-cart-actions__secondary),
	.woocommerce button.button:not(:disabled),
	.woocommerce input.button:not(:disabled),
	.mc-catalog-quick-search button,
	.mc-product-card__action .button,
	.mc-buy-now-button,
	#place_order,
	.mc-auth-submit-row .button
){color:var(--mc-on-black,#fff)}

:where(
	.woocommerce .checkout-button,
	.woocommerce #place_order,
	.mc-product-card__action .button:hover,
	.mc-product-card__action .button:focus-visible,
	.woocommerce a.button:hover,
	.woocommerce button.button:hover:not(:disabled),
	.woocommerce input.button:hover:not(:disabled)
){color:var(--mc-on-accent,#fff)!important}
.mc-button--primary{color:var(--mc-on-accent,#fff)!important}
.mc-button--dark{color:var(--mc-on-black,#fff)!important}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled]{
	background:#e2ddd7!important;
	border-color:#d4cec7!important;
	color:#57525b!important;
	opacity:1!important;
}

/* Ações verdes precisam de verde mais escuro para texto branco legível. */
.mc-product-share__button--whatsapp{
	background:#16784b!important;
	border-color:#16784b!important;
	color:#fff!important;
}
.mc-product-share__button--whatsapp:hover,
.mc-product-share__button--whatsapp:focus-visible{
	background:#105c39!important;
	border-color:#105c39!important;
}

.woocommerce-cart .mc-cart-item__remove.product-remove>a.remove{
	background:#f8f3f1!important;
	color:#6f5a56!important;
}
.woocommerce-cart .mc-cart-item__remove.product-remove>a.remove:hover,
.woocommerce-cart .mc-cart-item__remove.product-remove>a.remove:focus-visible{
	background:var(--mc-red)!important;
	color:var(--mc-on-accent,#fff)!important;
}

/* Navegação/paginação e abas claras. */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span:not(.current),
.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active) a,
.woocommerce-account .mc-account-navigation a{
	color:var(--mc-readable)!important;
}
.woocommerce nav.woocommerce-pagination ul li span.current{
	color:var(--mc-on-black,#fff)!important;
}
.woocommerce-account .mc-account-navigation .is-active a{
	background:#f4eee9!important;
	color:#8d1020!important;
}

/* Caixas de pagamento e mensagens de gateways: não herdam branco do botão. */
.woocommerce-checkout #payment,
.woocommerce-checkout #payment .payment_box,
.woocommerce-checkout #payment ul.payment_methods>li{
	color:var(--mc-readable)!important;
}
.woocommerce-checkout #payment .payment_box{
	background:#fff!important;
	border:1px solid #e5ddd6!important;
}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff!important}

/* Superfícies realmente escuras continuam claras mesmo com estilos de terceiros. */
:where(
	.mc-auth-intro,
	.mc-product-mobile-buy,
	.mc-cart-experience
){color:var(--mc-on-black,#fff)!important}
:where(.mc-auth-intro,.mc-cart-experience) :where(h1,h2,h3,strong){color:inherit!important}

/* Pequenos estados e textos de status ganham contraste sem aumentar ruído. */
.woocommerce small,
.woocommerce .description,
.woocommerce .woocommerce-form__label-for-checkbox span{
	text-underline-offset:2px;
}
.woocommerce-password-strength,
.woocommerce-password-hint{color:var(--mc-readable-soft)}

@media (max-width:560px){
	:where(.woocommerce,.mc-main) :where(input,select,textarea){font-size:16px}
	.mc-catalog-quickbar{background:#fff!important}
	.mc-account-content,.mc-checkout-card,.cart_totals{border-radius:16px!important}
}

/* 3.2.0 — legibilidade transacional, contraste adaptativo e mobile real */
.mc-floating-whatsapp{
	background:#16784b!important;
	color:#fff!important;
}
.mc-floating-whatsapp:hover,
.mc-floating-whatsapp:focus-visible{
	background:#105c39!important;
	color:#fff!important;
}

/* CTAs que usam a cor configurável nunca dependem de branco fixo. */
.mc-button--primary,
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout #place_order,
.mc-mini-cart-actions__primary,
.mc-product-mobile-buy .button{
	background:var(--mc-red)!important;
	border-color:var(--mc-red)!important;
	color:var(--mc-on-accent,#fff)!important;
	-webkit-text-fill-color:var(--mc-on-accent,#fff)!important;
}
.mc-button--primary:hover,
.mc-button--primary:focus-visible,
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button:focus-visible,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus-visible,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout #place_order:focus-visible,
.mc-mini-cart-actions__primary:hover,
.mc-mini-cart-actions__primary:focus-visible,
.mc-product-mobile-buy .button:hover,
.mc-product-mobile-buy .button:focus-visible{
	background:var(--mc-red-dark)!important;
	border-color:var(--mc-red-dark)!important;
	color:var(--mc-on-accent-dark,#fff)!important;
	-webkit-text-fill-color:var(--mc-on-accent-dark,#fff)!important;
}
.mc-button--dark{
	background:var(--mc-black)!important;
	color:var(--mc-on-black,#fff)!important;
}
.mc-button--dark:hover,
.mc-button--dark:focus-visible{
	background:var(--mc-red)!important;
	color:var(--mc-on-accent,#fff)!important;
}

/* Avisos WooCommerce: superfície clara sempre recebe primeiro plano escuro. */
.woocommerce :where(.woocommerce-message,.woocommerce-info,.woocommerce-error),
:where(.woocommerce-message,.woocommerce-info,.woocommerce-error){
	color:#342c2d!important;
}
.woocommerce-message{background:#eef8f2!important;border-color:#b9ddc5!important}
.woocommerce-info{background:#f3f6fb!important;border-color:#cbd6e7!important}
.woocommerce-error{background:#fff1f2!important;border-color:#e8b9bf!important;color:#721c29!important}
:where(.woocommerce-message,.woocommerce-info,.woocommerce-error) a:not(.button){color:inherit!important;text-decoration:underline;text-underline-offset:2px}

/* Textos operacionais não podem ficar abaixo do tamanho confortável em telas densas. */
.mc-cart-item__unit-price,
.mc-cart-update-status,
.mc-cart-shipping-summary td span,
.mc-cart-summary__note,
.mc-cart-summary__secure,
.mc-checkout-section-heading small,
.mc-checkout-coupon-compact form.checkout_coupon small,
.mc-checkout-products__toggle,
.mc-checkout-product__name .wc-item-meta,
.mc-checkout-review-table tfoot th,
.mc-checkout-delivery-heading small,
.woocommerce-checkout form.checkout .form-row label,
.woocommerce-checkout form.checkout #shipping_method label,
.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .mc-marketing-consent label,
.mc-checkout-footer__inner,
.woocommerce-checkout .woocommerce-info,
.mc-cart-drawer__trust span,
.mc-mini-cart-headline small,
.mc-mini-cart-item__copy .wc-item-meta,
.mc-mini-cart-item__qty-static,
.mc-mini-cart-summary__hint,
.mc-mini-cart-summary__secure,
.mc-checkout-intro p,
.mc-checkout-intro__secure,
.woocommerce-account .mc-account-identity__copy p,
.mc-account-identity__shop,
.mc-checkout-notes>summary small,
.mc-auth-register-disclosure>summary small,
.mc-auth-register-note,
.mc-account-dashboard__compact-intro span{
	font-size:max(11px,.72rem)!important;
	line-height:1.45!important;
}
.mc-mini-cart-actions .button,
.mc-account-identity__actions .button{
	font-size:12px!important;
}

/* Estados de estoque, variação e formulário continuam legíveis sobre fundos claros. */
body.single-product .stock,
body.single-product .woocommerce-variation-availability,
body.single-product .reset_variations,
.woocommerce form .form-row .optional,
.woocommerce form .form-row .required{
	color:var(--mc-readable-soft,#595157)!important;
}
body.single-product .stock.in-stock{color:#17643d!important}
body.single-product .stock.out-of-stock{color:#8a1c2a!important}

/* Foco perceptível sem depender somente da cor. */
:where(.mc-main,.woocommerce,.mc-site-header,.mc-site-footer) :where(a,button,input,select,textarea,[tabindex]):focus-visible{
	outline:3px solid color-mix(in srgb,var(--mc-red) 48%,#fff)!important;
	outline-offset:3px!important;
}

@media(max-width:782px){
	.mc-mini-cart-actions .button,
	.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
	.woocommerce-checkout #place_order,
	body.single-product.woocommerce div.product form.cart .single_add_to_cart_button{
		font-size:14px!important;
	}
	.mc-cart-drawer__panel{max-width:min(100vw,430px)!important}
}
@media(max-width:430px){
	.mc-cart-drawer__panel{width:100vw!important;max-width:100vw!important}
	.mc-mini-cart-actions{grid-template-columns:1fr!important}
	.mc-mini-cart-actions__primary{order:-1}
	.mc-product-mobile-buy.is-visible:not([hidden]){left:6px!important;right:6px!important;padding:10px!important}
}

/* 3.3.0 — microtextos críticos: mínimo de leitura sem inflar a interface. */
.mc-brand__copy small,
.mc-header-action small,
.mc-cart-count,
.mc-announcement,
.mc-announcement__inner>span:first-child,
.mc-announcement__coupon small,
.mc-announcement__coupon strong,
.mc-announcement__coupon>span,
.mc-announcement__coupon [data-coupon-status],
.mc-benefits span,
.mc-mobile-bottom-nav a,
.woocommerce span.onsale,
.mc-product-badge,
.mc-product-card .mc-product-badge,
.mc-product-card__category,
.mc-product-card__category a,
.mc-product-card__availability,
.mc-product-card__secure,
.mc-product-card__price del,
.woocommerce ul.products li.product .price del,
.mc-payment-labels span,
.mc-payment-preview__method,
.mc-payment-preview__pix small,
.mc-payment-preview__value small,
.mc-payment-preview__installments,
.mc-card-payment-facts__label,
.mc-card-payment-facts__hint,
.mc-live-search__price del,
.mc-live-search__availability,
.mc-catalog-hero__mark small,
.mc-catalog-hero__assurances span,
.mc-catalog-chips__label,
.mc-catalog-chips a,
.mc-product-archive .woocommerce-result-count,
.mc-product-archive .woocommerce-ordering select,
.mc-product-share__heading small,
.mc-product-share__button,
.mc-product-share__status,
.mc-product-shipping .mc-eyebrow,
.mc-product-shipping__heading p,
.mc-product-shipping__postcode>label,
.mc-product-shipping__feedback,
.mc-product-shipping__option-copy small,
.mc-product-shipping__option-tag,
.mc-product-shipping__summary-copy small,
body.single-product .mc-product-trust span,
body.single-product .mc-single-proof>*,
body.single-product .mc-product-category-kicker a,
body.single-product .mc-product-category-kicker span,
body.single-product .mc-product-purchase-summary li,
.mc-cart-coupon>label,
.mc-cart-coupon__header small,
.mc-cart-coupon__suggestion,
.mc-cart-experience__coupon-link,
.mc-cart-summary__header .mc-eyebrow,
.mc-cart-summary__trust span,
.mc-checkout-steps li,
.mc-checkout-assurance small,
.mc-checkout-coupon-callout small,
.mc-checkout-coupon-compact>summary,
.mc-checkout-products>summary small,
.mc-checkout-progress>span,
.mc-checkout-progress>a,
.mc-checkout-progress :where(b,i),
.mc-checkout-focus-header__actions a,
.mc-checkout-totals-heading th,
.mc-checkout-notes>summary,
.mc-auth-register-disclosure>summary,
.mc-auth-register-disclosure__action,
.mc-account-navigation__label small,
.mc-account-shortcuts small,
.mc-account-identity__security,
.mc-account-identity__security strong,
.mc-account-identity__security span:not(strong),
.mc-account-endpoint-header .mc-eyebrow,
.mc-account-endpoint-header p,
.mc-order-card__main>span,
.mc-order-card__main small,
.mc-order-card .button,
.mc-order-card__actions .button,
.woocommerce-account form .form-row label,
.woocommerce-account .woocommerce-Address-title .edit,
.woocommerce-order-received .woocommerce-order-overview li,
.woocommerce table.shop_table thead th,
.woocommerce-cart table.cart thead th,
.woocommerce-cart table.shop_table_responsive.cart td::before,
.woocommerce-account table.shop_table_responsive.woocommerce-orders-table td::before{
	font-size:max(11px,.7rem)!important;
	line-height:1.4!important;
}

/* Controles compactos continuam tocáveis/legíveis no celular. */
.mc-product-card__action .button,
.woocommerce ul.products li.product .button,
.mc-cart-coupon .button,
.mc-catalog-quick-search button{
	font-size:max(12px,.75rem)!important;
}

/* Disponibilidade e seleção devem comunicar estado além de opacidade/cor. */
.mc-variation-chip:disabled,
.mc-variation-chip.is-unavailable{
	text-decoration:line-through;
	text-decoration-thickness:1px;
	text-decoration-color:currentColor;
}
.mc-variation-chip[aria-checked="true"]{
	box-shadow:0 0 0 2px color-mix(in srgb,var(--mc-red) 24%,transparent)!important;
}

@media(max-width:430px){
	.mc-mobile-bottom-nav a,
	.mc-product-card__category,
	.mc-product-card__category a,
	.mc-payment-preview__method,
	.mc-payment-preview__value small,
	.mc-product-shipping__option-copy small{
		font-size:11px!important;
	}
}


/* 3.4.0 — correção definitiva de superfícies claras x texto claro. */
.mc-product-archive .woocommerce-breadcrumb,
.mc-product-archive .woocommerce-breadcrumb a{
	color:#5b5350!important;
	-webkit-text-fill-color:#5b5350!important;
}
.mc-product-archive .mc-catalog-hero{
	background:
		radial-gradient(circle at 90% 5%,rgba(179,16,36,.07),transparent 32%),
		linear-gradient(135deg,#fff 0%,#fbf7f3 100%)!important;
	color:var(--mc-readable,#242428)!important;
}
.mc-product-archive .mc-catalog-hero h1{
	color:#241f20!important;
	-webkit-text-fill-color:#241f20!important;
}
.mc-product-archive .mc-catalog-hero__eyebrow{
	color:#9b1024!important;
	-webkit-text-fill-color:#9b1024!important;
}
.mc-product-archive .mc-catalog-hero__description,
.mc-product-archive .mc-catalog-hero__assurances span,
.mc-product-archive .mc-catalog-hero__mark small{
	color:#615956!important;
	-webkit-text-fill-color:#615956!important;
}
.mc-product-archive .mc-catalog-hero__assurances .mc-icon{
	color:#9b1024!important;
}

/* Minha Conta: cartão claro sempre recebe primeiro plano escuro. */
.woocommerce-account .mc-account-identity{
	background:#fff!important;
	border:1px solid #e7ddd8!important;
	color:var(--mc-readable,#242428)!important;
}
.woocommerce-account .mc-account-identity::after{
	background:radial-gradient(circle,rgba(179,16,36,.07),transparent 66%)!important;
}
.woocommerce-account .mc-account-identity .mc-eyebrow{
	color:#9b1024!important;
	-webkit-text-fill-color:#9b1024!important;
}
.woocommerce-account .mc-account-identity h2{
	color:#242428!important;
	-webkit-text-fill-color:#242428!important;
}
.woocommerce-account .mc-account-identity__copy p{
	color:#5f5855!important;
	-webkit-text-fill-color:#5f5855!important;
}
.woocommerce-account .mc-account-identity__copy .mc-icon{
	color:#6a625f!important;
}
.woocommerce-account .mc-account-identity__avatar{
	background:linear-gradient(145deg,var(--mc-red),var(--mc-red-dark))!important;
	color:var(--mc-on-accent,#fff)!important;
	-webkit-text-fill-color:var(--mc-on-accent,#fff)!important;
}
.woocommerce-account .mc-account-identity__edit{
	background:#f4efeb!important;
	border:1px solid #e1d7d1!important;
	color:#2f2928!important;
	-webkit-text-fill-color:#2f2928!important;
}
.woocommerce-account .mc-account-identity__shop{
	color:#8d1020!important;
	-webkit-text-fill-color:#8d1020!important;
}

/* Proteção transversal: componentes conhecidos como claros nunca herdam branco. */
:where(
	.mc-catalog-stage,
	.mc-catalog-quickbar,
	.mc-account-content,
	.mc-checkout-card,
	.mc-auth-card,
	.mc-order-card,
	.mc-account-ready,
	.mc-account-privacy,
	.cart_totals
) :where(h1,h2,h3,h4,p,small,strong,label,legend,dt,dd,th,td,li):not(.button):not([class*="button"]){
	color:var(--mc-readable,#242428);
}

/* Seleção de texto continua legível e não mascara problemas de contraste. */
.mc-main ::selection,
.woocommerce ::selection{
	background:#8d1020;
	color:#fff;
}
.mc-product-archive .mc-catalog-hero__mark strong{
	color:#8d1020!important;
	-webkit-text-fill-color:#8d1020!important;
}

/* Minha Conta: ações com o mesmo padrão visual e contraste previsível. */
.woocommerce-account .mc-account-identity__actions{
	align-items:center;
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	justify-content:flex-end;
}
.woocommerce-account .mc-account-identity__actions .button,
.woocommerce-account .mc-account-identity__edit,
.woocommerce-account .mc-account-identity__shop{
	align-items:center;
	border-radius:10px!important;
	display:inline-flex;
	font-size:12px!important;
	font-weight:750!important;
	justify-content:center;
	line-height:1.2;
	min-height:40px;
	padding:9px 13px!important;
	text-decoration:none!important;
}
.woocommerce-account .mc-account-identity__actions .button{
	background:#242428!important;
	border:1px solid #242428!important;
	color:#fff!important;
	-webkit-text-fill-color:#fff!important;
}
.woocommerce-account .mc-account-identity__shop{
	background:#fff!important;
	border:1px solid #c98d95!important;
	color:#8d1020!important;
	-webkit-text-fill-color:#8d1020!important;
}
.woocommerce-account .mc-account-identity__actions .button:hover,
.woocommerce-account .mc-account-identity__actions .button:focus-visible{
	background:#111113!important;
	border-color:#111113!important;
}
.woocommerce-account .mc-account-identity__edit:hover,
.woocommerce-account .mc-account-identity__edit:focus-visible{
	background:#ebe4df!important;
	color:#211c1b!important;
}
.woocommerce-account .mc-account-identity__shop:hover,
.woocommerce-account .mc-account-identity__shop:focus-visible{
	background:#8d1020!important;
	border-color:#8d1020!important;
	color:#fff!important;
	-webkit-text-fill-color:#fff!important;
}
@media(max-width:560px){
	.woocommerce-account .mc-account-identity__actions{
		display:grid;
		grid-column:1/-1;
		grid-template-columns:repeat(3,minmax(0,1fr));
		width:100%;
	}
	.woocommerce-account .mc-account-identity__actions .button,
	.woocommerce-account .mc-account-identity__edit,
	.woocommerce-account .mc-account-identity__shop{
		min-width:0;
		padding-inline:8px!important;
		width:100%;
	}
}


/* ========================================================================== 
   3.4.1 — Minha Conta: correção definitiva do cabeçalho da navegação clara
   O sidebar foi convertido para superfície branca em versões anteriores, mas
   regras antigas ainda forçavam strong/small e hover em branco.
   ========================================================================== */
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation .mc-account-navigation__label{
	background:transparent!important;
	border-bottom:1px solid #e9e0da!important;
	color:var(--mc-readable,#242428)!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation .mc-account-navigation__label>span{
	background:#f7f1ec!important;
	border:1px solid #eadfd7!important;
	color:#a9782d!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation .mc-account-navigation__label strong{
	background:transparent!important;
	color:#2d2928!important;
	-webkit-text-fill-color:#2d2928!important;
	font-size:12px!important;
	font-weight:800!important;
	line-height:1.25!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation .mc-account-navigation__label small{
	background:transparent!important;
	color:#6d6561!important;
	-webkit-text-fill-color:#6d6561!important;
	font-size:11px!important;
	font-weight:600!important;
	line-height:1.3!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation a:focus-visible{
	background:#f7f2ee!important;
	color:#7e1422!important;
	-webkit-text-fill-color:#7e1422!important;
	transform:none!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation .is-active a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation .is-active a:focus-visible{
	background:#f1e6e3!important;
	color:#82111f!important;
	-webkit-text-fill-color:#82111f!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation a:focus-visible{
	outline:2px solid #8d1020!important;
	outline-offset:2px!important;
}
.woocommerce-account .woocommerce-MyAccount-navigation.mc-account-navigation .woocommerce-MyAccount-navigation-link--customer-logout a{
	color:#7a3036!important;
	-webkit-text-fill-color:#7a3036!important;
}


/* Responsividade consolidada no arquivo estrutural, sem camada adicional. */
/* Consistência entre vitrine, páginas de conteúdo e área da cliente. */
:root {
	--mc-font: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
}

body,
body :where(button, input, select, textarea),
.mc-main :where(h1, h2, h3, h4, h5, h6, p, a, strong, small, label),
.mc-site-header :where(h1, h2, h3, a, button),
.mc-site-footer :where(h2, h3, a, button),
.woocommerce :where(h1, h2, h3, h4, button, input, select, textarea),
.wp-block-button__link {
	font-family: var(--mc-font) !important;
}

.mc-main :where(.wp-block-columns, .wp-block-media-text, .wp-block-group),
.mc-entry-content,
.mc-account-content,
.mc-checkout-form,
.mc-product-shell__gallery {
	min-width: 0;
}

.mc-main :where(.woocommerce, .woocommerce .col2-set, .woocommerce form, .mc-cart-form, .mc-cart-summary, .mc-product-card__content, .mc-account-identity__actions, .mc-account-shortcuts a),
.mc-main :where(input, select, textarea) {
	min-width: 0;
}

.mc-entry-content :where(iframe, video, embed) {
	max-width: 100%;
}

.mc-entry-content :where(iframe[src*="youtube"], iframe[src*="vimeo"]) {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

.mc-entry-content :where(table, pre, .wp-block-table, .wp-block-embed) {
	max-width: 100%;
	overflow-x: auto;
}

.mc-product-video__link {
	display: inline-block;
	padding: 0 14px 14px;
	color: var(--mc-red);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
}

.mc-product-video__error:not([hidden]) {
	margin: 8px 14px;
	color: var(--mc-danger);
	font-size: 13px;
}

.mc-mobile-navigation {
	max-height: 100dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: max(16px, env(safe-area-inset-bottom));
}

/* O desktop nasce compacto no CSS, ANTES do JS e das fontes chegarem.
   A barra horizontal somente aparece depois que a largura foi confirmada.
   Isto evita o FOUC: menu horizontal visivel que some ao carregar. */
@media (min-width: 1321px) {
	.mc-primary-navigation { min-height: 48px; }
	/* Auto: não mostra um hambúrguer temporário que sumirá se os links couberem. */
	body:not(.mc-desktop-menu-mode-compact):not(.mc-menu-fit-ready) .mc-menu-toggle {
		visibility: hidden;
	}
	body:not(.mc-desktop-menu-mode-compact):not(.mc-menu-fit-ready) .mc-primary-navigation {
		visibility: hidden;
	}

	.mc-primary-menu {
		align-items: center;
		flex-wrap: nowrap;
		column-gap: clamp(6px, .58vw, 12px);
		row-gap: 0;
		justify-content: center;
		max-width: 100%;
		min-height: 48px;
	}
	.mc-primary-menu > li { flex: 0 0 auto; }
	.mc-primary-menu > li > a {
		font-size: clamp(10.5px, .84vw, 12px);
		gap: 4px;
		letter-spacing: 0;
		min-height: 48px;
		padding-block: 12px;
		white-space: nowrap;
	}
	.mc-primary-menu .mc-menu-emoji { flex: 0 0 auto; }

	/* Fallback somente se os títulos configurados excederem a largura real. */
	body:not(.mc-desktop-menu-expanded) .mc-primary-navigation { display: none; }
	/* Medição invisível: nunca força a barra horizontal a pintar um frame. */
	body:not(.mc-desktop-menu-expanded) .mc-primary-navigation.mc-menu-measuring {
		display: block;
		position: fixed;
		inset: -10000px 0 auto;
		width: 100%;
		visibility: hidden;
		pointer-events: none;
		contain: layout style;
	}

	body:not(.mc-desktop-menu-expanded) .mc-header-main {
		grid-template-columns: 44px auto minmax(160px, 1fr) auto;
		gap: clamp(10px, 1.8vw, 20px);
	}
	body:not(.mc-desktop-menu-expanded) .mc-menu-toggle {
		align-items: center; background: transparent; border: 0;
		display: flex; height: 44px; justify-content: center;
		padding: 0; width: 44px;
	}
	body:not(.mc-desktop-menu-expanded) .mc-mobile-nav-backdrop {
		background: rgba(0,0,0,.55); inset: 0; position: fixed; z-index: 94;
	}
	body:not(.mc-desktop-menu-expanded) .mc-mobile-navigation {
		background: #fff; display: flex; flex-direction: column; height: 100dvh;
		left: 0; max-width: min(88vw, 390px); overflow-y: auto;
		padding: 20px; position: fixed; top: 0; transform: translateX(-105%);
		transition: transform 220ms ease; width: 100%; z-index: 95;
	}
	body:not(.mc-desktop-menu-expanded) .mc-mobile-navigation[data-open="true"] { transform: translateX(0); }
	body:not(.mc-desktop-menu-expanded) .mc-mobile-navigation__header {
		align-items: center; border-bottom: 1px solid var(--mc-line);
		display: flex; justify-content: space-between; padding-bottom: 18px;
	}
	body:not(.mc-desktop-menu-expanded) .mc-mobile-navigation__close {
		align-items: center; background: #f4f2ef; border: 0; border-radius: 50%;
		display: flex; height: 40px; justify-content: center; padding: 0; width: 40px;
	}
	body:not(.mc-desktop-menu-expanded) .mc-mobile-menu { margin-block: 14px; }
	body:not(.mc-desktop-menu-expanded) .mc-mobile-menu li { border-bottom: 1px solid var(--mc-line); }
	body:not(.mc-desktop-menu-expanded) .mc-mobile-menu a { display: block; font-size: 14px; padding: 13px 5px; }
	body:not(.mc-desktop-menu-expanded) .mc-mobile-menu .sub-menu {
		list-style: none; margin: 0; padding: 0 0 8px 14px;
	}
	body:not(.mc-desktop-menu-expanded) .mc-mobile-menu .sub-menu li { border: 0; }
	body:not(.mc-desktop-menu-expanded) .mc-mobile-menu .sub-menu a {
		color: var(--mc-muted); font-size: 12px; padding: 8px 4px;
	}
	body:not(.mc-desktop-menu-expanded) .mc-mobile-navigation__footer {
		display: grid; gap: 8px; margin-top: auto; padding-top: 18px;
	}
	body:not(.mc-desktop-menu-expanded) .mc-mobile-navigation__footer a {
		align-items: center; background: var(--mc-cream); border-radius: 12px;
		display: flex; gap: 9px; padding: 12px;
	}
}

@media (max-width: 860px) {
	.mc-main, .mc-site-header, .mc-site-footer, .mc-content-layout,
	.mc-account-workspace, .mc-cart-workspace, .mc-checkout-layout {
		min-width: 0;
	}

	.mc-entry-content .wp-block-columns {
		flex-wrap: wrap !important;
	}

	.mc-entry-content .wp-block-column {
		min-width: min(100%, 260px);
	}

	.mc-product-video__frame {
		aspect-ratio: 16 / 9 !important;
	}
}

@media (max-width: 560px) {
	.mc-container {
		width: min(100% - 28px, var(--mc-layout-max));
	}

	.mc-entry-content :where(table, pre) {
		display: block;
		-webkit-overflow-scrolling: touch;
	}

	.mc-checkout-form :where(input, select, textarea),
	.mc-auth-form :where(input, select, textarea) {
		font-size: 16px;
	}

	.mc-product-mobile-buy {
		padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
	}
}

/* Em telas largas, use mais área sem alargar o texto institucional. */
@media (min-width: 1700px) {
	:root {
		--mc-container: 1500px;
		--mc-layout-max: 1500px;
	}

	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.mc-content-layout--narrow {
		max-width: 980px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* O YouTube só cria o iframe depois do clique; até lá usa a foto já existente. */
body.single-product .mc-product-video--youtube .mc-product-video__frame {
	aspect-ratio: 16 / 9;
}

.mc-product-video__play {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #171313;
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.mc-product-video__play img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: .65;
}

.mc-product-video__play-icon {
	position: relative;
	z-index: 1;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--mc-red);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
	font-size: 25px;
	line-height: 1;
	padding-left: 4px;
}

.mc-product-video__play-label {
	position: absolute;
	z-index: 1;
	bottom: 14px;
	left: 14px;
	font-size: 14px;
	font-weight: 700;
}

.mc-product-video__play:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -5px;
}

.mc-product-video--youtube iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Navegação, vitrines e páginas internas: uma única camada de ajustes responsivos. */
@media (min-width: 821px) and (max-width: 1320px) {
	.mc-header-main {
		grid-template-columns: 44px auto minmax(160px, 1fr) auto;
		gap: clamp(10px, 1.8vw, 20px);
	}
	.mc-menu-toggle {
		align-items: center;
		background: transparent;
		border: 0;
		display: flex;
		height: 44px;
		justify-content: center;
		padding: 0;
		width: 44px;
	}
	.mc-primary-navigation { display: none; }
	.mc-mobile-nav-backdrop { background: rgba(0,0,0,.55); inset: 0; position: fixed; z-index: 94; }
	.mc-mobile-navigation {
		background: #fff;
		display: flex;
		flex-direction: column;
		height: 100dvh;
		left: 0;
		max-width: min(88vw, 390px);
		overflow-y: auto;
		padding: 20px;
		position: fixed;
		top: 0;
		transform: translateX(-105%);
		transition: transform 220ms ease;
		width: 100%;
		z-index: 95;
	}
	.mc-mobile-navigation[data-open="true"] { transform: translateX(0); }
	.mc-mobile-navigation__header { align-items: center; border-bottom: 1px solid var(--mc-line); display: flex; justify-content: space-between; padding-bottom: 18px; }
	.mc-mobile-navigation__close { align-items: center; background: #f4f2ef; border: 0; border-radius: 50%; display: flex; height: 40px; justify-content: center; padding: 0; width: 40px; }
	.mc-mobile-menu { margin-block: 14px; }
	.mc-mobile-menu li { border-bottom: 1px solid var(--mc-line); }
	.mc-mobile-menu a { display: block; font-size: 14px; padding: 13px 5px; }
	.mc-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 8px 14px; }
	.mc-mobile-menu .sub-menu li { border: 0; }
	.mc-mobile-menu .sub-menu a { color: var(--mc-muted); font-size: 12px; padding: 8px 4px; }
	.mc-mobile-navigation__footer { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
	.mc-mobile-navigation__footer a { align-items: center; background: var(--mc-cream); border-radius: 12px; display: flex; gap: 9px; padding: 12px; }
}

/* Textos de preço mantêm os números inteiros em qualquer vitrine. */
.mc-product-card__price,
.mc-card-payment-facts__value,
.mc-payment-preview__value,
.mc-product-mobile-buy strong {
	font-variant-numeric: tabular-nums;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

@media (max-width: 820px) {
	:root { --mc-mobile-nav-height: 72px; }
	body { overflow-x: clip; padding-bottom: calc(var(--mc-mobile-nav-height) + env(safe-area-inset-bottom, 0px)); }
	body.woocommerce-checkout:not(.woocommerce-order-received) { padding-bottom: 0; }
	/* Retira a tarja promocional mobile (inclusive o espaco vazio) sem alterar o desktop. */
	.mc-announcement { display: none; }
	.mc-site-header,
	.mc-header-main,
	.mc-header-search-mobile { background: #fff; }
	.mc-site-header { position: relative; top: auto; z-index: 50; box-shadow: 0 2px 12px rgba(25,14,17,.06); }
	.mc-header-main { min-height: 58px; padding-block: 2px; }
	.mc-header-main .mc-brand__logo { max-height: 44px; max-width: min(170px, calc(100vw - 140px)); }
	.mc-header-search-mobile { border-top: 1px solid var(--mc-line); padding-block: 7px; }
	.mc-header-search-mobile .mc-container,
	.mc-header-search-mobile .mc-product-search { min-width: 0; }
	.mc-header-search-mobile .mc-product-search { min-height: 45px; padding: 4px 5px 4px 15px; }
	.mc-header-search-mobile .mc-product-search input { font-size: 16px; min-width: 0; height: 38px; }
	.mc-header-search-mobile .mc-product-search button { flex: 0 0 38px; width: 38px; height: 38px; }
	.mc-menu-toggle,
	.mc-header-action--cart { position: relative; z-index: 1; }
	.mc-mobile-navigation { background: #fff; height: 100dvh; max-height: 100dvh; border-radius: 0; padding-bottom: max(22px, env(safe-area-inset-bottom, 0px)); }
	.mc-mobile-navigation__footer { padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
	.mc-cart-drawer__panel { height: 100dvh; max-height: 100dvh; }
	.mc-cart-drawer__content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
	.mc-cart-drawer .woocommerce-mini-cart__buttons .button { white-space: normal; text-align: center; }
	.mc-mobile-navigation[data-open="true"] { background: #fff; }
	.mc-mobile-bottom-nav {
		background: #fff;
		height: calc(var(--mc-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
		padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
		z-index: 80;
	}
	.mc-mobile-bottom-nav a {
		font-size: 11px !important;
		gap: 3px;
		height: auto;
		min-height: 46px;
		min-width: 0;
		width: 100%;
	}
	.mc-mobile-bottom-nav .mc-icon { width: 21px; height: 21px; }
	.mc-mobile-bottom-nav a > span:not(.mc-cart-count) { white-space: nowrap; }
	.mc-floating-whatsapp { bottom: calc(var(--mc-mobile-nav-height) + 16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
	.mc-floating-whatsapp--over-footer { opacity: 0; pointer-events: none; transform: translateY(10px); }
	.mc-catalog-quickbar,
	.mc-product-archive .mc-shop-toolbar { position: static !important; top: auto; backdrop-filter: none; background: #fff; }
	.mc-product-archive .mc-catalog-hero,
	.mc-product-archive .mc-catalog-stage,
	.mc-cart-workspace,
	.mc-checkout-layout,
	.mc-account-workspace { min-width: 0; max-width: 100%; }
	.mc-catalog-chips__track { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
	.mc-catalog-chips__track a { flex: 0 0 auto; white-space: nowrap; }
	.mc-product-card .mc-card-payment-facts__value,
	.mc-product-card .mc-card-payment-facts__hint { overflow-wrap: normal !important; }
	.mc-product-mobile-buy.is-visible:not([hidden]) {
		background: #fff;
		bottom: calc(var(--mc-mobile-nav-height) + env(safe-area-inset-bottom, 0px) + 7px) !important;
		z-index: 81;
	}
	body.single-product { padding-bottom: calc(var(--mc-mobile-nav-height) + 96px + env(safe-area-inset-bottom, 0px)); }
	body.single-product .mc-product-mobile-buy.is-over-footer { display: none !important; }
	body.single-product .mc-product-shell__primary { grid-template-columns: minmax(0, 1fr) !important; }
	body.single-product .mc-product-shell__gallery,
	body.single-product.woocommerce div.product .mc-product-shell__summary.summary { min-width: 0; max-width: 100%; position: static; top: auto; }
	body.single-product .mc-product-shell__gallery img { height: auto; max-width: 100%; object-fit: contain; }
	.woocommerce-account .mc-account-workspace > .woocommerce-MyAccount-navigation.mc-account-navigation { overflow: visible; position: static; width: 100%; }
	.woocommerce-account .mc-account-navigation ul {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		min-width: 0;
		overflow: visible;
		padding: 0;
		scroll-snap-type: none;
	}
	.woocommerce-account .mc-account-navigation li { flex: initial; min-width: 0; width: 100%; }
	.woocommerce-account .mc-account-navigation a {
		align-items: center;
		display: grid;
		gap: 7px;
		font-size: 12px;
		grid-template-columns: 23px minmax(0, 1fr);
		min-height: 49px;
		min-width: 0;
		padding: 8px !important;
		white-space: normal;
		word-break: normal;
	}
	.woocommerce-account .mc-account-navigation .mc-account-navigation__icon {
		display: flex;
		flex: 0 0 23px;
		height: 23px;
		width: 23px;
	}
	.woocommerce-account .mc-account-navigation a > span:nth-child(2) { min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: none; }
	.woocommerce-account .mc-account-navigation a > .mc-icon:last-child { display: none; }
	.woocommerce-account .woocommerce-MyAccount-content.mc-account-content { min-width: 0; max-width: 100%; }
	.woocommerce-account .mc-account-workspace > .mc-account-content { min-height: 0; padding: 18px; }
	.woocommerce-account .mc-account-identity__copy { min-width: 0; }
	.woocommerce-account .mc-account-identity__copy p { overflow-wrap: anywhere; }
	.woocommerce-account .mc-account-identity__copy h2 { overflow-wrap: break-word; font-size: clamp(20px, 5vw, 30px); line-height: 1.24; }
	.woocommerce-account .mc-account-section__heading { min-width: 0; flex-wrap: wrap; }
	.woocommerce-account .mc-account-section__heading h2 { font-size: clamp(20px, 5.4vw, 28px); }
}

@media (max-width: 600px) {
	/* A sacola usa duas linhas reais no celular: produto em cima; quantidade e total abaixo. */
	.woocommerce-cart .mc-cart-item.mc-cart-item--simple {
		grid-template-columns: minmax(56px, 76px) minmax(0, 1fr) !important;
		align-items: start;
		gap: 9px 12px !important;
		padding: 12px;
	}
	.woocommerce-cart .mc-cart-item--simple .mc-cart-item__media {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		height: auto;
		aspect-ratio: 1;
	}
	.woocommerce-cart .mc-cart-item--simple .mc-cart-item__details {
		grid-column: 2;
		grid-row: 1;
		padding-right: 22px;
	}
	.woocommerce-cart .mc-cart-item--simple .mc-cart-item__controls {
		grid-column: 1 / -1 !important;
		grid-row: 2;
		width: 100%;
		grid-template-columns: minmax(120px, 1fr) minmax(88px, 1fr) !important;
		gap: 10px;
		align-items: end;
	}
	.woocommerce-cart .mc-cart-item--simple .mc-cart-item__quantity {
		grid-column: 1 !important;
		min-width: 0;
		width: 100%;
	}
	.woocommerce-cart .mc-cart-item--simple .mc-cart-qty-control {
		grid-template-columns: 34px minmax(38px, 1fr) 34px;
		box-sizing: border-box;
		width: min(100%, 150px);
	}
	.woocommerce-cart .mc-cart-item--simple .mc-cart-item__subtotal {
		grid-column: 2 !important;
		min-width: 0;
		justify-items: end;
	}
	.woocommerce-cart .mc-cart-item--simple .mc-cart-item__remove {
		position: absolute;
		grid-column: auto !important;
		justify-self: auto !important;
		top: 8px;
		right: 8px;
	}
	.mc-container,
	.mc-content-layout,
	.mc-main--shop > .mc-container { width: min(100% - 28px, var(--mc-layout-max)); max-width: 100%; padding-inline: 0; }
	.mc-content-layout--commerce { padding-top: 24px; padding-bottom: 52px; }
	.woocommerce ul.products,
	.woocommerce-page ul.products,
	ul.products,
	.mc-product-archive ul.products,
	.mc-product-search-results ul.products,
	.wc-block-grid__products,
	.wc-block-product-template,
	.mc-category-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
	.woocommerce ul.products li.product.mc-product-card { min-width: 0; max-width: 100%; margin-inline: 0; }
	.woocommerce ul.products li.product.mc-product-card .mc-product-card__inner { border-radius: 16px; }
	.woocommerce ul.products li.product.mc-product-card .mc-product-card__media { aspect-ratio: 4 / 3; }
	.woocommerce ul.products li.product.mc-product-card .mc-product-card__content { gap: 5px; padding: 15px !important; }
	.mc-product-card--commerce .woocommerce-loop-product__title,
	.mc-product-archive .mc-product-card--commerce .woocommerce-loop-product__title,
	.woocommerce ul.products li.product.mc-product-card .woocommerce-loop-product__title {
		font-size: 16px !important;
		line-height: 1.35 !important;
		margin: 4px 0 8px !important;
		min-height: 0 !important;
	}
	.mc-product-card--commerce .mc-product-card__price { font-size: 19px !important; line-height: 1.3; }
	.mc-card-payment-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.mc-card-payment-facts__item { align-content: start; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
	.mc-card-payment-facts__label { font-size: 11px !important; line-height: 1.25; }
	.mc-card-payment-facts__value { font-size: 13px !important; line-height: 1.35; }
	.mc-card-payment-facts__hint { display: block; font-size: 11px !important; grid-column: auto; }
	.woocommerce ul.products li.product.mc-product-card .mc-product-card__action .button { font-size: 13px !important; min-height: 46px !important; }
	.woocommerce-account .mc-account-identity { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 16px; }
	.woocommerce-account .mc-account-identity__copy p {
		display: block;
		max-width: 100%;
		overflow: visible;
		text-overflow: clip;
		white-space: normal;
		overflow-wrap: anywhere;
	}
	.woocommerce-account .mc-account-identity__copy p .mc-icon { display: inline-block; vertical-align: middle; margin-right: 7px; }
	.woocommerce-account .mc-account-identity__actions { display: grid !important; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; justify-content: stretch; width: 100%; }
	.woocommerce-account .mc-account-identity__actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.woocommerce-account .mc-account-identity__actions .button,
	.woocommerce-account .mc-account-identity__edit,
	.woocommerce-account .mc-account-identity__shop { font-size: 12px !important; line-height: 1.25; min-height: 44px; padding: 9px !important; width: 100%; }
	.woocommerce-account .mc-account-dashboard-cards,
	.woocommerce-account .mc-account-shortcuts { grid-template-columns: minmax(0, 1fr) !important; }
	.mc-account-dashboard__compact-intro { align-items: flex-start; flex-direction: column; }
	body.single-product.woocommerce div.product .mc-product-shell__summary.summary { background: #fff !important; border-radius: 15px; padding: 17px !important; }
	body.single-product .summary .mc-payment-preview__option { min-width: 0; }
	body.single-product.woocommerce div.product form.cart .single_add_to_cart_button,
	body.single-product.woocommerce div.product form.cart .mc-buy-now-button { white-space: normal; }
	.mc-product-archive .mc-catalog-hero h1 { overflow-wrap: break-word; }
	.mc-hero h1 { font-size: clamp(30px, 8.3vw, 42px); line-height: 1.14; max-width: 100%; overflow-wrap: normal; }
	.mc-hero__content { padding-block: 42px 50px; }
	.mc-hero p { font-size: clamp(14px, 3.8vw, 17px); line-height: 1.55; max-width: 100%; }
	.mc-hero .mc-button, .mc-hero .button { min-height: 48px; max-width: 100%; }
	body.single-product.woocommerce div.product .mc-product-shell__summary .product_title {
		font-size: clamp(23px, 6.3vw, 29px) !important;
		line-height: 1.22 !important;
		letter-spacing: -.025em;
		text-wrap: pretty;
		word-break: normal;
	}
	.mc-mobile-bottom-nav { box-shadow: 0 -2px 12px rgba(18, 15, 16, .06); }
}

@media (max-width: 380px) {
	.woocommerce-account .mc-account-navigation a { gap: 5px; padding: 8px !important; font-size: 12px; }
	.mc-card-payment-facts { gap: 8px; }
	.mc-product-mobile-buy.is-visible:not([hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
	.mc-product-mobile-buy .button { min-width: 0; }
}

/* Larguras de 320px: um único item por linha impede navegação espremida. */
@media (max-width: 350px) {
	.woocommerce-account .mc-account-navigation ul { grid-template-columns: minmax(0, 1fr) !important; }
	.woocommerce-account .mc-account-navigation a { min-height: 46px; grid-template-columns: 26px minmax(0, 1fr); }
	.mc-mobile-bottom-nav a > span:not(.mc-cart-count) { font-size: 10px; }
}

/* Sacola v3.9: preserva a tabela de totais WooCommerce sem a regra mobile
   shop_table_responsive (desenvolvida para tabelas de produtos, não totais).
   Restrito à sacola clássica: não altera checkout, pedidos ou Cart Blocks. */
.woocommerce-cart .mc-cart-workspace--simple,
.woocommerce-cart .mc-cart-workspace--simple > .mc-cart-form,
.woocommerce-cart .mc-cart-workspace--simple > .mc-cart-collaterals,
.woocommerce-cart .mc-cart-collaterals .mc-cart-summary--simple {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
.woocommerce-cart .mc-cart-collaterals .mc-cart-summary--simple.cart_totals {
  width: 100%;
  float: none;
  margin: 0;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__header h2 {
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 1.25;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table {
  display: table;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: visible;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table tbody {
  display: table-row-group;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table tr {
  display: table-row;
  min-width: 0;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table th,
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table td {
  display: table-cell;
  box-sizing: border-box;
  min-width: 0;
  float: none;
  vertical-align: top;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  font-size: clamp(12px, .89vw, 14px) !important;
  line-height: 1.45;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table th {
  width: 41%;
  padding: 11px 10px 11px 0 !important;
  text-align: left !important;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table td {
  width: 59%;
  padding: 11px 0 11px 6px !important;
  text-align: right !important;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table td::before,
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table td::after {
  content: none !important;
  display: none !important;
  float: none !important;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table td .woocommerce-Price-amount,
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table td .woocommerce-Price-amount bdi {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table .order-total th,
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table .order-total td {
  font-weight: 800;
  vertical-align: baseline;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table .order-total td strong {
  font-size: clamp(19px, 5.6vw, 25px);
  line-height: 1.2;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-shipping-summary td strong,
.woocommerce-cart .mc-cart-summary--simple .mc-cart-shipping-summary td small,
.woocommerce-cart .mc-cart-summary--simple .mc-cart-shipping-summary td span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: break-word;
}
.woocommerce-cart .mc-cart-summary--simple .mc-cart-shipping-summary td small { margin-top: 4px; }
.woocommerce-cart .mc-cart-summary--simple .woocommerce-remove-coupon {
  display: inline-block;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 4px;
  overflow-wrap: normal;
  white-space: nowrap;
}
.woocommerce-cart .mc-cart-summary--simple :where(.mc-cart-summary__note, .mc-cart-summary__pix, .mc-cart-summary__local, .mc-cart-summary__secure) {
  font-size: 12px !important;
  line-height: 1.5 !important;
  overflow-wrap: break-word;
}
.woocommerce-cart .mc-cart-summary--simple .wc-proceed-to-checkout {
  width: 100%;
  margin-top: 15px;
}
.woocommerce-cart .mc-cart-summary--simple .wc-proceed-to-checkout .checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100% !important;
  min-height: 50px;
  padding: 12px;
  font-size: 14px !important;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
@media (max-width: 1023px) {
  /* Encerra antes a disposição de duas colunas; a sacola nunca fica
     comprimida ao lado de um resumo de largura fixa em tablets. */
  .woocommerce-cart .mc-cart-workspace.mc-cart-workspace--simple {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch;
  }
  .woocommerce-cart .mc-cart-collaterals,
  .woocommerce-cart .mc-cart-collaterals .mc-cart-summary--simple.cart_totals {
    position: static !important;
    top: auto !important;
    max-width: none;
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 600px) {
  .woocommerce-cart .mc-cart-collaterals .mc-cart-summary--simple.cart_totals {
    padding: 16px !important;
    border-radius: 16px;
  }
  .woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table th { width: 42%; padding-right: 8px !important; }
  .woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table td { width: 58%; padding-left: 4px !important; }
  .woocommerce-cart .mc-cart-summary--simple .mc-cart-summary__table .order-total td strong { font-size: clamp(19px, 5.2vw, 23px); }
  .woocommerce-cart .mc-cart-summary--simple .woocommerce-remove-coupon { display: block; margin-top: 2px; }
  .woocommerce-cart .mc-cart-actions--simple .mc-cart-actions__primary { min-width: 0; width: 100%; }
  .woocommerce-cart .mc-cart-coupon--compact { min-width: 0; max-width: 100%; }
  .woocommerce-cart .mc-cart-coupon--compact .mc-cart-coupon__body {
    box-sizing: border-box;
    position: static;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
  }
  .woocommerce-cart .mc-cart-coupon--compact .mc-cart-coupon__fields { grid-template-columns: minmax(0, 1fr) auto; }
  .woocommerce-cart .mc-cart-coupon--compact .mc-cart-coupon__fields input { min-width: 0; width: 100%; }
  .mc-cart-drawer .mc-mini-cart-item__copy, .mc-cart-drawer .mc-mini-cart-item__bottom { min-width: 0; }
  .mc-cart-drawer .mc-mini-cart-item__bottom { flex-wrap: wrap; justify-content: flex-start; }
  .mc-cart-drawer .mc-mini-cart-item__line-total { margin-left: auto; max-width: 100%; }
}
@media (max-width: 350px) {
  .mc-cart-drawer .mc-mini-cart-item { grid-template-columns: 58px minmax(0, 1fr) 26px; gap: 7px; }
  .mc-cart-drawer .mc-mini-cart-item__media { width: 58px !important; height: 58px !important; max-width: 58px; min-height: 58px; }
  .mc-cart-drawer .mc-mini-cart-item__media img { max-width: 58px !important; max-height: 58px !important; }
  .woocommerce-cart .mc-cart-collaterals .mc-cart-summary--simple.cart_totals { padding: 13px !important; }
}

/* Pouca altura útil (celulares compactos): prioriza visualizar os itens e
   a ação principal, sem esconder preços nem tornar os controles inacessíveis. */
@media (max-width: 600px) and (max-height: 640px) {
  .mc-cart-drawer__header { min-height: 70px; padding-block: 10px; }
  .mc-cart-drawer__trust { min-height: 31px; padding-block: 4px; }
  .mc-cart-drawer .mc-mini-cart-headline small,
  .mc-cart-drawer .mc-mini-cart-summary__hint,
  .mc-cart-drawer .mc-mini-cart-summary__secure { display: none; }
}
@media (max-height: 480px) {
  /* Em modo paisagem, o painel inteiro rola. O resumo vem após os itens,
     evitando um rodapé fixo mais alto do que o viewport. */
  .mc-cart-drawer__content { overflow-y: auto !important; }
  .mc-cart-drawer__content > .woocommerce-mini-cart,
  .mc-cart-drawer__content > .mc-mini-cart-list {
    flex: 0 0 auto;
    max-height: none;
    overflow: visible !important;
  }
  .mc-cart-drawer__content .mc-mini-cart-summary {
    flex: 0 0 auto;
    position: static;
    bottom: auto;
  }
}
