/* Conta, carrinho e checkout — layout unificado (cores via brand.css) */

[id^="account-"] #column-right,
[id^="account-"] #column-left,
#checkout-cart #column-right,
#checkout-cart #column-left,
#checkout-checkout #column-right,
#checkout-checkout #column-left {
	display: none !important;
}

[id^="account-"] .row > #content,
#checkout-cart .row > #content,
#checkout-checkout .row > #content {
	width: 100%;
	flex: 0 0 100%;
	max-width: 100%;
}

[id^="account-"] .breadcrumb,
#checkout-cart .breadcrumb,
#checkout-checkout .breadcrumb {
	margin: 18px 0 24px;
	padding: 0;
	border: 0;
	background: transparent;
}

[id^="account-"] .breadcrumb > li,
#checkout-cart .breadcrumb > li,
#checkout-checkout .breadcrumb > li {
	padding: 0 10px 0 0;
	text-shadow: none;
	white-space: normal;
	color: var(--account-text, #444);
}

[id^="account-"] .breadcrumb > li:after,
#checkout-cart .breadcrumb > li:after,
#checkout-checkout .breadcrumb > li:after {
	display: none;
}

[id^="account-"] .breadcrumb > li + li:before,
#checkout-cart .breadcrumb > li + li:before,
#checkout-checkout .breadcrumb > li + li:before {
	content: '/';
	padding: 0 10px 0 0;
	color: var(--account-muted, #999);
}

[id^="account-"] .breadcrumb a,
#checkout-cart .breadcrumb a,
#checkout-checkout .breadcrumb a {
	color: var(--account-muted, #777);
	text-decoration: none;
}

[id^="account-"] .breadcrumb a:hover,
#checkout-cart .breadcrumb a:hover,
#checkout-checkout .breadcrumb a:hover {
	color: var(--account-accent, #C12B2A);
	text-decoration: none;
}

[id^="account-"] #content > h2:first-of-type {
	display: none;
}

.account-hub-page-title,
.storefront-page-title {
	margin: 0 0 28px;
	font-size: 28px;
	font-weight: 600;
	color: var(--account-text, #333);
}

.account-hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
	gap: 14px;
}

.account-hub-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 130px;
	padding: 18px 12px;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fff;
	color: var(--account-text, #444);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.account-hub-card:hover,
.account-hub-card:focus {
	border-color: var(--account-accent, #C12B2A);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	color: var(--account-accent, #C12B2A);
	text-decoration: none;
	transform: translateY(-2px);
}

.account-hub-icon {
	width: 52px;
	height: 52px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--account-accent-soft, rgba(193, 43, 42, 0.1));
	color: var(--account-accent, #C12B2A);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	transition: background .2s ease, color .2s ease;
}

.account-hub-card:hover .account-hub-icon,
.account-hub-card:focus .account-hub-icon {
	background: var(--account-accent, #C12B2A);
	color: #fff;
}

.account-hub-label {
	font-size: 13px;
	line-height: 1.35;
	font-weight: 600;
}

.account-hub-card-muted {
	border-style: dashed;
}

.account-hub-card-muted .account-hub-icon {
	background: #f5f5f5;
	color: #666;
}

.account-hub-card-muted:hover .account-hub-icon {
	background: #333;
	color: #fff;
}

/* Carrinho e checkout */
.storefront-section-title {
	margin: 28px 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: var(--account-text, #333);
}

.storefront-muted {
	color: var(--account-muted, #777);
	margin-bottom: 16px;
}

.storefront-table-wrap {
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 24px;
}

.storefront-table {
	margin-bottom: 0;
}

.storefront-table > thead > tr > td {
	background: #fafafa;
	border-bottom: 2px solid var(--account-accent, #C12B2A);
	font-weight: 600;
	color: var(--account-text, #333);
}

.storefront-table a {
	color: var(--account-accent, #C12B2A);
}

.storefront-product-table .product-list-name,
.storefront-product-table .product-list-name a {
	color: #000 !important;
	font-weight: 500;
}

.storefront-product-table .product-list-name a:hover {
	color: #333 !important;
	opacity: 1;
}

.storefront-product-table .product-list-model,
.storefront-product-table .product-list-qty {
	font-weight: 700;
	color: var(--account-text, #333);
}

.storefront-product-table .product-list-price,
.storefront-product-table .storefront-total-cell,
.storefront-totals .storefront-total-cell,
.storefront-product-table .price {
	color: var(--price-color, #1d60bc) !important;
	font-weight: 600;
}

.storefront-product-table .product-list-image img {
	max-width: 60px;
	height: auto;
}

.storefront-table a:hover {
	color: var(--account-accent, #C12B2A);
	opacity: .85;
}

.storefront-totals {
	border-radius: 10px;
	overflow: hidden;
}

.storefront-totals tr:last-child td {
	font-size: 15px;
}

.storefront-actions {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.storefront-panels .panel {
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	box-shadow: none;
	overflow: hidden;
	margin-bottom: 12px;
}

.storefront-panels .panel-heading {
	background: #fff;
	border-bottom: 1px solid #eee;
	border-left: 4px solid var(--account-accent, #C12B2A);
	padding: 14px 16px;
}

.storefront-panels .panel-title,
.storefront-panels .panel-title a {
	color: var(--account-text, #333);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.storefront-panels .panel-title a:hover {
	color: var(--account-accent, #C12B2A);
}

.storefront-panels .panel-body {
	padding: 16px;
}

#checkout-cart #content a:not(.btn):not(.account-hub-card),
#checkout-checkout #content a:not(.btn):not(.account-hub-card) {
	color: var(--account-accent, #C12B2A);
}

@media (max-width: 767px) {
	.account-hub-page-title,
	.storefront-page-title {
		font-size: 22px;
	}

	.account-hub-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.account-hub-card {
		min-height: 118px;
		padding: 14px 8px;
	}

	.account-hub-icon {
		width: 44px;
		height: 44px;
		font-size: 18px;
	}

	.account-hub-label {
		font-size: 12px;
	}

	.storefront-totals-row .col-sm-offset-8 {
		margin-left: 0;
	}

	.storefront-actions .pull-left,
	.storefront-actions .pull-right {
		float: none !important;
		width: 100%;
		margin-bottom: 10px;
	}

	.storefront-actions .btn {
		display: block;
		width: 100%;
	}

	.storefront-product-table > thead > tr > td:nth-child(2),
	.storefront-product-table > tbody > tr > td.product-list-name {
		display: none !important;
	}
}

.download-gallery-intro {
	margin: -12px 0 20px;
	color: var(--account-muted, #666);
	font-size: 15px;
	line-height: 1.5;
}

.download-gallery-page.container-fluid {
	max-width: 100%;
	padding-left: 20px;
	padding-right: 20px;
}

.download-gallery-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.download-gallery-sidebar {
	position: sticky;
	top: 12px;
	max-height: calc(100vh - 24px);
	overflow: auto;
	padding: 16px;
	border: 1px solid var(--account-border, #e8e8e8);
	border-radius: 10px;
	background: #fff;
}

.download-gallery-sidebar-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
}

.download-gallery-sidebar-help {
	margin: 0 0 12px;
	color: var(--account-muted, #777);
	font-size: 12px;
	line-height: 1.4;
}

.download-gallery-category-actions {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.download-gallery-category-actions .btn {
	flex: 1 1 0;
}

.download-gallery-category-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
	max-height: 52vh;
	overflow: auto;
	padding-right: 4px;
}

.download-gallery-category-item {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	gap: 8px;
	align-items: start;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid var(--account-border, #ececec);
	border-radius: 8px;
	background: #fafafa;
	cursor: pointer;
	font-weight: 400;
}

.download-gallery-category-item input {
	margin-top: 2px;
}

.download-gallery-category-name {
	font-size: 12px;
	line-height: 1.35;
	color: var(--account-text, #333);
}

.download-gallery-category-count {
	font-size: 11px;
	color: var(--account-muted, #888);
	white-space: nowrap;
}

.download-gallery-main {
	min-width: 0;
}

.download-gallery-toolbar {
	margin-bottom: 14px;
}

.download-gallery-search-wrap {
	width: min(100%, 420px);
}

.download-gallery-search-wrap .form-control {
	width: 100%;
}

.download-gallery-all-form {
	margin: 0;
}

.download-gallery-summary {
	display: none !important;
}

.download-gallery-category-count {
	display: none !important;
}

.download-gallery-scroll {
	padding-bottom: 24px;
}

.download-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	gap: 10px;
}

.download-gallery-item {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--account-border, #ececec);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.download-gallery-thumb {
	display: block;
	background: #fff;
}

.download-gallery-thumb img {
	display: block;
	width: 100%;
	height: 118px;
	object-fit: contain;
	padding: 8px;
}

.download-gallery-caption {
	padding: 8px 8px 0;
	min-height: 42px;
}

.download-gallery-caption-name {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--account-text, #333);
}

.download-gallery-caption-model {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 10px;
	line-height: 1.3;
	color: var(--account-muted, #888);
}

.download-gallery-item-actions {
	display: flex;
	gap: 4px;
	padding: 6px 8px 8px;
}

.download-gallery-item-actions .btn {
	flex: 1 1 0;
	padding-left: 0;
	padding-right: 0;
}

@media (max-width: 991px) {
	.download-gallery-layout {
		grid-template-columns: 1fr;
	}

	.download-gallery-sidebar {
		position: static;
		max-height: none;
	}

	.download-gallery-category-list {
		max-height: 220px;
	}

	.download-gallery-toolbar .pull-left,
	.download-gallery-toolbar .pull-right {
		float: none !important;
		width: 100%;
	}

	.download-gallery-search-wrap {
		width: 100%;
		margin-bottom: 10px;
	}

	.download-gallery-actions .btn,
	.download-gallery-all-form .btn {
		display: block;
		width: 100%;
	}
}

@media (max-width: 767px) {
	.download-gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
		gap: 8px;
	}

	.download-gallery-thumb img {
		height: 96px;
	}
}

/* Financeiro — account/transaction ObjectData */
#account-financeiro .financeiro-panel {
	margin-bottom: 24px;
}

#account-financeiro .financeiro-panel .panel {
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	box-shadow: none;
	overflow: hidden;
	margin-bottom: 0;
}

#account-financeiro .financeiro-panel .panel-heading {
	background: #fff;
	border-bottom: 1px solid #eee;
	border-left: 4px solid var(--account-accent, #1d60bc);
	padding: 14px 18px;
}

#account-financeiro .financeiro-panel .panel-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--account-text, #333);
}

#account-financeiro .financeiro-panel .panel-body {
	padding: 0 0 16px;
}

#account-financeiro .financeiro-table-wrap {
	border: 0;
	border-radius: 0;
	margin-bottom: 0;
}

#account-financeiro .financeiro-table {
	margin-bottom: 0;
	table-layout: fixed;
	width: 100%;
}

#account-financeiro .financeiro-table > thead > tr > th {
	background: #fafafa;
	border-bottom: 2px solid var(--account-accent, #1d60bc);
	font-weight: 600;
	color: var(--account-text, #333);
	padding: 12px 18px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

#account-financeiro .financeiro-table > tbody > tr > td {
	padding: 14px 18px;
	vertical-align: middle;
	border-top: 1px solid #f0f0f0;
	font-size: 14px;
}

#account-financeiro .financeiro-table .col-pedido {
	width: 30%;
}

#account-financeiro .financeiro-table .col-vencimento {
	width: 22%;
}

#account-financeiro .financeiro-table .col-valor {
	width: 24%;
}

#account-financeiro .financeiro-table .col-boleto {
	width: 14%;
}

#account-financeiro .financeiro-boleto .financeiro-boleto-btn {
	min-width: 38px;
	color: #fff;
	background-color: #5bb75b;
	border-color: #51a351;
}

#account-financeiro .financeiro-boleto .financeiro-boleto-btn:hover,
#account-financeiro .financeiro-boleto .financeiro-boleto-btn:focus {
	color: #fff;
	background-color: #51a351;
	border-color: #387038;
}

#account-financeiro .financeiro-pedido {
	font-weight: 600;
	color: var(--account-text, #333);
	letter-spacing: .02em;
}

#account-financeiro .financeiro-pedido a {
	color: var(--account-text, #333) !important;
	font-weight: inherit;
	text-decoration: none;
}

#account-financeiro .financeiro-pedido a:hover,
#account-financeiro .financeiro-pedido a:focus {
	color: var(--account-text, #333) !important;
	text-decoration: underline;
}

#account-financeiro .financeiro-vencimento {
	color: var(--account-text, #333);
	font-weight: 600;
}

#account-financeiro .financeiro-valor,
#account-financeiro .financeiro-total-value {
	color: var(--price-color, #1d60bc) !important;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
}

#account-financeiro .financeiro-total-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 16px 18px 4px;
	margin-top: 0;
	border-top: 1px solid #eee;
	font-size: 15px;
	color: var(--account-text, #333);
}

#account-financeiro .financeiro-total-row strong {
	font-weight: 600;
}

#account-financeiro .financeiro-total-value {
	font-size: 18px;
}

#account-financeiro .financeiro-contact {
	padding: 8px 18px 0;
	margin: 0;
	color: var(--account-muted, #777);
	font-size: 13px;
}

#account-financeiro .financeiro-table > tbody > tr.financeiro-overdue > td {
	background-color: #fdecea;
}

#account-financeiro .financeiro-table > tbody > tr.financeiro-due-today > td {
	background-color: #fff8e1;
}

#account-financeiro .financeiro-table > tbody > tr:not(.financeiro-overdue):not(.financeiro-due-today):hover > td {
	background-color: #f9fbff;
}

#account-financeiro .financeiro-table > tbody > tr.financeiro-overdue:hover > td {
	background-color: #fad9d5;
}

#account-financeiro .financeiro-table > tbody > tr.financeiro-due-today:hover > td {
	background-color: #fff3cd;
}

@media (max-width: 767px) {
	#account-financeiro .financeiro-table .col-pedido,
	#account-financeiro .financeiro-table .col-vencimento,
	#account-financeiro .financeiro-table .col-valor,
	#account-financeiro .financeiro-table .col-boleto {
		width: auto;
	}

	#account-financeiro .financeiro-table > thead > tr > th,
	#account-financeiro .financeiro-table > tbody > tr > td {
		padding: 10px 12px;
		font-size: 13px;
	}

	#account-financeiro .financeiro-valor,
	#account-financeiro .financeiro-total-value {
		font-size: 14px;
	}
}
