/*
Theme Name: Vgomes Theme
Theme URI: https://vgomes.com
Author: Vgomes
Author URI: https://vgomes.com
Description: Um tema WordPress moderno e personalizado desenvolvido para o site Vgomes. Com design limpo, responsivo e otimizado para performance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vgomes-theme
Tags: custom-theme, responsive, modern, clean
*/

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0a0a0a;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 10px;
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #818cf8 0%, #a78bfa 100%);
}

/* Remover setas da scrollbar */
::-webkit-scrollbar-button {
    display: none;
    height: 0;
    width: 0;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: none;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #6366f1 #1a1a1a;
}

#page.site {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Container Principal */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo - Tamanhos fixos para todas as páginas */
.logo-img {
	height: 2rem !important;
	width: auto !important;
	max-height: 2rem !important;
	min-height: 2rem !important;
}

@media (min-width: 768px) {
	.logo-img {
		height: 2.75rem !important;
		max-height: 2.75rem !important;
		min-height: 2.75rem !important;
	}
}

.logo-img-footer {
	height: 2.5rem !important;
	width: auto !important;
	max-height: 2.5rem !important;
	min-height: 2.5rem !important;
}

@media (min-width: 768px) {
	.logo-img-footer {
		height: 3rem !important;
		max-height: 3rem !important;
		min-height: 3rem !important;
	}
}

/* Logo do Mobile Menu - Tamanho fixo */
.mobile-menu-logo img,
.mobile-menu-logo-img {
	height: 2.5rem !important;
	width: auto !important;
	max-height: 2.5rem !important;
	min-height: 2.5rem !important;
}

/* ============================================
   DESABILITAR LOADER DO WOOCOMMERCE
   ============================================ */
/* Esconder overlay de loading do WooCommerce - NÃO afetar #page-loader do tema */
.woocommerce .blockUI.blockOverlay,
.woocommerce-blockUI.blockOverlay,
.blockUI.blockOverlay {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Remover loader spinner do WooCommerce - NÃO afetar .loader do tema */
.woocommerce .loader,
.woocommerce .blockUI.blockOverlay::before,
.woocommerce .blockUI.blockOverlay::after,
.blockUI.blockOverlay::before,
.blockUI.blockOverlay::after {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

/* Remover overlay em elementos específicos do WooCommerce */
.woocommerce form .blockUI.blockOverlay,
.woocommerce-page form .blockUI.blockOverlay,
.cart .blockUI.blockOverlay,
.checkout .blockUI.blockOverlay,
.woocommerce-cart .blockUI.blockOverlay,
.woocommerce-checkout .blockUI.blockOverlay {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Garantir que o loader do tema (#page-loader) NÃO seja afetado */
#page-loader,
.page-loader,
#page-loader .loader,
.page-loader .loader {
	display: flex !important;
	visibility: visible !important;
}

/* ============================================
   WOOCOMMERCE SIDE CART - QUANTITY CONTROLS
   ============================================ */

/* Wrapper para quantidade e preço - Desktop */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper,
.vgomes-quantity-price-wrapper {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 0.75rem !important;
	flex-wrap: nowrap !important;
	flex-direction: row !important;
	width: 100% !important;
	margin-top: 10px !important;
	order: 2 !important;
}

/* Container para conteúdo à direita - duas linhas */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-content {
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.5rem !important;
	position: relative !important;
	overflow: visible !important;
}

/* Linha do item do side cart */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.5rem !important;
	width: 100% !important;
}

/* Garantir que o nome fique à esquerda */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row .vgomes-product-name {
	order: 1 !important;
	flex: 1 !important;
	margin-right: auto !important;
}

/* Garantir que o botão remover fique à direita */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row .remove {
	order: 2 !important;
	flex-shrink: 0 !important;
	margin-left: auto !important;
}

/* Segunda linha - apenas quantidade */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row-bottom {
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center !important;
	width: 100% !important;
	position: relative !important;
	overflow: visible !important;
}

/* Garantir que os controles de quantidade fiquem à esquerda */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row-bottom .vgomes-quantity-price-wrapper {
	margin-right: auto !important;
}

/* Nome do produto */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-product-name {
	flex: 1 !important;
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}


/* Wrapper de quantidade - preço à esquerda e controles à direita */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper {
	justify-content: space-between !important;
	flex-shrink: 0 !important;
	gap: 0.75rem !important;
	width: 100% !important;
}

/* Preço dentro do wrapper de quantidade - à esquerda */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper .vgomes-cart-item-price {
	font-size: 0.875rem !important;
	color: #a5b4fc !important;
	font-weight: 700 !important;
	flex-shrink: 0 !important;
	order: 1 !important;
	margin-right: auto !important;
}

/* Controles de quantidade - à direita do preço */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper .vgomes-quantity-controls {
	order: 2 !important;
	flex-shrink: 0 !important;
	margin-left: auto !important;
}

/* Estilo para preços dentro do wrapper */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper .vgomes-cart-item-price .amount,
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper .vgomes-cart-item-price .woocommerce-Price-amount {
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	color: #a5b4fc !important;
	display: inline-block !important;
}

/* Garantir que o mini_cart_item não tenha overflow hidden no desktop */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item {
	overflow: visible !important;
}

/* Botão de remover - canto superior direito */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .remove {
	position: static !important;
	flex-shrink: 0 !important;
}

/* Controles de quantidade */
.vgomes-quantity-controls {
	display: flex !important;
	align-items: center !important;
	gap: 0.375rem !important;
	margin: 0 !important;
	width: fit-content !important;
	flex-shrink: 0 !important;
	background: rgba(99, 102, 241, 0.1) !important;
	border: 1px solid rgba(99, 102, 241, 0.2) !important;
	border-radius: 0.375rem !important;
	padding: 0.25rem !important;
}

.vgomes-qty-minus,
.vgomes-qty-plus {
	width: 24px !important;
	height: 24px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(99, 102, 241, 0.2) !important;
	border: 1px solid rgba(99, 102, 241, 0.4) !important;
	border-radius: 0.25rem !important;
	color: #a5b4fc !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	font-size: 0.625rem !important;
	padding: 0 !important;
}

.vgomes-qty-minus:hover:not(:disabled),
.vgomes-qty-plus:hover:not(:disabled) {
	background: rgba(99, 102, 241, 0.3) !important;
	border-color: rgba(99, 102, 241, 0.6) !important;
	color: #ffffff !important;
	transform: scale(1.1) !important;
}

.vgomes-qty-minus:disabled,
.vgomes-qty-plus:disabled {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.vgomes-qty-value {
	min-width: 20px !important;
	text-align: center !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	font-size: 0.75rem !important;
	padding: 0 0.25rem !important;
}

/* Mobile - Ajustes específicos */
@media (max-width: 767px) {
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper,
	.vgomes-quantity-price-wrapper {
		gap: 0.25rem !important;
		flex-wrap: nowrap !important;
		flex-direction: row !important;
		justify-content: flex-start !important;
		width: auto !important;
		display: flex !important;
		align-items: center !important;
		margin-top: 0 !important;
		margin-right: auto !important;
	}
	
	.vgomes-quantity-controls {
		padding: 0.125rem !important;
	}

	.vgomes-qty-minus,
	.vgomes-qty-plus {
		width: 20px !important;
		height: 20px !important;
		font-size: 0.5rem !important;
	}

	.vgomes-qty-value {
		font-size: 0.625rem !important;
		min-width: 18px !important;
	}
	
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-content {
		margin-left: 0.75rem !important;
		gap: 0.5rem !important;
	}
	
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row {
		gap: 0.375rem !important;
	}
	
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row-bottom {
		display: flex !important;
		justify-content: flex-start !important;
		align-items: center !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow: visible !important;
	}
	
	/* Garantir que os controles de quantidade fiquem à esquerda no mobile */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row-bottom .vgomes-quantity-price-wrapper {
		flex-shrink: 0 !important;
		min-width: fit-content !important;
		margin-right: auto !important;
	}
	
	/* Garantir que o container do item não tenha overflow hidden no mobile */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item {
		overflow: visible !important;
		max-width: 100% !important;
		padding-right: 0.25rem !important;
	}
	
	/* Garantir que o content não tenha overflow hidden no mobile e tenha espaço suficiente */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-content {
		overflow: visible !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 1 !important;
		margin-right: 0 !important;
	}
	
	/* Garantir que a segunda linha tenha espaço suficiente no mobile e não corte o preço */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-row-bottom {
		min-width: 0 !important;
		flex: 1 !important;
		overflow: visible !important;
		padding-right: 0 !important;
	}
	
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-product-name {
		font-size: 0.875rem !important;
		line-height: 1.3 !important;
	}
	
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper {
		justify-content: space-between !important;
		gap: 0.5rem !important;
		width: 100% !important;
	}
	
	/* Preço menor no mobile dentro do wrapper */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper .vgomes-cart-item-price {
		font-size: 0.75rem !important;
	}
	
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper .vgomes-cart-item-price .amount,
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-quantity-price-wrapper .vgomes-cart-item-price .woocommerce-Price-amount {
		font-size: 0.75rem !important;
	}
	
	.vgomes-quantity-controls {
		padding: 0.125rem !important;
	}
	
	.vgomes-qty-minus,
	.vgomes-qty-plus {
		width: 20px !important;
		height: 20px !important;
		font-size: 0.5rem !important;
	}
	
	.vgomes-qty-value {
		font-size: 0.625rem !important;
		min-width: 18px !important;
	}
	
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .remove {
		width: 24px !important;
		height: 24px !important;
	}
	
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .remove i {
		font-size: 0.75rem !important;
	}
}

/* ============================================
   WOOCOMMERCE SIDE CART - COMPLETE STYLES
   ============================================ */

/* Side Cart - Container Principal */
.wc-side-cart {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 420px;
	height: 100vh;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	pointer-events: none;
}

.wc-side-cart.active {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

.wc-side-cart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wc-side-cart.active .wc-side-cart-overlay {
	opacity: 1;
}

.wc-side-cart-content {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 420px;
	height: 100vh;
	background: linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
	backdrop-filter: blur(24px);
	border-left: 1px solid rgba(99, 102, 241, 0.2);
	box-shadow: -8px 0 50px rgba(0, 0, 0, 0.8);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.wc-side-cart.active .wc-side-cart-content {
	transform: translateX(0);
}

.wc-side-cart-header {
	padding: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}

.wc-side-cart-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
}

.wc-side-cart-close {
	background: transparent;
	border: none;
	color: #e8e8ea;
	cursor: pointer;
	padding: 0.5rem;
	transition: all 0.3s ease;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-side-cart-close:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: rotate(90deg);
}

.wc-side-cart-close i {
	font-size: 1.25rem;
}

.wc-side-cart-body {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 1.5rem;
	scrollbar-width: thin;
	scrollbar-color: rgba(99, 102, 241, 0.4) transparent;
	-webkit-overflow-scrolling: touch;
}

.wc-side-cart-body::-webkit-scrollbar {
	width: 4px;
}

.wc-side-cart-body::-webkit-scrollbar-track {
	background: transparent;
}

.wc-side-cart-body::-webkit-scrollbar-thumb {
	background: rgba(99, 102, 241, 0.4);
	border-radius: 2px;
}

.wc-side-cart-body::-webkit-scrollbar-thumb:hover {
	background: rgba(99, 102, 241, 0.6);
}

/* Mini Cart Items - Estrutura */
.wc-side-cart-body .widget_shopping_cart_content ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item {
	display: flex;
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.75rem;
	margin-bottom: 1rem;
	position: relative;
	background: rgba(255, 255, 255, 0.02);
	align-items: flex-start;
}

.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item:last-child {
	margin-bottom: 0;
}

/* Link do produto - apenas imagem à esquerda */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item > a:not(.remove) {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	display: block;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

/* Imagem do produto */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: block;
}

/* Container para conteúdo à direita (nome, quantidade, preço) */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-left: 1rem;
	min-width: 0;
}

/* Nome do produto */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-product-name {
	color: #ffffff;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.4;
	display: block;
	margin-bottom: 0;
	order: 1;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Esconder quantidade padrão do WooCommerce */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .quantity {
	display: none;
}

/* Estilo para preços do WooCommerce */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .amount,
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .woocommerce-Price-amount {
	font-size: 1.25rem;
	font-weight: 800;
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(139, 92, 246, 0.15) 100%);
	border: 1.5px solid rgba(99, 102, 241, 0.35);
	backdrop-filter: blur(10px);
	box-shadow: 
		0 3px 10px rgba(99, 102, 241, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	display: inline-block;
	color: #a5b4fc;
	width: fit-content;
	flex-shrink: 0;
}

/* Texto com gradiente para preços */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .amount *,
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .woocommerce-Price-amount * {
	background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Botão de remover item */
.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .remove {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #ef4444;
	font-size: 1rem;
	text-decoration: none;
	transition: all 0.3s ease;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: 0.5rem;
	backdrop-filter: blur(8px);
	z-index: 10;
	line-height: 1;
	padding: 0;
}

.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .remove:hover {
	color: #ffffff;
	background: rgba(239, 68, 68, 0.3);
	border-color: rgba(239, 68, 68, 0.5);
	transform: scale(1.1);
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Side Cart Footer */
.wc-side-cart-footer {
	padding: 1.5rem !important;
	padding-top: 1rem !important;
	border-top: 2px solid rgba(99, 102, 241, 0.2) !important;
	background: linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%) !important;
	backdrop-filter: blur(24px) !important;
	flex-shrink: 0 !important;
}

/* Esconder total e botões que estão no body (serão movidos para o footer) */
.wc-side-cart-body .widget_shopping_cart_content .woocommerce-mini-cart__total,
.wc-side-cart-body .widget_shopping_cart_content .woocommerce-mini-cart__buttons {
	display: none !important;
}

/* Total e Botões dentro do Footer */
.wc-side-cart-footer .woocommerce-mini-cart__total {
	padding: 0 !important;
	border-top: none !important;
	margin-top: 0 !important;
	background: none !important;
	border-radius: 0 !important;
	backdrop-filter: none !important;
	border-left: none !important;
	border-right: none !important;
	border-bottom: none !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 1rem !important;
}

.wc-side-cart-footer .woocommerce-mini-cart__total strong {
	color: #ffffff !important;
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	display: inline-block !important;
}

.wc-side-cart-footer .woocommerce-mini-cart__total .amount,
.wc-side-cart-footer .woocommerce-mini-cart__total .woocommerce-Price-amount {
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
	display: inline-block !important;
}

.wc-side-cart-footer .woocommerce-mini-cart__buttons {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.75rem !important;
	margin-top: 0 !important;
}

.wc-side-cart-footer .woocommerce-mini-cart__buttons a {
	padding: 0.875rem 1.5rem !important;
	border-radius: 0.5rem !important;
	font-weight: 600 !important;
	text-align: center !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
}

/* Esconder botão "View Cart" */
.wc-side-cart-footer .woocommerce-mini-cart__buttons .wc-forward {
	display: none !important;
}

/* Garantir que o botão de checkout esteja visível */
.wc-side-cart-footer .woocommerce-mini-cart__buttons .checkout,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a.checkout,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a:not(.wc-forward) {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	padding: 1rem 1.5rem !important;
	box-shadow: 
		0 4px 15px rgba(16, 185, 129, 0.4),
		0 2px 8px rgba(5, 150, 105, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
	position: relative !important;
	overflow: hidden !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

/* Ícone do botão checkout */
.wc-side-cart-footer .woocommerce-mini-cart__buttons .checkout i,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a.checkout i,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a:not(.wc-forward) i {
	font-size: 0.875rem !important;
}

.wc-side-cart-footer .woocommerce-mini-cart__buttons .checkout::before,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a.checkout::before,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a:not(.wc-forward)::before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: -100% !important;
	width: 100% !important;
	height: 100% !important;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
	transition: left 0.5s ease !important;
}

.wc-side-cart-footer .woocommerce-mini-cart__buttons .checkout:hover,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a.checkout:hover,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a:not(.wc-forward):hover {
	background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%) !important;
	transform: translateY(-3px) scale(1.02) !important;
	box-shadow: 
		0 8px 25px rgba(16, 185, 129, 0.6),
		0 4px 12px rgba(5, 150, 105, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 0 20px rgba(16, 185, 129, 0.4) !important;
}

.wc-side-cart-footer .woocommerce-mini-cart__buttons .checkout:hover::before,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a.checkout:hover::before,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a:not(.wc-forward):hover::before {
	left: 100% !important;
}

.wc-side-cart-footer .woocommerce-mini-cart__buttons .checkout:active,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a.checkout:active,
.wc-side-cart-footer .woocommerce-mini-cart__buttons a:not(.wc-forward):active {
	transform: translateY(-1px) scale(0.98) !important;
	box-shadow: 
		0 4px 15px rgba(16, 185, 129, 0.5),
		0 2px 8px rgba(5, 150, 105, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Total e Botões do Carrinho (fallback - serão movidos para o footer) */
.wc-side-cart-body .woocommerce-mini-cart__total {
	padding: 1.5rem;
	border-top: 2px solid rgba(99, 102, 241, 0.2);
	margin-top: 1rem;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
	border-radius: 1rem;
	backdrop-filter: blur(10px);
	border-left: 1px solid rgba(99, 102, 241, 0.2);
	border-right: 1px solid rgba(99, 102, 241, 0.2);
	border-bottom: 1px solid rgba(99, 102, 241, 0.2);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wc-side-cart-body .woocommerce-mini-cart__total strong {
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 700;
	display: inline-block;
}

.wc-side-cart-body .woocommerce-mini-cart__total .amount,
.wc-side-cart-body .woocommerce-mini-cart__total .woocommerce-Price-amount {
	font-size: 1.5rem;
	font-weight: 800;
	background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
}

.wc-side-cart-body .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1rem;
}

.wc-side-cart-body .woocommerce-mini-cart__buttons a {
	padding: 0.875rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease;
}

.wc-side-cart-body .woocommerce-mini-cart__buttons .wc-forward {
	background: transparent;
	color: #6366f1;
	border: 2px solid #6366f1;
}

.wc-side-cart-body .woocommerce-mini-cart__buttons .wc-forward:hover {
	background: rgba(99, 102, 241, 0.1);
	border-color: #8b5cf6;
	color: #8b5cf6;
	transform: translateY(-2px);
}

/* Botão Checkout - Verde e Atrativo */
.wc-side-cart-body .woocommerce-mini-cart__buttons .checkout,
.wc-side-cart-body .woocommerce-mini-cart__buttons a.checkout,
.wc-side-cart-body .woocommerce-mini-cart__buttons a:not(.wc-forward) {
	background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
	color: #ffffff;
	border: none;
	font-weight: 700;
	font-size: 1rem;
	padding: 1rem 1.5rem;
	box-shadow: 
		0 4px 15px rgba(16, 185, 129, 0.4),
		0 2px 8px rgba(5, 150, 105, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wc-side-cart-body .woocommerce-mini-cart__buttons .checkout::before,
.wc-side-cart-body .woocommerce-mini-cart__buttons a.checkout::before,
.wc-side-cart-body .woocommerce-mini-cart__buttons a:not(.wc-forward)::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.wc-side-cart-body .woocommerce-mini-cart__buttons .checkout:hover,
.wc-side-cart-body .woocommerce-mini-cart__buttons a.checkout:hover,
.wc-side-cart-body .woocommerce-mini-cart__buttons a:not(.wc-forward):hover {
	background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
	transform: translateY(-3px) scale(1.02);
	box-shadow: 
		0 8px 25px rgba(16, 185, 129, 0.6),
		0 4px 12px rgba(5, 150, 105, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 0 20px rgba(16, 185, 129, 0.4);
}

.wc-side-cart-body .woocommerce-mini-cart__buttons .checkout:hover::before,
.wc-side-cart-body .woocommerce-mini-cart__buttons a.checkout:hover::before,
.wc-side-cart-body .woocommerce-mini-cart__buttons a:not(.wc-forward):hover::before {
	left: 100%;
}

.wc-side-cart-body .woocommerce-mini-cart__buttons .checkout:active,
.wc-side-cart-body .woocommerce-mini-cart__buttons a.checkout:active,
.wc-side-cart-body .woocommerce-mini-cart__buttons a:not(.wc-forward):active {
	transform: translateY(-1px) scale(0.98);
	box-shadow: 
		0 4px 15px rgba(16, 185, 129, 0.5),
		0 2px 8px rgba(5, 150, 105, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Empty State do Carrinho */
.wc-side-cart-body .woocommerce-mini-cart__empty-message {
	text-align: center;
	color: #9ca3af;
	padding: 4rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 300px;
}

.wc-side-cart-body .woocommerce-mini-cart__empty-message::before {
	content: '\f07a';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 4rem;
	color: rgba(99, 102, 241, 0.3);
	margin-bottom: 1.5rem;
	display: block;
}

.wc-side-cart-body .woocommerce-mini-cart__empty-message p {
	font-size: 1.125rem;
	color: #ffffff;
	margin: 0;
	font-weight: 500;
	line-height: 1.6;
}

.wc-side-cart-body .woocommerce-mini-cart__empty-message p::after {
	content: 'Seu carrinho está vazio.';
	display: block;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #9ca3af;
	font-weight: 400;
}

/* Responsive - Mobile */
@media (max-width: 767px) {
	.wc-side-cart {
		max-width: 85%;
	}

	.wc-side-cart-content {
		max-width: 80%;
	}
	
	/* Ajustes nos itens do mini cart */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item {
		padding: 0.75rem;
	}
	
	/* Imagem menor no mobile */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item img {
		width: 60px;
		height: 60px;
	}
	
	/* Link do produto ajustado */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item > a:not(.remove) {
		width: 60px;
		height: 60px;
	}
	
	/* Container de conteúdo com menos margem */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-cart-item-content {
		margin-left: 0.75rem;
		gap: 0.5rem;
	}
	
	/* Nome do produto menor */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .vgomes-product-name {
		font-size: 0.875rem;
		line-height: 1.3;
	}
	
	/* Preço menor no mobile */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .amount,
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .woocommerce-Price-amount {
		font-size: 0.875rem;
		padding: 0.4rem 0.75rem;
	}
	
	/* Botão de remover menor */
	.wc-side-cart-body .widget_shopping_cart_content .mini_cart_item .remove {
		width: 28px;
		height: 28px;
		font-size: 0.875rem;
		top: 8px;
		right: 8px;
	}
	
	/* Header do cart menor */
	.wc-side-cart-header {
		padding: 1rem;
	}
	
	.wc-side-cart-title {
		font-size: 1.25rem;
	}
	
	/* Body com menos padding */
	.wc-side-cart-body {
		padding: 1rem;
	}
	
	/* Footer menor no mobile */
	.wc-side-cart-footer {
		padding: 1rem !important;
		padding-top: 0.75rem !important;
	}
	
	/* Total menor */
	.wc-side-cart-footer .woocommerce-mini-cart__total {
		margin-bottom: 0.75rem !important;
	}
	
	.wc-side-cart-footer .woocommerce-mini-cart__total strong {
		font-size: 1.125rem !important;
	}
	
	.wc-side-cart-footer .woocommerce-mini-cart__total .amount,
	.wc-side-cart-footer .woocommerce-mini-cart__total .woocommerce-Price-amount {
		font-size: 1.25rem !important;
	}
	
	/* Botões menores */
	.wc-side-cart-footer .woocommerce-mini-cart__buttons a {
		padding: 0.75rem 1.25rem !important;
		font-size: 0.875rem !important;
	}
}

/* Header */
.site-header {
    margin-top: 0 !important;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

#masthead.site-header {
    position: fixed !important;
    top: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    width: calc(100% - 2rem) !important;
    max-width: 1200px !important;
    margin: 0 !important;
}

.header-top-bar {
    margin-top: 0 !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.header-main {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.site-logo:hover {
    color: #0073aa;
}

/* Navegação */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

/* Submenu vertical no desktop */
.main-navigation .sub-menu,
.main-navigation .children {
    display: flex !important;
    flex-direction: column !important;
}

.main-navigation .sub-menu li,
.main-navigation .children li {
    width: 100% !important;
    display: block !important;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #0073aa;
}

/* Conteúdo Principal */
.site-main {
    padding: 2rem 0;
    min-height: 60vh;
}

/* Posts */
.post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #0073aa;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-content {
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sidebar */
.widget-area {
    margin-top: 2rem;
}

.widget {
    background: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0073aa;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.widget a:hover {
    color: #0073aa;
}

/* Busca */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.search-field {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.search-submit {
    padding: 0.5rem 1rem;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit:hover {
    background: #005177;
}

/* Links e Botões */
.read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #005177;
}

/* Post Tags */
.post-tags {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.post-tags a {
    display: inline-block;
    margin: 0.25rem 0.5rem 0.25rem 0;
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.post-tags a:hover {
    background: #0073aa;
    color: #fff;
}

/* Navegação de Posts */
.post-navigation {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.post-navigation a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s;
}

.post-navigation a:hover {
    color: #005177;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.nav-title {
    display: block;
    font-weight: bold;
}

/* Paginação */
.page-numbers {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.page-numbers a,
.page-numbers span {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.page-numbers .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.page-numbers a:hover {
    background: #f0f0f0;
}

/* Imagens */
.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Comentários */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 5px;
}

.comment-author {
    font-weight: bold;
}

.comment-meta {
    font-size: 0.9rem;
    color: #666;
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 3rem 0;
}

.error-404 .page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer Widgets */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

#footer-menu {
    margin: 1rem 0;
}

#footer-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#footer-menu a {
    color: #fff;
    text-decoration: none;
}

#footer-menu a:hover {
    text-decoration: underline;
}

.site-info {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.site-footer {
    margin-top: 0 !important;
}

.footer-main {
    margin-top: 0 !important;
}

.footer-bottom {
    margin-top: 0 !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-bottom {
        margin-bottom: 70px;
    }
    
    .py-8 {
        padding-bottom: 0 !important;
    }
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    #footer-menu ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

