/**
 * Sevilla Privé — contacto, entrar / criar conta, minha conta e favoritos.
 * Visual próprio da loja: títulos à esquerda, campos com fundo cinzento e sem borda, cantos retos,
 * pílulas entre linhas finas para navegar e o dourado da marca nos pormenores.
 */

/* ---------------------------------------------------------------------------
 * Campos (fundo cinzento, como na referência)
 * ------------------------------------------------------------------------- */

.fsp-contact2 .fsp-field input,
.fsp-contact2 .fsp-field textarea,
.fsp-site .woocommerce .fsp-acc input.input-text,
.fsp-site .woocommerce .fsp-acc select,
.fsp-site .woocommerce .fsp-acc textarea {
	width: 100%;
	min-height: 46px;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 0;
	background: #f1f1f1;
	color: var(--fsp-color-text);
	font-family: var(--fsp-font-body);
	font-size: 15px;
	box-shadow: none;
	transition: border-color var(--fsp-duration) var(--fsp-ease), background-color var(--fsp-duration) var(--fsp-ease);
}

.fsp-contact2 .fsp-field textarea,
.fsp-site .woocommerce .fsp-acc textarea {
	min-height: 140px;
	resize: vertical;
}

.fsp-contact2 .fsp-field input:focus,
.fsp-contact2 .fsp-field textarea:focus,
.fsp-site .woocommerce .fsp-acc input.input-text:focus,
.fsp-site .woocommerce .fsp-acc select:focus,
.fsp-site .woocommerce .fsp-acc textarea:focus {
	border-color: var(--fsp-color-text);
	background: var(--fsp-color-bg);
	outline: none;
}

.fsp-contact2 .fsp-field label,
.fsp-acc .form-row label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: -0.01em;
}

.fsp-acc .form-row,
.fsp-contact2 .fsp-field {
	margin: 0 0 16px;
	padding: 0;
}

.fsp-contact2 .fsp-field label span {
	color: var(--fsp-color-muted);
}

/* ---------------------------------------------------------------------------
 * Contacto
 * ------------------------------------------------------------------------- */

.fsp-contact2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	min-width: 0;
	padding-bottom: 24px;
}

@media (min-width: 1024px) {
	.fsp-contact2 {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(40px, 5vw, 80px);
		align-items: start;
	}
}

/* Formulário dentro de uma página do Elementor (shortcode num widget): margens da loja. */
.fsp-elementor-content .fsp-contact2,
.elementor-widget-shortcode .fsp-contact2 {
	width: 100%;
	max-width: calc(var(--fsp-container) + (var(--fsp-gutter) * 2));
	margin-inline: auto;
	padding: 32px var(--fsp-gutter) 48px;
}

.fsp-contact2__form {
	min-width: 0;
}

.fsp-contact2 .fsp-field input,
.fsp-contact2 .fsp-field textarea,
.fsp-contact2__panel {
	box-sizing: border-box;
	max-width: 100%;
}

.fsp-contact2__title {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.fsp-contact2__intro {
	margin: 10px 0 28px;
	color: var(--fsp-color-muted);
	font-size: 14px;
	line-height: 1.55;
}

.fsp-contact2__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 16px;
}

@media (min-width: 600px) {
	.fsp-contact2__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.fsp-contact2__form .fsp-button {
	min-height: 48px;
	margin-top: 4px;
	padding-inline: 36px;
	font-size: 16px;
}

@media (max-width: 599px) {
	.fsp-contact2__form .fsp-button {
		width: 100%;
	}
}

.fsp-contact2__form .fsp-form-message {
	margin-top: 14px;
}

/* Painel preto à direita. */
.fsp-contact2__panel {
	min-width: 0;
	padding: 28px 20px;
	background: var(--fsp-color-dark);
	color: #fff;
	overflow-wrap: anywhere;
}

@media (min-width: 600px) {
	.fsp-contact2__panel {
		padding: 36px 32px;
	}
}

@media (min-width: 1024px) {
	.fsp-contact2__panel {
		position: sticky;
		top: calc(var(--fsp-admin-bar) + var(--fsp-header-total) + 24px);
		padding: 40px;
	}
}

.fsp-contact2__block {
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.fsp-contact2__eyebrow {
	margin-bottom: 10px;
	color: var(--fsp-color-accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fsp-contact2__panel-title {
	font-size: clamp(22px, 2.4vw, 26px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.fsp-contact2__text {
	margin: 10px 0 22px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
}

.fsp-site a.fsp-contact2__wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 10px 20px;
	background: #fff;
	color: #000;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.fsp-site a.fsp-contact2__wa:hover {
	background: var(--fsp-color-accent);
}

.fsp-contact2__wa .fsp-icon {
	width: 22px;
	height: 22px;
}

.fsp-contact2__list {
	display: grid;
	gap: 20px;
	margin: 26px 0 0;
}

.fsp-contact2__list dt {
	margin-bottom: 6px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
}

.fsp-contact2__list dd {
	margin: 0;
	font-size: 15px;
}

.fsp-contact2__list a:hover {
	text-decoration: underline;
}

.fsp-contact2__social .fsp-icon {
	width: 20px;
	height: 20px;
}

/* ---------------------------------------------------------------------------
 * Entrar / Criar conta: ecrã dividido, um formulário de cada vez
 * ------------------------------------------------------------------------- */

.fsp-page--auth .woocommerce-notices-wrapper:not(:empty) {
	max-width: 520px;
	margin: 24px auto 0;
	padding-inline: 16px;
}

/* Avisos já dentro do formulário (movidos pelo script do template). */
.fsp-page--auth .fsp-auth__box > .fsp-auth__notices {
	max-width: none;
	margin: 0 0 24px;
	padding: 0;
}

/* Ecrã dividido de ponta a ponta (sem o limite de largura das páginas do WooCommerce). */
.fsp-page--auth .fsp-wc-page {
	max-width: none;
}

.fsp-auth {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border-top: 1px solid var(--fsp-color-border);
}

@media (min-width: 960px) {
	.fsp-auth {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* Painel da marca. */
.fsp-auth__visual {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	min-height: 220px;
	padding: 28px 20px;
	background: #000;
	color: #fff;
}

@media (min-width: 960px) {
	.fsp-auth__visual {
		min-height: 0;
		padding: 48px 56px;
	}
}

.fsp-auth__visual::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 3px;
	background: var(--fsp-color-accent);
}

/* Sem imagem: monograma em contorno dourado ao fundo. */
.fsp-auth__visual:not(.has-image)::after {
	content: "SP";
	position: absolute;
	top: 50%;
	right: -0.04em;
	color: transparent;
	font-size: clamp(180px, 30vw, 460px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.06em;
	-webkit-text-stroke: 1px rgba(176, 141, 60, 0.4);
	transform: translateY(-50%);
	pointer-events: none;
}

.fsp-auth__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fsp-auth__visual.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.72) 100%);
}

.fsp-auth__visual-inner {
	position: relative;
	z-index: 1;
	max-width: 440px;
}

.fsp-auth__visual-eyebrow {
	margin: 0 0 12px;
	color: var(--fsp-color-accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fsp-auth__visual-title {
	margin: 0;
	font-size: clamp(30px, 4.4vw, 56px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.fsp-auth__benefits {
	display: none;
	gap: 14px;
	margin: 32px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	list-style: none;
	font-size: 15px;
}

@media (min-width: 960px) {
	.fsp-auth__benefits {
		display: grid;
	}
}

.fsp-auth__benefits li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.86);
}

.fsp-auth__benefits .fsp-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--fsp-color-accent);
}

/* Formulário. */
.fsp-auth__panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px 56px;
	background: var(--fsp-color-bg);
}

@media (min-width: 960px) {
	.fsp-auth__panel {
		padding: 48px;
	}
}

.fsp-auth__box {
	width: 100%;
	max-width: 420px;
}

.fsp-auth__eyebrow {
	margin: 0 0 10px;
	color: var(--fsp-color-accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fsp-site .fsp-auth__title {
	margin: 0;
	font-size: clamp(34px, 4vw, 44px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.045em;
}

.fsp-auth__intro {
	margin: 12px 0 28px;
	color: var(--fsp-color-muted);
	font-size: 15px;
	line-height: 1.5;
}

.fsp-site .woocommerce .fsp-auth input.input-text {
	width: 100%;
	min-height: 50px;
	padding: 13px 14px;
	border: 1px solid transparent;
	border-radius: 0;
	background: #f1f1f1;
	color: var(--fsp-color-text);
	font-family: var(--fsp-font-body);
	font-size: 15px;
	box-shadow: none;
	transition: border-color var(--fsp-duration) var(--fsp-ease), background-color var(--fsp-duration) var(--fsp-ease);
}

.fsp-site .woocommerce .fsp-auth input.input-text:focus {
	border-color: var(--fsp-color-text);
	background: var(--fsp-color-bg);
	outline: none;
}

.fsp-auth .form-row {
	margin: 0 0 18px;
	padding: 0;
}

.fsp-auth .form-row label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.fsp-auth .required {
	color: var(--fsp-color-muted);
}

.fsp-auth__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 2px 0 26px;
	font-size: 13px;
}

.fsp-auth__row label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
}

.fsp-auth__row input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #000;
}

.fsp-auth__hint {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 24px;
	padding: 14px 16px;
	background: #f6f3ec;
	font-size: 13px;
	line-height: 1.5;
}

.fsp-auth__hint .fsp-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--fsp-color-accent);
}

.fsp-site .fsp-auth .fsp-button--block {
	width: 100%;
	min-height: 52px;
	font-size: 16px;
}

.fsp-auth__alt {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--fsp-color-border);
}

.fsp-auth__alt-text {
	margin: 0 0 14px;
	color: var(--fsp-color-muted);
	font-size: 14px;
	line-height: 1.5;
}

.fsp-site .fsp-auth a.fsp-button--outline {
	border: 1px solid var(--fsp-color-button);
	background: transparent;
	color: var(--fsp-color-button);
}

.fsp-site .fsp-auth a.fsp-button--outline:hover {
	background: var(--fsp-color-button);
	color: var(--fsp-color-button-text);
}

/* Recuperar contraseña (formulário nativo do WooCommerce). */
.fsp-page--account .woocommerce-ResetPassword {
	max-width: 480px;
}

.fsp-page--account .woocommerce-ResetPassword .input-text {
	width: 100%;
	min-height: 46px;
	padding: 12px 14px;
	border: 1px solid transparent;
	background: #f1f1f1;
}

/* ---------------------------------------------------------------------------
 * Minha conta: barra de páginas + conteúdo
 * ------------------------------------------------------------------------- */

.fsp-acc {
	padding-bottom: 32px;
}

.fsp-acc-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 calc(var(--fsp-gutter) * -1) 32px;
	padding: 10px var(--fsp-gutter);
	border-block: 1px solid var(--fsp-color-border);
}

@media (min-width: 1024px) {
	.fsp-acc-nav {
		margin-bottom: 44px;
	}
}

.fsp-acc-nav__list {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	margin: 0;
	padding: 0;
	list-style: none;
	scrollbar-width: none;
}

.fsp-acc-nav__list::-webkit-scrollbar {
	display: none;
}

.fsp-acc-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 16px;
	border: 1px solid #d6d6d6;
	border-radius: 999px;
	font-size: 13px;
	white-space: nowrap;
	transition: border-color var(--fsp-duration) var(--fsp-ease);
}

.fsp-acc-nav__link:hover {
	border-color: var(--fsp-color-text);
}

.fsp-acc-nav__link.is-current {
	border-color: var(--fsp-color-text);
	background: var(--fsp-color-text);
	color: var(--fsp-color-bg);
}

.fsp-acc-nav__logout {
	flex-shrink: 0;
	color: var(--fsp-color-muted);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fsp-acc-nav__logout:hover {
	color: var(--fsp-color-text);
}

@media (max-width: 599px) {
	.fsp-acc-nav__logout {
		display: none;
	}
}

.fsp-acc__content > h2,
.fsp-acc__content > h3,
.fsp-acc__content .woocommerce-column__title {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

/* Resumo. */
.fsp-acc-dash {
	display: grid;
	gap: 28px;
}

@media (min-width: 1024px) {
	.fsp-acc-dash {
		gap: 40px;
	}
}

.fsp-acc-dash__hello h2 {
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
}

@media (min-width: 1024px) {
	.fsp-acc-dash__hello h2 {
		font-size: 44px;
	}
}

.fsp-acc-dash__hello p {
	margin-top: 10px;
	color: var(--fsp-color-muted);
	font-size: 14px;
}

.fsp-acc-dash__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsp-acc-dash__stats a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
	min-height: 120px;
	padding: 16px;
	background: var(--fsp-color-soft);
	transition: background-color var(--fsp-duration) var(--fsp-ease);
}

@media (min-width: 1024px) {
	.fsp-acc-dash__stats a {
		min-height: 160px;
		padding: 24px;
	}
}

.fsp-acc-dash__stats a:hover {
	background: #ebebeb;
}

.fsp-acc-dash__num {
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
}

@media (min-width: 1024px) {
	.fsp-acc-dash__num {
		font-size: 40px;
	}
}

.fsp-acc-dash__label {
	color: var(--fsp-color-muted);
	font-size: 12px;
}

@media (min-width: 1024px) {
	.fsp-acc-dash__label {
		font-size: 14px;
	}
}

.fsp-acc-dash__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.fsp-acc-dash__head h3 {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.fsp-acc-dash__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

@media (min-width: 768px) {
	.fsp-acc-dash__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
	}

	.fsp-acc-dash__grid .fsp-acc-dash__block {
		padding: 24px;
		border: 1px solid var(--fsp-color-border);
	}
}

.fsp-acc-dash__text {
	color: var(--fsp-color-muted);
	font-size: 14px;
	line-height: 1.55;
}

.fsp-acc-dash__empty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px;
	border: 1px dashed #cfcfcf;
	color: var(--fsp-color-muted);
	font-size: 14px;
}

/* Pedidos recentes (lista). */
.fsp-acc-orders {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--fsp-color-border);
	list-style: none;
}

.fsp-acc-orders li {
	border-bottom: 1px solid var(--fsp-color-border);
}

.fsp-acc-orders__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px 16px;
	padding: 14px 0;
}

@media (min-width: 768px) {
	.fsp-acc-orders__row {
		grid-template-columns: 150px minmax(0, 1fr) auto 110px;
	}
}

.fsp-acc-orders__row:hover .fsp-acc-orders__main strong {
	text-decoration: underline;
}

.fsp-acc-orders__thumbs {
	display: flex;
	gap: 4px;
}

.fsp-acc-orders__thumbs img {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: cover;
	background: var(--fsp-color-soft);
}

@media (max-width: 767px) {
	.fsp-acc-orders__thumbs img:not(:first-child) {
		display: none;
	}
}

.fsp-acc-orders__main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.fsp-acc-orders__main strong {
	font-size: 14px;
	font-weight: 600;
}

.fsp-acc-orders__main small {
	overflow: hidden;
	color: var(--fsp-color-muted);
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.fsp-acc-orders__total {
	font-size: 14px;
	font-weight: 600;
	text-align: right;
}

@media (max-width: 767px) {
	.fsp-acc-orders__status {
		grid-column: 2;
	}

	.fsp-acc-orders__total {
		grid-row: 1;
		grid-column: 3;
	}
}

/* ---------------------------------------------------------------------------
 * Favoritos
 * ------------------------------------------------------------------------- */

.fsp-wish-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 calc(var(--fsp-gutter) * -1) 24px;
	padding: 14px var(--fsp-gutter);
	border-block: 1px solid var(--fsp-color-border);
	font-size: 13px;
}

@media (min-width: 1024px) {
	.fsp-wish-bar {
		margin-bottom: 38px;
	}
}

.fsp-wish-empty {
	display: flex;
	padding: 36px 0;
	border-top: 1px solid var(--fsp-color-border);
}

@media (min-width: 1024px) {
	.fsp-wish-empty {
		padding: 56px 0;
	}
}

.fsp-wish-empty__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	max-width: 460px;
	color: var(--fsp-color-muted);
	font-size: 14px;
}

.fsp-wish-empty__title {
	color: var(--fsp-color-text);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.fsp-wish-empty__text .fsp-button {
	margin-top: 10px;
}

.fsp-wish-suggest {
	padding-top: 32px;
	border-top: 1px solid var(--fsp-color-border);
}

.fsp-acc-orders .fsp-status {
	display: inline-flex;
	padding: 3px 8px;
	background: var(--fsp-color-soft);
	font-size: 12px;
	white-space: nowrap;
}

.fsp-acc-orders .fsp-status--progress,
.fsp-acc-orders .fsp-status--wait {
	background: #f6f0e2;
	color: #6b5420;
}

.fsp-acc-orders .fsp-status--done {
	background: #e9f4ed;
	color: #1f7a45;
}
