/* PERFUMES Y FRASCOS · MOBILE FIRST · Hostinger
   Correcciones hechas para pantallas de 320–850 px; no altera el panel de escritorio. */
.mobile-bottom-nav,.mobile-filter-row,.mobile-account-nav{display:none}
:root{--mobile-bar-height:68px}
@media(max-width:850px){
 html{scroll-padding-top:128px;overflow-x:clip}
 body{min-width:0;overflow-x:clip;padding-bottom:calc(var(--mobile-bar-height) + env(safe-area-inset-bottom,0px))}
 *,*::before,*::after{max-width:none}
 .shell{width:calc(100% - 32px);max-width:700px;margin-inline:auto}
 /* Encabezado compacto: marca + acciones arriba, búsqueda accesible debajo. */
 .announcement{min-height:25px;height:auto;padding:5px 10px;line-height:1.4;font-size:8px;letter-spacing:.07em;gap:6px}
 .site-header{position:sticky;top:0;z-index:35;background:#071623f7;backdrop-filter:blur(16px);box-shadow:0 8px 24px #020a1260}
 .header-line{height:auto;min-height:0;padding:10px 0 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
 .brand{min-width:0;max-width:100%;gap:9px}
 .brand-mark{flex:none;width:40px;height:40px;font-size:19px}
 .brand-words{min-width:0;font-size:11px;letter-spacing:.12em}
 .brand-words b{font-size:11px;white-space:nowrap}
 .brand-words small{font-size:8px;letter-spacing:.14em}
 .header-actions{grid-column:2;grid-row:1;gap:7px;min-width:0;margin:0}
 .header-actions .icon-btn,.header-actions .cart-header,.header-actions .menu-button{width:43px;height:43px;min-width:43px;border-radius:12px;padding:0;font-size:22px}
 .header-actions .cart-header .cart-label{display:none}
 .header-actions .menu-button{display:flex}
 .header-actions em{right:-4px;top:-6px}
 .search-container{grid-row:2;grid-column:1/-1;flex:auto;max-width:100%;order:0;min-width:0}
 .search-container input{height:44px;min-width:0;border-radius:12px;padding:0 42px;font-size:13px;line-height:1.3}
 .search-glyph{font-size:24px;top:4px}
 .suggestions{max-height:min(45dvh,320px);border-radius:12px;box-shadow:0 16px 40px #0009}
 .suggestion{min-height:57px}
 .account-toolbar{display:none!important}
 /* Menú desplegable con objetivos grandes para dedos. */
 .main-nav{display:none;position:absolute;z-index:42;left:0;right:0;top:100%;width:100%;max-width:none;padding:14px 16px calc(18px + env(safe-area-inset-bottom,0px));margin:0;background:#0b1b2afa;border:1px solid #584d4270;border-top:0;border-radius:0 0 18px 18px;box-shadow:0 18px 36px #000b;max-height:min(68dvh,520px);overflow-y:auto;gap:9px;grid-template-columns:1fr 1fr}
 .main-nav.open{display:grid}
 .main-nav .nav-item,.main-nav .mobile-account-nav{display:flex;align-items:center;justify-content:center;min-height:47px;border:1px solid #314858;border-radius:10px;background:linear-gradient(135deg,#102539,#0c1c2c);font-size:12px;color:#e0e9ed;padding:10px;white-space:normal;text-align:center;line-height:1.35}
 .main-nav .nav-item.active{background:linear-gradient(135deg,#e7c18b,#b88755);border-color:#c89e70;color:#15202a;font-weight:800}
 .main-nav .mobile-account-nav{grid-column:1/-1;background:#162d3a;color:#f1d1a0;border-color:#967a57}
 /* Navegación inferior de 5 elementos. */
 .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;height:calc(var(--mobile-bar-height) + env(safe-area-inset-bottom,0px));padding:4px 6px calc(5px + env(safe-area-inset-bottom,0px));gap:2px;border-top:1px solid #9d855c78;background:linear-gradient(180deg,#102435fa,#071522fc);backdrop-filter:blur(18px);z-index:44;box-shadow:0 -12px 32px #02080cc0}
 .mobile-bottom-nav a,.mobile-bottom-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:49px;padding:4px 1px;border:0;background:none;border-radius:10px;color:#c5d1d8;text-decoration:none;line-height:1.2}
 .mobile-bottom-nav .m-nav-icon{font-size:25px;height:29px;line-height:1.1;display:grid;place-items:center;font-family:Arial,sans-serif}
 .mobile-bottom-nav small{font-size:10px;font-weight:700;white-space:nowrap;letter-spacing:0}
 .mobile-bottom-nav .is-active{color:#f2c995;background:#e6b87912}
 .mobile-bottom-nav button:active,.mobile-bottom-nav a:active{transform:scale(.94);background:#caa26b16}
 .mobile-bottom-nav em{position:absolute;right:17%;top:0;display:grid;place-items:center;border-radius:99px;min-width:17px;height:17px;background:#e5b77a;color:#091521;font-size:10px;font-style:normal;font-weight:800}
 .wa-float{display:none!important}
 .pf-audio-dock{z-index:31;bottom:calc(var(--mobile-bar-height) + 12px + env(safe-area-inset-bottom,0px));left:12px;max-width:calc(100vw - 24px)}
 .pf-audio-toggle{min-height:40px}
 .pf-audio-note{display:none}
 .pf-audio-volume{display:none}
 /* Hero y textos: siempre envuelven de forma legible. */
 .hero,.hero-layout{height:auto;min-height:min(590px,calc(100svh - 145px))}
 .hero-layout{padding-block:50px 65px;align-items:flex-start}
 .hero-image{background-position:58% 50%;opacity:.70}
 .hero-shade{background:linear-gradient(90deg,#061523ed,#071622ca 70%,#061522ae),linear-gradient(0deg,#071420 0,transparent 34%)}
 .hero-content{max-width:100%;padding:0;min-width:0}
 .hero h1{font-size:clamp(38px,8.5vw,58px);line-height:1.15;letter-spacing:-.03em;margin-bottom:16px;overflow-wrap:break-word}
 .hero-copy{font-size:14px;line-height:1.67;max-width:100%}
 .hero .eyebrow{font-size:10px;letter-spacing:.14em}
 .hero-ctas{display:grid;grid-template-columns:1fr;gap:10px;margin-top:23px}
 .hero-ctas .btn{width:100%;min-height:49px;border-radius:10px;white-space:normal}
 .hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:23px}
 .hero-stats .stat-line{display:none}
 .hero-stats span:not(.stat-line){padding:12px;min-width:0}
 .hero-stats strong{font-size:19px}
 .hero-stats small{font-size:10px}
 .hero-bottom-label{font-size:8px;left:16px;right:16px;text-align:center;bottom:12px;white-space:normal}
 /* Sellos de garantía, categorías y secciones. */
 .promise-grid{grid-template-columns:1fr 1fr;gap:8px;padding-block:12px}
 .promise-grid>span{min-width:0;padding:11px 9px;grid-template-columns:19px 1fr;column-gap:6px;align-content:start;min-height:66px;font-size:18px;box-shadow:none}
 .promise-grid b{font-size:10px;line-height:1.35}
 .promise-grid small{font-size:9px;line-height:1.35}
 .section{padding-block:43px}
 .section-heading{gap:12px;margin-bottom:20px}
 .section-heading h2{font-size:clamp(30px,7vw,43px);line-height:1.14;overflow-wrap:anywhere}
 .section-heading>p{font-size:13px;line-height:1.6}
 .category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .category-tile{min-width:0;min-height:174px;padding:16px 13px;border-radius:13px}
 .category-tile strong{font-size:clamp(17px,4vw,22px);line-height:1.17;margin:0 0 8px;max-width:92%;overflow-wrap:anywhere}
 .category-tile small{font-size:10.5px;line-height:1.45;max-width:90%}
 .tile-kicker{margin-bottom:28px;font-size:8px;letter-spacing:.11em}
 .tile-icon{top:9px;right:12px;font-size:31px;opacity:.65}
 .tile-arrow{right:12px;bottom:9px}
 .featured-scroller{grid-auto-columns:minmax(176px,56%);gap:11px;scroll-padding:14px;overscroll-behavior-inline:contain;padding-bottom:17px}
 .editorial .section-heading{align-items:flex-start}
 /* Filtros plegables: sin robar espacio al catálogo. */
 .shop-layout{display:flex;flex-direction:column;gap:12px;min-width:0}
 .mobile-filter-row{display:block;order:0}
 .mobile-filter-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:9px 14px;border:1px solid #9879517d;border-radius:13px;background:#152b3e;color:#f1e7d6;text-align:left;box-shadow:0 8px 22px #0003}
 .mobile-filter-toggle .filter-symbol{font-size:25px;color:#e1b781}
 .filter-button-text{display:flex;flex:1;min-width:0;flex-direction:column;font-size:13px;font-weight:800;line-height:1.3}
 .filter-button-text small{display:block;font-size:10px;color:#a9bac4;font-weight:400;margin-top:2px}
 .filter-chevron{font-size:24px;color:#dfb581;transition:transform .2s}
 .filters-open .filter-chevron{transform:rotate(180deg)}
 .filter-panel{display:none!important;position:static;order:1;grid-template-columns:1fr 1fr;gap:8px 12px;padding:16px;border-radius:14px;background:#0d1d2d}
 .filters-open>.filter-panel{display:grid!important}
 .filter-top,.filter-tip{grid-column:1/-1}
 .filter-panel>label:not(.checkline){margin:8px 0 1px;font-size:11px}
 .filter-panel select{min-width:0;width:100%;height:43px}
 .filter-panel .checkline{margin:14px 0 6px}
 .products-area{min-width:0;order:2}
 .products-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:11px;margin:6px 0 14px}
 .category-pills{width:100%;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:7px;padding:2px 0 6px}
 .category-pills::-webkit-scrollbar{display:none}
 .category-pills button{min-height:38px;white-space:nowrap;flex-shrink:0;font-size:11px;padding:7px 11px}
 .sort-wrap{display:flex;align-items:center;gap:8px;width:100%}
 .sort-wrap:before{content:'Ordenar por';font-size:11px;color:#b8c6cf;white-space:nowrap}
 .sort-wrap select{margin-left:auto;width:min(210px,63%);height:42px}
 .product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .product-card{min-width:0;border-radius:13px}
 .product-image{aspect-ratio:1/1.08!important;min-height:0!important;height:auto!important;border-radius:12px 12px 0 0}
 .product-image img{width:94%;height:91%;max-height:91%;max-width:94%;object-fit:contain}
 .product-image .product-chip{max-width:calc(100% - 52px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;padding:4px 7px}
 .favorite{width:34px;height:34px;min-width:34px;min-height:34px;top:8px;right:8px}
 .product-info{padding:11px 10px 12px;display:flex;flex-direction:column;min-height:180px}
 .product-overline{font-size:9px;line-height:1.3;min-height:0;margin-bottom:6px}
 .product-name{font-size:15px;line-height:1.3;min-height:39px;margin-bottom:7px;overflow-wrap:anywhere}
 .product-meta{font-size:9px;line-height:1.35;align-items:flex-start;flex-wrap:wrap;gap:2px 6px;min-height:0}
 .product-meta span{overflow-wrap:break-word}
 .product-bottom{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:auto;padding-top:10px}
 .product-bottom>div{min-width:0}
 .price-main{font-size:clamp(15px,4vw,19px);white-space:normal;overflow-wrap:anywhere;line-height:1.2}
 .price-note{font-size:9px;line-height:1.3;margin-top:3px}
 .card-add{width:100%;min-width:0;height:40px;border-radius:9px;font-size:11px}
 .featured-scroller .product-info{min-height:188px}
 .load-control .btn{min-height:48px}
 /* Secciones de marketing dejan de desbordar. */
 .kit-spotlight{display:flex;flex-direction:column;min-height:0;border-radius:17px}
 .spotlight-copy{padding:27px 22px 8px}
 .spotlight-copy h2{font-size:clamp(30px,7vw,42px)}
 .spotlight-copy p:not(.eyebrow){font-size:13px;line-height:1.65}
 .kit-visual{min-height:175px;height:175px;overflow:hidden}
 .kit-circle{width:140px;height:140px}
 .kit-icon-a{font-size:90px}
 .kit-icon-b{font-size:58px}
 .kit-icon-c{font-size:37px}
 .quiz-card{padding:25px 20px;border-radius:16px;gap:0}
 .quiz-intro h2{font-size:clamp(30px,7vw,43px)}
 .quiz-intro p:not(.eyebrow){font-size:13px;line-height:1.7}
 .quiz-decor{display:none}
 .faq-grid{grid-template-columns:1fr;gap:9px}
 .faq-grid details{padding:14px 15px}
 .faq-grid summary{font-size:13px;line-height:1.5}
 .footer{margin-top:20px}
 .footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 14px;padding-block:34px 24px}
 .footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}
 .footer h4{font-size:15px}
 .footer-bottom{display:flex;flex-direction:column;align-items:center;gap:5px;padding-block:14px 24px;text-align:center;font-size:11px}
 /* Carrito y fichas tipo bottom sheet con área de cierre visible. */
 .drawer{height:100dvh;max-height:100dvh;max-width:100vw;width:100%;border-left:0}
 .drawer-head{padding:13px 16px 12px;flex:none}
 .drawer-head h2{font-size:23px}
 .drawer-head .close-btn,.modal-close{width:42px;height:42px;min-width:42px;min-height:42px}
 .drawer-items{padding:8px 15px;min-height:35px;flex:1;overflow-y:auto}
 .drawer-bottom{flex:0 1 auto;max-height:min(50dvh,430px);overflow-y:auto;padding:12px 16px calc(18px + env(safe-area-inset-bottom,0px))}
 .drawer-bottom .field-group{margin-bottom:9px}
 .cart-item{grid-template-columns:60px minmax(0,1fr);gap:10px;padding:12px 0}
 .cart-item img{width:60px;height:64px}
 .cart-item strong{font-size:14px}
 .cart-qty button{width:35px;height:35px}
 .cart-qty .remove{min-height:34px}
 .amount-row{margin-bottom:3px}
 .amount-total{margin-top:8px;padding-top:7px;margin-bottom:9px}
 .amount-total strong{font-size:20px}
 .drawer-bottom #checkoutBtn{min-height:49px;border-radius:10px}
 .modal-wrapper{padding:0;display:flex;align-items:flex-end;justify-content:center;max-height:100dvh}
 .modal-wrapper[hidden]{display:none!important}
 .modal-box{width:100%;max-width:700px;max-height:94dvh;padding:18px 16px calc(21px + env(safe-area-inset-bottom,0px));border-radius:21px 21px 0 0;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 -20px 60px #000b}
 .modal-close{position:sticky;top:0;float:right;margin-bottom:8px;z-index:12;background:#182d40;box-shadow:0 2px 14px #0007}
 .detail-grid{display:grid;grid-template-columns:1fr;gap:15px}
 .detail-media{clear:both;min-height:0;aspect-ratio:1.35/1;border-radius:12px}
 .detail-media img{max-height:205px;height:88%;width:88%;padding:8px;object-fit:contain}
 .detail-meta{min-width:0}
 .detail-meta h2{font-size:clamp(25px,6vw,35px);overflow-wrap:anywhere}
 .detail-price{font-size:26px}
 .detail-meta select{width:100%;min-width:0;min-height:45px}
 .detail-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:17px}
 .detail-actions .btn{width:100%;min-height:47px;border-radius:10px}
 .specs>div{flex-wrap:wrap}
 .specs span{max-width:62%;overflow-wrap:anywhere}
 .review-form{display:grid;grid-template-columns:1fr;gap:10px}
 .review-form textarea,.review-form button{grid-column:1}
 .review-form input,.review-form select,.review-form textarea{min-height:43px;font-size:14px}
 .note-pyramid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .quiz-modal,.checkout-modal,.account-modal{padding-top:20px}
 .quiz-modal h2,.checkout-modal h2{font-size:clamp(27px,6vw,36px)}
 .quiz-choices{grid-template-columns:1fr;gap:8px}
 .quiz-choices button{min-height:54px;font-size:16px}
 .quiz-result{grid-template-columns:90px 1fr;gap:12px}
 .quiz-result img{width:90px;height:90px}
 .form-grid{grid-template-columns:1fr;gap:11px}
 .form-grid label.wide{grid-column:1}
 .form-grid input,.form-grid textarea{min-height:45px;font-size:16px}
 .payment-options{grid-template-columns:1fr 1fr;gap:8px}
 .payment-options label{min-width:0;line-height:1.45;min-height:48px;display:flex;align-items:center;gap:6px}
 .account-modal input{font-size:16px;min-height:45px}
 .toast{bottom:calc(var(--mobile-bar-height) + 12px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 35px);font-size:12px}
 body.locked .mobile-bottom-nav{visibility:hidden;pointer-events:none}
}
@media(max-width:380px){
 .shell{width:calc(100% - 24px)}
 .brand-words b{font-size:10px}
 .brand-words small{font-size:7.5px}
 .brand-mark{width:36px;height:37px}
 .header-actions{gap:4px}
 .header-actions .icon-btn,.header-actions .cart-header,.header-actions .menu-button{width:38px;min-width:38px;height:40px}
 .hero h1{font-size:clamp(31px,9vw,38px)}
 .hero-stats{gap:7px}
 .category-grid{grid-template-columns:1fr;gap:8px}
 .category-tile{min-height:125px;padding:16px 18px}
 .category-tile strong{max-width:75%;font-size:21px}
 .category-tile small{max-width:76%}
 .tile-kicker{margin-bottom:16px}
 .category-tile .tile-icon{font-size:38px;top:22px;right:23px}
 .product-grid{grid-template-columns:1fr}
 .product-image{aspect-ratio:1.6/1!important}
 .product-info{min-height:0;padding:14px}
 .product-name{font-size:19px;min-height:0}
 .product-bottom{flex-direction:row;align-items:end}
 .product-bottom .card-add{max-width:110px}
 .featured-scroller{grid-auto-columns:72%}
 .featured-scroller .product-image{aspect-ratio:1/1!important}
 .featured-scroller .product-bottom{flex-direction:column}
 .featured-scroller .product-bottom .card-add{max-width:none}
 .mobile-bottom-nav small{font-size:9px}
 .payment-options{grid-template-columns:1fr}
}
@media(max-height:600px) and (max-width:850px){
 .hero,.hero-layout{min-height:0}
 .hero-layout{padding-block:30px 40px}
 .drawer-bottom{max-height:58dvh}
 .modal-box{max-height:96dvh}
}
@media(prefers-reduced-motion:reduce){.mobile-bottom-nav *,.mobile-filter-toggle *{animation:none!important;transition:none!important}}
