/*
Theme Name: barcarola_new
Theme URI: https://barcarola.moda/
Author: Tu estudio
Description: Tema escaparate minimalista para Barcarola (moda infantil de comunión y ceremonia): colecciones con foto de portada y galería gestionables, noticias, pie con Instagram y página oculta de pre-pedido con guía de medidas.
Version: 3.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: barcarola_new
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
	--c-bg: #ffffff;
	--c-soft: #f7f5f2;
	--c-text: #2b2a28;
	--c-muted: #8f8b7c;   /* gris cálido del logo */
	--c-line: #e9e5df;
	--c-accent: #fb7066;  /* coral del logo */
	--c-accent-soft: #fdeeec;

	/* Tipografías del sistema (sin descargas). */
	--f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--f-serif: Didot, "Bodoni 72", "Bodoni MT", "Didot LT STD", Georgia, "Times New Roman", serif;

	--w-max: 1440px;
	--w-narrow: 720px;
	--gap: clamp(16px, 2.4vw, 36px);
	--pad: clamp(20px, 4.5vw, 72px);
	--section: clamp(80px, 11vw, 160px);
	--header-h: 132px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	animation: page-in .8s var(--ease) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1.2em; }
strong, b { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--c-text); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--c-accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: calc(var(--w-narrow) + var(--pad) * 2); }
.center { text-align: center; }
.muted { color: var(--c-muted); }

.kicker {
	font-size: 10.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
	color: var(--c-accent); margin: 0 0 18px;
}

.placeholder { display: block; width: 100%; height: 100%; min-height: 200px; background: var(--c-soft); }
.placeholder--logo { background: var(--c-soft) url("assets/img/logo.png") center / 30% no-repeat; opacity: .6; }
.ratio-landscape { position: relative; overflow: hidden; background: var(--c-soft); aspect-ratio: 3 / 2; }
.ratio-landscape img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }

/* ==========================================================================
   Enlaces y botones
   ========================================================================== */
.link-line, .btn--line {
	position: relative; display: inline-block; padding: 4px 0;
	background: none; border: 0; cursor: pointer;
	font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
}
.link-line::after, .btn--line::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
	background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-line:hover::after, .btn--line:hover::after { transform: scaleX(0); transform-origin: left; }
.link-line:hover { color: inherit; }

.btn {
	position: relative; display: inline-block; overflow: hidden; isolation: isolate;
	padding: 16px 40px; border: 1px solid var(--c-text); background: transparent; color: var(--c-text);
	font-size: 10.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; cursor: pointer;
	transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-text);
	transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out);
}
.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleY(1); }
.btn--accent { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }
.btn--accent::before { background: var(--c-text); }
.btn--accent:hover { border-color: var(--c-text); }

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color .4s var(--ease), transform .5s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 32px; }

.site-header__inner {
	position: relative; display: flex; align-items: center; justify-content: center;
	padding: 28px var(--pad) 16px; transition: padding .4s var(--ease);
}
.site-header.is-scrolled .site-header__inner { padding-top: 14px; padding-bottom: 8px; }
.site-brand .custom-logo { max-height: 50px; width: auto; transition: max-height .4s var(--ease); }
.site-header.is-scrolled .custom-logo { max-height: 36px; }

.header-ig { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); }
.header-ig svg, .nav-toggle svg { width: 22px; height: 22px; }

.nav-toggle {
	display: none; position: absolute; left: calc(var(--pad) - 8px); top: 50%; transform: translateY(-50%);
	background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle__close { display: none; }

.site-nav { padding: 0 var(--pad) 18px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul, .site-nav > .menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px clamp(20px, 3.4vw, 52px); }
.site-nav li { position: relative; }
.site-nav a {
	position: relative; display: block; padding: 6px 0;
	font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
}
.site-nav > ul > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-accent);
	transform: scaleX(0); transition: transform .5s var(--ease-out);
}
.site-nav > ul > li > a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.site-nav .current-menu-item > a { color: var(--c-accent); }
.site-nav .sub-menu {
	position: absolute; left: 50%; top: 100%; min-width: 190px; padding: 16px 24px;
	background: #fff; border: 1px solid var(--c-line); text-align: center;
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ==========================================================================
   Animaciones de entrada
   ========================================================================== */
/* Solo se ocultan si el JS está activo (clase .js en <html>). */
.js [data-reveal] {
	opacity: 0; transform: translateY(28px);
	transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
	transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Imagen que se descubre con una cortina. */
.media-reveal { position: relative; overflow: hidden; display: block; }
.js .media-reveal::after {
	content: ""; position: absolute; inset: 0; background: var(--c-bg); z-index: 2;
	transform-origin: top; transition: transform 1.3s var(--ease-out); transition-delay: var(--d, 0ms);
}
.js .media-reveal.is-visible::after { transform: scaleY(0); }
.js .media-reveal img { transform: scale(1.12); transition: transform 2s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .media-reveal.is-visible img { transform: scale(1); }
.js .media-reveal.is-visible:hover img { transform: scale(1.04); transition-delay: 0ms; }
.js .media-reveal[data-reveal] { opacity: 1; transform: none; }

.hero__line { opacity: 0; transform: translateY(24px); animation: line-in 1.2s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes line-in { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Portada
   ========================================================================== */
.hero {
	position: relative; display: flex; align-items: center; overflow: hidden;
	height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
	min-height: 520px; max-height: 1000px; background: var(--c-soft);
}
.hero__media { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: hero-zoom 2.6s var(--ease-out) both; }
.hero__default { object-position: 75% center; }
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero--light .hero__media::after {
	content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 60%);
}
.hero__content { position: relative; z-index: 1; }
.hero__title {
	font-family: var(--f-serif); font-weight: 400;
	font-size: clamp(36px, 5.4vw, 80px); line-height: 1.05; letter-spacing: -.005em;
	max-width: 11ch; margin-bottom: 36px;
}
.hero--light { color: #fff; }
.hero--light .kicker { color: #fff; }
.hero--light a:hover { color: #fff; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: rgba(43, 42, 40, .15); overflow: hidden; }
.hero--light .hero__scroll { background: rgba(255, 255, 255, .3); }
.hero__scroll span { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: currentColor; animation: scroll-line 2.2s var(--ease) infinite; }
@keyframes scroll-line { to { top: 100%; } }

.intro { padding-top: var(--section); padding-bottom: calc(var(--section) * .7); text-align: center; }
.intro p { font-family: var(--f-serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.4; margin: 0; }

/* Colecciones en portada */
.collections { padding-bottom: var(--section); }
.feature {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center;
	gap: clamp(32px, 7vw, 120px);
	max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad);
}
.feature + .feature { margin-top: clamp(80px, 12vw, 180px); }
.feature--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature--reverse .feature__media { order: 2; }
.feature__media { aspect-ratio: 4 / 5; max-height: 86vh; background: var(--c-soft); }
.feature__img { position: absolute; inset: -8% 0; display: block; will-change: transform; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__media:hover img { transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.feature__text { max-width: 400px; }
.feature--reverse .feature__text { justify-self: end; }
.feature__title { font-family: var(--f-serif); font-size: clamp(40px, 5.2vw, 76px); line-height: 1; margin-bottom: 24px; }
.feature__title a:hover { color: inherit; opacity: .7; }
.feature__excerpt { color: var(--c-muted); margin-bottom: 32px; }

.signature { padding-top: 0; padding-bottom: var(--section); }
.signature img { margin: 0 auto 26px; width: 40px; opacity: .9; }
.signature__text { font-family: var(--f-serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; margin-bottom: 28px; }

/* ==========================================================================
   Página de colección
   ========================================================================== */
.cover {
	position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
	height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
	min-height: 480px; max-height: 1000px; color: #fff; text-align: center; background: var(--c-soft);
}
.cover__media { position: absolute; inset: -6% 0 0; will-change: transform; }
.cover__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 2.6s var(--ease-out) both; }
.cover__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 50%); }
.cover__content { position: relative; z-index: 1; padding-bottom: clamp(48px, 9vh, 110px); }
.cover .kicker { color: #fff; }
.cover__title { font-family: var(--f-serif); font-size: clamp(54px, 9vw, 140px); line-height: .95; margin: 0; }

.lookbook {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 48px) clamp(16px, 4vw, 72px); max-width: 1180px;
	padding-bottom: calc(var(--section) * .6);
}
.lookbook__item { margin: 0; }
.lookbook__item:nth-child(even) { margin-top: clamp(40px, 10vw, 160px); }
.lookbook__item:nth-child(3n) { grid-column: span 1; }
.lookbook__link { aspect-ratio: 2 / 3; background: var(--c-soft); cursor: zoom-in; }
.lookbook__link img { width: 100%; height: 100%; object-fit: cover; }
.lookbook__item:hover img { transform: scale(1.03); transition: transform 1.4s var(--ease-out); }
.lookbook figcaption {
	margin-top: 14px; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--c-muted);
}

.cta { padding-top: calc(var(--section) * .6); padding-bottom: var(--section); }
.cta__text { font-family: var(--f-serif); font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 32px; }

.more { padding-bottom: var(--section); }
.more .kicker { margin-bottom: 36px; }
.more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); max-width: 1100px; margin: 0 auto; }
.more__item { display: block; text-align: center; }
.more__item:hover { color: inherit; }
.more__media { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--c-soft); }
.more__media img, .more__media .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.more__item:hover img { transform: scale(1.05); }
.more__label { display: inline-block; margin-top: 18px; font-family: var(--f-serif); font-size: 26px; }

/* ==========================================================================
   Páginas genéricas
   ========================================================================== */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: 0; }
.page-hero { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-title { font-family: var(--f-serif); font-size: clamp(38px, 5.4vw, 72px); line-height: 1.05; margin-bottom: 20px; }
.page-title--article { font-size: clamp(32px, 4.2vw, 56px); }
.page-intro { max-width: 600px; margin: 0 auto; color: var(--c-muted); font-size: 17px; }
.page-intro p:last-child { margin: 0; }
.empty { text-align: center; color: var(--c-muted); padding: 40px 0; font-family: var(--f-serif); font-size: 22px; }

/* Sobre nosotros */
.about__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); align-items: center; padding-bottom: var(--section); }
.about__media { margin: 0; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text { max-width: 480px; }
.about__text p { color: var(--c-muted); }
.about__text strong { color: var(--c-text); font-weight: 400; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 6vw, 96px); text-align: center; padding-bottom: var(--section); max-width: 1100px; }
.value img { width: 48px; height: 48px; margin: 0 auto 22px; }
.value h3 { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 12px; }
.value p { color: var(--c-muted); font-size: 15px; margin: 0; }
.about__wide { margin: 0 auto var(--section); max-width: 1100px; aspect-ratio: 16 / 9; }
.about__wide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); align-items: center; padding-top: clamp(48px, 7vw, 100px); padding-bottom: var(--section); }
.contact__text .entry-content p { color: var(--c-muted); }
.contact__list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--c-line); }
.contact__list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.contact__list span { font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--c-muted); padding-top: 3px; }
.contact__media { margin: 0; background: var(--c-soft); aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.contact__media img { max-height: 100%; width: auto; object-fit: contain; }

/* Noticias */
.grid { display: grid; gap: clamp(36px, 4vw, 64px) var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.news-card__link:hover { color: inherit; }
.news-card:hover img { transform: scale(1.04); }
.news-card__meta { margin: 20px 0 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--c-accent); }
.news-card__title { font-family: var(--f-serif); font-size: 24px; line-height: 1.25; }

.pagination { margin-top: 80px; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; }
.pagination .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; border: 1px solid transparent; }
.pagination .page-numbers.current { border-color: var(--c-text); }

/* Contenido editorial */
.entry-content { font-size: 17px; }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2 { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 36px); margin-top: 2em; }
.entry-content h3 { font-family: var(--f-serif); font-size: 24px; margin-top: 1.8em; }
.entry-content h4 { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--c-muted); margin-top: 2.2em; }
.entry-content a { color: var(--c-accent); border-bottom: 1px solid currentColor; }
.entry-content a.btn { color: var(--c-text); border-bottom: 1px solid var(--c-text); }
.entry-content a.btn:hover { color: #fff; }
.entry-content blockquote { margin: 2.4em 0; padding: 0; border: 0; text-align: center; font-family: var(--f-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; }
.entry-content figure { margin: 2.4em 0; }
.entry-content figcaption { font-size: 13px; color: var(--c-muted); text-align: center; margin-top: 10px; }
.entry-content .alignwide { width: min(1100px, 100vw - var(--pad) * 2); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content img { height: auto; }
.article__cover { margin: 0 auto clamp(40px, 6vw, 80px); max-width: 1200px; }
.article__cover img { width: 100%; max-height: 80vh; object-fit: cover; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 80px; padding-top: 28px; padding-bottom: var(--section); border-top: 1px solid var(--c-line); font-family: var(--f-serif); font-size: 18px; }
.post-nav > div:last-child { text-align: right; }

/* ==========================================================================
   Pre-pedido (página oculta)
   ========================================================================== */
.order { padding-bottom: var(--section); }
.order__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.order__guide { position: sticky; top: calc(var(--header-h) + 24px); }
.order__guide-img { display: block; background: var(--c-soft); cursor: zoom-in; }
.order__guide-img img { width: 100%; }
.order__guide-caption { margin-top: 16px; font-size: 14px; color: var(--c-muted); }
.order__done { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 0; }
.order__done p { color: var(--c-muted); }

.order-form fieldset { border: 0; margin: 0 0 56px; padding: 0; }
.order-form legend {
	display: flex; align-items: baseline; gap: 14px; width: 100%;
	padding: 0 0 16px; margin-bottom: 28px; border-bottom: 1px solid var(--c-line);
	font-family: var(--f-serif); font-size: 26px;
}
.order-form legend span { font-family: var(--f-sans); font-size: 10.5px; font-weight: 500; letter-spacing: .26em; color: var(--c-accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }

/* Campos con etiqueta flotante */
.field { position: relative; margin: 0 0 22px; }
.field input, .field select, .field textarea {
	display: block; width: 100%; padding: 22px 0 8px;
	border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; background: transparent;
	font-size: 16px; color: var(--c-text); transition: border-color .3s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.field textarea { padding: 14px; margin-top: 28px; border: 1px solid var(--c-line); resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-text); }
.field label {
	position: absolute; left: 0; top: 22px; pointer-events: none;
	font-size: 15px; color: var(--c-muted); transform-origin: left top;
	transition: transform .35s var(--ease-out), color .35s var(--ease), letter-spacing .35s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label, .field--date label, .field--area label {
	transform: translateY(-20px) scale(.72); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted);
}
.field--area label { top: 0; transform: none; font-size: 11px; letter-spacing: .2em; }
.field--area textarea:focus + label, .field--area textarea:not(:placeholder-shown) + label { transform: none; }
.field--select select {
	cursor: pointer; padding-right: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238f8b7c' stroke-width='1.4'/%3E%3C/svg%3E") right 0 bottom 10px / 16px no-repeat;
}

.order-lines { display: grid; gap: 4px; margin-bottom: 18px; }
.order-line {
	position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.3fr) 84px 70px 28px;
	gap: 18px; align-items: end; padding: 14px 0; border-bottom: 1px dashed var(--c-line);
	animation: line-add .6s var(--ease-out);
}
@keyframes line-add { from { opacity: 0; transform: translateY(-8px); } }
.order-line .field { margin: 0; }
.order-line__thumb { width: 64px; height: 86px; background: var(--c-soft); overflow: hidden; }
.order-line__thumb img { width: 100%; height: 100%; object-fit: cover; animation: page-in .5s var(--ease); }
.order-line__remove { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--c-muted); align-self: center; }
.order-line__remove svg { width: 18px; height: 18px; }
.order-line__remove:hover { color: var(--c-accent); }
.order-line:only-child .order-line__remove { visibility: hidden; }

.consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--c-muted); cursor: pointer; }
.consent input { margin-top: 5px; accent-color: var(--c-accent); }
.consent a { color: var(--c-text); border-bottom: 1px solid var(--c-line); }

.notice { padding: 18px 22px; margin-bottom: 32px; border: 1px solid var(--c-line); font-size: 15px; }
.notice p { margin: 0; }
.notice--error { border-color: #e6b3ae; background: var(--c-accent-soft); color: #9a3a32; }

/* ==========================================================================
   Pie
   ========================================================================== */
.site-footer { border-top: 1px solid var(--c-line); font-size: 14px; }

.ig { padding: clamp(64px, 8vw, 110px) 0 0; text-align: center; }
.ig__title { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 40px); margin-bottom: clamp(32px, 4vw, 48px); }
.ig__title a:hover { color: var(--c-accent); }
.ig__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.ig__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--c-soft); }
.ig__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s var(--ease); }
.ig__icon {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	color: #fff; background: rgba(43, 42, 40, .25); opacity: 0; transition: opacity .5s var(--ease);
}
.ig__icon svg { width: 28px; height: 28px; }
.ig__item:hover img { transform: scale(1.08); }
.ig__item:hover .ig__icon { opacity: 1; }

.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 48px; padding-top: clamp(56px, 7vw, 96px); }
.site-footer h4 { font-size: 10.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer__brand p { color: var(--c-muted); max-width: 300px; margin-top: 18px; }
.site-brand--footer .custom-logo { max-height: 36px; }
.site-footer__news li { margin-bottom: 14px; }
.site-footer__news li a { display: grid; grid-template-columns: 74px 1fr; gap: 12px; line-height: 1.45; }
.site-footer__news time { font-size: 11px; color: var(--c-muted); letter-spacing: .06em; padding-top: 2px; }
.site-footer__news span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.site-footer__news .link-line { margin-top: 6px; font-size: 10px; }
.social { display: flex; gap: 16px; margin-top: 22px; }
.social svg { width: 20px; height: 20px; }
.site-footer__bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; padding-bottom: 26px;
	border-top: 1px solid var(--c-line); font-size: 12px; color: var(--c-muted);
}
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.legal-menu li { margin: 0; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
	position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .98); opacity: 0; transition: opacity .45s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 88vw; max-height: 86vh; object-fit: contain; transform: scale(.97); transition: transform .6s var(--ease-out), opacity .35s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox img.is-changing { opacity: 0; }
.lightbox button { position: absolute; background: none; border: 0; padding: 14px; cursor: pointer; color: var(--c-text); }
.lightbox button svg { width: 26px; height: 26px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--c-muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.order-line { grid-template-columns: 56px 1fr 1fr; }
	.order-line__thumb { width: 56px; height: 76px; grid-row: span 2; }
	.order-line__remove { position: absolute; top: 10px; right: 0; }
}

@media (max-width: 900px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: block; }
	.site-header__inner { padding-top: 16px; padding-bottom: 16px; }
	.site-brand .custom-logo, .site-header.is-scrolled .custom-logo { max-height: 34px; }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 48px var(--pad);
		overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open { overflow: hidden; }
	.site-nav > ul, .site-nav > .menu { flex-direction: column; align-items: center; gap: 8px; }
	.site-nav a { font-family: var(--f-serif); font-size: 28px; letter-spacing: 0; text-transform: none; padding: 8px 0; }
	.site-nav > ul > li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
	.nav-open .site-nav > ul > li { opacity: 1; transform: none; }
	.nav-open .site-nav > ul > li:nth-child(2) { transition-delay: .05s; }
	.nav-open .site-nav > ul > li:nth-child(3) { transition-delay: .1s; }
	.nav-open .site-nav > ul > li:nth-child(4) { transition-delay: .15s; }
	.nav-open .site-nav > ul > li:nth-child(5) { transition-delay: .2s; }
	.nav-open .site-nav > ul > li:nth-child(6) { transition-delay: .25s; }
	.site-nav > ul > li > a::after { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0; min-width: 0; }

	.hero { align-items: flex-end; }
	.hero__content { padding-bottom: 90px; }
	.feature, .feature--reverse { grid-template-columns: 1fr; gap: 28px; }
	.feature--reverse .feature__media { order: 0; }
	.feature__text, .feature--reverse .feature__text { justify-self: start; max-width: none; }
	.feature__media { max-height: none; }
	.about__split, .contact, .order__grid { grid-template-columns: 1fr; }
	.order__guide { position: static; order: -1; max-width: 420px; }
	.values, .grid--3 { grid-template-columns: 1fr; }
	.ig__strip { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 600px) {
	.lookbook { grid-template-columns: 1fr; }
	.lookbook__item:nth-child(even) { margin-top: 0; }
	.form-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.contact__list li { grid-template-columns: 1fr; gap: 2px; }
	.order-line { grid-template-columns: 56px 1fr; }
	.order-line .field--small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	[data-reveal], .hero__line { opacity: 1; transform: none; }
	.js .media-reveal::after { display: none; }
	.media-reveal img { transform: none; }
}
