/* ==========================================================================
   TIENDA — /tienda y categorías de producto
   Paleta oficial: crema, oscuro, dorado, beige. Georgia para títulos.
   Mobile first. Solo se carga en la tienda.
   ========================================================================== */

:root {
	--fcs-cream: #F5F0EB;
	--fcs-dark:  #1A1A1A;
	--fcs-gold:  #9A7D4E;
	--fcs-gold-hover: #82683E;
	--fcs-beige: #D4C4A8;
	--fcs-gray:  #6B6B6B;
	--fcs-white: #FFFFFF;

	--fcs-serif: Georgia, 'Times New Roman', serif;
	--fcs-sans:  'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.fcs-tienda {
	font-family: var(--fcs-sans);
	color: var(--fcs-dark);
}

/* --------------------------------------------------------------------------
   Utilidades
   -------------------------------------------------------------------------- */

.fcs-bleed {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.fcs-wrap {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.fcs-seccion {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.fcs-titulo-seccion {
	font-family: var(--fcs-serif);
	font-weight: 400;
	font-size: 1.625rem;
	color: var(--fcs-dark);
	margin: 0 0 1.75rem;
}

/* Botones propios de la tienda */
.fcs-btn {
	display: inline-block;
	font-family: var(--fcs-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	padding: 0.875rem 1.5rem;
	border-radius: 10px;
	border: 1.5px solid transparent;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
	cursor: pointer;
}

.fcs-btn--oro {
	background: var(--fcs-gold);
	color: var(--fcs-white);
}

.fcs-btn--oro:hover,
.fcs-btn--oro:focus {
	background: var(--fcs-gold-hover);
	color: var(--fcs-white);
	transform: translateY(-1px);
}

.fcs-btn--wsp {
	background: var(--fcs-white);
	color: var(--fcs-gold);
	border-color: var(--fcs-beige);
}

.fcs-btn--wsp:hover,
.fcs-btn--wsp:focus {
	border-color: var(--fcs-gold);
	color: var(--fcs-gold-hover);
	background: var(--fcs-cream);
}

.fcs-btn--claro {
	background: var(--fcs-white);
	color: var(--fcs-dark);
}

.fcs-btn--claro:hover,
.fcs-btn--claro:focus {
	background: var(--fcs-cream);
	color: var(--fcs-dark);
}

.fcs-btn--borde {
	background: transparent;
	color: var(--fcs-white);
	border-color: var(--fcs-beige);
}

.fcs-btn--borde:hover,
.fcs-btn--borde:focus {
	background: rgba(212, 196, 168, 0.18);
	color: var(--fcs-white);
}

/* ==========================================================================
   1. ENCABEZADO
   ========================================================================== */

.fcs-encabezado {
	background: var(--fcs-cream);
	border-bottom: 1px solid var(--fcs-beige);
	padding: 3.5rem 0 3rem;
	animation: fcs-aparece 0.7s ease both;
}

.fcs-encabezado__inner {
	text-align: center;
}

.fcs-encabezado__titulo {
	font-family: var(--fcs-serif);
	font-weight: 400;
	font-size: 2rem;
	color: var(--fcs-dark);
	margin: 0 0 0.75rem;
}

.fcs-encabezado__texto {
	color: var(--fcs-gray);
	font-size: 1.0625rem;
	max-width: 34rem;
	margin: 0 auto;
}

/* Separador dorado fino bajo el título */
.fcs-encabezado__titulo::after {
	content: '';
	display: block;
	width: 3.5rem;
	height: 2px;
	background: var(--fcs-gold);
	margin: 1rem auto 0;
}

@keyframes fcs-aparece {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   2. CONFIANZA
   ========================================================================== */

.fcs-confianza__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.fcs-confianza__item {
	margin: 0;
	background: var(--fcs-white);
	border: 1px solid var(--fcs-beige);
	border-radius: 12px;
	padding: 1.375rem 1.5rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fcs-confianza__item:hover {
	transform: translateY(-3px);
	border-color: var(--fcs-gold);
	box-shadow: 0 14px 30px -18px rgba(26, 26, 26, 0.25);
}

.fcs-confianza__item .fc-icono {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--fcs-gold);
	margin-bottom: 0.625rem;
}

.fcs-confianza__item h2 {
	font-family: var(--fcs-serif);
	font-weight: 400;
	font-size: 1.0625rem;
	color: var(--fcs-dark);
	margin: 0 0 0.25rem;
}

.fcs-confianza__item p {
	font-size: 0.875rem;
	color: var(--fcs-gray);
	margin: 0;
}

/* ==========================================================================
   3. AYUDA POR WHATSAPP
   ========================================================================== */

.fcs-ayuda {
	padding-top: 0;
}

.fcs-ayuda__inner {
	background: var(--fcs-white);
	border: 1px solid var(--fcs-beige);
	border-left: 4px solid var(--fcs-gold);
	border-radius: 12px;
	padding: 1.5rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.fcs-ayuda__texto h2 {
	font-family: var(--fcs-serif);
	font-weight: 400;
	font-size: 1.25rem;
	color: var(--fcs-dark);
	margin: 0 0 0.25rem;
}

.fcs-ayuda__texto p {
	color: var(--fcs-gray);
	font-size: 0.9375rem;
	margin: 0;
}

/* ==========================================================================
   4. CATEGORÍAS VISUALES
   ========================================================================== */

.fcs-categorias {
	padding-top: 0;
}

.fcs-categorias__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.fcs-categorias__grid::-webkit-scrollbar {
	display: none;
}

.fcs-categoria {
	margin: 0;
	flex: 0 0 clamp(13rem, 74vw, 17rem);
	max-width: clamp(13rem, 74vw, 17rem);
	scroll-snap-align: start;
}

/* Señal sutil de "desliza" (solo móvil) */
.fcs-carrusel-hint {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.4rem;
	font-size: 0.8125rem;
	color: var(--fcs-gold);
	margin: 0.75rem 0.25rem 0;
}

.fcs-carrusel-hint::after {
	content: '→';
	font-size: 1rem;
	animation: fcs-nudge 1.6s ease-in-out infinite;
}

@keyframes fcs-nudge {
	0%, 100% { transform: translateX(0); }
	50%      { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
	.fcs-carrusel-hint::after {
		animation: none;
	}
}

.fcs-categoria__enlace {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--fcs-white);
	border: 1px solid var(--fcs-beige);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fcs-categoria__enlace:hover,
.fcs-categoria__enlace:focus {
	transform: translateY(-4px);
	border-color: var(--fcs-gold);
	box-shadow: 0 16px 34px -20px rgba(26, 26, 26, 0.3);
}

.fcs-categoria__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background: var(--fcs-cream);
	overflow: hidden;
}

.fcs-categoria__visual img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6%;
	transition: transform 0.4s ease;
}

.fcs-categoria__enlace:hover .fcs-categoria__visual img {
	transform: scale(1.03);
}

.fcs-categoria__visual--oscuro {
	background:
		radial-gradient(ellipse 90% 120% at 50% -20%, rgba(212, 196, 168, 0.3), transparent 70%),
		var(--fcs-dark);
}

.fcs-categoria__marca {
	font-family: var(--fcs-serif);
	font-size: 1.5rem;
	color: var(--fcs-gold);
	letter-spacing: 0.04em;
}

.fcs-categoria__visual--oscuro .fcs-categoria__marca {
	color: var(--fcs-beige);
}

.fcs-categoria__titulo {
	font-family: var(--fcs-serif);
	font-size: 1.125rem;
	color: var(--fcs-dark);
	padding: 1rem 1.25rem 0;
}

.fcs-categoria__texto {
	font-size: 0.875rem;
	color: var(--fcs-gray);
	padding: 0.25rem 1.25rem 0;
}

.fcs-categoria__cta {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--fcs-gold);
	padding: 0.875rem 1.25rem 1.25rem;
	margin-top: auto;
}

.fcs-categoria__enlace:hover .fcs-categoria__cta {
	text-decoration: underline;
}

/* ==========================================================================
   5. ORDENAMIENTO
   ========================================================================== */

.fcs-catalogo .storefront-sorting {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
	font-size: 0.875rem;
	color: var(--fcs-gray);
}

.fcs-catalogo .storefront-sorting form,
.fcs-catalogo .woocommerce-ordering {
	margin: 0;
}

.fcs-catalogo .woocommerce-ordering select.orderby {
	width: 100%;
	background: var(--fcs-white);
	border: 1px solid var(--fcs-beige);
	border-radius: 10px;
	color: var(--fcs-gray);
	font-family: var(--fcs-sans);
	font-size: 0.9375rem;
	padding: 0.75rem 2.25rem 0.75rem 1rem;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%239A7D4E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.fcs-catalogo .woocommerce-ordering select.orderby:hover,
.fcs-catalogo .woocommerce-ordering select.orderby:focus {
	border-color: var(--fcs-gold);
}

/* El segundo bloque de ordenamiento (bajo la grilla) no aporta */
.fcs-catalogo ul.products ~ .storefront-sorting {
	display: none;
}

/* ==========================================================================
   6-7. GRILLA DE PRODUCTOS
   ========================================================================== */

.fcs-catalogo {
	background: var(--fcs-cream);
	padding-top: 3rem;
	padding-bottom: 3.5rem;
}

.fcs-catalogo ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.875rem;
	margin: 0 0 2rem !important;
	padding: 0;
	list-style: none;
}

.fcs-catalogo ul.products::before,
.fcs-catalogo ul.products::after {
	display: none !important;
}

.fcs-catalogo ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	background: var(--fcs-white);
	border: 1px solid var(--fcs-beige);
	border-radius: 14px;
	padding: 1rem 1rem 1.375rem !important;
	box-shadow: 0 10px 28px -22px rgba(26, 26, 26, 0.22);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	text-align: center;
}

.fcs-catalogo ul.products li.product:hover {
	transform: translateY(-4px);
	border-color: var(--fcs-gold);
	box-shadow: 0 20px 44px -24px rgba(26, 26, 26, 0.35);
}

/* Imagen completa, centrada, con aire */
.fcs-catalogo ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--fcs-cream);
	border-radius: 10px;
	padding: 5%;
	margin: 0 0 1rem !important;
	box-sizing: border-box;
}

.fcs-catalogo ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--fcs-serif);
	font-weight: 400;
	font-size: 1.125rem;
	color: var(--fcs-dark);
	padding: 0 0.5rem;
	margin-bottom: 0.25rem;
}

.fcs-catalogo ul.products li.product .price {
	display: block;
	color: var(--fcs-gold) !important;
	font-size: 1.0625rem;
	font-weight: 600;
	margin-bottom: 0.875rem;
}

/* Botones de cada tarjeta */
.fcs-acciones {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: auto;
	padding: 0 0.25rem;
}

.fcs-acciones .fcs-btn {
	width: 100%;
}

/* En móvil las tarjetas van en 2 columnas: compactamos para que quepan bien */
@media (max-width: 599px) {
	.fcs-catalogo ul.products li.product {
		padding: 0.75rem 0.75rem 1rem !important;
	}

	.fcs-catalogo ul.products li.product a img {
		padding: 3%;
		margin-bottom: 0.625rem !important;
	}

	.fcs-catalogo ul.products li.product .woocommerce-loop-product__title {
		font-size: 1rem;
	}

	.fcs-catalogo ul.products li.product .price {
		font-size: 1rem;
	}

	.fcs-acciones {
		gap: 0.375rem;
		padding: 0;
	}

	.fcs-acciones .fcs-btn {
		font-size: 0.8125rem;
		padding: 0.6rem 0.4rem;
	}
}

/* Paginación */
.fcs-catalogo .woocommerce-pagination ul.page-numbers {
	border: none;
	display: flex;
	justify-content: center;
	gap: 0.375rem;
}

.fcs-catalogo .woocommerce-pagination ul.page-numbers li {
	border: none;
}

.fcs-catalogo .woocommerce-pagination .page-numbers {
	background: var(--fcs-white);
	border: 1px solid var(--fcs-beige);
	border-radius: 8px;
	color: var(--fcs-gray);
	padding: 0.5rem 0.875rem;
}

.fcs-catalogo .woocommerce-pagination .page-numbers.current,
.fcs-catalogo .woocommerce-pagination .page-numbers:hover {
	background: var(--fcs-gold);
	border-color: var(--fcs-gold);
	color: var(--fcs-white);
}

/* ==========================================================================
   9. ASESORÍA FINAL
   ========================================================================== */

.fcs-asesoria {
	background:
		radial-gradient(ellipse 100% 90% at 50% 115%, rgba(212, 196, 168, 0.18), transparent 65%),
		var(--fcs-dark);
	padding: 3.5rem 0 4rem;
}

.fcs-asesoria__inner {
	text-align: center;
}

.fcs-asesoria h2 {
	font-family: var(--fcs-serif);
	font-weight: 400;
	font-size: 1.75rem;
	color: var(--fcs-white);
	margin: 0 0 0.75rem;
}

.fcs-asesoria p {
	color: var(--fcs-beige);
	max-width: 36rem;
	margin: 0 auto 1.75rem;
}

.fcs-asesoria__acciones {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.875rem;
}

/* ==========================================================================
   10. BLOG
   ========================================================================== */

.fcs-blog__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}

.fcs-blog__item {
	margin: 0;
}

.fcs-blog__tarjeta {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--fcs-white);
	border: 1px solid var(--fcs-beige);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fcs-blog__tarjeta:hover {
	transform: translateY(-4px);
	border-color: var(--fcs-gold);
	box-shadow: 0 16px 34px -20px rgba(26, 26, 26, 0.3);
}

.fcs-blog__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background:
		radial-gradient(ellipse 90% 120% at 50% -20%, rgba(212, 196, 168, 0.28), transparent 70%),
		var(--fcs-dark);
	overflow: hidden;
	text-decoration: none;
}

.fcs-blog__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fcs-blog__inicial {
	font-family: var(--fcs-serif);
	font-size: 3rem;
	color: var(--fcs-beige);
	line-height: 1;
}

.fcs-blog__cuerpo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1;
	padding: 1.125rem 1.25rem 1.375rem;
}

.fcs-blog__fecha {
	font-family: var(--fcs-serif);
	font-size: 0.8125rem;
	color: var(--fcs-gold);
	letter-spacing: 0.05em;
	margin-bottom: 0.375rem;
}

.fcs-blog__titulo {
	font-family: var(--fcs-serif);
	font-weight: 400;
	font-size: 1.1875rem;
	line-height: 1.3;
	margin: 0 0 0.5rem;
}

.fcs-blog__titulo a {
	color: var(--fcs-dark);
	text-decoration: none;
}

.fcs-blog__titulo a:hover {
	color: var(--fcs-gold);
}

.fcs-blog__extracto {
	font-size: 0.875rem;
	color: var(--fcs-gray);
	margin: 0 0 1rem;
}

.fcs-blog__leer {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--fcs-gold);
	text-decoration: none;
	margin-top: auto;
}

.fcs-blog__leer:hover {
	text-decoration: underline;
}

/* ==========================================================================
   8. WHATSAPP FLOTANTE
   ========================================================================== */

.fcs-flotante {
	position: fixed;
	right: 1.125rem;
	bottom: 1.125rem;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--fcs-white);
	border: 1.5px solid var(--fcs-gold);
	border-radius: 999px;
	color: var(--fcs-gold-hover);
	font-family: var(--fcs-sans);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	padding: 0.75rem 1.125rem;
	box-shadow: 0 10px 26px -12px rgba(26, 26, 26, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.fcs-flotante:hover,
.fcs-flotante:focus {
	transform: translateY(-2px);
	background: var(--fcs-cream);
	color: var(--fcs-gold-hover);
	box-shadow: 0 14px 32px -12px rgba(26, 26, 26, 0.4);
}

.fcs-flotante .fc-icono {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--fcs-gold);
	flex-shrink: 0;
}

.fcs-flotante__texto--desktop {
	display: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 600px) {

	.fcs-confianza__lista {
		grid-template-columns: repeat(2, 1fr);
	}

	.fcs-categorias__grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		overflow: visible;
	}

	.fcs-categoria {
		max-width: none;
	}

	.fcs-carrusel-hint {
		display: none;
	}

	.fcs-catalogo ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.75rem;
	}

	.fcs-blog__lista {
		grid-template-columns: repeat(3, 1fr);
	}

	.fcs-flotante__texto--desktop {
		display: inline;
	}

	.fcs-flotante__texto--mobile {
		display: none;
	}
}

@media (min-width: 1024px) {

	.fcs-seccion {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.fcs-encabezado {
		padding: 4.5rem 0 4rem;
	}

	.fcs-encabezado__titulo {
		font-size: 2.625rem;
	}

	.fcs-titulo-seccion {
		font-size: 1.875rem;
	}

	.fcs-confianza__lista {
		grid-template-columns: repeat(4, 1fr);
	}

	.fcs-ayuda__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.fcs-categorias__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	/* Ordenamiento: contador a la izquierda, selector a la derecha */
	.fcs-catalogo .storefront-sorting {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.fcs-catalogo .woocommerce-ordering select.orderby {
		width: auto;
		min-width: 16rem;
	}

	.fcs-catalogo ul.products {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.fcs-asesoria h2 {
		font-size: 2.125rem;
	}

	.fcs-flotante {
		right: 1.5rem;
		bottom: 1.5rem;
	}
}

/* ==========================================================================
   Accesibilidad
   ========================================================================== */

.fcs-tienda a:focus-visible,
.fcs-tienda .fcs-btn:focus-visible,
.fcs-flotante:focus-visible {
	outline: 2px solid var(--fcs-gold);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.fcs-tienda *,
	.fcs-tienda *::before,
	.fcs-tienda *::after,
	.fcs-flotante {
		transition: none !important;
		animation: none !important;
	}
}
