/* ==========================================================================
   Tramon Joyas
   Paleta tomada del logotipo (#0a1f4a) y de la fotografía de la marca:
   azul profundo, mar, arena y blanco.
   ========================================================================== */

:root {
	--navy: #0a1f4a;
	--navy-2: #16326e;
	--sea: #2f6aa8;
	--ink: #121a2c;
	--text: #2b3140;
	--muted: #6f6c68;
	--sand: #f1ece4;
	--sand-2: #f8f5f0;
	--photo: #fcfbf9; /* fondo casi blanco de las fotos de producto */
	--stone: #e6dfd4;
	--line: #e2dcd2;
	--white: #fff;
	--gold: #a8864e;

	--serif: "Josefin Sans", "Futura", "Helvetica Neue", Arial, sans-serif;
	--sans: "Urbanist", "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(16px, 4vw, 56px);
	--max: 1440px;
	--header-h: 118px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-family: var(--serif);
	font-weight: 300;
	line-height: 1.12;
	color: var(--ink);
	letter-spacing: .01em;
}

p { margin: 0 0 1em; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 1px solid var(--navy); outline-offset: 3px; }

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

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--navy);
	color: var(--white);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), var(--max)); }

/* --------------------------------------------------------------------------
   Botones y enlaces
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 34px;
	border: 1px solid transparent;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .04em;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--navy); color: var(--white); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 400;
	color: var(--navy);
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 4px;
	transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn, .text-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	background: none;
	border: 0;
	font-size: 13.5px;
	font-weight: 400;
	letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   Barra de aviso y cabecera
   -------------------------------------------------------------------------- */

.announce {
	position: relative;
	z-index: 60;
	background: var(--navy);
	color: #dfe6f3;
	text-align: center;
	font-size: 12.5px;
	letter-spacing: .03em;
}
.announce p { margin: 0; padding: 9px var(--gutter); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	color: var(--ink);
	border-bottom: 1px solid var(--line);
	transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .45s var(--ease);
}

.site-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
	padding-top: 16px;
}
.site-header__left { display: flex; align-items: center; gap: 4px; }
.site-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.site-header__brand { text-align: center; }

.menu-toggle { display: none; margin-left: -8px; }

.brand {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	color: inherit;
}
.brand:hover { color: inherit; }
/* El PNG oficial se usa como máscara: toma el color del texto de la cabecera. */
.brand__mark {
	display: block;
	width: clamp(170px, 17vw, 250px);
	aspect-ratio: 900 / 120;
	background: currentColor;
	-webkit-mask: var(--logo) center / contain no-repeat;
	mask: var(--logo) center / contain no-repeat;
	transition: width .4s var(--ease);
}
.custom-logo { max-height: 56px; width: auto; margin-inline: auto; }

.bag-btn { position: relative; }
.cart-count {
	position: absolute;
	top: 2px; right: 0;
	min-width: 17px; height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--navy);
	color: var(--white);
	font-size: 10.5px;
	line-height: 17px;
	text-align: center;
	transition: transform .3s var(--ease);
}
.cart-count[data-count="0"] { transform: scale(0); }
.cart-count.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Navegación principal y menú desplegado */
.site-nav .menu {
	display: flex;
	justify-content: center;
	gap: clamp(20px, 3vw, 44px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav .menu > li > a {
	position: relative;
	display: block;
	padding: 16px 0 18px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .03em;
}
.site-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 12px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .45s var(--ease);
}
.site-nav .menu > li:hover > a::after,
.site-nav .menu > li:focus-within > a::after,
.site-nav .menu > .current-menu-item > a::after,
.site-nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }

.site-nav .sub-menu {
	position: absolute;
	left: 0; right: 0; top: 100%;
	display: flex;
	justify-content: center;
	gap: 56px;
	margin: 0;
	padding: 34px var(--gutter) 40px;
	list-style: none;
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: .08s, .08s, 0s;
}
.site-nav .sub-menu a {
	font-family: var(--serif);
	font-size: 28px;
	color: var(--ink);
	transition: color .3s;
}
.site-nav .sub-menu a:hover { color: var(--sea); }

/* Cabecera superpuesta en la portada */
.site-header.is-overlay {
	position: absolute;
	top: auto;
	left: 0; right: 0;
	background: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, .22);
}
.site-header.is-overlay::before {
	content: "";
	position: absolute;
	inset: 0 0 -60px;
	z-index: -1;
	background: linear-gradient(rgba(6, 18, 44, .45), rgba(6, 18, 44, 0));
	pointer-events: none;
	transition: opacity .4s;
}
.site-header.is-overlay:hover,
.site-header.is-overlay:focus-within {
	background: var(--white);
	color: var(--ink);
	border-color: var(--line);
}
.site-header.is-overlay:hover::before,
.site-header.is-overlay:focus-within::before { opacity: 0; }
.site-header.is-overlay .cart-count { background: var(--white); color: var(--navy); }
.site-header.is-overlay:hover .cart-count,
.site-header.is-overlay:focus-within .cart-count { background: var(--navy); color: var(--white); }

/* Cabecera fija al bajar */
.site-header.is-stuck {
	position: fixed;
	left: 0; right: 0; top: 0;
	background: var(--white);
	color: var(--ink);
	border-color: var(--line);
	animation: header-in .5s var(--ease-out);
}
.site-header.is-stuck::before { opacity: 0; }
.site-header.is-stuck .cart-count { background: var(--navy); color: var(--white); }
.site-header.is-stuck .site-header__bar,
.site-header.is-compact .site-header__bar { padding-top: 10px; }
.site-header.is-stuck .brand__mark,
.site-header.is-compact .brand__mark { width: clamp(150px, 13vw, 200px); }
.site-header.is-stuck .site-nav .menu > li > a,
.site-header.is-compact .site-nav .menu > li > a { padding: 10px 0 13px; }
.site-header.is-stuck .site-nav .menu > li > a::after,
.site-header.is-compact .site-nav .menu > li > a::after { bottom: 8px; }
.site-header.is-hidden { transform: translateY(-100%); }
@keyframes header-in { from { transform: translateY(-100%); } }
.admin-bar .site-header:not(.is-overlay),
.admin-bar .site-header.is-stuck { top: var(--wp-admin--admin-bar--height, 0px); }
/* En pantallas chicas la barra de WordPress se va con el scroll: la cabecera fija vuelve al borde superior. */
@media (max-width: 600px) {
	.admin-bar .site-header:not(.is-overlay),
	.admin-bar .site-header.is-stuck { top: 0; }
}


/* --------------------------------------------------------------------------
   Portada: slider en díptico
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	height: calc(100svh - 34px);
	min-height: 560px;
	max-height: 1000px;
	overflow: hidden;
	background: var(--navy);
	color: var(--white);
}
.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.4s var(--ease), visibility 0s 1.4s;
}
.hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 1.4s var(--ease), visibility 0s;
	z-index: 1;
}
.hero__media {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.hero__pic { margin: 0; overflow: hidden; }
.hero__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.1);
}
.hero__slide.is-active .hero__pic img {
	transform: scale(1);
	transition: transform 9s linear;
}
.hero__slide.is-active .hero__pic--b img { transition-duration: 11s; }
.hero__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 14, 36, .62) 0%, rgba(5, 14, 36, .12) 45%, rgba(5, 14, 36, 0) 70%);
	pointer-events: none;
}
.hero__text {
	position: absolute;
	left: 50%;
	bottom: clamp(70px, 11vh, 120px);
	z-index: 2;
	width: min(92%, 760px);
	text-align: center;
	transform: translateX(-50%);
}
.hero__title {
	margin-bottom: .25em;
	color: var(--white);
	font-size: clamp(44px, 6.4vw, 92px);
	font-weight: 300;
	line-height: 1;
}
.hero__lead {
	max-width: 520px;
	margin: 0 auto 30px;
	font-size: clamp(15px, 1.3vw, 18px);
	color: rgba(255, 255, 255, .9);
}
.hero__text > * {
	opacity: 0;
	transform: translateY(26px);
}
.hero__slide.is-active .hero__text > * {
	opacity: 1;
	transform: none;
	transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.hero__slide.is-active .hero__text > :nth-child(1) { transition-delay: .35s; }
.hero__slide.is-active .hero__text > :nth-child(2) { transition-delay: .5s; }
.hero__slide.is-active .hero__text > :nth-child(3) { transition-delay: .65s; }

.hero__nav {
	position: absolute;
	left: 50%;
	bottom: 34px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 12px;
	transform: translateX(-50%);
}
.hero__dot {
	width: 44px;
	padding: 10px 0;
	background: none;
	border: 0;
}
.hero__dot span {
	position: relative;
	display: block;
	height: 1px;
	background: rgba(255, 255, 255, .4);
	overflow: hidden;
}
.hero__dot span::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	transform: scaleX(0);
	transform-origin: left;
}
.hero__dot.is-active span::after { animation: dot-fill var(--hero-delay, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }

.hero__pause {
	position: relative;
	width: 28px; height: 28px;
	margin-left: 6px;
	background: none;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
}
.hero__pause span,
.hero__pause span::after {
	position: absolute;
	top: 9px;
	width: 1.5px; height: 9px;
	background: var(--white);
}
.hero__pause span { left: 10.5px; }
.hero__pause span::after { content: ""; top: 0; left: 4px; }
.hero.is-paused .hero__pause span {
	left: 11px;
	width: 0; height: 0;
	background: none;
	border-left: 7px solid var(--white);
	border-top: 4.5px solid transparent;
	border-bottom: 4.5px solid transparent;
}
.hero.is-paused .hero__pause span::after { display: none; }

/* --------------------------------------------------------------------------
   Secciones de la portada
   -------------------------------------------------------------------------- */

.manifesto {
	padding: clamp(70px, 9vw, 120px) var(--gutter);
	text-align: center;
}
.manifesto__text {
	max-width: 900px;
	margin: 0 auto;
	font-family: var(--serif);
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 300;
	line-height: 1.3;
	color: var(--ink);
}

.section {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: 0 auto clamp(90px, 10vw, 140px);
}
.section__head { margin-bottom: clamp(28px, 3.5vw, 48px); text-align: center; }
.section__head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	text-align: left;
}
.section__title { margin: 0; font-size: clamp(34px, 3.6vw, 52px); }
.section__lead { margin: 12px auto 0; max-width: 560px; color: var(--muted); }
.section__lead a { color: var(--navy); border-bottom: 1px solid currentColor; }

/* Categorías */
.categories__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px, 1.6vw, 24px);
}
.cat-tile { display: block; text-align: center; }
.cat-tile__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--sand);
}
.cat-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 1.2s var(--ease-out);
}
.cat-tile:hover .cat-tile__media img { transform: scale(1.1); }
.cat-tile__name {
	display: block;
	margin-top: 18px;
	font-family: var(--serif);
	font-size: 28px;
	color: var(--ink);
}
.cat-tile__count { font-size: 13px; color: var(--muted); }

/* Tarjeta de producto */
.card { position: relative; }
.card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--photo);
}
.card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 1s var(--ease-out), opacity .6s var(--ease);
}
.card__img--alt {
	position: absolute;
	inset: 0;
	object-fit: cover;
	mix-blend-mode: normal;
	opacity: 0;
}
.card:hover .card__img { transform: scale(1.03); }
.card:hover .card__img--alt { opacity: 1; transform: scale(1.01); }
.badge {
	position: absolute;
	top: 14px; left: 14px;
	z-index: 2;
	padding: 5px 10px;
	background: var(--white);
	color: var(--navy);
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: .03em;
}
.card__body { padding-top: 16px; }
.card__title {
	margin: 0 0 4px;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.3;
}
.card__title a:hover { color: var(--sea); }
.card__meta { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.card__price { margin: 0; font-size: 15px; font-weight: 400; color: var(--ink); }
.card__price del { color: var(--muted); margin-right: 6px; }
.card__price ins { text-decoration: none; }

.card--mini .card__title { font-size: 18px; }

/* Carrusel */
.rail { position: relative; }
.rail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: clamp(240px, 22.5vw, 340px);
	gap: clamp(14px, 1.6vw, 24px);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	padding-bottom: 4px;
	outline: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
.rail__controls {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 32px;
}
.rail__progress {
	position: relative;
	flex: 1;
	height: 1px;
	background: var(--line);
}
.rail__progress span {
	position: absolute;
	left: 0; top: -.5px;
	height: 2px;
	width: 20%;
	background: var(--navy);
	transition: left .2s linear, width .2s linear;
}
.rail__btn {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	background: none;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--navy);
	transition: background-color .3s, color .3s, border-color .3s;
}
.rail__btn:hover:not(:disabled) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.rail__btn:disabled { opacity: .35; cursor: default; }

/* Historias a dos columnas */
.story-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-bottom: clamp(90px, 10vw, 140px);
	background: var(--sand);
}
.story-split__media { position: relative; min-height: 560px; overflow: hidden; }
.story-split__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--ease-out);
}
.story-split:hover .story-split__media img { transform: scale(1.03); }
.story-split__text {
	align-self: center;
	padding: clamp(40px, 6vw, 110px);
}
.story-split__text h2 { font-size: clamp(36px, 3.8vw, 58px); }
.story-split__text > p { max-width: 460px; color: var(--text); }
.story-split--reverse .story-split__media { order: 2; }
.look {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 480px;
	margin: 34px 0 30px;
}
.look .card__media { background: var(--photo); }

/* Gemas: un joyero con compartimentos cuadrados (distinto de la grilla de productos) */
.gems__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3px;
	border-radius: 8px;
	overflow: hidden;
}
.gem {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	isolation: isolate;
	background: var(--sand);
	color: var(--ink);
}
.gem, .gem__media { transition: background-color .6s var(--ease-out); }
.gem:hover { color: var(--ink); background: color-mix(in srgb, var(--gem) 9%, var(--sand)); }
.gem__media {
	position: absolute;
	top: 6%;
	left: 50%;
	width: 66%;
	aspect-ratio: 1;
	translate: -50% 0;
	display: block;
	background: inherit; /* el multiply necesita el mismo fondo dentro de la máscara */
	/* Las fotos traen fondos levemente distintos: el borde se funde con el compartimento */
	-webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
	mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
.gem__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: multiply;
	transform: scale(1.1);
	transition: transform 1.2s var(--ease-out);
}
.gem:hover .gem__media img { transform: scale(1.22); }
.gem__text {
	position: absolute;
	left: clamp(16px, 1.8vw, 26px);
	right: clamp(16px, 1.8vw, 26px);
	top: 76%;
	display: grid;
	gap: 4px;
	text-align: left;
}
.gem__name { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.gem__swatch { flex: none; width: 11px; height: 11px; background: var(--gem); box-shadow: inset 0 0 0 1px rgba(10, 31, 74, .18); }
.gem__desc { padding-left: 23px; font-size: 13px; color: var(--muted); }
.gem:focus-visible { outline: 2px solid var(--navy); outline-offset: -5px; }
.gems__rail { margin-top: clamp(56px, 7vw, 96px); }

/* Banda con foto */
.story-band {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(92vh, 900px);
	margin-bottom: clamp(90px, 10vw, 140px);
	overflow: hidden;
	color: var(--white);
}
.story-band__media { position: absolute; inset: -12% 0; }
.story-band__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	transform: translate3d(0, var(--parallax, 0px), 0);
	will-change: transform;
}
.story-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 18, 44, .72) 0%, rgba(6, 18, 44, .35) 50%, rgba(6, 18, 44, 0) 80%);
}
.story-band__text {
	position: relative;
	z-index: 1;
	max-width: 620px;
	padding: 0 var(--gutter) clamp(60px, 9vw, 120px);
	margin-left: max(0px, calc((100vw - var(--max)) / 2));
}
.story-band__text h2 { color: var(--white); font-size: clamp(42px, 5vw, 76px); }
.story-band__text p { font-size: 17px; color: rgba(255, 255, 255, .88); margin-bottom: 32px; }

/* Servicios */
.services {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: 0 auto clamp(90px, 10vw, 140px);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.service {
	padding: 48px clamp(18px, 2.4vw, 40px);
	text-align: center;
	transition: background-color .4s var(--ease);
}
.service + .service { border-left: 1px solid var(--line); }
.service:hover { background: var(--sand-2); color: inherit; }
.service .icon { margin: 0 auto 18px; color: var(--navy); }
.service h3 { font-size: 26px; margin-bottom: .35em; }
.service p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Instagram */
.insta__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px;
}
.insta__item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.insta__item:hover img { transform: scale(1.06); }
.insta__icon {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(10, 31, 74, .35);
	color: var(--white);
	opacity: 0;
	transition: opacity .4s var(--ease);
}
.insta__item:hover .insta__icon { opacity: 1; }

/* Aparición al hacer scroll */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
	transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--navy);
	color: #c9d3e6;
	font-size: 14.5px;
}
.site-footer a { color: #e7ecf5; }
.site-footer a:hover { color: var(--white); }
.site-footer h3 {
	margin-bottom: 18px;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 400;
	color: var(--white);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 10px; }

.newsletter {
	display: grid;
	grid-template-columns: 1fr minmax(280px, 460px);
	gap: 40px;
	align-items: center;
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: 0 auto;
	padding: 70px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.newsletter h2 { color: var(--white); font-size: clamp(30px, 3vw, 44px); margin-bottom: .2em; }
.newsletter p { margin: 0; }
.newsletter__form {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid rgba(255, 255, 255, .5);
}
.newsletter__form input {
	flex: 1;
	min-width: 0;
	padding: 14px 0;
	background: none;
	border: 0;
	color: var(--white);
	font: inherit;
	font-size: 16px;
	outline: none;
}
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .6); }
.newsletter__form button { padding: 0 4px; background: none; border: 0; color: var(--white); }
.newsletter__form button .icon { transition: transform .35s var(--ease); }
.newsletter__form button:hover .icon { transform: translateX(5px); }
.newsletter__msg { position: absolute; top: 100%; left: 0; margin-top: 10px; font-size: 13.5px; color: var(--white); }

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, 1fr);
	gap: 40px;
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: 0 auto;
	padding: 64px 0;
}
.site-footer__brand .brand { align-items: flex-start; color: var(--white); margin-bottom: 20px; }
.site-footer__brand p { max-width: 300px; }
.site-footer__contact p { margin-bottom: 8px; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	transition: background-color .3s, color .3s;
}
.social a:hover { background: var(--white); color: var(--navy); }

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: 0 auto;
	padding: 22px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 13px;
	color: #9fb0cf;
}
.site-footer__bottom p { margin: 0; }

.wa-float {
	position: fixed;
	right: 22px; bottom: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 10px 30px rgba(10, 31, 74, .25);
	transition: transform .4s var(--ease-out), background-color .3s;
}
.wa-float:hover { color: var(--white); background: var(--navy-2); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Paneles: buscador, menú móvil y bolsa
   -------------------------------------------------------------------------- */

.overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(8, 16, 34, .45);
	opacity: 0;
	transition: opacity .45s var(--ease);
}
.overlay.is-visible { opacity: 1; }

.search-panel {
	position: fixed;
	left: 0; right: 0; top: 0;
	z-index: 100;
	padding: 34px var(--gutter) 40px;
	background: var(--white);
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform .55s var(--ease-out), visibility 0s .55s;
}
.search-panel.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease-out), visibility 0s; }
.search-panel__form {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 920px;
	margin: 0 auto;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ink);
}
.search-panel__form input {
	flex: 1;
	min-width: 0;
	border: 0;
	font-family: var(--serif);
	font-size: clamp(24px, 3vw, 38px);
	font-weight: 300;
	color: var(--ink);
	outline: none;
	background: none;
}
.search-panel__hints {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	max-width: 920px;
	margin: 18px auto 0;
	font-size: 14px;
}
.search-panel__hints span { color: var(--muted); }
.search-panel__hints a { color: var(--navy); border-bottom: 1px solid transparent; }
.search-panel__hints a:hover { border-color: currentColor; }

.mobile-menu,
.drawer {
	position: fixed;
	top: 0; bottom: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	width: min(100%, 440px);
	background: var(--white);
	visibility: hidden;
	transition: transform .6s var(--ease-out), visibility 0s .6s;
}
.mobile-menu { left: 0; transform: translateX(-100%); }
.drawer { right: 0; transform: translateX(100%); }
.mobile-menu.is-open,
.drawer.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }

.mobile-menu__head,
.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
}
.mobile-menu__head .brand { align-items: flex-start; }
.mobile-menu__head .brand__mark { width: 170px; }
.drawer__head h2 { margin: 0; font-size: 28px; }

.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 12px 20px; }
.mobile-menu__nav .menu, .mobile-menu__nav .sub-menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu__nav .menu > li { border-bottom: 1px solid var(--line); }
.mobile-menu__nav .menu > li > a {
	display: flex;
	justify-content: space-between;
	padding: 16px 0;
	font-family: var(--serif);
	font-size: 28px;
	color: var(--ink);
}
.mobile-menu__nav .sub-menu { padding: 0 0 16px 2px; }
.mobile-menu__nav .sub-menu a { display: block; padding: 6px 0; font-size: 15.5px; color: var(--text); }
.mobile-menu__foot {
	display: grid;
	gap: 14px;
	padding: 20px;
	border-top: 1px solid var(--line);
	font-size: 15px;
}
.mobile-menu__foot a { display: flex; align-items: center; gap: 10px; }

.drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mini-cart { flex: 1; margin: 0; padding: 0 20px; list-style: none; overflow-y: auto; }
.mini-cart__item {
	display: grid;
	grid-template-columns: 88px 1fr auto;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
	animation: fade-in .5s var(--ease-out);
}
.mini-cart__img { background: var(--photo); }
.mini-cart__img img { width: 88px; height: 88px; object-fit: contain; }
.mini-cart__info { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.mini-cart__name { font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.mini-cart__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 14px; }
.mini-cart__price { font-weight: 400; color: var(--ink); }
.mini-cart__remove { font-size: 12.5px; color: var(--muted); border-bottom: 1px solid currentColor; }
.drawer__foot { padding: 20px; border-top: 1px solid var(--line); background: var(--sand-2); }
.drawer__foot .btn + .btn { margin-top: 10px; }
.drawer__total { display: flex; justify-content: space-between; font-size: 16px; color: var(--ink); }
.drawer__total strong { font-weight: 400; }
.drawer__note { margin: 4px 0 18px; font-size: 13px; color: var(--muted); }
.drawer__empty { display: grid; place-items: center; gap: 12px; align-content: center; flex: 1; padding: 40px; text-align: center; }
.drawer__empty p { font-family: var(--serif); font-size: 30px; color: var(--ink); margin: 0; }
.drawer.is-loading .drawer__body { opacity: .5; pointer-events: none; }

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

/* --------------------------------------------------------------------------
   Tienda: archivo
   -------------------------------------------------------------------------- */

.crumbs { margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.crumbs__sep { margin: 0 8px; opacity: .6; }

.archive-hero {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px);
	text-align: center;
}
.archive-hero__title { margin: 0; font-size: clamp(46px, 6vw, 84px); }
.archive-hero__desc { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 16px; }
.archive-hero__desc p:last-child { margin: 0; }
.archive-hero.has-image {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 0;
	padding: 0;
	width: 100%;
	background: var(--sand);
	margin-bottom: 40px;
	text-align: left;
}
.archive-hero.has-image .archive-hero__media { aspect-ratio: 16 / 10; overflow: hidden; }
.archive-hero.has-image .archive-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.archive-hero.has-image .archive-hero__text { padding: 40px clamp(30px, 6vw, 100px); }
.archive-hero.has-image .archive-hero__desc { margin-left: 0; }

.shop-body { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto clamp(80px, 10vw, 130px); }

.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 14px 0;
	margin-bottom: 34px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.shop-toolbar__right { display: flex; align-items: center; gap: 20px; font-size: 13.5px; color: var(--muted); }
.shop-toolbar .woocommerce-result-count { margin: 0; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
.shop-toolbar select {
	padding: 8px 30px 8px 12px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23121a2c'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
	font: inherit;
	font-size: 13.5px;
	color: var(--ink);
	appearance: none;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-size: 13.5px;
	transition: border-color .3s, background-color .3s, color .3s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--stone); }
.chip__dot--zafiro { background: #1f3f9a; }
.chip__dot--diamante { background: #fff; box-shadow: inset 0 0 0 1px #b9c2d0; }
.chip__dot--rubi { background: #b3163b; }
.chip__dot--tanzanita { background: #5a4bb0; }
.chip__dot--espinela-negra { background: #1e1e24; }
.chip__dot--topacio-blanco, .chip__dot--moissanita { background: #fff; box-shadow: inset 0 0 0 1px #b9c2d0; }
.chip__dot--tsavorita { background: #1f8a3e; }
.chip__dot--circon { background: #9a5a1c; }

ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(34px, 4vw, 56px) clamp(14px, 1.6vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
ul.products li.product:nth-child(4n+2) { --delay: .08s; }
ul.products li.product:nth-child(4n+3) { --delay: .16s; }
ul.products li.product:nth-child(4n+4) { --delay: .24s; }

/* Paginación: avance de lo visto, números de dos dígitos y anterior/siguiente */
.pager { display: grid; justify-items: center; gap: 14px; margin-top: clamp(56px, 6vw, 90px); }
.pager__seen { margin: 0; font-size: 13.5px; color: var(--muted); }
.pager__seen strong { font-weight: 500; color: var(--ink); }
.pager__bar { width: 220px; height: 1px; background: var(--line); }
.pager__bar span { display: block; height: 100%; background: var(--navy); transition: width .8s var(--ease-out); }
.pager__row { display: flex; align-items: center; gap: clamp(18px, 4vw, 56px); margin-top: 18px; }
.pager__pages { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pager__pages .page-numbers {
	position: relative;
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 300;
	letter-spacing: .04em;
	color: var(--muted);
	transition: color .3s;
}
.pager__pages a.page-numbers:hover { color: var(--navy); }
.pager__pages .page-numbers::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 6px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transition: transform .45s var(--ease);
}
.pager__pages a.page-numbers:hover::after { transform: scaleX(1); }
.pager__pages .current { color: var(--navy); }
.pager__pages .current::after { transform: scaleX(1); height: 2px; }
.pager__pages .dots { min-width: 24px; }
.pager__pages .dots::after { display: none; }
.pager__step { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .03em; color: var(--navy); }
.pager__step .icon, .pager__step svg { transition: transform .4s var(--ease); }
a.pager__step:hover .icon:first-child, a.pager__step:hover svg:first-child { transform: translateX(-4px); }
a.pager__step:hover .icon:last-child, a.pager__step:hover svg:last-child { transform: translateX(4px); }
.pager__step.is-off { color: var(--line); }
@media (max-width: 600px) {
	.pager__step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pager__step { padding: 12px; }
	.pager__row { gap: 8px; }
}

.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews {
	padding: 16px 20px !important;
	margin: 0 0 24px !important;
	list-style: none;
	background: var(--sand-2) !important;
	border: 0 !important;
	border-top: 1px solid var(--navy) !important;
	color: var(--ink) !important;
	font-size: 14.5px;
}
.woocommerce-error { border-top-color: #9b1c2c !important; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button { float: right; }

/* --------------------------------------------------------------------------
   Ficha de producto
   -------------------------------------------------------------------------- */

.single-product .shop-main { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; }
.single-product div.product { padding-top: 30px; }
/* Galería y resumen van en su propio contenedor: así el resumen fijo no baja sobre los relacionados. */
.product-top {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
	gap: clamp(30px, 5vw, 90px);
	align-items: start;
}

.gallery { position: relative; display: grid; gap: 12px; align-content: start; }
.gallery__main {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--photo);
	cursor: zoom-in;
}
.gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .9s var(--ease-out), transform-origin .6s var(--ease-out), opacity .35s var(--ease);
	transform-origin: var(--zx, 50%) var(--zy, 50%);
}
.gallery__main.is-photo img { object-fit: cover; mix-blend-mode: normal; }
.gallery__main.is-zoom img { transform: scale(1.35); }
.gallery__main.is-swapping img { opacity: 0; }
.gallery__thumbs { display: flex; gap: 10px; }
.gallery__thumb {
	width: 86px;
	padding: 0;
	background: var(--photo);
	border: 1px solid transparent;
	transition: border-color .3s;
}
.gallery__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--navy); }

.single-product .summary {
	position: sticky;
	top: 150px;
	align-self: start;
	padding-bottom: 40px;
}
.single-product .product_title { font-size: clamp(36px, 3.4vw, 50px); margin-bottom: 8px; }
.product-material { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }
.single-product .summary .price { margin: 0 0 22px; font-size: 22px; font-weight: 400; color: var(--ink) !important; }
.single-product .woocommerce-product-details__short-description { margin-bottom: 28px; color: var(--text); }

.single-product form.cart { display: flex; gap: 10px; margin: 0 0 12px !important; }
.single-product form.cart .quantity:has(input[type="hidden"]) { display: none; }
.single-product form.cart .single_add_to_cart_button { margin: 0 !important; float: none !important; }
.single-product form.cart .quantity input {
	width: 70px;
	height: 54px;
	border: 1px solid var(--line);
	border-radius: var(--pill);
	text-align: center;
	font: inherit;
}
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .button {
	flex: 1;
	height: 54px;
	border-radius: var(--pill) !important;
	background: var(--navy) !important;
	color: var(--white) !important;
	font-family: var(--sans) !important;
	font-size: 14.5px !important;
	font-weight: 400 !important;
	letter-spacing: .04em;
	transition: background-color .35s var(--ease);
}
.single-product form.cart .single_add_to_cart_button:hover { background: var(--navy-2) !important; }
.single-product form.cart .single_add_to_cart_button.is-loading { opacity: .7; pointer-events: none; }
.single-product .stock { font-size: 14px; color: var(--muted) !important; }

.product-cta { display: grid; gap: 14px; margin-bottom: 26px; }
.product-cta .btn { height: 54px; }
.product-cta__wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--navy); }
.product-cta__wa:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-perks {
	display: grid;
	gap: 10px;
	margin: 0 0 30px;
	padding: 20px 0;
	list-style: none;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}
.product-perks li { display: flex; align-items: center; gap: 10px; }
.product-perks .icon { color: var(--navy); }

.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	list-style: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 400;
	color: var(--ink);
}
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary .icon { transition: transform .4s var(--ease); }
.accordions details[open] summary .icon { transform: rotate(45deg); }
.accordions__body { padding-bottom: 20px; font-size: 14.5px; color: var(--text); }
.accordions__body p:last-child { margin: 0; }

.specs { margin: 0; }
.specs__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-top: 1px dotted var(--line);
}
.specs__row:first-child { border-top: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink); text-align: right; }

.related.products { padding: clamp(80px, 9vw, 120px) 0; }
.related.products > h2 { margin-bottom: 40px; text-align: center; font-size: clamp(34px, 3.6vw, 50px); }

/* --------------------------------------------------------------------------
   Carrito, pago y cuenta
   -------------------------------------------------------------------------- */

.page-hero { padding: clamp(50px, 7vw, 100px) var(--gutter) clamp(30px, 4vw, 50px); text-align: center; }
.page-hero--compact { padding-bottom: 20px; }
.page-hero__title { margin: 0; font-size: clamp(44px, 5.4vw, 76px); }
.page-hero__lead { max-width: 560px; margin: 16px auto 28px; color: var(--muted); }
.page-main { padding-bottom: clamp(80px, 10vw, 130px); }

.prose { max-width: 760px; font-size: 17px; }
.prose h2 { font-size: 36px; margin-top: 1.4em; }
.prose h3 { font-size: 26px; margin-top: 1.2em; }
.prose a { color: var(--navy); border-bottom: 1px solid currentColor; }
.prose ul { padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 2em; font-size: 15px; }
.prose th, .prose td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 400; color: var(--muted); }

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #payment #place_order {
	border-radius: var(--pill) !important;
	padding: 15px 28px !important;
	background: var(--navy) !important;
	color: var(--white) !important;
	font-family: var(--sans) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	letter-spacing: .04em;
	transition: background-color .3s !important;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--navy-2) !important; color: var(--white) !important; }
.woocommerce .button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .5 !important; padding: 15px 28px !important; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.select2-container--default .select2-selection--single {
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--line) !important;
	border-radius: var(--r-sm) !important;
	background: var(--white);
	font: inherit;
	color: var(--ink);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 24px; padding-left: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 12px; right: 8px; }
.woocommerce form .form-row label { font-size: 13.5px; color: var(--muted); }
.woocommerce form .form-row { margin-bottom: 14px; }

.woocommerce table.shop_table {
	border: 0 !important;
	border-radius: 0 !important;
	border-collapse: collapse !important;
}
.woocommerce table.shop_table th {
	font-weight: 400;
	font-size: 13.5px;
	color: var(--muted);
	border-bottom: 1px solid var(--line) !important;
}
.woocommerce table.shop_table td { border-top: 1px solid var(--line) !important; padding: 18px 12px !important; }
.woocommerce table.shop_table td.product-name a { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink); }
.woocommerce table.cart img { width: 90px !important; background: var(--photo); }
.woocommerce a.remove { color: var(--muted) !important; font-weight: 300 !important; }
.woocommerce a.remove:hover { background: var(--navy) !important; color: var(--white) !important; }

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
	padding: 30px;
	background: var(--sand-2);
}
.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 { font-size: 30px; }
.woocommerce-cart .cart-collaterals .cart_totals { float: right; width: min(100%, 460px); }
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th { padding: 14px 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; }

.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
.woocommerce-checkout .col2-set::before,
.woocommerce-checkout .col2-set::after { display: none; }
.woocommerce-checkout #order_review_heading { margin-top: 40px; }
.woocommerce-checkout #payment { background: var(--white) !important; border-radius: var(--r) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--sand) !important; color: var(--text) !important; border-radius: var(--r-sm); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--sand) !important; }
.woocommerce-checkout #payment #place_order { width: 100%; float: none; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 0; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: var(--navy); font-weight: 400; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line) !important; border-radius: var(--r) !important; padding: 30px !important; }

/* --------------------------------------------------------------------------
   La Maison y citas
   -------------------------------------------------------------------------- */

.maison-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(88vh, 860px);
	overflow: hidden;
	color: var(--white);
}
.maison-hero__media { position: absolute; inset: 0; }
.maison-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: slow-zoom 14s var(--ease) both; }
.maison-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 14, 36, .65), rgba(5, 14, 36, 0) 60%); }
.maison-hero__text {
	position: relative;
	z-index: 1;
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: 0 auto;
	padding-bottom: clamp(50px, 8vw, 100px);
}
.maison-hero__text h1 { color: var(--white); font-size: clamp(56px, 8vw, 120px); margin: 0 0 .1em; }
.maison-hero__text p { max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, .9); }
@keyframes slow-zoom { from { transform: scale(1.12); } }

.maison-intro { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.maison-intro .prose { margin: 0 auto; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.45; color: var(--ink); text-align: center; }

.steps__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.steps__list li { padding-top: 26px; border-top: 1px solid var(--navy); }
.steps__list li:nth-child(2) { --delay: .12s; }
.steps__list li:nth-child(3) { --delay: .24s; }
.steps__num { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--sea); margin-bottom: 16px; }
.steps__list h3 { font-size: 30px; }
.steps__list p { color: var(--muted); }

.quote {
	padding: clamp(80px, 10vw, 140px) var(--gutter);
	background: var(--navy);
	text-align: center;
}
.quote blockquote { margin: 0 auto 40px; max-width: 900px; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.25; color: var(--white); }
.quote .btn--dark { background: var(--white); color: var(--navy); }
.quote .btn--dark:hover { background: var(--sand); color: var(--navy); }

.citas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: calc(100vh - 150px);
}
.citas__media { position: relative; overflow: hidden; }
.citas__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 14s var(--ease) both; }
.citas__panel { padding: clamp(40px, 6vw, 90px) clamp(24px, 6vw, 100px); }
.citas__panel h1 { font-size: clamp(44px, 5vw, 70px); }
.citas__intro { max-width: 520px; margin-bottom: 30px; color: var(--muted); }

.form { max-width: 560px; }
.form__hp { position: absolute; left: -9999px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.field { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	transition: border-color .3s;
	appearance: none;
}
.field select {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23121a2c'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.form__choice { display: flex; gap: 10px; margin: 0 0 26px; padding: 0; border: 0; }
.form__choice legend { margin-bottom: 10px; font-size: 13.5px; color: var(--muted); }
.form__choice label { position: relative; }
.form__choice input { position: absolute; opacity: 0; }
.form__choice span {
	display: inline-block;
	padding: 10px 22px;
	border: 1px solid var(--line);
	border-radius: 40px;
	font-size: 14px;
	cursor: pointer;
	transition: all .3s;
}
.form__choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.form__choice input:focus-visible + span { outline: 1px solid var(--navy); outline-offset: 3px; }
.form__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-msg { padding: 14px 18px; background: var(--sand); color: var(--ink); font-size: 14.5px; }


/* --------------------------------------------------------------------------
   Listas de selección propias (ver main.js): botón con línea inferior y
   lista en el azul de la marca.
   -------------------------------------------------------------------------- */
/* Estructura y colores de las listas: assets/css/controles.css (compartido con el panel). */

/* Barra de la tienda y filtro de gemas: más compactos */
.shop-toolbar .tselect, .gemfilter__field .tselect { min-width: 210px; }
.shop-toolbar .tselect__btn, .gemfilter__field .tselect__btn { padding: 8px 0; font-size: 13.5px; }
.shop-toolbar .tselect__list, .gemfilter__field .tselect__list { min-width: 240px; }
.shop-toolbar .tselect__list { left: auto; right: 0; }
.gemfilter__field .tselect { min-width: 150px; }

/* País y región del pago y de Mi cuenta: la misma lista, con el aspecto de los campos de WooCommerce */
.woocommerce form .form-row .tselect__btn {
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--white);
	font-size: inherit;
}
.woocommerce form .form-row .tselect__btn:hover,
.woocommerce form .form-row .tselect.is-open .tselect__btn { border-color: var(--navy); }

/* --------------------------------------------------------------------------
   Joyas a medida
   -------------------------------------------------------------------------- */

.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13.5px; }

.medida-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: min(78vh, 760px);
	background: var(--sand);
}
.medida-hero__text {
	align-self: center;
	padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 100px);
}
.medida-hero__text h1 { margin-bottom: 20px; font-size: clamp(50px, 6.4vw, 96px); line-height: 1; }
.medida-hero__lead { max-width: 480px; color: var(--muted); font-size: 17px; }
.medida-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }
.medida-hero__media { position: relative; overflow: hidden; min-height: 360px; }
.medida-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 14s var(--ease) both; }

.medida-hero__sub { margin: -6px 0 18px; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); font-weight: 300; color: var(--navy); }

/* Tres caminos para comenzar */
.paths {
	width: min(100% - 2 * var(--gutter), 1120px);
	margin: 0 auto;
	padding: clamp(60px, 7vw, 100px) 0 clamp(40px, 5vw, 70px);
	text-align: center;
}
.paths__title { margin-bottom: clamp(30px, 4vw, 54px); font-size: clamp(30px, 3vw, 42px); }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.path { display: flex; flex-direction: column; align-items: center; padding: 6px clamp(18px, 3vw, 44px); }
.path + .path { border-left: 1px solid var(--line); }
.path > svg { color: var(--gold); margin-bottom: 18px; }
.path h3 { margin-bottom: 10px; font-size: clamp(26px, 2.4vw, 32px); }
.path p { max-width: 280px; margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.path .link-arrow { margin-top: auto; }

/* Servicios de la maison */
.maison-services {
	width: min(100% - 2 * var(--gutter), 1120px);
	margin: 0 auto;
	padding: clamp(60px, 7vw, 100px) 0;
	text-align: center;
}
.maison-services h2 { margin-bottom: clamp(28px, 3.5vw, 46px); font-size: clamp(30px, 3vw, 42px); }
.maison-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.maison-services__grid > div { padding: 4px clamp(18px, 3vw, 44px); }
.maison-services__grid > div + div { border-left: 1px solid var(--line); }
.maison-services h3 { margin-bottom: 8px; font-size: 24px; }
.maison-services__grid p { max-width: 280px; margin: 0 auto; font-size: 14.5px; color: var(--muted); }
.maison-services__note { margin: clamp(30px, 4vw, 48px) 0 0; font-size: 13.5px; color: var(--gold); letter-spacing: .02em; }

.medida-quote {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: clamp(36px, 6vw, 110px);
	width: min(100% - 2 * var(--gutter), 1120px);
	margin: 0 auto;
	padding: clamp(40px, 5vw, 70px) 0 clamp(70px, 8vw, 120px);
	scroll-margin-top: 120px;
}
.medida-quote__intro { align-self: start; position: sticky; top: 150px; }
.medida-quote__intro h2 { font-size: clamp(38px, 4vw, 58px); }
.medida-quote__intro p { color: var(--muted); }
.medida-quote__aside { margin-top: 26px; padding-top: 22px; background: linear-gradient(var(--navy), var(--navy)) 0 0 / 48px 1px no-repeat; font-size: 15px; }
.medida-form { max-width: none; }
.medida-form .form-msg { margin-bottom: 26px; }
.form__choice--wrap { flex-wrap: wrap; }
.form__choice--wrap legend { width: 100%; }

.picked { padding: 18px 20px; background: var(--sand-2); }
.picked__empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.picked__empty p { margin: 0; max-width: 360px; font-size: 14px; color: var(--muted); }
.picked__gem { display: flex; align-items: center; gap: 16px; }
.picked__gem[hidden], .picked__empty[hidden] { display: none; }
.picked__art { flex: none; width: 56px; height: 56px; }
.picked__art svg, .picked__art img { width: 100%; height: 100%; object-fit: contain; }
.picked__info { display: grid; gap: 2px; flex: 1; }
.picked__info strong { font-weight: 500; color: var(--ink); font-size: 15px; }
.picked__info span { font-size: 13.5px; color: var(--muted); }
.picked__remove { padding: 0; background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 13px; color: var(--muted); }
.picked.is-flash { animation: picked-flash 1.2s var(--ease); }
@keyframes picked-flash { 0% { background: #dfe7f5; } 100% { background: var(--sand-2); } }

.drop {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 84px;
	padding: 16px 20px;
	background: var(--sand-2);
	color: var(--muted);
	font-size: 14px;
	cursor: pointer;
	transition: background-color .3s;
}
.drop:hover, .drop.is-over { background: var(--sand); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__empty { display: flex; align-items: center; gap: 10px; }
.drop__file { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.drop__file[hidden], .drop__empty[hidden] { display: none; }
.drop__file img { width: 52px; height: 52px; object-fit: cover; }

.medida-gems {
	padding: clamp(60px, 7vw, 110px) 0 clamp(70px, 8vw, 120px);
	background: var(--sand-2);
	scroll-margin-top: 90px;
}
.medida-gems > * { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.medida-gems__head { margin-bottom: clamp(28px, 3.5vw, 44px); text-align: center; }
.medida-gems__head h2 { margin: 0 auto; max-width: 820px; font-size: clamp(36px, 4.2vw, 60px); }
.medida-gems__head p { max-width: 560px; margin: 14px auto 0; color: var(--muted); }
.medida-gems__note { margin-top: 40px; text-align: center; font-size: 14px; color: var(--muted); }

.gemfilter { display: grid; gap: 18px; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.gemfilter__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.gemfilter .chip { background: transparent; font: inherit; font-size: 13.5px; color: inherit; cursor: pointer; }
.gemfilter .chip.is-active { background: var(--navy); color: var(--white); }
.chip__dot--esmeralda { background: #1f7a52; }
.chip__dot--espinela { background: #c2365e; }
.chip__dot--turmalina { background: #2f8a7a; }
.chip__dot--aguamarina { background: #8cc3d6; }
.chip__dot--morganita { background: #eab2b8; }
.tones { display: flex; gap: 8px; }
.tone {
	width: 26px; height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tone);
	box-shadow: inset 0 0 0 1px rgba(10, 31, 74, .12);
	transition: transform .3s var(--ease), box-shadow .3s;
}
.tone:hover { transform: scale(1.12); }
.tone[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--sand-2), 0 0 0 3px var(--navy); }
.gemfilter__field { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.gemfilter__field select {
	padding: 8px 22px 8px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23121a2c'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center;
	font: inherit;
	color: var(--ink);
	appearance: none;
}
.gemfilter__field--range input { width: 150px; accent-color: var(--navy); }
.gemfilter__field output { color: var(--ink); }
.gemfilter__count { margin: 0 0 0 auto; font-size: 13.5px; color: var(--muted); }

.gemgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.gemcard { display: flex; flex-direction: column; background: var(--white); }
.gemcard[hidden] { display: none; }
.gemcard__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	background: radial-gradient(circle at 50% 45%, #fff 0, var(--sand) 75%);
	overflow: hidden;
}
.gemcard__svg { width: 46%; height: auto; transition: transform .8s var(--ease-out); filter: drop-shadow(0 14px 14px rgba(10, 31, 74, .12)); }
.gemcard:hover .gemcard__svg { transform: rotate(-8deg) scale(1.06); }
.gemcard__media img { width: 100%; height: 100%; object-fit: cover; }
.gemcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.gemcard__name { margin: 0 0 4px; font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: .01em; }
.gemcard__meta { margin: 0 0 4px; font-size: 14px; color: var(--text); }
.gemcard__cert { margin: 0; font-size: 12.5px; color: var(--muted); }
.gemcard__price { margin: 14px 0 16px; font-size: 16px; color: var(--ink); }
.gemcard .btn { margin-top: auto; }
.gemcard.is-picked { box-shadow: inset 0 0 0 1px var(--navy); }
.gemcard.is-picked .btn { background: var(--navy); color: var(--white); }
.gemcard.is-reserved .gemcard__media { opacity: .6; }
.gemcard .btn:disabled { opacity: .45; cursor: default; }
.gemcard .btn:disabled:hover { background: transparent; color: var(--navy); }
.gemgrid__empty { padding: 40px 0; text-align: center; }
.gemgrid__empty[hidden] { display: none; }

@media (max-width: 1100px) {
	.gemgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.medida-hero { grid-template-columns: 1fr; }
	.medida-hero__media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
	.paths__grid, .maison-services__grid { grid-template-columns: 1fr; }
	.path + .path, .maison-services__grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
	.path, .maison-services__grid > div { padding: 28px 0; }
	.medida-quote { grid-template-columns: 1fr; }
	.medida-quote__intro { position: static; }
	.gemgrid { grid-template-columns: repeat(2, 1fr); }
	.gemfilter__count { width: 100%; margin: 0; }
}
@media (max-width: 600px) {
	.form__grid { grid-template-columns: 1fr; }
	.gemgrid { gap: 12px; }
	.gemcard__body { padding: 14px 14px 16px; }
	.gemcard__cert { display: none; }
	.gemfilter__row { gap: 12px 18px; }
	.gemfilter .chips { flex: 1 1 auto; min-width: 0; width: calc(100% + 2 * var(--gutter)); flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	.gemfilter__row { flex-wrap: wrap; min-width: 0; }
	.gemfilter { min-width: 0; overflow: hidden; }
	.gemfilter .chip { flex: none; }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	ul.products { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__brand { grid-column: 1 / -1; }
	.services { grid-template-columns: repeat(2, 1fr); }
	.service:nth-child(3) { border-left: 0; }
	.service:nth-child(n+3) { border-top: 1px solid var(--line); }
	.insta__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.site-nav, .hide-sm, .text-btn span { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header__bar { padding: 8px 0; }
	.site-header.is-stuck .site-header__bar { padding: 6px 0; }
	.brand__mark { width: 150px; }

	.hero { height: 86svh; min-height: 520px; }
	.hero__media { grid-template-columns: 1fr; }
	.hero__pic--b { display: none; }

	.categories__grid { grid-template-columns: repeat(2, 1fr); }
	.gems__row { grid-template-columns: repeat(2, 1fr); }
	.story-split, .citas { grid-template-columns: 1fr; }
	.story-split__media { min-height: 0; aspect-ratio: 4 / 5; }
	.story-split--reverse .story-split__media { order: 0; }
	.citas__media { aspect-ratio: 4 / 3; }
	.newsletter { grid-template-columns: 1fr; gap: 24px; padding: 54px 0; }
	.archive-hero.has-image { grid-template-columns: 1fr; }
	.single-product div.product { padding-top: 10px; }
	.product-top { grid-template-columns: 1fr; }
	.single-product .summary { position: static; }
	.steps__list { grid-template-columns: 1fr; }
	.woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	ul.products { grid-template-columns: repeat(2, 1fr); column-gap: 12px; }
	.card__title { font-size: 18px; }
	.card__meta { font-size: 12px; }
	.section__head--split { flex-direction: column; align-items: flex-start; }
	.services { grid-template-columns: 1fr; }
	.service + .service { border-left: 0; border-top: 1px solid var(--line); }
	.insta__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__bottom { flex-direction: column; gap: 6px; }
	.form__grid { grid-template-columns: 1fr; }
	.shop-toolbar__right { width: 100%; justify-content: space-between; }
	.look { grid-template-columns: 1fr 1fr; }
	.rail__track { grid-auto-columns: 72%; }
	.story-band::after { background: linear-gradient(to top, rgba(6, 18, 44, .8), rgba(6, 18, 44, 0) 75%); }
	.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.js .reveal { opacity: 1; transform: none; }
	.hero__pic img { transform: none !important; }
}

/* Carrito: fila de cupón y actualizar */
.woocommerce-cart table.cart td.actions {
	padding: 22px 0 !important;
	text-align: left;
}
.woocommerce-cart table.cart td.actions > * { vertical-align: middle; }
.woocommerce-cart table.cart td.actions .coupon { display: inline-flex; gap: 0; float: none; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 220px !important; margin: 0 !important; }
.woocommerce-cart table.cart td.actions > .button { float: right; background: transparent !important; color: var(--navy) !important; border: 1px solid var(--line) !important; }
.woocommerce-cart table.cart td.actions > .button:disabled { display: none; }
@media (max-width: 640px) {
	.woocommerce-cart table.cart td.actions .coupon { display: flex; width: 100%; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; }
	.woocommerce-cart table.cart td.actions > .button { float: none; width: 100%; margin-top: 10px; }
}

/* --------------------------------------------------------------------------
   Página en remodelación
   -------------------------------------------------------------------------- */

.is-remodelacion { background: var(--sand-2); }
.rm {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	min-height: 100svh;
}
.admin-bar .rm { min-height: calc(100svh - 32px); }
.rm__media {
	position: sticky;
	top: 0;
	height: 100svh;
	margin: 0;
	overflow: hidden;
	background: var(--navy);
}
.rm__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 1.6s var(--ease);
}
.rm__slide.is-active { opacity: 1; z-index: 1; }
.rm__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
}
.rm__slide.is-active img {
	transform: scale(1);
	transition: transform 8s linear;
}
.rm__dots {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 2;
	display: flex;
	gap: 10px;
	transform: translateX(-50%);
}
.rm__dot {
	position: relative;
	width: 34px;
	height: 2px;
	overflow: hidden;
	background: rgba(255, 255, 255, .4);
}
.rm__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	transform: scaleX(0);
	transform-origin: left;
}
.rm__dot.is-active::after { transform: scaleX(1); transition: transform 6s linear; }
.rm__panel {
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding: clamp(32px, 5vw, 72px) clamp(24px, 6vw, 96px);
	color: var(--text);
}
.rm__brand { color: var(--navy); }
.rm__logo { display: inline-block; }
.rm__logo img { width: clamp(200px, 18vw, 270px); height: auto; }
.rm__logo-white,
.rm--full .rm__logo-navy { display: none; }
.rm--full .rm__logo-white { display: block; }
.rm__brand .brand { align-items: flex-start; }
.rm__brand .custom-logo { margin-inline: 0; }
.rm__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 520px;
}
.rm__title,
.rm__nl h2 {
	font-family: "Josefin Sans", var(--sans);
	font-weight: 200;
}
.rm__title {
	margin-bottom: .5em;
	color: var(--navy);
	font-size: clamp(34px, 3.9vw, 58px);
	line-height: 1.12;
	letter-spacing: .02em;
}
.rm__lead {
	margin: 0;
	font-size: clamp(16px, 1.3vw, 18px);
	color: var(--text);
}
.rm__nl {
	margin-top: clamp(40px, 6vh, 64px);
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.rm__nl h2 {
	margin-bottom: .3em;
	color: var(--ink);
	font-size: clamp(20px, 1.6vw, 24px);
	font-weight: 300;
	letter-spacing: .03em;
}
.rm__nl p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.rm__form {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 1px solid var(--navy);
	border-radius: var(--pill);
	overflow: hidden;
	background: var(--white);
}
.rm__form input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 0 18px;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	outline: none;
}
.rm__form input[type="email"]::placeholder { color: var(--muted); }
.rm__form:focus-within { box-shadow: 0 0 0 3px rgba(10, 31, 74, .12); }
.rm__form .btn { flex: none; border: 0; cursor: pointer; }
.rm__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rm__msg { margin: 12px 0 0 !important; color: #a03a2c !important; font-size: 14px !important; }
.rm__done {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 18px 20px;
	background: var(--navy);
	color: var(--white) !important;
	font-size: 15px !important;
}
.rm__done .icon { flex: none; }
.rm__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px 28px;
	font-size: 14px;
	color: var(--muted);
}
.rm__foot p { margin: 0; }
.rm__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.rm__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.rm__links a:hover { color: var(--sea); }

.rm__brand, .rm__body > *, .rm__foot {
	animation: rm-in 1.1s var(--ease-out) both;
}
.rm__body > :nth-child(1) { animation-delay: .15s; }
.rm__body > :nth-child(2) { animation-delay: .3s; }
.rm__body > :nth-child(3) { animation-delay: .45s; }
.rm__foot { animation-delay: .6s; }

@keyframes rm-in {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
	.rm { grid-template-columns: 1fr; }
	.admin-bar .rm { min-height: 0; }
	.rm__media { position: relative; height: 46svh; min-height: 280px; }
	.rm__panel { gap: 36px; padding: 32px 16px 40px; }
	.rm__brand { position: absolute; top: 22px; left: 0; right: 0; display: flex; justify-content: center; color: var(--white); }
	.rm__brand .brand { align-items: center; }
	.rm__brand .custom-logo { margin-inline: auto; filter: brightness(0) invert(1); }
	.rm__logo-navy { display: none; }
	.rm__logo-white { display: block; }
	.rm__logo img { width: 210px; }
}
@media (max-width: 480px) {
	.rm__form { flex-direction: column; }
	.rm__form input[type="email"] { min-height: 52px; }
}
/* Alternativa: fotos a pantalla completa y texto centrado */
.rm--full {
	display: block;
	min-height: 100svh;
	background: var(--navy);
	color: var(--white);
}
.rm--full .rm__media {
	position: fixed;
	inset: 0;
	height: auto;
	min-height: 0;
}
.rm--full .rm__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(ellipse 70% 55% at 50% 52%, rgba(5, 14, 36, .5) 0%, rgba(5, 14, 36, 0) 100%),
		linear-gradient(to bottom, rgba(5, 14, 36, .5) 0%, rgba(5, 14, 36, .2) 30%, rgba(5, 14, 36, .25) 65%, rgba(5, 14, 36, .75) 100%),
		rgba(5, 14, 36, .2);
	pointer-events: none;
}
.rm--full .rm__dots { bottom: 26px; }
.rm--full .rm__panel {
	position: relative;
	z-index: 2;
	align-items: center;
	min-height: 100svh;
	padding: clamp(28px, 4vw, 48px) 16px 64px;
	color: rgba(255, 255, 255, .9);
	text-align: center;
}
.admin-bar .rm--full .rm__panel { min-height: calc(100svh - 32px); }
.rm--full .rm__brand { position: static; color: var(--white); }
.rm--full .rm__brand .brand { align-items: center; }
.rm--full .rm__brand .custom-logo { margin-inline: auto; filter: brightness(0) invert(1); }
.rm--full .rm__body { align-items: center; max-width: 640px; }
.rm--full .rm__title {
	color: var(--white);
	font-size: clamp(38px, 5.4vw, 80px);
	line-height: 1.05;
}
.rm--full .rm__title,
.rm--full .rm__lead,
.rm--full .rm__nl { text-shadow: 0 1px 18px rgba(5, 14, 36, .45); }
.rm--full .rm__lead { max-width: 480px; color: rgba(255, 255, 255, .92); }
.rm--full .rm__nl {
	width: min(100%, 440px);
	margin-top: clamp(36px, 6vh, 56px);
	padding-top: 0;
	border-top: 0;
}
.rm--full .rm__nl h2 { color: var(--white); }
.rm--full .rm__nl p { color: rgba(255, 255, 255, .75); }
.rm--full .rm__form {
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .6);
	background: none;
}
.rm--full .rm__form:focus-within { box-shadow: none; border-bottom-color: var(--white); }
.rm--full .rm__form input[type="email"] { padding: 14px 0; color: var(--white); text-align: left; }
.rm--full .rm__form input[type="email"]::placeholder { color: rgba(255, 255, 255, .6); }
.rm--full .rm__form .btn {
	min-height: 0;
	padding: 0 0 0 18px;
	background: none;
	color: var(--white);
	letter-spacing: .08em;
}
.rm--full .rm__form .btn:hover { color: var(--sand); }
.rm--full .rm__done { justify-content: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); }
.rm--full .rm__msg { color: #ffd2c8 !important; }
.rm--full .rm__foot { justify-content: center; color: rgba(255, 255, 255, .8); }
.rm--full .rm__links a { color: var(--white); }
.rm--full .rm__links a:hover { color: var(--sand); }

@media (max-width: 900px) {
	.rm--full .rm__media { position: fixed; height: auto; min-height: 0; }
	.rm--full .rm__brand { position: static; display: block; }
	.rm--full .rm__panel { padding: 28px 16px 60px; }
}
@media (max-width: 480px) {
	.rm--full .rm__form { flex-direction: row; }
	.rm--full .rm__form input[type="email"] { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.rm__slide img { transform: none !important; }
	.rm__dot.is-active::after { transition: none; }
}

/* ==========================================================================
   Forma: esquinas suaves, píldoras y arcos
   Tres radios fijos para todo el sitio; sin sombras ni bordes nuevos.
   ========================================================================== */

:root {
	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--pill: 999px;
}

/* Botones, etiquetas y campos */
.btn,
.woocommerce .button, .woocommerce a.button, .woocommerce button.button,
.woocommerce #respond input#submit, .woocommerce-page .button { border-radius: var(--pill) !important; }
.badge { border-radius: var(--pill); padding: 5px 12px; background: rgba(255, 255, 255, .9); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.select2-container--default .select2-selection--single { border-radius: var(--r-sm) !important; }
.select2-dropdown { border-radius: var(--r) !important; overflow: hidden; }
.form-msg, .woocommerce-info, .woocommerce-message, .woocommerce-error { border-radius: var(--r-sm) !important; }
.drop, .picked { border-radius: var(--r); }
.drop__file img { border-radius: var(--r-sm); }
.cart-count { border-radius: var(--pill); }


/* Tarjetas y fotos */
.card__media { border-radius: var(--r); overflow: hidden; isolation: isolate; }
.cat-tile__media { border-radius: var(--pill) var(--pill) var(--r) var(--r); isolation: isolate; }
.insta__item { border-radius: var(--r); isolation: isolate; }
.gallery__main { border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.gallery__thumb { border-radius: var(--r-sm); overflow: hidden; }
.mini-cart__img img, .mini-cart__img { border-radius: var(--r-sm); overflow: hidden; }
.gemcard { border-radius: var(--r); overflow: hidden; isolation: isolate; }
.picked__art img { border-radius: var(--r-sm); }

/* Portada: el slider termina en curva */
.hero { border-radius: 0 0 var(--r-lg) var(--r-lg); isolation: isolate; }

/* Bandas que iban de borde a borde pasan a paneles con margen */
.story-split,
.story-band {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
	border-radius: var(--r-lg);
	overflow: hidden;
	isolation: isolate;
}
.archive-hero.has-image {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
	margin-top: 20px;
	border-radius: var(--r-lg);
	overflow: hidden;
}
.medida-gems {
	width: min(100% - 2 * var(--gutter), calc(var(--max) + 120px));
	margin-inline: auto;
	border-radius: var(--r-lg);
}
.medida-gems > * { width: min(100% - 2 * clamp(16px, 3vw, 56px), var(--max)); }

/* Arco: foto de la portada de Citas (A medida usa el concepto cuadrado, al final) */
.citas__media { margin: clamp(16px, 2vw, 28px); border-radius: var(--pill) var(--pill) var(--r) var(--r); isolation: isolate; }

/* Paneles laterales y buscador */
@media (min-width: 601px) {
	.drawer { border-radius: var(--r-lg) 0 0 var(--r-lg); }
	.mobile-menu { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
}
.search-panel { border-radius: 0 0 var(--r-lg) var(--r-lg); }

/* Un toque de vida: las tarjetas suben apenas al pasar el mouse */
@media (hover: hover) {
	.card__media, .gemcard, .cat-tile__media { transition: transform .5s var(--ease-out); }
	.card:hover .card__media, .gemcard:hover, .cat-tile:hover .cat-tile__media { transform: translateY(-4px); }
}

@media (max-width: 900px) {
	.citas__media { border-radius: var(--r-lg); }
	.story-split__media { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
	.card:hover .card__media, .gemcard:hover, .cat-tile:hover .cat-tile__media { transform: none; }
}

/* --------------------------------------------------------------------------
   Explora la joyería: paneles que se expanden (acordeón horizontal)
   -------------------------------------------------------------------------- */
.explore {
	display: flex;
	gap: clamp(8px, 1vw, 14px);
	height: clamp(460px, 64vh, 640px);
}
.explore__panel {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--r-lg);
	background: var(--navy);
	color: var(--white);
	transition: flex-grow .9s var(--ease-out), border-radius .9s var(--ease-out);
}
.explore__panel:hover { color: var(--white); }
.explore__panel.is-active { flex-grow: 3.4; border-radius: 220px 220px var(--r-lg) var(--r-lg); }
.explore__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	filter: saturate(.85);
	transition: transform 1.4s var(--ease-out), filter .9s;
}
.explore__panel.is-active .explore__img { transform: scale(1); filter: none; }
.explore__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(6, 18, 44, .82) 0%, rgba(6, 18, 44, .25) 45%, rgba(6, 18, 44, .35) 100%);
	transition: opacity .9s;
}
.explore__panel.is-active::after { background: linear-gradient(to top, rgba(6, 18, 44, .78) 0%, rgba(6, 18, 44, 0) 55%); }

.explore__num {
	position: absolute;
	top: 22px; left: 50%;
	transform: translateX(-50%);
	font-family: var(--serif);
	font-size: 15px;
	letter-spacing: .1em;
	opacity: .85;
	transition: left .9s var(--ease-out), transform .9s var(--ease-out), top .9s var(--ease-out);
}
.explore__panel.is-active .explore__num { top: 26px; left: 30px; transform: none; }

/* Nombre vertical de los paneles cerrados */
.explore__label {
	position: absolute;
	left: 50%; bottom: 34px;
	font-family: var(--serif);
	font-size: clamp(22px, 2vw, 30px);
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: translateX(-50%) rotate(180deg);
	transition: opacity .4s .25s, transform .6s var(--ease-out);
}
.explore__panel.is-active .explore__label { opacity: 0; transition-delay: 0s; transform: translateX(-50%) rotate(180deg) translateY(-20px); }

/* Contenido del panel abierto */
.explore__body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	display: grid;
	gap: 10px;
	padding: clamp(24px, 3vw, 40px);
	opacity: 0;
	transform: translateY(24px);
	pointer-events: none;
	transition: opacity .35s, transform .5s var(--ease-out);
}
.explore__panel.is-active .explore__body { opacity: 1; transform: none; transition: opacity .7s .35s, transform .9s .3s var(--ease-out); }
.explore__name { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 68px); font-weight: 300; line-height: 1; }
.explore__desc { max-width: 420px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.explore__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.explore__go {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: var(--pill);
	background: var(--white);
	color: var(--navy);
	font-size: 14px;
	transition: background-color .3s, color .3s;
}
.explore__go svg { transition: transform .4s var(--ease); }
.explore__panel:hover .explore__go svg { transform: translateX(4px); }

/* Tres piezas de la categoría, en círculos que se escalonan */
.explore__picks { display: flex; margin-bottom: 8px; }
.explore__pick {
	width: 58px; height: 58px;
	margin-right: -12px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--photo);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
	opacity: 0;
	transform: translateY(12px) scale(.8);
	transition: opacity .4s, transform .5s var(--ease-out);
}
.explore__pick img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.explore__panel.is-active .explore__pick { opacity: 1; transform: none; transition-delay: calc(.55s + var(--i) * .09s); }

@media (max-width: 900px) {
	/* En pantallas chicas: carrusel deslizable con todo el contenido visible */
	.explore {
		height: auto;
		margin-inline: calc(-1 * var(--gutter));
		padding: 0 var(--gutter) 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.explore::-webkit-scrollbar { display: none; }
	.explore__panel, .explore__panel.is-active {
		flex: 0 0 78%;
		height: 480px;
		scroll-snap-align: center;
		border-radius: var(--pill) var(--pill) var(--r-lg) var(--r-lg);
	}
	.explore__label { display: none; }
	.explore__body, .explore__panel .explore__body { opacity: 1; transform: none; }
	.explore__pick { opacity: 1; transform: none; }
	.explore__img { transform: none; filter: none; }
	.explore__num { left: 50%; }
}
@media (prefers-reduced-motion: reduce) {
	.explore__panel, .explore__img, .explore__body, .explore__pick, .explore__label, .explore__num { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Banners de la tienda, categorías, gemas y páginas internas
   Las capas con data-depth se mueven con el mouse (ver main.js: --mx / --my).
   -------------------------------------------------------------------------- */
.banner {
	--mx: 0;
	--my: 0;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	width: min(100% - 2 * var(--gutter), var(--max));
	min-height: clamp(380px, 48vh, 520px);
	margin: 20px auto 44px;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--r-lg);
	background: var(--sand);
	color: var(--ink);
}
.banner__text { position: relative; z-index: 2; padding: clamp(36px, 5vw, 80px); }
.banner__title { margin: 6px 0 14px; font-size: clamp(48px, 6vw, 92px); line-height: 1; color: inherit; }
.banner__desc { max-width: 470px; font-size: 16px; color: inherit; opacity: .8; }
.banner__desc p:last-child { margin: 0; }
.banner .crumbs { color: inherit; opacity: .75; }
.banner__cta { margin-top: 26px; }
.banner__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.banner__art > * { pointer-events: auto; }
[data-depth] {
	transform: translate3d(calc(var(--mx) * var(--d, 0) * 1px), calc(var(--my) * var(--d, 0) * 1px), 0);
	transition: transform .9s var(--ease-out);
}

/* Accesos rápidos */
.banner__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.banner__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, .14);
	color: inherit;
	font-size: 13.5px;
	transition: background-color .3s, color .3s;
}
.banner__link:hover { background: rgba(255, 255, 255, .28); color: inherit; }
.banner__link.is-current { background: var(--white); color: var(--navy); }

/* Piezas que flotan */
.banner__pick {
	position: absolute;
	display: block;
	width: var(--size, 150px);
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--photo);
	animation: banner-float 7s ease-in-out infinite;
	animation-delay: calc(var(--i) * -1.4s);
}
.banner__pick img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform .8s var(--ease-out); }
.banner__pick:hover img { transform: scale(1.32); }
@keyframes banner-float { 50% { translate: 0 -12px; } }

/* Joyería: panel azul y constelación de piezas */
.banner--shop { background: var(--navy); color: var(--white); }
.banner--shop .banner__link { background: rgba(255, 255, 255, .1); }
.banner--shop .banner__pick:nth-child(1) { --size: clamp(170px, 17vw, 250px); right: 22%; top: 16%; }
.banner--shop .banner__pick:nth-child(2) { --size: clamp(110px, 10vw, 150px); right: 6%; top: 10%; }
.banner--shop .banner__pick:nth-child(3) { --size: clamp(120px, 11vw, 170px); right: 9%; bottom: 10%; }
.banner--shop .banner__pick:nth-child(4) { --size: clamp(90px, 8vw, 120px); right: 38%; bottom: 8%; }
.banner--shop .banner__pick:nth-child(5) { --size: clamp(76px, 6vw, 96px); right: 42%; top: 10%; }
.banner--shop::before {
	content: "";
	position: absolute;
	right: -10%; top: -30%;
	z-index: 0;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 106, 168, .55), rgba(10, 31, 74, 0) 65%);
}

/* Categoría: foto en arco y piezas sobre el borde */
.banner__arch {
	position: absolute;
	right: clamp(30px, 6vw, 110px);
	top: 28px; bottom: 0;
	width: min(40%, 420px);
	overflow: hidden;
	border-radius: var(--pill) var(--pill) 0 0;
}
.banner__arch img { width: 110%; max-width: none; height: 110%; margin: -5%; object-fit: cover; }
.banner--cat .banner__pick:nth-child(2) { --size: clamp(110px, 10vw, 150px); right: calc(min(40%, 420px) + clamp(10px, 4vw, 70px)); top: 18%; }
.banner--cat .banner__pick:nth-child(3) { --size: clamp(80px, 7vw, 110px); right: calc(clamp(30px, 6vw, 110px) - 30px); top: 14%; }
.banner--cat .banner__pick:nth-child(4) { --size: clamp(96px, 8vw, 130px); right: calc(min(40%, 420px) - 10px); bottom: 10%; }

/* Gema: fondo teñido, gema facetada que gira y destellos */
.banner--gem {
	background: radial-gradient(circle at 76% 50%, color-mix(in srgb, var(--gem) 60%, var(--navy)) 0, var(--navy) 62%);
	color: var(--white);
}
.banner__glow {
	position: absolute;
	right: 8%; top: 50%;
	width: 40%;
	aspect-ratio: 1;
	margin-top: -20%;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--gem) 70%, #fff) 0, transparent 62%);
	opacity: .45;
	filter: blur(10px);
}
.banner__gem {
	position: absolute;
	right: 14%; top: 50%;
	width: clamp(200px, 24vw, 340px);
	aspect-ratio: 1;
	margin-top: calc(clamp(200px, 24vw, 340px) / -2);
	perspective: 900px;
}
.banner__gem svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
	transform: rotateX(calc(var(--my) * -14deg)) rotateY(calc(var(--mx) * 18deg)) rotate(calc(var(--mx) * 4deg));
	transition: transform .9s var(--ease-out);
	animation: gem-breathe 6s ease-in-out infinite;
}
@keyframes gem-breathe { 50% { scale: 1.04; } }
.banner__spark {
	position: absolute;
	width: 7px; height: 7px;
	background: #fff;
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
	opacity: 0;
	animation: spark 3.2s ease-in-out infinite;
	animation-delay: calc(var(--s) * .45s);
}
.banner__spark:nth-child(3) { right: 20%; top: 22%; }
.banner__spark:nth-child(4) { right: 33%; top: 34%; width: 11px; height: 11px; }
.banner__spark:nth-child(5) { right: 12%; top: 58%; }
.banner__spark:nth-child(6) { right: 28%; bottom: 20%; width: 9px; height: 9px; }
.banner__spark:nth-child(7) { right: 40%; top: 18%; }
.banner__spark:nth-child(8) { right: 6%; top: 30%; width: 10px; height: 10px; }
.banner__spark:nth-child(9) { right: 44%; bottom: 28%; }
@keyframes spark { 0%, 100% { opacity: 0; scale: .4; } 45% { opacity: .95; scale: 1; } }
.banner--gem .chip__dot { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }

/* Páginas: contornos de gemas en línea */
.banner--page { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.banner__line { position: absolute; color: var(--gold); opacity: .75; }
.banner__line .gem-outline { width: 100%; height: auto; animation: banner-spin 40s linear infinite; }
.banner__line--a { right: 14%; top: 14%; width: clamp(120px, 13vw, 190px); }
.banner__line--b { right: 34%; bottom: 10%; width: clamp(70px, 7vw, 100px); color: var(--sea); }
.banner__line--c { right: 4%; bottom: 8%; width: clamp(90px, 9vw, 130px); }
.banner__line--d { right: 30%; top: 8%; width: clamp(60px, 6vw, 84px); color: var(--navy); opacity: .5; }
.banner__line--e { right: 2%; top: 6%; width: clamp(44px, 4vw, 60px); color: var(--sea); opacity: .55; }
.banner__line--b .gem-outline, .banner__line--d .gem-outline { animation-direction: reverse; animation-duration: 55s; }
@keyframes banner-spin { to { rotate: 360deg; } }
.banner--compact { min-height: 240px; }
.banner--compact .banner__title { font-size: clamp(40px, 4.6vw, 66px); }
.banner--compact .banner__line--a { width: clamp(90px, 9vw, 130px); top: 18%; }
.banner--compact .banner__line--c, .banner--compact .banner__line--d { display: none; }

@media (max-width: 900px) {
	.banner { grid-template-columns: 1fr; min-height: 0; }
	.banner__text { padding: 32px 26px 28px; }
	.banner__art { position: relative; inset: auto; height: 260px; }
	.banner--page .banner__art, .banner--compact .banner__art { position: absolute; inset: 0; height: auto; opacity: .45; }
	.banner--page .banner__line--a { width: 120px; }
	.banner__arch { right: 50%; translate: 50% 0; width: 62%; top: 10px; }
	.banner--cat .banner__pick:nth-child(2) { right: auto; left: 4%; top: 20%; }
	.banner--cat .banner__pick:nth-child(3) { right: 3%; top: 8%; }
	.banner--cat .banner__pick:nth-child(4) { right: 6%; bottom: 8%; }
	.banner--shop .banner__pick:nth-child(1) { right: 34%; top: 14%; }
	.banner--shop .banner__pick:nth-child(4) { right: auto; left: 6%; bottom: 10%; }
	.banner--shop .banner__pick:nth-child(5) { right: auto; left: 10%; top: 6%; }
	.banner__gem { right: 50%; translate: 50% 0; width: 200px; margin-top: -100px; }
	.banner__glow { right: 25%; width: 50%; margin-top: -25%; }
}
@media (prefers-reduced-motion: reduce) {
	.banner__pick, .banner__gem svg, .banner__spark, .banner__line .gem-outline { animation: none; }
	.banner__spark { opacity: .7; }
	[data-depth], .banner__gem svg { transform: none !important; }
}

/* Scroll suave: estilos base de Lenis y respaldo nativo para los enlaces internos */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html { scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) {
	html:not(.lenis) { scroll-behavior: smooth; }
}
.banner--cat .banner__link, .banner--page .banner__link { background: rgba(10, 31, 74, .07); }
.banner--cat .banner__link:hover, .banner--page .banner__link:hover { background: rgba(10, 31, 74, .14); }
.banner--cat .banner__link.is-current { background: var(--navy); color: var(--white); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top: 0 !important; }
@media (max-width: 900px) {
	.banner--shop .banner__art { height: 230px; }
	.banner--shop .banner__pick:nth-child(1) { --size: 130px; right: 34%; top: 12%; }
	.banner--shop .banner__pick:nth-child(2) { --size: 92px; right: 8%; top: 6%; }
	.banner--shop .banner__pick:nth-child(3) { --size: 100px; right: 12%; bottom: 10%; }
	.banner--shop .banner__pick:nth-child(4) { --size: 78px; left: 8%; bottom: 14%; }
	.banner--shop .banner__pick:nth-child(5) { --size: 58px; left: 12%; top: 8%; }
	.banner--cat .banner__pick { --size: 84px !important; }
}

/* --------------------------------------------------------------------------
   Nitidez: las fotos de Instagram miden ~1400 px. Ningún bloque las estira
   más allá de su tamaño real (antes la Maison y la banda las ampliaban 2×).
   -------------------------------------------------------------------------- */
/* La Maison: díptico, cada foto ocupa media pantalla */
.maison-hero__media { display: grid; grid-template-columns: 1fr 1fr; }
.maison-hero__media img { min-width: 0; animation-name: soft-zoom; }
@media (max-width: 700px) {
	.maison-hero__media { grid-template-columns: 1fr; }
	.maison-hero__b { display: none; }
}
/* Banda de la portada: texto en panel azul y foto a la mitad derecha */
.story-band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: min(80vh, 760px); background: var(--navy); }
.story-band::after { display: none; }
.story-band__media { position: relative; inset: auto; order: 2; overflow: hidden; }
.story-band__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; transform: translate3d(0, calc(var(--parallax, 0px) * .5), 0); }
.story-band__text { align-self: end; margin: 0; padding: clamp(40px, 6vw, 90px); }
@media (max-width: 900px) {
	.story-band { grid-template-columns: 1fr; }
	.story-band__media { order: 0; min-height: 420px; }
}
/* Zoom de entrada más leve: un 12 % de ampliación se notaba en fotos de esta resolución */
@keyframes soft-zoom { from { transform: scale(1.04); } }
.citas__media img, .medida-hero__media img { animation-name: soft-zoom; }
.hero__pic img { transform: scale(1.04); }
.explore__img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   A medida: concepto cuadrado (talla princesa)
   Esquinas casi rectas en toda la página; los botones siguen en píldora.
   -------------------------------------------------------------------------- */
.medida { --r-sm: 3px; --r: 5px; --r-lg: 8px; }

/* Portada: texto a la izquierda; a la derecha el retrato completo y, montada
   sobre su borde, la tarjeta "de la gema a la joya" con fotos reales. */
.medida-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 110px);
	align-items: center;
	min-height: 0;
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: clamp(20px, 3vw, 44px) auto 0;
	padding: 0;
	border-radius: 0;
	background: none;
}
.medida-hero__text { padding: 0 0 clamp(40px, 6vw, 90px); }
.medida-hero__text h1 { font-size: clamp(48px, 6vw, 92px); }
.medida-hero__sub { text-wrap: balance; }
.medida-hero__visual {
	position: relative;
	justify-self: end;
	width: min(100%, 480px, calc((100vh - 260px) * .8));
	padding-bottom: 40px;
}
.medida-hero__media {
	position: relative;
	aspect-ratio: 4 / 5;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	border-radius: var(--r-lg);
}
.medida-hero__media img { object-position: center 35%; }

.medida-hero__recipe {
	position: absolute;
	left: clamp(-120px, -8vw, -40px);
	bottom: 0;
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.4vw, 20px);
	width: max-content;
	padding: 26px 34px 20px;
	border-radius: var(--r-lg);
	background: var(--sand);
}
.medida-hero__step { display: grid; justify-items: center; gap: 10px; }
.medida-hero__gem,
.medida-hero__jewel {
	display: block;
	width: clamp(64px, 5.4vw, 80px);
	aspect-ratio: 1;
	overflow: hidden;
}
.medida-hero__gem { border-radius: 50%; background: var(--white); }
.medida-hero__jewel { border-radius: 50%; background: var(--white); }
.medida-hero__gem img,
.medida-hero__jewel img { width: 100%; height: 100%; object-fit: cover; }
.medida-hero__jewel img { box-sizing: border-box; padding: 4%; object-fit: contain; }
.medida-hero__gem img { box-sizing: border-box; padding: 20%; object-fit: contain; }
.medida-hero__arrow { flex: none; display: grid; place-items: center; margin-bottom: 28px; color: var(--gold); }
.medida-hero__cap {
	font-family: var(--serif);
	font-size: 15px;
	font-weight: 300;
	color: var(--ink);
}

/* Una sola entrada: la foto se asienta y la tarjeta llega después, gema y luego joya. */
@media (prefers-reduced-motion: no-preference) {
	.medida-hero__recipe { animation: recipe-in .9s var(--ease-out) .35s both; }
	.medida-hero__step + .medida-hero__arrow,
	.medida-hero__arrow + .medida-hero__step { animation: recipe-in .7s var(--ease-out) .75s both; }
}
@keyframes recipe-in { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
	.medida-hero { grid-template-columns: 1fr; gap: 8px; }
	.medida-hero__text { padding-bottom: 0; }
	.medida-hero__visual { justify-self: stretch; width: 100%; }
	.medida-hero__media { aspect-ratio: 4 / 5; }
	.medida-hero__recipe { left: 50%; translate: -50% 0; }
}

/* Tres caminos: compartimentos cuadrados unidos, como el joyero de la portada */
.paths__grid { gap: 3px; border-radius: var(--r-lg); overflow: hidden; }
.path {
	justify-content: center;
	aspect-ratio: 1;
	padding: clamp(24px, 3vw, 48px);
	background: var(--sand);
	transition: background-color .5s var(--ease-out);
}
.path + .path { border-left: 0; }
.path:hover { background: #ebe4d8; }
.path .link-arrow { margin-top: 6px; }
@media (max-width: 900px) {
	.path { aspect-ratio: auto; padding: 40px 24px; }
	.path + .path { border-top: 0; }
}

@media (max-width: 600px) {
	.gem__media { width: 70%; top: 4%; }
	.gem__text { top: auto; bottom: 14px; left: 14px; right: 14px; }
	.gem__name { gap: 9px; font-size: 20px; }
	.gem__swatch { width: 9px; height: 9px; }
	.gem__desc { display: none; }
}

/* --------------------------------------------------------------------------
   Selector de idioma (barra superior)
   -------------------------------------------------------------------------- */

.announce p { padding-inline: max(var(--gutter), 170px); }
.top-tools {
	position: absolute;
	top: 0; bottom: 0;
	right: calc(var(--gutter) - 6px);
	display: flex;
	align-items: center;
	gap: 6px;
}
.lang-switch { display: flex; align-items: center; }
.lang-switch ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.lang-switch li { display: flex; align-items: center; }
.lang-switch li + li::before { content: ""; width: 1px; height: 10px; margin: 0 2px; background: rgba(223, 230, 243, .22); }
.lang-switch a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 0 6px;
	color: rgba(223, 230, 243, .55);
	font-size: 11.5px;
	letter-spacing: .04em;
	text-decoration: none;
	transition: color .3s var(--ease);
}
.lang-switch a:hover,
.lang-switch a[aria-current] { color: var(--white); }
.lang-switch a:focus-visible { outline: 1px solid rgba(255, 255, 255, .7); outline-offset: 0; color: var(--white); }
.lang-switch__flag { display: inline-flex; border-radius: 2px; overflow: hidden; opacity: .45; filter: saturate(.6); transition: opacity .3s var(--ease), filter .3s var(--ease); }
.lang-switch a:hover .lang-switch__flag,
.lang-switch a[aria-current] .lang-switch__flag { opacity: .95; filter: none; }
@media (max-width: 640px) {
	.announce p { padding-left: 16px; padding-right: 160px; text-align: left; }
	.top-tools { right: 8px; gap: 0; }
	.lang-switch__flag { display: none; }
}

/* --------------------------------------------------------------------------
   WhatsApp: botón flotante sobre fondos oscuros y ventana de datos
   -------------------------------------------------------------------------- */

.wa-float { transition: transform .4s var(--ease-out), background-color .35s var(--ease), color .35s var(--ease); }
.wa-float.is-on-dark { background: var(--white); color: var(--navy); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.wa-float.is-on-dark:hover { background: var(--sand); color: var(--navy); }
body.has-wa-lead .wa-float { opacity: 0; pointer-events: none; }

.wa-lead {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	padding: 16px;
}
.wa-lead[hidden] { display: none; }
.wa-lead__scrim {
	position: absolute;
	inset: 0;
	background: rgba(8, 16, 34, .5);
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.wa-lead__box {
	position: relative;
	width: min(440px, 100%);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	padding: 40px 36px 30px;
	border-radius: var(--r-lg, 28px);
	background: var(--white);
	color: var(--text);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .3s var(--ease), transform .45s var(--ease-out);
}
.wa-lead.is-open .wa-lead__scrim { opacity: 1; }
.wa-lead.is-open .wa-lead__box { opacity: 1; transform: none; }
.wa-lead__close { position: absolute; top: 14px; right: 14px; }
.wa-lead__icon {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--sand);
	color: var(--navy);
}
.wa-lead__title {
	margin: 0 0 10px;
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(24px, 3vw, 28px);
	line-height: 1.15;
	color: var(--navy);
}
.wa-lead__text { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--text); }
.wa-lead__form { display: grid; gap: 18px; }
.wa-lead__field { display: grid; gap: 6px; }
.wa-lead__field label { font-size: 13.5px; color: var(--muted); }
.wa-lead__field input {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	transition: border-color .3s;
}
.wa-lead__field input:focus { outline: none; border-color: var(--navy); }
.wa-lead__field input[aria-invalid="true"] { border-color: #a3122f; }
.wa-lead__error { margin: 0; font-size: 13px; color: #a3122f; }
.wa-lead__submit { margin-top: 8px; gap: 10px; height: 54px; cursor: pointer; border: 0; }
.wa-lead__note { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }

@media (max-width: 600px) {
	.wa-lead { place-items: end stretch; padding: 0; }
	.wa-lead__box {
		width: 100%;
		max-height: 92dvh;
		padding: 34px 22px calc(22px + env(safe-area-inset-bottom));
		border-radius: var(--r-lg, 28px) var(--r-lg, 28px) 0 0;
		transform: translateY(40px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.wa-lead__scrim, .wa-lead__box { transition: none; }
	.wa-lead__box { transform: none; }
}

/* --------------------------------------------------------------------------
   Selector de moneda (barra superior) y aviso del carrito
   -------------------------------------------------------------------------- */

.cur-switch { position: relative; display: flex; align-items: center; }
.cur-switch__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 0 8px;
	border: 0;
	background: none;
	color: rgba(223, 230, 243, .75);
	font: inherit;
	font-size: 11.5px;
	letter-spacing: .04em;
	cursor: pointer;
	transition: color .3s var(--ease);
}
.cur-switch__btn svg { transition: transform .3s var(--ease); }
.cur-switch__btn:hover, .cur-switch.is-open .cur-switch__btn { color: var(--white); }
.cur-switch.is-open .cur-switch__btn svg { transform: rotate(180deg); }
.cur-switch__btn:focus-visible { outline: 1px solid rgba(255, 255, 255, .7); outline-offset: 0; }
.cur-switch__menu {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	z-index: 80;
	min-width: 210px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border-radius: var(--r);
	background: var(--white);
	color: var(--ink);
	text-align: left;
	box-shadow: 0 18px 40px -18px rgba(10, 31, 74, .45);
	animation: cur-in .22s var(--ease-out);
}
@keyframes cur-in { from { opacity: 0; transform: translateY(-4px); } }
.cur-switch__menu a {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 9px 12px;
	border-radius: var(--r-sm);
	color: inherit;
	font-size: 13px;
	letter-spacing: 0;
	text-decoration: none;
	transition: background-color .2s var(--ease);
}
.cur-switch__menu a:hover, .cur-switch__menu a:focus-visible { background: var(--sand); outline: none; }
.cur-switch__menu a[aria-current] { color: var(--navy); background: var(--sand-2); }
.cur-switch__code { width: 34px; font-weight: 500; color: var(--navy); }
.cur-switch__name { color: var(--muted); }
.cur-switch__menu a[aria-current] .cur-switch__name { color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .cur-switch__menu { animation: none; } }

.currency-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Gemas con foto real: cápsulas, filtros, selector de A medida y banners
   -------------------------------------------------------------------------- */

.chip__gem {
	flex: none;
	width: 22px;
	height: 22px;
	margin-left: -8px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(10, 31, 74, .08);
}

/* Selector de gemas de A medida: círculos con la foto de cada piedra */
.gempick {
	display: flex;
	flex-wrap: wrap;
	gap: 6px clamp(10px, 2vw, 22px);
}
.gempick__item {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 4px 2px;
	border: 0;
	background: none;
	color: var(--muted);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	transition: color .3s var(--ease);
}
.gempick__pic, .gempick__all {
	position: relative;
	display: block;
	width: clamp(58px, 6vw, 72px);
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(10, 31, 74, .08);
	transition: box-shadow .35s var(--ease), transform .45s var(--ease-out);
}
.gempick__pic img { box-sizing: border-box; width: 100%; height: 100%; padding: 14%; object-fit: contain; transition: transform .6s var(--ease-out); }
.gempick__pic--zafiro img, .gempick__pic--rubi img, .gempick__pic--diamante img { padding: 20%; }
.gempick__pic .chip__dot { position: absolute; inset: 30%; width: auto; height: auto; }
.gempick__all { display: grid; grid-template-columns: 1fr 1fr; }
.gempick__all img { width: 100%; height: 100%; object-fit: cover; }
.gempick__item:hover { color: var(--navy); }
.gempick__item:hover .gempick__pic img { transform: scale(1.08); }
.gempick__item.is-active { color: var(--navy); }
.gempick__item.is-active .gempick__pic,
.gempick__item.is-active .gempick__all { box-shadow: 0 0 0 1.5px var(--sand), 0 0 0 3px var(--navy); }
.gempick__item:focus-visible { outline: none; }
.gempick__item:focus-visible .gempick__pic,
.gempick__item:focus-visible .gempick__all { box-shadow: 0 0 0 1.5px var(--sand), 0 0 0 3px var(--sea); }
@media (max-width: 900px) {
	.gempick { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	.gempick::-webkit-scrollbar { display: none; }
	.gempick__item { flex: none; }
}

/* Banner de gema con fotografía */
.banner--photo { background: #0b2a5c; }
.banner__photo { position: absolute; inset: -12px; }
.banner__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.banner--photo .banner__art::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(6, 22, 56, .55) 0, rgba(6, 22, 56, .2) 45%, rgba(6, 22, 56, 0) 62%);
}
.banner--photo .banner__text { text-shadow: 0 1px 18px rgba(6, 22, 56, .35); }
.banner--photo .banner__link { background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); text-shadow: none; }
.banner--photo .banner__link:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 900px) {
	.banner--photo { background: #0d3a78; }
	.banner--photo .banner__art { height: 250px; }
	.banner--photo .banner__photo { inset: -2px 0 0; }
	.banner--photo .banner__art { margin-top: -1px; }
	.banner--photo .banner__photo img { object-position: 80% 50%; }
	/* Encuadre propio en el teléfono: que se vea la persona o los anillos. */
	.term-hombre .banner--photo .banner__photo img { object-position: 24% 50%; }
	.post-type-archive-product .banner--photo .banner__photo img { object-position: 38% 60%; }
	.term-alta-joyeria .banner--photo .banner__photo img { object-position: 68% 50%; }
	.term-anillos .banner--photo .banner__photo img { object-position: 62% 50%; }
	.term-aros .banner--photo .banner__photo img { object-position: 52% 50%; }
	.term-collares .banner--photo .banner__photo img,
	.term-colgantes-hombre .banner--photo .banner__photo img { object-position: 50% 50%; }
	.term-anillos-hombre .banner--photo .banner__photo img { object-position: 72% 50%; }
	.banner--photo .banner__art::after { background: linear-gradient(180deg, #0d3a78 0, rgba(13, 58, 120, 0) 35%); }
}

/* Gema sin piezas publicadas */
.shop-empty { display: grid; justify-items: center; gap: 6px; max-width: 520px; margin: 30px auto 0; text-align: center; }
.shop-empty .chip__gem { width: 88px; height: 88px; margin: 0 0 10px; }
.shop-empty h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); }
.shop-empty p { margin: 0 0 18px; color: var(--muted); }

/* Categoría con subcategorías (Hombre): una sección por subcategoría */
.shop-group + .shop-group { margin-top: clamp(56px, 7vw, 96px); }
.shop-group .section__head { margin-bottom: 28px; }

/* Fotos de producto: el blanco de la foto pasa a casi blanco con un velo
   muy suave (más liviano de pintar que mix-blend-mode en cada imagen). */
.card__media::after,
.gallery__main::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: rgba(120, 100, 70, .035);
}
.card__media .badge { z-index: 2; }
.gallery__main.is-photo::after { display: none; }

/* Checkout en otra moneda: monto real en pesos bajo el total */
.order-total-clp th, .order-total-clp td { font-size: 14px; font-weight: 400; color: var(--muted); }
.order-total-note td { padding-top: 0 !important; font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Mi cuenta: dos columnas (perfil y menú | contenido). Plano, sin bordes.
   -------------------------------------------------------------------------- */
.woocommerce-account .woocommerce:has(> .acct) { margin-top: clamp(20px, 3vw, 40px); }
.acct { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.acct__side { position: sticky; top: 120px; display: grid; gap: 18px; padding: 22px; border-radius: var(--r); background: var(--sand); }
.acct__me { display: flex; align-items: center; gap: 14px; }
.acct__avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--serif); font-size: 19px; letter-spacing: .04em; }
.acct__who { display: grid; min-width: 0; }
.acct__who strong { font-weight: 500; color: var(--ink); }
.acct__who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.acct-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; border: 0; }
.woocommerce-account .acct-nav li { border: 0; }
.woocommerce-account .acct-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-sm); color: var(--text); font-size: 15px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.woocommerce-account .acct-nav a:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.woocommerce-account .acct-nav .is-active a { background: var(--navy); color: var(--white); font-weight: 400; }
.acct-nav .icon { flex: none; opacity: .8; }
.acct-nav__badge { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: var(--white); font-size: 12px; font-weight: 500; text-align: center; }
.acct-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px; }
.acct__help { margin: 0; font-size: 13.5px; color: var(--muted); }
.acct__help a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--navy); }

.acct__main { min-width: 0; }
.acct-head { margin-bottom: 24px; }
.acct-head h2 { margin: 0; font-size: clamp(32px, 3.4vw, 46px); }
.acct-head p { margin: 6px 0 0; color: var(--muted); }
.acct-block { margin-top: 36px; }
.acct-block h3 { margin: 0 0 14px; font-size: 24px; }
.acct-muted { color: var(--muted); }
.acct-empty { display: grid; justify-items: start; gap: 14px; padding: 26px; border-radius: var(--r); background: var(--sand-2); }
.acct-empty p { margin: 0; max-width: 560px; color: var(--text); }

/* Resumen */
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acct-stat { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r); background: var(--sand-2); color: var(--ink); transition: background-color .25s var(--ease); }
.acct-stat:hover { background: var(--sand); color: var(--ink); }
.acct-stat__num { font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1; }
.acct-stat__num--sm { font-size: 22px; line-height: 1.2; }
.acct-stat__label { font-size: 13.5px; color: var(--muted); }
.acct-feed { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.acct-feed__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: var(--r-sm); background: var(--sand-2); color: var(--ink); transition: background-color .25s var(--ease); }
.acct-feed__row:hover { background: var(--sand); color: var(--ink); }
.acct-feed__img { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border-radius: var(--r-sm); background: var(--photo); color: var(--navy); }
.acct-feed__img img { width: 100%; height: 100%; object-fit: contain; }
.acct-feed__main { display: grid; min-width: 0; }
.acct-feed__main strong { font-weight: 500; }
.acct-feed__main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.acct-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acct-action { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--navy); color: var(--white); transition: background-color .25s var(--ease); }
.acct-action:hover { background: var(--navy-2); color: var(--white); }
.acct-action span { display: grid; }
.acct-action strong { font-weight: 500; }
.acct-action small { color: rgba(255, 255, 255, .7); }

/* Etiquetas de estado */
.acct-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.acct-pill--wait { background: #f6ecd8; color: #8a5d0f; }
.acct-pill--info { background: #e3eaf7; color: #2f5aa8; }
.acct-pill--ok { background: #e4f1e9; color: #2f7d55; }
.acct-pill--done { background: var(--sand); color: var(--muted); }
.acct-pill--off { background: #f6e1e4; color: #a3243b; }

/* Tarjetas: pedidos, cotizaciones y citas */
.acct-list, .acct-orders { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.acct-card { padding: clamp(18px, 2vw, 24px); border-radius: var(--r); background: var(--sand-2); }
.acct-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.acct-card__head h3 { margin: 0; font-size: 24px; }
.acct-card__head small { color: var(--muted); }
.acct-order { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.acct-order__imgs { display: flex; }
.acct-order__imgs span { display: block; width: 78px; height: 78px; overflow: hidden; border-radius: var(--r-sm); background: var(--photo); }
.acct-order__imgs span + span { margin-left: -26px; box-shadow: -3px 0 0 var(--sand-2); }
.acct-order__imgs img { width: 100%; height: 100%; object-fit: contain; }
.acct-order__main { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.acct-order__title { margin: 0; }
.acct-order__title strong { font-weight: 500; color: var(--ink); }
.acct-order__title span { margin-left: 8px; font-size: 13.5px; color: var(--muted); }
.acct-order__items { margin: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.acct-order__end { display: grid; justify-items: end; gap: 10px; }
.acct-order__total { font-size: 18px; font-weight: 500; color: var(--ink); }
.acct-pager { display: flex; justify-content: space-between; }

.acct-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.acct-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--white); color: var(--muted); font-size: 13px; }
.acct-steps li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sand); }
.acct-steps li.is-done { color: var(--ink); }
.acct-steps li.is-done span { background: var(--navy); color: var(--white); }
.acct-reply { margin: 0 0 14px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--white); }
.acct-reply strong { font-weight: 500; color: var(--ink); }
.acct-reply p { margin: 6px 0 0; }
.acct-reply__price { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.acct-reply__price small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.acct-more { margin-bottom: 12px; }
.acct-more summary { cursor: pointer; color: var(--navy); font-size: 14.5px; }
.acct-more__body { display: flex; gap: 18px; margin-top: 12px; }
.acct-more__img img { width: 110px; height: 110px; object-fit: cover; border-radius: var(--r-sm); }
.acct-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0 0 14px; }
.acct-dl div { min-width: 0; }
.acct-dl .is-wide { grid-column: 1 / -1; }
.acct-dl dt { font-size: 12.5px; color: var(--muted); }
.acct-dl dd { margin: 2px 0 0; color: var(--ink); }
.acct-dl .is-strong dd { font-family: var(--serif); font-size: 22px; }
.acct-cita { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; }
.acct-cita__date { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--navy); }
.acct-cita--confirmada .acct-cita__date { background: var(--navy); color: var(--white); }
.acct-cita--rechazada, .acct-cita--realizada { opacity: .75; }

/* Mis datos y Direcciones dentro del contenido */
.acct__main .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acct__main .woocommerce-Addresses::before, .acct__main .woocommerce-Addresses::after { display: none; }
.acct__main .woocommerce-Address { width: auto !important; float: none !important; padding: 22px; border-radius: var(--r); background: var(--sand-2); }
.acct__main .woocommerce-Address-title h2 { font-size: 24px; }

@media (max-width: 1000px) {
	.acct { grid-template-columns: 1fr; }
	.acct__side { position: static; }
	.acct-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
	.acct-nav ul::-webkit-scrollbar { display: none; }
	.woocommerce-account .acct-nav a { white-space: nowrap; background: rgba(255, 255, 255, .6); }
	.acct-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 0; }
	.acct__help { display: none; }
}
@media (max-width: 700px) {
	.acct-stats, .acct-actions { grid-template-columns: 1fr; }
	.acct-order { grid-template-columns: 1fr; gap: 14px; }
	.acct-order__end { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
	.acct-feed__row { grid-template-columns: 48px minmax(0, 1fr); }
	.acct-feed__row .acct-pill { grid-column: 2; justify-self: start; }
	.acct-dl { grid-template-columns: 1fr; }
	.acct__main .woocommerce-Addresses { grid-template-columns: 1fr; }
	.acct-card__head { flex-direction: column; }
}

/* Mi cuenta: detalle de pedido y ajuste de ancho en pantallas chicas */
.acct > * { min-width: 0; }
.acct-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.acct-head--order p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acct-steps--lg li { padding: 7px 16px 7px 7px; font-size: 14px; background: var(--sand-2); }
.acct-steps--lg li span { width: 24px; height: 24px; }
.acct-reply--action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #f6ecd8; }
.acct-reply--action p { margin: 0; }
.acct-lines { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.acct-lines li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 8px 0; }
.acct-lines__img { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: var(--r-sm); background: var(--photo); }
.acct-lines__img img { width: 100%; height: 100%; object-fit: contain; }
.acct-lines__name { display: grid; min-width: 0; }
.acct-lines__name a { color: var(--ink); font-weight: 500; }
.acct-lines__name small { color: var(--muted); }
.acct-totals { display: grid; gap: 6px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.acct-totals div { display: flex; justify-content: space-between; gap: 12px; }
.acct-totals dt { color: var(--muted); }
.acct-totals dd { margin: 0; text-align: right; }
.acct-totals .is-total dt, .acct-totals .is-total dd { font-size: 18px; font-weight: 500; color: var(--ink); }
.acct-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 20px; }
.acct-two h3 { margin: 0 0 8px; font-size: 20px; }
.acct-two p { margin: 0; }
.acct-notes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.acct-notes li { padding: 14px 16px; border-radius: var(--r-sm); background: var(--sand-2); }
.acct-notes small { color: var(--muted); }
.acct-notes p { margin: 4px 0 0; }
@media (max-width: 700px) {
	.acct-two { grid-template-columns: 1fr; }
	.acct-lines li { grid-template-columns: 56px minmax(0, 1fr); }
	.acct-lines__img { width: 56px; height: 56px; }
	.acct-lines__price { grid-column: 2; }
}

/* Citas: calendario y horas */
.cita-picker { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; padding: 20px; border-radius: var(--r); background: var(--sand); }
.cita-picker .tcal { max-width: none; }
.cita-picker__slots { display: grid; align-content: start; gap: 12px; }
.cita-picker__day { margin: 6px 0 0; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.cita-picker__picked { margin: 0; font-size: 14px; color: var(--navy); }
.cita-picker__picked.is-error { color: #a3243b; }
@media (max-width: 720px) { .cita-picker { grid-template-columns: 1fr; padding: 16px; } }

/* --------------------------------------------------------------------------
   A medida: elige tu gema (catálogo con rangos)
   Fila de gemas en círculo y, debajo, la ficha arena con las opciones.
   -------------------------------------------------------------------------- */
.gemcat {
	width: min(100% - 2 * var(--gutter), 1120px);
	margin: 0 auto;
	padding: clamp(30px, 4vw, 60px) 0 clamp(40px, 5vw, 70px);
	scroll-margin-top: 120px;
}
.gemcat__head { max-width: 640px; margin: 0 auto clamp(24px, 3vw, 40px); text-align: center; }
.gemcat__head h2 { font-size: clamp(30px, 3vw, 42px); }
.gemcat__head p { margin: 12px 0 0; color: var(--muted); font-size: 15px; text-wrap: pretty; }

.gemcat__tabs {
	display: flex;
	justify-content: center;
	gap: clamp(14px, 2.4vw, 36px);
	margin-bottom: clamp(20px, 2.6vw, 32px);
}
.gemcat__tab {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 10px;
	width: 96px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--muted);
	font: inherit;
	font-size: 14px;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: color .3s var(--ease);
}
.gemcat__thumb {
	display: block;
	width: 72px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--white);
	transition: box-shadow .35s var(--ease);
}
.gemcat__thumb img { box-sizing: border-box; width: 100%; height: 100%; padding: 18%; object-fit: contain; transition: transform .6s var(--ease-out); }
.gemcat__tab:hover { color: var(--navy); }
.gemcat__tab:hover .gemcat__thumb img { transform: scale(1.08); }
.gemcat__tab[aria-selected="true"] { color: var(--navy); }
.gemcat__tab[aria-selected="true"] .gemcat__thumb { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--navy); }
.gemcat__tab:focus-visible { outline: none; }
.gemcat__tab:focus-visible .gemcat__thumb { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--sea); }

.gemcat__panel {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 60px);
	padding: clamp(24px, 3.6vw, 52px);
	border-radius: var(--r-lg);
	background: var(--sand);
}
.gemcat__panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.gemcat__panel:not([hidden]) { animation: gemcat-in .5s var(--ease-out); }
}
@keyframes gemcat-in { from { opacity: 0; transform: translateY(6px); } }

.gemcat__intro { display: grid; align-content: start; justify-items: center; gap: 20px; text-align: center; }
.gemcat__photo {
	width: min(100%, 190px);
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	border-radius: 50%;
	background: var(--white);
}
.gemcat__photo img { box-sizing: border-box; width: 100%; height: 100%; padding: 16%; object-fit: contain; }
.gemcat__intro h3 { margin: 0 0 6px; font-size: clamp(26px, 2.6vw, 36px); }
.gemcat__price { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); color: var(--navy); }
.gemcat__price > span { color: var(--muted); font-size: .8em; }
.gemcat__facts { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

.gemcat__options { display: grid; align-content: start; gap: 22px; }
.gemcat__label { display: block; margin-bottom: 9px; font-size: 13px; color: var(--muted); }
.gemcat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gemcat__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--pill);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease);
}
.gemcat__chip:hover { background: var(--sand-2); color: var(--navy); }
.gemcat__chip[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.gemcat__chip:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.gemcat__chip[style]::before {
	content: "";
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(10, 31, 74, .14);
}
.gemcat__chip[style][aria-pressed="true"]::before { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); }
.gemcat__pick { justify-self: start; margin-top: 4px; }
.gemcat__note { margin: 22px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }

@media (max-width: 760px) {
	/* La fila de gemas se desliza de lado, a todo el ancho */
	.gemcat__tabs {
		justify-content: flex-start;
		gap: 4px;
		overflow-x: auto;
		margin-inline: calc(-1 * var(--gutter));
		padding: 4px var(--gutter);
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}
	.gemcat__tabs::-webkit-scrollbar { display: none; }
	.gemcat__tab { flex: none; width: 84px; font-size: 13px; }
	.gemcat__thumb { width: 60px; }
	.gemcat__panel { grid-template-columns: 1fr; gap: 26px; padding: 22px 18px 24px; }
	.gemcat__intro { grid-template-columns: 92px minmax(0, 1fr); align-items: center; justify-items: start; gap: 16px; text-align: left; }
	.gemcat__photo { width: 92px; }
	.gemcat__intro h3 { font-size: 26px; }
	.gemcat__price { font-size: 17px; }
	.gemcat__facts { font-size: 13px; }
	.gemcat__chip { min-height: 38px; padding: 0 13px; font-size: 13.5px; }
	.gemcat__pick { justify-self: stretch; }
}

/* --------------------------------------------------------------------------
   Fotos de portada (2026-10-16): foto de Citas y encuadre de la Maison
   -------------------------------------------------------------------------- */
/* Citas: foto de los anillos de mariposa en el arco (versión mejorada de 2508 px que entregó
   el usuario, original en _tools/fotos-catalogo/citas/). */
.citas__media img { object-position: 56% 50%; }
/* En escritorio el formulario alarga la columna: el arco toma el alto de la pantalla y se queda
   fijo al bajar, así la mano con los anillos se ve entera en vez de una franja de la camisa. */
@media (min-width: 901px) {
	.citas__media { position: sticky; top: 110px; align-self: start; height: min(calc(100svh - 140px), 900px); }
}

/* La Maison: la fila del díptico no tenía alto fijo, así que las fotos tomaban su alto natural
   y el héroe las cortaba por abajo (la gema del colgante quedaba fuera). Con la fila al 100 %
   el object-fit recorta de verdad, y la foto derecha se ancla a la mitad baja, donde está el colgante. */
.maison-hero__media { grid-template-rows: 100%; }
.maison-hero__media .maison-hero__b { object-position: center 72%; }

/* --------------------------------------------------------------------------
   Mostrar contraseña (WooCommerce): el tema quita los estilos de Woo y el
   botón quedaba como una cajita vacía bajo el campo. Ojo dentro del campo.
   -------------------------------------------------------------------------- */
.password-input { position: relative; display: block; }
.password-input input { width: 100%; padding-right: 52px; }
.show-password-input {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--muted);
	cursor: pointer;
	transform: translateY(-50%);
	transition: color .25s var(--ease);
}
.show-password-input::before {
	content: "";
	position: absolute;
	inset: 9px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.show-password-input.display-password::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
}
.show-password-input:hover, .show-password-input.display-password { color: var(--navy); }
.show-password-input:focus-visible { outline: 2px solid var(--sea); outline-offset: 0; }

/* --------------------------------------------------------------------------
   Seguimiento sin cuenta: enlace de la barra superior, página /seguimiento/
   y recuadro con el número al terminar una compra o cotización.
   -------------------------------------------------------------------------- */
.announce.is-empty { min-height: 34px; }
.top-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 0 8px;
	color: rgba(223, 230, 243, .75);
	font-size: 11.5px;
	letter-spacing: .04em;
	text-decoration: none;
	transition: color .3s var(--ease);
}
.top-link:hover { color: var(--white); }
.top-link:focus-visible { outline: 1px solid rgba(255, 255, 255, .7); outline-offset: 0; color: var(--white); }
.top-link svg { opacity: .8; }
@media (max-width: 640px) {
	.announce p { padding-right: 230px; }
	.top-link { padding: 0 6px; }
}
@media (max-width: 420px) {
	/* En pantallas chicas queda solo el ícono; el texto sigue para lectores de pantalla */
	.announce p { padding-right: 150px; font-size: 11.5px; }
	.top-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.track {
	width: min(100% - 2 * var(--gutter), 860px);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 120px);
}
.track-search { text-align: center; }
.track-search h1 { margin-bottom: 12px; font-size: clamp(40px, 5vw, 68px); }
.track-search__lead { max-width: 520px; margin: 0 auto clamp(26px, 3.4vw, 40px); color: var(--muted); }
.track-form {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(22px, 3vw, 36px);
	border-radius: var(--r-lg);
	background: var(--sand);
	text-align: left;
}
.track-form .form-msg { margin-bottom: 20px; }
.track-form .btn { margin-top: 6px; }
.track-form .form__note { margin-top: 14px; }
.track-search.is-compact h1 { font-size: clamp(32px, 3.6vw, 46px); }

.track-result { margin-top: clamp(40px, 5vw, 64px); }
.track-result__code {
	margin: 0 0 18px;
	font-family: var(--serif);
	font-size: 15px;
	letter-spacing: .08em;
	color: var(--gold);
}

.track-done {
	display: grid;
	justify-items: start;
	padding: clamp(24px, 3.4vw, 40px);
	border-radius: var(--r-lg);
	background: var(--sand);
}
.track-done__title { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); color: var(--ink); line-height: 1.15; }
.track-done__text { margin: 0 0 22px; max-width: 520px; color: var(--muted); }
.track-done__label { margin: 0; font-size: 13px; color: var(--muted); }
.track-done__code {
	margin: 2px 0 6px;
	font-family: var(--serif);
	font-size: clamp(28px, 3.4vw, 40px);
	letter-spacing: .06em;
	color: var(--navy);
	user-select: all;
}
.track-done__mail { margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.track-done__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.woocommerce-order .track-done { margin-bottom: clamp(28px, 3.5vw, 44px); }
.medida-done { display: grid; align-content: start; gap: 22px; }
@media (max-width: 560px) {
	.track-done__actions { display: grid; width: 100%; }
	.track-done__actions .btn { width: 100%; }
}

/* Pie: enlace discreto a la administración (Panel de la tienda) */
.site-footer__admin { color: inherit; text-decoration: none; opacity: .8; transition: opacity .25s var(--ease); }
.site-footer__admin:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Barra superior en el celular: una sola línea con el aviso, las frases rotan
   de a una (JS) y la moneda, el idioma y el seguimiento pasan al menú.
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
	.announce .top-tools { display: none; }
	.announce p.announce__text {
		display: grid;
		place-items: center;
		min-height: 34px;
		padding: 0 16px;
		text-align: center;
		font-size: 12px;
		letter-spacing: .02em;
	}
	.announce__sep { display: none; }
	.announce__item {
		grid-area: 1 / 1;
		max-width: 100%;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		opacity: 0;
		transform: translateY(4px);
		transition: opacity .6s var(--ease), transform .6s var(--ease-out);
	}
	.announce__item.is-on { opacity: 1; transform: none; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
	.announce__item { transition: none; transform: none; }
}

/* Moneda e idioma dentro del menú del celular */
.mobile-menu__prefs { display: grid; gap: 16px; padding: 18px 20px 26px; background: var(--sand-2); }
.mprefs { display: grid; gap: 8px; }
.mprefs__label { font-size: 12.5px; color: var(--muted); }
.mprefs__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.mprefs__opts a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: var(--pill);
	background: var(--white);
	color: var(--ink);
	font-size: 14px;
	text-decoration: none;
	transition: background-color .25s var(--ease), color .25s var(--ease);
}
.mprefs__opts a:hover { color: var(--navy); }
.mprefs__opts a[aria-current] { background: var(--navy); color: var(--white); }
@media (min-width: 641px) { .mobile-menu__prefs { display: none; } }

/* ==========================================================================
   A medida (v5): gemas excepcionales — familias, filtros, guía de formas,
   tarjetas, comparador, diseño a medida, búsqueda privada y guía de compra.
   Estructura de _tools/a-medida/referencia/tramon_gemas_v5_disena_tu_joya.html
   con la tipografía y los colores del sitio; sin bordes: se separa por fondos.
   ========================================================================== */
.am { --r-sm: 3px; --r: 5px; --r-lg: 8px; }
.am-wrap { width: min(100% - 2 * var(--gutter), 1310px); margin-inline: auto; }
.am-kicker { margin: 0 0 10px; font-size: 13px; letter-spacing: .02em; color: var(--gold); }
.am h1, .am h2, .am h3 { font-family: var(--serif); font-weight: 300; color: var(--ink); }

/* Portada */
.am-hero {
	padding: clamp(56px, 7vw, 84px) var(--gutter) clamp(52px, 6.6vw, 80px);
	background: linear-gradient(100deg, var(--sand) 0%, var(--sand-2) 60%, #ece5da 100%);
	text-align: center;
}
.am-hero h1 { margin: 0 0 14px; font-size: clamp(40px, 6vw, 77px); line-height: 1.05; text-wrap: balance; }
.am-hero__lead { max-width: 590px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.8; }
.am-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Familias */
.am-head { padding: clamp(48px, 6vw, 68px) 0 26px; text-align: center; }
.am-head h2 { margin: 0 0 8px; font-size: clamp(32px, 3.6vw, 44px); }
.am-head p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; }
.am-fams__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(48px, 6vw, 68px); }
.am-fam {
	display: grid;
	justify-items: center;
	gap: 4px;
	padding: 24px 10px 22px;
	border: 0;
	border-radius: var(--r);
	background: var(--sand-2);
	color: var(--ink);
	font: inherit;
	cursor: pointer;
	transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.am-fam:hover { background: var(--sand); }
.am-fam[aria-pressed="true"] { background: var(--sand); box-shadow: inset 0 0 0 1.5px var(--navy); }
.am-fam:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.am-fam__pic { display: block; width: 84px; aspect-ratio: 1; margin-bottom: 12px; overflow: hidden; border-radius: 50%; background: var(--white); }
.am-fam__pic img { box-sizing: border-box; width: 100%; height: 100%; padding: 16%; object-fit: contain; transition: transform .6s var(--ease-out); }
.am-fam:hover .am-fam__pic img { transform: scale(1.06); }
.am-fam b { font-family: var(--serif); font-weight: 300; font-size: 19px; }
.am-fam small { font-size: 12.5px; color: var(--muted); }
.am-fam .am-fam__from { margin-top: 2px; color: var(--navy); }

/* Listado */
.am-listing { padding: clamp(48px, 6vw, 60px) 0 clamp(56px, 7vw, 72px); background: var(--sand-2); scroll-margin-top: 90px; }
.am-listing__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.am-listing__head h2 { margin: 0 0 6px; font-size: clamp(32px, 3.6vw, 44px); }
.am-listing__head p { margin: 0; color: var(--muted); font-size: 14px; }
.am-listing__head .am-kicker { margin-bottom: 10px; color: var(--gold); }
.am-count { flex: none; font-size: 13px; }

.am-toolbar { display: grid; grid-template-columns: 1.2fr repeat(5, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin-bottom: 14px; }
.am-field { display: grid; gap: 7px; margin: 0; }
.am-field > span { font-size: 12.5px; color: var(--muted); }
.am-field input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); font: inherit; font-size: 14px; }
.am-field input:focus { outline: none; border-color: var(--navy); }
.am-reset { height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Guía de formas */
.am-shapes { margin: 18px 0 22px; padding: 22px; border-radius: var(--r-lg); background: var(--white); }
.am-shapes h3 { margin: 0 0 4px; font-size: 21px; }
.am-shapes > p { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }
.am-shapes__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.am-shape {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 100px;
	padding: 10px 4px;
	border: 0;
	border-radius: var(--r);
	background: var(--sand-2);
	color: var(--ink);
	font: inherit;
	font-size: 12.5px;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.am-shape:hover { background: var(--sand); }
.am-shape[aria-pressed="true"] { background: var(--sand); box-shadow: inset 0 0 0 1.5px var(--navy); }
.am-shape:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.am-shape__svg, .am-card__svg, .am-ficha__svg { width: 46px; height: 46px; overflow: visible; }
.am .facet { fill: #e8edf3; stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.am .inner { fill: none; stroke: #8593aa; stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.am-shape[aria-pressed="true"] .facet { fill: var(--white); }
.am-shapes__note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }

.am-tip { margin: 0 0 24px; padding: 15px 18px; border-radius: var(--r); background: var(--white); font-size: 13.5px; color: var(--muted); }
.am-tip strong { color: var(--ink); font-weight: 500; }

/* Tarjetas */
.am-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.am-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--white); }
.am-card[hidden] { display: none; }
.am-card__photo { position: relative; height: 258px; display: grid; place-items: center; background: radial-gradient(ellipse at 48% 36%, #fff 0, #faf9f7 35%, #eee9e2 100%); }
.am-card__photo img { width: 62%; height: 78%; object-fit: contain; }
.am-card__photo img.is-own { width: 100%; height: 100%; object-fit: cover; }
.am-card__tag { position: absolute; z-index: 1; left: 14px; top: 14px; padding: 6px 11px; border-radius: var(--pill); background: var(--white); font-size: 12px; color: var(--ink); }
.am-card__tag--consultar { background: var(--sand-2); }
.am-card__tag--reservada { background: var(--navy); color: var(--white); }
.am-card__shape { position: absolute; left: 12px; bottom: 10px; width: 38px; height: 38px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.am-card__shape svg { width: 100%; height: 100%; }
.am-card__ref { position: absolute; right: 14px; bottom: 12px; font-size: 11.5px; color: var(--muted); }
.am-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.am-card__body h3 { margin: 0 0 6px; font-size: 27px; line-height: 1.15; }
.am-card__meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.am-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 16px 0; padding: 14px 16px; border-radius: var(--r); background: var(--sand-2); }
.am-spec .is-wide { grid-column: 1 / -1; }
.am-spec dt, .am-ficha__specs dt, .am-compare__card dt, .am-ask__summary dt { margin-bottom: 2px; font-size: 11.5px; color: var(--muted); }
.am-spec dd, .am-ficha__specs dd, .am-compare__card dd, .am-ask__summary dd { margin: 0; font-size: 13.5px; color: var(--ink); }
.am-card__price { margin: auto 0 14px; font-family: var(--serif); font-size: 21px; color: var(--navy); }
.am-card__actions { display: grid; gap: 12px; }
.am-card__more { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.am-link { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.am-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.am-check input { appearance: none; width: 18px; height: 18px; margin: 0; border-radius: var(--r-sm); background: var(--sand); cursor: pointer; transition: background-color .2s var(--ease); }
.am-check input:checked { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.am-check input:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.am-empty { grid-column: 1 / -1; padding: 50px 24px; border-radius: var(--r-lg); background: var(--white); text-align: center; }
.am-empty[hidden] { display: none; }
.am-empty h3 { margin: 0 0 8px; font-size: 30px; }
.am-empty p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }

/* Comparador */
.am-compare { margin-top: 32px; padding: 28px; border-radius: var(--r-lg); background: var(--sand); }
.am-compare[hidden] { display: none; }
.am-compare h3 { margin: 0 0 18px; font-size: 30px; }
.am-compare__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.am-compare__card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--r); background: var(--white); }
.am-compare__card svg { width: 40px; height: 40px; }
.am-compare__card b { font-weight: 500; color: var(--ink); }
.am-compare__card small { color: var(--muted); }
.am-compare__card dl { display: grid; gap: 8px; margin: 6px 0 0; }
.am-compare__card .am-reset { justify-self: start; height: auto; padding: 4px 0; }

/* Diseña tu joya */
.am-design { padding: clamp(56px, 7vw, 86px) 0; background: var(--sand); scroll-margin-top: 90px; }
.am-design__layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.am-design h2 { margin: 0 0 12px; font-size: clamp(36px, 4.5vw, 62px); }
.am-design p { max-width: 530px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.am-design__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.am-design .am-design__picked { margin-top: 20px; font-size: 13.5px; color: var(--ink); }
.am-design__art { position: relative; display: grid; place-items: center; height: 300px; overflow: hidden; border-radius: var(--r-lg); background: var(--white); }
.am-design__art img { width: 72%; height: 80%; object-fit: contain; }
.am-design__cap { position: absolute; left: 20px; bottom: 16px; font-size: 12.5px; color: var(--muted); }

/* Búsqueda privada */
.am-service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding: clamp(56px, 8vw, 90px) 0; scroll-margin-top: 90px; }
.am-service__art { display: grid; place-items: center; height: 340px; border-radius: var(--r-lg); background: linear-gradient(145deg, #e8e0d5, var(--sand-2)); }
.am-service__art img { width: 46%; transform: rotate(-12deg); mix-blend-mode: multiply; }
.am-service h2 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 48px); line-height: 1.12; }
.am-service p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.am-steps { display: flex; gap: 18px; margin: 24px 0 30px; padding: 0; list-style: none; counter-reset: am-step; font-size: 13px; color: var(--muted); }
.am-steps li { flex: 1; padding-top: 10px; background: linear-gradient(var(--gold), var(--gold)) 0 0 / 100% 1px no-repeat; counter-increment: am-step; }
.am-steps li::before { content: counter(am-step, decimal-leading-zero) " "; color: var(--gold); }

/* Guía de compra */
.am-guide { padding: clamp(56px, 7vw, 70px) 0; background: var(--sand-2); }
.am-guide h2 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 52px); }
.am-guide__lead { max-width: 640px; margin: 0 0 24px; color: var(--muted); }
.am-guide__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.am-guide details { padding: 20px 22px; border-radius: var(--r); background: var(--white); }
.am-guide summary { cursor: pointer; font-size: 15px; color: var(--ink); }
.am-guide details p { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* Ventanas: ficha y consulta */
html.am-lock { overflow: hidden; }
.am-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(10, 31, 74, .62); opacity: 0; transition: opacity .3s var(--ease); }
.am-modal[hidden] { display: none; }
.am-modal.is-open { opacity: 1; }
.am-modal__box { position: relative; width: min(660px, 100%); max-height: 92vh; overflow: auto; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-lg); background: var(--white); outline: none; transform: translateY(10px); transition: transform .4s var(--ease-out); }
.am-modal.is-open .am-modal__box { transform: none; }
.am-modal__x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--sand-2); color: var(--ink); cursor: pointer; }
.am-modal h2 { margin: 0 0 12px; padding-right: 40px; font-size: clamp(28px, 3.2vw, 36px); }
.am-ficha__visual { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 170px; margin: 14px 0 18px; padding: 16px; border-radius: var(--r); background: var(--sand-2); }
.am-ficha__visual img { width: 130px; height: 130px; object-fit: contain; }
.am-ficha__visual small { max-width: 170px; font-size: 12.5px; color: var(--muted); }
.am-ficha__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 0 0 22px; }
.am-ficha__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.am-ask__intro { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.am-ask__picked { margin-bottom: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--sand-2); }
.am-ask__picked[hidden] { display: none; }
.am-ask__label { display: block; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.am-ask__summary p { margin: 0; font-size: 14px; color: var(--ink); }
.am-ask__gem { display: flex; gap: 14px; align-items: flex-start; }
.am-ask__gem svg { flex: none; width: 44px; height: 44px; }
.am-ask__gem b { display: block; margin-bottom: 8px; font-weight: 500; color: var(--ink); }
.am-ask__gem dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; margin: 0; }
.am-ask__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.am-ask__form .field { display: grid; gap: 7px; margin: 0; }
.am-ask__form .field > span { font-size: 12.5px; color: var(--muted); }
.am-ask__form .field--full, .am-ask__form .form-msg, .am-ask__form .btn, .am-ask__note { grid-column: 1 / -1; }
.am-ask__form input[type="text"], .am-ask__form input[type="email"], .am-ask__form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); font: inherit; font-size: 14.5px; }
.am-ask__form textarea { min-height: 96px; resize: vertical; }
.am-ask__form :is(input, textarea):focus { outline: none; border-color: var(--navy); }
.am-ask__form .form-msg[hidden] { display: none; }
.am-ask__note { margin: 0; font-size: 12.5px; color: var(--muted); }
.am-ask__done p { color: var(--muted); }

@media (max-width: 1100px) {
	.am-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.am-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.am-shapes__grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.am-fams__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* La guía de formas pasa a tres filas que se deslizan de lado */
	.am-shapes__grid {
		grid-template-columns: repeat(12, 88px);
		overflow-x: auto;
		margin-inline: -22px;
		padding: 2px 22px 6px;
		scrollbar-width: none;
	}
	.am-shapes__grid::-webkit-scrollbar { display: none; }
	.am-shape { min-height: 92px; }
	.am-design__layout, .am-service { grid-template-columns: 1fr; }
	.am-service__art { height: 240px; }
	.am-compare__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.am-fams__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.am-fam:last-child { grid-column: 1 / -1; }
	.am-listing__head { flex-direction: column; align-items: start; }
	.am-toolbar { grid-template-columns: 1fr 1fr; }
	.am-toolbar .am-field:first-child { grid-column: 1 / -1; }
	.am-shapes { padding: 16px; }
	.am-shapes__grid { margin-inline: -16px; padding-inline: 16px; }
	.am-products { grid-template-columns: 1fr; }
	.am-hero__actions { flex-direction: column; align-items: stretch; }
	.am-guide__grid, .am-ficha__actions { grid-template-columns: 1fr; }
	.am-steps { flex-direction: column; gap: 10px; }
	.am-ask__form { grid-template-columns: 1fr; }
	.am-ask__gem dl { grid-template-columns: 1fr 1fr; }
	.am-modal { align-items: end; padding: 0; }
	.am-modal__box { max-height: 94vh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.am-modal, .am-modal__box, .am-fam__pic img { transition: none; }
}
.cart-gem-note { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }

/* A medida: gema sin foto = su talla dibujada con el color de la piedra */
.am-stone { display: grid; place-items: center; width: 150px; height: 150px; filter: drop-shadow(0 14px 12px rgba(10, 31, 74, .18)); }
.am-stone svg { width: 100%; height: 100%; overflow: visible; }
.am .am-stone .facet { fill: var(--gem); stroke: color-mix(in srgb, var(--gem) 55%, #0a1f4a); stroke-width: 1.2; }
.am .am-stone .inner { stroke: rgba(255, 255, 255, .55); stroke-width: .9; }
.am .am-stone.is-light .facet { stroke: color-mix(in srgb, var(--gem) 40%, #0a1f4a); }
.am .am-stone.is-light .inner { stroke: rgba(10, 31, 74, .28); }
.am-stone--lg { width: 130px; height: 130px; }
/* A medida: los selectores del filtro con la misma caja que el buscador */
.am-toolbar .tselect__btn { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-size: 14px; }
.am-toolbar .tselect__btn:focus-visible { box-shadow: none; }

/* Banner con foto también en la tienda y en categorías (Joyería, Alta joyería): texto claro como en las gemas */
.banner.banner--photo { color: var(--white); }
.banner.banner--photo .woocommerce-breadcrumb, .banner.banner--photo .woocommerce-breadcrumb a { color: inherit; }

/* A medida: más fotos de una gema en su ficha (caja, mano, certificado) */
.am-ficha__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.am-ficha__thumbs[hidden] { display: none; }
.am-ficha__thumb { width: 64px; height: 64px; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-sm); background: var(--sand-2); cursor: pointer; opacity: .7; transition: opacity .2s var(--ease), box-shadow .2s var(--ease); }
.am-ficha__thumb img { width: 100%; height: 100%; object-fit: cover; }
.am-ficha__thumb:hover { opacity: 1; }
.am-ficha__thumb[aria-pressed="true"] { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--navy); }
.am-ficha__thumb:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.am-ficha__visual img[data-ficha-main] { width: min(100%, 260px); height: 260px; }
/* Gema con foto propia: entera, sin salirse del cuadro, fundida con el fondo de la tarjeta */
.am-card__photo { overflow: hidden; }
.am-card__photo img.is-own { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14px; object-fit: contain; mix-blend-mode: multiply; }
/* Ficha con fotos: la principal a todo el ancho y clic para verla completa (el certificado se lee) */
.am-ficha__zoom { display: block; width: 100%; cursor: zoom-in; }
.am-ficha__visual img[data-ficha-main] { display: block; width: 100%; height: 320px; object-fit: contain; }
.am-ficha__zoom + svg { display: none; }

/* Ficha de gema: un solo botón (comprar o consultar) a todo el ancho */
.am-ficha__actions { grid-template-columns: 1fr; }

/* Visor de fotos de la ficha (lightbox propio, sin abrir otra pestaña) */
.am-lb { position: fixed; inset: 0; z-index: 1100; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: 24px 12px; background: rgba(6, 16, 38, .94); }
.am-lb[hidden] { display: none; }
.am-lb__fig { display: grid; justify-items: center; gap: 14px; margin: 0; min-width: 0; }
.am-lb__fig img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; background: var(--white); }
.am-lb__fig figcaption { color: rgba(255, 255, 255, .78); font-size: 14px; text-align: center; }
.am-lb__x, .am-lb__nav { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); font: 300 30px/1 var(--sans); cursor: pointer; transition: background-color .2s var(--ease); }
.am-lb__x:hover, .am-lb__nav:hover { background: rgba(255, 255, 255, .24); }
.am-lb__x:focus-visible, .am-lb__nav:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.am-lb__x { position: absolute; top: 16px; right: 16px; }
.am-lb__nav[hidden] { visibility: hidden; display: grid; }
.am-lb__nav--next { justify-self: end; }
@media (max-width: 640px) {
	.am-lb { grid-template-columns: minmax(0, 1fr); padding: 64px 10px 24px; }
	.am-lb__nav { position: absolute; bottom: 18px; }
	.am-lb__nav--prev { left: calc(50% - 56px); }
	.am-lb__nav--next { right: calc(50% - 56px); }
	.am-lb__fig img { max-height: calc(100vh - 190px); }
}

/* A medida: las 10 formas principales y "Otras formas" (el resto queda oculto en la misma grilla) */
.am-shapes__extra[hidden] { display: none; }
.am-shapes__extra:not([hidden]) { display: contents; }
.am-shape--more { color: var(--navy); }
.am-shape__plus { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--white); }
.am-shape__plus::before, .am-shape__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.am-shape__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.am-shape--more[aria-expanded="true"] .am-shape__plus::after { transform: translate(-50%, -50%) rotate(0deg); }

/* ==========================================================================
   Fotos elegidas en Panel → Banners
   ========================================================================== */
/* Encuadre en el teléfono elegido en el Panel (variable en el estilo de la foto). */
@media (max-width: 900px) {
	img[style*="--pos-m"] { object-position: var(--pos-m) 50% !important; }
	.banner--page.banner--photo .banner__art,
	.banner--compact.banner--photo .banner__art { position: relative; inset: auto; height: 250px; opacity: 1; }
}

/* A medida y Seguimiento con foto de fondo: velo azul y texto claro. */
.am-hero--photo,
.track-search--photo {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--white);
}
.am-hero--photo { background: var(--navy); }
.track-search--photo {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: 20px auto 0;
	padding: clamp(48px, 6vw, 80px) var(--gutter);
	border-radius: var(--r-lg);
	background: var(--navy);
}
.am-hero__photo,
.track-search__photo {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.am-hero--photo::before,
.track-search--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(6, 22, 56, .5);
}
.am .am-hero--photo h1,
.track-search--photo h1 { color: var(--white); }
.am-hero--photo .am-kicker { color: #e9d7b4; }
.am-hero--photo .am-hero__lead,
.track-search--photo .track-search__lead { color: rgba(255, 255, 255, .85); }
.am-hero--photo .btn--dark { background: var(--white); color: var(--navy); }
.am-hero--photo .btn--line { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.track-search--photo .track-form { color: var(--ink); }

/* A medida: formas sin gemas en la familia abierta (se ocultan desde main.js). */
.am-shape[hidden] { display: none; }

/* A medida: familia sin gemas publicadas (solo el aviso). */
.am-toolbar[hidden], .am-shapes[hidden], .am-tip[hidden], .am-count[hidden] { display: none; }
.am-empty--fam { margin-bottom: 24px; }
.am-empty--fam h3 { margin: 0; }

/* A medida: tarjetas parejas, foto completa con velo azul y etiquetas encima. */
.am-card__photo:has(img.is-own) { height: auto; aspect-ratio: 1; background: var(--navy); }
.am-card__photo img.is-own { padding: 0; object-fit: cover; mix-blend-mode: normal; }
.am-card__photo:has(img.is-own)::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(10, 31, 74, .55) 0, rgba(10, 31, 74, 0) 26%, rgba(10, 31, 74, 0) 66%, rgba(10, 31, 74, .62) 100%);
}
.am-card__photo:has(img.is-own) .am-card__tag { z-index: 2; background: rgba(10, 31, 74, .55); color: var(--white); backdrop-filter: blur(6px); }
.am-card__photo:has(img.is-own) .am-card__shape { z-index: 2; background: rgba(10, 31, 74, .55); backdrop-filter: blur(6px); }
.am-card__photo:has(img.is-own) .am-card__shape .facet { fill: rgba(255, 255, 255, .12); stroke: var(--white); }
.am-card__photo:has(img.is-own) .am-card__shape .inner { stroke: rgba(255, 255, 255, .7); }
/* Sin foto propia: el dibujo de la gema ocupa el mismo cuadro, para que todas midan igual. */
.am-card__photo:not(:has(img.is-own)) { height: auto; aspect-ratio: 1; }
.am-card__body h3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	min-height: 2.3em;
	overflow: hidden;
	font-size: 25px;
}
.am-card .am-spec { gap: 10px 14px; margin: 14px 0 18px; }

/* Banners con foto: velo azul arriba para que el cielo claro no se vea como franja en las esquinas. */
@media (min-width: 901px) {
	.banner--photo .banner__art::after {
		background:
			linear-gradient(180deg, rgba(6, 22, 56, .5) 0, rgba(6, 22, 56, .18) 18%, rgba(6, 22, 56, 0) 34%),
			linear-gradient(90deg, rgba(6, 22, 56, .55) 0, rgba(6, 22, 56, .2) 45%, rgba(6, 22, 56, 0) 62%);
	}
}

/* Teléfono: la foto y su velo empiezan en el mismo borde (antes asomaba una línea clara de cielo). */
@media (max-width: 900px) {
	.banner--photo .banner__photo { inset: 0; overflow: hidden; }
	.banner--photo .banner__art::after { inset: -2px 0 0; }
}

/* A medida: fondos en celeste muy claro en vez de crema. */
.am { --sand: #e9f1f9; --sand-2: #f3f7fc; }
.am-card__photo { background: radial-gradient(ellipse at 48% 36%, #fff 0, #f6f9fd 35%, #e3ecf6 100%); }
.am-service__art { background: linear-gradient(145deg, #dde8f4, var(--sand-2)); }

/* Teléfono: los banners no se mueven (al desplazarse la foto dejaba ver una franja del fondo). */
@media (max-width: 900px), (hover: none) {
	.banner [data-depth] { transform: none; transition: none; }
}

/* A medida: ubicación de la gema arriba de la ficha. */
.am-ficha__where { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; padding: 6px 12px; border-radius: var(--pill); background: var(--sand); font-size: 13.5px; color: var(--navy); }
.am-ficha__where svg { flex: none; }

/* Diseñar una joya: opciones como cápsulas, talla y foto. */
.am-design-form { display: grid; gap: 16px; grid-column: 1 / -1; }
.am-design-form[hidden], .am-ask__form [hidden] { display: none; }
.am-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.am-opts legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 13px; color: var(--muted); }
.am-opt { position: relative; cursor: pointer; }
.am-opt input { position: absolute; opacity: 0; pointer-events: none; }
.am-opt span { display: inline-block; padding: 9px 15px; border-radius: var(--pill); background: var(--sand-2); font-size: 14px; color: var(--ink); transition: background-color .2s var(--ease), color .2s var(--ease); }
.am-opt:hover span { background: var(--sand); }
.am-opt input:checked + span { background: var(--navy); color: var(--white); }
.am-opt input:focus-visible + span { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--navy); }
.am-ring { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 18px; }
.am-ring .field { flex: 1 1 200px; margin: 0; }
.am-file { display: grid; gap: 8px; }
.am-file__label { font-size: 13px; color: var(--muted); }
.am-file__btn { position: relative; display: inline-flex; align-items: center; justify-self: start; max-width: 100%; padding: 10px 16px; border-radius: var(--pill); background: var(--sand-2); font-size: 14px; color: var(--ink); cursor: pointer; }
.am-file__btn span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.am-file__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.am-file__btn:focus-within { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--navy); }

/* Carrito y pago: banner del mar más angosto, para llegar rápido al botón de pagar. */
.banner--compact.banner--photo { min-height: 170px; }
.banner--compact.banner--photo .banner__text { padding-block: clamp(28px, 3.4vw, 44px); }
.banner--compact.banner--photo .banner__title { margin-bottom: 6px; font-size: clamp(36px, 4vw, 56px); }
@media (max-width: 900px) {
	.banner--compact.banner--photo .banner__art { position: absolute; inset: 0; height: auto; margin: 0; }
	.banner--compact.banner--photo .banner__photo { inset: 0; }
	.banner--compact.banner--photo .banner__art::after { inset: 0; background: rgba(6, 22, 56, .45); }
	.banner--compact.banner--photo .banner__text { position: relative; z-index: 2; padding: 26px 22px; }
}

/* Citas privadas: el mismo celeste de A medida en vez del beige. */
.citas { --sand: #e9f1f9; --sand-2: #f3f7fc; }
.am-ask__form input[type="tel"] { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); font: inherit; font-size: 14.5px; }
.am-ring .tselect__btn { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-size: 14.5px; }

/* A medida: país donde está la gema, con su bandera (tarjeta y ficha). */
.am-card__where { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; font-size: 13px; color: var(--navy); }
.am-card__where img, .am-ficha__where img { flex: none; width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.am-ficha__where svg[hidden] { display: none; }
.am-card__where.is-empty { color: var(--muted); }

/* Origen con bandera (tarjeta y ficha). */
.am-flagged { display: flex; align-items: center; gap: 6px; }
.am-flagged img { flex: none; width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }

/* Menú del celular: el panel completo se desliza y avisa que hay más opciones al bajar. */
.mobile-menu { overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu .mobile-menu__nav { flex: none; overflow: visible; }
.mobile-menu__more {
	position: sticky;
	bottom: 0;
	flex: none;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	background: none;
	color: var(--navy);
	font: inherit;
	font-size: 13.5px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s var(--ease);
}
.mobile-menu__more::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white) 72%);
	pointer-events: none;
}
.mobile-menu__more span, .mobile-menu__more svg { position: relative; top: -26px; }
.mobile-menu__more span { padding: 7px 14px; border-radius: var(--pill); background: var(--sand-2); }
.mobile-menu__more svg { margin-left: -2px; animation: menu-more 1.6s var(--ease) infinite; }
.mobile-menu__more.is-visible { opacity: 1; pointer-events: auto; }
@keyframes menu-more { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .mobile-menu__more svg { animation: none; } }

/* Mi cuenta en el celular: secciones en dos columnas, resumen compacto y formularios propios. */
@media (max-width: 700px) {
	.woocommerce-account .woocommerce:has(> .acct) { margin-top: 12px; }
	.acct { gap: 22px; }
	.acct__side { gap: 14px; padding: 16px; }
	.acct__avatar { width: 44px; height: 44px; font-size: 17px; }
	.acct-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; }
	.woocommerce-account .acct-nav a { gap: 8px; padding: 10px 12px; font-size: 14px; white-space: normal; line-height: 1.25; }
	.acct-nav .woocommerce-MyAccount-navigation-link--customer-logout { grid-column: 1 / -1; }
	.woocommerce-account .acct-nav .woocommerce-MyAccount-navigation-link--customer-logout a { justify-content: center; background: none; color: var(--muted); }
	.acct-head { margin-bottom: 16px; }
	.acct-head h2 { font-size: 32px; }
	.acct-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.acct-stat { gap: 4px; padding: 14px 12px; }
	.acct-stat__num { font-size: 28px; }
	.acct-stat__num--sm { font-size: 16px; }
	.acct-stat__label { font-size: 12px; line-height: 1.3; }
	.acct-block { margin-top: 26px; }
	.acct-block h3 { font-size: 21px; }
	.acct-action { padding: 14px 16px; }
	.acct-empty { padding: 18px; }
}
.woocommerce-EditAccountForm fieldset { margin: 28px 0 0; padding: 0; border: 0; }
.woocommerce-EditAccountForm legend { margin-bottom: 12px; padding: 0; font-family: var(--serif); font-size: 22px; font-weight: 300; color: var(--ink); }
.woocommerce-EditAccountForm em, .woocommerce-EditAccountForm #account_display_name_description { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--muted); }
@media (max-width: 700px) {
	.woocommerce-EditAccountForm .form-row-first, .woocommerce-EditAccountForm .form-row-last { float: none; width: 100%; }
	.woocommerce-EditAccountForm button[type="submit"] { width: 100%; }
}

/* Acceso de cliente: botón con texto en la cabecera y bloque arriba en el menú del celular. */
.mobile-menu__account {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 14px 20px 4px;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--sand-2);
	color: var(--ink);
}
.mobile-menu__account-ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
}
.mobile-menu__account-txt { display: grid; flex: 1; gap: 2px; min-width: 0; }
.mobile-menu__account-txt strong { font-size: 15.5px; font-weight: 500; }
.mobile-menu__account-txt small { font-size: 13px; color: var(--muted); }

/* A medida: el filtro de ubicación aparece solo cuando hay países cargados. */
.am-toolbar .am-field[hidden] { display: none; }
@media (min-width: 1101px) { .am-toolbar.has-place { grid-template-columns: 1.2fr repeat(6, minmax(0, 1fr)) auto; } }

/* A medida: descarga del certificado y "Busco" de la búsqueda privada. */
.am-cert-dl { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.am-ask__form [data-search-fields] { grid-column: 1 / -1; }
.am-ask__form [data-search-fields][hidden] { display: none; }

/* Reseñas de compradores: estrellas, resumen bajo el precio, sección en la ficha y botón en Mi cuenta. */
.stars { position: relative; display: inline-flex; flex: none; color: var(--stone); line-height: 0; vertical-align: middle; }
.stars__on { position: absolute; inset: 0 auto 0 0; display: inline-flex; overflow: hidden; color: var(--gold); white-space: nowrap; }
.stars svg { flex: none; }
.product-rating { display: inline-flex; align-items: center; gap: 8px; margin: -10px 0 22px; color: var(--muted); font-size: 13.5px; }
.product-rating:hover { color: var(--ink); }
.reviews { max-width: 880px; margin: clamp(70px, 8vw, 110px) auto 0; }
.reviews__head { display: grid; justify-items: center; gap: 12px; margin-bottom: 34px; text-align: center; }
.reviews__head h2 { margin: 0; font-size: clamp(30px, 3.2vw, 42px); }
.reviews__avg { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0; color: var(--muted); font-size: 14px; }
.reviews__avg strong { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--ink); }
.reviews__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 28px; padding: 16px 20px; border-radius: var(--r-sm); background: var(--sand-2); color: var(--ink); text-align: center; }
.reviews__note .icon { flex: none; color: var(--gold); }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.review { display: grid; gap: 12px; align-content: start; padding: 24px 26px; border-radius: var(--r-sm); background: var(--sand-2); }
.review__text { color: var(--text); font-size: 15px; line-height: 1.65; }
.review__text p { margin: 0 0 10px; }
.review__text p:last-child { margin: 0; }
.review__by { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: var(--muted); font-size: 13px; }
.review__by strong { font-weight: 500; color: var(--ink); }
.review-form { display: grid; gap: 18px; max-width: 560px; margin: 0 auto 40px; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-sm); background: var(--sand); }
.review-form__title { margin: 0; font-family: var(--serif); font-size: 24px; color: var(--ink); text-align: center; }
.review-form__error { margin: 0; color: #a3243b; font-size: 14px; text-align: center; }
.review-form .field textarea { resize: vertical; }
.review-form .btn { justify-self: center; }
.review-stars { margin: 0; padding: 0; border: 0; text-align: center; }
.review-stars legend { width: 100%; margin-bottom: 6px; color: var(--muted); font-size: 13.5px; }
/* Van de 5 a 1 en el código y al revés en pantalla: así el selector de hermanos pinta las anteriores a la elegida. */
.review-stars__set { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.review-stars__set input { position: absolute; opacity: 0; pointer-events: none; }
.review-stars__set label { display: grid; padding: 4px; border-radius: 6px; color: #d3c6b0; cursor: pointer; transition: color .15s, transform .15s var(--ease); }
.review-stars__set label:hover, .review-stars__set label:hover ~ label,
.review-stars__set input:checked ~ label { color: var(--gold); }
.review-stars__set label:active { transform: scale(.92); }
.review-stars__set input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 1px; }
.acct-review { justify-self: start; margin-top: 6px; color: var(--navy); font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(10, 31, 74, .3); }
.acct-review.is-done { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 400; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .review-stars__set label { transition: none; } }
