/* Checkout, pós-compra e área do cliente */
.form-row { position: relative; margin: 0; }
.form-row > label:not(.checkbox), .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.woocommerce-input-wrapper, .password-input { position: relative; display: block; }
.woocommerce-invalid .campo, .woocommerce-invalid .input-text { border-color: var(--erro); }
.checkout-inline-error-message { color: var(--erro); font-size: 13px; line-height: 20px; }
select.campo { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23363636'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; }
.show-password-input { position: absolute; right: 0; top: 0; width: 50px; height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' fill='none' stroke='%23707070'%3E%3Cpath d='M1 6c4-6.500 12-6.500 16 0-4 6.500-12 6.500-16 0z'/%3E%3Ccircle cx='9' cy='6' r='2.500'/%3E%3C/svg%3E") no-repeat center; }

.compra { display: grid; grid-template-columns: calc(50% + 157px) 1fr; min-height: 100vh; }
.compra h2 { margin: 44px 0 8px; font-size: 24px; line-height: 32px; text-transform: uppercase; }
.compra__avisos > *, .compra > .woocommerce-NoticeGroup, .compra .woocommerce-NoticeGroup > * { max-width: 1216px; }
.compra__avisos .woocommerce-form-login-toggle { display: none; }
.compra > .woocommerce-NoticeGroup { grid-column: 1 / -1; width: 100%; max-width: none; padding-bottom: 24px; }
.compra__dados { display: flex; flex-direction: column; padding: 45px 69px 26px max(24px, calc(50vw - 608px)); }
.compra__logo img { width: 208px; }
.etapas { position: relative; display: flex; justify-content: space-between; margin: 99px 0 0; padding: 0; list-style: none; color: var(--cinza); font-size: 14px; line-height: 20px; text-align: center; }
.etapas::before { content: ""; position: absolute; left: 29px; right: 38px; top: 15px; border-top: 1px solid; opacity: .7; }
.etapas li { position: relative; }
.etapas li[aria-current] { color: var(--texto); }
.etapas li > span { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 3px; border: 1px solid; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #fff; }
.compra__fretes { display: grid; gap: 8px; }
.compra__fretes label, .compra__fretes p { display: flex; gap: 10px; align-items: flex-start; padding: 7px 18px 8px; background: var(--claro); line-height: 22px; cursor: pointer; }
.compra__fretes input { margin: 4px 0 0; accent-color: var(--texto); }
.compra__fretes small { display: block; color: var(--cinza); font-size: 14px; line-height: 18px; }
.compra__fretes label > span:last-child { margin-left: auto; font-size: 14px; }
.compra__endereco { position: relative; padding: 14px 18px; border: 1px solid var(--cinza); font-size: 14px; line-height: 20px; }
.compra__endereco .link, .compra__conferir .link { font-size: 12px; line-height: 20px; }
.compra__endereco .link { position: absolute; right: 18px; top: 13px; }
.compra__numero { position: relative; display: grid; grid-template-columns: 272fr 416fr; gap: 8px; }
.compra__numero > label { position: absolute; right: calc(60.5% + 18px); top: 0; display: flex; align-items: center; gap: 6px; height: 50px; color: var(--cinza); font-size: 11px; }
.compra__numero > .form-row:only-child { grid-column: 1 / -1; }
.compra input[type="checkbox"] { accent-color: var(--marrom); margin: 0; }
.compra .compra__nota { display: flex; justify-content: space-between; align-items: center; margin-top: 49px; }
.compra__nota span { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid; border-radius: 50%; font-size: 12px; line-height: 1; cursor: help; }
.compra #billing_country_field > label { z-index: 1; left: 18px; top: 8px; width: auto; height: auto; clip-path: none; color: var(--cinza); font-size: 10px; line-height: 15px; }
.compra #billing_country_field select { padding-top: 15px; }
#billing_country_field .required, #shipping_country_field { display: none; }
.compra__mesmo { display: flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 13px; }
.compra__pagador { margin: 20px 0 9px; font-size: 14px; }
.compra__cep { position: relative; }
.compra__cep a { position: absolute; right: 18px; top: 14px; font-size: 13px; }
.woocommerce-account-fields { margin-top: 8px; }
.compra__continuar { margin-top: 32px; }
.compra__conferir { margin-top: 50px; font-size: 14px; line-height: 20px; }
.compra__conferir li { display: flex; gap: 16px; padding: 16px 0 14px; border-top: 1px solid var(--linha); }
.compra__conferir li:first-child { padding-top: 10px; border: 0; color: var(--cinza); }
.compra__conferir li:nth-child(3):has(p:empty) { display: none; }
.compra__conferir .icone { width: 20px; height: 20px; stroke-width: .9; }
.compra__conferir button { margin: 0 18px auto auto; }
.compra .compra__conferir + h2 { margin-top: 24px; }
.compra__fim { margin-top: auto; padding-top: 34px; color: var(--cinza); font-size: 14px; line-height: 20px; }
.compra__fim::before { content: ""; display: block; margin-bottom: 36px; border-top: 1px solid var(--linha); }

.wc_payment_methods { border: 1px solid var(--cinza); }
.wc_payment_method + .wc_payment_method { border-top: 1px solid var(--cinza); }
.wc_payment_method > input { position: absolute; opacity: 0; }
.wc_payment_method > label { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 4px 20px; font-size: 14px; line-height: 17px; cursor: pointer; }
.wc_payment_method > label .icone { width: 22px; height: 22px; stroke-width: .9; }
.wc_payment_method small { display: block; color: var(--cinza); font-size: 11px; line-height: 14px; }
.wc_payment_method > input:checked + label { background: var(--claro); box-shadow: inset 3px 0 var(--marrom); }
.wc_payment_method > input:focus-visible + label { outline: 2px solid var(--marrom); }
.payment_box { padding: 12px 20px 20px; background: var(--claro); font-size: 14px; line-height: 20px; }
.payment_box fieldset { margin: 0; padding: 0; border: 0; }
.payment_box .form-row { margin-bottom: 8px; }
.payment_box .form-row > label { position: static; width: auto; height: auto; clip-path: none; }
.payment_box :is(.input-text, select) { width: 100%; height: 50px; padding: 0 18px; border: 1px solid var(--cinza); background: #fff; }
.place-order { margin-top: 32px; }
.woocommerce-privacy-policy-text { margin-bottom: 16px; color: var(--cinza); font-size: 12px; line-height: 17px; }
#place_order, .woocommerce button.button, .woocommerce a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; background: var(--marrom); color: #fff; font-weight: 600; text-transform: uppercase; transition: background .2s; }
#place_order { width: 100%; }
#place_order:hover, .woocommerce .button:hover { background: var(--marrom-escuro) !important; }

.compra__resumo { position: relative; padding: 271px max(24px, calc(50vw - 608px)) 48px 67px; border-left: 1px solid var(--linha); background: var(--claro); }
.compra .compra__resumo h2 { margin: 0 0 5px; white-space: nowrap; }
.compra__selo { position: absolute; top: 43px; left: 275px; right: 0; display: flex; align-items: center; gap: 12px; height: 44px; padding-left: 17px; border-left: 6px solid #30d89d; background: #97e9cc; color: #296d38; font-size: 14px; line-height: 19px; }
.compra__selo .icone { width: 34px; height: 34px; stroke-width: .6; }
.compra__selo strong { font-weight: 600; }
.resumo li { display: grid; grid-template-columns: 151px 1fr auto; gap: 24px; align-items: center; margin-bottom: 16px; font-size: 14px; }
.resumo img { width: 151px; height: 177px; object-fit: cover; }
.resumo li > span:nth-child(2) { max-width: 110px; font-size: 18px; line-height: 25px; text-transform: uppercase; }
.resumo li span span { text-transform: none; white-space: nowrap; }
.resumo dl { margin: 0; padding-top: 11px; border-top: 1px solid var(--linha); font-size: 14px; line-height: 19px; }
.resumo dl div { display: flex; justify-content: space-between; gap: 12px; }
.resumo dd { margin: 0; text-align: right; }
.resumo dd a { text-decoration: underline; }
.resumo .order-total, .resumo .order-total strong { font-size: 16px; line-height: 22px; font-weight: 600; }
.compra__cupom { position: relative; margin-top: 20px; }
.compra__cupom .campo { background: transparent; }
.compra__cupom button { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 50px; height: 50px; }
.compra__cupom p { padding-top: 8px; font-size: 13px; line-height: 18px; }

.obrigado { display: flex; flex-direction: column; align-items: center; padding-top: 17px; text-align: center; text-transform: uppercase; }
.obrigado__ok { display: grid; place-items: center; width: 79px; height: 79px; border: 3px solid #296d38; border-radius: 50%; color: #296d38; }
.obrigado__ok .icone { width: 64px; height: 64px; stroke-width: .7; }
.obrigado .titulo { margin: 26px 0 16px; }
.obrigado > a { margin-top: 24px; text-transform: none; }
.obrigado__detalhes { width: min(696px, 100%); margin-top: 32px; text-transform: none; }

.acesso { width: min(520px, 100%); margin: -7px auto 0; text-align: center; }
.acesso > p { margin-top: 13px; }
.acesso form { display: grid; gap: 8px; margin: 40px 0; }
.acesso form .botao { margin-top: 8px; }
.acesso > .link { display: table; margin: 0 auto 4px; font-size: 14px; line-height: 22px; }
.acesso form > p, .acesso form > div { text-align: left; }

.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { margin-top: -6px; }
.woocommerce-MyAccount-navigation ul { display: flex; justify-content: center; width: fit-content; max-width: 100%; margin: 0 auto 72px; padding: 15px 30px; background: var(--claro); text-transform: uppercase; white-space: nowrap; }
.woocommerce-MyAccount-navigation li { padding: 0 24px; line-height: 24px; }
.woocommerce-MyAccount-navigation li + li { background: linear-gradient(var(--bege), var(--bege)) left center / 1px 20px no-repeat; }
.woocommerce-MyAccount-navigation a:hover, .woocommerce-MyAccount-navigation .is-active { color: var(--ocre); }
.woocommerce-MyAccount-content { max-width: 1008px; margin: auto; }
.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.shop_table :is(th, td) { height: 49px; padding: 8px 20px; border: 1px solid var(--cinza); color: var(--cinza); font-weight: 400; }
.shop_table thead th, .shop_table tfoot th { color: var(--texto); font-size: 16px; font-weight: 600; }
.shop_table tbody tr:nth-child(odd) { background: var(--claro); }
.shop_table .woocommerce-orders-table__cell-order-actions a { display: inline-flex; min-height: 25px; margin: 2px 6px 2px 0; padding: 0 9px; font-size: 14px; font-weight: 400; text-transform: none; }
.conta__avisos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 141px; color: var(--cinza); font-size: 14px; line-height: 18px; text-align: center; }
.conta__avisos li { display: flex; flex-direction: column; align-items: center; min-height: 154px; padding: 24px 4px 20px; border: 1px solid var(--cinza); }
.conta__avisos .icone { width: 50px; height: 50px; margin-bottom: 18px; color: var(--texto); stroke-width: .5; }
.conta__avisos strong { color: var(--texto); font-size: 16px; line-height: 20px; font-weight: 400; text-transform: uppercase; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .woocommerce-MyAccount-content legend { margin: 32px 0 12px; padding: 0; font-size: 24px; line-height: 32px; font-weight: 500; text-transform: uppercase; }
.woocommerce-MyAccount-content mark { background: none; font-weight: 600; }
.woocommerce-MyAccount-content form { max-width: 520px; margin: 0 auto 32px; }
.woocommerce-MyAccount-content form .form-row { margin-bottom: 8px; }
.woocommerce-MyAccount-content form .form-row > label { position: static; display: block; width: auto; height: auto; clip-path: none; font-size: 14px; }
.woocommerce-MyAccount-content form :is(.input-text, select) { width: 100%; height: 50px; padding: 0 18px; border: 1px solid var(--cinza); background: #fff; font-size: 14px; }
.woocommerce-MyAccount-content form em { font-size: 12px; font-style: normal; color: var(--cinza); }
.woocommerce-MyAccount-content fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.woocommerce-MyAccount-content form .button { width: 100%; }
.woocommerce-customer-details address { font-style: normal; }
.woocommerce-Address { margin-bottom: 24px; }

.gaveta--pagina { width: min(696px, 100%); height: auto; max-height: none; margin: 0 auto; padding: 0; overflow: visible; }
.gaveta--pagina.centro p { margin-top: 24px; }

@media (max-width: 1100px) {
	.compra { grid-template-columns: 1.5fr 1fr; }
	.compra__dados { padding-right: 32px; }
	.compra__resumo { padding-left: 32px; }
	.compra__selo { left: 32px; }
}
@media (max-width: 860px) {
	.compra { display: flex; flex-direction: column; }
	/* No celular a ordem é: logo, resumo do pedido e formulário. */
	.compra__dados { display: contents; }
	.compra__dados > * { margin-inline: 24px; }
	.compra > .woocommerce-NoticeGroup { order: -3; }
	.compra__logo { order: -2; padding: 24px 0; }
	.compra__fim { padding-bottom: 32px; }
	.compra__logo img { width: 150px; margin: auto; }
	.etapas { margin-top: 32px; }
	.compra h2 { margin-top: 32px; font-size: 20px; line-height: 26px; }
	.compra__numero { grid-template-columns: 1fr; }
	.compra__numero > label { right: 18px; }
	.compra__resumo { order: -1; padding: 88px 24px 24px; border: 0; border-block: 1px solid var(--linha); }
	.compra__selo { top: 24px; left: 24px; }
	.resumo li { grid-template-columns: 64px 1fr auto; gap: 14px; }
	.resumo img { width: 64px; height: 75px; }
	.resumo li > span:nth-child(2) { font-size: 15px; line-height: 20px; }
	.woocommerce-MyAccount-navigation ul { margin-bottom: 40px; padding: 12px; overflow-x: auto; justify-content: flex-start; font-size: 13px; }
	.woocommerce-MyAccount-navigation li { padding: 0 12px; }
	.conta__avisos { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
	.conta__avisos strong { font-size: 14px; }
	.account-orders-table thead { display: none; }
	.account-orders-table tr { display: block; margin-bottom: 16px; border: 1px solid var(--cinza); }
	.account-orders-table :is(th, td) { display: flex; justify-content: space-between; align-items: center; height: auto; min-height: 40px; padding: 6px 14px; border: 0; text-align: right; }
	.account-orders-table :is(th, td)::before { content: attr(data-title); color: var(--texto); font-weight: 600; }
}