:root,
html {
	color-scheme: only light;
	scroll-behavior: smooth;
}

:root {
	--site-color-primary:    #001835;
	--site-color-azul:       #001835;
	--site-color-rojo:       #A11512;
	--site-color-amarillo:   #ECAC0C;
	--site-color-crema:      #F0E7D6;
	--site-color-gris:       #4A525B;
	--site-color-text:       #4A525B;
	--site-color-accent:     #7A8490;
	--site-color-border:     #D4C9B8;
	--site-color-white:      #FFFFFF;
	--site-color-bg:         #f9f6ef;

	--site-typography-primary-font-family: "Google Sans";
	--site-typography-accent-font-family: "Playfair Display";

	--site-transition: 0.3s ease;

	--site-bp-laptop: 1300px;
	--site-bp-tablet: 1024px;
	--site-bp-mobile: 768px;
}

/* ================================
   SECTION
   ================================ */
section {
	padding: 70px 0 !important;
}

@media (max-width: 1024px) {
	section { padding: 40px 0 !important; }
}

/* ================================
   BASE
   ================================ */
body {
	background: var(--site-color-bg);
	font-family: var(--site-typography-primary-font-family), sans-serif;
	color: var(--site-color-text);
}

h1, h2, h3, h4, h5 {
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 0px;
	font-weight: 400;
	color: var(--site-color-primary);
}

h1 {
	font-size: 76px;
	line-height: 0.7em;
}

@media (max-width: 1024px) {
	h1 { font-size: 48px; }
}

@media (max-width: 768px) {
	h1 { font-size: 44px; }
}

h2 {
	font-size: 54px;
	line-height: 0.8;
	color: var(--site-color-primary);
}

@media (max-width: 768px) {
	h2 { font-size: 32px; }
}

h3 {
	font-size: 26px;
	color: var(--site-color-primary);
}

@media (max-width: 768px) {
	h3 { font-size: 22px; }
}

h4 {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.5px;
}

p,
li {
	font-size: 18px;
	color: var(--site-color-text);
	line-height: 1.5em;
}

ol {
	padding: 5px 0 5px 20px;
}

p strong,
p b {
	font-weight: 600;
}

/* ---- Accent text (Playfair Display italic) ---- */
.text-accent,
.fp-banner__accent {
	font-family: var(--site-typography-accent-font-family), serif;
	font-style: italic;
	font-weight: 400;
	color: var(--site-color-rojo);
}

/* ---- Handwritten accent (Rock Salt) ---- */
.text-hand {
	font-family: "Permanent Marker", cursive;
	font-weight: 500;
	font-size: 62px;
	color: var(--site-color-rojo);
	display: block;
	transform: rotate(-4deg);
	margin-top: -13px;
	margin-bottom: 33px;
}

/* ---- Botones ---- */
.btn-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	padding: 14px 28px;
	border-radius: 0;
	border: none;
	text-decoration: none;
	transition: opacity var(--site-transition);
	background: var(--site-color-rojo);
	font-family: var(--site-typography-primary-font-family), sans-serif;
	cursor: pointer;
}

.btn-cta:hover {
	opacity: 0.88;
	color: #fff;
}

.btn-cta svg {
	width: 20px;
	height: 20px;
	fill: #fff;
	flex-shrink: 0;
}

/* ---- Link general ---- */
.link-general {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: var(--site-color-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.link-general:hover {
	opacity: 0.8;
}

/* ---- Bajada ---- */
.bajada *,
.bajada {
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1.3em !important;
	letter-spacing: 0 !important;
	word-spacing: 0 !important;
}

/* ---- Card standard ---- */
.card-standar {
	background: var(--site-color-white);
	border: 1px solid var(--site-color-border);
	border-radius: 0;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	overflow: hidden;
}

.card-standar p,
.card-standar li {
	font-size: 18px;
	color: var(--site-color-text);
	line-height: 1.3em;
}

/* ================================
   INNER CONTAINER
   ================================ */
.site-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 30px !important;
}

@media (max-width: 1024px) {
	.site-inner { max-width: 920px !important; padding: 0 30px !important; }
}

@media (max-width: 768px) {
	.site-inner { max-width: 500px !important; padding: 0 30px !important; }
}

/* ================================
   SITE HEADER
   ================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 9000;
	width: 100% !important;
	max-width: 100% !important;
	padding: 6px 0 !important;
	background: #fff;
	border-bottom: 1px solid var(--site-color-bg);
	transition: box-shadow 0.3s ease;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 30px;
}

/* ---- Logo ---- */
.site-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.site-header__logo img {
	height: 76px;
	width: auto;
}

@media (max-width: 768px) {
	.site-header__logo img {
		height: 48px;
	}
}

/* ---- Nav desktop ---- */
.site-header__nav .menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 12px;
	align-items: center;
}

.site-header__nav .menu li a {
	font-family: var(--site-typography-primary-font-family), sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: var(--site-color-primary);
	text-decoration: none;
	padding: 0 0 3px 0;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
	white-space: nowrap;
	display: inline-block;
}

.site-header__nav .menu li a:hover {
	color: var(--site-color-rojo);
}

.site-header__nav .menu li.current-menu-item > a,
.site-header__nav .menu li.current-menu-ancestor > a {
	color: var(--site-color-rojo);
	border-bottom-color: var(--site-color-rojo);
}

/* ---- Hamburger ---- */
.site-header__hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: var(--site-color-rojo);
	border: none;
	border-radius: 4px;
	padding: 8px;
	flex-shrink: 0;
	cursor: pointer;
}

.site-header__hamburger span {
	display: block !important;
	width: 24px;
	height: 2px;
	background: #fff !important;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

.site-header__hamburger.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.site-header__hamburger.is-active span:nth-child(2) {
	opacity: 0;
}
.site-header__hamburger.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---- Nav icons ---- */
.menu-icon-svg { display: none !important; }
.menu-icon-label { display: inline; }

@media (min-width: 1025px) {
	.site-header__nav .menu-icon-svg {
		display: inline-flex !important;
		align-items: center;
		width: 1.2em;
		height: 1.2em;
		vertical-align: middle;
		fill: currentColor;
		line-height: 1;
	}
	.site-header__nav .menu-icon-svg svg {
		width: 24px;
		height: 24px;
		display: block;
		fill: inherit;
	}
	.site-header__nav .menu-icon-label { display: none; }
	.site-header__nav .menu-carrito,
	.site-header__nav .menu-user {
		border-left: 1px solid var(--site-color-border);
		padding: 0 0 0 10px;
	}
}

/* ---- Header mobile ---- */
@media (max-width: 1024px) {
	.site-header__inner {
		padding: 0 24px;
	}

	.site-header__hamburger {
		display: flex;
	}

	.site-header__nav {
		position: fixed;
		inset: 80px 0 0 0;
		background: var(--site-color-bg);
		padding: 40px 24px;
		transform: translateX(100%);
		transition: transform 0.35s ease;
		overflow-y: auto;
		z-index: 8999;
	}

	.site-header__nav.is-open {
		transform: translateX(0);
	}

	.site-header__nav .menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.site-header__nav .menu li {
		width: 100%;
		border-bottom: 1px solid var(--site-color-border);
	}

	.site-header__nav .menu li a {
		display: block;
		padding: 16px 0;
		font-size: 18px;
		border-bottom: none;
	}
}

@media (max-width: 768px) {
	.logo-text__main { font-size: 18px; }
	.logo-text__accent { font-size: 12px; }
}

/* ================================
   SITE FOOTER
   ================================ */
.site-footer {
	width: 100%;
	background: var(--site-color-primary);
	font-size: 18px;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer a {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__inner {
	display: flex;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 30px;
}

.site-footer__upper {
	padding: 80px 0 60px 0;
}

.site-footer__upper .site-footer__inner {
	gap: 48px;
	align-items: flex-start;
}

.site-footer__col {
	flex: 1;
}

.site-footer__heading {
	font-family: "Bebas Neue", sans-serif;
	font-size: 30px;
	font-weight: 400;
	color: #fff;
	margin-bottom: 20px;
}

.site-footer__about p,
.site-footer__info p,
.site-footer__cta p {
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 12px;
	font-size: 16px;
}

.site-footer__list {
	list-style: none;
	padding: 0;
	margin: 12px 0;
}

.site-footer__list li {
	color: rgba(255, 255, 255, 0.75);
	font-size: 16px;
	padding: 4px 0;
	line-height: 1.5;
}

.site-footer__slogan {
	font-size: 18px !important;
	font-weight: 600;
	color: #fff !important;
}

/* ---- Instagram ---- */
.site-footer__instagram {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 30px 0;
	text-align: center;
}

.site-footer__instagram .site-footer__inner {
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.site-footer__ig-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.site-footer__ig-handle {
	font-size: 22px;
	font-weight: 600;
	color: #fff;
}

/* ---- Bottom ---- */
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 20px 30px;
	text-align: center;
}

.site-footer__bottom p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
}

/* ---- Footer responsive ---- */
@media (max-width: 1024px) {
	.site-footer__upper .site-footer__inner {
		flex-wrap: wrap;
		gap: 36px;
	}
	.site-footer__col {
		flex: 1 1 calc(50% - 18px);
	}
}

@media (max-width: 768px) {
	.site-footer {
		text-align: center;
	}
	.site-footer__upper .site-footer__inner {
		flex-direction: column;
		gap: 32px;
	}
	.site-footer__col {
		flex: 1 1 100%;
	}
	.site-footer__upper {
		padding: 60px 0 40px 0;
	}
}

/* ================================
   FRONT PAGE — BANNER
   ================================ */
.fp-banner {
	padding: 0 !important;
	line-height: 0;
	max-width: 1900px;
	margin: 0 auto;
}

.fp-banner__img {
	width: 100%;
	height: auto;
	display: block;
}

/* ================================
   FRONT PAGE — PRODUCTS GRID
   ================================ */
.fp-products {
	background: var(--site-color-white);
}

.fp-products__header {
	text-align: center;
	margin-bottom: 48px;
}

.fp-products__header h2 {
	margin-bottom: 12px;
}

.fp-products__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.fp-product-card {
	background: #fff;
	border-radius: 0;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.fp-product-card:hover {
	transform: translateY(-4px);
}

.fp-product-card__img {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f5f0e8;
}

.fp-product-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.fp-product-card:hover .fp-product-card__img img {
	transform: scale(1.05);
}

.fp-product-card__body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.fp-product-card__title {
	font-size: 28px;
	font-weight: 500;
	color: var(--site-color-primary);
	line-height: 1.3;
}

.fp-product-card__desc {
	font-size: 16px;
	color: var(--site-color-accent);
	line-height: 1.4;
	flex: 1;
}

.fp-product-card__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 4px;
}

.fp-product-card__label {
	display: none;
}

.fp-product-card__amount {
	font-size: 20px;
	font-weight: 700;
	color: var(--site-color-rojo);
}

.fp-product-card__amount .woocommerce-Price-amount {
	color: var(--site-color-rojo);
}

.fp-product-card__btn {
	display: none;
}

.fp-products__empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--site-color-accent);
	font-size: 18px;
	padding: 40px 0;
}

@media (max-width: 1024px) {
	.fp-products__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.fp-products__grid {
		grid-template-columns: 1fr;
	}
}

/* ================================
   FRONT PAGE — INSTAGRAM
   ================================ */
.fp-instagram {
	text-align: center;
}

.fp-instagram h2 {
	margin-bottom: 12px;
}

.fp-instagram__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	font-size: 20px;
	font-weight: 600;
	color: var(--site-color-rojo);
	text-decoration: none;
	border: 2px solid var(--site-color-rojo);
	padding: 14px 28px;
	border-radius: 0;
	transition: background 0.2s, color 0.2s;
}

.fp-instagram__btn:hover {
	background: var(--site-color-rojo);
	color: #fff;
}

.fp-instagram__btn svg {
	fill: currentColor;
}

/* ================================
   SLIDER
   ================================ */
.fp-slider {
	width: 100%;
	margin: 40px auto 0;
	position: relative;
}

.fp-slider__viewport {
	overflow: hidden;
}

.fp-slider__track {
	display: flex;
	transition: transform 0.5s ease;
}

.fp-slider__slide {
	flex: 0 0 calc(100% / 3);
	min-width: calc(100% / 3);
	cursor: pointer;
	padding: 0 8px;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.fp-slider__slide {
		flex: 0 0 100%;
		min-width: 100%;
		padding: 0;
	}
}

.fp-slider__slide img {
	width: 100%;
	height: auto;
	display: block;
}

.fp-slider__bullets {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.fp-slider__bullet {
	width: 12px;
	height: 12px;
	border: 2px solid var(--site-color-primary);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
}

.fp-slider__bullet.is-active {
	background: var(--site-color-primary);
}

/* ================================
   LIGHTBOX
   ================================ */
.fp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fp-lightbox[hidden] {
	display: none;
}

.fp-lightbox__img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	display: block;
}

.fp-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: none;
	border: none;
	color: #fff;
	font-size: 48px;
	cursor: pointer;
	line-height: 1;
	z-index: 1;
}

.fp-lightbox__prev,
.fp-lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	font-size: 60px;
	cursor: pointer;
	padding: 0 16px;
	line-height: 1;
	z-index: 1;
}

.fp-lightbox__prev { left: 12px; }
.fp-lightbox__next { right: 12px; }

@media (max-width: 768px) {
	.text-hand {
		font-size: 48px;
	}
	.fp-slider {
		margin-top: 28px;
	}
	.fp-lightbox__prev,
	.fp-lightbox__next {
		font-size: 40px;
	}
}

/* ================================
   TIENDA PAGE
   ================================ */
.ti-hero {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 30vh;
}

.ti-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.ti-hero__title {
	color: var(--site-color-primary);
}

.ti-products {
	background: var(--site-color-white);
}

/* ================================
   UTILIDADES
   ================================ */
.hide { display: none !important; }
