/* ═══════════════════════════════════════════════════════════════════════
   SANLILAS — PANTALLA PERSONALIZADOS (Atelier Digital de Alta Costura)
   Liquid Glass · Glassmorphism · Superellipse · Marfil #F8F5F2 · Cacao
   ═══════════════════════════════════════════════════════════════════════ */

.page-personalizacion {
  background: linear-gradient(180deg, #F8F5F2 0%, #F2EBE3 42%, #EADFD6 100%);
  color: var(--chocolate);
}

/* ═══ FONDO: orbes cálidos, bokeh, partículas doradas (GPU-only) ═══ */
.pf-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pf-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  animation: pf-orb-float 22s ease-in-out infinite alternate;
  will-change: transform;
}

.pf-bg__orb--1 {
  width: 56vw;
  height: 56vw;
  top: -16vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(232, 207, 207, 0.5) 0%, rgba(248, 244, 239, 0) 70%);
}

.pf-bg__orb--2 {
  width: 46vw;
  height: 46vw;
  right: -14vw;
  top: 28vh;
  background: radial-gradient(circle, rgba(216, 196, 163, 0.36) 0%, rgba(248, 244, 239, 0) 70%);
  animation-delay: -9s;
}

.pf-bg__orb--3 {
  width: 42vw;
  height: 42vw;
  bottom: -14vw;
  left: 22vw;
  background: radial-gradient(circle, rgba(200, 164, 106, 0.24) 0%, rgba(248, 244, 239, 0) 70%);
  animation-delay: -16s;
}

@keyframes pf-orb-float {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(3vw, -2vh, 0) scale(1.12); }
}

.pf-bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.12) 70%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  filter: blur(1px);
  box-shadow: 0 12px 34px rgba(74, 46, 43, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  animation: pf-bokeh-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes pf-bokeh-drift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(4vw, -3vh, 0); }
}

.pf-bg__beam {
  position: absolute;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
  --pf-beam-angle: 18deg;
  animation: pf-beam-sway 32s ease-in-out infinite alternate;
}

.pf-bg__beam--1 {
  top: -10%;
  left: -8%;
  width: 56vw;
  height: 135vh;
  background: linear-gradient(115deg, rgba(232, 207, 207, 0.24) 0%, rgba(248, 244, 239, 0) 58%);
}

.pf-bg__beam--2 {
  top: 6%;
  right: -14%;
  width: 48vw;
  height: 125vh;
  --pf-beam-angle: -14deg;
  background: linear-gradient(65deg, rgba(216, 196, 163, 0.2) 0%, rgba(248, 244, 239, 0) 52%);
  animation-delay: -16s;
}

@keyframes pf-beam-sway {
  from { transform: rotate(var(--pf-beam-angle)) translate3d(0, 0, 0); }
  to   { transform: rotate(calc(var(--pf-beam-angle) - 6deg)) translate3d(3vw, -2vh, 0); }
}

.pf-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ═══ CARGA PROGRESIVA (blur-up) ═══ */
.blur-up {
  filter: blur(18px) saturate(1.1);
  transform: scale(1.04);
  transition: filter 1.1s var(--ease-out-expo), transform 1.4s var(--ease-out-expo);
  will-change: filter, transform;
}

.blur-up.is-loaded {
  filter: blur(0) saturate(1);
  transform: scale(1);
}

/* ═══ HERO EDITORIAL ATELIER · 50vh ═══ */
.pf-hero {
  position: relative;
  min-height: 50vh;
  height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  padding-top: clamp(110px, 15vh, 160px);
}

.pf-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

.pf-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  will-change: transform;
  animation: pf-hero-slow 28s ease-in-out infinite alternate;
}

@keyframes pf-hero-slow {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(1.5vw, -1vh, 0); }
}

.pf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.34) 0%, rgba(21, 21, 21, 0.16) 46%, rgba(248, 245, 242, 0.94) 100%);
}

.pf-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem) 6vh;
  will-change: transform, opacity;
}

.pf-hero__content > * {
  animation: pf-fade-up 1.1s var(--ease-out-expo) both;
}

.pf-hero__content > *:nth-child(1) { animation-delay: 0.15s; }
.pf-hero__content > *:nth-child(2) { animation-delay: 0.28s; }
.pf-hero__content > *:nth-child(3) { animation-delay: 0.41s; }
.pf-hero__content > *:nth-child(4) { animation-delay: 0.54s; }

@keyframes pf-fade-up {
  from { opacity: 0; transform: translateY(42px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.pf-hero__caption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 12px;
  margin-right: -12px;
  color: var(--champagne);
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}

.pf-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--marfil);
  text-shadow: 0 12px 80px rgba(0, 0, 0, 0.4);
  max-width: 14ch;
}

.pf-hero__title em {
  font-style: italic;
  color: var(--champagne);
}

.pf-hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: rgba(248, 245, 242, 0.88);
  max-width: 460px;
  margin-top: 1.6rem;
  line-height: 1.9;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.pf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 2.4rem;
}

.pf-hero__scroll {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: 13vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(248, 245, 242, 0.8);
}

.pf-hero__scroll span {
  width: 1px;
  height: 62px;
  background: linear-gradient(180deg, rgba(248, 245, 242, 0.9), rgba(248, 245, 242, 0.1));
  overflow: hidden;
  position: relative;
}

.pf-hero__scroll span::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--champagne);
  animation: pf-scroll-drop 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.pf-hero__scroll small {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(248, 245, 242, 0.75);
}

@keyframes pf-scroll-drop {
  to { top: 110%; }
}

/* ═══ BOTONES SUPERELIPSE (pf-btn) ═══ */
.pf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.05rem 2.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo),
    background 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo), color 0.45s var(--ease-out-expo);
  will-change: transform;
}

.pf-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 80%);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out-expo);
  pointer-events: none;
}

.pf-btn:hover::before {
  left: 130%;
}

.pf-btn svg {
  flex: 0 0 auto;
}

.pf-btn--glass {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--marfil);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.pf-btn--glass:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.55);
}

.pf-btn--line {
  background: transparent;
  border-color: rgba(248, 245, 242, 0.55);
  color: var(--marfil);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pf-btn--line:hover {
  background: rgba(248, 245, 242, 0.14);
  border-color: rgba(248, 245, 242, 0.9);
  transform: translateY(-3px);
}

.pf-btn--gold {
  background: linear-gradient(135deg, #E4CFA3, #C8A46A 55%, #B08B55);
  color: var(--chocolate);
  box-shadow: 0 16px 42px rgba(200, 164, 106, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.pf-btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(200, 164, 106, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.pf-btn--dark {
  background: linear-gradient(160deg, #5A3A36, #3E2723);
  color: var(--marfil);
  box-shadow: 0 16px 42px rgba(62, 39, 35, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.pf-btn--dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(62, 39, 35, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.22);
}

.pf-btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(74, 46, 43, 0.22);
  color: var(--chocolate);
}

.pf-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(74, 46, 43, 0.4);
  transform: translateY(-3px);
}

.pf-btn--lg { padding: 1.2rem 2.6rem; }
.pf-btn--xl { padding: 1.35rem 3rem; font-size: 14px; }

/* ═══ CABECERAS DE SECCIÓN ═══ */
.pf-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}

.pf-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 10px;
  margin-right: -10px;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.pf-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--chocolate);
}

.pf-title em {
  font-style: italic;
  color: var(--gold);
}

.pf-head__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: rgba(74, 46, 43, 0.6);
  line-height: 1.9;
  margin-top: 1.4rem;
}

/* ═══ INTRODUCCIÓN · atelier, no catálogo ═══ */
.pf-intro {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.pf-needle {
  width: 84px;
  height: 84px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.16));
  border: 1px solid rgba(200, 164, 106, 0.45);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 24px 60px rgba(74, 46, 43, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  animation: pf-needle-breathe 5s ease-in-out infinite;
}

@keyframes pf-needle-breathe {
  0%, 100% { transform: translateY(0); box-shadow: 0 24px 60px rgba(74, 46, 43, 0.12); }
  50%      { transform: translateY(-7px); box-shadow: 0 34px 74px rgba(200, 164, 106, 0.28); }
}

.pf-intro__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.22;
  color: var(--chocolate);
}

.pf-intro__title em {
  font-style: italic;
  color: var(--gold);
}

.pf-intro__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
  text-align: left;
}

.pf-intro__card {
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  border-radius: var(--radius-32);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 26px 70px rgba(74, 46, 43, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.75);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.pf-intro__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 38px 90px rgba(74, 46, 43, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.pf-intro__card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.2));
  border: 1px solid rgba(200, 164, 106, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
  margin-bottom: 1.4rem;
}

.pf-intro__card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  color: var(--chocolate);
  margin-bottom: 0.7rem;
}

.pf-intro__card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(74, 46, 43, 0.6);
  line-height: 1.8;
}

/* ═══ CONFIGURADOR · atelier digital ═══ */
.pf-config {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6rem) clamp(5rem, 9vw, 8rem);
}

.pf-config__split {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* ── Vista en vivo (izquierda, sticky) ── */
.pf-config__view {
  position: sticky;
  top: 118px;
}

.pf-view__glass {
  position: relative;
  border-radius: var(--radius-48);
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 55%),
    rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  box-shadow: 0 44px 110px rgba(74, 46, 43, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.pf-view__glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 34%);
  pointer-events: none;
}

.pf-stage {
  position: relative;
  aspect-ratio: 4 / 4.6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  overflow: hidden;
  perspective: 1200px;
  background:
    radial-gradient(90% 70% at 50% 30%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.08) 60%),
    linear-gradient(160deg, #F4EDE4 0%, #E4D6C6 55%, #D8C4A3 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -30px 80px rgba(74, 46, 43, 0.12);
  will-change: transform;
  transition: transform 0.5s ease;
}

.pf-stage__halo {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 26%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(18px);
  pointer-events: none;
}

.pf-stage__comp {
  position: relative;
  width: min(76%, 320px);
  aspect-ratio: 4 / 5.1;
  border-radius: 36px;
  transform-style: preserve-3d;
  animation: pf-sway 15s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes pf-sway {
  from { transform: rotateY(-5deg) translateY(-5px); }
  to   { transform: rotateY(5deg) translateY(7px); }
}

.pf-stage__comp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 30px 70px rgba(74, 46, 43, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.pf-stage__tint {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background: #3E2723;
  mix-blend-mode: color;
  opacity: 0.6;
  transition: background 0.5s ease;
  pointer-events: none;
}

.pf-stage__pattern {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.pf-stage__pattern.is-on {
  opacity: 0.85;
}

.pf-stage__macrame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.55s var(--ease-out-expo);
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(74, 46, 43, 0.35));
}

.pf-stage__macrame.is-on {
  opacity: 1;
}

.pf-stage__macrame .mk {
  opacity: 0;
  transition: opacity 0.45s ease;
  stroke-linecap: round;
}

.pf-stage__macrame.mk--lateral .mk--lateral-a,
.pf-stage__macrame.mk--lateral .mk--lateral-b { opacity: 1; }
.pf-stage__macrame.mk--espalda .mk--espalda-a,
.pf-stage__macrame.mk--espalda .mk--espalda-b { opacity: 1; }
.pf-stage__macrame.mk--tirantes .mk--tirantes-a,
.pf-stage__macrame.mk--tirantes .mk--tirantes-b { opacity: 1; }
.pf-stage__macrame.mk--falda .mk--falda,
.pf-stage__macrame.mk--falda .mk--falda-f { opacity: 1; }
.pf-stage__macrame.mk--salida .mk--salida-a,
.pf-stage__macrame.mk--salida .mk--salida-b { opacity: 1; }

.pf-stage__hardware {
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.pf-stage__hardware .hw {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F0DFB8, #C8A46A);
  box-shadow: 0 3px 10px rgba(74, 46, 43, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  transition: background 0.5s ease;
}

.pf-stage__hardware .hw--1 { margin-top: 0; }
.pf-stage__hardware .hw--2 { margin-top: 18px; }
.pf-stage__hardware .hw--3 { margin-top: 4px; }

.pf-stage__sparkle {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.pf-stage__sparkle.is-on {
  opacity: 1;
}

.pf-stage__sparkle span {
  position: absolute;
  color: var(--champagne);
  font-size: 15px;
  text-shadow: 0 0 14px rgba(255, 244, 214, 0.95);
  animation: pf-twinkle 3.4s ease-in-out infinite;
}

@keyframes pf-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.15); }
}

.pf-stage__glint {
  position: absolute;
  width: 55%;
  height: 90px;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 75%);
  transform: rotate(-24deg);
  border-radius: 999px;
  pointer-events: none;
  animation: pf-glint 7s ease-in-out infinite;
  mix-blend-mode: screen;
}

.pf-stage__glint.glint--1 { top: 8%; left: -30%; }
.pf-stage__glint.glint--2 { top: 52%; left: -20%; animation-delay: -3.4s; }

@keyframes pf-glint {
  0%, 38%  { transform: rotate(-24deg) translateX(-40%); opacity: 0; }
  52%, 100% { transform: rotate(-24deg) translateX(320%); opacity: 0.75; }
}

.pf-stage__nametag {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--chocolate);
  background: rgba(248, 245, 242, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(74, 46, 43, 0.2);
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}

.pf-stage__nametag.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pf-stage__shadow {
  position: absolute;
  bottom: -4%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 26px;
  background: radial-gradient(ellipse, rgba(74, 46, 43, 0.4) 0%, rgba(74, 46, 43, 0) 70%);
  filter: blur(6px);
  pointer-events: none;
}

.pf-stage__floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 100%);
  pointer-events: none;
}

.pf-stage__hint {
  position: absolute;
  bottom: 4.5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(74, 46, 43, 0.45);
  pointer-events: none;
  white-space: nowrap;
}

.pf-view__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.pf-view__meta > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pf-view__meta strong {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chocolate);
}

.pf-view__meta small {
  font-size: 11px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.55);
}

.pf-view__meta .pf-view__price {
  align-items: flex-end;
  margin-left: auto;
}

.pf-view__meta .pf-view__price strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--gold);
}

/* ── Panel de pasos (derecha) ── */
.pf-config__panel {
  position: relative;
  border-radius: var(--radius-48);
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(38px) saturate(190%);
  -webkit-backdrop-filter: blur(38px) saturate(190%);
  box-shadow: 0 44px 110px rgba(74, 46, 43, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.pf-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 1.3rem 1.4rem;
  border-bottom: 1px solid rgba(74, 46, 43, 0.08);
  background: rgba(255, 255, 255, 0.14);
}

.pf-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(74, 46, 43, 0.14);
  background: rgba(255, 255, 255, 0.3);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(74, 46, 43, 0.55);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.pf-step span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(74, 46, 43, 0.6);
  background: rgba(74, 46, 43, 0.08);
  transition: all 0.35s var(--ease-out-expo);
}

.pf-step:hover {
  border-color: rgba(200, 164, 106, 0.55);
  color: var(--chocolate);
  transform: translateY(-1px);
}

.pf-step.is-active {
  background: linear-gradient(135deg, #E4CFA3, #C8A46A);
  border-color: transparent;
  color: var(--chocolate);
  box-shadow: 0 10px 26px rgba(200, 164, 106, 0.4);
}

.pf-step.is-active span {
  background: rgba(74, 46, 43, 0.14);
  color: var(--chocolate);
}

.pf-panel__scroll {
  max-height: 700px;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 164, 106, 0.6) transparent;
}

.pf-panel__scroll::-webkit-scrollbar { width: 6px; }
.pf-panel__scroll::-webkit-scrollbar-thumb {
  background: rgba(200, 164, 106, 0.55);
  border-radius: 999px;
}

.cfg-sec {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-bottom: 1px solid rgba(74, 46, 43, 0.07);
  scroll-margin-top: 16px;
}

.cfg-sec__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  color: var(--chocolate);
  margin-bottom: 0.9rem;
}

.cfg-sec__title span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(200, 164, 106, 0.14);
  border: 1px solid rgba(200, 164, 106, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
}

.cfg-sec__hint {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.5);
  margin-bottom: 1.2rem;
}

/* ── Grillas de opciones ── */
.cfg-grid {
  display: grid;
  gap: 12px;
}

.cfg-grid--tipo {
  grid-template-columns: repeat(3, 1fr);
}

.cfg-tipo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: all 0.45s var(--ease-out-expo);
}

.cfg-tipo img {
  width: 100%;
  aspect-ratio: 3 / 3.4;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.7s var(--ease-out-expo);
}

.cfg-tipo:hover img {
  transform: scale(1.07);
}

.cfg-tipo__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--chocolate);
  margin-top: 4px;
}

.cfg-tipo small {
  font-size: 11px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.55);
}

.cfg-tipo:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(74, 46, 43, 0.14);
}

.cfg-tipo.is-active {
  border-color: rgba(200, 164, 106, 0.85);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(244, 231, 205, 0.5));
  box-shadow: 0 22px 54px rgba(200, 164, 106, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

/* ── Diseño (grupos de puntos) ── */
.cfg-dots {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.cfg-dotgroup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cfg-dotgroup__label {
  flex: 0 0 88px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 46, 43, 0.5);
}

.cfg-dotgroup__opts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cfg-dot {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(74, 46, 43, 0.16);
  background: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(74, 46, 43, 0.75);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.cfg-dot:hover {
  border-color: rgba(200, 164, 106, 0.6);
  transform: translateY(-2px);
}

.cfg-dot.is-active {
  background: linear-gradient(135deg, #E4CFA3, #C8A46A);
  border-color: transparent;
  color: var(--chocolate);
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(200, 164, 106, 0.35);
}

/* ── Esferas de cristal ── */
.cfg-spheres {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
}

.cfg-sphere {
  position: relative;
  width: clamp(58px, 7vw, 74px);
  height: clamp(58px, 7vw, 74px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 38%),
    var(--c, #3E2723);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 16px 38px rgba(74, 46, 43, 0.22),
    inset -6px -10px 22px rgba(0, 0, 0, 0.28),
    inset 4px 6px 14px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.45s var(--ease-elastic), box-shadow 0.45s var(--ease-out-expo);
}

.cfg-sphere::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  width: 34%;
  height: 18%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(-26deg);
  filter: blur(1px);
  transition: opacity 0.4s ease;
}

.cfg-sphere small {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(74, 46, 43, 0.65);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cfg-sphere:hover {
  transform: scale(1.14);
  box-shadow:
    0 26px 54px rgba(200, 164, 106, 0.4),
    inset -6px -10px 22px rgba(0, 0, 0, 0.24),
    inset 4px 6px 14px rgba(255, 255, 255, 0.5),
    0 0 0 5px rgba(255, 255, 255, 0.35);
}

.cfg-sphere:hover small {
  opacity: 1;
}

.cfg-sphere.is-active {
  transform: scale(1.12);
  box-shadow:
    0 26px 54px rgba(200, 164, 106, 0.5),
    inset -6px -10px 22px rgba(0, 0, 0, 0.22),
    inset 4px 6px 14px rgba(255, 255, 255, 0.5),
    0 0 0 4px rgba(200, 164, 106, 0.65);
}

.cfg-spheres { padding-bottom: 1.6rem; }

/* ── Telas ── */
.cfg-grid--tela {
  grid-template-columns: repeat(2, 1fr);
}

.cfg-tela {
  position: relative;
  height: 108px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--tex, linear-gradient(135deg, #EADFD6, #D8C4A3));
  box-shadow: 0 14px 34px rgba(74, 46, 43, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: all 0.45s var(--ease-out-expo);
}

.cfg-tela::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.32) 100%);
  pointer-events: none;
}

.cfg-tela__name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--chocolate);
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.7);
}

.cfg-tela small {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.65);
}

.cfg-tela:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 26px 54px rgba(74, 46, 43, 0.18);
}

.cfg-tela.is-active {
  border-color: rgba(200, 164, 106, 0.95);
  box-shadow: 0 26px 54px rgba(200, 164, 106, 0.35), 0 0 0 3px rgba(200, 164, 106, 0.3);
  transform: translateY(-4px) scale(1.02);
}

/* ── Chips (herrajes / macramé) ── */
.cfg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cfg-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(74, 46, 43, 0.16);
  background: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(74, 46, 43, 0.8);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.cfg-chip i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot, rgba(74, 46, 43, 0.2));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 2px 6px rgba(74, 46, 43, 0.25);
}

.cfg-chip:hover {
  border-color: rgba(200, 164, 106, 0.6);
  transform: translateY(-2px);
}

.cfg-chip.is-active {
  background: linear-gradient(135deg, #E4CFA3, #C8A46A);
  border-color: transparent;
  color: var(--chocolate);
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(200, 164, 106, 0.38);
}

/* ── Tallas ── */
.cfg-tallas {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cfg-talla-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cfg-talla-row__label {
  flex: 0 0 74px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.cfg-talla-row__opts {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.cfg-talla {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(74, 46, 43, 0.16);
  background: rgba(255, 255, 255, 0.42);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(74, 46, 43, 0.75);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.cfg-talla:hover {
  border-color: rgba(200, 164, 106, 0.6);
  transform: translateY(-2px);
}

.cfg-talla.is-active {
  background: linear-gradient(135deg, #E4CFA3, #C8A46A);
  border-color: transparent;
  color: var(--chocolate);
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(200, 164, 106, 0.35);
}

.cfg-guide {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.4rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px dashed rgba(200, 164, 106, 0.7);
  background: rgba(255, 255, 255, 0.24);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.cfg-guide:hover {
  background: rgba(200, 164, 106, 0.16);
  transform: translateY(-2px);
}

/* ── Extras ── */
.cfg-extras {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cfg-extra {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border-radius: 20px;
  border: 1px solid rgba(74, 46, 43, 0.14);
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  text-align: left;
  transition: all 0.35s var(--ease-out-expo);
}

.cfg-extra__check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: transparent;
  background: rgba(74, 46, 43, 0.08);
  border: 1px solid rgba(74, 46, 43, 0.18);
  transition: all 0.35s var(--ease-out-expo);
}

.cfg-extra b {
  flex: 1;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--chocolate);
}

.cfg-extra small {
  font-size: 12px;
  font-weight: 500;
  color: rgba(74, 46, 43, 0.55);
}

.cfg-extra:hover {
  border-color: rgba(200, 164, 106, 0.55);
  transform: translateY(-2px);
}

.cfg-extra.is-active {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(244, 231, 205, 0.45));
  border-color: rgba(200, 164, 106, 0.85);
  box-shadow: 0 12px 30px rgba(200, 164, 106, 0.2);
}

.cfg-extra.is-active .cfg-extra__check {
  background: linear-gradient(135deg, #E4CFA3, #C8A46A);
  border-color: transparent;
  color: var(--chocolate);
}

/* ── Resumen ── */
.cfg-sec--resumen {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(244, 231, 205, 0.4) 0%, rgba(255, 255, 255, 0) 60%),
    rgba(255, 255, 255, 0.2);
}

.cfg-resumen {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 1.2rem;
}

.cfg-resumen__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 2px;
  border-bottom: 1px dashed rgba(74, 46, 43, 0.14);
}

.cfg-resumen__line span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 46, 43, 0.5);
}

.cfg-resumen__line strong {
  font-size: 13.5px;
  font-weight: 500;
  text-align: right;
  color: var(--chocolate);
}

.cfg-resumen__line--total {
  border-bottom: none;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 164, 106, 0.4);
}

.cfg-resumen__line--total span {
  color: var(--gold);
  font-weight: 600;
}

.cfg-resumen__line--total strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--gold);
}

.cfg-resumen__note {
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.55);
  margin-bottom: 1.4rem;
}

.cfg-resumen__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ═══ GUÍA DE TALLAS · modal glass ═══ */
.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out-expo), visibility 0.45s;
}

.guide-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.guide-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(62, 39, 35, 0.45);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.guide-modal__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--radius-48);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.16) 60%),
    rgba(248, 245, 242, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 50px 120px rgba(62, 39, 35, 0.4);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.5s var(--ease-out-expo);
}

.guide-modal.is-open .guide-modal__panel {
  transform: translateY(0) scale(1);
}

.guide-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(74, 46, 43, 0.18);
  background: rgba(255, 255, 255, 0.5);
  color: var(--chocolate);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.guide-modal__close:hover {
  background: rgba(200, 164, 106, 0.25);
  transform: rotate(90deg);
}

.guide-modal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  color: var(--chocolate);
  margin-bottom: 0.5rem;
}

.guide-modal__sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.6);
  margin-bottom: 1.6rem;
}

.guide-modal__table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 20px;
}

.guide-modal__table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(200, 164, 106, 0.35);
  background: rgba(244, 231, 205, 0.4);
}

.guide-modal__table td {
  font-size: 13px;
  font-weight: 400;
  color: rgba(74, 46, 43, 0.8);
  padding: 11px 14px;
  border-bottom: 1px solid rgba(74, 46, 43, 0.08);
}

.guide-modal__table tr:last-child td { border-bottom: none; }
.guide-modal__table tbody tr { transition: background 0.3s ease; }
.guide-modal__table tbody tr:hover { background: rgba(255, 255, 255, 0.5); }

.guide-modal__note {
  margin-top: 1.4rem;
  font-size: 12px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.55);
}

/* ═══ GALERÍA DE INSPIRACIÓN · masonry ═══ */
.pf-gallery {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 6rem) clamp(5rem, 9vw, 8rem);
}

.pf-gallery__masonry {
  columns: 3;
  column-gap: clamp(1rem, 2vw, 1.6rem);
}

.pf-gallery__item {
  position: relative;
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
  border-radius: 28px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 54px rgba(74, 46, 43, 0.12);
}

.pf-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out-expo);
}

.pf-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62, 39, 35, 0) 52%, rgba(62, 39, 35, 0.42) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.pf-gallery__item figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--marfil);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}

.pf-gallery__item:hover img {
  transform: scale(1.08);
}

.pf-gallery__item:hover::after { opacity: 1; }
.pf-gallery__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ FAQ · accordion glass ═══ */
.pf-faq {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 6rem) clamp(5rem, 9vw, 8rem);
}

.pf-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pf-faq__item {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 20px 50px rgba(74, 46, 43, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease-out-expo);
}

.pf-faq__item.is-open {
  box-shadow: 0 26px 60px rgba(200, 164, 106, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.pf-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 1.35rem 1.6rem;
  border: none;
  background: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--chocolate);
  text-align: left;
  cursor: pointer;
}

.pf-faq__icon {
  flex: 0 0 auto;
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(200, 164, 106, 0.55);
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.45s var(--ease-out-expo), background 0.4s ease;
}

.pf-faq__icon::before,
.pf-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.pf-faq__icon::before { width: 12px; height: 1.5px; }
.pf-faq__icon::after { width: 1.5px; height: 12px; transition: transform 0.4s var(--ease-out-expo); }

.pf-faq__item.is-open .pf-faq__icon { background: rgba(200, 164, 106, 0.25); transform: rotate(180deg); }
.pf-faq__item.is-open .pf-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.pf-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out-expo);
}

.pf-faq__a > * {
  overflow: hidden;
}

.pf-faq__a p {
  padding: 0 1.6rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(74, 46, 43, 0.65);
}

.pf-faq__item.is-open .pf-faq__a {
  grid-template-rows: 1fr;
}

/* ═══ CTA FINAL · cristales y orbes ═══ */
.pf-cta {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem) clamp(5rem, 9vw, 8rem);
}

.pf-cta__glass {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.6rem, 4vw, 4rem);
  border-radius: var(--radius-64);
  overflow: hidden;
  background:
    radial-gradient(90% 110% at 50% 0%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, rgba(74, 46, 43, 0.92), rgba(62, 39, 35, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 60px 140px rgba(62, 39, 35, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.pf-cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.pf-cta__orb--1 {
  width: 44vw;
  height: 44vw;
  top: -18vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(200, 164, 106, 0.45) 0%, rgba(200, 164, 106, 0) 70%);
  animation: pf-orb-float 20s ease-in-out infinite alternate;
}

.pf-cta__orb--2 {
  width: 36vw;
  height: 36vw;
  bottom: -16vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(232, 207, 207, 0.3) 0%, rgba(232, 207, 207, 0) 70%);
  animation: pf-orb-float 24s ease-in-out infinite alternate-reverse;
}

.pf-cta__shard {
  position: absolute;
  width: 160px;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.16);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  animation: pf-shard-float 9s ease-in-out infinite alternate;
}

.pf-cta__shard--1 { top: 12%; left: 8%; transform: rotate(14deg); animation-delay: -2s; }
.pf-cta__shard--2 { top: 56%; right: 9%; transform: rotate(-10deg); animation-delay: -5s; }
.pf-cta__shard--3 { bottom: 10%; left: 32%; transform: rotate(24deg) scale(0.7); animation-delay: -7s; }

@keyframes pf-shard-float {
  from { transform: translate3d(0, 0, 0) rotate(10deg); }
  to   { transform: translate3d(14px, -22px, 0) rotate(22deg); }
}

.pf-cta__text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.12;
  color: var(--marfil);
  margin: 0 auto 2.6rem;
  max-width: 22ch;
  text-shadow: 0 14px 60px rgba(0, 0, 0, 0.35);
}

.pf-cta__text em {
  font-style: italic;
  color: var(--champagne);
}

.pf-cta__glass > .pf-btn {
  position: relative;
  z-index: 2;
}

.pf-cta__glass > .pf-eyebrow {
  position: relative;
  z-index: 2;
  color: var(--champagne);
}

/* ═══ TOAST ═══ */
.toast {
  position: fixed;
  bottom: 34px;
  left: 50%;
  transform: translate(-50%, 90px);
  z-index: 950;
  max-width: min(92vw, 480px);
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--chocolate);
  background: linear-gradient(135deg, rgba(248, 245, 242, 0.92), rgba(244, 231, 205, 0.92));
  border: 1px solid rgba(200, 164, 106, 0.6);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 30px 80px rgba(62, 39, 35, 0.3);
  opacity: 0;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.5s ease;
  pointer-events: none;
  text-align: center;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ═══ BADGE DE BOLSA ═══ */
.navbar__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E4CFA3, #C8A46A);
  border: 1.5px solid rgba(248, 245, 242, 0.9);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(200, 164, 106, 0.5);
  transform: scale(0);
  transition: transform 0.4s var(--ease-elastic);
}

.navbar__badge.is-visible { transform: scale(1); }

/* ═══ REVEAL (fade + blur reveal) ═══ */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  filter: blur(10px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo), filter 0.9s var(--ease-out-expo);
  will-change: transform, opacity, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ═══ CURSOR "EXPLORAR" (esfera glass) ═══ */
.cursor__explore {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--chocolate);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

body.cursor--explore:not(.cursor--hover) .cursor__explore {
  opacity: 1;
}

body.cursor--explore:not(.cursor--hover) .cursor__ring {
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border-color: rgba(216, 196, 163, 0.9);
  box-shadow: 0 0 44px rgba(200, 164, 106, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

body.cursor--explore .cursor__ring::after {
  display: none;
}

/* ═══ SCROLL PROGRESS BAR ═══ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--champagne), var(--gold), var(--terracota));
  transition: width 0.1s linear;
  will-change: width;
  border-radius: 0 2px 2px 0;
}

/* ═══ HERO · VIDEO CINEMATOGRÁFICO ═══ */
.pf-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.pf-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pf-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.pf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 46, 43, 0.35) 0%, rgba(74, 46, 43, 0.5) 55%, rgba(248, 244, 239, 0.9) 100%);
}

.pf-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 900px;
}

.pf-hero__caption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 10px;
  color: var(--champagne);
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.pf-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--marfil);
  text-shadow: 0 8px 60px rgba(0, 0, 0, 0.35);
}

.pf-hero__title em {
  font-style: italic;
  display: block;
  color: var(--champagne);
}

.pf-hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.92rem, 1.3vw, 1.1rem);
  color: rgba(248, 245, 242, 0.82);
  max-width: 540px;
  margin: 1.6rem auto 0;
  line-height: 1.8;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.pf-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2.4rem;
}

.pf-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--marfil);
  opacity: 0.7;
  transition: opacity 0.4s;
}

.pf-hero__scroll:hover { opacity: 1; }

.pf-hero__scroll span {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--champagne), transparent);
  animation: pf-hero-scroll-line 2s ease-in-out infinite;
}

@keyframes pf-hero-scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.pf-hero__scroll small {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ═══ PROCESO · TIMELINE 7 PASOS ═══ */
.pf-process {
  position: relative;
  z-index: 1;
  padding: 6rem clamp(1rem, 3vw, 3rem) 3rem;
}

.pf-process__timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  max-width: 1400px;
  margin: 3rem auto 0;
}

.pf-process-step {
  text-align: center;
  padding: 28px 14px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 44px rgba(74, 46, 43, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  transition: transform 0.45s var(--ease-out-expo), border-color 0.45s, box-shadow 0.45s;
}

.pf-process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 164, 106, 0.6);
  box-shadow: 0 26px 60px rgba(74, 46, 43, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.pf-process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--marfil);
  background: linear-gradient(135deg, var(--gold), rgba(200, 164, 106, 0.7));
  box-shadow: 0 8px 22px rgba(200, 164, 106, 0.35);
  margin-bottom: 1rem;
}

.pf-process-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--chocolate);
  margin-bottom: 0.4rem;
}

.pf-process-step p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(74, 46, 43, 0.6);
}

/* ═══ TESTIMONIOS ═══ */
.pf-testimonials {
  position: relative;
  z-index: 1;
  padding: 6rem clamp(1rem, 3vw, 3rem) 2rem;
}

.pf-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.pf-testimonial {
  padding: 2rem 1.8rem 1.6rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px rgba(74, 46, 43, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}

.pf-testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(74, 46, 43, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.pf-testimonial__stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.pf-testimonial__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(74, 46, 43, 0.8);
}

.pf-testimonial__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(74, 46, 43, 0.08);
}

.pf-testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--marfil);
  background: linear-gradient(135deg, var(--chocolate), var(--cacao));
  box-shadow: 0 6px 16px rgba(74, 46, 43, 0.25);
  flex-shrink: 0;
}

.pf-testimonial__avatar--alt {
  background: linear-gradient(135deg, var(--terracota), var(--cacao));
}

.pf-testimonial__footer strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--chocolate);
}

.pf-testimonial__footer span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.78rem;
  color: rgba(74, 46, 43, 0.5);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1200px) {
  .pf-config__split {
    grid-template-columns: 1fr;
  }

  .pf-config__view {
    position: static;
  }

  .pf-stage {
    aspect-ratio: 16 / 9;
  }

  .pf-stage__comp {
    width: min(30%, 300px);
  }

  .pf-process__timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .pf-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .pf-process__timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .pf-intro__cards {
    grid-template-columns: 1fr;
  }

  .pf-stage__comp {
    width: min(46%, 300px);
  }

  .pf-gallery__masonry {
    columns: 2;
  }

  .cfg-grid--tipo {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pf-hero__title {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .pf-hero__scroll {
    display: none;
  }

  .pf-stage {
    aspect-ratio: 4 / 4.4;
  }

  .pf-stage__comp {
    width: 62%;
  }

  .pf-view__meta strong,
  .pf-view__meta small {
    font-size: 10px;
  }

  .pf-view__meta .pf-view__price strong {
    font-size: 1.4rem;
  }

  .cfg-grid--tela {
    grid-template-columns: 1fr;
  }

  .cfg-talla-row__label {
    flex: 0 0 100%;
  }

  .pf-gallery__masonry {
    columns: 1;
  }

  .pf-step span {
    display: none;
  }

  .pf-process__timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .pf-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══ LUXURY ATELIER DIGITAL REDESIGN STYLES ═══ */

/* Floating 3D Tools (Stage left) */
.pf-3d-tools {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 25;
}

.pf-3d-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(74, 46, 43, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-3d-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--gold);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

/* Giant Glass Cards for Step 1 (35px radius & magnetic hover) */
.cfg-tipo {
  border-radius: 35px !important;
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  padding: 1.2rem !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 14px 40px rgba(74, 46, 43, 0.08) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cfg-tipo:hover {
  transform: translateY(-10px) scale(1.02) !important;
  border-color: rgba(212, 175, 55, 0.8) !important;
  box-shadow: 0 24px 60px rgba(212, 175, 55, 0.25) !important;
}

.cfg-tipo.is-active {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(248,245,240,0.65)) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 20px 50px rgba(200, 164, 106, 0.3) !important;
}

.cfg-tipo__radio {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.2rem;
  color: var(--gold);
}

.cfg-tipo__info {
  margin-top: 10px;
}

.cfg-tipo__info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--chocolate);
}

.cfg-tipo__info small {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
}

/* Numbered Step Dots &#9312; &#9313; &#9314; &#9315; &#9316; &#9317; &#9318; &#9319; */
.pf-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  margin-bottom: 1.4rem;
  box-shadow: 0 10px 30px rgba(74, 46, 43, 0.06);
}

.pf-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--chocolate);
}

.pf-step-dots {
  display: flex;
  gap: 8px;
}

.pf-step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(74, 46, 43, 0.15);
  color: var(--chocolate);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pf-step-dot:hover,
.pf-step-dot.is-active {
  background: var(--gold);
  color: var(--marfil);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(200, 164, 106, 0.4);
  transform: scale(1.15);
}

/* Liquid Glass Step View Container */
.pf-step-container {
  position: relative;
  min-height: 380px;
}

.pf-step-view {
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  filter: blur(8px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-step-view.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.pf-sec-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--chocolate);
  margin-bottom: 4px;
}

.pf-sec-header p {
  font-size: 0.9rem;
  color: var(--chocolate);
  opacity: 0.75;
  margin-bottom: 1.2rem;
}

/* Persistent Summary Sidebar Card */
.pf-summary-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 32px;
  padding: 1.6rem;
  margin-top: 1.5rem;
  box-shadow: 0 20px 60px rgba(74, 46, 43, 0.1);
}

.pf-summary-header h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--chocolate);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(74, 46, 43, 0.15);
}

.pf-summary-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.pf-summary-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pf-summary-row:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--gold);
  transform: translateX(4px);
}

.pf-sum-icon {
  font-size: 1.2rem;
}

.pf-sum-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pf-sum-detail small {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--chocolate);
  opacity: 0.6;
}

.pf-sum-detail strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--chocolate);
}

.pf-sum-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.6;
}

.pf-summary-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-btn--full {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.4rem;
  font-size: 0.9rem;
}

/* Step Footer Nav (Anterior / Siguiente) */
.pf-step-footer-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.4rem;
}

/* 3D Volumetric Color Spheres (Step 3) */
.cfg-spheres {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 1.2rem;
}

.cfg-sphere {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sphere-3d {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff 0%, var(--c) 55%, #000000 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.cfg-sphere:hover .sphere-3d {
  transform: scale(1.2);
  box-shadow: 0 16px 36px rgba(200, 164, 106, 0.45);
}

.cfg-sphere.is-active .sphere-3d {
  transform: scale(1.25);
  box-shadow: 0 0 0 3px var(--marfil), 0 0 0 5px var(--gold), 0 18px 40px rgba(200, 164, 106, 0.5);
}

.cfg-color-combo {
  margin-top: 12px;
}

/* Fabric Zoom Lens Box (Step 4) */
.cfg-fabric-zoom-box {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  color: var(--chocolate);
}

.cfg-fabric-lens {
  height: 80px;
  border-radius: 18px;
  margin-top: 8px;
  background: repeating-linear-gradient(45deg, rgba(74,46,43,0.15) 0 2px, transparent 2px 12px), linear-gradient(135deg,#EADFD6,#D8C4A3);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
  animation: pulseLens 6s ease-in-out infinite alternate;
}

@keyframes pulseLens {
  0% { background-size: 100% 100%; }
  100% { background-size: 150% 150%; }
}

/* Floating Jewelry Herrajes (Step 5) */
.cfg-chips--herrajes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.cfg-chips--herrajes .cfg-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.35s ease;
}

.cfg-chips--herrajes .cfg-chip:hover,
.cfg-chips--herrajes .cfg-chip.is-active {
  background: rgba(255,255,255,0.9);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(200, 164, 106, 0.3);
  transform: translateY(-4px);
}

.jewel-float {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-block;
  animation: floatJewel 3s ease-in-out infinite alternate;
}

@keyframes floatJewel {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(15deg); }
}

.jewel--gold { background: linear-gradient(135deg, #FFF3D6, #C8A46A, #8A6D4D); }
.jewel--silver { background: linear-gradient(135deg, #FFFFFF, #B9BEC4, #71767C); }
.jewel--champagne { background: linear-gradient(135deg, #FFF8EE, #D4B483, #A28354); }
.jewel--pearl { background: radial-gradient(circle at 35% 30%, #FFFFFF, #F8F5F2, #E2D0BE); }
.jewel--ring { background: radial-gradient(circle at 50% 50%, transparent 35%, #C8A46A 40%, #8A6D4D 100%); }
.jewel--chain { background: repeating-linear-gradient(45deg, #FFF3D6 0 3px, #997744 3px 8px); }

/* Animated Price Counter */
.pf-price-counter {
  transition: all 0.4s ease;
}


.pf-stage__garment {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  transition: all 0.5s ease;
}

.pf-stage__garment path {
  transition: fill 0.5s ease, stroke 0.5s ease;
}

/* ═══ CAMERA VIEW CONTROLS (FRENTE · ESPALDA · DETALLES) ═══ */
.pf-view-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 1rem;
}

.pf-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--chocolate);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(74, 46, 43, 0.06);
}

.pf-view-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(74, 46, 43, 0.12);
}

.pf-view-btn.is-active {
  background: var(--gold);
  color: var(--marfil);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(200, 164, 106, 0.4);
}

.pf-view-btn svg {
  opacity: 0.8;
}

/* ═══ STAGE FOOTER BADGES (PIEZA EXCLUSIVA · HECHO A MANO · etc.) ═══ */
.pf-view__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 1rem;
  padding: 12px 0;
}

.pf-view__meta > span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
}

.pf-view__meta > span:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.pf-view__meta > span strong {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--chocolate);
}

.pf-view__meta > span small {
  font-size: 0.6rem;
  opacity: 0.65;
  color: var(--chocolate);
}

.pf-view__price {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 255, 255, 0.5)) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
}

.pf-view__price strong {
  font-family: var(--font-display);
  font-size: 1.1rem !important;
  color: var(--gold) !important;
  font-weight: 700;
}

/* ═══ CFG-GRID LAYOUTS ═══ */
.cfg-grid {
  display: grid;
  gap: 14px;
}

.cfg-grid--tipo {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.cfg-grid--tela {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.cfg-tipo img {
  width: 100%;
  max-height: 110px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 8px;
}

/* ═══ CFG-DOT DESIGN PILLS (Step 2 Liquid Glass Pills) ═══ */
.cfg-dots {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cfg-dotgroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cfg-dotgroup__label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--chocolate);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0.8;
}

.cfg-dotgroup__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cfg-dot {
  padding: 8px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--chocolate);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(74, 46, 43, 0.05);
}

.cfg-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(200, 164, 106, 0.2);
}

.cfg-dot.is-active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 245, 240, 0.7));
  border-color: var(--gold);
  color: var(--chocolate);
  box-shadow: 0 8px 24px rgba(200, 164, 106, 0.35);
  font-weight: 600;
}

/* ═══ CFG-TELA FABRIC CARDS (Step 4) ═══ */
.cfg-tela {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(74, 46, 43, 0.06);
}

.cfg-tela:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 18px 45px rgba(200, 164, 106, 0.2);
}

.cfg-tela.is-active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(248, 245, 240, 0.6));
  box-shadow: 0 16px 40px rgba(200, 164, 106, 0.3);
}

.cfg-tela__preview {
  display: block;
  height: 80px;
  border-radius: 22px 22px 0 0;
}

.cfg-tela__name {
  display: block;
  padding: 10px 14px 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--chocolate);
}

.cfg-tela small {
  display: block;
  padding: 0 14px 12px;
  font-size: 0.78rem;
  color: var(--chocolate);
  opacity: 0.65;
}

/* ═══ CFG-TALLAS SIZE CAPSULES (Step 7) ═══ */
.cfg-tallas {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cfg-talla-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cfg-talla-row__label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--chocolate);
  text-transform: uppercase;
  min-width: 68px;
}

.cfg-talla-row__opts {
  display: flex;
  gap: 8px;
}

.cfg-talla {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--chocolate);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 16px rgba(74, 46, 43, 0.06);
}

.cfg-talla:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 26px rgba(200, 164, 106, 0.25);
}

.cfg-talla.is-active {
  background: var(--gold);
  color: var(--marfil);
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(200, 164, 106, 0.45);
  transform: scale(1.1);
}

.cfg-guide {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--chocolate);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cfg-guide:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ═══ CFG-EXTRAS LUXURY CARDS (Step 8) ═══ */
.cfg-extras {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.cfg-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 22px rgba(74, 46, 43, 0.05);
}

.cfg-extra:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(200, 164, 106, 0.2);
}

.cfg-extra.is-active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 245, 240, 0.7));
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(200, 164, 106, 0.35);
}

.cfg-extra__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(74, 46, 43, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cfg-extra.is-active .cfg-extra__check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--marfil);
}

.cfg-extra b {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--chocolate);
}

.cfg-extra small {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

/* ═══ CFG-CHIPS MACRAMÉ (Step 6) ═══ */
.cfg-chips--macrame {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.cfg-chips--macrame .cfg-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.35s ease;
}

.cfg-chips--macrame .cfg-chip:hover,
.cfg-chips--macrame .cfg-chip.is-active {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(200, 164, 106, 0.3);
  transform: translateY(-4px);
}

.cfg-chips--macrame .cfg-chip strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--chocolate);
}

/* ═══ BUTTONS (Gold + Glass) ═══ */
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.pf-btn--gold {
  background: linear-gradient(135deg, #D4AF37, #C8A46A, #B08D5B);
  color: var(--marfil);
  box-shadow: 0 10px 30px rgba(200, 164, 106, 0.4);
}

.pf-btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(200, 164, 106, 0.55);
}

.pf-btn--gold:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pf-btn--glass {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--chocolate);
  box-shadow: 0 8px 22px rgba(74, 46, 43, 0.06);
}

.pf-btn--glass:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74, 46, 43, 0.12);
}

.pf-btn--glass:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.pf-btn--sm {
  padding: 8px 16px;
  font-size: 0.78rem;
}

/* ═══ COMPOSITION TRANSITION ═══ */
.pf-stage__comp {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}


@media (prefers-reduced-motion: reduce) {
  .pf-hero__media img,
  .pf-stage__comp,
  .pf-bg__orb,
  .pf-bg__beam,
  .pf-bokeh,
  .pf-needle,
  .pf-stage__glint,
  .pf-cta__orb,
  .pf-cta__shard,
  .pf-stage__sparkle span {
    animation: none !important;
  }

  .pf-hero__content > * {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .blur-up {
    filter: none;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   SANLILAS — REDISEÑO ATELIER DIGITAL PREMIUM · 10 PASOS · 2026
   1. HERO 75vh + cristales · 2. Aurora/perlas de fondo
   3. Stage fotografía crossfade + galería · 4. Porcelana, estampados,
   amarres, medidas, bordado · 5. Precios · 6. Dock flotante · 7. Ripple
   ═══════════════════════════════════════════════════════════════════════ */

/* ── AURORA SUTIL DE FONDO ── */
.pf-bg__aurora {
  position: absolute;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: pf-aurora-drift 34s ease-in-out infinite alternate;
  will-change: transform;
}

.pf-bg__aurora--1 {
  top: 8%;
  left: -18%;
  background: radial-gradient(circle, rgba(200, 164, 106, 0.4) 0%, rgba(232, 207, 207, 0.18) 45%, rgba(248, 244, 239, 0) 70%);
}

.pf-bg__aurora--2 {
  bottom: -12%;
  right: -16%;
  background: radial-gradient(circle, rgba(216, 196, 163, 0.38) 0%, rgba(224, 118, 106, 0.14) 48%, rgba(248, 244, 239, 0) 72%);
  animation-delay: -14s;
}

@keyframes pf-aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  100% { transform: translate3d(6vw, 4vh, 0) scale(1.18) rotate(12deg); }
}

/* ── PERLAS TRANSLÚCIDAS FLOTANTES ── */
.pf-float-pearl {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(248, 244, 239, 0.65) 40%, rgba(216, 196, 163, 0.25) 100%);
  box-shadow: 0 10px 26px rgba(74, 46, 43, 0.16), inset -2px -3px 6px rgba(200, 164, 106, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: pf-pearl-float 12s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.pf-float-pearl::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, rgba(200, 164, 106, 0.5), transparent);
}

@keyframes pf-pearl-float {
  0%   { transform: translate3d(0, 0, 0); opacity: 0.55; }
  100% { transform: translate3d(-3vw, -6vh, 0); opacity: 0.95; }
}

/* ── HERO 75vh + CRISTALES DESENFOCADOS ── */
.pf-hero {
  min-height: 75vh !important;
  height: 75vh !important;
  padding-top: clamp(104px, 14vh, 150px);
}

.pf-hero__overlay {
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.5) 0%, rgba(21, 21, 21, 0.22) 42%, rgba(248, 245, 242, 0.92) 100%);
}

.pf-hero__crystals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.pf-crystal {
  position: absolute;
  background: linear-gradient(135deg, rgba(248, 245, 242, 0.4), rgba(248, 245, 242, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.35);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  filter: blur(2px);
  animation: pf-crystal-float 13s ease-in-out infinite alternate;
}

.pf-crystal--1 { width: 170px; height: 200px; top: 16%; right: 14%; --cr-rot: 18deg; transform: rotate(18deg); animation-delay: -2s; }
.pf-crystal--2 { width: 90px; height: 120px; top: 58%; left: 12%; --cr-rot: -14deg; transform: rotate(-14deg); animation-delay: -5s; }
.pf-crystal--3 { width: 120px; height: 150px; top: 26%; left: 38%; --cr-rot: 8deg; transform: rotate(8deg); animation-delay: -8s; opacity: 0.7; }
.pf-crystal--4 { width: 70px; height: 96px; bottom: 8%; right: 34%; --cr-rot: 24deg; transform: rotate(24deg); animation-delay: -11s; }

@keyframes pf-crystal-float {
  0%   { transform: translate3d(0, 0, 0) rotate(var(--cr-rot, 10deg)); }
  100% { transform: translate3d(20px, -26px, 0) rotate(calc(var(--cr-rot, 10deg) + 8deg)); opacity: 0.75; }
}

.pf-hero__title em {
  color: var(--champagne);
}

.pf-hero {
  justify-content: flex-start;
  text-align: left;
}

.pf-hero__content {
  max-width: 1200px;
}

/* Ajuste de tarjeta de tela: la textura se muestra sobre la preview */
.cfg-tela .cfg-tela__preview {
  background: var(--tex, linear-gradient(135deg, #EADFD6, #D8C4A3));
  height: 96px;
}

/* ── STAGE DE FOTOGRAFÍA REAL· CROSSFADE 300ms ── */
.pf-stage--photo {
  background:
    radial-gradient(90% 70% at 50% 30%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.08) 60%),
    linear-gradient(160deg, #F4EDE4 0%, #E4D6C6 55%, #D8C4A3 100%);
}

.pf-stage__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.3s ease, transform 0.6s var(--ease-out-expo);
  will-change: opacity, transform;
  pointer-events: none;
}

.pf-stage__photo.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Tint de color (porcelana) sobre la foto real */
.pf-stage__tint {
  mix-blend-mode: color;
  opacity: 0.55;
  transition: background 0.3s ease;
}

.pf-stage__tint.is-light {
  mix-blend-mode: soft-light;
  opacity: 0.6;
}

/* Estampado (pattern o imagen subida) */
.pf-stage__pattern.is-on {
  mix-blend-mode: multiply;
  opacity: 0.5;
}

.pf-stage__pattern.is-img {
  mix-blend-mode: soft-light;
  opacity: 0.85;
}

/* Escudo "fotografía real" */
.pf-stage__sceen {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 12;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(248, 245, 242, 0.92);
  background: rgba(21, 21, 21, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  pointer-events: none;
}

/* Perlas decorativas sobre la fotografía */
.pf-stage__pearl {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #F8F5F2 40%, #E2D0BE 100%);
  box-shadow: 0 8px 22px rgba(74, 46, 43, 0.35), inset -3px -4px 8px rgba(200, 164, 106, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  z-index: 8;
  pointer-events: none;
  animation: pf-pearl-glimmer 5s ease-in-out infinite;
}

.pf-stage__pearl--1 { top: 14%; right: 12%; animation-delay: -1s; }
.pf-stage__pearl--2 { bottom: 22%; left: 14%; width: 14px; height: 14px; animation-delay: -3s; }

@keyframes pf-pearl-glimmer {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.18); opacity: 1; box-shadow: 0 0 0 6px rgba(248, 245, 242, 0.12); }
}

/* ── BORDADO · VISTA PREVIA SOBRE LA FOTO ── */
.pf-stage__bordado {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(248, 245, 242, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px) saturate(120%);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.35s var(--ease-out-expo), transform 0.45s var(--ease-elastic);
}

.pf-stage__bordado.is-on {
  opacity: 1;
  transform: scale(1);
}

.pf-bordado-text {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1;
  color: #C8A46A;
  text-shadow: 0 2px 12px rgba(21, 21, 21, 0.55);
}

.pf-bordado-text.is-light {
  text-shadow: 0 2px 10px rgba(21, 21, 21, 0.75);
}

.pf-stage__bordado.is-on.bpos--bajo     { bottom: 30%;  left: 50%; transform: translateX(-50%) scale(1); }
.pf-stage__bordado.is-on.bpos--lateral  { right: 8%;   top: 44%;  transform: translateY(-50%) rotate(-8deg) scale(1); }
.pf-stage__bordado.is-on.bpos--espalda  { top: 18%;    left: 50%; transform: translateX(-50%) scale(1); }
.pf-stage__bordado.is-on.bpos--cintura  { bottom: 14%; left: 50%; transform: translateX(-50%) scale(1); }
.pf-stage__bordado.is-on.bpos--esquina  { right: 10%;  bottom: 18%; transform: rotate(6deg) scale(1); }

/* ── GALERÍA DE FOTOS REALES ── */
.pf-gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 1.2rem;
}

.pf-gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(74, 46, 43, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

.pf-gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.pf-gallery-thumb span {
  position: absolute;
  inset: auto 6px 6px 6px;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
  color: var(--marfil);
  background: rgba(21, 21, 21, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pf-gallery-thumb:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 196, 163, 0.7);
  box-shadow: 0 18px 40px rgba(200, 164, 106, 0.28);
}

.pf-gallery-thumb:hover img {
  transform: scale(1.08);
}

.pf-gallery-thumb.is-active {
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(200, 164, 106, 0.4), 0 0 0 3px rgba(200, 164, 106, 0.25);
}

/* ── PASO 2 · COLECCIÓN ── */
.cfg-grid--coleccion {
  grid-template-columns: repeat(3, 1fr);
}

.cfg-coleccion {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.38);
  padding: 0;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 32px rgba(74, 46, 43, 0.08);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

.cfg-coleccion img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.cfg-coleccion__info {
  display: block;
  padding: 12px 14px 14px;
}

.cfg-coleccion__info strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--chocolate);
  margin-bottom: 2px;
}

.cfg-coleccion__info small {
  display: block;
  font-size: 11px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.55);
}

.cfg-coleccion:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 196, 163, 0.7);
  box-shadow: 0 20px 46px rgba(200, 164, 106, 0.24);
}

.cfg-coleccion:hover img {
  transform: scale(1.06);
}

.cfg-coleccion.is-active {
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(200, 164, 106, 0.35), 0 0 0 3px rgba(200, 164, 106, 0.22);
}

/* ── PASO 3 · ESFERAS DE PORCELANA (grandes) ── */
.cfg-spheres--porcelain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 14px;
  justify-items: center;
  padding: 0.4rem 0 1.4rem;
}

.cfg-spheres--porcelain .sphere-3d {
  width: 84px;
  height: 84px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.35) 22%, transparent 40%),
    radial-gradient(circle at 34% 28%, var(--c) 0%, rgba(0, 0, 0, 0.18) 78%, #000 100%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.22));
  box-shadow:
    inset -8px -12px 26px rgba(0, 0, 0, 0.3),
    inset 6px 8px 18px rgba(255, 255, 255, 0.5);
}

.cfg-spheres--porcelain .cfg-sphere small {
  bottom: -30px;
  font-size: 12px;
}

.cfg-spheres--porcelain .cfg-sphere:hover .sphere-3d {
  transform: scale(1.14);
}

.cfg-spheres--porcelain .cfg-sphere.is-active .sphere-3d {
  transform: scale(1.18);
}

/* ── PASO 5 · ESTAMPADO ── */
.cfg-grid--estampado {
  grid-template-columns: repeat(4, 1fr);
}

.cfg-estampado {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
}

.cfg-estampado__thumb {
  display: block;
  width: 100%;
  height: 84px;
  background: var(--tex, linear-gradient(135deg, #EADFD6, #D8C4A3));
}

.cfg-estampado strong {
  display: block;
  padding: 10px 12px 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--chocolate);
}

.cfg-estampado:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 196, 163, 0.7);
  box-shadow: 0 18px 42px rgba(200, 164, 106, 0.26);
}

.cfg-estampado.is-active {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(200, 164, 106, 0.36), 0 0 0 3px rgba(200, 164, 106, 0.22);
}

.cfg-hint {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.55);
}

/* ── PASO 6 · HERRAJES (añadidos rosa, negro mate, sin) ── */
.jewel--rose { background: linear-gradient(135deg, #F9D9CF, #E8B4A0, #C08A72); }
.jewel--mate { background: radial-gradient(circle at 35% 30%, #4A4545, #151515 70%); }
.jewel--none { background: transparent; border: 1.5px dashed rgba(74, 46, 43, 0.4); }

/* ── PASO 7 · AMARRES ── */
.cfg-chips--amarres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cfg-chips--amarres .cfg-chip {
  flex-direction: column;
  text-align: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 22px;
}

.amarre-ico {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(200, 164, 106, 0.4);
  color: var(--gold);
}

.amarre-ico::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.amarre--lazos::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A46A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 4v8M12 12c-3-2-6-1-7 2 2-1 4 0 5 2m2-4c3-2 6-1 7 2-2-1-4 0-5 2'/%3E%3C/svg%3E"); }
.amarre--nudo::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A46A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 4l6 16 6-16M6 4l6 8m0-8l6 8'/%3E%3C/svg%3E"); }
.amarre--argollas::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A46A' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 4v3m0 10v3'/%3E%3C/svg%3E"); }
.amarre--cadena::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A46A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 7c2 2 2 8 0 10M18 7c-2 2-2 8 0 10M9 9c2 2 2 4 0 6M15 9c-2 2-2 4 0 6'/%3E%3C/svg%3E"); }
.amarre--cruzado::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A46A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E"); }
.amarre--ajustable::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A46A' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E"); }

/* ── PASO 8 · TALLA PERSONALIZADA ── */
.cfg-talla--pers {
  background: linear-gradient(135deg, rgba(244, 231, 205, 0.9), rgba(255, 255, 255, 0.6));
  border-style: dashed;
  border-color: rgba(200, 164, 106, 0.7);
  color: var(--gold);
  font-size: 1.2rem;
}

/* ── PASO 9 · MEDIDAS ── */
.cfg-measures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cfg-measure-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cfg-measure-field--full {
  grid-column: 1 / -1;
}

.cfg-measure-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(74, 46, 43, 0.6);
}

.cfg-measure-field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--chocolate);
  outline: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.cfg-measure-field input:focus {
  border-color: rgba(200, 164, 106, 0.85);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(200, 164, 106, 0.22);
}

.cfg-measure-field input::placeholder {
  color: rgba(74, 46, 43, 0.35);
}

/* ── PASO 10 · BORDADO DE FIRMA ── */
.cfg-bordado {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cfg-bordado__tipos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cfg-bordado-tipo {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(74, 46, 43, 0.16);
  background: rgba(255, 255, 255, 0.42);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(74, 46, 43, 0.78);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.cfg-bordado-tipo:hover {
  border-color: rgba(200, 164, 106, 0.6);
  transform: translateY(-2px);
}

.cfg-bordado-tipo.is-active {
  background: linear-gradient(135deg, #E4CFA3, #C8A46A);
  border-color: transparent;
  color: var(--chocolate);
  box-shadow: 0 10px 24px rgba(200, 164, 106, 0.4);
}

.cfg-bordado__texto {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cfg-bordado__texto label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(74, 46, 43, 0.6);
}

.cfg-bordado__texto input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.45);
  font-family: 'Great Vibes', cursive;
  font-size: 1.4rem;
  color: var(--chocolate);
  outline: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.cfg-bordado__texto input:focus {
  border-color: rgba(200, 164, 106, 0.85);
  box-shadow: 0 10px 30px rgba(200, 164, 106, 0.22);
}

.cfg-bordado__seccion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cfg-bordado__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(74, 46, 43, 0.6);
}

.cfg-bordado__colores {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cfg-bordado-color {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.8) 0%, var(--h) 55%, rgba(0, 0, 0, 0.25) 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(74, 46, 43, 0.22);
  cursor: pointer;
  transition: transform 0.4s var(--ease-elastic), box-shadow 0.4s ease, border-color 0.3s ease;
}

.cfg-bordado-color:hover {
  transform: scale(1.15);
}

.cfg-bordado-color.is-active {
  transform: scale(1.2);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 106, 0.4), 0 12px 26px rgba(200, 164, 106, 0.35);
}

.cfg-bordado__posiciones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cfg-bordado-pos {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(74, 46, 43, 0.16);
  background: rgba(255, 255, 255, 0.42);
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(74, 46, 43, 0.75);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.cfg-bordado-pos:hover {
  border-color: rgba(200, 164, 106, 0.6);
  transform: translateY(-2px);
}

.cfg-bordado-pos.is-active {
  background: linear-gradient(135deg, #E4CFA3, #C8A46A);
  border-color: transparent;
  color: var(--chocolate);
  box-shadow: 0 8px 20px rgba(200, 164, 106, 0.35);
}

/* ── RESUMEN · PRECIOS ── */
.pf-summary-card {
  box-shadow: 0 30px 80px rgba(74, 46, 43, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.pf-prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 1.4rem;
}

.pf-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 2px;
  border-bottom: 1px dashed rgba(74, 46, 43, 0.14);
}

.pf-price-line span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 46, 43, 0.5);
}

.pf-price-line strong {
  font-size: 13.5px;
  font-weight: 500;
  text-align: right;
  color: var(--chocolate);
}

.pf-price-line--total {
  border-bottom: none;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 164, 106, 0.4);
}

.pf-price-line--total span {
  color: var(--gold);
  font-weight: 600;
}

.pf-price-line--total strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--gold);
}

/* ── DOCK FLOTANTE INFERIOR ── */
.pf-dock {
  position: sticky;
  bottom: 14px;
  z-index: 500;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 3rem;
  padding: 18px 22px;
  border-radius: 30px;
  background:
    radial-gradient(120% 100% at 10% 0%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 55%),
    rgba(248, 245, 242, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(35px) saturate(190%);
  -webkit-backdrop-filter: blur(35px) saturate(190%);
  box-shadow: 0 34px 90px rgba(74, 46, 43, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), visibility 0.6s;
}

.pf-dock.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.pf-dock__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1 / 1.08;
  box-shadow: 0 14px 34px rgba(74, 46, 43, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.pf-dock__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-dock__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.pf-dock__row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pf-dock__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
}

.pf-dock__row--sel strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--chocolate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pf-dock__row--meta span,
.pf-dock__row--time span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pf-dock__row small {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: rgba(74, 46, 43, 0.5);
}

.pf-dock__row strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--chocolate);
}

.pf-dock__row .pf-dock__total {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.pf-dock__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pf-dock__actions .pf-btn {
  padding: 12px 14px;
  font-size: 11px;
}

/* ── RIPPLE GLASS ── */
.cfg-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.12) 60%, transparent 100%);
  transform: scale(0);
  pointer-events: none;
  animation: cfg-ripple-pop 0.9s var(--ease-out-expo) forwards;
  z-index: 5;
}

.cfg-tipo,
.cfg-coleccion,
.cfg-sphere,
.cfg-tela,
.cfg-estampado,
.cfg-chip,
.cfg-talla,
.cfg-bordado-tipo,
.cfg-bordado-color,
.cfg-bordado-pos,
.pf-gallery-thumb {
  position: relative;
  overflow: hidden;
}

@keyframes cfg-ripple-pop {
  0%   { transform: scale(0); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0; }
}

/* ── CTA FINAL · PIEZA EXCLUSIVA ── */
.pf-cta__sub {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  color: rgba(248, 245, 242, 0.72);
  max-width: 520px;
  margin: 0 auto 2.6rem;
  line-height: 1.85;
}

.pf-cta__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ── FOOTER CRISTAL OSCURO (consistente con Colecciones) ── */
.footer--crystal {
  background: linear-gradient(165deg, rgba(47, 29, 26, 0.92) 0%, rgba(74, 46, 43, 0.9) 55%, rgba(21, 21, 21, 0.9) 100%);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border-top: 1px solid rgba(216, 196, 163, 0.28);
  box-shadow: 0 -40px 110px rgba(74, 46, 43, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.14);
  color: var(--marfil);
}

.footer--crystal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 196, 163, 0.75), transparent);
}

.footer--crystal .footer__brand-title {
  color: var(--champagne);
  text-shadow: 0 4px 26px rgba(216, 196, 163, 0.35);
}

.footer--crystal .footer__slogan {
  color: rgba(248, 245, 242, 0.62);
}

.footer--crystal .footer__col-title {
  color: var(--champagne);
}

.footer--crystal .footer__link {
  color: rgba(248, 245, 242, 0.72);
  transition: color 0.35s, text-shadow 0.35s;
}

.footer--crystal .footer__link:hover {
  color: var(--champagne);
  text-shadow: 0 0 18px rgba(216, 196, 163, 0.5);
}

.footer--crystal .footer__social-link {
  border-color: rgba(216, 196, 163, 0.4);
  color: var(--champagne);
  background: rgba(255, 255, 255, 0.06);
}

.footer--crystal .footer__social-link:hover {
  border-color: var(--champagne);
  background: rgba(216, 196, 163, 0.22);
  box-shadow: 0 12px 30px rgba(216, 196, 163, 0.35);
}

.footer--crystal .footer__pay-pill {
  color: rgba(248, 245, 242, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(216, 196, 163, 0.3);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.footer--crystal .footer__newsletter {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(216, 196, 163, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.footer--crystal .footer__newsletter:focus-within {
  border-color: rgba(216, 196, 163, 0.85);
  box-shadow: 0 12px 34px rgba(216, 196, 163, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.footer--crystal .footer__newsletter input {
  color: var(--marfil);
}

.footer--crystal .footer__newsletter input::placeholder {
  color: rgba(248, 245, 242, 0.45);
}

.footer--crystal .footer__newsletter button {
  background: linear-gradient(135deg, rgba(216, 196, 163, 0.95), rgba(200, 164, 106, 0.8));
  color: var(--chocolate);
  box-shadow: 0 10px 26px rgba(216, 196, 163, 0.35);
}

.footer--crystal .footer__bottom {
  color: rgba(248, 245, 242, 0.45);
}

/* ── RESPONSIVE DEL REDISEÑO ── */
@media (max-width: 1200px) {
  .pf-dock {
    grid-template-columns: 1fr;
  }

  .pf-dock__media {
    display: none;
  }

  .pf-dock__actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .cfg-grid--coleccion {
    grid-template-columns: repeat(2, 1fr);
  }

  .cfg-spheres--porcelain {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .cfg-grid--estampado {
    grid-template-columns: repeat(3, 1fr);
  }

  .cfg-chips--amarres {
    grid-template-columns: repeat(3, 1fr);
  }

  .pf-gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .pf-hero {
    min-height: 75vh !important;
    height: 75vh !important;
  }

  .cfg-grid--coleccion,
  .cfg-grid--estampado,
  .cfg-chips--amarres,
  .cfg-spheres--porcelain {
    grid-template-columns: 1fr 1fr;
  }

  .cfg-spheres--porcelain .sphere-3d {
    width: 70px;
    height: 70px;
  }

  .pf-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .pf-dock {
    border-radius: 24px;
    padding: 14px 16px;
  }

  .pf-dock__actions {
    grid-template-columns: 1fr 1fr;
  }

  .pf-dock__row--meta,
  .pf-dock__row--time {
    gap: 14px;
  }

  .pf-cta__actions .pf-btn {
    width: 100%;
  }

  .pf-stage__sceen {
    display: none;
  }
}

/* ═══ ENCUADRES DE FOTOGRAFÍA REAL · FRAMING ═══
   Las fotos de producto miden 1920×945 (≈ 2.03:1) y las de
   hero 3:4. Cada contenedor usa un encuadre horizontal acorde
   para que las prendas se muestren completas y nunca deformadas. */

/* Stage del configurador: placa horizontal 12:7 (recorte suave) */
.pf-stage--photo {
  aspect-ratio: 12 / 7;
  border-radius: 26px;
}

.pf-stage--photo .pf-stage__photo {
  object-position: center 38%;
}

/* Colecciones: encuadre casi nativo 8:4.1 (≈1.95) */
.cfg-coleccion img {
  aspect-ratio: 8 / 4.1;
  object-position: center 40%;
}

/* Miniaturas de la galería de vistas: 9:5 */
.pf-gallery-thumb img {
  aspect-ratio: 9 / 5;
  object-position: center;
}

/* Miniatura del resumen flotante: 4:3 */
.pf-dock__media img {
  aspect-ratio: 4 / 3;
}

/* Red de garantía: ninguna fotografía se estira jamás */
.pf-stage__photo,
.cfg-tipo img,
.cfg-coleccion img,
.pf-gallery-thumb img,
.pf-gallery__item img,
.pf-dock__media img,
.pf-hero__media img {
  object-fit: cover !important;
}
