/**
 * YTI&W Digital Store - Frontend Styles
 * * Design System: YTI&W v3.0 (Enterprise Polish)
 * Responsável pela estilização completa: Vitrine, Carrinho, Checkout, Minha Conta e Produto Único.
 * * @package YTIW_Digital_Store
 * @version 3.9.7
 */

:root {
	/* Paleta de Cores (Design System YTI&W) */
	--ytiw-ds-primary: #2271b1;
	--ytiw-ds-primary-hover: #135e96;
	--ytiw-ds-secondary: #f0f0f1;
	--ytiw-ds-text: #1d2327;
	--ytiw-ds-text-light: #646970;
	--ytiw-ds-border: #dcdcde;
	--ytiw-ds-success: #00a32a;
	--ytiw-ds-warning: #dba617;
	--ytiw-ds-error: #d63638;
	--ytiw-ds-white: #ffffff;
	--ytiw-ds-bg-soft: #f8f9fa;
	
	/* Espaçamento e Bordas */
	--ytiw-ds-radius: 6px;
	--ytiw-ds-shadow: 0 2px 5px rgba(0,0,0,0.05);
	--ytiw-ds-shadow-hover: 0 4px 12px rgba(0,0,0,0.1);
	--ytiw-ds-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   1. Componentes Globais & Utilitários
   ========================================= */

.ytiw-ds-wrapper {
	max-width: 100%;
	margin-bottom: 30px;
}

/* Botões Padronizados */
.ytiw-ds-button,
button.ytiw-place-order-btn,
a.ytiw-checkout-button,
.ytiw-ds-add-to-cart-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--ytiw-ds-primary);
	color: var(--ytiw-ds-white) !important;
	border: none;
	border-radius: var(--ytiw-ds-radius);
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: var(--ytiw-ds-transition);
	line-height: 1;
	box-shadow: var(--ytiw-ds-shadow);
}

.ytiw-ds-button:hover,
button.ytiw-place-order-btn:hover,
a.ytiw-checkout-button:hover,
.ytiw-ds-add-to-cart-button:hover {
	background-color: var(--ytiw-ds-primary-hover);
	color: var(--ytiw-ds-white) !important;
	transform: translateY(-1px);
	box-shadow: var(--ytiw-ds-shadow-hover);
}

/* --- NOVO: Botão Secundário (Continuar Comprando) --- */
.ytiw-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	color: var(--ytiw-ds-primary) !important;
	border: 2px solid var(--ytiw-ds-primary);
	border-radius: var(--ytiw-ds-radius);
	padding: 10px 22px; 
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: var(--ytiw-ds-transition);
	line-height: 1;
	margin-right: 15px;
}

.ytiw-btn-secondary:hover {
	background-color: var(--ytiw-ds-bg-soft);
	color: var(--ytiw-ds-primary-hover) !important;
	border-color: var(--ytiw-ds-primary-hover);
	transform: translateY(-1px);
	box-shadow: var(--ytiw-ds-shadow);
}

/* Ajuste para ícones dentro do botão secundário */
.ytiw-btn-secondary .dashicons {
	margin-right: 5px;
	font-size: 20px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
/* ---------------------------------------------------- */

.ytiw-ds-button.disabled,
.ytiw-ds-button:disabled,
button.ytiw-place-order-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Mensagens (Notices) */
.ytiw-message-box,
.ytiw-error,
.ytiw-ds-notice,
#ytiw-checkout-message {
	padding: 15px 20px;
	margin-bottom: 20px;
	border-radius: var(--ytiw-ds-radius);
	border-left: 4px solid transparent;
	font-size: 14px;
	line-height: 1.5;
	animation: ytiwFadeIn 0.4s ease;
}

.ytiw-message-box.success,
.ytiw-ds-notice.success {
	background-color: #f0fdf4;
	border-color: var(--ytiw-ds-success);
	color: #166534;
}

.ytiw-message-box.error,
.ytiw-ds-notice.error,
.ytiw-error,
#ytiw-checkout-message.error {
	background-color: #fef2f2;
	border-color: var(--ytiw-ds-error);
	color: #991b1b;
}

/* Loaders e Spinners */
.dashicons.spin {
	animation: ytiw-spin 1s infinite linear;
	display: inline-block;
}

@keyframes ytiw-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes ytiwFadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   2. Vitrine de Produtos ([ytiw_ds_products])
   ========================================= */

.ytiw-ds-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 25px;
	margin: 20px 0;
}

.ytiw-product-card {
	background: var(--ytiw-ds-white);
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	overflow: hidden;
	transition: var(--ytiw-ds-transition);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ytiw-product-card:hover {
	border-color: var(--ytiw-ds-primary);
	box-shadow: var(--ytiw-ds-shadow-hover);
}

.ytiw-product-image {
	position: relative;
	padding-top: 100%; /* Quadrado */
	background: var(--ytiw-ds-bg-soft);
	overflow: hidden;
}

.ytiw-product-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ytiw-product-card:hover .ytiw-product-image img {
	transform: scale(1.05);
}

.ytiw-product-info {
	padding: 15px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.ytiw-product-title {
	margin: 0 0 10px 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--ytiw-ds-text);
	line-height: 1.4;
}

.ytiw-product-meta {
	margin-bottom: 15px;
}

.ytiw-price {
	font-size: 18px;
	font-weight: 800;
	color: var(--ytiw-ds-primary);
}

.ytiw-product-actions {
	margin-top: auto;
}

.ytiw-product-actions .ytiw-ds-add-to-cart-button {
	width: 100%;
}

/* =========================================
   3. Carrinho ([ytiw_ds_cart])
   ========================================= */

.ytiw-ds-cart-wrapper {
	background: var(--ytiw-ds-white);
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	padding: 0;
	box-shadow: var(--ytiw-ds-shadow);
	overflow: hidden;
}

table.ytiw-ds-cart-table {
	width: 100%;
	border-collapse: collapse;
}

table.ytiw-ds-cart-table th,
table.ytiw-ds-cart-table td {
	padding: 15px 20px;
	text-align: left;
	border-bottom: 1px solid var(--ytiw-ds-border);
}

table.ytiw-ds-cart-table th {
	background-color: var(--ytiw-ds-bg-soft);
	font-weight: 700;
	color: var(--ytiw-ds-text-light);
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.5px;
}

.ytiw-cart-total-row {
	text-align: right;
	font-size: 18px;
	padding: 25px !important;
	border-bottom: none !important;
	background-color: var(--ytiw-ds-bg-soft);
}

.ytiw-cart-total-row strong {
	margin-right: 15px;
	color: var(--ytiw-ds-text-light);
}

.ytiw-cart-total-row span {
	color: var(--ytiw-ds-primary);
	font-weight: 800;
	font-size: 24px;
}

.ytiw-remove-item {
	color: var(--ytiw-ds-error);
	cursor: pointer;
	font-size: 18px;
	text-decoration: none;
	opacity: 0.7;
	transition: var(--ytiw-ds-transition);
	background: #fbeaea;
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: none;
}

.ytiw-remove-item:hover {
	opacity: 1;
	background: var(--ytiw-ds-error);
	color: #fff !important;
}

.ytiw-cart-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center; /* Alinha botões verticalmente */
	padding: 20px;
	border-top: 1px solid var(--ytiw-ds-border);
}

/* =========================================
   4. Checkout ([ytiw_ds_checkout])
   ========================================= */

.ytiw-ds-checkout-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

.ytiw-checkout-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: start;
}

.ytiw-checkout-column h3 {
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ytiw-ds-primary);
	font-size: 20px;
	color: var(--ytiw-ds-text);
}

/* Formulários */
.ytiw-form-group {
	margin-bottom: 20px;
}

.ytiw-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--ytiw-ds-text);
	font-size: 14px;
}

.ytiw-form-group input[type="text"],
.ytiw-form-group input[type="email"],
.ytiw-form-group input[type="tel"] {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	font-size: 15px;
	transition: var(--ytiw-ds-transition);
	background: var(--ytiw-ds-white);
}

.ytiw-form-group input:focus {
	border-color: var(--ytiw-ds-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}

.ytiw-form-group input.ytiw-invalid {
	border-color: var(--ytiw-ds-error);
	background-color: #fff8f8;
	animation: ytiwShake 0.4s;
}

@keyframes ytiwShake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

/* Resumo do Pedido no Checkout */
#ytiw-checkout-order-review {
	background: var(--ytiw-ds-bg-soft);
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	padding: 25px;
	margin-bottom: 30px;
	position: sticky;
	top: 20px;
}

#ytiw-checkout-order-review table {
	width: 100%;
	border-collapse: collapse;
}

#ytiw-checkout-order-review td {
	padding: 12px 0;
	border-bottom: 1px solid #e0e0e0;
	font-size: 14px;
}

#ytiw-checkout-order-review tr:last-child td {
	border-bottom: none;
	font-weight: 800;
	font-size: 20px;
	padding-top: 20px;
	color: var(--ytiw-ds-text);
}

/* Métodos de Pagamento (Accordion Estilizado) */
.ytiw-payment-methods {
	background: var(--ytiw-ds-white);
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	margin-bottom: 30px;
	overflow: hidden;
}

.ytiw-gateway-option {
	border-bottom: 1px solid var(--ytiw-ds-border);
}

.ytiw-gateway-option:last-child {
	border-bottom: none;
}

.ytiw-gateway-option label {
	display: flex;
	align-items: center;
	padding: 18px 20px;
	cursor: pointer;
	font-weight: 600;
	background: var(--ytiw-ds-white);
	transition: var(--ytiw-ds-transition);
	position: relative;
}

.ytiw-gateway-option label::before {
	content: '';
	width: 18px;
	height: 18px;
	border: 2px solid var(--ytiw-ds-border);
	border-radius: 50%;
	margin-right: 15px;
	transition: var(--ytiw-ds-transition);
}

.ytiw-gateway-option input[type="radio"]:checked + label::before {
	border-color: var(--ytiw-ds-primary);
	background: var(--ytiw-ds-primary);
	box-shadow: inset 0 0 0 3px #fff;
}

.ytiw-gateway-option input[type="radio"] {
	display: none;
}

.ytiw-gateway-option input[type="radio"]:checked + label {
	background: #f0f7ff;
	color: var(--ytiw-ds-primary);
}

.payment_box {
	padding: 20px;
	background: #fafafa;
	border-top: 1px solid var(--ytiw-ds-border);
	font-size: 13px;
	color: var(--ytiw-ds-text-light);
	line-height: 1.6;
}

button.ytiw-place-order-btn {
	width: 100%;
	padding: 18px;
	font-size: 18px;
	margin-top: 10px;
}

/* =========================================
   5. Página de Produto (Single Product)
   ========================================= */

.ytiw-product-single-wrapper {
	padding: 20px 0;
}

.ytiw-product-title-display {
	margin-bottom: 15px;
	font-size: 32px;
	font-weight: 800;
	color: var(--ytiw-ds-text);
	line-height: 1.2;
}

.ytiw-price-display-card {
	background: var(--ytiw-ds-bg-soft);
	border-left: 5px solid var(--ytiw-ds-primary);
	margin: 25px 0;
}

.ytiw-price-value {
	display: block;
	font-size: 36px;
	font-weight: 800;
	color: var(--ytiw-ds-primary);
}

.ytiw-media-section .ytiw-product-main-image {
	margin-bottom: 15px;
}

.ytiw-product-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.ytiw-thumb-item {
	transition: var(--ytiw-ds-transition);
	opacity: 0.8;
}

.ytiw-thumb-item:hover {
	opacity: 1;
	border-color: var(--ytiw-ds-primary);
}

.ytiw-purchase-box {
	background: #fff;
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	padding: 20px;
	box-shadow: var(--ytiw-ds-shadow);
}

/* =========================================
   6. Minha Conta ([ytiw_ds_my_account])
   ========================================= */

.ytiw-my-account-wrapper {
	background: var(--ytiw-ds-white);
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	overflow: hidden;
	box-shadow: var(--ytiw-ds-shadow);
}

/* Abas */
.ytiw-tabs {
	display: flex;
	background: var(--ytiw-ds-bg-soft);
	border-bottom: 1px solid var(--ytiw-ds-border);
}

.ytiw-tabs button {
	background: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 15px 25px;
	transition: var(--ytiw-ds-transition);
	font-size: 14px;
	font-weight: 700;
	color: var(--ytiw-ds-text-light);
	border-right: 1px solid var(--ytiw-ds-border);
}

.ytiw-tabs button:hover {
	background-color: #e9ecef;
}

.ytiw-tabs button.active {
	background-color: var(--ytiw-ds-white);
	color: var(--ytiw-ds-primary);
	border-bottom: 2px solid var(--ytiw-ds-primary);
}

.ytiw-tab-content {
	padding: 30px;
	animation: ytiwFadeIn 0.5s;
}

/* Tabela de Pedidos/Licenças */
table.ytiw-my-account-table {
	width: 100%;
	border-collapse: collapse;
}

table.ytiw-my-account-table th,
table.ytiw-my-account-table td {
	padding: 15px;
	border-bottom: 1px solid var(--ytiw-ds-secondary);
	text-align: left;
}

table.ytiw-my-account-table th {
	font-weight: 700;
	color: var(--ytiw-ds-text-light);
	font-size: 11px;
	text-transform: uppercase;
	background: var(--ytiw-ds-bg-soft);
}

.button-small {
	padding: 8px 12px;
	font-size: 12px;
	background: var(--ytiw-ds-secondary);
	color: var(--ytiw-ds-text);
	text-decoration: none;
	border-radius: var(--ytiw-ds-radius);
	font-weight: 600;
	transition: var(--ytiw-ds-transition);
}

.button-small:hover {
	background: var(--ytiw-ds-border);
}

/* =========================================
   7. Pedido Recebido ([ytiw_ds_order_received])
   ========================================= */

.ytiw-order-received-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.ytiw-order-received-wrapper .ytiw-message-box.success {
	text-align: center;
	padding: 40px 20px;
	border: 1px solid var(--ytiw-ds-success);
}

ul.ytiw-order-overview {
	list-style: none;
	padding: 0;
	margin: 30px 0;
	display: flex;
	justify-content: space-between;
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	background: #fff;
}

ul.ytiw-order-overview li {
	flex: 1;
	padding: 20px;
	text-align: center;
	border-right: 1px solid var(--ytiw-ds-border);
}

ul.ytiw-order-overview li:last-child {
	border-right: none;
}

ul.ytiw-order-overview li strong {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: var(--ytiw-ds-text-light);
	margin-bottom: 8px;
}

.ytiw-downloads-box {
	background: #fff;
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	padding: 25px;
	margin-top: 30px;
}

ul.ytiw-order-downloads {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.ytiw-order-downloads li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px dashed #eee;
}

ul.ytiw-order-downloads li:last-child {
	border-bottom: none;
}

.badge {
	background: var(--ytiw-ds-primary);
	color: #fff;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
}

/* =========================================
   9. Produtos Relacionados (FLEXBOX FALLBACK)
   ========================================= */

.ytiw-related-products-section {
	border-top: 1px solid var(--ytiw-ds-border);
	padding-top: 40px;
	margin-top: 60px;
	clear: both;
}

.ytiw-related-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--ytiw-ds-text);
	margin-bottom: 25px;
}

/* CORREÇÃO NUCLEAR V3.9.7: Flexbox Matemático com Segurança de Arredondamento */
.ytiw-related-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-left: -10px !important; /* Margem negativa para compensar padding */
	margin-right: -10px !important;
	width: auto !important;
	box-sizing: border-box !important;
}

.ytiw-related-card {
	/* Força matemática de 3 colunas com margem de segurança */
	width: 33.33% !important; 
	flex: 0 0 33.33% !important;
	max-width: 33.33% !important;
	
	padding: 0 10px !important; /* Espaçamento interno */
	margin: 0 0 20px 0 !important; /* ZERA MARGENS LATERAIS */
	
	box-sizing: border-box !important;
	
	/* Reset visual */
	background: transparent;
	border: none;
	display: flex;
	flex-direction: column;
}

/* Container interno para bordas/sombras (para não quebrar o layout flex) */
.ytiw-related-card > div, /* Caso estrutura antiga */
.ytiw-related-thumb, 
.ytiw-related-info {
	/* Garante que o conteúdo respeite a largura do card */
	width: 100%;
}

/* Estilo do Cartão Visual (Aplicado na thumbnail para consistência) */
.ytiw-related-card .ytiw-related-thumb {
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	overflow: hidden;
	background: var(--ytiw-ds-white);
	transition: var(--ytiw-ds-transition);
	aspect-ratio: 1 / 1 !important;
	position: relative;
}

.ytiw-related-card:hover .ytiw-related-thumb {
	border-color: var(--ytiw-ds-primary);
	box-shadow: var(--ytiw-ds-shadow-hover);
	transform: translateY(-4px);
}

.ytiw-related-thumb a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.ytiw-related-thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.ytiw-related-info {
	padding: 10px 0 0 0;
	text-align: left;
}

.ytiw-related-info h4 {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ytiw-ds-text);
	line-height: 1.3;
}

.ytiw-related-info h4 a {
	text-decoration: none;
	color: inherit;
}

.ytiw-related-price {
	font-weight: 700;
	color: var(--ytiw-ds-primary);
	font-size: 15px;
}

/* =========================================
   11. Sidebar de Loja (Faceted Search)
   ========================================= */

.ytiw-ds-store-container {
	display: grid;
	grid-template-columns: 260px 1fr; /* Sidebar Fixa, Conteúdo Flex */
	gap: 40px;
	align-items: start;
	margin-bottom: 40px;
}

/* Container da Sidebar */
.ytiw-ds-store-sidebar {
	background: var(--ytiw-ds-white);
	border: 1px solid var(--ytiw-ds-border);
	border-radius: var(--ytiw-ds-radius);
	padding: 20px;
	box-shadow: var(--ytiw-ds-shadow);
	position: sticky; /* Mantém a sidebar visível ao rolar */
	top: 20px;
}

.ytiw-sidebar-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--ytiw-ds-text);
	border-bottom: 2px solid var(--ytiw-ds-primary);
	padding-bottom: 10px;
	margin-top: 0;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Lista de Categorias */
ul.ytiw-category-filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.ytiw-category-filter-list li {
	margin-bottom: 8px;
}

ul.ytiw-category-filter-list li:last-child {
	margin-bottom: 0;
}

ul.ytiw-category-filter-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	color: var(--ytiw-ds-text-light);
	font-size: 14px;
	padding: 8px 12px;
	border-radius: 4px;
	transition: var(--ytiw-ds-transition);
	background: transparent;
}

ul.ytiw-category-filter-list a:hover {
	background: var(--ytiw-ds-bg-soft);
	color: var(--ytiw-ds-primary);
	padding-left: 15px; /* Efeito de deslize sutil */
}

ul.ytiw-category-filter-list a.active {
	background: var(--ytiw-ds-primary);
	color: #fff;
	font-weight: 600;
}

ul.ytiw-category-filter-list a.active .count {
	color: rgba(255, 255, 255, 0.8);
}

ul.ytiw-category-filter-list .count {
	font-size: 11px;
	background: #eee;
	padding: 2px 6px;
	border-radius: 10px;
	color: #999;
}

ul.ytiw-category-filter-list a.active .count {
	background: rgba(0,0,0,0.2);
}

.ytiw-no-cats {
	color: #999;
	font-size: 13px;
	font-style: italic;
}

/* =========================================
   10. Responsividade
   ========================================= */

@media (max-width: 960px) {
	.ytiw-checkout-grid {
		grid-template-columns: 1fr;
	}
	
	#ytiw-checkout-order-review {
		position: static;
	}
}

@media (max-width: 768px) {
	/* Transforma a Loja (Sidebar + Grid) em Coluna Única */
	.ytiw-ds-store-container {
		grid-template-columns: 1fr; /* Empilha tudo */
		gap: 20px;
	}

	.ytiw-ds-store-sidebar {
		position: static; /* Remove sticky no mobile */
		margin-bottom: 10px;
	}

	/* CORREÇÃO MOBILE V3.9.7: Força 1 Coluna em Mobile para Relacionados */
	.ytiw-related-grid {
		/* Grid fallback removido, usando flex */
	}
	
	.ytiw-related-card {
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	ul.ytiw-order-overview {
		flex-direction: column;
	}

	ul.ytiw-order-overview li {
		border-right: none;
		border-bottom: 1px solid var(--ytiw-ds-border);
	}

	.ytiw-cart-actions {
		flex-direction: column;
	}
	
	.ytiw-cart-actions .ytiw-btn-secondary {
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}

	.ytiw-cart-actions .ytiw-checkout-button {
		width: 100%;
		margin-top: 0; /* Ajuste para o flex-direction column */
	}
	
	table.ytiw-ds-cart-table thead,
	table.ytiw-my-account-table thead {
		display: none;
	}

	table.ytiw-ds-cart-table tr,
	table.ytiw-my-account-table tr {
		display: block;
		margin-bottom: 15px;
		border: 1px solid var(--ytiw-ds-border);
		padding: 15px;
		border-radius: var(--ytiw-ds-radius);
		background: #fff;
	}

	table.ytiw-ds-cart-table td,
	table.ytiw-my-account-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px 0;
		border-bottom: 1px solid #f0f0f0;
		font-size: 14px;
	}

	table.ytiw-ds-cart-table td:last-child,
	table.ytiw-my-account-table td:last-child {
		border-bottom: none;
	}
	
	table.ytiw-ds-cart-table td::before,
	table.ytiw-my-account-table td::before {
		content: attr(data-label);
		font-weight: 700;
		margin-right: 15px;
		text-transform: uppercase;
		font-size: 11px;
		color: var(--ytiw-ds-text-light);
	}
}