:root{--rose:#d77d7d;--deep:#6f3834;--soft:#fff3f3;--footer:#f2d5d2;--text:#252020}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;background:linear-gradient(180deg,#fff7f7 0%,#fffafa 45%,#fff4f4 100%);color:var(--text)}.topbar{height:70px;background:#fff7f7e8;backdrop-filter:blur(8px);border-bottom:1px solid #edd5d3;display:flex;align-items:center;justify-content:space-between;padding:0 8%;position:sticky;top:0;z-index:10}.brand{font-family:'Great Vibes',cursive;color:var(--deep);font-size:38px;text-decoration:none}.nav{display:flex;gap:48px;align-items:center}.nav a{color:#4d2422;text-decoration:none;font-family:'Playfair Display',serif;font-size:18px}.nav a:hover{color:var(--rose)}.icons{display:flex;align-items:center;gap:20px;color:var(--deep);font-size:24px}.icons button{border:0;background:transparent;color:var(--deep);font-size:34px;cursor:pointer}.cart{font-size:20px}.cart b{font-size:13px;background:var(--rose);color:white;padding:3px 7px;border-radius:999px}.hero{min-height:485px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,#fff 0 24%,#fff7f7 45%,#fff2f2 100%);position:relative;overflow:hidden}.hero:before,.hero:after{content:"";position:absolute;width:320px;height:460px;background:radial-gradient(ellipse at center,rgba(236,170,160,.32),transparent 62%);opacity:.55;filter:blur(1px)}.hero:before{left:-60px;bottom:0}.hero:after{right:-60px;top:40px}.hero-logo{width:min(620px,80vw);height:auto;mix-blend-mode:multiply;position:relative;z-index:1}.products-section{max-width:1300px;margin:-18px auto 0;padding:0 24px 28px;text-align:center}.products-section h1,.about h2{font-family:'Playfair Display',serif;color:#7c3f3a;font-size:38px;margin:0}.subtitle{margin:6px 0 14px;font-size:16px}.subtitle span{color:#efadad}.controls{display:flex;justify-content:center;gap:10px;margin:14px 0 18px;flex-wrap:wrap}.controls input,.controls select,.admin-box input,.admin-box select{border:1px solid #ead0cd;border-radius:10px;padding:11px 12px;background:white;font:inherit}.admin-open,.admin-box button{border:0;border-radius:10px;background:var(--rose);color:white;font-weight:700;padding:11px 16px;cursor:pointer}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}.card{background:#fff;border-radius:8px;overflow:hidden;text-align:left;box-shadow:0 3px 9px #00000022;border:1px solid #eee}.photo{height:235px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eee}.photo img{width:100%;height:100%;object-fit:cover}.card-body{padding:16px}.card h3{font-size:16px;margin:0 0 12px;font-weight:600}.price{font-weight:700;margin-bottom:9px}.stock{font-size:14px;font-weight:700;margin:0 0 9px}.stock.high{color:#39a454}.stock.medium{color:#f19a00}.stock.low{color:red}.sizes{display:flex;gap:9px;margin:10px 0 14px}.sizes span{background:#f5eeee;border-radius:50%;min-width:28px;height:28px;display:grid;place-items:center;font-weight:700;font-size:13px}.wa-btn{display:block;background:var(--rose);color:white;text-align:center;text-decoration:none;border-radius:6px;padding:12px 10px;font-weight:700;box-shadow:0 3px 0 #c96c6c}.wa-btn:hover{filter:brightness(.96)}.about{text-align:center;padding:34px 20px}.about h2{font-size:26px}.footer{background:var(--footer);display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;padding:32px 10% 22px;color:#5f3936;position:relative}.footer h3{font-family:'Playfair Display',serif;font-size:22px;margin:0 0 12px}.footer a{display:block;color:#5f3936;text-decoration:none;margin:6px 0}.social{font-size:28px;color:var(--rose);letter-spacing:18px}.copy{grid-column:1/-1;text-align:center;margin:10px 0 0;font-size:14px}.float-wa{position:fixed;right:36px;bottom:34px;width:72px;height:72px;border-radius:50%;background:var(--rose);color:white;text-decoration:none;display:grid;place-items:center;font-size:42px;box-shadow:0 7px 18px #0003;z-index:20}.admin-dialog{border:0;border-radius:18px;padding:0;box-shadow:0 20px 70px #0005}.admin-box{width:min(440px,92vw);padding:24px;display:flex;flex-direction:column;gap:10px}.close{align-self:flex-end;background:#eee!important;color:#333!important;padding:5px 10px!important}.hint{font-size:13px;margin:0;color:#777}.danger{background:#7c3f3a!important}@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.nav{gap:18px}.topbar{padding:0 4%}.hero{min-height:380px}}@media(max-width:640px){.topbar{height:auto;min-height:72px;flex-wrap:wrap;gap:6px;padding:10px 16px}.nav{order:3;width:100%;justify-content:center;gap:18px;flex-wrap:wrap}.brand{font-size:32px}.hero{min-height:300px}.hero-logo{width:92vw}.grid{grid-template-columns:1fr;gap:20px}.footer{grid-template-columns:1fr}.float-wa{width:60px;height:60px;font-size:34px;right:18px;bottom:20px}.products-section h1{font-size:30px}}
.cart{border:0;background:transparent;cursor:pointer;color:var(--deep);font:inherit}.cart-dialog{border:0;border-radius:18px;padding:0;box-shadow:0 20px 70px #0005}.cart-box{width:min(720px,94vw);max-height:88vh;overflow:auto;padding:24px;background:white}.cart-box h2,.cart-box h3{font-family:'Playfair Display',serif;color:#7c3f3a;margin:0 0 12px}.cart-items{display:flex;flex-direction:column;gap:12px}.cart-row{display:grid;grid-template-columns:72px 1fr auto auto;gap:12px;align-items:center;border:1px solid #f0d7d4;border-radius:12px;padding:10px;background:#fffafa}.cart-row img{width:72px;height:72px;object-fit:cover;border-radius:10px}.cart-row p{margin:3px 0;color:#6f5652;font-size:13px}.qty{display:flex;align-items:center;gap:8px}.qty button,.remove,.cart-actions button,.add-cart{border:0;border-radius:10px;background:var(--rose);color:white;font-weight:700;padding:10px 12px;cursor:pointer}.qty button{width:34px;height:34px;padding:0}.remove,.secondary{background:#f2d5d2!important;color:#6f3834!important}.cart-total{text-align:right;font-size:22px;margin:16px 0;color:#6f3834}.client-form{border-top:1px solid #f0d7d4;padding-top:14px;display:grid;gap:10px}.client-form input{border:1px solid #ead0cd;border-radius:10px;padding:12px;font:inherit}.vip-check{display:flex;gap:8px;align-items:flex-start;color:#5f3936;font-size:14px}.cart-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:14px}.cart-note,.empty{font-size:13px;color:#80615c}.product-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.add-cart{display:block;width:100%;box-shadow:0 3px 0 #c96c6c}.size-choice input{position:absolute;opacity:0}.size-choice span{border:1px solid transparent;cursor:pointer}.size-choice input:checked+span{background:#d77d7d;color:white;border-color:#bf6868}.shipping{max-width:1050px;margin:20px auto;padding:28px;border-radius:18px;background:#fff;border:1px solid #f0d7d4;text-align:center;box-shadow:0 5px 18px #00000012}.shipping h2{font-family:'Playfair Display',serif;color:#7c3f3a;margin:0 0 10px}.shipping p{margin:0;color:#5f3936;font-size:17px}.admin-list{display:grid;gap:10px;max-height:260px;overflow:auto}.admin-card{background:#fffafa;border:1px solid #f0d7d4;border-radius:12px;padding:10px}.admin-card strong{display:block;color:#6f3834}.admin-card small{display:block;color:#8b7470;margin:3px 0}.admin-card p{margin:4px 0;font-size:13px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);background:#6f3834;color:white;padding:12px 18px;border-radius:999px;opacity:0;pointer-events:none;transition:.25s;z-index:99}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}@media(max-width:640px){.cart-row{grid-template-columns:62px 1fr}.cart-row img{width:62px;height:62px}.qty,.remove{grid-column:2}.product-actions{grid-template-columns:1fr}.cart-actions{justify-content:stretch}.cart-actions button{width:100%}}
.vip-promo{max-width:1050px;margin:20px auto;padding:30px;border-radius:22px;background:linear-gradient(135deg,#fff,#fff1f1);border:1px solid #f0d7d4;box-shadow:0 8px 24px #00000012;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#5f3936}.vip-promo h2{font-family:'Playfair Display',serif;color:#7c3f3a;margin:8px 0 8px;font-size:30px}.vip-promo p{margin:0;font-size:16px;line-height:1.5}.vip-badge{display:inline-block;background:#d77d7d;color:white;border-radius:999px;padding:7px 12px;font-weight:800;font-size:13px;letter-spacing:.4px}.vip-promo button{border:0;border-radius:12px;background:#d77d7d;color:white;font-weight:800;padding:13px 18px;cursor:pointer;white-space:nowrap;box-shadow:0 4px 0 #c96c6c}.cart-summary{background:#fffafa;border:1px solid #f0d7d4;border-radius:14px;padding:12px 14px;margin:16px 0;color:#6f3834;display:grid;gap:6px;text-align:right}.cart-summary #vipDiscountLine{color:#39a454;font-weight:700}.vip-help{margin:0!important;background:#fff3f3;border-left:4px solid #d77d7d;border-radius:10px;padding:10px 12px;color:#6f3834!important;font-size:13px!important;line-height:1.4}@media(max-width:640px){.vip-promo{margin:16px;padding:22px;display:block;text-align:center}.vip-promo button{margin-top:16px;width:100%}.cart-summary{text-align:left}}

.features{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;padding:10px 20px}.rating-box,.visit-box,#countdown{background:#fff;padding:10px 14px;border-radius:12px;box-shadow:0 2px 8px #0001}.shipping-banner{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center;background:#fff;padding:20px;border-radius:18px;max-width:1000px;margin:auto}.shipping-banner img{width:100%;border-radius:14px;object-fit:cover}.favbtn{margin-top:8px}.badge{position:absolute;background:#d77d7d;color:#fff;padding:4px 8px;border-radius:8px;margin:8px}.card{position:relative}
.shipping-banner img{width:320px;max-width:45%;height:220px;object-fit:cover;border-radius:14px;box-shadow:0 8px 20px rgba(0,0,0,.15)}
.star-row{color:#f5b301;font-size:20px;letter-spacing:2px;margin:8px 0;font-weight:700;cursor:pointer}.star-row span{cursor:pointer}
.product-actions .wa-btn{display:none}

/* Correcciones finales Hope Moda */
.product-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:10px}
.rating-product{margin:10px 0 12px;padding:9px 10px;border-radius:12px;background:#fff7f7;border:1px solid #f2dcda}
.stars-clickable{display:flex;gap:3px;align-items:center}
.star-btn{border:0;background:transparent;color:#d9c8bf;font-size:24px;line-height:1;cursor:pointer;padding:0 2px;transition:transform .12s,color .12s}
.star-btn.active{color:#f5b301}.stars-clickable:hover .star-btn{color:#f5b301}.stars-clickable .star-btn:hover~.star-btn{color:#d9c8bf}.star-btn:hover{transform:scale(1.14)}
.rating-count{font-size:12px;color:#7a5a55;margin-top:5px;font-weight:700}
.favbtn{border:1px solid #f0d7d4;background:#fff;color:#6f3834;border-radius:10px;padding:9px 11px;font-weight:700;cursor:pointer;margin:0 0 10px;width:100%}
.low-note{color:red;font-size:13px;font-weight:700;margin:6px 0 10px}
.shipping{padding:14px;background:transparent;border:0;box-shadow:none}
.shipping-banner{grid-template-columns:minmax(280px,420px) 1fr;gap:26px;text-align:left;overflow:hidden}
.shipping-banner img{width:100%;max-width:none;height:260px;object-fit:cover;object-position:center;border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.shipping-banner h2{font-size:32px}
.vip-arrival{background:#fff;padding:10px 14px;border-radius:12px;box-shadow:0 2px 8px #0001;color:#6f3834}
.vip-arrival h3{margin:0 0 4px;font-size:15px}.vip-arrival p{margin:0;font-size:13px}
@media(max-width:720px){.shipping-banner{grid-template-columns:1fr;text-align:center}.shipping-banner img{height:240px}.shipping-banner h2{font-size:27px}}

/* Admin promociones y categorías */
.admin-box textarea{border:1px solid #ead0cd;border-radius:10px;padding:11px 12px;background:white;font:inherit;resize:vertical;min-height:78px}
.admin-box{max-height:88vh;overflow:auto}
.admin-label{font-size:12px;font-weight:800;color:#6f3834;margin-top:2px}
.admin-check{display:flex;gap:8px;align-items:center;font-size:14px;color:#6f3834;background:#fffafa;border:1px solid #f0d7d4;border-radius:10px;padding:10px 12px}
.admin-actions,.category-admin-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
.category-admin-row{grid-template-columns:1fr auto}
.secondary-admin{background:#f2d5d2!important;color:#6f3834!important}
.category-list{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.category-pill{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fffafa;border:1px solid #f0d7d4;border-radius:12px;padding:9px 10px;color:#6f3834}
.category-pill small{color:#8b7470;font-size:11px;margin-left:5px}
.category-pill button{padding:7px 10px!important;background:#7c3f3a!important;color:white!important}
.category-pill button:disabled{opacity:.45;cursor:not-allowed}
.promo-banner{width:min(1050px,94vw);background:linear-gradient(135deg,#7c3f3a,#d77d7d);color:white;border-radius:18px;padding:16px 18px;box-shadow:0 8px 24px #0002;display:flex;justify-content:space-between;gap:18px;align-items:center;text-align:left}
.promo-banner p{margin:5px 0 0;line-height:1.35}.promo-side{text-align:right;display:grid;gap:4px;min-width:140px}.promo-side b{font-size:26px}.promo-side span{font-size:13px}
.cart-summary #promoDiscountLine{color:#39a454;font-weight:700}
@media(max-width:640px){.admin-actions,.category-admin-row{grid-template-columns:1fr}.promo-banner{display:block;text-align:center}.promo-side{text-align:center;margin-top:10px}}


/* Categorías principales y más vendidos */
.category-showcase,.best-sellers{padding:65px 8% 30px;text-align:center}.category-showcase h1,.best-sellers h1{font-family:'Playfair Display',serif;color:var(--deep);font-size:42px;margin:0 0 8px}.category-hero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}.category-hero-card{min-height:360px;border:0;border-radius:30px;overflow:hidden;position:relative;text-align:left;padding:32px;display:flex;flex-direction:column;justify-content:flex-end;cursor:pointer;box-shadow:0 18px 45px #6f38342a;background-size:cover;background-position:center;color:white;transition:transform .18s}.category-hero-card:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#00000010,#00000078)}.category-hero-card>*{position:relative;z-index:1}.category-hero-card span{font-size:15px;letter-spacing:.08em;text-transform:uppercase}.category-hero-card strong{font-family:'Playfair Display',serif;font-size:42px;line-height:1;margin:10px 0}.category-hero-card small{font-size:16px;max-width:360px}.category-hero-card:hover{transform:translateY(-4px)}.category-woman{background-image:url('https://images.unsplash.com/photo-1485968579580-b6d095142e6e?auto=format&fit=crop&w=1200&q=85')}.category-man{background-image:url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1200&q=85')}.best-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:26px;margin-top:25px}.best-card{border:2px solid #f0c8c3}@media(max-width:760px){.category-hero-grid{grid-template-columns:1fr}.category-hero-card{min-height:280px}.category-hero-card strong{font-size:34px}}

.order-status{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#f2d5d2;color:#6f3834;font-size:12px}.admin-card select{width:100%;border:1px solid #ead0cd;border-radius:10px;padding:10px;margin:5px 0 8px;background:white;color:#5f3936}.admin-card details{margin-top:6px}.admin-card summary{cursor:pointer;font-weight:700;color:#7c3f3a}
.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0}.admin-stats div{background:#fffafa;border:1px solid #f0d7d4;border-radius:12px;padding:12px;text-align:center}.admin-stats strong{display:block;color:#6f3834;font-size:20px}.admin-stats span{display:block;color:#8b7470;font-size:12px}.discount-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}.discount-rules label{font-size:12px;color:#6f3834;font-weight:700}.discount-rules input,.customer-card input,.customer-card textarea{width:100%;box-sizing:border-box;border:1px solid #ead0cd;border-radius:10px;padding:10px;margin-top:4px;font:inherit}.discount-rules button{grid-column:1/-1;border:0;border-radius:10px;background:#d77d7d;color:white;font-weight:800;padding:11px;cursor:pointer}.customers-list{max-height:420px}.customer-card textarea{resize:vertical}@media(max-width:640px){.admin-stats,.discount-rules{grid-template-columns:1fr}}

/* Admin organizado por menú */
.admin-dialog{width:min(1180px,96vw)}
.admin-box{width:min(1180px,96vw);max-height:92vh;overflow:auto;padding:24px;background:white}
.admin-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #f0d7d4;background:#fffafa;border-radius:16px;padding:14px;margin:8px 0 12px}
.admin-dashboard-head h3{margin:0;color:#6f3834;font-family:'Playfair Display',serif;font-size:24px}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:0;background:white;z-index:3;padding:10px 0;border-bottom:1px solid #f0d7d4;margin-bottom:12px}
.admin-tab{border:1px solid #f0d7d4!important;background:#fffafa!important;color:#6f3834!important;border-radius:999px!important;padding:10px 14px!important;font-weight:800!important;box-shadow:none!important}
.admin-tab.active{background:#d77d7d!important;color:white!important;border-color:#d77d7d!important}
.admin-section{display:none;border:1px solid #f0d7d4;border-radius:16px;padding:16px;background:#fff}
.admin-section.active{display:grid;gap:10px}
.admin-section h3{font-family:'Playfair Display',serif;color:#7c3f3a;margin:0 0 4px;font-size:24px}
.admin-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}
.admin-list-large{max-height:520px}
.customer-discount-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}
.customer-discount-grid select{width:100%;border:1px solid #ead0cd;border-radius:10px;padding:10px;margin-top:4px;background:white;font:inherit;color:#5f3936}
@media(max-width:760px){.admin-dashboard-head,.admin-mini-grid,.customer-discount-grid{grid-template-columns:1fr;display:grid}.admin-tabs{position:static}.admin-tab{width:100%}.admin-box{padding:16px}.admin-section{padding:12px}}

/* Admin en pestañas separadas */
.nav .nav-admin{border:0;background:#d77d7d;color:white;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer;box-shadow:0 3px 0 #c96c6c}
.nav .nav-admin:hover{filter:brightness(.96)}
.admin-dialog{width:min(1220px,97vw)!important;max-width:97vw!important}
.admin-box{width:min(1220px,97vw)!important;height:min(88vh,840px);max-height:88vh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;gap:10px!important}
#adminPanel{min-height:0;display:flex;flex-direction:column;gap:10px;flex:1}
#adminPanel[hidden]{display:none!important}
.admin-dashboard-head{flex:0 0 auto!important}
.admin-tabs{flex:0 0 auto;display:flex!important;gap:8px!important;flex-wrap:wrap!important;position:sticky!important;top:0!important;background:white!important;z-index:10!important;padding:10px 0 12px!important;border-bottom:1px solid #f0d7d4!important;margin-bottom:0!important}
.admin-tab{border:1px solid #f0d7d4!important;background:#fffafa!important;color:#6f3834!important;border-radius:999px!important;padding:11px 16px!important;font-weight:900!important;cursor:pointer!important}
.admin-tab.active{background:#d77d7d!important;color:white!important;border-color:#d77d7d!important;box-shadow:0 4px 12px #d77d7d40!important}
.admin-section{display:none!important;min-height:0;overflow:auto;border:1px solid #f0d7d4;border-radius:18px;padding:18px;background:#fff;box-shadow:inset 0 0 0 1px #fff7f6}
.admin-section.active{display:block!important;flex:1!important;animation:adminFade .16s ease}
.admin-section.active>*+*{margin-top:10px}
.admin-list,.admin-list-large,.customers-list{max-height:none!important;overflow:visible!important}
@keyframes adminFade{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.nav .nav-admin{padding:9px 13px}.admin-box{height:92vh!important}.admin-tabs{position:static!important;display:grid!important;grid-template-columns:1fr 1fr!important}.admin-tab{width:100%!important;padding:10px!important}.admin-section{padding:13px!important}}

.customer-inline-promo{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:end;
  margin-bottom:10px;
  padding:10px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
}
.customer-inline-promo select{width:100%;}
@media(max-width:700px){.customer-inline-promo{grid-template-columns:1fr;}.customer-inline-promo button{width:100%;}}


/* MEJORA FINAL móvil: categorías lado a lado y clientes con ID */
.customer-search-input{width:100%;box-sizing:border-box;border:1px solid #ead0cd;border-radius:14px;padding:12px 14px;font:inherit;margin:6px 0 12px;background:#fffafa;color:#5f3936}
.customer-id-badge{display:inline-block;background:#7c3f3a;color:white;border-radius:999px;padding:6px 12px;font-weight:800;margin-bottom:8px;letter-spacing:.02em}
.customer-id-badge b{color:white}
@media(max-width:760px){
  .category-showcase{padding:28px 4% 18px!important}
  .category-showcase h1{font-size:28px!important;margin-bottom:4px!important}
  .category-showcase .subtitle{font-size:13px!important;margin:0 auto 10px!important;line-height:1.25!important}
  .category-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:14px!important}
  .category-hero-card{min-height:172px!important;border-radius:18px!important;padding:14px 10px!important;box-shadow:0 10px 24px #6f38342a!important}
  .category-hero-card span{font-size:10px!important;letter-spacing:.05em!important}
  .category-hero-card strong{font-size:22px!important;line-height:1.02!important;margin:6px 0!important}
  .category-hero-card small{font-size:11px!important;line-height:1.25!important;max-width:100%!important}
}
@media(max-width:390px){
  .category-hero-card{min-height:155px!important;padding:12px 8px!important}
  .category-hero-card strong{font-size:20px!important}
  .category-hero-card small{font-size:10px!important}
}

/* AJUSTE REAL: categorías en 2 columnas en teléfonos */
@media (max-width: 760px){
  #categorias.category-showcase{
    padding:22px 3.5% 14px!important;
  }
  #categorias.category-showcase h1{
    font-size:26px!important;
    line-height:1.05!important;
    margin:0 0 6px!important;
  }
  #categorias.category-showcase .subtitle{
    font-size:12px!important;
    line-height:1.2!important;
    margin:0 auto 10px!important;
  }
  #categorias .category-hero-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;
    margin-top:10px!important;
    align-items:stretch!important;
  }
  #categorias .category-hero-card{
    width:100%!important;
    min-width:0!important;
    min-height:165px!important;
    height:165px!important;
    border-radius:18px!important;
    padding:12px 9px!important;
    background-size:cover!important;
    background-position:center!important;
    box-shadow:0 8px 20px rgba(111,56,52,.20)!important;
  }
  #categorias .category-hero-card span{
    font-size:9px!important;
    line-height:1.1!important;
    letter-spacing:.06em!important;
  }
  #categorias .category-hero-card strong{
    font-size:20px!important;
    line-height:1.02!important;
    margin:5px 0!important;
  }
  #categorias .category-hero-card small{
    display:block!important;
    font-size:10px!important;
    line-height:1.18!important;
    max-width:100%!important;
  }
}
@media (max-width: 390px){
  #categorias .category-hero-card{
    min-height:150px!important;
    height:150px!important;
    padding:10px 7px!important;
    border-radius:16px!important;
  }
  #categorias .category-hero-card strong{font-size:18px!important;}
  #categorias .category-hero-card small{font-size:9px!important;}
}

/* Productos más pequeños en teléfono + galería pantalla completa */
.card{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00000024}.photo{position:relative}.photo-count,.tap-hint{position:absolute;border-radius:999px;background:rgba(111,56,52,.86);color:white;font-size:11px;font-weight:800;padding:5px 8px}.photo-count{top:8px;right:8px}.tap-hint{left:8px;bottom:8px;background:rgba(215,125,125,.9)}.gallery-dialog{border:0;padding:0;background:transparent;width:100vw;max-width:100vw;height:100vh;max-height:100vh}.gallery-dialog::backdrop{background:rgba(0,0,0,.88)}.gallery-box{position:relative;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;padding:54px 14px 76px}.gallery-box img{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px;box-shadow:0 15px 55px rgba(0,0,0,.35)}.gallery-close{position:fixed;right:16px;top:14px;width:44px;height:44px;border:0;border-radius:50%;background:white;color:#6f3834;font-size:30px;font-weight:900;cursor:pointer;z-index:5}.gallery-nav{position:fixed;top:50%;transform:translateY(-50%);width:48px;height:60px;border:0;border-radius:16px;background:rgba(255,255,255,.92);color:#6f3834;font-size:42px;font-weight:900;cursor:pointer;z-index:5}.gallery-prev{left:12px}.gallery-next{right:12px}.gallery-info{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.94);color:#6f3834;border-radius:999px;padding:10px 16px;max-width:92vw}.gallery-info strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62vw}.gallery-info span{font-weight:800;color:#d77d7d;white-space:nowrap}
@media(max-width:640px){
  .products-section{padding-left:10px!important;padding-right:10px!important}
  .products-section h1{font-size:26px!important;margin-bottom:4px!important}
  .products-section .subtitle{font-size:13px!important;margin-bottom:12px!important}
  .controls{gap:8px!important;margin-bottom:14px!important}
  #productGrid.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  #bestSellerGrid.best-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .card{border-radius:12px!important;box-shadow:0 3px 10px #00000018!important;overflow:hidden!important}
  .photo{height:130px!important}
  .card-body{padding:8px!important}
  .card h3{font-size:12px!important;line-height:1.1!important;margin:0 0 4px!important;min-height:26px!important}
  .price{font-size:15px!important;margin-bottom:2px!important}
  .stock{font-size:11px!important;margin:3px 0!important}
  .rating-product{margin:4px 0!important}.star-btn{font-size:14px!important;padding:0 1px!important}.rating-count{font-size:10px!important;line-height:1.15!important}
  .sizes{gap:4px!important;margin:6px 0 8px!important;flex-wrap:wrap!important}.sizes span{min-width:23px!important;height:23px!important;font-size:11px!important}
  .low-note{font-size:10px!important;margin:4px 0!important}.favbtn,.add-cart{font-size:11px!important;padding:8px 6px!important;border-radius:9px!important}.product-actions{gap:6px!important}.photo-count,.tap-hint{font-size:9px!important;padding:4px 6px!important}
  .gallery-box{padding:50px 8px 72px}.gallery-nav{width:40px;height:52px;font-size:36px}.gallery-prev{left:6px}.gallery-next{right:6px}.gallery-close{right:10px;top:10px}.gallery-info{bottom:14px;padding:9px 13px;font-size:13px}
}
@media(max-width:370px){#productGrid.grid,#bestSellerGrid.best-grid{gap:8px!important}.photo{height:108px!important}.card-body{padding:8px!important}.card h3{font-size:12px!important}.price{font-size:13px!important}.favbtn,.add-cart{font-size:10px!important;padding:7px 5px!important}}

@media(max-width:640px){#productGrid.grid{gap:8px!important}.photo{height:118px!important}.price{font-size:13px!important}.stock{font-size:10px!important}.sizes span{min-width:22px!important;height:22px!important;font-size:10px!important}}

/* Sección de ubicación Hope Moda */
html{scroll-behavior:smooth;}
.location-section{
  padding:42px 18px;
  background: radial-gradient(circle at top, rgba(215,178,103,.16), transparent 42%), #050505;
}
.location-card{
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:22px;
  align-items:center;
  border:1px solid rgba(215,178,103,.32);
  border-radius:28px;
  padding:24px;
  background:linear-gradient(145deg, rgba(16,16,16,.96), rgba(0,0,0,.98));
  box-shadow:0 22px 60px rgba(0,0,0,.45);
  overflow:hidden;
}
.section-kicker{
  display:inline-block;
  color:#d7b267;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.8rem;
  margin-bottom:8px;
}
.location-copy h1{
  margin:0 0 12px;
  color:#f0d18a;
  font-family:'Playfair Display',serif;
  font-size:clamp(2rem,5vw,4rem);
  line-height:1.03;
}
.location-copy p{color:#f6f0e3; line-height:1.6; margin:0 0 18px;}
.address-box{
  display:flex;
  gap:14px;
  align-items:center;
  padding:16px;
  border:1px solid rgba(215,178,103,.34);
  border-radius:18px;
  background:rgba(255,255,255,.035);
  margin:18px 0;
}
.address-icon{
  width:48px;height:48px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#f1d28a,#b98b3a);color:#111;font-size:1.4rem;
  flex:0 0 auto;
}
.address-box strong{color:#f1d28a;font-size:1.05rem;}
.address-box p{margin:4px 0 0;color:#fff;}
.location-whatsapp{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 18px;
  border-radius:999px;
  text-decoration:none;
  color:#111;
  font-weight:800;
  background:linear-gradient(135deg,#f1d28a,#b98b3a);
  box-shadow:0 8px 22px rgba(215,178,103,.2);
}
.location-photo-wrap{
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(215,178,103,.38);
  min-height:360px;
  background:#111;
}
.location-photo-wrap img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  display:block;
}
@media (max-width:760px){
  .location-section{padding:28px 12px;}
  .location-card{grid-template-columns:1fr;padding:14px;border-radius:22px;gap:14px;}
  .location-copy{text-align:center;}
  .address-box{text-align:left;}
  .location-whatsapp{width:100%;}
  .location-photo-wrap,.location-photo-wrap img{min-height:330px;}
}

/* ===== ADMIN FULLSCREEN WORK MODE ===== */
.admin-dialog:modal{
  width:100vw!important;
  max-width:100vw!important;
  height:100vh!important;
  max-height:100vh!important;
  margin:0!important;
  border-radius:0!important;
  padding:0!important;
}
.admin-dialog::backdrop{background:rgba(40,22,20,.45)}
.admin-dialog .admin-box{
  width:100vw!important;
  max-width:100vw!important;
  height:100vh!important;
  max-height:100vh!important;
  border-radius:0!important;
  padding:16px clamp(12px,2.5vw,32px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  background:#fff!important;
}
.admin-dialog .close{
  position:fixed!important;
  top:12px!important;
  right:14px!important;
  z-index:1000!important;
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  font-size:24px!important;
  line-height:1!important;
  padding:0!important;
  box-shadow:0 4px 14px #0002!important;
}
.admin-dialog .admin-box>h2{margin:0!important;padding-right:55px!important;color:#6f3834!important}
.admin-dialog .admin-box>.hint{margin-bottom:2px!important}
.admin-dialog #adminPanel{
  flex:1!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
.admin-dialog #adminPanel[hidden]{display:none!important}
.admin-dashboard-head{
  flex:0 0 auto!important;
  margin:0!important;
}
.admin-tabs{
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(120px,1fr))!important;
  gap:8px!important;
  position:static!important;
  background:white!important;
  padding:8px 0!important;
  border-bottom:1px solid #f0d7d4!important;
  margin:0!important;
}
.admin-tab{
  border-radius:14px!important;
  padding:13px 12px!important;
  white-space:normal!important;
}
.admin-section{
  display:none!important;
  flex:1!important;
  min-height:0!important;
  overflow:auto!important;
  border-radius:18px!important;
  padding:18px!important;
  background:#fff!important;
  border:1px solid #f0d7d4!important;
  box-shadow:0 10px 30px #0000000d!important;
}
.admin-section.active{
  display:block!important;
}
.admin-section.active h3:first-child{
  position:sticky!important;
  top:-18px!important;
  z-index:5!important;
  background:#fff!important;
  padding:14px 0 12px!important;
  margin:-18px 0 8px!important;
  border-bottom:1px solid #f7e0dd!important;
}
.admin-list,.admin-list-large,.customers-list{
  max-height:none!important;
  overflow:visible!important;
}
#salesList,#adminProductList,#customersList,#promoAdminList{
  padding-bottom:80px!important;
}
.admin-card{
  padding:14px!important;
}
.admin-card input,.admin-card select,.admin-card textarea,
.admin-section input,.admin-section select,.admin-section textarea{
  font-size:16px!important;
}
@media(max-width:900px){
  .admin-tabs{grid-template-columns:repeat(3,1fr)!important}
  .admin-dashboard-head{display:none!important}
}
@media(max-width:640px){
  .admin-dialog .admin-box{padding:12px!important}
  .admin-tabs{grid-template-columns:repeat(2,1fr)!important;gap:6px!important}
  .admin-tab{padding:12px 8px!important;font-size:14px!important}
  .admin-section{padding:14px!important;border-radius:14px!important}
  .admin-section.active h3:first-child{top:-14px!important;margin:-14px 0 8px!important}
}

/* === Admin pestañas en pantalla completa real === */
.admin-dialog #adminPanel:not(.admin-fullscreen-active) .admin-section{
  display:none!important;
}
.admin-dialog #adminPanel:not(.admin-fullscreen-active) .admin-tabs{
  margin-top:14px!important;
}
.admin-fullscreen-active .admin-dashboard-head,
.admin-fullscreen-active .admin-tabs{
  display:none!important;
}
.admin-fullscreen-active .admin-section.active{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  max-height:100dvh!important;
  overflow:auto!important;
  z-index:999999!important;
  background:#fffafa!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:74px 18px 28px!important;
  margin:0!important;
}
.admin-fullscreen-topbar{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:10px 14px!important;
  background:#fff!important;
  border-bottom:1px solid #f0d7d4!important;
  box-shadow:0 3px 14px rgba(90,40,40,.08)!important;
  z-index:1000000!important;
}
.admin-fullscreen-title{
  font-weight:800!important;
  color:#6f3834!important;
  font-size:18px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.admin-fullscreen-close{
  border:0!important;
  border-radius:999px!important;
  background:#d77d7d!important;
  color:#fff!important;
  font-weight:800!important;
  padding:10px 14px!important;
  min-width:82px!important;
  cursor:pointer!important;
}
.admin-fullscreen-active .admin-section.active h3:first-child{
  position:static!important;
  margin:0 0 10px!important;
  padding:0!important;
  background:transparent!important;
}
.admin-fullscreen-active .admin-section input,
.admin-fullscreen-active .admin-section select,
.admin-fullscreen-active .admin-section textarea,
.admin-fullscreen-active .admin-section button{
  max-width:100%;
}
.admin-fullscreen-active .admin-list,
.admin-fullscreen-active .admin-list-large{
  max-height:none!important;
}
@media(max-width:760px){
  .admin-dialog #adminPanel:not(.admin-fullscreen-active) .admin-tabs{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  .admin-fullscreen-active .admin-section.active{
    padding:70px 12px 28px!important;
  }
  .admin-fullscreen-title{font-size:16px!important;}
}

/* Promociones: precio original y precio con descuento */
.promo-price-box{display:grid;gap:2px;align-items:start;justify-content:start}
.promo-price-box .old-price{font-size:13px;color:#96706d;text-decoration:line-through;font-weight:700}
.promo-price-box .new-price{font-size:22px;color:#2f9b58;font-weight:900;line-height:1}
.promo-price-box small{font-size:11px;color:#2f9b58;font-weight:800}
.cart-summary #promoDiscountLine{color:#2f9b58;font-weight:800}

/* Promo delete/select fix */
.hm-promo-card-real.selected{outline:3px solid #d97880;background:#fff4f4!important;}
.hm-promo-check-real{accent-color:#d97880;cursor:pointer;}
.hm-select-promo-btn,.hm-delete-one-promo-btn,.hm-delete-selected-btn{cursor:pointer;}
