/**
 * ==========================================
 * GSTORE MY ACCOUNT PAGE STYLES
 * ==========================================
 * Estilos específicos para a página "Minha Conta" do WooCommerce
 */

/* ========================================
   PÁGINA MINHA CONTA - FUNDO CLARO
   ======================================== */

/* Garante que a página de minha conta tenha fundo claro */
body.woocommerce-account {
	background-color: var(--gstore-color-bg-base, #f5f5f2);
}

/* Main section com fundo claro e separado do header/footer */
body.woocommerce-account main.wp-block-group.is-layout-constrained,
body.woocommerce-account main#wp--skip-link--target.wp-block-group.is-layout-constrained,
body.woocommerce-account main.wp-block-group.wp-block-group-is-layout-constrained,
body.woocommerce-account main#wp--skip-link--target.wp-block-group.wp-block-group-is-layout-constrained {
	background-color: var(--gstore-color-bg-base, #f5f5f2);
	min-height: 60vh;
	max-width: 100%;
	width: 100%;
	padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 48px);
}

/* Garantir que o elemento main.gstore-myaccount__content tenha fundo claro */
main.gstore-myaccount__content {
	background-color: var(--gstore-color-bg-base, #f5f5f2) !important;
	background: var(--gstore-color-bg-base, #f5f5f2) !important;
}

body.woocommerce-account main.wp-block-group.is-layout-constrained>*,
body.woocommerce-account main#wp--skip-link--target.wp-block-group.is-layout-constrained>*,
body.woocommerce-account main.wp-block-group.wp-block-group-is-layout-constrained>*,
body.woocommerce-account main#wp--skip-link--target.wp-block-group.wp-block-group-is-layout-constrained>* {
	max-width: 100%;
}

body.woocommerce-account .wp-block-group.alignwide,
body.woocommerce-account .wp-block-group.alignfull {
	max-width: 100%;
	width: 100%;
}

/* Garante que o header e footer permaneçam separados */
body.woocommerce-account header,
body.woocommerce-account .Gstore-header,
body.woocommerce-account .Gstore-header-shell {
	position: relative;
	z-index: 10;
}

body.woocommerce-account footer,
body.woocommerce-account .armastore-footer {
	background-color: var(--gstore-color-bg-footer, #1a1a1a);
	position: relative;
	z-index: 10;
}

/* ========================================
   LAYOUT PRINCIPAL - MINHA CONTA
   ======================================== */

.gstore-myaccount {
	--gstore-container-max-width: 1280px;
	--gstore-color-accent-tint: var(--gstore-color-accent-12);
	--gstore-color-accent-tint-strong: var(--gstore-color-accent-20);
	--gstore-radius-base: 4px;
	--gstore-radius-md: 4px;
	--gstore-radius-lg: 4px;
	--gstore-radius-xl: 4px;
	max-width: var(--gstore-container-max-width, 1280px);
	width: min(100%, var(--gstore-container-max-width, 1280px));
	margin: 0 auto;
	background-color: var(--gstore-color-bg-base, #f5f5f2);
	border-radius: var(--gstore-radius-lg, 4px);
	padding: clamp(32px, 5vw, 64px) 0;
}

.gstore-myaccount__layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: clamp(24px, 3vw, 48px);
	align-items: start;
	background-color: var(--gstore-color-bg-base, #f5f5f2);
}

.gstore-myaccount__sidebar {
	position: sticky;
	top: 24px;
}

.gstore-myaccount__content {
	min-width: 0;
	background-color: var(--gstore-color-bg-base, #f5f5f2) !important;
	background: var(--gstore-color-bg-base, #f5f5f2) !important;
}

/* Estilos para parágrafos dentro de gstore-myaccount__content */
.gstore-myaccount__content p {
	background-color: var(--gstore-color-bg-base, #f5f5f2);
	background: var(--gstore-color-bg-base, #f5f5f2);
	color: var(--gstore-color-text-primary, #1a1a1a);
}

/* ========================================
   NAVEGAÇÃO LATERAL
   ======================================== */

.gstore-myaccount-nav {
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	overflow: hidden;
	box-shadow: var(--gstore-shadow-sm);
}

/* User Card */
.gstore-myaccount-nav__user {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px;
	background: var(--gstore-color-bg-light, #ffffff);
	border-bottom: 1px solid var(--gstore-color-border, #e6e6e6);
}

.gstore-myaccount-nav__avatar {
	flex-shrink: 0;
}

.gstore-myaccount-nav__avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid var(--gstore-color-accent, #ff5c00);
	object-fit: cover;
}

.gstore-myaccount-nav__user-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.gstore-myaccount-nav__user-name {
	font-size: var(--gstore-font-size-base, 1rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	color: var(--gstore-color-text-primary, #1a1a1a);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gstore-myaccount-nav__user-email {
	font-size: var(--gstore-font-size-xs, 0.75rem);
	color: var(--gstore-color-text-secondary, #6b6b6b);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Navigation List */
.gstore-myaccount-nav__list {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.gstore-myaccount-nav__item {
	margin: 0;
}

.gstore-myaccount-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	color: var(--gstore-color-text-primary, #1a1a1a);
	text-decoration: none;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	font-weight: var(--gstore-font-weight-medium, 500);
	transition: all var(--gstore-transition-fast, 150ms ease-in-out);
	border-left: 3px solid transparent;
}

.gstore-myaccount-nav__link:hover {
	background-color: var(--gstore-color-bg-muted, #f0f2f5);
	color: var(--gstore-color-accent, #ff5c00);
}

.gstore-myaccount-nav__item.is-active .gstore-myaccount-nav__link {
	background-color: var(--gstore-color-accent-tint, var(--gstore-color-accent-12));
	color: var(--gstore-color-accent, #ff5c00);
	border-left-color: var(--gstore-color-accent, #ff5c00);
	font-weight: var(--gstore-font-weight-semibold, 600);
}

.gstore-myaccount-nav__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: var(--gstore-color-text-secondary, #6b6b6b);
	flex-shrink: 0;
}

.gstore-myaccount-nav__item.is-active .gstore-myaccount-nav__icon,
.gstore-myaccount-nav__link:hover .gstore-myaccount-nav__icon {
	color: var(--gstore-color-accent, #ff5c00);
}

.gstore-myaccount-nav__label {
	flex: 1;
}

.gstore-myaccount-nav__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background-color: var(--gstore-color-accent, #ff5c00);
	color: #fff;
	font-size: var(--gstore-font-size-xs);
	font-weight: var(--gstore-font-weight-bold, 700);
	border-radius: var(--gstore-radius-full, 9999px);
}

/* Logout special styling */
.gstore-myaccount-nav__item:last-child .gstore-myaccount-nav__link {
	color: var(--gstore-color-text-secondary, #6b6b6b);
	border-top: 1px solid var(--gstore-color-border, #e6e6e6);
	margin-top: 8px;
	padding-top: 16px;
}

.gstore-myaccount-nav__item:last-child .gstore-myaccount-nav__link:hover {
	color: var(--gstore-color-error, #ff4757);
	background-color: rgba(255, 71, 87, 0.08);
}

.gstore-myaccount-nav__item:last-child .gstore-myaccount-nav__link:hover .gstore-myaccount-nav__icon {
	color: var(--gstore-color-error, #ff4757);
}

/* ========================================
   DASHBOARD CONTENT
   ======================================== */

.gstore-dashboard {
	display: flex;
	flex-direction: column;
	gap: clamp(24px, 3vw, 40px);
	background-color: var(--gstore-color-bg-base, #f5f5f2);
}

/* Welcome Section */
.gstore-dashboard__welcome {
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: clamp(24px, 3vw, 32px);
	box-shadow: var(--gstore-shadow-sm);
}

.gstore-dashboard__title {
	font-size: clamp(var(--gstore-font-size-2xl), calc(1vw + 1rem), var(--gstore-font-size-175));
	font-weight: var(--gstore-font-weight-bold, 700);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin: 0 0 8px 0;
	line-height: var(--gstore-line-height-tight, 1.25);
}

.gstore-dashboard__name {
	color: var(--gstore-color-accent, #ff5c00);
}

.gstore-dashboard__subtitle {
	font-size: var(--gstore-font-size-base, 1rem);
	color: var(--gstore-color-text-secondary, #6b6b6b);
	margin: 0;
	line-height: var(--gstore-line-height-relaxed, 1.6);
}

/* Stats Cards */
.gstore-dashboard__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.gstore-dashboard__stat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: 20px;
	box-shadow: var(--gstore-shadow-sm);
}

.gstore-dashboard__stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--gstore-color-accent-tint, var(--gstore-color-accent-12));
	border-radius: var(--gstore-radius-md, 6px);
	color: var(--gstore-color-accent, #ff5c00);
	flex-shrink: 0;
}

.gstore-dashboard__stat-icon--accent {
	background: var(--gstore-color-accent-15);
	color: var(--gstore-color-accent, #ff5c00);
}

.gstore-dashboard__stat-icon--success {
	background: var(--gstore-color-accent-tint-strong, var(--gstore-color-accent-20));
	color: var(--gstore-color-accent-dark, #bf4500);
}

.gstore-dashboard__stat-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.gstore-dashboard__stat-value {
	font-size: var(--gstore-font-size-xl, 1.25rem);
	font-weight: var(--gstore-font-weight-bold, 700);
	color: var(--gstore-color-text-primary, #1a1a1a);
	line-height: 1.2;
}

.gstore-dashboard__stat-value .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
}

.gstore-dashboard__stat-label {
	font-size: var(--gstore-font-size-xs, 0.75rem);
	color: var(--gstore-color-text-secondary, #6b6b6b);
	text-transform: uppercase;
	letter-spacing: var(--gstore-letter-spacing-wide, 0.05em);
}

/* Section */
.gstore-dashboard__section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gstore-dashboard__section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.gstore-dashboard__section-title {
	font-size: var(--gstore-font-size-lg, 1.125rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin: 0;
}

.gstore-dashboard__view-all {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	color: var(--gstore-color-accent, #ff5c00);
	text-decoration: none;
	font-weight: var(--gstore-font-weight-medium, 500);
	transition: color var(--gstore-transition-fast);
}

.gstore-dashboard__view-all:hover {
	color: var(--gstore-color-accent-hover, #e05000);
}

/* Action Cards */
.gstore-dashboard__actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}

.gstore-dashboard__action-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: 20px;
	text-decoration: none;
	transition: all var(--gstore-transition-base, 250ms ease-in-out);
	box-shadow: var(--gstore-shadow-sm);
}

.gstore-dashboard__action-card:hover {
	border-color: var(--gstore-color-accent, #ff5c00);
	box-shadow: var(--gstore-shadow-md);
	transform: translateY(-2px);
}

.gstore-dashboard__action-card--highlight {
	background: linear-gradient(135deg, var(--gstore-color-accent, #ff5c00), var(--gstore-color-accent-hover, #e05000));
	border-color: transparent;
}

.gstore-dashboard__action-card--highlight:hover {
	border-color: transparent;
}

.gstore-dashboard__action-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--gstore-color-accent-tint, var(--gstore-color-accent-12));
	border-radius: var(--gstore-radius-md, 6px);
	color: var(--gstore-color-accent, #ff5c00);
	flex-shrink: 0;
}

.gstore-dashboard__action-card--highlight .gstore-dashboard__action-icon {
	background: var(--gstore-color-white-20);
	color: #fff;
}

.gstore-dashboard__action-content {
	flex: 1;
	min-width: 0;
}

.gstore-dashboard__action-title {
	display: block;
	font-size: var(--gstore-font-size-base, 1rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin-bottom: 2px;
}

.gstore-dashboard__action-card--highlight .gstore-dashboard__action-title {
	color: #fff;
}

.gstore-dashboard__action-desc {
	font-size: var(--gstore-font-size-sm, 0.875rem);
	color: var(--gstore-color-text-secondary, #6b6b6b);
}

.gstore-dashboard__action-card--highlight .gstore-dashboard__action-desc {
	color: var(--gstore-color-white-80);
}

.gstore-dashboard__action-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gstore-color-text-muted, #7a7a7a);
	transition: transform var(--gstore-transition-fast);
}

.gstore-dashboard__action-card:hover .gstore-dashboard__action-arrow {
	transform: translateX(4px);
}

.gstore-dashboard__action-card--highlight .gstore-dashboard__action-arrow {
	color: var(--gstore-color-white-80);
}

/* Order Cards */
.gstore-dashboard__orders {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gstore-dashboard__order-card {
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: 16px 20px;
	box-shadow: var(--gstore-shadow-sm);
}

.gstore-dashboard__order-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.gstore-dashboard__order-number {
	font-size: var(--gstore-font-size-base, 1rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	color: var(--gstore-color-text-primary, #1a1a1a);
}

.gstore-dashboard__order-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	font-size: var(--gstore-font-size-xs, 0.75rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	text-transform: uppercase;
	letter-spacing: var(--gstore-letter-spacing-wide, 0.05em);
	border-radius: var(--gstore-radius-full, 9999px);
	background: var(--gstore-color-bg-muted, #f0f2f5);
	color: var(--gstore-color-text-secondary, #6b6b6b);
}

.gstore-dashboard__order-status--pending {
	background: var(--gstore-color-accent-15);
	color: var(--gstore-color-warning, #b5a642);
}

.gstore-dashboard__order-status--processing {
	background: var(--gstore-color-info-bg);
	color: var(--gstore-color-info-text);
}

.gstore-dashboard__order-status--on-hold {
	background: var(--gstore-color-accent-10);
	color: var(--gstore-color-accent);
}

.gstore-dashboard__order-status--completed {
	background: var(--gstore-color-success-bg);
	color: var(--gstore-color-success, #2e9b3b);
}

.gstore-dashboard__order-status--cancelled,
.gstore-dashboard__order-status--failed {
	background: var(--gstore-color-error-10);
	color: var(--gstore-color-error, #ff4757);
}

.gstore-dashboard__order-details {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--gstore-color-border, #e6e6e6);
	margin-bottom: 12px;
}

.gstore-dashboard__order-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	color: var(--gstore-color-text-secondary, #6b6b6b);
}

.gstore-dashboard__order-total {
	font-size: var(--gstore-font-size-base, 1rem);
	font-weight: var(--gstore-font-weight-bold, 700);
	color: var(--gstore-color-text-primary, #1a1a1a);
}

.gstore-dashboard__order-actions {
	display: flex;
	justify-content: flex-end;
}

.gstore-dashboard__order-link {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	font-weight: var(--gstore-font-weight-medium, 500);
	color: var(--gstore-color-accent, #ff5c00);
	text-decoration: none;
	border: 1px solid var(--gstore-color-accent, #ff5c00);
	border-radius: var(--gstore-radius-base, 4px);
	transition: all var(--gstore-transition-fast);
}

.gstore-dashboard__order-link:hover {
	background: var(--gstore-color-accent, #ff5c00);
	color: #fff;
}

/* ========================================
   CONTENT AREA GENERAL STYLES
   ======================================== */

.gstore-myaccount__content .woocommerce-MyAccount-content {
	background: var(--gstore-color-bg-base, #f5f5f2) !important;
	background-color: var(--gstore-color-bg-base, #f5f5f2) !important;
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: clamp(24px, 3vw, 32px);
	box-shadow: var(--gstore-shadow-sm);
}

/* Garantir que todos os parágrafos em todas as seções tenham fundo claro */
.gstore-myaccount__content .woocommerce-MyAccount-content p,
.gstore-myaccount__content .woocommerce-MyAccount-downloads p,
.gstore-myaccount__content .woocommerce-orders-table p,
.gstore-myaccount__content .woocommerce-order p,
.gstore-myaccount__content .woocommerce-MyAccount-content > p,
.gstore-myaccount__content .woocommerce-MyAccount-content div > p,
.gstore-myaccount__content .woocommerce-orders p {
	background-color: var(--gstore-color-bg-base, #f5f5f2) !important;
	background: var(--gstore-color-bg-base, #f5f5f2) !important;
	color: var(--gstore-color-text-primary, #1a1a1a) !important;
}

/* Hide default WooCommerce navigation */
.gstore-myaccount__content .woocommerce-MyAccount-navigation {
	display: none;
}

/* Notices styles are now handled by components/notices.css */

/* Tables */
.gstore-myaccount__content table.woocommerce-orders-table,
.gstore-myaccount__content table.woocommerce-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.gstore-myaccount__content table.woocommerce-orders-table th,
.gstore-myaccount__content table.woocommerce-table th {
	background: var(--gstore-color-bg-muted, #f0f2f5);
	padding: 12px 16px;
	font-size: var(--gstore-font-size-xs, 0.75rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	text-transform: uppercase;
	letter-spacing: var(--gstore-letter-spacing-wide, 0.05em);
	color: var(--gstore-color-text-secondary, #6b6b6b);
	text-align: left;
	border-bottom: 1px solid var(--gstore-color-border, #e6e6e6);
}

.gstore-myaccount__content table.woocommerce-orders-table td,
.gstore-myaccount__content table.woocommerce-table td {
	padding: 16px;
	border-bottom: 1px solid var(--gstore-color-border, #e6e6e6);
	font-size: var(--gstore-font-size-sm, 0.875rem);
	color: var(--gstore-color-text-primary, #1a1a1a);
}

.gstore-myaccount__content td.woocommerce-orders-table__cell {
	background-color: rgba(255, 255, 255, 1);
}

.gstore-myaccount__content table.woocommerce-orders-table tr:last-child td,
.gstore-myaccount__content table.woocommerce-table tr:last-child td {
	border-bottom: none;
}

/* Pagination */
.gstore-myaccount__content .woocommerce-pagination {
	display: flex;
	justify-content: center;
	margin-top: 24px;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.gstore-myaccount__content .woocommerce-pagination ul {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
}

.gstore-myaccount__content .woocommerce-pagination li {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	display: block !important;
}

.gstore-myaccount__content .woocommerce-pagination a,
.gstore-myaccount__content .woocommerce-pagination span {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 32px !important;
	height: 40px !important;
	padding: 0 8px !important;
	border: 1px solid #d3ced2 !important;
	border-radius: 4px !important;
	color: #1a1a1a !important;
	text-decoration: none !important;
	background: #fff !important;
	box-sizing: border-box !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	margin: 0 !important;
}

.gstore-myaccount__content .woocommerce-pagination a:hover {
	background: #f0f2f5 !important;
	border-color: #1a1a1a !important;
}

.gstore-myaccount__content .woocommerce-pagination .current {
	background: #f0f2f5 !important;
	border-color: #1a1a1a !important;
	color: #1a1a1a !important;
}

.gstore-myaccount__content .woocommerce-pagination .dots {
	border: none !important;
	background: transparent !important;
	min-width: 20px !important;
}

/* Buttons */
.gstore-myaccount__content .woocommerce-button,
.gstore-myaccount__content .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	color: #fff;
	background: var(--gstore-color-accent, #ff5c00);
	border: none;
	border-radius: var(--gstore-radius-base, 4px);
	cursor: pointer;
	text-decoration: none;
	transition: all var(--gstore-transition-fast);
}

.gstore-myaccount__content .woocommerce-button:hover,
.gstore-myaccount__content .button:hover {
	background: var(--gstore-color-accent-hover, #e05000);
	transform: translateY(-1px);
}

/* Botão "Pagar" na página de visualização de pedidos (Order Again) */
.gstore-myaccount__content .woocommerce-orders-table .woocommerce-button.order-again,
.gstore-myaccount__content .woocommerce-order-details .woocommerce-button.order-again {
	background: var(--gstore-color-accent, #ff5c00);
	color: #fff;
	border: 1px solid var(--gstore-color-accent, #ff5c00);
}

.gstore-myaccount__content .woocommerce-orders-table .woocommerce-button.order-again:hover,
.gstore-myaccount__content .woocommerce-order-details .woocommerce-button.order-again:hover {
	background: var(--gstore-color-accent-hover, #e05000);
	border-color: var(--gstore-color-accent-hover, #e05000);
}

/* Forms */
.gstore-myaccount__content .woocommerce-EditAccountForm,
.gstore-myaccount__content .woocommerce-address-fields {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gstore-myaccount__content .woocommerce-EditAccountForm.edit-account {
	background-color: var(--gstore-color-bg-base, #f5f5f2) !important;
	background: var(--gstore-color-bg-base, #f5f5f2) !important;
	gap: 0px;
	width: 100%;
}

.gstore-myaccount__content .woocommerce-EditAccountForm {
	background-color: var(--gstore-color-bg-base, #f5f5f2) !important;
	background: var(--gstore-color-bg-base, #f5f5f2) !important;
	gap: 0px;
	width: 100%;
}

.gstore-myaccount__content .form-row {
	margin: 0;
}

.gstore-myaccount__content .woocommerce-EditAccountForm .form-row--first.form-row-first {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex-wrap: wrap;
}

.gstore-myaccount__content .woocommerce-EditAccountForm .form-row--last.form-row-last {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.gstore-myaccount__content .woocommerce-EditAccountForm .form-row--wide.form-row-wide {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.gstore-myaccount__content .woocommerce-EditAccountForm .woocommerce-form-row {
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* Garantir que todos os woocommerce-form-row tenham flex-direction column */
.gstore-myaccount__content p.woocommerce-form-row {
	flex-direction: column;
}

.gstore-myaccount__content .woocommerce-EditAccountForm fieldset {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 0px;
	width: 100%;
	padding: 32px;
	margin: 20px 0;
}

.gstore-myaccount__content .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	font-weight: var(--gstore-font-weight-medium, 500);
	color: var(--gstore-color-text-primary, #1a1a1a);
}

.gstore-myaccount__content .woocommerce-EditAccountForm .form-row--first.form-row-first label {
	display: flex;
}

/* Labels dentro de form-row devem usar flex */
.gstore-myaccount__content .woocommerce-EditAccountForm .woocommerce-form-row label,
.gstore-myaccount__content .form-row--last.form-row-last label {
	display: flex;
}

.gstore-myaccount__content .form-row .input-text,
.gstore-myaccount__content .form-row select {
	width: 100%;
	padding: 12px 14px;
	font-size: var(--gstore-font-size-base, 1rem);
	color: var(--gstore-color-text-primary, #1a1a1a);
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-base, 4px);
	transition: border-color var(--gstore-transition-fast);
}

.gstore-myaccount__content .form-row .input-text:focus,
.gstore-myaccount__content .form-row select:focus {
	border-color: var(--gstore-color-accent, #ff5c00);
	outline: none;
}

/* Newsletter checkbox */
.gstore-myaccount__content input[id="_wc_other/hostinger-reach/newsletter-optin"],
.gstore-myaccount__content input#_wc_other\/hostinger-reach\/newsletter-optin {
	background-color: unset;
	background: unset;
}

/* Address Cards */
.gstore-myaccount__content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.gstore-myaccount__content div.u-columns.woocommerce-Addresses {
	background-color: var(--gstore-color-bg-base, #f5f5f2);
}

.gstore-myaccount__content .woocommerce-Address {
	background: var(--gstore-color-bg-muted, #f0f2f5);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: 20px;
}

.gstore-myaccount__content .woocommerce-Address-title {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	margin-bottom: 0px;
	padding-bottom: 0px;
	border-bottom: 1px solid var(--gstore-color-border, #e6e6e6);
	gap: 8px;
}

.gstore-myaccount__content .woocommerce-Address-title h3 {
	font-size: var(--gstore-font-size-base, 1rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	margin: 0;
}

.gstore-myaccount__content .woocommerce-Address address {
	font-style: normal;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	color: var(--gstore-color-text-secondary, #6b6b6b);
	line-height: var(--gstore-line-height-relaxed, 1.6);
}

/* ========================================
   PÁGINA DE ENDEREÇOS - AJUSTES DE LAYOUT
   ======================================== */

/* Mensagem informativa no topo */
.gstore-myaccount__content .woocommerce-Addresses>p {
	margin: 0 0 24px 0;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	color: var(--gstore-color-text-primary, #1a1a1a);
	line-height: var(--gstore-line-height-relaxed, 1.6);
	background-color: var(--gstore-color-bg-base, #f5f5f2);
	background: var(--gstore-color-bg-base, #f5f5f2);
}

/* Container de endereços - melhor uso do espaço */
.gstore-myaccount__content .woocommerce-Addresses {
	margin-top: 0;
	margin-bottom: 0;
	max-width: 100%;
}

/* Cards de endereço - espaçamento otimizado */
.gstore-myaccount__content .woocommerce-Address {
	padding: 24px;
	margin-bottom: 0;
}

/* Título do endereço - evitar quebra de linha */
.gstore-myaccount__content .woocommerce-Address-title {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
	/* Alinha título à esquerda e botão à direita */
	gap: 8px;
	/* Espaço entre título e botão */
	margin-bottom: 0px;
	padding-bottom: 0px;
	border-bottom: 1px solid var(--gstore-color-border, #e6e6e6);
	width: 100%;
	vertical-align: top;
	text-align: left;
	box-sizing: content-box;
}

.gstore-myaccount__content .woocommerce-Address-title h3,
.gstore-myaccount__content .woocommerce-Address-title h2 {
	white-space: normal;
	font-size: var(--gstore-font-size-lg, 1.125rem);
	line-height: 1.3;
	margin: 0;
	margin-bottom: 0px;
	flex: 1 1 auto;
	/* Permite que o título cresça mas não force */
	display: flex;
	flex-wrap: wrap;
}

/* Link de editar - melhor posicionamento */
.gstore-myaccount__content .woocommerce-Address-title a {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	flex-shrink: 0;
	font-size: 0;
	/* Hide original text */
	font-weight: var(--gstore-font-weight-bold, 700);
	color: var(--gstore-color-accent, #ff5c00);
	text-decoration: none;
	padding: 6px 12px;
	background: rgba(181, 166, 66, 0.1);
	border-radius: 4px;
	transition: all var(--gstore-transition-fast);
	line-height: 1;
	width: auto;
	margin: 0;
}

.gstore-myaccount__content .woocommerce-Address-title a::before {
	content: "Editar";
	font-size: var(--gstore-font-size-xs);
	text-transform: uppercase;
	letter-spacing: var(--gstore-letter-spacing-wide);
}

.gstore-myaccount__content .woocommerce-Address-title a:hover {
	background: var(--gstore-color-accent, #ff5c00);
	color: #fff;
	text-decoration: none;
}

/* Conteúdo do endereço - espaçamento reduzido */
.gstore-myaccount__content .woocommerce-Address address {
	margin: 0;
	margin-top: 0;
	margin-bottom: 0px;
	padding: 0;
	padding-bottom: 0px;
	line-height: 1.8;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	vertical-align: top;
	text-align: left;
	white-space: pre-line;
	/* Respeita quebras de linha e espaços */
}

/* Garantir que cada linha do endereço seja exibida separadamente */
.gstore-myaccount__content .woocommerce-Address address br {
	display: block;
	margin: 0;
	line-height: 1.8;
	content: "";
}

/* Quando o endereço está vazio ou incompleto */
.gstore-myaccount__content .woocommerce-Address address:empty::before,
.gstore-myaccount__content .woocommerce-Address address:has(> :empty:only-child) {
	content: "Nenhum endereço cadastrado";
	color: var(--gstore-color-text-muted, #999);
	font-style: italic;
}

/* Espaçamento do conteúdo principal da página de endereços */
.gstore-myaccount__content .woocommerce-MyAccount-content.woocommerce-edit-address {
	padding: clamp(28px, 3vw, 36px);
}

/* Ajuste para quando há apenas um endereço */
.gstore-myaccount__content .woocommerce-Addresses:has(.woocommerce-Address:only-child) {
	grid-template-columns: 1fr;
	max-width: 100%;
}

/* Melhor espaçamento entre elementos dentro do card */
.gstore-myaccount__content .woocommerce-Address>*+* {
	margin-top: 12px;
}

/* Garantir que o título não quebre em linhas desnecessárias */
.gstore-myaccount__content .woocommerce-Address-title h3,
.gstore-myaccount__content .woocommerce-Address-title .woocommerce-Address-title {
	word-break: keep-all;
	overflow-wrap: normal;
}

/* Ajustar espaçamento do conteúdo principal para reduzir espaço em branco */
.gstore-myaccount__content .woocommerce-MyAccount-content {
	min-height: auto;
}

/* Reduzir espaçamento superior quando há mensagem informativa */
.gstore-myaccount__content .woocommerce-Addresses>p+.woocommerce-Addresses {
	margin-top: 0;
}

/* Melhorar alinhamento do conteúdo de endereço vazio */
/* Removido: regra que escondia <br> estava causando nome e endereço na mesma linha */

/* ========================================
   RESPONSIVO
   ======================================== */

@media (max-width: 1024px) {
	.gstore-myaccount__layout {
		grid-template-columns: 240px 1fr;
	}
}

@media (max-width: 768px) {
	.gstore-myaccount__layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.gstore-myaccount__sidebar {
		position: static;
	}

	.gstore-myaccount-nav__list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 4px;
		padding: 8px;
	}

	.gstore-myaccount-nav__item {
		margin: 0;
	}

	.gstore-myaccount-nav__link {
		flex-direction: column;
		gap: 6px;
		padding: 12px 8px;
		text-align: center;
		border-left: none;
		border-radius: var(--gstore-radius-md, 6px);
	}

	.gstore-myaccount-nav__item.is-active .gstore-myaccount-nav__link {
		border-left: none;
	}

	.gstore-myaccount-nav__label {
		font-size: var(--gstore-font-size-xs, 0.75rem);
	}

	.gstore-myaccount-nav__badge {
		position: absolute;
		top: 4px;
		right: 4px;
		min-width: 16px;
		height: 16px;
		font-size: var(--gstore-font-size-xs);
	}

	.gstore-myaccount-nav__item {
		position: relative;
	}

	.gstore-myaccount-nav__item:last-child {
		grid-column: 1 / -1;
	}

	.gstore-myaccount-nav__item:last-child .gstore-myaccount-nav__link {
		flex-direction: row;
		justify-content: center;
		border-top: none;
		margin-top: 0;
		padding-top: 12px;
		background: var(--gstore-color-bg-muted, #f0f2f5);
	}

	.gstore-dashboard__stats {
		grid-template-columns: 1fr;
	}

	.gstore-dashboard__actions {
		grid-template-columns: 1fr;
	}

	.gstore-myaccount__content .woocommerce-orders-table {
		display: block;
		overflow-x: auto;
		width: 100% !important;
		max-width: 100%;
		min-width: 100%;
		table-layout: auto;
		margin: 0;
		border-spacing: 0;
		background: #fff;
	}

	.gstore-myaccount__content .woocommerce-orders-table,
	.gstore-myaccount__content .woocommerce-orders-table tbody,
	.gstore-myaccount__content .woocommerce-orders-table tr,
	.gstore-myaccount__content .woocommerce-orders-table th,
	.gstore-myaccount__content .woocommerce-orders-table td {
		box-sizing: border-box;
		width: 100% !important;
	}

	.gstore-myaccount__content .woocommerce-orders-table th,
	.gstore-myaccount__content .woocommerce-orders-table td {
		display: block;
		min-width: 100%;
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive td {
		padding: 14px 16px;
		text-align: left !important;
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive td::before {
		display: block;
		float: none;
		margin-bottom: 6px;
		width: 100%;
		font-weight: var(--gstore-font-weight-semibold, 600);
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive thead {
		display: none;
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive tbody {
		display: block;
		width: 100% !important;
		max-width: 100%;
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive tr {
		display: flex;
		flex-direction: column;
		width: 100% !important;
		max-width: 100%;
		min-width: 100% !important;
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive .woocommerce-orders-table__cell-order-number {
		display: flex !important;
		align-items: center;
		gap: 6px;
		order: -1;
		font-weight: var(--gstore-font-weight-semibold, 600);
		background: var(--gstore-color-bg-muted, #f0f2f5);
		color: var(--gstore-color-text-primary, #1a1a1a);
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive .woocommerce-orders-table__cell-order-number::before {
		content: 'Pedido:';
		font-weight: var(--gstore-font-weight-semibold, 600);
		color: var(--gstore-color-text-secondary, #6b6b6b);
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive td:not(.woocommerce-orders-table__cell-order-number) {
		background: #fff;
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive .woocommerce-orders-table__cell-order-actions {
		display: flex;
		flex-direction: column;
		gap: 8px;
		align-items: stretch;
		text-align: center;
	}

	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive .woocommerce-orders-table__cell-order-actions .button,
	.gstore-myaccount__content .woocommerce-orders-table.shop_table_responsive .woocommerce-orders-table__cell-order-actions .woocommerce-button {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.gstore-myaccount {
		padding: 16px;
	}

	.gstore-myaccount-nav__user {
		padding: 16px;
	}

	.gstore-myaccount-nav__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.gstore-dashboard__welcome {
		padding: 20px;
	}

	.gstore-dashboard__stat-card {
		padding: 16px;
	}

	.gstore-dashboard__action-card {
		padding: 16px;
	}
}

/* ========================================
   FORM LOGIN/REGISTER STYLES
   ======================================== */

/* Estilo genérico para formulários WooCommerce */
form.woocommerce-form {
	background-color: var(--wc-content-bg);
}

.gstore-myaccount .woocommerce-form-login,
.gstore-myaccount .woocommerce-form-register {
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: clamp(24px, 4vw, 40px);
	box-shadow: var(--gstore-shadow-sm);
}

.gstore-myaccount .u-columns.col2-set {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
	max-width: 900px;
	margin: 0 auto;
}

.gstore-myaccount .u-columns h2 {
	font-size: var(--gstore-font-size-xl, 1.25rem);
	font-weight: var(--gstore-font-weight-bold, 700);
	margin-bottom: 24px;
	color: var(--gstore-color-text-primary, #1a1a1a);
}

/* ========================================
   FORMULÁRIO DE LOGIN - LEMBRE-ME E BOTÕES
   ======================================== */

/* Checkbox Lembre-me abaixo da senha */
.gstore-rememberme-row {
	margin-top: 8px !important;
	margin-bottom: 16px !important;
}

.gstore-rememberme-row .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.gstore-rememberme-row .woocommerce-form__input-checkbox {
	width: 18px;
	height: 18px;
	accent-color: var(--gstore-color-accent, #ff5c00);
	cursor: pointer;
}

/* Reset background do checkbox rememberme */
#rememberme {
	background: unset;
	background-color: unset;
}

/* Botões lado a lado */
.gstore-login-buttons {
	display: flex;
	align-items: stretch;
	gap: 12px;
	margin-top: 24px !important;
}

.gstore-login-buttons .woocommerce-form-login__submit,
.gstore-btn-register {
	flex: 1;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 14px 24px !important;
	font-size: var(--gstore-font-size-base, 1rem) !important;
	font-weight: var(--gstore-font-weight-semibold, 600) !important;
	text-align: center;
	border-radius: var(--gstore-radius-base, 4px) !important;
	text-decoration: none;
	transition: all var(--gstore-transition-fast, 150ms ease-in-out);
	min-height: 48px;
	box-sizing: border-box;
}

.gstore-btn-register {
	background: transparent !important;
	color: var(--gstore-color-accent, #ff5c00) !important;
	border: 2px solid var(--gstore-color-accent, #ff5c00) !important;
}

.gstore-btn-register:hover {
	background: var(--gstore-color-accent, #ff5c00) !important;
	color: #fff !important;
}

/* ========================================
   FORMULÁRIO DE CADASTRO - OCULTO POR PADRÃO
   ======================================== */

/* Esconde o formulário de cadastro por padrão */
.gstore-myaccount .u-column2.col-2 {
	display: none;
}

/* Mostra o formulário quando ativado */
.gstore-myaccount .u-column2.col-2.is-visible {
	display: block;
	animation: gstore-slide-in 0.3s ease-out;
}

@keyframes gstore-slide-in {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Layout de coluna única quando cadastro está oculto */
.gstore-myaccount .u-columns.col2-set {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

/* Layout de duas colunas quando cadastro está visível */
.gstore-myaccount .u-columns.col2-set.show-register {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
	max-width: 900px;
}

/* Responsivo - botões empilhados em mobile */
@media (max-width: 480px) {
	.gstore-login-buttons {
		flex-direction: column;
	}

	.gstore-login-buttons .woocommerce-form-login__submit,
	.gstore-btn-register {
		width: 100%;
	}
}

/* ========================================
   BOTÃO DE INFORMAÇÃO NO FORMULÁRIO DE REGISTRO
   ======================================== */

.gstore-register-submit-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
}

.gstore-register-info-btn {
	background: transparent;
	border: none;
	color: var(--gstore-color-text-secondary, #666);
	cursor: pointer;
	padding: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
	font-size: var(--gstore-font-size-lg);
	line-height: 1;
}

.gstore-register-info-btn:hover,
.gstore-register-info-btn:focus {
	color: var(--gstore-color-accent, #ff5c00);
	outline: 2px solid var(--gstore-color-accent, #ff5c00);
	outline-offset: 2px;
	border-radius: 4px;
}

.gstore-register-info-btn:focus-visible {
	outline: 2px solid var(--gstore-color-accent, #ff5c00);
	outline-offset: 2px;
}

/* ========================================
   MODAL DE INFORMAÇÕES SOBRE CADASTRO
   ======================================== */

.gstore-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gstore-modal[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.gstore-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--gstore-color-black-60);
	backdrop-filter: blur(2px);
}

.gstore-modal__content {
	position: relative;
	background: var(--gstore-color-bg-light, #ffffff);
	border-radius: var(--gstore-radius-lg, 4px);
	box-shadow: var(--gstore-shadow-lg);
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	transform: scale(0.95);
	transition: transform 0.3s ease;
	z-index: 10000;
}

.gstore-modal[aria-hidden="false"] .gstore-modal__content {
	transform: scale(1);
}

.gstore-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: transparent;
	border: none;
	color: var(--gstore-color-text-secondary, #666);
	cursor: pointer;
	padding: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, background-color 0.2s ease;
	font-size: var(--gstore-font-size-xl);
	line-height: 1;
	border-radius: 4px;
	z-index: 1;
}

.gstore-modal__close:hover,
.gstore-modal__close:focus {
	color: var(--gstore-color-text-primary, #000);
	background-color: var(--gstore-color-bg-muted, #f5f5f5);
	outline: none;
}

.gstore-modal__close svg {
	width: 20px;
	height: 20px;
	display: block;
}

.gstore-modal__body {
	padding: 32px;
}

.gstore-modal__title {
	margin: 0 0 16px 0;
	font-size: var(--gstore-font-size-2xl);
	font-weight: var(--gstore-font-weight-semibold);
	color: var(--gstore-color-text-primary, #000);
	line-height: 1.3;
}

.gstore-modal__text {
	margin: 0;
	font-size: var(--gstore-font-size-base);
	line-height: 1.6;
	color: var(--gstore-color-text-primary, #000);
}

/* Responsividade Modal */
@media (max-width: 640px) {
	.gstore-modal__content {
		width: 95%;
		max-height: 85vh;
	}

	.gstore-modal__body {
		padding: 24px 20px;
	}

	.gstore-modal__title {
		font-size: var(--gstore-font-size-xl);
		margin-bottom: 12px;
	}

	.gstore-modal__text {
		font-size: var(--gstore-font-size-base);
	}

	.gstore-modal__close {
		top: 12px;
		right: 12px;
	}
}

/* ========================================
   ORDER DETAILS PAGE
   ======================================== */

.woocommerce-order-details {
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: clamp(24px, 3vw, 32px);
	box-shadow: var(--gstore-shadow-sm);
	margin-bottom: 32px;
}

.woocommerce-order-details__title {
	font-size: var(--gstore-font-size-lg, 1.125rem);
	font-weight: var(--gstore-font-weight-bold, 700);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--gstore-color-border, #e6e6e6);
}

/* Order Details Table */
.woocommerce-table--order-details {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom: 0;
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-md, 6px);
	overflow: hidden;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
	padding: 16px;
	border-bottom: 1px solid var(--gstore-color-border, #e6e6e6);
	text-align: left;
}

.woocommerce-table--order-details thead th {
	background: var(--gstore-color-bg-muted, #f0f2f5);
	font-size: var(--gstore-font-size-xs, 0.75rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	text-transform: uppercase;
	letter-spacing: var(--gstore-letter-spacing-wide, 0.05em);
	color: var(--gstore-color-text-secondary, #6b6b6b);
}

.woocommerce-table--order-details tbody td {
	font-size: var(--gstore-font-size-sm, 0.875rem);
	color: var(--gstore-color-text-primary, #1a1a1a);
	background: var(--gstore-color-white);
}

.woocommerce-table--order-details tfoot th {
	font-size: var(--gstore-font-size-sm, 0.875rem);
	font-weight: var(--gstore-font-weight-medium, 500);
	color: var(--gstore-color-text-secondary, #6b6b6b);
	background: var(--gstore-color-white);
	border-top: 1px solid var(--gstore-color-border, #e6e6e6);
}

.woocommerce-table--order-details tfoot td {
	font-size: var(--gstore-font-size-sm, 0.875rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	color: var(--gstore-color-text-primary, #1a1a1a);
	background: var(--gstore-color-white);
	border-top: 1px solid var(--gstore-color-border, #e6e6e6);
}

.woocommerce-table--order-details tr:last-child td,
.woocommerce-table--order-details tr:last-child th {
	border-bottom: none;
}

/* Product links in table */
.woocommerce-table--order-details a {
	color: var(--gstore-color-text-primary, #1a1a1a);
	text-decoration: none;
	font-weight: var(--gstore-font-weight-medium, 500);
	transition: color var(--gstore-transition-fast);
}

.woocommerce-table--order-details a:hover {
	color: var(--gstore-color-accent, #ff5c00);
}

/* Customer Details */
.woocommerce-customer-details {
	margin-top: 32px;
}

.woocommerce-customer-details h2 {
	font-size: var(--gstore-font-size-lg, 1.125rem);
	font-weight: var(--gstore-font-weight-bold, 700);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin-bottom: 20px;
}

.woocommerce-customer-details address {
	background: var(--gstore-color-bg-muted, #f0f2f5);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-lg, 8px);
	padding: 24px;
	font-style: normal;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	color: var(--gstore-color-text-secondary, #6b6b6b);
	line-height: var(--gstore-line-height-relaxed, 1.6);
}

.woocommerce-customer-details .woocommerce-column__title {
	font-size: var(--gstore-font-size-base, 1rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
	.woocommerce-table--order-details {
		display: block;
		overflow-x: auto;
	}

	.woocommerce-customer-details .col2-set {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.woocommerce-customer-details .col-1,
	.woocommerce-customer-details .col-2 {
		width: 100%;
		float: none;
	}
}

/* ========================================
   ORDER INFO TEXT (O pedido #...)
   ======================================== */

.woocommerce-order>p:first-child {
	background: var(--gstore-color-bg-light, #ffffff) !important;
	background-color: var(--gstore-color-bg-light, #ffffff) !important;
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-left: 4px solid var(--gstore-color-accent, #ff5c00);
	border-radius: var(--gstore-radius-base, 4px);
	padding: 16px 20px;
	margin-bottom: 32px;
	font-size: var(--gstore-font-size-base, 1rem);
	color: var(--gstore-color-text-primary, #1a1a1a);
	box-shadow: var(--gstore-shadow-sm);
	line-height: 1.6;
}

/* Garantir que elementos p dentro de gstore-myaccount__content tenham background correto */
.gstore-myaccount__content .woocommerce-order>p:first-child {
	background: var(--gstore-color-bg-base, #f5f5f2) !important;
	background-color: var(--gstore-color-bg-base, #f5f5f2) !important;
	color: var(--gstore-color-text-primary, #1a1a1a) !important;
}

/* Garantir que elementos p dentro de woocommerce-order tenham background correto */
.gstore-myaccount__content .woocommerce-order p {
	background-color: var(--gstore-color-bg-base, #f5f5f2) !important;
	background: var(--gstore-color-bg-base, #f5f5f2) !important;
	color: var(--gstore-color-text-primary, #1a1a1a) !important;
}

.woocommerce-order>p:first-child mark {
	background: transparent;
	color: var(--gstore-color-text-primary, #1a1a1a);
	font-weight: var(--gstore-font-weight-bold, 700);
	padding: 0;
}

/* ========================================
   PIX PAYMENT SECTION STYLING
   Seguindo o padrão Gstore Design System
   ======================================== */

/* Container principal - mesmo estilo do woocommerce-order-details */
.woocommerce-order .woocommerce-info:has(.Gstore-pix-instructions),
.woocommerce-order .woocommerce-info:has(#pix-payment-data),
.woocommerce-info.Gstore-pix-instructions {
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-base, 4px);
	padding: 0;
	box-shadow: var(--gstore-shadow-sm);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin-bottom: 32px;
	overflow: visible;
}

/* Remove o ícone padrão do WooCommerce */
.woocommerce-order .woocommerce-info:has(.Gstore-pix-instructions)::before,
.woocommerce-order .woocommerce-info:has(#pix-payment-data)::before,
.woocommerce-info.Gstore-pix-instructions::before {
	display: none !important;
}

/* Container interno - layout vertical */
.Gstore-pix-instructions {
	display: flex !important;
	flex-direction: column !important;
	background: transparent;
	border: none;
	padding: clamp(24px, 3vw, 32px);
	margin: 0;
	box-shadow: none;
	gap: 24px;
}

/* Título - mesmo padrão do woocommerce-order-details__title */
.Gstore-pix-instructions h3 {
	font-size: var(--gstore-font-size-lg, 1.125rem);
	font-weight: var(--gstore-font-weight-bold, 700);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin: 0 0 4px 0;
	padding-bottom: 0;
	border-bottom: none;
	line-height: 1.3;
}

/* Remove qualquer ::before do h3 */
.Gstore-pix-instructions h3::before {
	content: none !important;
	display: none !important;
}

/* Subtítulo/descrição */
.Gstore-pix-instructions>p:first-of-type {
	color: var(--gstore-color-text-secondary, #6b6b6b);
	font-size: var(--gstore-font-size-sm, 0.875rem);
	margin: 0;
	line-height: 1.5;
}

/* Header wrapper (h3 + p) */
.Gstore-pix-instructions>div:first-child:has(h3) {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* ========================================
   QR CODE SECTION
   ======================================== */
.Gstore-pix-qr-code {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--gstore-color-white);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-base, 4px);
	padding: 32px;
	margin: 0;
	text-align: center;
}

.Gstore-pix-qr-code img {
	width: auto;
	height: auto;
	max-width: 200px;
	display: block;
	margin: 0;
	border-radius: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
}

.Gstore-pix-qr-code p {
	margin: 16px 0 0 0;
	font-size: var(--gstore-font-size-xs, 0.75rem);
	color: var(--gstore-color-text-secondary, #6b6b6b);
}

/* ========================================
   CÓDIGO PIX (COPIA E COLA)
   ======================================== */
.Gstore-pix-emv {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.Gstore-pix-emv label {
	display: block;
	font-size: var(--gstore-font-size-sm, 0.875rem);
	font-weight: var(--gstore-font-weight-semibold, 600);
	color: var(--gstore-color-text-primary, #1a1a1a);
	margin: 0;
}

.Gstore-pix-emv-wrapper {
	display: flex;
	gap: 12px;
	align-items: stretch;
}

/* Campo do código - estilo de input padrão Gstore */
.Gstore-pix-emv-code {
	flex: 1;
	background: var(--gstore-color-bg-light, #ffffff);
	border: 1px solid var(--gstore-color-border, #e6e6e6);
	border-radius: var(--gstore-radius-base, 4px);
	color: var(--gstore-color-text-primary, #1a1a1a);
	font-size: var(--gstore-font-size-xs, 0.75rem);
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Consolas', monospace;
	padding: 16px;
	line-height: 1.6;
	resize: none;
	word-break: break-all;
	overflow-wrap: break-word;
	transition: border-color var(--gstore-transition-fast, 150ms ease-in-out),
		box-shadow var(--gstore-transition-fast, 150ms ease-in-out);
	min-height: 80px;
	max-height: none;
	height: auto;
	overflow: hidden;
}

.Gstore-pix-emv-code:hover {
	border-color: var(--gstore-color-text-secondary, #9ca3af);
}

.Gstore-pix-emv-code:focus {
	border-color: var(--gstore-color-accent, #ff5c00);
	box-shadow: 0 0 0 3px rgba(181, 166, 66, 0.1);
	outline: none;
}

/* Botão Copiar - estilo primário Gstore */
.Gstore-pix-copy-btn {
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gstore-color-accent, #ff5c00);
	color: #ffffff;
	border: none;
	border-radius: var(--gstore-radius-base, 4px);
	font-weight: var(--gstore-font-weight-semibold, 600);
	font-size: var(--gstore-font-size-sm, 0.875rem);
	padding: 16px 28px;
	min-width: 110px;
	cursor: pointer;
	transition: background-color var(--gstore-transition-fast, 150ms ease-in-out),
		transform var(--gstore-transition-fast, 150ms ease-in-out);
	white-space: nowrap;
	text-decoration: none;
}

.Gstore-pix-copy-btn:hover {
	background: var(--gstore-color-accent-hover);
	transform: translateY(-1px);
}

.Gstore-pix-copy-btn:active {
	transform: translateY(0);
}

.Gstore-pix-copy-btn.copied {
	background: var(--gstore-color-success, #2e9b3b);
}

/* ========================================
   METADADOS (Token, Validade, Status)
   ======================================== */
.Gstore-pix-info {
	list-style: none;
	padding: 16px 0 0 0;
	margin: 0;
	border-top: 1px solid var(--gstore-color-border, #e6e6e6);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.Gstore-pix-info li {
	padding: 0;
	color: var(--gstore-color-text-secondary, #6b6b6b);
	font-size: var(--gstore-font-size-xs, 0.75rem);
	line-height: 1.5;
	display: flex;
	gap: 6px;
}

.Gstore-pix-info li strong {
	color: var(--gstore-color-text-primary, #1a1a1a);
	font-weight: var(--gstore-font-weight-medium, 500);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
	.Gstore-pix-instructions {
		padding: 20px;
		gap: 20px;
	}

	.Gstore-pix-qr-code {
		padding: 24px;
	}

	.Gstore-pix-qr-code img {
		max-width: 180px;
	}

	.Gstore-pix-emv-wrapper {
		flex-direction: column;
	}

	.Gstore-pix-copy-btn {
		width: 100%;
		min-width: auto;
		padding: 14px 24px;
	}

	.Gstore-pix-emv-code {
		min-height: 70px;
	}
}