/* Menu superior (cabeçalho + navegação) e menu lateral de coleções.
   Usado por Controls/CabecalhoSite.ascx e Controls/ColecoesMenu.ascx.
   Cabeçalho: classes sh-* dentro de #header. Coleções: dentro de .left-sidebar. */

#header,
.left-sidebar {
	--rose: #C96A7A;
	--rose-dark: #A8505F;
	--rose-light: #F2D5DA;
	--rose-pale: #FDF0F2;
	--ink: #1C1217;
	--ink-soft: #4A3840;
	--sand: #F7F1EC;
	--sand-deep: #EDE3D8;
	--sand-border: #DDD0C8;
	--danger: #B02A2A;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 8px 24px rgba(28, 18, 23, .14);
}

#header .sh-bar,
#header .sh-nav-faixa {
	background: #fff;
	font-family: 'DM Sans', 'Roboto', sans-serif;
	font-size: 15px;
	color: var(--ink);
}

#header .sh-bar *,
#header .sh-nav-faixa * {
	box-sizing: border-box;
}

#header .sh-bar a,
#header .sh-nav-faixa a {
	text-decoration: none;
}

#header :focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

#header .sh-bar ul,
#header .sh-nav-faixa ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- Barra principal ---------- */
#header .sh-bar-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 14px;
	padding-bottom: 14px;
}

#header .sh-logo {
	flex: 0 1 auto;
	min-width: 0;
	display: block;
	line-height: 0;
}

#header .sh-logo img {
	display: block;
	height: auto;
	max-height: 48px;
	width: auto;
	max-width: 100%;
}

#header .sh-menu-btn {
	display: none;
}

#header .sh-search {
	position: relative;
	flex: 1 1 auto;
	min-width: 200px;
	max-width: 460px;
}

#header .sh-search .sh-search-input {
	display: block;
	width: 100%;
	height: 44px;
	padding: 0 50px 0 18px;
	border: 1px solid var(--sand-border);
	border-radius: 999px;
	background: var(--sand);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
	box-shadow: none;
}

#header .sh-search .sh-search-input::placeholder {
	color: #6F5E66;
	opacity: 1;
}

#header .sh-search .sh-search-input:focus {
	border-color: var(--rose-dark);
	background: #fff;
}

#header .sh-search .sh-search-btn {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--rose-dark);
}

#header .sh-search .sh-search-btn:hover {
	background: var(--rose-pale);
}

#header .sh-search .sh-search-erro {
	position: absolute;
	top: 100%;
	left: 12px;
	z-index: 20;
	margin-top: 4px;
	padding: 4px 10px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--danger);
	color: var(--danger);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

#header .sh-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

#header .sh-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 8px 12px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--ink-soft);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}

#header .sh-action:hover,
#header .sh-action:focus-visible,
#header .sh-action.active {
	background: var(--rose-pale);
	color: var(--rose-dark);
}

#header .sh-action.active {
	font-weight: 700;
}

#header .sh-action .fa,
#header .sh-action .fas,
#header .sh-action .far {
	font-size: 17px;
}

#header .sh-action .sh-seta {
	font-size: 14px;
}

#header .sh-conta .sh-dropdown-toggle {
	border: 1px solid var(--sand-border);
	padding: 8px 14px;
}

/* ---------- Dropdowns ---------- */
#header .sh-dropdown {
	position: relative;
}

#header .sh-dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1030;
	min-width: 230px;
	margin-top: 4px;
	padding: 6px;
	border: 1px solid var(--sand-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--shadow);
}

#header .sh-conta .sh-dropdown-menu {
	left: auto;
	right: 0;
}

#header .sh-dropdown.is-open > .sh-dropdown-menu {
	display: block;
}

#header .sh-dropdown.is-open > .sh-dropdown-toggle .sh-seta {
	transform: rotate(180deg);
}

#header .sh-dropdown-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
}

#header .sh-dropdown-menu a:hover,
#header .sh-dropdown-menu a:focus-visible,
#header .sh-dropdown-menu a.active {
	background: var(--rose-pale);
	color: var(--rose-dark);
}

#header .sh-dropdown-menu a.active {
	font-weight: 700;
}

#header .sh-dropdown-menu a i {
	width: 18px;
	margin-right: 4px;
	color: var(--rose-dark);
	text-align: center;
}

/* ---------- Menu principal ---------- */
#header .sh-nav-faixa {
	border-top: 1px solid var(--sand-deep);
	border-bottom: 1px solid var(--sand-border);
}

#header .sh-nav-topo,
#header .sh-nav-conta,
#header .sh-login-drawer {
	display: none;
}

#header .sh-nav-lista {
	display: flex;
	align-items: stretch;
	gap: 6px;
}

#header .sh-nav-lista > li > a,
#header .sh-nav-lista > li > .sh-dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 48px;
	padding: 0 14px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: color .15s, border-color .15s;
}

#header .sh-nav-lista > li > a:hover,
#header .sh-nav-lista > li > .sh-dropdown-toggle:hover {
	color: var(--rose-dark);
}

#header .sh-nav-lista > li > a.active {
	border-bottom-color: var(--rose);
	color: var(--rose-dark);
	font-weight: 700;
}

#header .sh-nav-lista .sh-seta {
	font-size: 13px;
	transition: transform .15s;
}

/* ---------- Celular ---------- */
@media (max-width: 767px) {
	/* Topbar em uma única linha: e-mail à esquerda, redes sociais à direita */
	#header .header_top .container {
		padding-right: 12px;
		padding-left: 12px;
	}

	#header .header_top .row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0;
	}

	#header .header_top .row::before,
	#header .header_top .row::after {
		content: none;
	}

	#header .header_top .col-sm-6 {
		display: block;
		float: none;
		width: auto;
		min-width: 0;
		padding: 0;
		text-align: left;
	}

	#header .header_top .social-icons.pull-right {
		float: none !important;
	}

	#header .header_top .contactinfo ul,
	#header .header_top .social-icons ul {
		display: flex;
		margin: 0;
	}

	#header .header_top .contactinfo ul li:first-child {
		margin-left: 0;
	}

	#header .header_top .contactinfo ul li a {
		padding: 10px 0;
		font-size: 12px;
		white-space: nowrap;
	}

	#header .header_top .social-icons ul li a i {
		padding: 11px 10px;
	}

	#header .sh-bar-inner {
		flex-wrap: wrap;
		gap: 10px 8px;
		padding-top: 10px;
		padding-bottom: 12px;
	}

	#header .sh-menu-btn {
		order: 2;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		border: 1px solid var(--sand-border);
		border-radius: 12px;
		background: #fff;
		color: var(--ink);
		font-size: 18px;
		cursor: pointer;
	}

	#header .sh-logo {
		order: 1;
		flex: 1 1 100%;
		min-width: 0;
	}

	#header .sh-logo img {
		height: 34px;
	}

	#header .sh-search {
		order: 3;
		flex: 1 1 0;
		min-width: 0;
		max-width: none;
	}

	#header .sh-search .sh-search-input {
		font-size: 16px;
	}

	#header .sh-actions {
		order: 4;
		margin-left: 0;
	}

	#header .sh-action-desejos,
	#header .sh-conta {
		display: none;
	}

	#header .sh-action {
		padding: 8px;
	}

	#header .sh-cesta-palavra {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	#header .sh-login-drawer {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 48px;
		margin: 4px 4px 12px;
		border-radius: 999px;
		background: var(--rose-dark);
		color: #fff;
		font-weight: 700;
	}

	#header .sh-login-drawer:hover {
		color: #fff;
		background: #8E4150;
	}

	#header .sh-nav-faixa {
		border: 0;
	}

	#header .sh-nav-faixa .container {
		padding: 0;
	}

	#header .sh-nav {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 1050;
		width: min(320px, 86vw);
		overflow-y: auto;
		padding: 0 12px 24px;
		background: #fff;
		box-shadow: var(--shadow);
		transform: translateX(-105%);
		visibility: hidden;
		transition: transform .25s ease, visibility .25s;
	}

	body.sh-drawer-aberto #header .sh-nav {
		transform: none;
		visibility: visible;
	}

	body.sh-drawer-aberto {
		overflow: hidden;
	}

	#header .sh-overlay {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1040;
		background: rgba(28, 18, 23, .55);
	}

	#header .sh-nav-topo {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 4px 10px;
	}

	#header .sh-nav-titulo {
		font-size: 12px;
		font-weight: 700;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--ink-soft);
	}

	#header .sh-nav-fechar {
		width: 44px;
		height: 44px;
		border: 0;
		border-radius: 50%;
		background: var(--sand);
		color: var(--ink);
		font-size: 18px;
		cursor: pointer;
	}

	#header .sh-nav-lista {
		display: block;
	}

	#header .sh-nav-lista > li > a,
	#header .sh-nav-lista > li > .sh-dropdown-toggle {
		width: 100%;
		min-height: 48px;
		padding: 0 14px;
		border-bottom: 0;
		border-radius: 10px;
		justify-content: space-between;
	}

	#header .sh-nav-lista > li > a.active {
		background: var(--rose-pale);
	}

	#header .sh-nav-lista .sh-dropdown-menu {
		position: static;
		min-width: 0;
		margin: 0 0 4px 14px;
		padding: 0 0 0 8px;
		border: 0;
		border-left: 2px solid var(--sand-deep);
		border-radius: 0;
		box-shadow: none;
	}

	#header .sh-dropdown-menu a {
		padding: 12px 12px;
	}

	#header .sh-nav-conta {
		display: block;
		margin-top: 12px;
		padding-top: 12px;
		border-top: 1px solid var(--sand-deep);
	}

	#header .sh-nav-rotulo {
		padding: 4px 14px 6px;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--ink-soft);
	}

	#header .sh-nav-conta a {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 48px;
		padding: 0 14px;
		border-radius: 10px;
		color: var(--ink);
		font-weight: 500;
	}

	#header .sh-nav-conta a i {
		width: 20px;
		color: var(--rose-dark);
		text-align: center;
	}

	#header .sh-nav-conta a:hover,
	#header .sh-nav-conta a.active {
		background: var(--rose-pale);
		color: var(--rose-dark);
	}

	#header .sh-nav-conta a.active {
		font-weight: 700;
	}
}

@media (prefers-reduced-motion: reduce) {
	#header .sh-nav,
	#header .sh-action,
	#header .sh-nav-lista .sh-seta {
		transition: none;
	}
}

/* ================= Menu lateral de coleções ================= */
.left-sidebar {
	margin-bottom: 24px;
	font-family: 'DM Sans', 'Roboto', sans-serif;
}

.left-sidebar h2.colecoes-titulo {
	margin: 0 0 10px;
	padding: 0 4px;
	text-align: left;
	color: var(--ink-soft);
	font-family: 'DM Sans', 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.left-sidebar h2.colecoes-titulo::before,
.left-sidebar h2.colecoes-titulo::after {
	content: none;
}

.left-sidebar .colecoes-toggle {
	display: none;
}

.left-sidebar .category-products {
	margin-bottom: 0;
	padding: 6px;
	border: 1px solid var(--sand-border);
	border-radius: var(--radius);
	background: #fff;
}

.left-sidebar .category-products .panel {
	background: transparent;
}

.left-sidebar .category-products .panel-default .panel-heading {
	padding: 0;
	background: transparent;
}

.left-sidebar .category-products .panel-default .panel-heading .panel-title {
	margin: 0;
	font-size: 14px;
}

.left-sidebar .category-products .panel-default .panel-heading .panel-title a {
	display: block;
	min-height: 40px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--ink);
	font-family: 'DM Sans', 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	text-decoration: none;
}

.left-sidebar .category-products .panel-default .panel-heading .panel-title a:hover,
.left-sidebar .category-products .panel-default .panel-heading .panel-title a:focus-visible {
	background: var(--rose-pale);
	color: var(--rose-dark);
	text-decoration: none;
}

.left-sidebar .category-products .badge {
	margin: -1px -4px 0 8px;
	padding: 3px 6px;
	color: var(--ink-soft);
	font-size: 12px;
}

.left-sidebar .category-products .panel-body {
	padding: 0 0 6px 12px;
}

.left-sidebar .category-products .panel-body ul {
	margin: 0;
	padding: 0 0 0 6px;
	border-left: 2px solid var(--sand-deep);
}

.left-sidebar .category-products .panel-body li a {
	display: block;
	padding: 7px 10px;
	border-radius: var(--radius-sm);
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.3;
}

.left-sidebar .category-products .panel-body li a:hover,
.left-sidebar .category-products .panel-body li a:focus-visible {
	background: var(--rose-pale);
	color: var(--rose-dark) !important;
}

/* O HTML do menu (Utilidades.MenuColecoes) usa cores inline; aqui são alinhadas à paleta. */
.left-sidebar .category-products a[style*="FE980F"] {
	color: var(--rose-dark) !important;
	background: var(--rose-pale);
}

.left-sidebar .category-products a[style*="6699CC"] {
	color: var(--rose-dark) !important;
}

.left-sidebar .category-products a[style*="cccccc"] {
	color: #7A6870 !important;
}

.left-sidebar :focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.left-sidebar h2.colecoes-titulo {
		display: none;
	}

	.left-sidebar .colecoes-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 48px;
		padding: 0 16px;
		border: 1px solid var(--sand-border);
		border-radius: var(--radius);
		background: #fff;
		color: var(--ink);
		font-family: 'DM Sans', 'Roboto', sans-serif;
		font-size: 15px;
		font-weight: 700;
		cursor: pointer;
	}

	.left-sidebar .colecoes-toggle span i {
		margin-right: 6px;
		color: var(--rose-dark);
	}

	.left-sidebar .colecoes-seta {
		transition: transform .15s;
	}

	.left-sidebar .colecoes-toggle[aria-expanded="true"] .colecoes-seta {
		transform: rotate(180deg);
	}

	html.sh-js .left-sidebar #colecoes {
		display: none;
		margin-top: 8px;
	}

	html.sh-js .left-sidebar #colecoes.is-open {
		display: block;
	}

	.left-sidebar .category-products .panel-default .panel-heading .panel-title a {
		min-height: 44px;
		padding: 13px 12px;
	}

	.left-sidebar .category-products .panel-body li a {
		padding: 11px 10px;
	}
}

/* Botão "voltar ao topo" (jquery.scrollUp), padronizado no site */
a#scrollUp {
	right: 14px !important;
	bottom: 16px !important;
	width: 44px;
	height: 44px;
	padding: 0 !important;
	border-radius: 50%;
	background: #A8505F !important;
	color: #fff !important;
	box-shadow: 0 2px 10px rgba(28, 18, 23, .25);
	text-align: center;
	line-height: 44px;
	-webkit-animation: none !important;
	animation: none !important;
}

a#scrollUp:hover {
	background: #8E4150 !important;
}

a#scrollUp i {
	font-size: 22px !important;
	line-height: 44px;
}
