*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbf7f1;color:#17130f;font-family:Arial,sans-serif}header{height:92px;display:flex;align-items:center;gap:38px;padding:12px 6%;background:#fffaf4;position:sticky;top:0;z-index:10;border-bottom:1px solid #eadfd5}.logo{width:205px;max-height:70px;object-fit:contain}nav{display:flex;gap:27px;margin:auto}nav a{color:#211b17;text-decoration:none;text-transform:uppercase;font-size:12px;letter-spacing:.08em}button{background:none;border:0;cursor:pointer}.hero{height:600px;background:url('assets/hero.jpeg') center 32%/cover no-repeat;position:relative}.shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(30,15,7,.78),rgba(30,15,7,.18) 55%,rgba(30,15,7,.05))}.heroText{position:absolute;left:7%;top:18%;color:white;max-width:500px}.hero h1{font:64px Georgia,serif;line-height:.95;margin:0 0 25px}.hero em{font-weight:normal}.hero p{font-size:18px;line-height:1.6}.btn{display:inline-block;background:#d9b29f;color:#1c1511;padding:17px 30px;text-decoration:none;margin-top:12px;letter-spacing:.08em;font-size:13px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 6%;background:#fffaf4;text-align:center;border-bottom:1px solid #eadfd5;font-size:13px}.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:24px 3%}.cats article{height:390px;background-size:cover;background-position:center;position:relative}.cats article:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(25,12,5,.8))}.cats article div{position:absolute;z-index:1;left:30px;right:25px;bottom:25px;color:#fff}.cats h2,.products h2,.salon h2{font:44px Georgia,serif;margin:0 0 8px}.cats p{line-height:1.5}.cats a{color:#fff;font-size:30px;text-decoration:none}.make{background:linear-gradient(135deg,#caa995,#6e493b)!important}.products{padding:70px 5%;text-align:center;background:#fff}.eyebrow{letter-spacing:.16em;font-size:12px;color:#a57f69}.products>p{color:#65584f}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:35px;text-align:left}.card{border:1px solid #eadfd5;padding:22px;background:#fffaf7;min-height:285px;display:flex;flex-direction:column}.card .tag{font-size:11px;letter-spacing:.12em;color:#b07c72}.card h3{font:24px Georgia,serif;margin:12px 0}.card p{font-size:14px;line-height:1.5;color:#6c5d55}.price{font-size:20px;font-weight:bold;margin-top:auto}.actions{display:flex;gap:8px;margin-top:15px}.actions button,.actions a{padding:11px 12px;border:1px solid #cfa79a;text-decoration:none;color:#241a15;font-size:12px}.actions button{background:#e8c0ba}.salon{display:grid;grid-template-columns:1fr 1fr;align-items:center}.salon img{width:100%;height:540px;object-fit:cover}.salon>div{padding:8%}.dark{background:#1f1814;color:#fff}footer{padding:45px 6%;text-align:center;background:#d5b39e}footer img{width:210px}footer a{color:#1c1511}.drawer{position:fixed;right:-420px;top:0;width:400px;max-width:90vw;height:100vh;background:#fff;z-index:30;padding:35px;box-shadow:-8px 0 30px #0002;transition:.3s;overflow:auto}.drawer.open{right:0}#close{font-size:30px;float:right}.cartItem{padding:12px 0;border-bottom:1px solid #ddd}.cartItem button{float:right}#waOrder{width:100%;text-align:center;margin-top:25px}@media(max-width:850px){header{height:auto;flex-wrap:wrap}.logo{width:170px}nav{order:3;overflow:auto;width:100%;padding:10px 0}.hero{height:520px}.hero h1{font-size:46px}.benefits{grid-template-columns:1fr 1fr;gap:18px}.cats,.grid{grid-template-columns:1fr 1fr}.salon{grid-template-columns:1fr}}@media(max-width:560px){.cats,.grid{grid-template-columns:1fr}.heroText{left:8%;right:8%}.hero h1{font-size:42px}.benefits{grid-template-columns:1fr}.cats article{height:330px}}
.productImg{width:100%;height:210px;object-fit:contain;background:#f8f1e9;border-radius:8px;margin-bottom:18px}.card{min-height:520px}.actions button{font-family:inherit}.backdrop{position:fixed;inset:0;background:#0006;z-index:25;opacity:0;pointer-events:none;transition:.25s}.backdrop.show{opacity:1;pointer-events:auto}.drawer{display:flex;flex-direction:column;padding:0;width:440px;right:-470px}.cartHead{display:flex;justify-content:space-between;align-items:flex-start;padding:28px 30px 20px;border-bottom:1px solid #eadfd5}.cartHead h2{font:34px Georgia,serif;margin:4px 0}.cartHead .eyebrow{margin:0}.cartHead #close{float:none;line-height:1}.drawer #items{padding:0 30px;flex:1;overflow:auto}.cartItem{display:grid;grid-template-columns:70px 1fr auto;gap:14px;align-items:center;padding:18px 0}.cartItem img{width:70px;height:82px;object-fit:contain;background:#f8f1e9;border-radius:6px}.cartInfo{display:flex;flex-direction:column;gap:5px}.cartInfo strong{font:17px Georgia,serif}.cartInfo span{font-size:13px;color:#6c5d55}.qty{display:flex;align-items:center;gap:10px;margin-top:5px}.qty button{border:1px solid #d8c5b8;width:28px;height:28px;border-radius:50%}.qty .remove{width:auto;border:0;border-radius:0;text-decoration:underline;color:#8d6655;font-size:11px}.cartFooter{padding:20px 30px 30px;border-top:1px solid #eadfd5;background:#fffaf7}.totalRow{display:flex;justify-content:space-between;font-size:20px}.cartNote{font-size:12px;color:#74655c;line-height:1.4}.cartFooter #waOrder{display:block;margin-top:12px}.cartFooter #waOrder.disabled{opacity:.45;pointer-events:none}.empty{text-align:center;color:#76665d;padding:45px 0}@media(max-width:560px){.productImg{height:250px}.card{min-height:0}.drawer{width:100%;max-width:100vw}.cartHead,.drawer #items,.cartFooter{padding-left:20px;padding-right:20px}.cartItem{grid-template-columns:60px 1fr}.cartItem>strong:last-child{grid-column:2}.cartItem img{width:60px;height:72px}}
.makeupProducts{background:#fbf7f1;border-top:1px solid #eadfd5}.variantLabel{font-size:11px;letter-spacing:.08em;color:#8d6655;margin:6px 0}.variantSelect{width:100%;padding:10px;border:1px solid #d8c5b8;background:#fff;color:#241a15;margin-bottom:12px}.makeupProducts .productImg{background:#fff}
/* Ajustes de presentación de Maquillaje: mantiene intacto el resto de la tienda */
.makeupProducts{padding-left:max(5%,24px);padding-right:max(5%,24px);overflow:hidden}
.makeupProducts .grid{width:100%;max-width:1440px;margin:35px auto 0;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.makeupProducts .card{min-width:0;width:100%;padding:18px;min-height:500px;overflow:hidden}
.makeupProducts .productImg{display:block;width:100%;height:250px;object-fit:contain;object-position:center;background:#fff;padding:12px;border-radius:8px;margin:0 0 18px}
.makeupProducts .card h3{font-size:22px;line-height:1.18;overflow-wrap:anywhere}
.makeupProducts .variantSelect{max-width:100%;font-size:13px}
.makeupProducts .actions{flex-wrap:wrap}
@media(max-width:1100px){.makeupProducts .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.makeupProducts .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.makeupProducts{padding-left:16px;padding-right:16px}.makeupProducts .grid{grid-template-columns:1fr}.makeupProducts .productImg{height:280px}.makeupProducts .card{min-height:0}}

/* Ajuste final exclusivo de fotografías de maquillaje */
.makeupProducts .productImg{height:260px;padding:6px;object-fit:contain;object-position:center;background:#fff}
@media(max-width:560px){.makeupProducts .productImg{height:300px}}

/* Corrección aprobada: ampliar fotos de maquillaje que tenían demasiado margen blanco */
.makeupProducts .productImg[src$="makeup-phat.jpg"],
.makeupProducts .productImg[src$="makeup-dipit.jpg"],
.makeupProducts .productImg[src$="makeup-ultrafine.jpg"],
.makeupProducts .productImg[src$="makeup-brillo-magico.jpg"],
.makeupProducts .productImg[src$="makeup-corrector.jpg"],
.makeupProducts .productImg[src$="makeup-maquillaje-liquido.jpg"],
.makeupProducts .productImg[src$="makeup-alta-cobertura.jpg"],
.makeupProducts .productImg[src$="makeup-rubor.jpg"]{
  object-fit:cover;
  object-position:center;
  padding:0;
}

/* Carrito final: simple, claro y optimizado para móvil */
#cartBtn{display:flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid #dfc9bd;border-radius:999px;font-size:13px;white-space:nowrap}
#cartBtn #count{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#e8c0ba;font-size:12px}
.cartIntro{margin:5px 0 0;color:#74655c;font-size:12px;line-height:1.45}.drawer{width:460px;right:-490px}.cartItem{grid-template-columns:76px minmax(0,1fr) auto;gap:15px}.cartItem img{width:76px;height:90px;background:#fff;border:1px solid #eee4dd}.cartInfo strong{font-size:18px}.qty{gap:8px;flex-wrap:wrap}.qty button:not(.remove){display:grid;place-items:center;width:32px;height:32px;font-size:18px;background:#fff}.qty .remove{margin-left:4px}.summaryRow,.totalRow{display:flex;justify-content:space-between;align-items:center}.summaryRow{font-size:14px;color:#74655c;margin-bottom:8px}.totalRow{padding-top:12px;border-top:1px solid #e5d7ce;font-size:21px}.cartFooter #waOrder{width:100%;padding:15px 16px;text-align:center;margin-top:14px}.continueBtn{width:100%;min-height:44px;margin-top:9px;border:1px solid #d9b29f;background:#fff;color:#241a15;letter-spacing:.06em;font-size:12px}.empty:before{content:'🛍️';display:block;font-size:34px;margin-bottom:10px}
@media(max-width:560px){.drawer{width:100%;right:-105%;}.cartHead{padding-top:20px}.cartHead h2{font-size:30px}.cartItem{grid-template-columns:64px minmax(0,1fr);gap:12px}.cartItem img{width:64px;height:76px}.cartItem>strong:last-child{grid-column:2;text-align:left}.cartFooter{padding-bottom:24px}#waOrder{min-height:48px}}

/* Categorías aprobadas: arte completo, sin texto HTML duplicado */
.cats article.approvedCategory{background-size:cover;background-position:center;position:relative}
.cats article.approvedCategory::before{display:none}
.cats article.approvedCategory .categoryHit{position:absolute;inset:0;display:block;z-index:3}
