/* ============================================================
   Área Carrinho V8 — página do carrinho (fastyshop-v8-cart)
   Replicação fiel da amostra-cart + resumo real + botão continuar
   comprando. Depende do v8-base.css (tokens: --bg, --surface,
   --border, --text-main, --text-muted, --success, --brand,
   --danger, --success-dark).
   ============================================================ */

body.fastyshop-v8-cart { background: var(--bg) !important; color: var(--text-main) !important; overflow-x: hidden !important; }

body.fastyshop-v8-cart .v8sf-cart-main {
	max-width: 1000px !important;
	margin: 30px auto !important;
	padding: 0 10px !important;
	background: transparent !important;
}

/* ===== ABA MEU LOCAL ===== */
body.fastyshop-v8-cart .v8sf-my-location {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 16px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -16px rgba(0, 0, 0, 0.12) !important;
	padding: 12px 16px !important;
	margin-bottom: 16px !important;
}

/* Quando o CEP é confirmado, a caixa "Entregando para" some (igual
   ao mini-cart) — só a caixa "Endereço confirmado" fica visível. */
body.fastyshop-v8-cart .v8sf-my-location[hidden] {
	display: none !important;
}

body.fastyshop-v8-cart .v8sf-loc-top { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; width: 100% !important; }

body.fastyshop-v8-cart .v8sf-loc-left { display: flex !important; align-items: center !important; gap: 12px !important; min-width: 0 !important; flex: 1 1 auto !important; }

body.fastyshop-v8-cart .v8sf-loc-pin {
	width: 38px !important;
	height: 38px !important;
	background: rgba(16, 185, 129, 0.1) !important;
	color: var(--success) !important;
	border-radius: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

body.fastyshop-v8-cart .v8sf-loc-text { display: flex !important; flex-direction: column !important; min-width: 0 !important; flex: 1 1 auto !important; }

body.fastyshop-v8-cart .v8sf-loc-label { font-size: 11px !important; font-weight: 700 !important; color: var(--text-muted) !important; text-transform: uppercase !important; letter-spacing: 0.4px !important; }

body.fastyshop-v8-cart .v8sf-loc-value { font-size: 15px !important; font-weight: 800 !important; color: var(--text-main) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; margin-top: 1px !important; }

body.fastyshop-v8-cart .v8sf-loc-value.is-loading { color: var(--text-muted) !important; font-weight: 600 !important; }

body.fastyshop-v8-cart .v8sf-loc-right { display: flex !important; align-items: center !important; flex-shrink: 0 !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	color: var(--success) !important;
	background: rgba(16, 185, 129, 0.08) !important;
	border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
	border-radius: 999px !important;
	padding: 8px 16px !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
}

body.fastyshop-v8-cart .v8sf-loc-cep-link svg { flex-shrink: 0 !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-link[hidden] { display: none !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-link:hover { background: rgba(16, 185, 129, 0.15) !important; border-color: var(--success) !important; transform: translateY(-1px) !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-close {
	width: 38px !important;
	height: 38px !important;
	flex-shrink: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #F1F3F5 !important;
	border: 1.5px solid var(--border) !important;
	border-radius: 10px !important;
	color: #374151 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
}

.v8sf-loc-cep-close svg {
	width: 14px !important;
	height: 14px !important;
	flex-shrink: 0 !important;
	display: block !important;
}

body.fastyshop-v8-cart .v8sf-loc-cep-close[hidden] { display: none !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-close:hover { color: var(--danger) !important; border-color: rgba(220, 38, 38, 0.35) !important; background: rgba(220, 38, 38, 0.05) !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-line {
	display: flex !important;
	gap: 8px !important;
	align-items: center !important;
	margin-top: 12px !important;
	animation: v8sf-pop-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.fastyshop-v8-cart .v8sf-loc-cep-line[hidden] { display: none !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-line input {
	flex: 1 !important;
	height: 42px !important;
	padding: 0 14px !important;
	border: 1.5px solid var(--border) !important;
	border-radius: 10px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.3px !important;
	background: #FAFAFA !important;
	outline: none !important;
	transition: all 0.2s ease !important;
	min-width: 0 !important;
	color: var(--text-main) !important;
}

body.fastyshop-v8-cart .v8sf-loc-cep-line input:focus { border-color: var(--success) !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-line input.is-checking { border-color: #94A3B8 !important; background: #F8FAFC !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-line input.is-found { border-color: var(--success) !important; background: #ECFDF5 !important; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-line input.has-error { border-color: var(--danger) !important; background: #FEF2F2 !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-save {
	height: 42px !important;
	min-width: 86px !important;
	padding: 0 16px !important;
	border: none !important;
	border-radius: 10px !important;
	background: var(--success) !important;
	color: #fff !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
	font-family: inherit !important;
}

body.fastyshop-v8-cart .v8sf-loc-cep-save:hover { background: #059669 !important; transform: translateY(-1px) !important; }

body.fastyshop-v8-cart .v8sf-loc-cep-save:disabled { opacity: 0.5 !important; cursor: not-allowed !important; transform: none !important; }

/* Card de endereço confirmado */
body.fastyshop-v8-cart .v8sf-cep-found {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	background: rgba(16, 185, 129, 0.08) !important;
	border: 1px solid rgba(16, 185, 129, 0.3) !important;
	border-radius: 12px !important;
	padding: 10px 14px !important;
	margin-bottom: 16px !important;
	animation: v8sf-pop-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.fastyshop-v8-cart .v8sf-cep-found[hidden] { display: none !important; }

body.fastyshop-v8-cart .v8sf-cep-found-icon {
	width: 26px !important;
	height: 26px !important;
	background: var(--success) !important;
	color: #fff !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

body.fastyshop-v8-cart .v8sf-cep-found-text { display: flex !important; flex-direction: column !important; gap: 1px !important; min-width: 0 !important; flex: 1 !important; }

body.fastyshop-v8-cart .v8sf-cep-found-text strong { font-size: 13.5px !important; font-weight: 800 !important; color: var(--success-dark) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

body.fastyshop-v8-cart .v8sf-cep-found-street { font-size: 12.5px !important; font-weight: 600 !important; color: var(--text-main) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

body.fastyshop-v8-cart .v8sf-cep-found-city { font-size: 12px !important; font-weight: 500 !important; color: var(--text-muted) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }

body.fastyshop-v8-cart .v8sf-cep-found-edit {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--success) !important;
	background: none !important;
	border: 1px solid rgba(16, 185, 129, 0.3) !important;
	border-radius: 8px !important;
	padding: 6px 14px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	flex-shrink: 0 !important;
	font-family: inherit !important;
}

body.fastyshop-v8-cart .v8sf-cep-found-edit:hover { background: rgba(16, 185, 129, 0.1) !important; }

/* ===== CARD DE ITENS ===== */
body.fastyshop-v8-cart .v8sf-card-panel {
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 18px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -16px rgba(0, 0, 0, 0.12) !important;
	padding: 24px !important;
}

body.fastyshop-v8-cart .v8sf-step-head {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin-bottom: 16px !important;
	padding-bottom: 16px !important;
	border-bottom: 1px solid var(--border) !important;
}

body.fastyshop-v8-cart .v8sf-step-num {
	width: 30px !important;
	height: 30px !important;
	background: var(--brand) !important;
	color: #fff !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	flex-shrink: 0 !important;
}

body.fastyshop-v8-cart .v8sf-step-title {
	font-size: 20px !important;
	font-weight: 800 !important;
	letter-spacing: -0.3px !important;
	color: var(--text-main) !important;
	/* FASE 8 — clamp transversal: título do passo em até 2 linhas. */
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
}

body.fastyshop-v8-cart .v8sf-step-count {
	margin-left: auto !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--text-muted) !important;
	background: #F3F4F6 !important;
	border: 1px solid var(--border) !important;
	padding: 3px 12px !important;
	border-radius: 999px !important;
	white-space: nowrap !important;
}

body.fastyshop-v8-cart .v8sf-product-list { display: flex !important; flex-direction: column !important; }

body.fastyshop-v8-cart .v8sf-product-item {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	padding: 16px 0 !important;
	border-bottom: 1px dashed var(--border) !important;
}

body.fastyshop-v8-cart .v8sf-product-item:last-child { border-bottom: none !important; }

body.fastyshop-v8-cart .v8sf-product-link {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	text-decoration: none !important;
	color: inherit !important;
}

body.fastyshop-v8-cart .v8sf-product-link:hover .v8sf-product-name { color: var(--success) !important; }

body.fastyshop-v8-cart .v8sf-product-img {
	width: 84px !important;
	height: 84px !important;
	border-radius: 14px !important;
	border: 1px solid var(--border) !important;
	object-fit: cover !important;
	flex-shrink: 0 !important;
	background: #fff !important;
	display: block !important;
}

body.fastyshop-v8-cart .v8sf-product-img-placeholder {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #9CA3AF !important;
	font-size: 11px !important;
}

body.fastyshop-v8-cart .v8sf-product-info { flex: 1 !important; min-width: 0 !important; }

body.fastyshop-v8-cart .v8sf-product-name { font-size: 15px !important; font-weight: 700 !important; color: var(--text-main) !important; line-height: 1.35 !important; }

body.fastyshop-v8-cart .v8sf-product-meta { font-size: 12.5px !important; color: var(--text-muted) !important; font-weight: 500 !important; margin-top: 3px !important; }

body.fastyshop-v8-cart .v8sf-product-price { font-size: 16px !important; font-weight: 800 !important; color: var(--text-main) !important; margin-top: 7px !important; }

body.fastyshop-v8-cart .v8sf-product-old { font-size: 12.5px !important; color: var(--text-muted) !important; text-decoration: line-through !important; font-weight: 600 !important; margin-right: 6px !important; }

body.fastyshop-v8-cart .v8sf-product-tags { display: flex !important; align-items: center !important; gap: 6px !important; flex-wrap: wrap !important; margin-top: 8px !important; }

body.fastyshop-v8-cart .v8sf-tag-stock {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	background: rgba(16, 185, 129, 0.12) !important;
	border: 1px solid rgba(16, 185, 129, 0.35) !important;
	color: var(--success-dark) !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	padding: 4px 10px !important;
	border-radius: 999px !important;
}

body.fastyshop-v8-cart .v8sf-tag-stock svg { width: 11px !important; height: 11px !important; color: var(--success) !important; }

body.fastyshop-v8-cart .v8sf-tag-out { color: var(--danger) !important; border-color: rgba(220, 38, 38, 0.3) !important; background: rgba(220, 38, 38, 0.05) !important; }

body.fastyshop-v8-cart .v8sf-tag-out svg { color: var(--danger) !important; }

body.fastyshop-v8-cart .v8sf-product-side { display: flex !important; flex-direction: column !important; align-items: flex-end !important; gap: 10px !important; flex-shrink: 0 !important; }

body.fastyshop-v8-cart .v8sf-product-remove {
	width: 30px !important;
	height: 30px !important;
	border: none !important;
	background: none !important;
	color: #9CA3AF !important;
	cursor: pointer !important;
	border-radius: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}

body.fastyshop-v8-cart .v8sf-product-remove:hover { background: rgba(220, 38, 38, 0.08) !important; color: var(--danger) !important; }

/* Mesmo preload do minicart: o item permanece no carrinho ate o servidor
   confirmar. Somente o X vira um spinner e novos cliques ficam bloqueados. */
body.fastyshop-v8-cart .v8sf-product-remove.is-busy {
	pointer-events: none !important;
	cursor: wait !important;
}

body.fastyshop-v8-cart .v8sf-product-remove.is-busy svg {
	display: none !important;
}

body.fastyshop-v8-cart .v8sf-product-remove.is-busy::before {
	content: '' !important;
	width: 14px !important;
	height: 14px !important;
	border: 2px solid rgba(220, 38, 38, 0.3) !important;
	border-top-color: #dc2626 !important;
	border-radius: 50% !important;
	animation: v8sf-cart-remove-spin 0.6s linear infinite !important;
}

body.fastyshop-v8-cart .v8sf-product-item.is-confirmed-removed {
	opacity: 0 !important;
	transform: translateX(20px) !important;
	pointer-events: none !important;
	transition: opacity 0.25s ease, transform 0.25s ease !important;
}

@keyframes v8sf-cart-remove-spin {
	to { transform: rotate(360deg); }
}

body.fastyshop-v8-cart .v8sf-product-qty {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--text-muted) !important;
	background: #F3F4F6 !important;
	padding: 5px 12px !important;
	border-radius: 999px !important;
	flex-shrink: 0 !important;
}

/* ===== RESUMO REAL (opção cart_show_summary) ===== */
body.fastyshop-v8-cart .v8sf-cart-summary {
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 16px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -16px rgba(0, 0, 0, 0.12) !important;
	padding: 18px 24px !important;
	margin-top: 16px !important;
}

body.fastyshop-v8-cart .v8sf-summary-row {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 8px 0 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--text-main) !important;
}

body.fastyshop-v8-cart .v8sf-summary-row strong { font-weight: 800 !important; }

body.fastyshop-v8-cart .v8sf-summary-total {
	font-size: 17px !important;
}

body.fastyshop-v8-cart .v8sf-summary-total strong { font-size: 19px !important; }

body.fastyshop-v8-cart .v8sf-summary-foot {
	display: flex !important;
	flex-wrap: nowrap !important; /* os ícones NUNCA quebram de linha */
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin-top: 6px !important;
	padding-top: 12px !important;
	border-top: 1px dashed var(--border) !important;
}

body.fastyshop-v8-cart .v8sf-summary-hint {
	font-size: 13px !important;
	font-weight: 800 !important;
	color: var(--success-dark, #059669) !important;
	margin: 0 !important;
	/* Caixa do tamanho do texto no desktop; se faltar espaço no mobile,
	   ela ENCOLHE e o texto quebra dentro — os ícones nunca se movem. */
	display: inline-flex !important;
	align-items: center !important;
	flex: 0 1 auto !important;
	min-width: 0 !important;
	width: fit-content !important;
	max-width: 100% !important;
	line-height: 1.4 !important;
	/* Destaque CTA: o usuário precisa avançar para calcular
	   entrega e pagamento — caixa verde clara (a seta animada fica
	   no botão "Entrega e Pagamento", abaixo). */
	background: rgba(16, 185, 129, 0.1) !important;
	border: 1px solid rgba(16, 185, 129, 0.35) !important;
	border-radius: 10px !important;
	padding: 10px 12px !important;
}

body.fastyshop-v8-cart .v8sf-summary-badges { display: flex !important; gap: 8px !important; flex-shrink: 0 !important; }

body.fastyshop-v8-cart .v8sf-summary-badge {
	width: 42px !important;
	height: 42px !important;
	background: rgba(16, 185, 129, 0.08) !important;
	border: 1px solid var(--border) !important;
	color: var(--text-muted) !important;
	border-radius: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

body.fastyshop-v8-cart .v8sf-summary-badge svg {
	width: 23px !important;
	height: 23px !important;
	flex-shrink: 0 !important;
}

/* ===== BOTÃO ENTREGA E PAGAMENTO ===== */
body.fastyshop-v8-cart .v8sf-go-checkout {
	width: 100% !important;
	background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
	color: #fff !important;
	padding: 24px 30px !important;
	border: none !important;
	border-radius: 14px !important;
	font-size: 18px !important;
	font-weight: 900 !important;
	cursor: pointer !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 10px !important;
	transition: all 0.3s ease !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.5) !important;
	text-decoration: none !important;
	margin-top: 24px !important;
	font-family: inherit !important;
	position: relative !important;
	overflow: hidden !important; /* necessário p/ o reflexo */
}

body.fastyshop-v8-cart .v8sf-go-checkout:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 12px 30px -5px rgba(16, 185, 129, 0.6) !important;
	color: #fff !important;
}

/* Reflexo (shine) — mesmo efeito do botão "Finalizar" do checkout:
   o brilho branco varre o botão em loop. */
body.fastyshop-v8-cart .v8sf-go-checkout::after {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: -100% !important;
	width: 50% !important;
	height: 100% !important;
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%) !important;
	transform: skewX(-20deg) !important;
	animation: v8sf-btn-shine 1.8s ease-in-out infinite !important;
	pointer-events: none !important;
}

@keyframes v8sf-btn-shine {
	0% { left: -100%; }
	65% { left: 200%; }
	100% { left: 200%; }
}

/* Seta GRANDE animada no botão: vai para a direita e volta (loop) */
body.fastyshop-v8-cart .v8sf-go-checkout svg {
	width: 22px !important;
	height: 22px !important;
	flex-shrink: 0 !important;
	animation: v8sf-arrow-slide 1.4s ease-in-out infinite !important;
}

@keyframes v8sf-arrow-slide {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(7px); }
}

/* ===== BOTÃO CONTINUAR COMPRANDO (volta para a loja) ===== */
body.fastyshop-v8-cart .v8sf-cart-continue {
	width: 100% !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 8px !important;
	background: none !important;
	border: none !important;
	border-radius: 14px !important;
	color: var(--text-muted) !important;
	padding: 14px 30px !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	margin-top: 12px !important;
	font-family: inherit !important;
}

body.fastyshop-v8-cart .v8sf-cart-continue svg { color: var(--success) !important; }

body.fastyshop-v8-cart .v8sf-cart-continue:hover {
	color: var(--success) !important;
	background: none !important;
}

/* ===== RECENTLY VIEWED — carrossel nativo WooCommerce/Razzi ===== */
body.fastyshop-v8-cart .v8sf-recently { margin-top: 24px !important; }

body.fastyshop-v8-cart .v8sf-recently-head {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 12px !important;
}

body.fastyshop-v8-cart .v8sf-recently-title {
	font-size: 15px !important;
	font-weight: 800 !important;
	color: var(--text-main) !important;
	/* FASE 8 — clamp transversal: seção "vistos recentes" em 1 linha. */
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

body.fastyshop-v8-cart .v8sf-recently-nav { display: flex !important; gap: 8px !important; }

/* Mesmo estilo dos botões de seta das categorias (arquivo loja):
   34px, cantos 10px, fundo branco, hover verde com ícone branco,
   desabilitado nas pontas do carrossel. */
body.fastyshop-v8-cart .v8sf-recently-arrow {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	padding: 0 !important;
	border: 1px solid var(--border, #E5E7EB) !important;
	border-radius: 10px !important;
	background: var(--surface, #FFFFFF) !important;
	color: var(--text-main, #111827) !important;
	cursor: pointer !important;
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease !important;
}

body.fastyshop-v8-cart .v8sf-recently-arrow:hover:not(:disabled) {
	background: var(--v8sf-hdr-primary, #10B981) !important;
	border-color: var(--v8sf-hdr-primary, #10B981) !important;
	color: #FFFFFF !important;
}

body.fastyshop-v8-cart .v8sf-recently-arrow:disabled {
	opacity: 0.35 !important;
	cursor: default !important;
}

body.fastyshop-v8-cart .v8sf-recently-track {
	display: flex !important;
	gap: 12px !important;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory !important;
	padding-bottom: 6px !important;
	scrollbar-width: none !important;
}

body.fastyshop-v8-cart .v8sf-recently-track::-webkit-scrollbar { display: none !important; }

body.fastyshop-v8-cart .v8sf-recently-item {
	flex: 0 0 132px !important;
	scroll-snap-align: start !important;
	background: var(--surface) !important;
	border: 1px solid var(--border) !important;
	border-radius: 14px !important;
	padding: 10px !important;
	text-decoration: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	transition: all 0.2s ease !important;
}

body.fastyshop-v8-cart .v8sf-recently-item:hover { border-color: rgba(16, 185, 129, 0.4) !important; transform: translateY(-2px) !important; }

body.fastyshop-v8-cart .v8sf-recently-img {
	width: 100% !important;
	aspect-ratio: 1 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #fff !important;
}

body.fastyshop-v8-cart .v8sf-recently-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

body.fastyshop-v8-cart .v8sf-recently-name {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--text-main) !important;
	line-height: 1.3 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

body.fastyshop-v8-cart .v8sf-recently-price { font-size: 12.5px !important; font-weight: 800 !important; color: var(--success-dark) !important; }

/* ===== CARRINHO VAZIO ===== */
body.fastyshop-v8-cart .v8sf-cart-empty {
	text-align: center !important;
	padding: 48px 24px !important;
}

body.fastyshop-v8-cart .v8sf-cart-empty-icon {
	width: 56px !important;
	height: 56px !important;
	margin: 0 auto 16px !important;
	background: rgba(16, 185, 129, 0.1) !important;
	color: var(--success) !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

body.fastyshop-v8-cart .v8sf-cart-empty h2 {
	font-size: 20px !important;
	font-weight: 800 !important;
	color: var(--text-main) !important;
	margin: 0 0 6px !important;
}

body.fastyshop-v8-cart .v8sf-cart-empty p {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--text-muted) !important;
	margin: 0 0 20px !important;
}

body.fastyshop-v8-cart .v8sf-cart-empty .v8sf-cart-continue {
	max-width: 320px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0 !important;
}

/* ===== Responsivo ===== */
@media (max-width: 640px) {
	body.fastyshop-v8-cart .v8sf-cart-main { margin: 16px auto !important; }
	body.fastyshop-v8-cart .v8sf-my-location { padding: 12px 14px !important; }
	body.fastyshop-v8-cart .v8sf-loc-cep-link { padding: 7px 12px !important; font-size: 12px !important; }
	body.fastyshop-v8-cart .v8sf-loc-cep-line input { height: 40px !important; font-size: 13px !important; }
	body.fastyshop-v8-cart .v8sf-card-panel { padding: 18px 14px !important; }
	body.fastyshop-v8-cart .v8sf-product-img { width: 68px !important; height: 68px !important; }
	body.fastyshop-v8-cart .v8sf-product-item { gap: 12px !important; }
	body.fastyshop-v8-cart .v8sf-product-name { font-size: 14px !important; }
	body.fastyshop-v8-cart .v8sf-cart-summary { padding: 16px !important; }
	body.fastyshop-v8-cart .v8sf-go-checkout { padding: 20px !important; font-size: 18px !important; }
	body.fastyshop-v8-cart .v8sf-cart-continue { padding: 14px 20px !important; font-size: 14px !important; }
}
