/* ==========================================================================
   Reptiliano Mobile - carrinho, finalização e Minha conta
   Carregado só nessas páginas. Quase tudo vale até 768px (celular/tablet em
   pé); no desktop entram apenas as peças que também ajudam lá (etapas,
   cartões de frete/pagamento, painel da conta).
   ========================================================================== */

:root {
	--rpt-brand: #ef5a42;
	--rpt-brand-dark: #d4442d;
	--rpt-brand-soft: #fdeeea;
	--rpt-ink: #1f2328;
	--rpt-muted: #646970;
	--rpt-line: #e3e5e8;
	--rpt-bg: #f6f7f8;
	--rpt-ok: #1a7f37;
	--rpt-ok-soft: #e7f5ec;
	--rpt-warn: #9a6700;
	--rpt-warn-soft: #fff4d6;
	--rpt-radius: 12px;
	--rpt-sticky-h: 72px;
}

/* --------------------------------------------------------------------------
   Etapas da compra
   -------------------------------------------------------------------------- */

.rpt-steps {
	margin: 0 0 20px;
}

.rpt-steps ol {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.rpt-steps__item {
	position: relative;
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0;
	color: var(--rpt-muted);
	font-size: 14px;
	line-height: 1.2;
}

.rpt-steps__item > a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.rpt-steps__item:not(:last-child)::after {
	content: "";
	flex: 1 1 auto;
	min-width: 8px;
	height: 2px;
	background: var(--rpt-line);
	border-radius: 2px;
}

.rpt-steps__item.is-done:not(:last-child)::after {
	background: var(--rpt-ok);
}

.rpt-steps__badge {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 2px solid var(--rpt-line);
	border-radius: 50%;
	background: #fff;
	font-size: 13px;
	font-weight: 700;
}

.rpt-steps__badge .rpt-icon {
	width: 16px;
	height: 16px;
	stroke-width: 2.6;
}

.rpt-steps__label {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.rpt-steps__item.is-current {
	color: var(--rpt-ink);
	font-weight: 600;
}

.rpt-steps__item.is-current .rpt-steps__badge {
	border-color: var(--rpt-brand);
	background: var(--rpt-brand);
	color: #fff;
}

.rpt-steps__item.is-done .rpt-steps__badge {
	border-color: var(--rpt-ok);
	background: var(--rpt-ok);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Selo de segurança
   -------------------------------------------------------------------------- */

.rpt-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	color: var(--rpt-muted);
	font-size: 13px;
	line-height: 1.35;
	text-align: center;
}

.rpt-trust .rpt-icon {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--rpt-ok);
}

/* --------------------------------------------------------------------------
   Frete e formas de pagamento como cartões (todas as larguras)
   -------------------------------------------------------------------------- */

body.rpt-commerce ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.rpt-commerce ul#shipping_method li {
	position: relative;
	margin: 0 0 8px;
	padding: 0;
	text-align: left;
}

body.rpt-commerce ul#shipping_method li:last-child {
	margin-bottom: 0;
}

body.rpt-commerce ul#shipping_method li input[type="radio"] {
	position: absolute;
	top: 15px;
	left: 12px;
	margin: 0;
	accent-color: var(--rpt-brand);
}

body.rpt-commerce ul#shipping_method li label {
	display: block;
	margin: 0;
	padding: 11px 12px 11px 38px;
	border: 1px solid var(--rpt-line);
	border-radius: 10px;
	background: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
}

body.rpt-commerce ul#shipping_method li input[type="radio"]:checked + label {
	border-color: var(--rpt-brand);
	background: var(--rpt-brand-soft);
	box-shadow: 0 0 0 1px var(--rpt-brand) inset;
}

/* Só um método de frete: sem rádio, sem cartão. */
body.rpt-commerce ul#shipping_method li input[type="hidden"] + label {
	padding: 0;
	border: 0;
	background: none;
}

body.rpt-commerce #payment ul.payment_methods {
	padding: 0;
	border: 0;
}

body.rpt-commerce #payment ul.payment_methods li.wc_payment_method {
	position: relative;
	margin: 0 0 10px;
	padding: 0;
	border: 1px solid var(--rpt-line);
	border-radius: var(--rpt-radius);
	background: #fff;
	list-style: none;
}

body.rpt-commerce #payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
	position: absolute;
	top: 18px;
	left: 14px;
	margin: 0;
	accent-color: var(--rpt-brand);
}

body.rpt-commerce #payment ul.payment_methods li.wc_payment_method > label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	min-height: 52px;
	margin: 0;
	padding: 12px 14px 12px 42px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

body.rpt-commerce #payment ul.payment_methods li.wc_payment_method > label img {
	max-height: 24px;
	width: auto;
	margin: 0;
}

body.rpt-commerce #payment ul.payment_methods li.wc_payment_method:has(> input:checked) {
	border-color: var(--rpt-brand);
	box-shadow: 0 0 0 1px var(--rpt-brand) inset;
}

body.rpt-commerce #payment ul.payment_methods li.wc_payment_method div.payment_box {
	box-sizing: border-box;
	width: auto;
	margin: 0 12px 12px;
	padding: 12px;
	border-radius: 8px;
	background: var(--rpt-bg);
	color: var(--rpt-ink);
	font-size: 14px;
}

body.rpt-commerce #payment ul.payment_methods li.wc_payment_method div.payment_box::before {
	display: none;
}

body.rpt-commerce #payment ul.payment_methods li.wc_payment_method div.payment_box p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Minha conta: painel (todas as larguras)
   -------------------------------------------------------------------------- */

/* O texto padrão "Olá... A partir do painel..." dá lugar ao painel abaixo. */
.rpt-account-dashboard .woocommerce-MyAccount-content > p {
	display: none;
}

.rpt-dash {
	display: grid;
	gap: 16px;
}

.rpt-dash p {
	margin: 0;
}

.rpt-dash__hello {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rpt-dash__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--rpt-brand-soft);
	color: var(--rpt-brand-dark);
	font-size: 20px;
	font-weight: 700;
}

.rpt-dash__hello > div {
	flex: 1 1 auto;
	min-width: 0;
}

.rpt-dash__title {
	color: var(--rpt-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.rpt-dash__email {
	overflow: hidden;
	color: var(--rpt-muted);
	font-size: 14px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.rpt-dash__logout {
	flex: none;
	padding: 8px 12px;
	border: 1px solid var(--rpt-line);
	border-radius: 999px;
	color: var(--rpt-muted);
	font-size: 14px;
	text-decoration: none;
}

.rpt-dash__order {
	padding: 16px;
	border: 1px solid var(--rpt-line);
	border-radius: var(--rpt-radius);
	background: #fff;
}

.rpt-dash__order header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	color: var(--rpt-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.rpt-dash__order-main {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 17px;
}

.rpt-dash__order-meta {
	margin-top: 2px !important;
	color: var(--rpt-muted);
	font-size: 14px;
}

.rpt-dash__order-actions {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.rpt-dash__order-actions .button {
	flex: 1 1 0;
	text-align: center;
}

.rpt-dash__order--empty {
	text-align: center;
}

.rpt-dash__order--empty .button {
	margin-top: 12px;
}

.rpt-dash mark.rpt-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--rpt-bg);
	color: var(--rpt-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.rpt-dash mark.rpt-status--completed,
.rpt-dash mark.rpt-status--processing {
	background: var(--rpt-ok-soft);
	color: var(--rpt-ok);
}

.rpt-dash mark.rpt-status--pending,
.rpt-dash mark.rpt-status--on-hold {
	background: var(--rpt-warn-soft);
	color: var(--rpt-warn);
}

.rpt-dash mark.rpt-status--cancelled,
.rpt-dash mark.rpt-status--failed,
.rpt-dash mark.rpt-status--refunded {
	background: #fdecea;
	color: #b42318;
}

.rpt-dash__tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rpt-dash__tiles li {
	margin: 0;
}

.rpt-dash__tiles a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 12px 14px;
	border: 1px solid var(--rpt-line);
	border-radius: var(--rpt-radius);
	background: #fff;
	color: var(--rpt-ink);
	text-decoration: none;
	transition: border-color .15s;
}

.rpt-dash__tiles a:hover,
.rpt-dash__tiles a:focus-visible {
	border-color: var(--rpt-brand);
}

.rpt-dash__tiles .rpt-icon {
	flex: none;
	color: var(--rpt-brand);
}

.rpt-dash__tiles .rpt-icon--chevron {
	width: 18px;
	height: 18px;
	color: var(--rpt-muted);
}

.rpt-dash__tile-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.rpt-dash__tile-text small {
	color: var(--rpt-muted);
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   Carrinho (todas as larguras): contador, - / + e cupom
   -------------------------------------------------------------------------- */

.rpt-cart-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 8px;
	font-size: 14px;
}

.rpt-cart-head__count {
	color: var(--rpt-muted);
}

.rpt-cart-head__link {
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-cart .quantity.rpt-qty {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--rpt-line);
	border-radius: 8px;
}

.woocommerce-cart .quantity.rpt-qty input.qty {
	width: 44px;
	min-height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	font-size: 16px;
	text-align: center;
	-moz-appearance: textfield;
}

.woocommerce-cart .quantity.rpt-qty input.qty::-webkit-outer-spin-button,
.woocommerce-cart .quantity.rpt-qty input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.woocommerce-cart .rpt-qty .rpt-qty__btn {
	width: 38px;
	min-height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--rpt-bg);
	color: var(--rpt-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.woocommerce-cart .rpt-qty .rpt-qty__btn:hover,
.woocommerce-cart .rpt-qty .rpt-qty__btn:focus-visible {
	background: var(--rpt-line);
	color: var(--rpt-ink);
}

/* No carrinho, o aviso "adicionado" não precisa do botão "Ver carrinho". */
.woocommerce-cart .woocommerce-message .button.wc-forward {
	display: none !important;
}

/* No desktop o cupom fica aberto como sempre; o botão de abrir é só do celular. */
.rpt-coupon__toggle {
	display: none;
}

/* Resumo recolhível e barra fixa não existem no desktop. */
.rpt-summary,
.rpt-sticky {
	display: none;
}

/* ==========================================================================
   Celular e tablet em pé
   ========================================================================== */

@media (max-width: 768px) {

	/* ------------------------------------------------------------------
	   Primeira dobra: cabeçalho da página mais baixo, sem trilha de navegação
	   ------------------------------------------------------------------ */

	.rpt-commerce .tg-page-header {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.rpt-commerce .tg-page-header .tg-container {
		gap: 0;
	}

	.rpt-commerce .tg-page-header__title {
		margin: 0;
		font-size: 22px;
		line-height: 1.2;
	}

	.rpt-commerce .tg-page-header .breadcrumbs,
	.rpt-commerce .tg-page-header .breadcrumb-trail,
	.rpt-commerce .tg-page-header .woocommerce-breadcrumb {
		display: none;
	}

	.rpt-commerce .site-content,
	.rpt-commerce #content {
		margin-top: 0;
		margin-bottom: 32px;
		padding-top: 0;
	}


	.rpt-commerce #primary,
	.rpt-commerce .content-area {
		margin-top: 16px;
	}

	/* Campos: 16px evita o zoom automático do iPhone; 48px é alvo de toque. */
	.rpt-commerce input[type="text"],
	.rpt-commerce input[type="email"],
	.rpt-commerce input[type="tel"],
	.rpt-commerce input[type="number"],
	.rpt-commerce input[type="password"],
	.rpt-commerce input[type="search"],
	.rpt-commerce input[type="date"],
	.rpt-commerce select,
	.rpt-commerce textarea,
	.rpt-commerce .select2-container .select2-selection--single {
		min-height: 48px;
		border-radius: 8px;
		font-size: 16px;
	}

	.rpt-commerce .select2-container .select2-selection--single .select2-selection__rendered {
		line-height: 46px;
	}

	.rpt-commerce .select2-container .select2-selection--single .select2-selection__arrow {
		height: 46px;
	}

	.rpt-commerce .woocommerce .button,
	.rpt-commerce .woocommerce button.button,
	.rpt-commerce .woocommerce a.button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		border-radius: 8px;
		line-height: 1.2;
	}

	.rpt-commerce .woocommerce-notices-wrapper .woocommerce-message,
	.rpt-commerce .woocommerce-notices-wrapper .woocommerce-info,
	.rpt-commerce .woocommerce-notices-wrapper .woocommerce-error,
	.rpt-commerce .woocommerce > .woocommerce-info,
	.rpt-commerce .woocommerce-form-coupon-toggle .woocommerce-info,
	.rpt-commerce .woocommerce-form-login-toggle .woocommerce-info {
		margin-bottom: 12px;
		padding: 12px 14px 12px 42px;
		border-radius: 10px;
		font-size: 14px;
		line-height: 1.4;
	}

	.rpt-commerce .woocommerce-message::before,
	.rpt-commerce .woocommerce-info::before,
	.rpt-commerce .woocommerce-error::before {
		top: 12px;
		left: 14px;
	}

	.rpt-commerce .woocommerce-message .button,
	.rpt-commerce .woocommerce-info .button {
		float: none;
		display: block;
		margin: 8px 0 0;
		text-align: center;
	}

	/* Etapas: só o número nas etapas que não são a atual. */
	.rpt-steps {
		margin-bottom: 16px;
	}

	.rpt-steps ol {
		gap: 6px;
	}

	.rpt-steps__item {
		flex: 0 1 auto;
		font-size: 13px;
	}

	.rpt-steps__item.is-current {
		flex: 1 1 auto;
	}

	.rpt-steps__item:not(.is-current) .rpt-steps__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.rpt-steps__item:not(:last-child)::after {
		min-width: 14px;
	}

	/* ------------------------------------------------------------------
	   Barra fixa
	   ------------------------------------------------------------------ */

	.rpt-sticky {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9990;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--rpt-line);
		background: #fff;
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
		animation: rpt-slide-up .18s ease-out;
	}

	.rpt-sticky[hidden] {
		display: none;
	}

	body.rpt-has-sticky {
		padding-bottom: calc(var(--rpt-sticky-h) + env(safe-area-inset-bottom, 0px));
	}

	/* Botão "voltar ao topo" do Zakra não fica atrás da barra. */
	body.rpt-has-sticky #tg-scroll-to-top {
		bottom: calc(var(--rpt-sticky-h) + 12px);
	}

	.rpt-sticky__total {
		display: flex;
		flex: none;
		flex-direction: column;
		line-height: 1.15;
	}

	.rpt-sticky__label {
		color: var(--rpt-muted);
		font-size: 12px;
	}

	.rpt-sticky__value {
		color: var(--rpt-ink);
		font-size: 19px;
		white-space: nowrap;
	}

	.rpt-sticky .rpt-sticky__cta {
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		justify-content: center;
		min-height: 50px;
		margin: 0;
		padding: 0 12px;
		border-radius: 10px;
		background: var(--rpt-brand);
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.15;
		text-align: center;
		text-decoration: none;
	}

	.rpt-sticky .rpt-sticky__cta:hover,
	.rpt-sticky .rpt-sticky__cta:focus {
		background: var(--rpt-brand-dark);
		color: #fff;
	}

	@keyframes rpt-slide-up {
		from { transform: translateY(100%); }
		to { transform: translateY(0); }
	}

	/* ------------------------------------------------------------------
	   Carrinho
	   ------------------------------------------------------------------ */

	.rpt-cart-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 0 8px;
		font-size: 14px;
	}

	.rpt-cart-head__count {
		color: var(--rpt-muted);
	}

	.rpt-cart-head__link {
		font-weight: 600;
		text-decoration: none;
	}

	.woocommerce-cart .woocommerce-cart-form table.shop_table.cart {
		border: 0;
		border-radius: 0;
		background: none;
	}

	.woocommerce-cart table.shop_table.cart thead {
		display: none;
	}

	.woocommerce-cart table.shop_table.cart tbody {
		display: grid;
		gap: 10px;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item {
		position: relative;
		display: grid;
		grid-template-columns: 76px 1fr;
		grid-template-areas:
			"thumb name"
			"thumb price"
			"thumb qty";
		column-gap: 12px;
		row-gap: 4px;
		align-items: center;
		padding: 12px 44px 12px 12px;
		border: 1px solid var(--rpt-line);
		border-radius: var(--rpt-radius);
		background: #fff;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td {
		display: block;
		padding: 0;
		border: 0;
		background: none;
		text-align: left !important;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td::before {
		display: none;
	}

	.woocommerce-cart table.shop_table.cart td.product-thumbnail {
		display: block !important;
		grid-area: thumb;
		align-self: start;
	}

	.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
		display: block;
		width: 76px;
		max-width: none;
		height: 76px;
		object-fit: cover;
		border-radius: 8px;
	}

	.woocommerce-cart table.shop_table.cart td.product-name {
		grid-area: name;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.3;
	}

	.woocommerce-cart table.shop_table.cart td.product-name a {
		color: var(--rpt-ink);
		text-decoration: none;
	}

	.woocommerce-cart table.shop_table.cart td.product-name dl.variation {
		margin: 2px 0 0;
		color: var(--rpt-muted);
		font-size: 13px;
		font-weight: 400;
	}

	/* Preço unitário some; o subtotal da linha é o que importa. */
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price {
		display: none !important;
	}

	.woocommerce-cart table.shop_table.cart td.product-subtotal {
		grid-area: price;
		color: var(--rpt-ink);
		font-size: 16px;
		font-weight: 700;
	}

	.woocommerce-cart table.shop_table.cart td.product-quantity {
		grid-area: qty;
	}

	.woocommerce-cart table.shop_table.cart td.product-remove {
		position: absolute;
		top: 6px;
		right: 6px;
	}

	.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border-radius: 50%;
		color: var(--rpt-muted) !important;
		font-size: 22px;
		line-height: 1;
	}

	.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
		background: var(--rpt-bg);
		color: #b42318 !important;
	}

	/* Quantidade com - / + */
	.woocommerce-cart .quantity {
		display: inline-flex;
		align-items: stretch;
		margin: 2px 0 0;
		overflow: hidden;
		border: 1px solid var(--rpt-line);
		border-radius: 8px;
	}

	.woocommerce-cart .quantity input.qty {
		width: 44px;
		min-height: 38px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: #fff;
		font-size: 16px;
		text-align: center;
		-moz-appearance: textfield;
	}

	.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button,
	.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button {
		margin: 0;
		-webkit-appearance: none;
	}

	.rpt-qty__btn {
		width: 38px;
		min-height: 38px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: var(--rpt-bg);
		color: var(--rpt-ink);
		font-size: 18px;
		line-height: 1;
		cursor: pointer;
	}

	.rpt-qty__btn:hover,
	.rpt-qty__btn:focus-visible {
		background: var(--rpt-line);
		color: var(--rpt-ink);
	}

	/* Linha de ações: cupom recolhível e botão "Atualizar" escondido (atualiza sozinho). */
	.woocommerce-cart table.shop_table.cart tr:not(.cart_item) {
		display: block;
	}

	.woocommerce-cart table.shop_table.cart td.actions {
		position: relative;
		display: block;
		padding: 4px 0 0;
		border: 0;
		background: none;
		text-align: left !important;
	}

	.rpt-js .woocommerce-cart table.shop_table.cart td.actions > button[name="update_cart"] {
		position: absolute;
		top: 0;
		left: 0;
		min-height: 0;
		padding: 0;
		border: 0;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.rpt-coupon__toggle {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		color: var(--rpt-brand);
		font-size: 15px;
		font-weight: 600;
		cursor: pointer;
	}

	.rpt-coupon__toggle:hover,
	.rpt-coupon__toggle:focus {
		background: none;
		color: var(--rpt-brand-dark);
	}

	.rpt-coupon__toggle::after {
		content: "";
		width: 8px;
		height: 8px;
		margin: -3px 0 0 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform .15s;
	}

	.rpt-coupon__toggle[aria-expanded="true"]::after {
		margin-top: 3px;
		transform: rotate(-135deg);
	}

	.rpt-js .woocommerce-cart td.actions .coupon {
		display: none;
	}

	.woocommerce-cart td.actions .coupon,
	.rpt-js .woocommerce-cart td.actions .coupon.is-open {
		display: flex;
		gap: 8px;
		float: none;
		width: 100%;
		margin: 0 0 8px;
	}

	.woocommerce-cart td.actions .coupon #coupon_code {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		margin: 0;
	}

	.woocommerce-cart td.actions .coupon .button {
		flex: none;
		width: auto;
		margin: 0;
	}

	/* Totais */
	.woocommerce-cart .cart-collaterals,
	.woocommerce-cart .cart-collaterals .cart_totals {
		float: none;
		width: 100%;
	}

	.woocommerce-cart .cart-collaterals {
		margin-top: 16px;
	}

	.woocommerce-cart .cart_totals {
		padding: 16px;
		border: 1px solid var(--rpt-line);
		border-radius: var(--rpt-radius);
		background: #fff;
	}

	.woocommerce-cart .cart_totals > h2 {
		margin: 0 0 8px;
		font-size: 18px;
	}

	.woocommerce-cart .cart_totals table.shop_table {
		margin: 0;
		border: 0;
	}

	.woocommerce-cart .cart_totals table.shop_table tr {
		display: block;
		border-top: 1px solid var(--rpt-line);
	}

	.woocommerce-cart .cart_totals table.shop_table tr:first-child {
		border-top: 0;
	}

	.woocommerce-cart .cart_totals table.shop_table tr:not(.woocommerce-shipping-totals) {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
	}

	.woocommerce-cart .cart_totals table.shop_table th,
	.woocommerce-cart .cart_totals table.shop_table td {
		display: block;
		padding: 10px 0;
		border: 0;
		background: none !important;
		font-size: 15px;
		text-align: right !important;
	}

	.woocommerce-cart .cart_totals table.shop_table th {
		width: auto;
		color: var(--rpt-muted);
		font-weight: 400;
		text-align: left !important;
	}

	.woocommerce-cart .cart_totals table.shop_table td::before {
		display: none;
	}

	.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th {
		padding-bottom: 6px;
	}

	.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td {
		padding-top: 0;
		text-align: left !important;
	}

	.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
		margin: 8px 0 0;
		color: var(--rpt-muted);
		font-size: 13px;
	}

	.woocommerce-cart .cart_totals .shipping-calculator-button {
		display: inline-block;
		min-height: 32px;
		margin-top: 4px;
		font-size: 14px;
	}

	.woocommerce-cart .cart_totals tr.order-total th,
	.woocommerce-cart .cart_totals tr.order-total td {
		color: var(--rpt-ink);
		font-size: 18px;
		font-weight: 700;
	}

	.woocommerce-cart .wc-proceed-to-checkout {
		padding: 12px 0 0;
	}

	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 52px;
		margin: 0;
		border-radius: 10px;
		font-size: 17px;
	}

	/* ------------------------------------------------------------------
	   Finalização de compra
	   ------------------------------------------------------------------ */

	.rpt-summary {
		display: block;
		margin: 0 0 14px;
		border: 1px solid var(--rpt-line);
		border-radius: var(--rpt-radius);
		background: var(--rpt-bg);
	}

	.rpt-summary__toggle {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		min-height: 56px;
		margin: 0;
		padding: 10px 14px;
		border: 0;
		border-radius: var(--rpt-radius);
		background: none;
		color: var(--rpt-ink);
		font-size: 15px;
		font-weight: 400;
		text-align: left;
		cursor: pointer;
	}

	.rpt-summary__toggle:hover,
	.rpt-summary__toggle:focus {
		background: none;
		color: var(--rpt-ink);
	}

	.rpt-summary__toggle .rpt-icon {
		flex: none;
		color: var(--rpt-brand);
	}

	.rpt-summary__toggle .rpt-icon--chevdown {
		width: 18px;
		height: 18px;
		color: var(--rpt-muted);
		transition: transform .15s;
	}

	.rpt-summary__toggle[aria-expanded="true"] .rpt-icon--chevdown {
		transform: rotate(180deg);
	}

	.rpt-summary__text {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		color: var(--rpt-brand-dark);
		font-weight: 600;
		line-height: 1.25;
	}

	.rpt-summary__text small {
		color: var(--rpt-muted);
		font-size: 13px;
		font-weight: 400;
	}

	.rpt-summary__hide,
	.rpt-summary__toggle[aria-expanded="true"] .rpt-summary__show {
		display: none;
	}

	.rpt-summary__toggle[aria-expanded="true"] .rpt-summary__hide {
		display: inline;
	}

	.rpt-summary-total {
		font-size: 17px;
		white-space: nowrap;
	}

	.rpt-summary__panel {
		padding: 0 14px 14px;
	}

	.rpt-summary__items {
		margin: 0;
		padding: 0;
		border-top: 1px solid var(--rpt-line);
		list-style: none;
	}

	.rpt-summary__items li {
		display: flex;
		align-items: center;
		gap: 12px;
		margin: 0;
		padding: 10px 0;
		border-bottom: 1px solid var(--rpt-line);
		font-size: 14px;
	}

	.rpt-summary__thumb {
		position: relative;
		flex: none;
	}

	.rpt-summary__thumb img {
		display: block;
		width: 52px;
		height: 52px;
		object-fit: cover;
		border: 1px solid var(--rpt-line);
		border-radius: 8px;
	}

	.rpt-summary__thumb em {
		position: absolute;
		top: -7px;
		right: -7px;
		min-width: 20px;
		height: 20px;
		padding: 0 5px;
		border-radius: 10px;
		background: var(--rpt-muted);
		color: #fff;
		font-size: 12px;
		font-style: normal;
		font-weight: 700;
		line-height: 20px;
		text-align: center;
	}

	.rpt-summary__name {
		flex: 1 1 auto;
		line-height: 1.3;
	}

	.rpt-summary__price {
		flex: none;
		font-weight: 600;
	}

	.rpt-summary__edit {
		display: inline-block;
		margin-top: 10px;
		font-size: 14px;
		font-weight: 600;
	}

	.rpt-summary__note {
		margin: 6px 0 0;
		color: var(--rpt-muted);
		font-size: 13px;
	}

	.woocommerce-checkout form.checkout .col2-set .col-1,
	.woocommerce-checkout form.checkout .col2-set .col-2,
	.woocommerce-checkout form.checkout #order_review,
	.woocommerce-checkout form.checkout #order_review_heading {
		float: none;
		width: 100%;
	}

	.woocommerce-checkout form.checkout h3,
	.woocommerce-checkout #order_review_heading {
		margin: 20px 0 10px;
		font-size: 18px;
	}

	.woocommerce-checkout .woocommerce-billing-fields > h3 {
		margin-top: 4px;
	}

	.woocommerce-checkout form.checkout .form-row {
		margin: 0 0 12px;
		padding: 0;
	}

	.woocommerce-checkout form.checkout .form-row label {
		margin-bottom: 4px;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.3;
	}

	.woocommerce-checkout form.checkout .form-row .input-text,
	.woocommerce-checkout form.checkout .form-row select {
		width: 100%;
		padding: 10px 12px;
	}

	.woocommerce-checkout form.checkout .form-row.woocommerce-invalid .input-text {
		border-color: #b42318;
	}

	/* Tipo de pessoa (rádio do Brazilian Market) */
	.woocommerce-checkout #billing_persontype_field .woocommerce-input-wrapper {
		display: flex;
		gap: 8px;
	}

	#order_review {
		padding: 16px;
		border: 1px solid var(--rpt-line);
		border-radius: var(--rpt-radius);
		background: #fff;
	}

	#order_review table.shop_table {
		display: block;
		margin: 0 0 16px;
		border: 0;
		font-size: 14px;
	}

	/* Tabela do pedido vira linhas flexíveis: rótulo à esquerda, valor à direita. */
	#order_review table.shop_table thead,
	#order_review table.shop_table tbody,
	#order_review table.shop_table tfoot {
		display: block;
	}

	#order_review table.shop_table tr {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		border-bottom: 1px solid var(--rpt-line);
	}

	#order_review table.shop_table th,
	#order_review table.shop_table td {
		border: 0;
	}

	#order_review table.shop_table tr.woocommerce-shipping-totals {
		display: block;
	}

	#order_review table.shop_table td.product-total,
	#order_review table.shop_table thead th.product-total {
		flex: none;
		text-align: right;
	}

	#order_review table.shop_table th,
	#order_review table.shop_table td {
		padding: 10px 0;
		border-right: 0;
		border-left: 0;
		background: none;
	}

	#order_review table.shop_table tfoot th {
		width: auto;
		color: var(--rpt-muted);
		font-weight: 400;
		vertical-align: top;
	}

	#order_review table.shop_table tfoot td {
		text-align: right;
	}

	/* Frete do resumo em linha própria, com largura total para os cartões. */
	#order_review table.shop_table tr.woocommerce-shipping-totals th,
	#order_review table.shop_table tr.woocommerce-shipping-totals td {
		display: block;
		width: 100%;
		text-align: left;
	}

	#order_review table.shop_table tr.woocommerce-shipping-totals th {
		padding-bottom: 6px;
		border-bottom: 0;
	}

	#order_review table.shop_table tr.woocommerce-shipping-totals td {
		padding-top: 0;
	}

	#order_review table.shop_table tr.order-total th,
	#order_review table.shop_table tr.order-total td {
		color: var(--rpt-ink);
		font-size: 18px;
		font-weight: 700;
	}

	.woocommerce-checkout #payment {
		border-radius: 0;
		background: none;
		scroll-margin-top: 16px;
	}

	.woocommerce-checkout #payment div.form-row.place-order {
		margin: 0;
		padding: 8px 0 0;
	}

	.woocommerce-checkout #payment #place_order {
		float: none;
		width: 100%;
		min-height: 56px;
		margin: 12px 0 0;
		border-radius: 10px;
		font-size: 18px;
		font-weight: 700;
	}

	.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
		font-size: 13px;
		line-height: 1.45;
	}

	/* ------------------------------------------------------------------
	   Pedido recebido
	   ------------------------------------------------------------------ */

	.woocommerce-order ul.woocommerce-order-overview {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		margin: 0 0 20px;
		padding: 0;
		overflow: hidden;
		border: 1px solid var(--rpt-line);
		border-radius: var(--rpt-radius);
	}

	.woocommerce-order ul.woocommerce-order-overview::before,
	.woocommerce-order ul.woocommerce-order-overview::after {
		display: none;
	}

	.woocommerce-order ul.woocommerce-order-overview li {
		float: none;
		margin: 0;
		padding: 10px 12px;
		border: 0;
		border-bottom: 1px solid var(--rpt-line);
		font-size: 12px;
		text-transform: uppercase;
	}

	.woocommerce-order ul.woocommerce-order-overview li strong {
		margin-top: 2px;
		font-size: 15px;
		text-transform: none;
		word-break: break-word;
	}

	.woocommerce-order img {
		max-width: 100%;
		height: auto;
	}

	/* ------------------------------------------------------------------
	   Minha conta
	   ------------------------------------------------------------------ */

	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
	}

	/* Menu vira uma linha de atalhos com rolagem lateral. */
	.woocommerce-account .woocommerce-MyAccount-navigation {
		margin: 0 -16px 16px;
	}

	body.woocommerce-account nav.woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 8px;
		margin: 0;
		padding: 2px 16px 6px;
		overflow-x: auto;
		border: 0;
		list-style: none;
		scroll-snap-type: x proximity;
		scroll-padding-inline: 16px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
		display: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: none;
		margin: 0;
		padding: 0;
		border: 0;
		scroll-snap-align: start;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a {
		display: flex;
		align-items: center;
		min-height: 40px;
		padding: 0 16px;
		border: 1px solid var(--rpt-line);
		border-radius: 999px;
		background: #fff;
		color: var(--rpt-ink);
		font-size: 14px;
		white-space: nowrap;
		text-decoration: none;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
		border-color: var(--rpt-ink);
		background: var(--rpt-ink);
		color: #fff;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a::before,
	.woocommerce-account .woocommerce-MyAccount-navigation li a::after {
		display: none;
	}

	/* No painel, os atalhos grandes já fazem o papel do menu. */
	.rpt-account-dashboard .woocommerce-MyAccount-navigation {
		display: none;
	}

	.rpt-dash__tiles {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	/* Pedidos em cartões */
	.woocommerce-account table.woocommerce-orders-table {
		border: 0;
	}

	.woocommerce-account table.woocommerce-orders-table thead {
		display: none;
	}

	.woocommerce-account table.woocommerce-orders-table tbody {
		display: grid;
		gap: 10px;
	}

	.woocommerce-account table.woocommerce-orders-table tr.woocommerce-orders-table__row {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 2px 12px;
		padding: 14px;
		border: 1px solid var(--rpt-line);
		border-radius: var(--rpt-radius);
		background: #fff;
	}

	.woocommerce-account table.woocommerce-orders-table tr td,
	.woocommerce-account table.woocommerce-orders-table tr th {
		display: block;
		padding: 0;
		border: 0;
		background: none;
		text-align: left !important;
	}

	.woocommerce-account table.woocommerce-orders-table td::before,
	.woocommerce-account table.woocommerce-orders-table th::before {
		display: none;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-number {
		grid-row: 1;
		grid-column: 1;
		font-size: 16px;
		font-weight: 700;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-number a {
		color: var(--rpt-ink);
		text-decoration: none;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-status {
		grid-row: 1;
		grid-column: 2;
		align-self: center;
		justify-self: end;
		padding: 3px 10px !important;
		border-radius: 999px;
		background: var(--rpt-bg) !important;
		font-size: 12px;
		font-weight: 600;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-date,
	.woocommerce-account .woocommerce-orders-table__cell-order-total {
		grid-column: 1 / -1;
		color: var(--rpt-muted);
		font-size: 14px;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-actions {
		display: flex !important;
		grid-column: 1 / -1;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 10px !important;
	}

	.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
		flex: 1 1 0;
		margin: 0 !important;
		text-align: center;
	}

	/* Endereços */
	.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
		float: none;
		width: 100%;
		margin: 0 0 12px;
		padding: 14px;
		border: 1px solid var(--rpt-line);
		border-radius: var(--rpt-radius);
	}

	.woocommerce-account .woocommerce-Address-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.woocommerce-account .woocommerce-Address-title h2,
	.woocommerce-account .woocommerce-Address-title h3 {
		margin: 0;
		font-size: 17px;
	}

	.woocommerce-account .woocommerce-Address-title {
		align-items: flex-start;
	}

	.woocommerce-account .woocommerce-Address-title a.edit {
		flex: 0 1 45%;
		float: none;
		font-size: 14px;
		font-weight: 600;
		text-align: right;
	}

	.woocommerce-account .woocommerce-Address address {
		margin: 8px 0 0;
		font-size: 14px;
		line-height: 1.5;
	}

	.woocommerce-account .woocommerce-EditAccountForm .form-row-first,
	.woocommerce-account .woocommerce-EditAccountForm .form-row-last,
	.woocommerce-account .woocommerce-address-fields .form-row-first,
	.woocommerce-account .woocommerce-address-fields .form-row-last {
		float: none;
		width: 100%;
	}

	/* Entrar / Criar conta em abas */
	.rpt-auth__tabs {
		display: flex;
		margin: 0 0 16px;
		padding: 4px;
		border-radius: 10px;
		background: var(--rpt-bg);
	}

	.rpt-auth__tab {
		flex: 1 1 0;
		min-height: 44px;
		margin: 0;
		padding: 0 12px;
		border: 0;
		border-radius: 8px;
		background: none;
		color: var(--rpt-muted);
		font-size: 15px;
		font-weight: 600;
		cursor: pointer;
	}

	.rpt-auth__tab:hover,
	.rpt-auth__tab:focus {
		background: none;
		color: var(--rpt-ink);
	}

	.rpt-auth__tab[aria-selected="true"],
	.rpt-auth__tab[aria-selected="true"]:hover {
		background: #fff;
		color: var(--rpt-ink);
		box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
	}

	.rpt-auth > .u-column1,
	.rpt-auth > .u-column2 {
		display: none;
		float: none;
		width: 100%;
	}

	.rpt-auth > .is-active {
		display: block;
	}

	.rpt-auth h2 {
		display: none;
	}

	.woocommerce-account form.woocommerce-form-login,
	.woocommerce-account form.woocommerce-form-register {
		margin: 0;
		padding: 16px;
		border: 1px solid var(--rpt-line);
		border-radius: var(--rpt-radius);
	}

	.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit,
	.woocommerce-account .woocommerce-form-register .woocommerce-form-register__submit {
		float: none;
		width: 100%;
		min-height: 50px;
		margin: 8px 0 0;
	}

	.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0 0 4px;
	}

	.woocommerce-account .woocommerce-LostPassword {
		margin: 12px 0 0;
		text-align: center;
	}
}

/* Telas bem estreitas: nome e sobrenome em linhas separadas. */
@media (max-width: 480px) {
	.woocommerce-checkout form.checkout .form-row-first,
	.woocommerce-checkout form.checkout .form-row-last {
		float: none;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rpt-sticky {
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   Botões − / + no limite (ex.: "+" quando já está no máximo do estoque)
   -------------------------------------------------------------------------- */

.woocommerce-cart .rpt-qty .rpt-qty__btn:disabled,
.woocommerce-cart .rpt-qty .rpt-qty__btn:disabled:hover {
	background: var(--rpt-bg);
	color: var(--rpt-ink);
	opacity: 0.3;
	cursor: not-allowed;
}
