/* ==========================================================
   Frame — main styles
   ========================================================== */

:root {
	--ink: #111111;
	--paper: #ffffff;
	--muted: #5f5f5f;
	--line: #ececec;
	--soft: #f2f2f2;

	--sky: #b9dcff;
	--peach: #fdd0bb;
	--mint: #9df2b8;
	--mint-dark: #7ee6a0;
	--blush: #f8d7da;
	--orange: #ffc89a;

	--radius: 10px;
	--radius-sm: 8px;
	--font: "Familjen Grotesk", Helvetica, Arial, sans-serif;
	--gutter: 16px;
}

@media (min-width: 900px) {
	:root {
		--gutter: 32px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4 {
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ---------- Stickers ---------- */
.sticker {
	display: inline-block;
	padding: 4px 10px;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-decoration: none;
	background: var(--sky);
	transform: rotate(-2deg);
}

.sticker--sky   { background: var(--sky); }
.sticker--peach { background: var(--peach); transform: rotate(1.5deg); }
.sticker--mint  { background: var(--mint); transform: rotate(-1.5deg); }
.sticker--blush { background: var(--blush); transform: rotate(2deg); }

/* ---------- Buttons ---------- */
.button {
	display: inline-block;
	padding: 14px 22px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--mint);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
	background: var(--mint-dark);
}

.button--outline {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--ink);
}

.button--outline:hover {
	background: var(--ink);
	color: var(--paper);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--paper);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.site-header__logo {
	font-size: 1.25rem;
}

.site-header__links {
	display: none;
	gap: 28px;
	margin-left: auto;
}

.site-header__links a {
	text-decoration: none;
}

.site-header__links a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (min-width: 768px) {
	.site-header__links {
		display: flex;
	}
}

.site-header__icons {
	display: flex;
	gap: 10px;
}

.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sky);
	color: var(--ink);
	transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.icon-btn:hover {
	transform: scale(1.06);
}

.icon-btn--peach { background: var(--peach); }
.icon-btn--mint  { background: var(--mint); }

.icon-btn__badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--ink);
	color: var(--paper);
	font-size: 0.75rem;
	line-height: 20px;
	text-align: center;
}

/* ---------- Hero ---------- */
.hero {
	padding: 0 var(--gutter);
}

.hero__card {
	position: relative;
	max-width: 1320px;
	margin: 0 auto;
	height: clamp(420px, 78vh, 860px);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--soft);
}

.hero__media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__label {
	position: absolute;
	left: 20px;
	bottom: 20px;
}

/* ---------- Statement ---------- */
.statement {
	padding-top: 64px;
	padding-bottom: 64px;
}

@media (min-width: 900px) {
	.statement {
		padding-top: 96px;
		padding-bottom: 96px;
	}
}

.statement__title {
	margin: 0 0 32px;
	font-size: 1.125rem;
	letter-spacing: 0;
}

.statement__text {
	max-width: 1100px;
}

.statement__text p {
	margin: 0;
	font-size: clamp(1.75rem, 4.2vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.statement__text p + p {
	margin-top: 32px;
	max-width: 640px;
	font-size: 1.25rem;
	line-height: 1.5;
	letter-spacing: 0;
	color: var(--muted);
}

.statement__text strong {
	font-weight: 700;
}

/* ---------- Cards ---------- */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px;
	padding-bottom: 96px;
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 360px;
	padding: 28px 24px 24px;
	border-radius: var(--radius);
	background: var(--soft);
	color: var(--ink);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 18px 36px rgba(17, 17, 17, 0.1);
}


.card--peach { background: var(--peach); }
.card--sky   { background: var(--sky); }
.card--mint  { background: var(--mint); }

.card__text {
	margin: 0;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.card__text strong {
	font-weight: 700;
}

.card__label {
	align-self: flex-start;
	background: var(--paper);
}

.card__label.sticker--sky   { background: var(--paper); }
.card__label.sticker--mint  { background: var(--paper); }
.card__label.sticker--blush { background: var(--paper); }

/* ---------- Floating booking button ---------- */
.float-book {
	position: fixed;
	left: var(--gutter);
	bottom: var(--gutter);
	z-index: 90;
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	background: var(--mint);
	color: var(--ink);
	font-size: 1rem;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.float-book:hover {
	background: var(--mint-dark);
}

/* ---------- Generic pages ---------- */
.page {
	padding-top: 48px;
	padding-bottom: 96px;
}

.shop {
	padding-top: 32px;
	padding-bottom: 96px;
}

/* ---------- Footer ---------- */
.site-footer {
	padding: 64px 0 96px;
	border-top: 1px solid var(--line);
	font-size: 1rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
}

.site-footer p {
	margin: 0 0 10px;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-footer__bottom {
	margin-top: 48px;
	color: var(--muted);
	font-size: 0.875rem;
}

/* ==========================================================
   Blog
   ========================================================== */
.blog-header {
	padding-top: 48px;
	padding-bottom: 40px;
}

.blog-header__title {
	margin: 0 0 20px;
	font-size: 1.125rem;
	letter-spacing: 0;
}

.blog-header__intro {
	margin: 0;
	max-width: 900px;
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 40px 16px;
	padding-bottom: 96px;
}

.post-card {
	display: block;
	color: var(--ink);
	text-decoration: none;
}

.post-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	margin-bottom: 16px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--peach);
}

.post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.post-card:hover .post-card__image {
	transform: scale(1.03);
}

.post-card__label {
	position: absolute;
	left: 16px;
	bottom: 16px;
}

.post-card__title {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.post-card:hover .post-card__title {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.post-card__excerpt {
	margin: 0 0 8px;
	color: var(--muted);
}

.post-card__date {
	margin: 0;
	font-size: 0.875rem;
	color: var(--muted);
}

.blog-pagination {
	display: flex;
	gap: 12px;
	padding-bottom: 96px;
}

/* ---------- Single article ---------- */
.article__header {
	max-width: 900px;
	padding-top: 48px;
	padding-bottom: 40px;
}

.article__title {
	margin: 24px 0 16px;
	font-size: clamp(2.25rem, 5.5vw, 4rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.article__meta {
	margin: 0;
	color: var(--muted);
}

.article__media {
	max-width: 1320px;
	margin: 0 auto 64px;
	padding: 0 var(--gutter);
}

.article__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius);
}

/* Article text */
.prose {
	max-width: 720px;
	margin: 0 auto;
	padding-bottom: 64px;
	font-size: 1.1875rem;
	line-height: 1.65;
}

.prose > * {
	margin: 0 0 1.2em;
}

.prose h2 {
	margin: 2.2em 0 0.6em;
	font-size: clamp(1.625rem, 3vw, 2.125rem);
}

.prose h3 {
	margin: 1.8em 0 0.5em;
	font-size: 1.375rem;
}

.prose a {
	text-decoration: none;
	background: linear-gradient(var(--mint), var(--mint)) 0 88% / 100% 0.4em no-repeat;
	transition: background-size 0.3s ease, color 0.3s ease;
}

.prose a:hover {
	background-size: 100% 100%;
}

.prose ul,
.prose ol {
	padding-left: 1.2em;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose img {
	border-radius: var(--radius);
}

.prose blockquote {
	margin: 2em 0;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--peach);
	font-size: 1.375rem;
	line-height: 1.35;
}

/* Products inside article */
.article-products {
	padding-bottom: 48px;
}

.article-products__title {
	margin: 0 0 32px;
	font-size: 1.125rem;
	letter-spacing: 0;
}

.article-cta {
	padding-bottom: 96px;
}

.article-cta .card {
	min-height: 260px;
}

/* ---------- Language switcher ---------- */
.lang-switch {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: var(--soft);
}

.lang-switch__item {
	display: block;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	overflow: hidden;
	opacity: 0.45;
	filter: saturate(0.6);
	transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.lang-switch__item svg {
	display: block;
	width: 100%;
	height: 100%;
}

.lang-switch__item:hover {
	opacity: 1;
	filter: none;
	transform: scale(1.06);
}

.lang-switch__item.is-active {
	opacity: 1;
	filter: none;
	box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Keep hero sticker clear of the floating booking button */
.hero__label {
	left: auto;
	right: 20px;
}

/* ---------- Header top bar (languages) ---------- */
.site-header__top {
	border-bottom: 1px solid var(--line);
}

.site-header__top-inner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	min-height: 40px;
}

.site-header__top .lang-switch {
	gap: 6px;
	padding: 0;
	background: none;
}

.site-header__top .lang-switch__item {
	width: 24px;
	height: 24px;
}

.site-header__top .lang-switch__item.is-active {
	box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
}

/* ---------- Header top bar (languages) ---------- */
.site-header__top {
	border-bottom: 1px solid var(--line);
}

.site-header__top-inner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	min-height: 40px;
}

.site-header__top .lang-switch {
	gap: 6px;
	padding: 0;
	background: none;
}

.site-header__top .lang-switch__item {
	width: 24px;
	height: 24px;
}

.site-header__top .lang-switch__item.is-active {
	box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
}

/* Top bar: no line, minimal spacing */
.site-header__top {
	border-bottom: 0;
}

.site-header__top-inner {
	min-height: 0;
	padding-top: 10px;
	padding-bottom: 0;
}

.site-header__top + .site-header__inner {
	min-height: 64px;
}

/* No page padding (also applies to <body class="page">) */
.page {
	padding-top: 0;
	padding-bottom: 0;
}

.site-header__top-inner {
	padding-bottom: 24px;
}

/* Footer background */
.site-footer {
	padding: 64px 0 96px;
	border-top: 1px solid var(--line);
	font-size: 1rem;
	background: var(--line);
}

/* Header background (same as footer) */
.site-header {
	background: var(--line);
}

/* ==========================================================
   Language switcher: floating tab on the right edge
   ========================================================== */
.site-header__top {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 95;
	transform: translateY(-50%);
	border: 0;
}

.site-header__top-inner {
	width: auto;
	max-width: none;
	min-height: 0;
	margin: 0;
	padding: 0 !important;
}

.site-header__top .lang-switch {
	flex-direction: column;
	gap: 8px;
	padding: 8px 8px 8px 10px;
	border-radius: 24px 0 0 24px;
	background: var(--paper);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.site-header__top .lang-switch__item {
	width: 30px;
	height: 30px;
}

/* Main header row keeps its normal height now */
.site-header__top + .site-header__inner {
	min-height: 76px;
}

/* Hero: gutter on top and sides */
.hero {
	padding: var(--gutter) var(--gutter) 0;
}

/* ==========================================================
   Newsletter band (above footer)
   ========================================================== */
.newsletter {
	padding: 64px 0;
	background: var(--peach);
}

.newsletter__inner {
	display: grid;
	gap: 32px;
	align-items: center;
}

@media (min-width: 900px) {
	.newsletter__inner {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}
}

.newsletter__title {
	margin: 0 0 20px;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 500;
	letter-spacing: -0.025em;
}

.newsletter__text p {
	margin: 0;
	max-width: 480px;
	font-size: 1.125rem;
	line-height: 1.5;
}

.newsletter .mailpoet_form {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.newsletter form.mailpoet_form {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
}

.newsletter .mailpoet_paragraph {
	margin: 0 !important;
}

.newsletter .mailpoet_paragraph:first-of-type {
	flex: 1 1 220px;
}

.newsletter .mailpoet_text {
	width: 100% !important;
	height: 52px;
	padding: 0 16px !important;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	background: var(--paper) !important;
	font-family: var(--font) !important;
	font-size: 1rem !important;
	color: var(--ink) !important;
}

.newsletter .mailpoet_text:focus {
	border-color: var(--ink) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px var(--mint) !important;
}

.newsletter .mailpoet_submit {
	height: 52px;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--ink) !important;
	color: var(--paper) !important;
	font-family: var(--font) !important;
	font-size: 1rem !important;
	cursor: pointer;
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
}

.newsletter .mailpoet_submit:hover,
.newsletter .mailpoet_submit:focus-visible {
	background: var(--paper) !important;
	color: var(--ink) !important;
	box-shadow: inset 0 0 0 1.5px var(--ink);
}

.newsletter .mailpoet_message {
	flex-basis: 100%;
	margin: 0;
}

.newsletter .mailpoet_validate_success {
	color: var(--ink) !important;
	font-weight: 500;
}

.newsletter__legal {
	margin: 12px 0 0;
	font-size: 0.8125rem;
	color: #5f5f5f;
}

@media (max-width: 600px) {
	.newsletter .mailpoet_submit {
		width: 100% !important;
	}
}

/* Newsletter: success / error message as a box in the normal flow */
.newsletter form.mailpoet_form {
	height: auto !important;
}

.newsletter .mailpoet_message {
	position: static !important;
	flex-basis: 100%;
	width: 100%;
	margin: 0 !important;
}

.newsletter .mailpoet_validate_success,
.newsletter .mailpoet_validate_error {
	display: block;
	margin: 0 !important;
	padding: 16px 20px !important;
	border-radius: 8px;
	font-family: var(--font) !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	text-align: left !important;
	color: var(--ink) !important;
}

.newsletter .mailpoet_validate_success {
	background: var(--mint);
}

.newsletter .mailpoet_validate_error {
	background: var(--paper);
}

.newsletter__legal {
	margin-top: 16px;
}

/* Prevent any accidental horizontal scroll */
html,
body {
	overflow-x: clip;
}

/* Newsletter: success message full width of the form column + more space below */
.newsletter__form,
.newsletter__form .mailpoet_form,
.newsletter__form form.mailpoet_form {
	width: 100% !important;
	max-width: none !important;
	text-align: left !important;
}

.newsletter .mailpoet_message,
.newsletter .mailpoet_validate_success,
.newsletter .mailpoet_validate_error {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
}

.newsletter__legal {
	margin-top: 20px;
}

/* Respect the HTML "hidden" attribute (our img { display: block } was overriding it) */
[hidden] {
	display: none !important;
}

/* Logo sticker straight (header + footer) */
.site-header__logo,
.site-footer .sticker {
	transform: none;
}

/* Pastel orange */
.sticker--orange { background: var(--orange); transform: rotate(-1deg); }
.card--orange    { background: var(--orange); }
.icon-btn--orange { background: var(--orange); }

/* Newsletter band in pastel orange */
.newsletter {
	background: var(--orange);
}

/* Logo: bold FRAME */
.site-header__logo strong,
.site-footer .sticker strong {
	font-weight: 700;
}

/* Logo stickers: no underline on hover */
.site-header__logo:hover,
.site-footer .sticker:hover,
.site-footer a.sticker:hover {
	text-decoration: none !important;
}

/* Rounded corners on all stickers / label banners */
.sticker,
.woocommerce span.onsale,
.mailpoet_form_slide_in h1,
.mailpoet_form_slide_in h2,
.mailpoet_form_slide_in h3 {
	border-radius: var(--radius-sm);
}

/* Stickers: optically centre the text (Familjen Grotesk has extra space above) */
.sticker {
	line-height: 1.1;
	padding: 0.32em 0.55em;
	text-box: trim-both cap alphabetic;
}

/* Browsers without text-box trimming: less padding on top, more below */
@supports not (text-box: trim-both cap alphabetic) {
	.sticker {
		padding: 0.18em 0.55em 0.34em;
	}
}

/* Newsletter band: mint background, title sticker in peach for contrast */
.newsletter {
	background: var(--mint);
}

.newsletter .newsletter__title {
	background: var(--peach);
}

/* Success message on mint band: white box so it stands out */
.newsletter .mailpoet_validate_success {
	background: var(--paper);
}

/* Header layout: logo left · menu centred · icons right */
.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}

.site-header__logo {
	justify-self: start;
}

.site-header__links {
	justify-self: center;
	margin-left: 0;
}

.site-header__icons {
	justify-self: end;
}

.icon-btn--sky {
	background: var(--sky);
}

/* Floating "Reservar cita": keep it fully on screen (no translate from stickers) */
.float-book {
	left: var(--gutter) !important;
	right: auto !important;
	transform: none !important;
	white-space: nowrap;
}

/* Floating "Reservar cita" in light blue (stands out on the mint newsletter band) */
.float-book {
	background: var(--sky) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.float-book:hover {
	background: color-mix(in srgb, var(--sky), #000 8%) !important;
}

/* Hero video: no placeholder poster, soft fade-in when ready */
.hero__video {
	opacity: 0;
	transition: opacity 0.6s ease;
}

.hero__video.is-ready {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.hero__video {
		transition: none;
	}
}

/* Footer: logo left, address + links grouped on the right */
@media (min-width: 900px) {
	.site-footer__grid {
		grid-template-columns: 1fr auto auto;
		column-gap: 80px;
	}
}

/* ==========================================================
   Home gallery carousel (between cards and newsletter)
   ========================================================== */
.gallery {
	padding-bottom: 96px;
}

.gallery__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.gallery__title {
	margin: 0;
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-weight: 500;
	letter-spacing: -0.02em;
}

.gallery__nav {
	display: flex;
	gap: 10px;
}

.gallery__btn {
	border: 0;
	cursor: pointer;
}

.gallery__btn:disabled {
	opacity: 0.35;
	cursor: default;
	transform: none;
}

.gallery__track {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0 var(--gutter);
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: var(--gutter);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.gallery__track::-webkit-scrollbar {
	display: none;
}

.gallery__track:focus-visible {
	outline: 3px solid var(--mint);
	outline-offset: 4px;
}

@media (min-width: 1384px) {
	.gallery__track {
		padding-left: calc((100vw - 1320px) / 2 + var(--gutter));
		scroll-padding-left: calc((100vw - 1320px) / 2 + var(--gutter));
	}
}

.gallery__item {
	flex: 0 0 80%;
	scroll-snap-align: start;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--soft);
}

@media (min-width: 600px) {
	.gallery__item {
		flex-basis: 45%;
	}
}

@media (min-width: 900px) {
	.gallery__item {
		flex-basis: calc((min(100vw, 1320px) - 2 * var(--gutter) - 32px) / 3);
	}
}

.gallery__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery__track::after {
	content: "";
	flex: 0 0 1px;
}

/* ==========================================================
   MOBILE (first pass)
   ========================================================== */

/* Burger + mobile panel */
.menu-toggle {
	display: none;
	border: 0;
	background: var(--ink);
	color: var(--paper);
	cursor: pointer;
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: block;
}

.mobile-menu {
	border-top: 1px solid #dcdcdc;
	background: var(--line);
}

.mobile-menu[hidden] {
	display: none !important;
}

.mobile-menu__inner {
	display: flex;
	flex-direction: column;
	padding-top: 16px;
	padding-bottom: 24px;
}

.mobile-menu__link {
	padding: 14px 0;
	border-bottom: 1px solid #dcdcdc;
	font-size: 1.5rem;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.mobile-menu__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 20px;
	font-size: 0.9375rem;
	color: var(--muted);
}

.mobile-menu__meta a {
	text-decoration: none;
}

@media (max-width: 767px) {
	/* Header: logo left, icons right */
	.site-header__inner,
	.site-header__top + .site-header__inner {
		grid-template-columns: 1fr auto;
		gap: 12px;
		min-height: 64px;
	}

	.site-header__links {
		display: none;
	}

	.site-header__logo {
		font-size: 1rem;
	}

	.site-header__icons {
		gap: 6px;
	}

	.icon-btn,
	.site-header .frame-mini-cart {
		width: 40px;
		height: 40px;
	}

	.site-header__icons .icon-btn--peach {
		display: none; /* phone lives in the mobile menu */
	}

	.menu-toggle {
		display: inline-flex;
	}

	body.menu-open {
		overflow: hidden;
	}

	.mobile-menu {
		max-height: calc(100vh - 64px);
		overflow-y: auto;
	}

	/* Language tab: smaller */
	.site-header__top .lang-switch {
		padding: 6px 6px 6px 8px;
		gap: 6px;
	}

	.site-header__top .lang-switch__item {
		width: 24px;
		height: 24px;
	}

	/* Hero */
	.hero__card {
		height: clamp(320px, 62vh, 520px);
	}

	.hero__label {
		right: 12px;
		bottom: 12px;
		font-size: 0.9375rem;
	}

	/* Statement */
	.statement {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.statement__text p + p {
		font-size: 1.0625rem;
	}

	/* Cards */
	.cards {
		grid-template-columns: 1fr;
		padding-bottom: 64px;
	}

	.card {
		min-height: 240px;
	}

	/* Gallery */
	.gallery {
		padding-bottom: 64px;
	}

	.gallery__btn {
		display: none; /* swipe on mobile */
	}

	/* Newsletter */
	.newsletter {
		padding: 48px 0;
	}

	/* Footer */
	.site-footer {
		padding: 48px 0 120px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	/* Floating booking button: smaller */
	.float-book {
		padding: 10px 14px;
		font-size: 0.9375rem;
	}

	/* Blog */
	.blog-header {
		padding-top: 32px;
	}

	.blog-grid {
		gap: 32px;
		padding-bottom: 64px;
	}

	.article__header {
		padding-top: 32px;
		padding-bottom: 24px;
	}

	.article__media {
		margin-bottom: 40px;
	}

	.prose {
		font-size: 1.0625rem;
	}
}

/* Mobile menu: fixed overlay under the header, visible from anywhere on the page */
@media (max-width: 767px) {
	.mobile-menu {
		position: fixed;
		top: 64px; /* overwritten by JS with the real header bottom */
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99;
		max-height: none;
		overflow-y: auto;
		overscroll-behavior: contain;
		border-top: 1px solid #dcdcdc;
		background: var(--line);
	}
}

/* Mobile menu open: pin the header to the top, lock page scroll on <html> (not body, which broke sticky) */
@media (max-width: 767px) {
	body.menu-open {
		overflow: visible;
	}

	html.menu-open {
		overflow: hidden;
	}

	body.menu-open .site-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 100;
	}

	body.admin-bar.menu-open .site-header {
		top: var(--wp-admin--admin-bar--height, 0px);
	}
}

@media (max-width: 600px) {
	body.admin-bar.menu-open .site-header {
		top: 0;
	}
}

/* Mobile hero: 16:9 instead of tall */
@media (max-width: 767px) {
	.hero__card {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

/* Mobile: more space between language flags (bigger tap targets) */
@media (max-width: 767px) {
	.site-header__top .lang-switch {
		gap: 16px;
		padding: 10px 8px 10px 10px;
	}

	.site-header__top .lang-switch__item {
		position: relative;
	}

	/* invisible 40x40 tap area around each 24px flag */
	.site-header__top .lang-switch__item::after {
		content: "";
		position: absolute;
		inset: -8px;
	}
}

/* Footer legal links */
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.site-footer__legal a {
	color: var(--muted);
}

.newsletter__legal a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Legal page tables */
.page table {
	width: 100%;
	margin: 1.5em 0;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.page th,
.page td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.page th {
	font-weight: 500;
}

.page blockquote {
	margin: 1.5em 0;
	padding: 20px 24px;
	border-radius: var(--radius);
	background: var(--soft);
}

/* ==========================================================
   Scroll reveal (only when JS is running and motion is allowed)
   ========================================================== */
.js-reveal .reveal {
	opacity: 0;
	translate: 0 32px;
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, translate;
}

.js-reveal .reveal.is-visible {
	opacity: 1;
	translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
	.js-reveal .reveal {
		opacity: 1;
		translate: none;
		transition: none;
	}
}

/* Reveal: lighter (no permanent will-change layers), a bit shorter */
.js-reveal .reveal {
	translate: 0 24px;
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		translate 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: auto;
}

.js-reveal .reveal.is-visible {
	translate: 0 0;
}

/* ==========================================================
   Shop closed ("Tienda próximamente")
   ========================================================== */
.shop-closed {
	max-width: 1000px;
	padding-top: 96px;
	padding-bottom: 96px;
}

.shop-closed__label {
	margin-bottom: 28px;
}

.shop-closed__title {
	margin: 0 0 24px;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.shop-closed__title strong {
	font-weight: 700;
}

.shop-closed__text {
	max-width: 640px;
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.5;
	color: var(--muted);
}

.shop-closed__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

#newsletter {
	scroll-margin-top: 96px;
}

@media (max-width: 767px) {
	.shop-closed {
		padding-top: 48px;
		padding-bottom: 64px;
	}

	.shop-closed__text {
		font-size: 1.0625rem;
	}
}

/* Carousel fixes for mobile */
.gallery__track {
	touch-action: pan-x pan-y;
	cursor: grab;
}

.gallery__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}

.gallery__image {
	pointer-events: none;
	-webkit-user-drag: none;
}

@media (max-width: 767px) {
	/* keep arrows on mobile too, a bit smaller */
	.gallery__btn {
		display: inline-flex;
		width: 36px;
		height: 36px;
	}

	.gallery__item {
		flex-basis: 78%;
	}
}

/* Instagram feed (replaces the gallery when Smash Balloon is active) */
.instagram__handle {
	color: inherit;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
	transition: text-decoration-color 0.3s ease;
}

.instagram__handle:hover,
.instagram__handle:focus-visible {
	text-decoration-color: currentColor;
}

.instagram__feed #sb_instagram {
	padding: 0 !important;
}

.instagram__feed #sb_instagram .sbi_photo {
	border-radius: var(--radius);
	overflow: hidden;
}

.instagram__feed #sb_instagram #sbi_load {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.instagram__feed #sb_instagram .sbi_load_btn,
.instagram__feed #sb_instagram .sbi_follow_btn a {
	margin: 0 !important;
	padding: 12px 18px !important;
	border: 0 !important;
	border-radius: var(--radius-sm) !important;
	background: var(--sky) !important;
	color: var(--ink) !important;
	font: inherit !important;
	font-size: 1rem !important;
	line-height: 1.2 !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

.instagram__feed #sb_instagram .sbi_load_btn {
	background: var(--paper) !important;
	box-shadow: inset 0 0 0 1.5px var(--ink) !important;
}

.instagram__feed #sb_instagram .sbi_follow_btn a:hover,
.instagram__feed #sb_instagram .sbi_follow_btn a:focus-visible {
	background: color-mix(in srgb, var(--sky), #000 8%) !important;
}

.instagram__feed #sb_instagram .sbi_follow_btn svg {
	display: none;
}

/* ==========================================================
   Cookie banner (Complianz) — site colours, font and radius
   ========================================================== */
body .cmplz-cookiebanner,
body #cmplz-manage-consent {
	--cmplz_banner_background_color: var(--paper);
	--cmplz_banner_border_color: var(--line);
	--cmplz_banner_border_radius: var(--radius);
	--cmplz_text_color: var(--ink);
	--cmplz_hyperlink_color: var(--ink);
	--cmplz_title_font_size: 1.125rem;
	--cmplz_text_font_size: 0.9375rem;
	--cmplz_link_font_size: 0.875rem;
	--cmplz_button_font_size: 1rem;
	--cmplz_button_border_radius: var(--radius-sm);
	--cmplz_button_accept_background_color: var(--mint);
	--cmplz_button_accept_border_color: var(--mint);
	--cmplz_button_accept_text_color: var(--ink);
	--cmplz_button_deny_background_color: var(--paper);
	--cmplz_button_deny_border_color: var(--ink);
	--cmplz_button_deny_text_color: var(--ink);
	--cmplz_button_settings_background_color: var(--paper);
	--cmplz_button_settings_border_color: var(--ink);
	--cmplz_button_settings_text_color: var(--ink);
	--cmplz_slider_active_color: var(--ink);
	--cmplz_category_header_always_active_color: var(--ink);
	font-family: var(--font);
}

body .cmplz-cookiebanner {
	box-shadow: 0 12px 40px rgba(17, 17, 17, 0.12);
}

body .cmplz-cookiebanner .cmplz-title {
	font-weight: 500;
}

body .cmplz-cookiebanner .cmplz-btn {
	font-family: var(--font);
	font-weight: 400;
	border-width: 1.5px;
}

body .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
	--cmplz_button_accept_background_color: var(--mint-dark);
	--cmplz_button_accept_border_color: var(--mint-dark);
}

/* Keep the floating "Reservar cita" button clear of the banner */
body.cmplz-banner-active .float-book {
	display: none;
}

body .cmplz-cookiebanner .cmplz-close:focus,
body .cmplz-cookiebanner .cmplz-btn:focus {
	outline: none;
}

body .cmplz-cookiebanner .cmplz-close:focus-visible,
body .cmplz-cookiebanner .cmplz-btn:focus-visible,
body .cmplz-cookiebanner a:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}

/* Soft cookie wall: lighter overlay than Complianz's default black */
body .cmplz-soft-cookiewall {
	background-color: rgba(17, 17, 17, 0.45);
	backdrop-filter: blur(2px);
}

/* Full-width bar at the bottom */
body .cmplz-cookiebanner.cmplz-bottom {
	--cmplz_banner_border_radius: 0;
	--cmplz_banner_margin: 0;
	border-width: 1px 0 0;
	box-shadow: 0 -8px 30px rgba(17, 17, 17, 0.08);
}

@media (min-width: 1024px) {
	body .cmplz-cookiebanner.cmplz-bottom {
		padding-left: max(var(--gutter), calc((100vw - 1320px) / 2));
		padding-right: max(var(--gutter), calc((100vw - 1320px) / 2));
	}
}

/* ==========================================================
   Greyscale palette (trial). Switch on/off with:
   ddev wp option update frame_palette gray|color
   ========================================================== */
:root.palette-gray {
	--sky: #e3e3e3;
	--peach: #d6d6d6;
	--mint: #cfcfcf;
	--mint-dark: #bdbdbd;
	--blush: #ebebeb;
	--orange: #dcdcdc;
}

/* Beige palette (trial): ddev wp option update frame_palette beige */
:root.palette-beige {
	--sky: #ece4d9;
	--peach: #e0cfbb;
	--mint: #d3bea4;
	--mint-dark: #c2a98b;
	--blush: #f2ebe2;
	--orange: #e6d7c4;
}

/* Peach palette (trial): ddev wp option update frame_palette peach */
:root.palette-peach {
	--sky: #fee4d8;
	--peach: #fdd0bb;
	--mint: #f9bb9f;
	--mint-dark: #f4a684;
	--blush: #fff1ea;
	--orange: #fcc6ac;
}

/* ==========================================================
   Hover transitions: 0.3s everywhere
   :where() keeps this at zero specificity, so components that set
   their own transition (above) still win.
   ========================================================== */
:where(a, button, input[type="submit"], input[type="button"], summary, label) {
	transition:
		color 0.3s ease,
		background-color 0.3s ease,
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		opacity 0.3s ease,
		text-decoration-color 0.3s ease,
		transform 0.3s ease;
}

/* Third-party bits on the page */
.instagram__feed #sb_instagram .sbi_photo img,
.instagram__feed #sb_instagram .sbi_follow_btn a,
body .cmplz-cookiebanner .cmplz-btn {
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
}

/* Cards hover: one smooth curve for lift, shadow and label */
.cards .card {
	backface-visibility: hidden;
	transition:
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* While a card is still revealing on scroll, keep both animations */
.js-reveal .cards .card.reveal {
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		translate 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Back to top (with scroll-progress ring) ---------- */
.to-top {
	position: fixed;
	right: var(--gutter);
	bottom: var(--gutter);
	z-index: 90;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease,
		transform 0.3s ease,
		background-color 0.3s ease,
		box-shadow 0.3s ease;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.to-top:hover,
.to-top:focus-visible {
	background: var(--sky);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.to-top:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

.to-top__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.to-top__track,
.to-top__progress {
	fill: none;
	stroke-width: 1.5;
}

.to-top__track {
	stroke: transparent;
}

.to-top__progress {
	stroke: var(--ink);
	stroke-linecap: round;
}

.to-top__arrow {
	position: relative;
	transition: transform 0.3s ease;
}

.to-top:hover .to-top__arrow {
	transform: translateY(-2px);
}

/* Leave room for Complianz's "Cookies" tab at the bottom of the screen */
body:has(#cmplz-manage-consent .cmplz-manage-consent) .to-top {
	bottom: calc(var(--gutter) + 44px);
}

/* Don't sit on top of the cookie banner */
body.cmplz-banner-active .to-top {
	display: none;
}

@media (max-width: 767px) {
	.to-top {
		width: 48px;
		height: 48px;
	}
}

/* Language tab: same look and hover as the back-to-top circle */
.site-header__top .lang-switch {
	background: var(--paper);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header__top .lang-switch:hover,
.site-header__top .lang-switch:focus-within {
	background: var(--sky);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

/* Newsletter band: same colour as the "Tienda online" card; title sticker in white */
.newsletter {
	background: var(--peach);
}

.newsletter .newsletter__title {
	background: var(--paper);
}

/* Newsletter button: same look and hover as the back-to-top circle */
.newsletter .mailpoet_submit {
	background: var(--paper) !important;
	color: var(--ink) !important;
	box-shadow: inset 0 0 0 1.5px var(--ink), 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

.newsletter .mailpoet_submit:hover,
.newsletter .mailpoet_submit:focus-visible {
	background: var(--sky) !important;
	color: var(--ink) !important;
	box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 24px rgba(0, 0, 0, 0.16) !important;
}

/* Content pages (Mi cuenta, legal pages…) and WooCommerce pages: 48px top and bottom.
   "div.page" so it doesn't hit <body class="page">. */
div.page,
.container.shop {
	padding-top: 48px;
	padding-bottom: 48px;
}

/* Home intro: the first two paragraphs share the big style, only the last one is small */
.statement__text p:nth-child(2) {
	margin-top: 0.6em;
	max-width: none;
	font-size: clamp(1.75rem, 4.2vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--ink);
}

@media (max-width: 767px) {
	.statement__text p:nth-child(2) {
		font-size: clamp(1.75rem, 4.2vw, 3rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

/* Laponia palette (trial): ddev wp option update frame_palette laponia */
:root.palette-laponia {
	--sky: #a8ced6;
	--peach: #d6dcdd;
	--mint: #6ba3af;
	--mint-dark: #5b939f;
	--blush: #f5f4f2;
	--orange: #e64663;
}

/* Pantone palette (trial), built around Cloud Dancer (Pantone 11-4201, Color of the Year 2026)
   ddev wp option update frame_palette pantone */
:root.palette-pantone {
	--sky: #f0eee9;
	--peach: #e4ddd2;
	--mint: #cfc5b6;
	--mint-dark: #bdb1a0;
	--blush: #f7f6f2;
	--orange: #a47864;
}

/* 2027 palette (trial): ultramarine blue + olive
   ddev wp option update frame_palette 2027 */
:root.palette-2027 {
	--sky: #dedef3;
	--peach: #e7e5d1;
	--mint: #8a8550;
	--mint-dark: #7a7544;
	--blush: #f3f3f9;
	--orange: #1d1d8f;
	--blue-2027: #1d1d8f;
	--blue-2027-dark: #14146b;
}

/* The deep blue needs white text */
:root.palette-2027 .sticker--orange,
:root.palette-2027 .card--orange {
	color: #fff;
}

:root.palette-2027 .float-book {
	background: var(--blue-2027) !important;
	color: #fff !important;
}

:root.palette-2027 .float-book:hover {
	background: var(--blue-2027-dark) !important;
}

:root.palette-2027 .newsletter .mailpoet_submit {
	background: var(--blue-2027) !important;
}

:root.palette-2027 .newsletter .mailpoet_submit:hover,
:root.palette-2027 .newsletter .mailpoet_submit:focus-visible {
	background: var(--paper) !important;
	color: var(--blue-2027) !important;
	box-shadow: inset 0 0 0 1.5px var(--blue-2027);
}
