/* Componentes portados del sitio de referencia (Next.js). */
.sc-ref{--base:#fff;}
:root{--base:#fff;--base-deep:#f5f5f5;--ink:#0a0a0a;--muted:#6b6b6b;--line:rgba(0,0,0,.1);--accent:#1a1a1a;--accent-subtle:#3a3a3a;--cream:#fafafa;--white:#fff;--ease:cubic-bezier(.16,1,.3,1);--font-display:var(--sc-font);--font-sans:var(--sc-font);--weight-copy:400;--weight-hero:850;--weight-heading:780;--weight-label:650}
.hero h1,
.page-hero h1,
.product-detail-copy h1,
.blog-article-copy h1,
.category-divider h2,
.section-heading h2,
.campaign h2,
.events-faq h2{
  font-family: var(--font-display);
  font-weight: var(--weight-hero);
  letter-spacing: 0;
}
.page-hero h1,
.product-detail-copy h1,
.blog-article-copy h1,
.contact-hero-copy h1{
  line-height: 0.9;
}
.product-category-heading h3,
.shop-category-heading h2,
.cart-summary h2,
.english-intro h2,
.english-product-grid h2,
.article-content h2,
.contact-hero-copy h1,
.about-block h2,
.testimonial-grid p,
.faq-list summary{
  font-family: var(--font-display);
  font-weight: var(--weight-heading);
  letter-spacing: 0;
}
@keyframes pulse{
  from {
    opacity: 0.22;
    transform: translate3d(0, 0, 0) scale(0.94);
  }
  to {
    opacity: 0.48;
    transform: translate3d(24px, -18px, 0) scale(1.03);
  }
}
@keyframes rise{
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-hero{
  position: relative;
  min-height: 58svh;
  display: grid;
  align-content: center;
  gap: 22px;
  overflow: hidden;
  padding-block: 86px;
}
.page-hero h1{
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  line-height: 0.88;
  text-transform: uppercase;
}
.page-hero p:not(.kicker){
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}
.ribbon-hero{
  isolation: isolate;
}
.ribbons-canvas{
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
}
.ribbon-hero > *:not(.ribbons-canvas){
  position: relative;
  z-index: 1;
}
.contact-hero{
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.52fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  min-height: 78svh;
  padding-top: 118px;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 82% 24%, rgba(0, 0, 0, 0.055), transparent 24rem),
    linear-gradient(180deg, var(--white), var(--base-deep));
}
.contact-hero-copy h1{
  max-width: 860px;
  margin: 16px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  font-weight: 600;
  line-height: 0.9;
}
.contact-hero-copy p:not(.kicker){
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}
.contact-visual{
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.88), transparent 9rem),
    linear-gradient(180deg, #f7f1ea, #ffffff 72%);
}
.contact-orbit{
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 999px;
  animation: contactOrbit 10s var(--ease) infinite alternate;
}
.contact-orbit.one{
  inset: 54px 44px 150px;
}
.contact-orbit.two{
  inset: 118px 86px 82px;
  animation-delay: -3s;
}
.contact-candle{
  position: absolute;
  left: 50%;
  bottom: 58px;
  width: 112px;
  height: 210px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f1ebe2, #fffdf7 45%, #ddd5cc);
  border-radius: 54px 54px 14px 14px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.13);
}
.contact-candle::before{
  position: absolute;
  left: 50%;
  top: -36px;
  width: 16px;
  height: 46px;
  content: "";
  transform: translateX(-50%);
  background: #2b241e;
  border-radius: 999px;
}
.contact-candle span{
  position: absolute;
  left: 50%;
  top: -88px;
  width: 42px;
  height: 70px;
  transform: translateX(-50%) rotate(9deg);
  background: radial-gradient(circle at 50% 74%, #d6a66f, #a95f46 48%, transparent 70%);
  border-radius: 70% 30% 62% 38%;
  filter: blur(0.2px);
  animation: contactFlame 1.6s ease-in-out infinite alternate;
}
@keyframes contactOrbit{
  to {
    transform: translate3d(0, -18px, 0) scale(1.03);
  }
}
@keyframes contactFlame{
  to {
    transform: translateX(-50%) rotate(-7deg) scale(0.92, 1.08);
  }
}
.contact-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-block: 64px 110px;
  background: var(--line);
}
.contact-grid article{
  min-height: 260px;
  padding: 28px;
  background: var(--base);
}
.contact-grid svg{
  color: var(--accent);
}
.contact-grid h2,
.blog-list h2,
.about-block h2{
  font-family: var(--font-display);
  text-transform: uppercase;
}
.candle-loader{
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--base);
  animation: loaderOut 0.45s ease 1.25s forwards;
}
.candle-loader p{
  position: absolute;
  bottom: 12vh;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.loader-lines{
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.loader-lines span{
  position: absolute;
  left: 120%;
  width: 24%;
  height: 2px;
  background: rgba(0, 0, 0, 0.08);
  animation: loaderLine 0.8s linear infinite;
}
.loader-lines span:nth-child(1){
  top: 24%;
}
.loader-lines span:nth-child(2){
  top: 42%;
  animation-duration: 0.95s;
}
.loader-lines span:nth-child(3){
  top: 62%;
  animation-duration: 0.75s;
}
.loader-lines span:nth-child(4){
  top: 80%;
  animation-duration: 0.65s;
}
.match{
  position: absolute;
  top: 50%;
  left: calc(50% - 190px);
  animation: speeder 0.4s linear infinite;
}
.match > span{
  position: absolute;
  top: -19px;
  left: 60px;
  width: 35px;
  height: 5px;
  background: var(--ink);
}
.match > span i{
  position: absolute;
  width: 30px;
  height: 1px;
  background: var(--ink);
  animation: fazer1 0.2s linear infinite;
}
.match > span i:nth-child(2){
  top: 3px;
  animation: fazer2 0.4s linear infinite;
}
.match > span i:nth-child(3){
  top: 1px;
  animation: fazer3 0.4s linear infinite;
}
.match > span i:nth-child(4){
  top: 4px;
  animation: fazer4 1s linear infinite;
}
.match-base span{
  position: absolute;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 100px solid var(--ink);
  border-bottom: 6px solid transparent;
}
.match-base span::before{
  position: absolute;
  right: -110px;
  top: -16px;
  width: 22px;
  height: 22px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  animation: igniteGlow 0.55s ease-in-out infinite alternate;
}
.match-base span::after{
  position: absolute;
  top: -16px;
  right: -98px;
  width: 0;
  height: 0;
  content: "";
  border-top: 0 solid transparent;
  border-right: 55px solid var(--ink);
  border-bottom: 16px solid transparent;
}
.match-face{
  position: absolute;
  right: -125px;
  top: -15px;
  width: 20px;
  height: 12px;
  background: var(--ink);
  border-radius: 20px 20px 0 0;
  transform: rotate(-40deg);
}
.loader-candle{
  position: relative;
  width: 92px;
  height: 190px;
}
.loader-body{
  position: absolute;
  bottom: 0;
  width: 92px;
  height: 148px;
  background: linear-gradient(90deg, #fafafa, #e8e8e8);
  border: 2px solid var(--ink);
}
.loader-wick{
  position: absolute;
  bottom: 146px;
  left: 45px;
  width: 3px;
  height: 22px;
  background: var(--ink);
}
.flame{
  position: absolute;
  left: 34px;
  bottom: 164px;
  width: 24px;
  height: 38px;
  background: var(--accent-subtle);
  border-radius: 100% 0 100% 100%;
  opacity: 0;
  transform: rotate(45deg) scale(0.4);
  animation: flameOn 1.1s var(--ease) 0.35s forwards, flameFlicker 0.28s ease-in-out 0.9s infinite alternate;
}
@keyframes loaderOut{
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes loaderLine{
  to {
    left: -40%;
    opacity: 0;
  }
}
@keyframes fazer1{
  to {
    left: -80px;
    opacity: 0;
  }
}
@keyframes fazer2{
  to {
    left: -100px;
    opacity: 0;
  }
}
@keyframes fazer3{
  to {
    left: -50px;
    opacity: 0;
  }
}
@keyframes fazer4{
  to {
    left: -150px;
    opacity: 0;
  }
}
@keyframes speeder{
  0% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  50% {
    transform: translate(-1px, 3px) rotate(-1deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
@keyframes igniteGlow{
  to {
    box-shadow: 0 0 34px rgba(26, 26, 26, 0.5);
  }
}
@keyframes flameOn{
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}
@keyframes flameFlicker{
  to {
    transform: rotate(39deg) scale(0.94, 1.08);
    background: var(--accent);
  }
}
.hero h1,
.page-hero h1,
.product-detail-copy h1,
.blog-article-copy h1,
.contact-hero-copy h1,
.category-divider h2,
.section-heading h2,
.campaign h2,
.events-faq h2{
  font-family: var(--font-display);
  font-weight: var(--weight-hero);
  letter-spacing: 0;
}
.page-hero h1,
.product-detail-copy h1,
.blog-article-copy h1,
.contact-hero-copy h1{
  line-height: 0.9;
}
@media (max-width: 1180px){
.contact-grid{
    grid-template-columns: repeat(2, 1fr);
  }
.category-divider h2,
  .section-heading h2,
  .campaign h2,
  .events-faq h2,
  .page-hero h1,
  .product-detail-copy h1,
  .blog-article-copy h1{
    font-size: clamp(2.4rem, 5vw, 3.8rem);
  }
}
@media (max-width: 900px){
.hero,
  .contact-hero,
  .home-section-heading,
  .section-heading,
  .campaign,
  .events-faq,
  .footer,
  .shop-layout,
  .product-detail,
  .configurator,
  .about-block,
  .home-atelier,
  .section-heading.compact{
    grid-template-columns: 1fr;
  }
.contact-hero{
    min-height: auto;
    padding-top: 116px;
  }
.contact-visual{
    min-height: 420px;
    max-width: 520px;
  }
.category-strip,
  .product-grid,
  .contact-grid,
  .testimonial-grid,
  .product-category-heading,
  .shop-category-heading{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px){
.category-divider h2,
  .section-heading h2,
  .campaign h2,
  .events-faq h2,
  .page-hero h1,
  .product-detail-copy h1,
  .section-heading.compact h2,
  .about-block h2{
    font-size: clamp(2rem, 9vw, 2.7rem);
  }
.page-hero{
    padding-block: 112px 46px;
  }
.contact-visual{
    min-height: 340px;
    border-radius: 180px 180px 14px 14px;
  }
.contact-candle{
    bottom: 40px;
    width: 86px;
    height: 160px;
  }
}
.blur-text{
  display: inline;
}
.blur-word{
  display: inline-block;
  white-space: nowrap;
}
.blur-char{
  display: inline-block;
  white-space: pre;
  will-change: transform, filter, opacity;
}
@media (prefers-reduced-motion: reduce){
.blur-char{
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
.hero-shuffle{
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  gap: 10px;
  width: min(304px, calc(100% - 40px));
}
.hero-shuffle-tag{
  justify-self: start;
  padding: 6px 12px;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.hero-shuffle-card{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}
.hero-shuffle-media{
  position: relative;
  width: 92px;
  height: 92px;
  overflow: hidden;
  background: var(--cream);
}
.hero-shuffle-media img{
  object-fit: cover;
}
.hero-shuffle-info{
  display: grid;
  gap: 3px;
}
.hero-shuffle-cat{
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-shuffle-name{
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-shuffle-price{
  margin: 2px 0 7px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-shuffle-cta{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding-bottom: 2px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.25s var(--ease);
}
.hero-shuffle-cta:hover{
  gap: 12px;
}
.notfound-inner{
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 70svh;
  padding-block: 60px 100px;
}
.notfound-copy{
  display: grid;
  gap: 18px;
  align-content: center;
}
.notfound-copy h1{
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 0.9;
  text-transform: uppercase;
}
.notfound-copy p{
  max-width: 460px;
  color: var(--muted);
  line-height: 1.6;
}
.candle404-stage{
  --tilt: 0deg;
  --shift: 0px;
  --glow: 0.5;
  position: relative;
  display: grid;
  place-items: end center;
  width: 220px;
  height: 360px;
  margin: 0 auto;
}
.candle404-glow{
  position: absolute;
  top: 4%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(255, 184, 92, 0.6),
    rgba(255, 150, 60, 0) 66%
  );
  opacity: var(--glow);
  filter: blur(4px);
  pointer-events: none;
}
.candle404{
  position: relative;
  width: 120px;
}
.candle404-body{
  position: relative;
  width: 120px;
  height: 214px;
  border-radius: 14px 14px 12px 12px;
  background: linear-gradient(180deg, #fbf6ee 0%, #ece0cd 100%);
  box-shadow:
    inset -14px 0 24px rgba(0, 0, 0, 0.1),
    inset 14px 0 20px rgba(255, 255, 255, 0.55),
    0 34px 50px -30px rgba(0, 0, 0, 0.5);
}
.candle404-body::before{
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 120px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #fffdf8, #efe6d5);
}
.candle404-wick{
  position: absolute;
  top: -14px;
  left: 50%;
  z-index: 2;
  width: 3px;
  height: 16px;
  transform: translateX(-50%);
  background: #38291d;
  border-radius: 2px;
}
.candle404-flame{
  position: absolute;
  top: -60px;
  left: 50%;
  z-index: 3;
  width: 26px;
  height: 54px;
  transform: translateX(-50%) translateX(var(--shift)) rotate(var(--tilt));
  transform-origin: 50% 100%;
  transition: transform 0.05s linear;
}
.candle404-flame::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #fff3c4 0%,
    #ffd166 24%,
    #ff8c33 64%,
    #ff5b23 100%
  );
  border-radius: 50% 50% 50% 50% / 22% 22% 78% 78%;
  box-shadow:
    0 -4px 26px rgba(255, 140, 50, 0.85),
    0 0 12px rgba(255, 180, 80, 0.9);
  animation: flame-flicker 1.5s ease-in-out infinite alternate;
}
.candle404-flame::after{
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 12px;
  height: 28px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffe9a8, #ff9d4d);
  border-radius: 50% 50% 50% 50% / 20% 20% 80% 80%;
  opacity: 0.9;
  animation: flame-flicker 1.2s ease-in-out infinite alternate-reverse;
}
.candle404-shadow{
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 160px;
  height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(2px);
  pointer-events: none;
}
@keyframes flame-flicker{
  0% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(1.06) scaleX(0.95);
  }
  100% {
    transform: scaleY(0.96) scaleX(1.04);
  }
}
@media (prefers-reduced-motion: reduce){
.candle404-flame::before,
  .candle404-flame::after{
    animation: none;
  }
}
@media (max-width: 860px){
.notfound-inner{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
.notfound-copy{
    justify-items: center;
    order: 2;
  }
.notfound-copy p{
    margin-inline: auto;
  }
.notfound-copy .hero-actions{
    justify-content: center !important;
  }
}
.hero h1,
.page-hero h1,
.contact-hero-copy h1,
.blog-article-copy h1,
.product-detail-copy h1,
.section-heading h2,
.about-block h2,
.english-intro h2{
  overflow-wrap: break-word;
}