/* PERFUMES Y FRASCOS | Experiencia cinemática premium (sin librerías) */
:root { --pf-ease: cubic-bezier(.2,.8,.2,1); --pf-ease-dramatic: cubic-bezier(.16,1,.3,1); }
html { scroll-behavior:smooth; }
body::after{content:"";position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.09;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.43'/%3E%3C/svg%3E");mix-blend-mode:soft-light}
/* Abertura de ojos: cortinillas curvas que descubren el logo de la marca */
.pf-intro{position:fixed;inset:0;z-index:900;background:#02080f;overflow:hidden;isolation:isolate;animation:pf-intro-autohide .8s ease 5.25s forwards}
html:not(.pf-experience-init) .pf-intro{display:none}
.pf-intro-scene{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#133552 0,#071626 42%,#02080f 90%)}
.pf-intro-scene::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 20%,#02060edb 88%),linear-gradient(0deg,#030a13c2,transparent 22%);z-index:2}
.pf-intro-scene::before{content:"";position:absolute;inset:-20%;background:conic-gradient(from 115deg at 52% 47%,transparent,#184c665b,transparent,#ad693c3c,transparent,#123b645d,transparent);filter:blur(85px);animation:pf-orbit 18s linear infinite;opacity:.65}
.pf-intro-identity{width:min(82vw,800px);max-height:76vh;object-fit:contain;position:relative;z-index:2;filter:blur(30px) brightness(.55);opacity:.45;transform:scale(.89);-webkit-mask-image:radial-gradient(ellipse at center,#000 46%,transparent 77%);mask-image:radial-gradient(ellipse at center,#000 46%,transparent 77%);animation:pf-focus 4.8s var(--pf-ease-dramatic) .5s forwards;will-change:transform,filter,opacity}
.pf-intro-flare{position:absolute;left:50%;top:45%;width:3px;height:45vmax;background:linear-gradient(transparent,#f4ba81c9 45%,#8adfff 50%,#f4ba81 55%,transparent);filter:blur(2px);transform:translate(-50%,-50%) rotate(90deg) scaleY(0);z-index:5;animation:pf-eye-light 1.5s ease .18s both}
.pf-intro-eyelid{pointer-events:none;position:absolute;left:-9vw;width:118vw;height:60%;background:radial-gradient(ellipse at 52% 90%,#16293c 0,#03070d 50%,#000 91%);z-index:12;box-shadow:0 0 44px #000,0 0 90px #000;will-change:transform}
.pf-intro-eyelid.top{top:-3%;border-radius:0 0 49% 49%/0 0 10% 10%;border-bottom:2px solid #6ea5c34a;animation:pf-open-upper 3.3s cubic-bezier(.24,.72,.25,1) .55s forwards}
.pf-intro-eyelid.bottom{bottom:-3%;background:radial-gradient(ellipse at 52% 0%,#142337 0,#03070d 50%,#000 91%);border-radius:49% 49% 0 0/10% 10% 0 0;border-top:2px solid #bc88564a;animation:pf-open-lower 3.3s cubic-bezier(.24,.72,.25,1) .55s forwards}
.pf-intro-title{position:absolute;bottom:10%;left:15px;right:15px;z-index:7;text-align:center;display:flex;flex-direction:column;align-items:center;gap:9px;animation:pf-intro-caption 2s ease 2.1s both;pointer-events:none}
.pf-intro-title strong{font-family:var(--serif);font-size:clamp(15px,2.3vw,26px);font-weight:400;letter-spacing:.14em;color:#f1d0a8;text-shadow:0 2px 24px #02050b}
.pf-intro-title small{font-size:9px;font-weight:700;letter-spacing:.35em;color:#a7cadc}
.pf-intro-progress{display:block;width:min(220px,60vw);height:2px;background:#4e6071;overflow:hidden;margin-top:15px;border-radius:8px}
.pf-intro-progress::after{content:"";display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#358ebf,#f0ca91);animation:pf-progress 4.3s linear .7s forwards}
.pf-intro-skip{position:absolute;right:clamp(18px,4vw,60px);top:clamp(22px,4vw,54px);z-index:30;display:inline-flex;align-items:center;gap:8px;color:#e6d4bd;background:#071724b8;border:1px solid #b58e6575;border-radius:32px;padding:10px 17px;letter-spacing:.08em;font-size:11px;backdrop-filter:blur(12px);transition:background .2s,transform .2s}
.pf-intro-skip:hover{background:#223649;transform:translateY(-2px)}
.pf-intro.is-dismissing{animation:pf-exit .85s ease forwards}
.pf-intro.is-dismissed{display:none}
@keyframes pf-open-upper{0%,7%{transform:translateY(0)}36%{transform:translateY(-16%)}80%,100%{transform:translateY(-112%)}}
@keyframes pf-open-lower{0%,7%{transform:translateY(0)}36%{transform:translateY(16%)}80%,100%{transform:translateY(112%)}}
@keyframes pf-eye-light{0%{opacity:0;transform:translate(-50%,-50%) rotate(90deg) scaleY(.1)}50%{opacity:.85;transform:translate(-50%,-50%) rotate(90deg) scaleY(1.2)}100%{opacity:0;transform:translate(-50%,-50%) rotate(90deg) scaleY(0)}}
@keyframes pf-focus{0%,12%{filter:blur(31px) brightness(.5);opacity:.40;transform:scale(.87)}49%{filter:blur(12px) brightness(.82);opacity:.79;transform:scale(.98)}82%,100%{filter:blur(0) brightness(1.06);opacity:1;transform:scale(1.025)}}
@keyframes pf-intro-caption{from{opacity:0;transform:translateY(19px)}to{opacity:1;transform:translateY(0)}}
@keyframes pf-progress{to{transform:scaleX(1)}}
@keyframes pf-intro-autohide{to{opacity:0;visibility:hidden;pointer-events:none}}
@keyframes pf-exit{to{opacity:0;visibility:hidden;pointer-events:none;filter:blur(8px)}}
@keyframes pf-orbit{to{transform:rotate(360deg)}}
/* Fuego y brillos de la llama detrás del monograma original: capas animadas */
.pf-live-flames{position:absolute;inset:auto;pointer-events:none;isolation:isolate;mix-blend-mode:screen;filter:saturate(1.2)}
.pf-live-flames.intro-flames{left:48%;top:4%;width:min(27vw,220px);height:38vh;z-index:1;transform:translateX(-50%);opacity:.86;animation:pf-flame-reveal 3s ease 1s both}
.pf-live-flames.hero-flames{left:62%;top:3%;width:clamp(140px,22vw,320px);height:54%;z-index:1;opacity:.47}
.pf-flame{position:absolute;bottom:0;width:22%;height:100%;transform-origin:50% 98%;border-radius:70% 20% 55% 10%;clip-path:polygon(45% 0%,70% 20%,62% 38%,90% 52%,75% 82%,52% 100%,10% 90%,8% 65%,32% 48%,24% 28%);filter:blur(6px);animation:pf-flame-dance var(--dur,3.6s) ease-in-out infinite alternate}
.pf-flame:nth-child(1){left:4%;height:84%;--dur:3.4s;background:linear-gradient(5deg,transparent,#0b94c0b6 45%,#5ae9ff45 79%,transparent 97%);animation-delay:-2s}
.pf-flame:nth-child(2){left:23%;height:100%;--dur:4.5s;background:linear-gradient(7deg,transparent,#3472c998 38%,#72edff4c 76%,transparent);animation-delay:-.9s}
.pf-flame:nth-child(3){left:45%;height:86%;--dur:3.9s;background:linear-gradient(1deg,transparent,#f7a253be 48%,#ffe3a458 84%,transparent);animation-delay:-3s}
.pf-flame:nth-child(4){left:68%;height:98%;--dur:4.7s;background:linear-gradient(12deg,transparent,#ee7d3eb5 45%,#ffc4764d 78%,transparent);animation-delay:-1.5s}
.pf-flame:nth-child(5){left:84%;height:77%;--dur:3.1s;background:linear-gradient(12deg,transparent,#ffb36b87 35%,#ffe4bd28 79%,transparent);animation-delay:-.6s}
@keyframes pf-flame-dance{0%{transform:translate(-9%,7%) skewX(-8deg) rotate(-8deg) scale(.8,1);opacity:.25}43%{opacity:.68}100%{transform:translate(13%,-17%) skewX(14deg) rotate(12deg) scale(1.22,.91);opacity:.75}}
@keyframes pf-flame-reveal{from{opacity:0}to{opacity:.8}}
/* Fondo del hero vivo (pero sin cambios bruscos) */
.hero{isolation:isolate}
.hero-image{animation:pf-hero-breathe 23s ease-in-out infinite alternate;transform-origin:70% 45%;will-change:transform}
.hero-shade{z-index:3;pointer-events:none}
.hero-layout{z-index:6}
.hero-bottom-label{z-index:7}
.pf-hero-particles{position:absolute;inset:0;z-index:2;pointer-events:none;width:100%;height:100%;opacity:.66}
.hero::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 65% 28%,#d7903d25,transparent 32%),radial-gradient(ellipse at 65% 15%,#1a99c430,transparent 40%);pointer-events:none;z-index:2;animation:pf-pulse-glow 7s ease-in-out infinite alternate}
@keyframes pf-hero-breathe{from{transform:scale(1);filter:saturate(.9)}to{transform:scale(1.065) translate(-.5%,.3%);filter:saturate(1.1)}}
@keyframes pf-pulse-glow{to{opacity:.46;transform:scale(1.02)}}
/* Interacciones de alta calidad en toda la tienda */
.pf-scroll-progress{position:fixed;z-index:105;top:0;left:0;right:0;height:3px;pointer-events:none;background:linear-gradient(90deg,#328acb 0%,#f0bf7d 48%,#f4dfb5 100%);transform-origin:left;transform:scaleX(0);box-shadow:0 0 17px #eebd8460}
.pf-cursor-aura{position:fixed;z-index:1;pointer-events:none;width:300px;height:300px;left:0;top:0;opacity:0;border-radius:50%;background:radial-gradient(circle,#e3a76c0d 0%,#4a94d00a 32%,transparent 69%);transform:translate3d(calc(var(--mouse-x, -500px) - 150px),calc(var(--mouse-y, -500px) - 150px),0);transition:opacity .6s ease;mix-blend-mode:screen}
.pf-cursor-aura.active{opacity:1}
.announcement{background-size:240% 100%;animation:pf-gold-bar 11s linear infinite}
@keyframes pf-gold-bar{0%{background-position:0 0}100%{background-position:230% 0}}
.hero-content>.eyebrow,.hero-content h1,.hero-content .hero-copy,.hero-content .hero-ctas,.hero-stats{animation:pf-rise-in .95s var(--pf-ease-dramatic) both}
.hero-content h1{animation-delay:.16s}.hero-content .hero-copy{animation-delay:.27s}.hero-content .hero-ctas{animation-delay:.36s}.hero-stats{animation-delay:.46s}
@keyframes pf-rise-in{from{opacity:0;transform:translateY(25px);filter:blur(6px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
.pf-reveal{opacity:0;transform:translate3d(0,35px,0);filter:blur(5px);transition:opacity .8s var(--pf-ease-dramatic),transform .8s var(--pf-ease-dramatic),filter .8s ease;transition-delay:var(--pf-delay,0ms)}
.pf-reveal.pf-visible{opacity:1;transform:none;filter:blur(0)}
.product-card{position:relative;isolation:isolate;transform:translateZ(0);transition:border-color .28s,box-shadow .35s,transform .35s var(--pf-ease)!important}
.product-card:hover{transform:translateY(-8px)!important;box-shadow:0 25px 52px #0008,0 0 0 1px #c7a37765}
.product-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;z-index:3;background:radial-gradient(270px circle at var(--px,50%) var(--py,28%),#f5bd8233,transparent 66%);transition:opacity .3s ease}
.product-card:hover::after{opacity:1}
.product-image{overflow:hidden}
.product-image::before{content:"";position:absolute;inset:-30%;z-index:0;pointer-events:none;opacity:.4;background:conic-gradient(from 45deg,transparent 15%,#d2aa6340 35%,transparent 40%,#60acde1f 66%,transparent 73%);animation:pf-card-reflections 15s linear infinite}
.product-image img{transition:transform .8s var(--pf-ease-dramatic),filter .6s ease!important;will-change:transform}
.product-card:hover .product-image img{transform:translateY(-6px) scale(1.095)!important;filter:drop-shadow(0 18px 18px #0009) brightness(1.055)}
@keyframes pf-card-reflections{to{transform:rotate(360deg)}}
.product-info{position:relative;z-index:4}
.category-tile{isolation:isolate;transition:transform .4s var(--pf-ease),border-color .3s,box-shadow .4s!important}
.category-tile::after{content:"";position:absolute;width:130%;height:150%;left:-145%;top:-25%;background:linear-gradient(90deg,transparent,#ffdfab19,transparent);transform:skewX(-15deg);transition:left .7s ease;pointer-events:none}
.category-tile:hover::after{left:110%}
.category-tile:hover .tile-icon{transform:translateY(-5px) rotate(12deg) scale(1.12);color:#f2c990}
.category-tile .tile-icon{transition:transform .7s var(--pf-ease-dramatic),color .4s}
.btn,.card-add,.quiz-choices button,.payment-options label,.icon-btn,.cart-header{position:relative;overflow:hidden;transition:transform .28s var(--pf-ease),box-shadow .35s,background-color .25s,border-color .25s}
.btn:not(:disabled):hover,.card-add:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 12px 32px #0007,0 0 25px #d7a86a24}
.btn:active,.card-add:active{transform:scale(.975)}
.pf-ripple{position:absolute;border-radius:50%;pointer-events:none;z-index:10;width:18px;height:18px;background:#ffdea77a;animation:pf-ripple-out .68s ease-out forwards}
@keyframes pf-ripple-out{to{opacity:0;transform:scale(22)}}
.pf-particle-flight{position:fixed;z-index:130;width:15px;height:15px;border-radius:50%;background:radial-gradient(circle,#fff7df 0,#f4b864 52%,#56c5e7 86%);box-shadow:0 0 12px #f6d59b,0 0 28px #3da7ed;pointer-events:none}
.cart-header.pf-cart-celebrate,.cart-header.pf-cart-celebrate em{animation:pf-cart-jump .52s ease}
@keyframes pf-cart-jump{30%{transform:scale(1.13)}60%{transform:scale(.96)}100%{transform:scale(1)}}
.drawer.open{box-shadow:-18px 0 100px #000a,0 0 50px #ca9b6b12}
.drawer.open .drawer-head{animation:pf-rise-in .55s var(--pf-ease-dramatic) both}
.drawer.open .drawer-bottom{animation:pf-rise-in .65s var(--pf-ease-dramatic) .16s both}
.drawer.open .cart-item{animation:pf-rise-in .55s var(--pf-ease-dramatic) both}
.drawer.open .cart-item:nth-child(2){animation-delay:.08s}.drawer.open .cart-item:nth-child(3){animation-delay:.16s}
.modal-wrapper:not([hidden]) .modal-box{animation:pf-modal-in .55s var(--pf-ease-dramatic) both}
@keyframes pf-modal-in{from{opacity:0;transform:translateY(32px) scale(.96);filter:blur(10px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
.modal-wrapper:not([hidden]) .modal-backdrop{animation:pf-backdrop .35s ease both}
@keyframes pf-backdrop{from{opacity:0}to{opacity:1}}
.quiz-choices button{animation:pf-rise-in .52s var(--pf-ease-dramatic) both;animation-delay:var(--opt-delay,0s)}
.quiz-choices button:nth-child(2){--opt-delay:.08s}.quiz-choices button:nth-child(3){--opt-delay:.16s}.quiz-choices button:nth-child(4){--opt-delay:.24s}
.quiz-choices button:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 12px 25px #0006}
.payment-options label:has(input:checked){border-color:#e7bb79;background:linear-gradient(115deg,#18364a,#463a2c);box-shadow:inset 0 0 0 1px #f1bc7944}
.form-grid input:focus,.form-grid textarea:focus,.account-modal input:focus{border-color:#e7b883;box-shadow:0 0 0 3px #c3936030;outline:0}
.faq-grid details{transition:border-color .3s,background-color .3s,transform .3s}
.faq-grid details:hover{transform:translateY(-2px);border-color:#c7a17b82}
.faq-grid details[open]{background:#14293a;border-color:#d4af7977}
.featured-scroller{scrollbar-color:#bc956c #0b1b29;overscroll-behavior-x:contain}
.featured-scroller .product-card{transition:transform .35s var(--pf-ease)!important}
/* Ambiental: control opt-in, de acceso permanente y discreto */
.pf-audio-dock{position:fixed;z-index:95;left:clamp(12px,2vw,28px);bottom:clamp(12px,2vw,27px);display:flex;align-items:center;gap:0;border:1px solid #d1a77576;background:linear-gradient(115deg,#0b1d2eea,#152e43ed);border-radius:999px;box-shadow:0 12px 44px #0009;backdrop-filter:blur(20px);transition:box-shadow .3s,transform .3s;overflow:hidden}
.pf-audio-dock:hover,.pf-audio-dock:focus-within{box-shadow:0 14px 50px #000b,0 0 30px #d5a16421;transform:translateY(-2px)}
.pf-audio-toggle{border:0;background:none;color:#f0d4ad;padding:12px 15px;display:flex;align-items:center;gap:10px;font-size:11px;font-weight:700;white-space:nowrap}
.pf-audio-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.pf-equalizer{height:17px;width:18px;display:flex;align-items:flex-end;gap:2px}
.pf-equalizer i{display:block;width:3px;height:25%;background:#e4b579;border-radius:2px;opacity:.6}
.pf-audio-dock.is-playing .pf-equalizer i{opacity:1;animation:pf-eq 1s ease-in-out infinite alternate}
.pf-audio-dock.is-playing .pf-equalizer i:nth-child(2){animation-delay:-.35s}.pf-audio-dock.is-playing .pf-equalizer i:nth-child(3){animation-delay:-.8s}.pf-audio-dock.is-playing .pf-equalizer i:nth-child(4){animation-delay:-.55s}
@keyframes pf-eq{0%{height:25%}100%{height:100%}}
.pf-audio-volume{width:0;opacity:0;pointer-events:none;transition:width .35s,opacity .25s;padding:0;accent-color:#e7bd83}
.pf-audio-dock:hover .pf-audio-volume,.pf-audio-dock:focus-within .pf-audio-volume{width:70px;opacity:1;pointer-events:auto;margin-right:15px}
.pf-audio-note{font-family:var(--sans);font-size:10px;color:#9fb4c1;margin-left:4px}
/* Experiencias a lo largo de todo el recorrido */
#searchInput:focus{box-shadow:0 0 0 3px #e4b98027;transition:box-shadow .25s}
.search-container:focus-within .search-glyph{color:#f2c78e;transform:rotate(-12deg) scale(1.08);transition:transform .2s}
.product-bottom .card-add{box-shadow:0 0 20px #b48a5a12}
#toast.show{animation:pf-toast-pop .5s var(--pf-ease-dramatic)}
@keyframes pf-toast-pop{20%{scale:1.04}60%{scale:.99}100%{scale:1}}
.wa-float{transition:transform .35s var(--pf-ease),box-shadow .35s}
.wa-float:hover{transform:translateY(-5px) scale(1.05);box-shadow:0 13px 42px #133c23a3}
/* dispositivos táctiles, rendimiento y accesibilidad */
@media(max-width:800px){.pf-live-flames.hero-flames{left:63%;width:38vw;opacity:.3}.pf-intro-identity{width:95vw;max-height:70vh}.pf-intro-title{bottom:13%}.pf-audio-dock{bottom:12px;left:12px}.pf-audio-toggle{padding:11px 12px}.pf-audio-note{display:none}}
@media(max-width:560px){.pf-audio-toggle .pf-audio-label{display:none}.pf-audio-toggle{gap:7px}.pf-audio-dock{left:12px;bottom:15px}.pf-audio-volume{display:none}.pf-live-flames.intro-flames{width:30vw;top:18%;left:50%;height:26vh}.pf-intro-title strong{font-size:14px;letter-spacing:.1em}.pf-intro-title small{font-size:8px;letter-spacing:.19em}.pf-intro-identity{width:112vw;max-width:none}.pf-cursor-aura{display:none}.hero-image{animation:pf-hero-breathe 30s ease-in-out infinite alternate}.product-card:hover{transform:none!important}}
@media(hover:none){.pf-cursor-aura{display:none}.product-card:hover{transform:none!important}.category-tile:hover{transform:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pf-intro{display:none!important}.hero-image,.pf-live-flames .pf-flame,.hero::after,.product-image::before,.pf-intro-scene::before,.announcement,.pf-equalizer i{animation:none!important}.pf-reveal{opacity:1!important;transform:none!important;filter:none!important}.pf-cursor-aura,.pf-hero-particles{display:none}.hero-content>.eyebrow,.hero-content h1,.hero-content .hero-copy,.hero-content .hero-ctas,.hero-stats,.modal-wrapper:not([hidden]) .modal-box,.quiz-choices button{animation:none!important}}
.pf-intro-audio{top:auto;bottom:22px;right:24px;z-index:32;background:#101c2edc;color:#efd0a0}
@media(max-width:600px){.pf-intro-audio{bottom:19px;right:18px;font-size:10px;padding:9px 12px}.pf-intro-skip:not(.pf-intro-audio){right:15px;top:17px}}

/* La hero se presenta de nuevo después de que finaliza la intro. */
html.pf-experience-init .hero-content>.eyebrow,html.pf-experience-init .hero-content h1,html.pf-experience-init .hero-content .hero-copy,html.pf-experience-init .hero-content .hero-ctas,html.pf-experience-init .hero-stats{animation-play-state:paused}


/* Ajustes inmersivos extra */
.pf-audio-dock.is-playing{box-shadow:0 18px 56px rgba(0,0,0,.58),0 0 34px rgba(214,164,103,.16)}
.pf-audio-note{min-width:78px}
.pf-audio-dock.is-wanted .pf-audio-toggle{color:#f4d6ae}
.section{position:relative}
.section::before{content:'';position:absolute;inset:0 auto auto 50%;width:min(640px,55vw);height:220px;background:radial-gradient(circle,rgba(69,137,196,.07),transparent 68%);transform:translate(-50%,-36%);pointer-events:none;z-index:0}
.section>.shell{position:relative;z-index:1}
.product-card .favorite{z-index:6}
