* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--bg: #faf7f2;
	--surface: #fffdf9;
	--surface-soft: #f3eee7;
	--text: #201d1a;
	--muted: #746c63;
	--accent: #8a6a4f;
	--accent-dark: #4d3a2b;
	--border: #ded5ca;
	--border-strong: #c7b9aa;
	--success: #2f7048;
	--error: #9b1c1c;
	--shadow: 0 18px 45px rgba(42, 35, 28, 0.08);
	--shadow-soft: 0 10px 28px rgba(42, 35, 28, 0.055);
	--radius: 18px;
	--max-width: 1180px;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	min-height: 100%;
}

body {
	font-family: 'Montserrat', Arial, sans-serif;
	background:
		linear-gradient(180deg, rgba(255, 253, 249, 0.92) 0%, rgba(250, 247, 242, 1) 20rem),
		var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.lightbox-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	border-radius: 999px;
}

a {
	color: inherit;
}

.header {
	padding-top: 0.35rem;
	text-align: center;
	background: rgba(255, 253, 249, 0.88);
	border-bottom: 1px solid rgba(222, 213, 202, 0.76);
}

.navbar,
nav {
	width: min(calc(100% - 2rem), var(--max-width));
	margin-inline: auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: clamp(0.7rem, 2vw, 1.45rem);
	padding: 0.9rem 0 0.35rem;
}

nav a,
.nav-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.4rem;
	color: var(--text);
	text-decoration: none;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
}

nav a::after,
.nav-button::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.25rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

nav a:hover,
.nav-button:hover,
nav a[aria-current='page'] {
	color: var(--accent-dark);
}

nav a:hover::after,
.nav-button:hover::after,
nav a[aria-current='page']::after {
	transform: scaleX(1);
}

.login-link {
	width: 2.35rem;
	height: 2.35rem;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: var(--surface);
	box-shadow: 0 8px 18px rgba(42, 35, 28, 0.05);
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.login-link::after {
	display: none;
}

.login-link:hover,
.login-link[aria-current='page'] {
	border-color: var(--accent);
	background: var(--surface-soft);
	color: var(--accent-dark);
	transform: translateY(-1px);
}

.icon-svg {
	display: inline-block;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -0.14em;
}

.login-link .icon-svg {
	width: 1.05rem;
	height: 1.05rem;
}

.footer-instagram .icon-svg {
	width: 1.05rem;
	height: 1.05rem;
}

.brand {
	width: min(calc(100% - 2rem), var(--max-width));
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2.3rem) 0 clamp(1.05rem, 2.5vw, 1.9rem);
}

.brand h1,
.brand-title {
	font-size: clamp(2rem, 5.5vw, 3.7rem);
	font-weight: 300;
	letter-spacing: 0.095em;
	line-height: 1.05;
	text-transform: uppercase;
}

.brand-title {
	display: inline-block;
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.brand-title:hover {
	color: var(--accent-dark);
}

.brand p {
	margin-top: 0.48rem;
	color: var(--accent);
	font-size: clamp(0.84rem, 1.7vw, 1rem);
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.brand span {
	display: block;
	margin-top: 0.62rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.brand strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.85rem;
	padding: 0.38rem 0.78rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--accent-dark);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.6);
}

hr {
	width: min(calc(100% - 2rem), var(--max-width));
	margin: 0 auto;
	border: 0;
	border-top: 1px solid rgba(222, 213, 202, 0.85);
}

main {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	padding: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.home-intro {
	width: min(calc(100% - 2rem), 820px);
	margin: 0 auto clamp(1.2rem, 3vw, 1.8rem);
	text-align: center;
	color: var(--muted);
	font-size: clamp(0.95rem, 1.7vw, 1.08rem);
}

.seo-intro {
	width: min(calc(100% - 2rem), 760px);
	margin: clamp(2.1rem, 5vw, 3.5rem) auto 0;
	padding: clamp(1.15rem, 3vw, 1.6rem) 0 0;
	border-top: 1px solid rgba(150, 113, 82, 0.18);
	text-align: center;
}

.seo-intro h2 {
	max-width: 620px;
	margin: 0.45rem auto 0;
	font-size: clamp(1.05rem, 2.1vw, 1.42rem);
	font-weight: 400;
	letter-spacing: 0.035em;
	line-height: 1.35;
}

.seo-intro__copy {
	display: grid;
	gap: 0.65rem;
	max-width: 700px;
	margin: 0.85rem auto 0;
	color: var(--muted);
	font-size: clamp(0.9rem, 1.5vw, 0.98rem);
	line-height: 1.75;
}

.titulos {
	width: min(calc(100% - 2rem), var(--max-width));
	text-align: center;
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.titulos h1,
.titulos h2 {
	font-size: clamp(1.35rem, 3vw, 2.2rem);
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.titulos h1::after,
.titulos h2::after {
	content: '';
	display: block;
	width: 3.5rem;
	height: 1px;
	margin: 0.9rem auto 0;
	background: var(--accent);
}

.colecciones-publicas {
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
}

.coleccion-grupo {
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
}

.coleccion-grupo + .coleccion-grupo {
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

.coleccion-grupo__titulo {
	margin-bottom: clamp(1.05rem, 2.4vw, 1.65rem);
}

.coleccion-grupo__titulo--separado {
	padding-top: clamp(1.8rem, 4vw, 2.6rem);
	border-top: 1px solid rgba(150, 113, 82, 0.16);
}

.coleccion {
	width: min(calc(100% - 2rem), var(--max-width));
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(0.9rem, 2vw, 1.45rem);
	align-items: start;
}

.producto {
	position: relative;
	justify-self: center;
	width: 100%;
	max-width: 360px;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: 1px solid rgba(222, 213, 202, 0.9);
	border-radius: var(--radius);
	background: var(--surface-soft);
	box-shadow: var(--shadow-soft);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.producto:hover {
	transform: translateY(-3px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow);
}

.producto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.32s ease, filter 0.32s ease;
}

.producto:hover img {
	transform: scale(1.025);
}

.producto-viewer-btn {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0;
	background: transparent;
	cursor: zoom-in;
	padding: 0;
	text-align: inherit;
}

.producto-viewer-btn:focus-visible,
.admin-action-btn:focus-visible,
.admin-btn:focus-visible,
.contacto-form button:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.footer-instagram:focus-visible,
.contacto-datos a:focus-visible,
.admin-field input:focus-visible,
.admin-field select:focus-visible {
	outline: 3px solid rgba(138, 106, 79, 0.28);
	outline-offset: 3px;
}

.mensaje-carga,
.mensaje-vacio,
.mensaje-error {
	grid-column: 1 / -1;
	width: 100%;
	padding: 1.25rem;
	text-align: center;
	color: var(--muted);
	background: rgba(255, 253, 249, 0.72);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.mensaje-error {
	color: var(--error);
	border-color: rgba(155, 28, 28, 0.28);
}

.colecciones-publicas > .mensaje-carga,
.colecciones-publicas > .mensaje-vacio,
.colecciones-publicas > .mensaje-error {
	width: min(calc(100% - 2rem), var(--max-width));
}

.admin-panel {
	width: min(calc(100% - 2rem), var(--max-width));
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin: -0.35rem auto 1.5rem;
	padding: 1.15rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(255, 253, 249, 0.78);
}

.admin-panel--collections {
	align-items: stretch;
	flex-direction: column;
}

.admin-collection-toolbar {
	display: grid;
	grid-template-columns: minmax(180px, 0.72fr) minmax(220px, 1fr) repeat(4, auto);
	gap: 0.85rem;
	align-items: end;
	width: 100%;
}

.admin-field {
	display: grid;
	gap: 0.38rem;
}

.admin-field label {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.admin-field input,
.admin-field select {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.72rem 0.88rem;
	border: 1px solid var(--border);
	border-radius: 13px;
	background: #fff;
	color: var(--text);
	font: inherit;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-field select {
	appearance: none;
	padding-right: 2.25rem;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%),
		linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%);
	background-position:
		calc(100% - 1.05rem) 50%,
		calc(100% - 0.75rem) 50%;
	background-size: 0.32rem 0.32rem, 0.32rem 0.32rem;
	background-repeat: no-repeat;
}

.admin-field input:focus,
.admin-field select:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(138, 106, 79, 0.12);
	background-color: #fffdf9;
}

.admin-btn,
.admin-action-btn,
.contacto-form button,
.btn-primary,
.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.75rem 1.15rem;
	border: 1px solid var(--accent-dark);
	background: var(--accent-dark);
	color: #fffdf9;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.admin-btn:hover,
.admin-action-btn:hover,
.contacto-form button:hover,
.btn-primary:hover {
	background: var(--text);
	border-color: var(--text);
	color: #fff;
	transform: translateY(-1px);
}

.btn-secondary {
	background: transparent;
	color: var(--accent-dark);
}

.btn-secondary:hover {
	background: var(--surface-soft);
	border-color: var(--accent);
	color: var(--text);
	transform: translateY(-1px);
}

.btn-danger {
	border-color: rgba(133, 74, 58, 0.44);
	color: var(--error);
}

.btn-danger:hover {
	background: var(--error);
	border-color: var(--error);
	color: #fffdf9;
}

.admin-btn:active,
.admin-action-btn:active,
.contacto-form button:active,
.btn-primary:active,
.btn-secondary:active {
	transform: translateY(0);
}

.admin-btn:disabled,
.admin-action-btn:disabled,
.contacto-form button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
	cursor: not-allowed;
	opacity: 0.55;
	transform: none;
}

.admin-mensaje {
	min-height: 1.4rem;
	color: var(--muted);
	font-size: 0.92rem;
	text-align: center;
}

.admin-actions {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	gap: 0.55rem;
	justify-content: center;
	padding: 0.85rem;
	background: linear-gradient(180deg, rgba(255, 253, 249, 0), rgba(255, 253, 249, 0.96) 26%);
}

.admin-action-btn {
	min-height: 2.25rem;
	padding: 0.55rem 0.8rem;
	font-size: 0.74rem;
	background: rgba(255, 253, 249, 0.94);
	color: var(--accent-dark);
	border-color: var(--border-strong);
	box-shadow: 0 8px 18px rgba(42, 35, 28, 0.08);
}

.admin-action-btn:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	color: #fffdf9;
}

.admin-action-btn.borrar:hover {
	background: var(--error);
	border-color: var(--error);
}

.login-form,
.contacto-form,
.contacto-info,
.about-card,
.mapa-contacto,
.about-copy {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(255, 253, 249, 0.9);
	box-shadow: 0 16px 38px rgba(42, 35, 28, 0.06);
}

.login-form,
.contacto-form {
	margin: 0 auto;
	padding: clamp(1.35rem, 4vw, 2.2rem);
}

.login-form {
	width: min(calc(100% - 2rem), 390px);
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.login-form h2 {
	margin-bottom: 0.55rem;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.login-form label,
.contacto-form label {
	color: var(--text);
	font-size: 0.88rem;
	font-weight: 500;
}

.login-form input,
.contacto-form input,
.contacto-form textarea {
	width: 100%;
	padding: 0.82rem 0.95rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #fff;
	color: var(--text);
	font: inherit;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-form input:focus,
.contacto-form input:focus,
.contacto-form textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(138, 106, 79, 0.12);
	background: #fffdf9;
}

.contacto-layout {
	width: min(calc(100% - 2rem), var(--max-width));
	display: grid;
	grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1fr);
	gap: clamp(1rem, 2.4vw, 1.7rem);
	align-items: start;
}

.contacto-bloque {
	width: 100%;
	margin: 0 auto;
}

.contacto-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.contacto-form div {
	display: flex;
	flex-direction: column;
	gap: 0.42rem;
}

.contacto-form textarea {
	min-height: 9rem;
	resize: vertical;
}


.turnstile-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 74px;
    margin: 2px 0 4px;
}

.turnstile-wrap .cf-turnstile {
    width: 100%;
    max-width: 360px;
}

.contacto-form button {
	align-self: flex-start;
	margin-top: 0.2rem;
}

.campo-trampa {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mensaje-contacto {
	width: 100%;
	margin: 0 auto 1.1rem;
	padding: 0.95rem 1rem;
	border-radius: 14px;
	background: rgba(255, 253, 249, 0.88);
	box-sizing: border-box;
	font-size: 0.93rem;
}

.mensaje-contacto-exito {
	border: 1px solid rgba(47, 112, 72, 0.28);
	color: var(--success);
}

.mensaje-contacto-error {
	border: 1px solid rgba(155, 28, 28, 0.28);
	color: var(--error);
}

.contacto-info {
	padding: clamp(1.35rem, 4vw, 2.2rem);
}

.eyebrow {
	display: inline-flex;
	margin-bottom: 0.72rem;
	color: var(--accent);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.contacto-info h3,
.mapa-contacto h3,
.about-copy h2 {
	font-size: clamp(1.25rem, 2.5vw, 2rem);
	font-weight: 400;
	letter-spacing: 0.035em;
	line-height: 1.25;
}

.contacto-info p,
.mapa-contacto p,
.about-copy p {
	margin-top: 0.9rem;
	color: var(--muted);
}

.contacto-datos {
	display: grid;
	gap: 0.72rem;
	margin-top: 1.35rem;
}

.contacto-datos a {
	display: grid;
	grid-template-columns: 2.1rem 1fr;
	align-items: center;
	gap: 0.72rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(222, 213, 202, 0.8);
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.contacto-datos a:hover {
	color: var(--accent-dark);
	transform: translateX(2px);
}

.contacto-datos .icon-svg {
	display: inline-grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: var(--surface-soft);
	color: var(--accent-dark);
}

.mapa-contacto {
	width: min(calc(100% - 2rem), var(--max-width));
	display: grid;
	grid-template-columns: minmax(240px, 0.58fr) minmax(320px, 1fr);
	gap: clamp(1rem, 2vw, 1.4rem);
	align-items: stretch;
	margin-top: clamp(1.25rem, 3vw, 2rem);
	padding: clamp(1rem, 2.8vw, 1.6rem);
}

.mapa-contacto-frame,
.footer-map {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: var(--surface-soft);
}

.mapa-contacto-frame iframe,
.footer-map iframe {
	display: block;
	width: 100%;
	min-height: 260px;
	border: 0;
	filter: saturate(0.9) contrast(0.96);
}

.map-placeholder {
	min-height: 260px;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 0.35rem;
	padding: 1.25rem;
	color: rgba(255, 253, 249, 0.82);
	text-align: center;
	background:
		linear-gradient(135deg, rgba(255, 253, 249, 0.08), rgba(255, 253, 249, 0)),
		repeating-linear-gradient(0deg, rgba(255, 253, 249, 0.08) 0, rgba(255, 253, 249, 0.08) 1px, transparent 1px, transparent 32px),
		repeating-linear-gradient(90deg, rgba(255, 253, 249, 0.06) 0, rgba(255, 253, 249, 0.06) 1px, transparent 1px, transparent 32px),
		linear-gradient(135deg, rgba(109, 85, 66, 0.92), rgba(54, 46, 38, 0.92));
}

.map-placeholder span {
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.map-placeholder small {
	max-width: 16rem;
	color: rgba(255, 253, 249, 0.72);
	font-size: 0.78rem;
}

.map-placeholder--light {
	color: var(--text);
	background:
		linear-gradient(135deg, rgba(255, 253, 249, 0.68), rgba(250, 247, 242, 0.28)),
		repeating-linear-gradient(0deg, rgba(151, 128, 104, 0.11) 0, rgba(151, 128, 104, 0.11) 1px, transparent 1px, transparent 32px),
		repeating-linear-gradient(90deg, rgba(151, 128, 104, 0.08) 0, rgba(151, 128, 104, 0.08) 1px, transparent 1px, transparent 32px),
		var(--surface-soft);
}

.map-placeholder--light small {
	color: var(--muted);
}

.about-section {
	width: min(calc(100% - 2rem), var(--max-width));
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: clamp(1rem, 2.4vw, 1.7rem);
	align-items: stretch;
}

.about-copy {
	padding: clamp(1.45rem, 4vw, 2.6rem);
}

.about-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.35rem;
}

.about-card {
	display: grid;
	align-content: center;
	gap: 1rem;
	padding: clamp(1.35rem, 4vw, 2.2rem);
	background:
		linear-gradient(135deg, rgba(243, 238, 231, 0.96), rgba(255, 253, 249, 0.92)),
		var(--surface-soft);
}

.about-card div {
	padding: 1rem 0;
	border-bottom: 1px solid rgba(199, 185, 170, 0.65);
}

.about-card div:last-child {
	border-bottom: 0;
}

.about-card strong {
	display: block;
	font-size: clamp(1.3rem, 3vw, 2rem);
	font-weight: 400;
	letter-spacing: 0.04em;
}

.about-card span {
	display: block;
	margin-top: 0.25rem;
	color: var(--muted);
	font-size: 0.92rem;
}

.site-footer {
	background: #26211d;
	color: #fffdf9;
	padding: clamp(2rem, 5vw, 3.4rem) 0 1rem;
}

.footer-inner {
	width: min(calc(100% - 2rem), var(--max-width));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 0.8fr) minmax(300px, 1fr);
	gap: clamp(1.5rem, 4vw, 2.8rem);
	align-items: start;
}

.site-footer--compact .footer-inner {
	grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
}

.footer-brand h2 {
	font-size: clamp(1.65rem, 4vw, 2.35rem);
	font-weight: 300;
	letter-spacing: 0.11em;
	line-height: 1;
	text-transform: uppercase;
}

.footer-brand p,
.footer-bottom p {
	color: rgba(255, 253, 249, 0.68);
}

.footer-brand p {
	margin-top: 0.9rem;
	max-width: 28rem;
}

.footer-instagram {
	display: inline-flex;
	align-items: center;
	gap: 0.52rem;
	margin-top: 1rem;
	padding: 0.55rem 0.85rem;
	border: 1px solid rgba(255, 253, 249, 0.24);
	border-radius: 999px;
	color: #fffdf9;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.footer-instagram:hover {
	background: rgba(255, 253, 249, 0.08);
	border-color: rgba(255, 253, 249, 0.48);
	transform: translateY(-1px);
}

.footer-contact {
	display: grid;
	gap: 0.65rem;
	font-style: normal;
}

.footer-contact span {
	color: rgba(255, 253, 249, 0.72);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-contact a {
	color: rgba(255, 253, 249, 0.88);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-contact a:hover {
	color: #fff;
}

.footer-map iframe,
.footer-map .map-placeholder {
	min-height: 220px;
}

.footer-bottom {
	width: min(calc(100% - 2rem), var(--max-width));
	margin: clamp(1.5rem, 4vw, 2.4rem) auto 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 253, 249, 0.14);
	font-size: 0.82rem;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2rem);
	background: rgba(32, 29, 26, 0.76);
	backdrop-filter: blur(4px);
}

.lightbox.is-visible {
	display: flex;
}

.lightbox__figure {
	position: relative;
	max-width: min(100%, 980px);
	max-height: 90vh;
	padding: clamp(0.55rem, 1.5vw, 0.9rem);
	border: 1px solid rgba(255, 253, 249, 0.28);
	border-radius: 22px;
	background: rgba(255, 253, 249, 0.96);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
	overflow: auto;
}

.lightbox__figure img {
	width: auto;
	max-width: 100%;
	max-height: 76vh;
	border-radius: 16px;
	object-fit: contain;
}

.lightbox__close {
	position: absolute;
	top: 0.7rem;
	right: 0.7rem;
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(222, 213, 202, 0.9);
	background: rgba(255, 253, 249, 0.94);
	color: var(--text);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover {
	background: #fff;
	transform: translateY(-1px);
}



.producto-viewer-btn {
	position: relative;
	overflow: hidden;
}

.producto-caption,
.admin-caption {
	position: absolute;
	left: 0.78rem;
	right: 0.78rem;
	z-index: 2;
	padding: 0.62rem 0.72rem;
	border: 1px solid rgba(222, 213, 202, 0.82);
	border-radius: 13px;
	background: rgba(255, 253, 249, 0.92);
	color: var(--accent-dark);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.015em;
	box-shadow: 0 10px 24px rgba(42, 35, 28, 0.1);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.producto-caption {
	bottom: 0.78rem;
	text-align: left;
	opacity: 0;
	transform: translateY(0.35rem);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.producto:hover .producto-caption,
.producto:focus-within .producto-caption {
	opacity: 1;
	transform: translateY(0);
}

.admin-caption {
	top: 0.78rem;
	right: auto;
	max-width: calc(100% - 1.56rem);
	background: rgba(255, 253, 249, 0.94);
}

body.modal-open {
	overflow: hidden;
}

.admin-modal:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2rem);
	background: rgba(32, 29, 26, 0.58);
	backdrop-filter: blur(4px);
}

.admin-modal__dialog {
	position: relative;
	width: min(100%, 860px);
	max-height: 92vh;
	display: grid;
	grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1fr);
	gap: clamp(1rem, 2.6vw, 1.6rem);
	overflow: auto;
	padding: clamp(1rem, 2.4vw, 1.35rem);
	border: 1px solid rgba(222, 213, 202, 0.9);
	border-radius: 24px;
	background: var(--surface);
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.admin-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	border: 1px solid var(--border);
	background: rgba(255, 253, 249, 0.94);
	color: var(--text);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.admin-modal__close:hover {
	background: #fff;
	transform: translateY(-1px);
}

.admin-modal__preview {
	min-height: 360px;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: var(--surface-soft);
}

.admin-modal__preview img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

.admin-text-form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	padding: clamp(0.45rem, 1.2vw, 0.8rem) clamp(0.3rem, 1vw, 0.6rem);
}

.admin-text-form h3 {
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	font-weight: 400;
	letter-spacing: 0.035em;
	line-height: 1.25;
}

.admin-text-form label {
	margin-top: 0.35rem;
	font-size: 0.86rem;
	font-weight: 500;
}

.admin-text-form textarea {
	width: 100%;
	min-height: 8rem;
	resize: vertical;
	padding: 0.88rem 0.95rem;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: #fff;
	color: var(--text);
	font: inherit;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-text-form textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(138, 106, 79, 0.12);
	background: #fffdf9;
}

.admin-text-help {
	color: var(--muted);
	font-size: 0.86rem;
}

.admin-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.7rem;
	flex-wrap: wrap;
	margin-top: 0.7rem;
}

.admin-modal__close:focus-visible,
.admin-text-form textarea:focus-visible {
	outline: 3px solid rgba(138, 106, 79, 0.28);
	outline-offset: 3px;
}

.about-editorial {
	width: min(calc(100% - 2rem), 1060px);
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.62fr);
	gap: clamp(1rem, 3vw, 2.4rem);
	align-items: stretch;
}

.about-editorial__copy {
	padding: clamp(1.55rem, 4vw, 3.2rem);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(255, 253, 249, 0.86);
	box-shadow: 0 16px 38px rgba(42, 35, 28, 0.045);
}

.about-editorial__copy h1,
.about-editorial__copy h2 {
	max-width: 12em;
	font-size: clamp(1.6rem, 4.2vw, 3rem);
	font-weight: 300;
	letter-spacing: 0.025em;
	line-height: 1.14;
}

.about-editorial__copy p {
	max-width: 46rem;
	margin-top: 1.15rem;
	color: var(--muted);
	font-size: clamp(0.96rem, 1.7vw, 1.08rem);
}

.about-editorial__facts {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background:
		linear-gradient(145deg, rgba(243, 238, 231, 0.94), rgba(255, 253, 249, 0.86)),
		var(--surface-soft);
	box-shadow: 0 16px 38px rgba(42, 35, 28, 0.045);
}

.about-editorial__facts dl {
	width: 100%;
	display: grid;
	align-content: center;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.about-editorial__facts div {
	padding: 1.05rem 0;
	border-bottom: 1px solid rgba(199, 185, 170, 0.66);
}

.about-editorial__facts div:last-child {
	border-bottom: 0;
}

.about-editorial__facts dt {
	color: var(--accent);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.about-editorial__facts dd {
	margin-top: 0.25rem;
	color: var(--text);
	font-size: clamp(1.18rem, 2.4vw, 1.65rem);
	font-weight: 400;
	line-height: 1.2;
}

.lightbox__caption {
	max-width: min(100%, 720px);
	margin: 0.8rem auto 0;
	padding: 0.78rem 0.95rem;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: rgba(250, 247, 242, 0.96);
	color: var(--accent-dark);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
	white-space: pre-line;
}

@media (hover: hover) {
	.admin-actions {
		opacity: 0;
		transform: translateY(0.4rem);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.producto:hover .admin-actions,
	.producto:focus-within .admin-actions {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: no-preference) {
	main > * {
		animation: subtle-appear 0.42s ease both;
	}

	@keyframes subtle-appear {
		from {
			opacity: 0;
			transform: translateY(8px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 1120px) {
	.admin-collection-toolbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.admin-collection-toolbar .admin-btn,
	.admin-collection-toolbar .btn-secondary {
		width: 100%;
	}
}

@media (max-width: 980px) {
	.contacto-layout,
	.about-section,
	.mapa-contacto,
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.footer-map iframe {
		min-height: 260px;
	}
}

@media (max-width: 900px) {
	.navbar,
	nav {
		justify-content: center;
		padding-top: 0.8rem;
	}

	.coleccion {
		grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	}
}

@media (max-width: 560px) {
	body {
		background: var(--bg);
	}

	.navbar,
	nav {
		width: min(calc(100% - 1.5rem), var(--max-width));
		gap: 0.6rem 0.85rem;
		flex-wrap: wrap;
	}

	nav a,
	.nav-button {
		font-size: 0.74rem;
		letter-spacing: 0.055em;
	}

	.brand {
		width: min(calc(100% - 1.5rem), var(--max-width));
		padding-top: 1.15rem;
	}

	.brand h1,
.brand-title {
		letter-spacing: 0.065em;
	}

	.brand strong {
		margin-top: 0.85rem;
	}

	main {
		padding-top: 1.25rem;
	}

	.titulos,
	.home-intro,
	.seo-intro,
	.colecciones-publicas,
	.coleccion,
	.admin-panel,
	.login-form,
	.contacto-layout,
	.about-section,
	.mapa-contacto {
		width: min(calc(100% - 1.5rem), var(--max-width));
	}

	.coleccion {
		grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
		gap: 0.75rem;
	}

	.producto {
		border-radius: 14px;
	}

	.contacto-form button,
	.admin-btn,
	.btn-primary,
	.btn-secondary {
		width: 100%;
	}

	.admin-collection-toolbar {
		grid-template-columns: 1fr;
	}

	.contacto-info,
	.contacto-form,
	.about-copy,
	.about-card,
	.mapa-contacto {
		padding: 1.15rem;
	}

	.about-actions {
		flex-direction: column;
	}

	.mapa-contacto-frame iframe,
	.mapa-contacto-frame .map-placeholder {
		min-height: 230px;
	}

	.site-footer {
		padding-top: 2rem;
	}
}


@media (max-width: 1120px) {
	.admin-collection-toolbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.admin-collection-toolbar .admin-btn,
	.admin-collection-toolbar .btn-secondary {
		width: 100%;
	}
}

@media (max-width: 980px) {
	.admin-modal__dialog,
	.about-editorial {
		grid-template-columns: 1fr;
	}

	.admin-modal__preview,
	.admin-modal__preview img {
		min-height: 280px;
		max-height: 360px;
	}
}

@media (max-width: 560px) {
	.producto-caption,
	.admin-caption {
		left: 0.55rem;
		right: 0.55rem;
		padding: 0.5rem 0.58rem;
		font-size: 0.72rem;
	}

	.admin-actions {
		gap: 0.4rem;
		padding: 0.65rem;
		flex-wrap: wrap;
	}

	.admin-action-btn {
		min-height: 2.05rem;
		padding: 0.45rem 0.62rem;
		font-size: 0.68rem;
	}

	.admin-modal:not([hidden]) {
		padding: 0.75rem;
	}

	.admin-modal__dialog {
		border-radius: 18px;
		padding: 0.82rem;
	}

	.admin-modal__preview,
	.admin-modal__preview img {
		min-height: 220px;
		max-height: 260px;
	}

	.admin-modal__actions {
		flex-direction: column-reverse;
	}

	.admin-modal__actions .btn-primary,
	.admin-modal__actions .btn-secondary {
		width: 100%;
	}

	.about-editorial {
		width: min(calc(100% - 1.5rem), var(--max-width));
	}

	.about-editorial__copy,
	.about-editorial__facts dl {
		padding: 1.15rem;
	}

	.lightbox__caption {
		font-size: 0.88rem;
		text-align: left;
	}
}
