/* Carrinho lateral (plugin Side Cart) - mesma linguagem do checkout. Carregado em todo o site via inc/sidecart.php */

/* ---------- Cabeçalho ---------- */
.xoo-wsc-container .xoo-wsc-header {
	border-bottom: 1px solid #e5e5e5 !important;
}
.xoo-wsc-container .xoo-wsch-top {
	padding: 16px 20px !important;
}
.xoo-wsc-container .xoo-wsch-text {
	font-size: 16px !important;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #111 !important;
}
.xoo-wsc-container .xoo-wsch-close {
	font-size: 16px !important;
	color: #111 !important;
}

/* ---------- Lista de produtos: linhas simples, sem cartões ---------- */
.xoo-wsc-container .xoo-wsc-body {
	background: #fff !important;
}
.xoo-wsc-container .xoo-wsc-products {
	padding: 0 !important;
}
.xoo-wsc-container .xoo-wsc-product {
	display: flex;
	gap: 14px;
	margin: 0 !important;
	padding: 16px 20px !important;
	border: 0 !important;
	border-bottom: 1px solid #eee !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
}
.xoo-wsc-container .xoo-wsc-img-col {
	flex: none;
	width: 72px !important;
	padding: 0 !important;
}
.xoo-wsc-container .xoo-wsc-img-col img {
	display: block;
	width: 72px;
	height: 90px;
	border: 1px solid #e5e5e5;
	border-radius: var(--giaw-r-btn, 5px);
	object-fit: cover;
	object-position: center 20%;
}
.xoo-wsc-container .xoo-wsc-sum-col {
	flex: 1;
	width: auto !important;
	min-width: 0;
	padding: 0 !important;
}
.xoo-wsc-container .xoo-wsc-sm-info {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 10px;
}
.xoo-wsc-container .xoo-wsc-sm-left {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	width: auto !important;
}
.xoo-wsc-container .xoo-wsc-pname,
.xoo-wsc-container .xoo-wsc-pname a {
	color: #111 !important;
	font-size: 13px !important;
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
}
/* Tamanho / variação */
.xoo-wsc-container .xoo-wsc-product dl,
.xoo-wsc-container .xoo-wsc-product .variation {
	margin: 0;
	font-size: 12px !important;
	color: #555 !important;
}
.xoo-wsc-container .xoo-wsc-product dl dt,
.xoo-wsc-container .xoo-wsc-product dl dd,
.xoo-wsc-container .xoo-wsc-product .variation * {
	display: inline;
	margin: 0;
	font-size: 12px !important;
	font-style: normal !important;
	font-weight: 500 !important;
}
.xoo-wsc-container .xoo-wsc-product dl dd p {
	display: inline;
	margin: 0;
}

/* Preço: atual à frente, antigo riscado */
.xoo-wsc-container .xoo-wsc-priceBox {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.xoo-wsc-container .xoo-wsc-pprice {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 13px !important;
	color: #111 !important;
}
.xoo-wsc-container .xoo-wsc-pprice ins {
	order: 1;
	background: none;
	font-weight: 700;
	text-decoration: none;
}
.xoo-wsc-container .xoo-wsc-pprice del {
	order: 2;
	color: #6b6b6b;
	font-size: 12px;
	font-weight: 500;
	opacity: 1;
}
.xoo-wsc-container .xoo-wsc-pprice .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Quantidade: − 1 + como no resto do site */
.xoo-wsc-container .xoo-wsc-qty-box {
	display: inline-flex;
	align-items: stretch;
	align-self: flex-start;
	width: auto !important;
	height: 32px;
	margin: 4px 0 0;
	border: 0 !important;
}
.xoo-wsc-container .xoo-wsc-qty-box .xoo-wsc-chng {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 1px solid #cfcfcf !important;
	background: #fff !important;
	color: #111 !important;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	user-select: none;
}
.xoo-wsc-container .xoo-wsc-qty-box .xoo-wsc-minus {
	border-radius: var(--giaw-r-btn, 5px) 0 0 var(--giaw-r-btn, 5px) !important;
}
.xoo-wsc-container .xoo-wsc-qty-box .xoo-wsc-plus {
	border-radius: 0 var(--giaw-r-btn, 5px) var(--giaw-r-btn, 5px) 0 !important;
}
.xoo-wsc-container .xoo-wsc-qty-box .xoo-wsc-chng:hover {
	background: #f0f0f0 !important;
}
.xoo-wsc-container .xoo-wsc-qty-box input.xoo-wsc-qty {
	box-sizing: border-box;
	width: 40px !important;
	height: 32px !important;
	margin: 0 -1px;
	padding: 0 !important;
	border: 1px solid #cfcfcf !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #111 !important;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.xoo-wsc-container .xoo-wsc-qty-box input.xoo-wsc-qty::-webkit-inner-spin-button,
.xoo-wsc-container .xoo-wsc-qty-box input.xoo-wsc-qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Coluna da direita: total da linha em cima, poupança, lixo em baixo */
.xoo-wsc-container .xoo-wsc-sm-right {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 6px;
	width: auto !important;
}
.xoo-wsc-container .xoo-wsc-smr-ptotal {
	order: 1;
	color: #111 !important;
	font-size: 14px !important;
	font-weight: 800;
}
.xoo-wsc-container .xoo-wsc-psavings {
	order: 2;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #111 !important;
	font-size: 11px !important;
	font-weight: 600;
	white-space: nowrap;
}
.xoo-wsc-container .xoo-wsc-psavings * {
	color: #111 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}
.xoo-wsc-container .xoo-wsc-smr-del {
	order: 3;
	margin: auto 0 0;
	color: #555 !important;
	font-size: 15px !important;
	cursor: pointer;
}
.xoo-wsc-container .xoo-wsc-smr-del:hover {
	color: #111 !important;
}

/* ---------- Rodapé ---------- */
.xoo-wsc-container .xoo-wsc-footer {
	padding: 16px 20px 20px !important;
	background: #fff !important;
	box-shadow: 0 -1px 0 #e5e5e5 !important;
}
.xoo-wsc-container .xoo-wsc-ft-totals {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 6px;
	padding: 0 !important;
}
.xoo-wsc-container .xoo-wsc-ft-amt {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 14px !important;
	color: #111 !important;
}
.xoo-wsc-container .xoo-wsc-ft-amt * {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}
.xoo-wsc-container .xoo-wsc-ft-amt.xoo-wsc-less {
	font-size: 13px !important;
	font-weight: 500;
}
.xoo-wsc-container .xoo-wsc-ft-amt-subtotal {
	margin-top: 4px !important;
	padding-top: 12px !important;
	border-top: 1px solid #e5e5e5 !important;
	font-size: 17px !important;
	font-weight: 800;
}
.xoo-wsc-container .xoo-wsc-footer-txt {
	display: block;
	margin: 0 0 14px;
	color: #555;
	font-size: 12px;
	text-align: left;
}
.xoo-wsc-container .xoo-wsc-ft-buttons-cont {
	padding: 0 !important;
}
.xoo-wsc-container .xoo-wsc-ft-btn {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: var(--giaw-r-btn, 5px) !important;
	background: var(--giaw-red, #d90000) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.xoo-wsc-container .xoo-wsc-ft-btn:hover {
	background: #a50d16 !important;
	color: #fff !important;
}

/* =====================================================================
   Ajustes: sem preço repetido, espaçamentos e pesos mais leves
   ===================================================================== */
/* Preço unitário (com o antigo riscado) numa linha pequena por baixo do tamanho; o total da linha fica à direita */
.xoo-wsc-container .xoo-wsc-priceBox {
	display: flex !important;
}
.xoo-wsc-container .xoo-wsc-pprice {
	font-size: 12px !important;
}
.xoo-wsc-container .xoo-wsc-pprice ins,
.xoo-wsc-container .xoo-wsc-pprice ins * {
	font-size: 12px !important;
	font-weight: 600;
}
.xoo-wsc-container .xoo-wsc-pprice del,
.xoo-wsc-container .xoo-wsc-pprice del * {
	font-size: 12px !important;
	color: #6b6b6b;
	font-weight: 400;
}
.xoo-wsc-container .xoo-wsc-sm-left {
	gap: 4px;
}
.xoo-wsc-container .xoo-wsc-qty-box {
	margin-top: 8px;
}

/* "Tamanho: S" com espaço */
.xoo-wsc-container .xoo-wsc-product dl dt {
	margin-right: 4px;
}
.xoo-wsc-container .xoo-wsc-product dl dd {
	margin-right: 10px;
}

/* Coluna da direita: total, poupança, lixo */
.xoo-wsc-container .xoo-wsc-smr-ptotal {
	font-size: 14px !important;
	font-weight: 700;
}
.xoo-wsc-container .xoo-wsc-psavings {
	font-size: 11px !important;
	font-weight: 500;
	text-transform: none !important;
	letter-spacing: 0;
}
.xoo-wsc-container .xoo-wsc-psavings .xoo-wsc-psavlabel {
	text-transform: none !important;
}
.xoo-wsc-container .xoo-wsc-psavings .woocommerce-Price-amount {
	font-weight: 700 !important;
}
.xoo-wsc-container .xoo-wsc-smr-del {
	margin-top: auto;
}

/* Rodapé: pesos mais leves e subtotal em 16px */
.xoo-wsc-container .xoo-wsc-ft-amt-subtotal {
	font-size: 16px !important;
	font-weight: 700;
}

/* =====================================================================
   Cabeçalho enquadrado, foto ao topo, espaço em "Tamanho: S"
   ===================================================================== */
.xoo-wsc-container .xoo-wsch-top {
	align-items: center !important;
}
.xoo-wsc-container .xoo-wsch-sec-left {
	display: flex !important;
	align-items: center;
	gap: 16px;
}
.xoo-wsc-container .xoo-wsch-basket {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0 !important;
}
.xoo-wsc-container .xoo-wsch-bki {
	margin: 0 !important;
	font-size: 22px !important;
	line-height: 1;
}
.xoo-wsc-container .xoo-wsch-items-count {
	position: absolute !important;
	top: -4px !important;
	right: -6px !important;
	left: auto !important;
	box-sizing: border-box;
	min-width: 18px;
	height: 18px !important;
	padding: 0 5px;
	border-radius: 999px;
	background: #111 !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700;
	line-height: 18px !important;
	text-align: center;
}
.xoo-wsc-container .xoo-wsch-text {
	line-height: 1.2;
}

/* A foto fica alinhada ao topo da linha (o plugin centra-a na vertical) */
.xoo-wsc-container .xoo-wsc-product {
	align-items: flex-start !important;
}
.xoo-wsc-container .xoo-wsc-img-col {
	align-self: flex-start !important;
}

/* "Tamanho: S": a regra genérica das variações (margin:0) ganhava; esta é mais específica */
.xoo-wsc-container .xoo-wsc-product dl.variation dt {
	margin-right: 4px;
}
.xoo-wsc-container .xoo-wsc-product dl.variation dd {
	margin-right: 10px;
}

/* "O teu carrinho" numa só linha: 15px e sem quebra; a secção esquerda ocupa o espaço livre */
.xoo-wsc-container .xoo-wsch-sec-left {
	flex: 1 1 auto;
	min-width: 0;
}
.xoo-wsc-container .xoo-wsch-text {
	font-size: 15px !important;
	white-space: nowrap;
}

/* ---------- Carrinho vazio: mesmo estilo dos outros botões (é uma ligação <a>, o raio do Flatsome não lhe chega) ---------- */
.xoo-wsc-container .xoo-wsc-empty-cart {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	padding: 28px 20px;
	text-align: left;
}
.xoo-wsc-container .xoo-wsc-empty-cart .xoo-wsc-emp-txt {
	margin: 0;
	color: #111;
	font-size: 15px;
	font-weight: 600;
}
.xoo-wsc-container .xoo-wsc-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	margin: 0;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: var(--giaw-r-btn, 5px) !important;
	background: var(--giaw-red, #d90000) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.xoo-wsc-container .xoo-wsc-btn:hover {
	background: #a50d16 !important;
}
