:root{--pink:#f6537d;--pink-dark:#c83d63;--pink-pale:#fff0f4;--rose:#ff8da9;--ink:#202536;--muted:#7a8090;--surface:#fff;--canvas:#f8f9fc;--line:#eaecf2;--nav:#171b28;--nav-muted:#c3c7d3;--green:#26b790;--blue:#578bf2;--yellow:#f6aa3d;--shadow:0 12px 35px rgba(55,30,42,.08);--radius:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Nunito,Arial,sans-serif;color:var(--ink);background:var(--canvas);font-size:15px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.hidden{display:none!important}.eyebrow{font-size:.73rem;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:var(--pink);margin:0 0 .35rem}.btn{border:0;border-radius:10px;min-height:42px;padding:.65rem 1rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;transition:.18s transform,.18s box-shadow}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--pink);color:#fff;box-shadow:0 8px 18px rgba(246,83,125,.28)}.btn-secondary{background:#f1f3f7;color:var(--ink)}.btn-outline{background:#fff;border:1px solid var(--pink);color:var(--pink)}.btn-whatsapp{background:#25b966;color:#fff;width:100%;box-shadow:0 8px 16px rgba(37,185,102,.22)}.icon-button,.mini-icon{border:0;background:#fff;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:#636979}.icon-button:hover,.mini-icon:hover{color:var(--pink);background:var(--pink-pale)}.text-button,.link-button{color:var(--pink);font-weight:800;background:none;border:0;display:inline-flex;align-items:center;gap:.3rem}.text-button:hover,.link-button:hover{text-decoration:underline}.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .55rem;border-radius:50px;font-size:.68rem;font-weight:900}.badge.success{background:#ddf7ef;color:#0b906c}.badge.pending{background:#fff3dc;color:#c57d13}.badge.pink{background:#ffe5ec;color:#cd3a61}.toast-region{position:fixed;right:22px;bottom:22px;z-index:1000;display:grid;gap:10px}.toast{min-width:255px;max-width:360px;background:#1d2635;color:#fff;border-radius:12px;padding:13px 15px;display:flex;align-items:center;gap:10px;font-weight:700;box-shadow:var(--shadow);animation:toastIn .25s ease}.toast.success i{color:#6ee7bf}.toast.error i{color:#fda4af}@keyframes toastIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* Public catalog */.catalog-body{background:linear-gradient(135deg,#fffafb,#fff5f7 48%,#fff 100%)}.catalog-shell{min-height:100vh;overflow:hidden}.catalog-header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:2rem;max-width:1320px;margin:auto;padding:0 2rem;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:.65rem;font-family:Quicksand,sans-serif;font-size:.73rem;line-height:.86rem;font-weight:800}.brand img{width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid currentColor}.brand b{font-size:1rem;letter-spacing:-.05em}.brand-light{color:#3c2832}.catalog-nav{display:flex;align-items:center;gap:2rem;font-size:.82rem;font-weight:800}.catalog-nav a{position:relative}.catalog-nav a.active,.catalog-nav a:hover{color:var(--pink)}.catalog-nav a.active:after{content:"";height:2px;width:14px;border-radius:5px;background:var(--pink);position:absolute;bottom:-8px;left:50%;transform:translateX(-50%)}.catalog-actions{display:flex;align-items:center;gap:.65rem}.global-search{height:39px;min-width:245px;background:#fff;border-radius:12px;display:flex;align-items:center;gap:.5rem;padding:0 .8rem;border:1px solid #f1e9ec;color:#a9afba}.global-search input{border:0;outline:0;width:100%;font-size:.75rem;background:transparent}.global-search i{width:16px}.cart-toggle{width:40px;height:40px;border:0;border-radius:11px;background:#fff;color:#3f4350;position:relative}.cart-toggle span{position:absolute;right:-4px;top:-5px;background:var(--pink);color:#fff;width:17px;height:17px;border-radius:50%;font-size:.62rem;font-weight:900;display:grid;place-items:center}.catalog-hero{min-height:360px;padding:3.2rem max(2rem,calc((100% - 1180px)/2));display:grid;grid-template-columns:1fr .83fr;align-items:center;position:relative;background:radial-gradient(circle at 75% 35%,#ffc5d2 0,rgba(255,197,210,.3) 20%,transparent 44%),linear-gradient(110deg,#ffe6ec 0%,#fff3f5 50%,#ffe8ee 100%)}.catalog-hero:before,.catalog-hero:after{content:"✿";position:absolute;color:#fa9bad;opacity:.45;font-size:3rem}.catalog-hero:before{left:3%;top:15%}.catalog-hero:after{right:5%;bottom:7%;font-size:2rem}.hero-content{position:relative;z-index:1;max-width:560px}.hero-content h1{font:800 clamp(2rem,4vw,4rem)/1.04 Quicksand,sans-serif;letter-spacing:-.07em;margin:.2rem 0 .8rem}.hero-content h1 span{color:var(--pink-dark)}.hero-content>p:not(.eyebrow){color:#646979;max-width:410px;line-height:1.65;margin:0 0 1.35rem}.hero-art{height:300px;display:grid;place-items:center;position:relative}.hero-art img{width:220px;height:220px;object-fit:cover;border-radius:50%;position:relative;z-index:1;filter:drop-shadow(0 16px 16px rgba(179,60,93,.18))}.hero-rays{position:absolute;width:275px;height:275px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#fff 0 11deg,transparent 11deg 22deg);opacity:.54}.petal{position:absolute;color:#ef7997;font-size:2rem;z-index:2}.p1{top:30px;right:8%;transform:rotate(20deg)}.p2{bottom:26px;left:7%}.p3{top:7px;left:13%;font-size:1.2rem}.category-strip{max-width:1280px;margin:-25px auto 0;position:relative;z-index:2;padding:0 1.5rem}.category-list{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}.category-card{border:1px solid #f2e9ec;background:rgba(255,255,255,.93);min-height:88px;border-radius:13px;display:grid;place-items:center;gap:5px;padding:10px 5px;font-size:.73rem;font-weight:900;box-shadow:0 5px 15px rgba(161,80,102,.05);transition:.18s}.category-card i{color:var(--pink);width:23px;height:23px}.category-card:hover,.category-card.active{transform:translateY(-3px);background:var(--pink);color:white;border-color:var(--pink);box-shadow:0 10px 18px rgba(246,83,125,.2)}.category-card:hover i,.category-card.active i{color:#fff}.catalog-section{max-width:1280px;margin:2.4rem auto;padding:0 1.5rem}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:1rem}.section-heading h2{font:800 1.55rem Quicksand,sans-serif;letter-spacing:-.05em;margin:0}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid #f0edf1;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px rgba(35,28,34,.04);position:relative;transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-photo{height:175px;background:linear-gradient(145deg,#f4d4dc,#fff5f7);overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:cover}.product-info{padding:.72rem .78rem}.product-info h3{font-size:.84rem;margin:0 0 .12rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.price{font-size:.91rem;font-weight:900}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.add-cart{width:30px;height:30px;border-radius:8px;border:0;background:var(--pink);color:#fff;display:grid;place-items:center}.add-cart:hover{background:var(--pink-dark)}.add-cart i{width:15px}.stock-note{font-size:.67rem;color:#9399a6;font-weight:700}.catalog-footer{min-height:160px;background:#292333;color:#fff;display:flex;align-items:center;justify-content:center;gap:2rem;padding:2rem}.catalog-footer .brand-light{color:white}.catalog-footer p{color:#d7d2da;margin:0}.catalog-footer a{color:#ffb1c4;font-weight:800}.cart-drawer{position:fixed;z-index:50;right:0;top:0;height:100dvh;width:min(410px,100%);background:#fff;transform:translateX(105%);transition:transform .25s ease;display:flex;flex-direction:column;padding:1.35rem;box-shadow:-8px 0 30px rgba(0,0,0,.12)}.cart-drawer.open{transform:none}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:1rem}.drawer-head h2{margin:0;font:800 1.45rem Quicksand,sans-serif}.cart-items{flex:1;overflow:auto;padding:.8rem 0}.cart-empty{text-align:center;padding:3rem 1rem;color:var(--muted)}.cart-row{display:grid;grid-template-columns:55px 1fr auto;gap:10px;align-items:center;padding:.65rem 0;border-bottom:1px solid #f1f1f3}.cart-row img{width:55px;height:55px;object-fit:cover;border-radius:9px;background:#f6e8ec}.cart-row h3{font-size:.8rem;margin:0 0 .15rem}.cart-row p{font-size:.73rem;color:var(--muted);margin:0}.cart-qty{display:flex;align-items:center;gap:6px}.qty-button{border:1px solid #e4e6eb;background:#fff;color:#666e7e;width:22px;height:22px;border-radius:6px;display:grid;place-items:center}.qty-button:hover{background:var(--pink-pale);color:var(--pink)}.cart-footer{border-top:1px solid var(--line);padding-top:1rem;display:grid;gap:.6rem}.total-line{display:flex;align-items:center;justify-content:space-between;font-size:1rem}.total-line strong{font-size:1.55rem}.overlay{position:fixed;z-index:40;inset:0;background:rgba(23,27,40,.4);opacity:0;visibility:hidden;transition:.2s}.overlay.show{opacity:1;visibility:visible}

/* Login */.login-body{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 12% 23%,rgba(253,179,196,.7),transparent 22%),radial-gradient(circle at 91% 80%,rgba(255,205,217,.75),transparent 23%),linear-gradient(135deg,#fff3f6,#fae7eb 52%,#fffafb);padding:1.5rem}.login-body:before,.login-body:after{content:"✿";position:fixed;color:#ef97aa;opacity:.28;font-size:5rem}.login-body:before{left:8%;top:10%}.login-body:after{right:8%;bottom:8%;font-size:4rem}.login-card{width:min(430px,100%);background:rgba(255,255,255,.91);border:1px solid #fff;border-radius:22px;padding:1.5rem 2.1rem 1.8rem;text-align:center;box-shadow:0 18px 55px rgba(149,65,89,.16);position:relative;overflow:hidden}.login-card:after{content:"";width:210px;height:210px;position:absolute;right:-75px;bottom:-105px;border-radius:50%;background:radial-gradient(circle,#ffd0dc 0,rgba(255,218,227,.1) 67%);pointer-events:none}.login-decoration{position:absolute;color:#f58aa3;opacity:.65}.d1{left:22px;top:25px;font-size:1.3rem}.d2{right:28px;top:115px}.login-brand{display:inline-block;margin-bottom:.1rem;position:relative;z-index:1}.login-brand img{width:118px;height:118px;border-radius:50%;border:3px solid #30333d;object-fit:cover}.login-card h1{font:900 1.55rem Quicksand,sans-serif;letter-spacing:-.05em;margin:.1rem 0}.login-card>p{font-size:.79rem;color:#747987;margin:.2rem 0 1.25rem}.login-form{position:relative;z-index:1;text-align:left;display:grid;gap:.78rem}.login-form label>span{display:block;font-size:.71rem;font-weight:900;margin:0 0 .3rem}.input-icon{height:43px;border:1px solid #e9eaf0;border-radius:9px;display:flex;align-items:center;padding:0 .65rem;gap:.55rem;background:#fff}.input-icon:focus-within{border-color:#f796ae;box-shadow:0 0 0 3px #ffe7ed}.input-icon i{width:16px;color:#858b98}.input-icon input{min-width:0;flex:1;border:0;outline:0;font-size:.8rem;color:var(--ink)}.input-icon button{border:0;background:none;color:#8e95a2;display:grid;place-items:center}.login-options{display:flex;align-items:center;justify-content:space-between;font-size:.7rem}.check-label{display:flex!important;align-items:center;gap:.35rem;color:#626978;font-weight:700}.check-label input{accent-color:var(--pink)}.login-options .link-button{font-size:.7rem;padding:0}.login-submit{width:100%;margin-top:.15rem}.demo-hint{position:relative;z-index:1;margin:1rem 0 0!important;font-size:.67rem!important}.demo-hint code{color:var(--pink-dark)}

/* Admin */.admin-body{background:#f6f7fb}.admin-layout{min-height:100dvh;display:grid;grid-template-columns:236px 1fr}.sidebar{background:linear-gradient(165deg,#202535,#111520);color:#fff;display:flex;flex-direction:column;min-height:100dvh;position:sticky;top:0;height:100dvh;padding:1.2rem .85rem;z-index:20}.sidebar .brand{color:#fff;margin:0 .25rem 1.65rem}.sidebar .brand img{width:43px;height:43px}.sidebar .brand span{font-size:.61rem;line-height:.7rem}.sidebar .brand b{font-size:.82rem}.nav-list{display:grid;gap:4px}.nav-link{height:42px;border-radius:9px;color:var(--nav-muted);display:flex;align-items:center;gap:.75rem;padding:0 .72rem;font-size:.78rem;font-weight:700;transition:.16s}.nav-link i{width:17px}.nav-link:hover{background:#2b3143;color:#fff}.nav-link.active{background:linear-gradient(90deg,rgba(230,87,127,.78),rgba(180,65,99,.6));color:#fff;box-shadow:0 5px 12px rgba(0,0,0,.14)}.nav-spacer{flex:1}.logout-link{color:#ff9db5}.admin-main{min-width:0;padding:0 1.65rem 2rem}.admin-topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.admin-page-title h1{margin:0;font:900 1.55rem Quicksand,sans-serif;letter-spacing:-.06em}.admin-page-title p{margin:.18rem 0 0;color:#88909f;font-size:.72rem}.topbar-right{display:flex;align-items:center;gap:13px}.date-label{font-size:.68rem;color:#7c8492;font-weight:700}.profile-chip{display:flex;align-items:center;gap:.55rem;background:#fff;border:1px solid #edf0f3;padding:.3rem .55rem;border-radius:12px;min-width:165px}.profile-avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#ffe5ec;color:var(--pink);font-weight:900;font-size:.78rem}.profile-chip strong{font-size:.7rem;display:block}.profile-chip span{font-size:.61rem;color:var(--muted)}.mobile-menu{display:none}.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric-card{background:#fff;border:1px solid #eef0f3;border-radius:14px;padding:.9rem;display:flex;align-items:center;gap:.72rem;box-shadow:0 4px 10px rgba(40,44,60,.025)}.metric-icon{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;color:#fff}.metric-icon.pink{background:var(--pink)}.metric-icon.green{background:var(--green)}.metric-icon.blue{background:var(--blue)}.metric-icon.yellow{background:var(--yellow)}.metric-icon i{width:19px}.metric-card span{display:block;color:#808795;font-weight:700;font-size:.61rem}.metric-card strong{display:block;font-size:1.15rem;line-height:1.15;margin:.15rem 0}.metric-card small{font-size:.62rem;color:#7e8593}.admin-grid{display:grid;grid-template-columns:1.45fr .9fr;gap:14px;margin-top:14px}.panel{background:#fff;border:1px solid #edf0f3;border-radius:14px;padding:1rem;box-shadow:0 4px 10px rgba(40,44,60,.025)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.85rem}.panel-head h2{font:900 .9rem Quicksand,sans-serif;letter-spacing:-.04em;margin:0}.select-control{background:#fff;border:1px solid #e7eaf0;border-radius:7px;font-size:.64rem;padding:.35rem;color:#606979}.chart-wrap{height:205px}.table-panel{margin-top:14px}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;text-align:left}.admin-table th{font-size:.61rem;color:#747b89;background:#f8f9fb;font-weight:900;padding:.7rem .65rem;white-space:nowrap}.admin-table td{border-bottom:1px solid #f0f1f4;font-size:.7rem;font-weight:700;padding:.65rem;white-space:nowrap}.admin-table tr:last-child td{border-bottom:0}.admin-table .muted{color:#969daa;font-weight:600}.filter-bar{background:#fff;border:1px solid #edf0f3;border-radius:13px;padding:.65rem;display:flex;gap:.55rem;margin-bottom:14px;align-items:center}.filter-bar .global-search{height:36px;flex:1;min-width:180px;border-color:#e9ebf0}.filter-bar select{height:36px;min-width:145px}.page-actions{display:flex;gap:.55rem;margin-left:auto}.page-actions .btn{min-height:36px;font-size:.68rem;padding:.45rem .72rem}.inventory-photo{width:31px;height:31px;object-fit:cover;border-radius:7px;background:#f5e9ed}.action-buttons{display:flex;gap:5px}.table-action{border:0;background:#fff1f4;color:#ce4c6b;width:25px;height:25px;border-radius:6px;display:grid;place-items:center}.table-action.edit{color:#6b7382;background:#f5f6f9}.table-action i{width:13px}.table-action:hover{filter:brightness(.95)}.page-content{animation:pageIn .18s ease}@keyframes pageIn{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}.status-dot{width:7px;height:7px;border-radius:50%;background:#3cc99c;display:inline-block;margin-right:4px}.empty-state{text-align:center;padding:3rem 1rem;color:#8a91a0}.empty-state i{width:34px;height:34px;color:#f3a2b5}.empty-state p{margin:.6rem 0 0;font-weight:700}.mini-product{display:flex;align-items:center;gap:.5rem}.mini-product img{width:31px;height:31px;object-fit:cover;border-radius:7px}.mini-product span{display:block;font-size:.62rem;color:#9ba1ad;margin-top:2px}.category-chart{width:190px;height:190px;border-radius:50%;background:conic-gradient(var(--pink) 0 34%,#9281e8 34% 54%,#f5b64e 54% 69%,#65c7cc 69% 82%,#b5b0a5 82% 100%);margin:5px auto;position:relative}.category-chart:after{content:"";position:absolute;inset:42px;background:#fff;border-radius:50%}.legend{display:grid;gap:6px;font-size:.66rem;color:#69717f}.legend div{display:flex;align-items:center;justify-content:space-between}.legend b{font-weight:800}.legend i{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:5px}.legend span{display:flex;align-items:center}.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.kpi{border:1px solid #f0e7ea;background:#fffafb;border-radius:12px;padding:.8rem}.kpi strong{font-size:1.1rem;display:block}.kpi span{font-size:.65rem;color:#888e9c;font-weight:700}.pos-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.85fr);gap:14px}.pos-panel{min-height:calc(100dvh - 110px)}.quick-tabs{display:flex;gap:.35rem;overflow:auto;margin:.75rem 0}.quick-tabs button{white-space:nowrap;border:0;background:#f5f6f9;color:#6a7180;padding:.38rem .6rem;border-radius:8px;font-size:.65rem;font-weight:800}.quick-tabs button.active,.quick-tabs button:hover{background:#ffe0e8;color:var(--pink-dark)}.pos-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pos-grid .product-photo{height:116px}.pos-grid .product-info{padding:.55rem}.pos-grid .product-info h3{font-size:.72rem}.pos-grid .price{font-size:.78rem}.pos-grid .stock-note{font-size:.58rem}.cart-pos{display:flex;flex-direction:column}.pos-cart-items{flex:1;min-height:190px}.pos-cart-item{display:grid;grid-template-columns:40px 1fr auto;gap:7px;padding:.56rem 0;border-bottom:1px solid #f0f1f4}.pos-cart-item img{height:40px;width:40px;object-fit:cover;border-radius:7px}.pos-cart-item h3{font-size:.68rem;margin:0 0 .13rem}.pos-cart-item .quantity{display:flex;align-items:center;gap:4px;font-size:.67rem}.pos-cart-item strong{font-size:.7rem}.remove-item{border:0;background:none;color:#ef6a87;padding:0}.invoice-toggle{display:flex;align-items:center;gap:.45rem;border:1px solid #eff0f3;background:#fafbfd;border-radius:9px;padding:.55rem;font-size:.68rem;font-weight:800;margin:.75rem 0}.invoice-toggle input{accent-color:var(--pink)}.invoice-form{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;padding:.7rem;background:#fff5f7;border-radius:10px;margin-bottom:.7rem}.invoice-form label{font-size:.61rem;font-weight:900}.invoice-form input{width:100%;display:block;margin-top:.2rem;border:1px solid #e9eaf0;border-radius:6px;background:#fff;padding:.35rem;font-size:.68rem;outline:none}.invoice-form .wide{grid-column:1/-1}.pos-total{border-top:1px dashed #dce0e6;padding-top:.8rem;display:flex;justify-content:space-between;align-items:end}.pos-total span{font-size:.66rem;font-weight:900;color:#6c7481}.pos-total strong{font-size:1.7rem}.pos-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:.55rem;margin-top:.8rem}.branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.branch-card{background:#fff;border:1px solid #eceef2;border-radius:14px;padding:1rem;box-shadow:0 4px 10px rgba(40,44,60,.025);position:relative}.branch-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#ffe8ee;color:var(--pink);margin-bottom:.65rem}.branch-icon.blue{background:#e7efff;color:var(--blue)}.branch-card h3{font:900 1rem Quicksand,sans-serif;margin:0}.branch-card p{font-size:.7rem;color:#7c8492;margin:.25rem 0 .8rem}.branch-details{display:flex;gap:1rem;font-size:.68rem}.branch-details span{color:#9198a5;display:block}.branch-details b{font-size:.78rem}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-panel{display:grid;gap:.75rem}.form-panel label{font-size:.68rem;font-weight:900}.form-panel input,.form-panel select{width:100%;border:1px solid #e4e7ed;border-radius:8px;padding:.55rem;background:#fff;outline:none;margin-top:.25rem;font-size:.75rem}.form-panel input:focus,.form-panel select:focus{border-color:#ef8aa4;box-shadow:0 0 0 3px #fff0f4}.report-card{border-radius:14px;background:linear-gradient(135deg,#f6537d,#d54870);color:#fff;padding:1.25rem}.report-card h2{font:900 1.3rem Quicksand,sans-serif;margin:0}.report-card p{font-size:.75rem;opacity:.85}.report-card .btn{background:#fff;color:#d54068;margin-top:.4rem}.modal-backdrop{position:fixed;z-index:70;inset:0;background:rgba(28,32,45,.45);display:grid;place-items:center;padding:1rem}.modal{background:#fff;width:min(620px,100%);max-height:92dvh;overflow:auto;border-radius:16px;padding:1.2rem;box-shadow:0 20px 65px rgba(0,0,0,.25)}.modal-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:1rem}.modal-head h2{font:900 1.15rem Quicksand,sans-serif;margin:0}.modal-head p{margin:.15rem 0 0;font-size:.7rem;color:var(--muted)}.product-form{display:grid;grid-template-columns:125px 1fr;gap:1.1rem}.image-picker{height:150px;border:1px dashed #f09aae;border-radius:12px;background:#fff6f8;display:grid;place-items:center;align-content:center;gap:.5rem;text-align:center;overflow:hidden;padding:.5rem}.image-picker img{width:80px;height:80px;border-radius:10px;object-fit:cover}.image-picker label{font-size:.62rem;color:var(--pink);font-weight:900;cursor:pointer}.image-picker input{display:none}.fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.fields-grid label{font-size:.65rem;font-weight:900}.fields-grid input,.fields-grid select{width:100%;margin-top:.25rem;border:1px solid #e3e6ec;border-radius:7px;padding:.47rem;font-size:.72rem;outline:none}.fields-grid .wide{grid-column:1/-1}.profit-preview{grid-column:1/-1;background:#fff2f5;border:1px solid #ffe0e8;border-radius:9px;padding:.55rem;display:flex;gap:1.2rem;font-size:.66rem}.profit-preview strong{display:block;font-size:.82rem;color:var(--pink-dark)}.modal-actions{display:flex;justify-content:flex-end;gap:.55rem;margin-top:1rem}.confirm-body{font-size:.8rem;line-height:1.5;color:#69717e}.import-preview{font-size:.72rem;max-height:210px;overflow:auto;background:#fafbfc;border-radius:9px;padding:.6rem}.import-preview table{width:100%;border-collapse:collapse}.import-preview td,.import-preview th{padding:.35rem;text-align:left;border-bottom:1px solid #eceef2}

@media(max-width:1050px){.catalog-nav{gap:1rem}.global-search{min-width:160px}.admin-layout{grid-template-columns:70px 1fr}.sidebar{padding:.9rem .55rem}.sidebar .brand{justify-content:center}.sidebar .brand span,.nav-link span,.logout-link span{display:none}.nav-link{justify-content:center;padding:0}.nav-link i{width:19px}.sidebar .brand img{width:42px}.admin-grid{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:repeat(2,1fr)}.pos-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:750px){body{font-size:14px}.catalog-header{height:auto;min-height:64px;padding:.7rem 1rem;gap:.6rem}.brand span,.catalog-nav,.catalog-actions .mini-icon{display:none}.catalog-actions{margin-left:auto}.global-search{min-width:0;width:175px}.catalog-hero{padding:2.6rem 1.35rem 2.2rem;grid-template-columns:1fr;min-height:510px;overflow:hidden}.hero-content{z-index:2}.hero-content h1{font-size:2.5rem}.hero-art{position:absolute;right:-73px;bottom:-35px;opacity:.48;width:260px;height:260px}.hero-art img{width:160px;height:160px}.hero-rays{width:205px;height:205px}.category-strip{padding:0 .8rem;margin:-24px auto 0}.category-list{overflow:auto;display:flex;padding-bottom:4px}.category-card{min-width:83px}.catalog-section{padding:0 1rem;margin:2rem auto}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:135px}.catalog-footer{display:grid;text-align:center;gap:.7rem}.catalog-footer .brand{justify-content:center}.admin-layout{display:block}.sidebar{position:fixed;left:0;transform:translateX(-105%);width:235px;transition:.23s;height:100dvh;z-index:90}.sidebar.open{transform:none}.sidebar .brand{justify-content:flex-start}.sidebar .brand span,.nav-link span,.logout-link span{display:block}.nav-link{justify-content:flex-start;padding:0 .72rem}.admin-main{padding:0 1rem 1.2rem}.admin-topbar{height:68px}.mobile-menu{display:grid}.date-label{display:none}.profile-chip{min-width:auto}.profile-chip>div:last-child{display:none}.dashboard-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{padding:.7rem;gap:.45rem}.metric-icon{width:34px;height:34px}.metric-card strong{font-size:.96rem}.metric-card span{font-size:.55rem}.admin-grid{margin-top:9px;gap:9px}.panel{padding:.8rem}.filter-bar{flex-wrap:wrap;gap:.4rem}.filter-bar .global-search{flex:1 0 100%}.filter-bar select{min-width:0;flex:1}.page-actions{margin-left:0;width:100%}.page-actions .btn{flex:1}.pos-layout{grid-template-columns:1fr}.pos-panel{min-height:auto}.pos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-grid,.settings-grid{grid-template-columns:1fr}.product-form{grid-template-columns:1fr}.image-picker{height:115px}.image-picker img{width:65px;height:65px}.fields-grid{grid-template-columns:1fr}.profit-preview{grid-column:auto}.admin-table th,.admin-table td{padding:.55rem}.chart-wrap{height:180px}.topbar-right>.icon-button{display:none}.modal{padding:1rem}.toast-region{right:10px;bottom:10px}.toast{min-width:0;width:calc(100vw - 20px)}}

/* GIF sakura propio: fondo horizontal animado para el hero del catálogo. */
.catalog-hero.catalog-hero-sakura{min-height:400px;grid-template-columns:1fr;overflow:hidden;background-image:linear-gradient(90deg,rgba(255,249,251,.55) 0%,rgba(255,246,248,.34) 38%,rgba(255,235,240,.09) 68%,rgba(255,235,240,.04) 100%),url("../img/catalog-hero-sakura-animated.gif");background-position:center,center;background-size:cover,cover}.catalog-hero-sakura .hero-content{z-index:2;max-width:555px}.catalog-hero-sakura:before,.catalog-hero-sakura:after{z-index:1;text-shadow:0 3px 12px rgba(188,68,99,.2)}@media(max-width:750px){.catalog-hero.catalog-hero-sakura{min-height:510px;grid-template-columns:1fr;background-image:linear-gradient(180deg,rgba(255,249,251,.83) 0%,rgba(255,246,248,.5) 47%,rgba(255,235,240,.12) 100%),url("../img/catalog-hero-sakura-animated.gif");background-position:center,center;background-size:cover,cover}}

/* Datos opcionales y código de producto */
.code-control{display:flex;gap:.35rem;align-items:center;margin-top:.25rem}.code-control input{margin-top:0!important;min-width:0}.code-control .table-action{flex:0 0 30px;width:30px;height:30px}.code-control .table-action i{width:14px}

/* Catálogo anime premium: conserva Wakaranai en rosado y blanco. */
.category-list{width:fit-content;max-width:100%}

/* Cabecera de cristal y bienvenida cinematográfica. */
.catalog-body{background:radial-gradient(circle at 4% 44%,rgba(255,188,207,.2),transparent 17%),radial-gradient(circle at 96% 68%,rgba(255,211,223,.28),transparent 19%),linear-gradient(135deg,#fffafd 0%,#fff5f7 48%,#fffafd 100%)}.catalog-shell{position:relative;overflow:visible}
.catalog-header{position:sticky;top:0;z-index:30;max-width:none;height:78px;margin:0;padding:0 max(2rem,calc((100% - 1180px)/2));background:rgba(255,252,253,.84);border-bottom:1px solid rgba(246,83,125,.12);box-shadow:0 8px 28px rgba(117,53,74,.06);backdrop-filter:blur(16px);animation:headerIn .6s both}
.brand{transition:transform .2s ease}.brand:hover{transform:translateY(-1px)}.brand img{width:54px;height:54px;border:2px solid #fff;box-shadow:0 7px 16px rgba(168,59,91,.18);transition:transform .35s ease,box-shadow .35s ease}.brand:hover img{transform:rotate(-7deg) scale(1.06);box-shadow:0 11px 23px rgba(168,59,91,.28)}
.catalog-nav{gap:2.35rem}.catalog-nav a{padding:.5rem 0;transition:color .18s ease,transform .18s ease}.catalog-nav a:hover{transform:translateY(-1px)}.catalog-nav a.active:after{width:22px;height:3px;bottom:-3px;background:linear-gradient(90deg,#f6537d,#ff9bb4);box-shadow:0 4px 9px rgba(246,83,125,.34)}
.catalog-actions{gap:.72rem}.global-search{height:43px;min-width:275px;border-radius:14px;border-color:rgba(246,83,125,.16);background:rgba(255,255,255,.78);box-shadow:inset 0 1px 0 #fff,0 5px 15px rgba(135,62,84,.05);transition:border-color .2s ease,box-shadow .2s ease}.global-search:focus-within{border-color:rgba(246,83,125,.65);box-shadow:0 0 0 4px rgba(246,83,125,.11)}.mini-icon,.cart-toggle{width:43px;height:43px;border-radius:14px;box-shadow:0 5px 15px rgba(135,62,84,.06);transition:transform .18s ease,background .18s ease}.mini-icon:hover,.cart-toggle:hover{transform:translateY(-2px)}.cart-toggle span{width:19px;height:19px;right:-5px;top:-6px;border:2px solid #fff;box-shadow:0 3px 8px rgba(246,83,125,.25)}

/* Hero anime sobre el GIF de cerezos. */
.catalog-hero.catalog-hero-sakura{min-height:465px;padding:3.8rem max(2rem,calc((100% - 1180px)/2));grid-template-columns:1fr;background-image:linear-gradient(90deg,rgba(255,250,252,.87) 0%,rgba(255,247,249,.69) 33%,rgba(255,236,241,.22) 59%,rgba(255,236,241,.02) 100%),url("../img/catalog-hero-sakura-animated.gif");background-position:center,center 52%;background-size:cover,cover}
.catalog-hero-sakura:before,.catalog-hero-sakura:after{z-index:1;animation:floatPetal 5s ease-in-out infinite}.catalog-hero-sakura:after{animation-delay:-2.4s}.hero-spark-field{position:absolute;z-index:1;inset:0;overflow:hidden;pointer-events:none}.spark{position:absolute;color:#f17495;text-shadow:0 4px 13px rgba(181,63,94,.18);animation:sparkle 3.4s ease-in-out infinite}.s-one{left:43%;top:22%;font-size:1.15rem}.s-two{left:55%;bottom:17%;font-size:1.65rem;animation-delay:-1.1s}.s-three{right:24%;top:16%;font-size:1.25rem;animation-delay:-2s}.s-four{right:9%;bottom:27%;font-size:1rem;animation-delay:-.55s}
.catalog-hero-sakura .hero-content{z-index:2;width:min(100%,595px);max-width:none;padding:1.3rem 1.45rem 1.45rem;margin-left:-1.45rem;border:1px solid rgba(255,255,255,.72);border-left:4px solid rgba(246,83,125,.76);border-radius:0 25px 25px 0;background:linear-gradient(90deg,rgba(255,255,255,.52),rgba(255,255,255,.08));box-shadow:0 15px 35px rgba(144,58,84,.08);backdrop-filter:blur(4px);animation:heroEnter .78s cubic-bezier(.2,.8,.2,1) both}
.hero-kicker{display:inline-flex;align-items:center;gap:.45rem;margin:0 0 .65rem;padding:.42rem .72rem;border:1px solid rgba(246,83,125,.2);border-radius:999px;background:rgba(255,255,255,.7);color:#e94b75;font-size:.68rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;box-shadow:0 4px 13px rgba(180,65,96,.07)}.hero-kicker i{width:15px;height:15px}.hero-content h1{font-size:clamp(2.9rem,4.8vw,4.65rem);line-height:.97;margin:.1rem 0 1rem;text-shadow:0 2px 0 rgba(255,255,255,.55)}.hero-content h1 span{display:inline-block;background:linear-gradient(100deg,#c73d63 0%,#f6537d 50%,#ff8fa9 100%);background-clip:text;-webkit-background-clip:text;color:transparent;filter:drop-shadow(0 6px 10px rgba(206,65,99,.15))}.hero-content>p:not(.eyebrow):not(.hero-kicker){font-size:1rem;line-height:1.7;color:#586072;max-width:425px;margin-bottom:1.45rem}
.hero-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.hero-actions .btn{min-height:47px;padding:.78rem 1.15rem;border-radius:13px;position:relative;overflow:hidden;box-shadow:0 12px 22px rgba(246,83,125,.3)}.hero-actions .btn:after{content:"";position:absolute;top:-110%;left:-35%;width:28%;height:300%;background:rgba(255,255,255,.4);transform:rotate(25deg);transition:left .5s ease}.hero-actions .btn:hover:after{left:125%}.hero-secondary{display:inline-flex;align-items:center;gap:.32rem;color:#bb4364;font-size:.82rem;font-weight:900;transition:gap .2s ease,color .2s ease}.hero-secondary:hover{gap:.55rem;color:#f6537d}.hero-secondary i{width:16px}.hero-notes{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1.15rem}.hero-notes span{display:inline-flex;align-items:center;gap:.32rem;padding:.3rem .58rem;border-radius:999px;background:rgba(255,255,255,.53);color:#7a5260;font-size:.7rem;font-weight:800}.hero-notes i{width:13px;height:13px;color:#f6537d}

/* Categorías y productos con acabado de colección. */
.category-strip{max-width:1200px;margin:-37px auto 0;padding:0 1.25rem;z-index:4;animation:liftIn .72s .18s both}.category-list{display:flex;flex-wrap:wrap;gap:10px;padding:11px;border:1px solid rgba(255,255,255,.88);border-radius:22px;background:rgba(255,253,254,.78);box-shadow:0 16px 35px rgba(124,52,76,.12);backdrop-filter:blur(14px)}.category-card{flex:0 0 124px;min-height:92px;border:1px solid rgba(246,83,125,.09);border-radius:15px;background:linear-gradient(145deg,#fff,#fff7f9);box-shadow:none;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.category-card i{width:24px;height:24px;padding:4px;border-radius:9px;background:#fff0f4}.category-card:hover,.category-card.active{transform:translateY(-5px) rotate(-1deg);background:linear-gradient(145deg,#f6537d,#e8406b);border-color:#f6537d;box-shadow:0 13px 22px rgba(246,83,125,.25)}.category-card:hover i,.category-card.active i{background:rgba(255,255,255,.18);color:#fff}
.catalog-section{position:relative;max-width:1230px;margin:3.2rem auto;padding:2.1rem 2rem 2.35rem;border:1px solid rgba(246,83,125,.09);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,248,250,.8));box-shadow:0 15px 42px rgba(117,53,74,.05);animation:sectionIn .75s .29s both}.catalog-section:before{content:"✦  ✿  ✦";position:absolute;right:2rem;top:1.6rem;color:#f59ab0;font-size:1.1rem;letter-spacing:.28rem;opacity:.68}.section-heading{position:relative;margin-bottom:1.45rem;padding-right:150px}.section-heading h2{font-size:2rem}.section-heading h2:after{content:"";display:block;width:58px;height:4px;margin-top:.5rem;border-radius:99px;background:linear-gradient(90deg,#f6537d,#ffb0c2)}.section-heading .text-button{font-size:.85rem;transition:gap .2s ease}.section-heading .text-button:hover{gap:.6rem;text-decoration:none}.public-grid{grid-template-columns:repeat(auto-fit,minmax(235px,285px));justify-content:start;gap:19px}
.product-card{border:1px solid rgba(246,83,125,.11);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 12px 25px rgba(96,46,64,.08);overflow:hidden;animation:cardRise .55s both;transition:transform .25s ease,box-shadow .25s ease}.product-card:nth-child(2){animation-delay:.08s}.product-card:nth-child(3){animation-delay:.16s}.product-card:nth-child(4){animation-delay:.24s}.product-card:hover{transform:translateY(-8px) rotate(-.45deg);box-shadow:0 20px 36px rgba(125,51,76,.17)}.product-photo{height:205px;position:relative;background:linear-gradient(145deg,#fbd7e0,#fff6f8)}.product-photo img{position:relative;z-index:0;transition:transform .5s ease;filter:saturate(1.04) contrast(1.02)}.product-card:hover .product-photo img{transform:scale(1.08)}.product-category{position:absolute;z-index:2;top:11px;left:11px;padding:.3rem .55rem;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(43,34,47,.5);color:#fff;font-size:.64rem;font-weight:900;backdrop-filter:blur(6px)}.photo-shine{position:absolute;z-index:1;inset:0;background:linear-gradient(115deg,transparent 25%,rgba(255,255,255,.44) 45%,transparent 63%);transform:translateX(-110%);transition:transform .65s ease;pointer-events:none}.product-card:hover .photo-shine{transform:translateX(110%)}.product-info{padding:1rem 1rem .95rem}.product-info h3{min-height:2.2em;font-size:.91rem;line-height:1.25;margin:0 0 .55rem;white-space:normal}.product-bottom{align-items:end}.price{font-size:1.08rem;color:#c93d63}.stock-note{display:flex;align-items:center;gap:.25rem;margin-top:.18rem;font-size:.67rem;color:#8991a0}.stock-note i{width:12px;height:12px;color:#f6537d}.add-cart{width:39px;height:39px;border-radius:13px;box-shadow:0 8px 16px rgba(246,83,125,.25);transition:transform .2s ease,background .2s ease}.add-cart:hover{transform:rotate(90deg) scale(1.08)}.add-cart i{width:19px;height:19px}.empty-state{width:100%;min-height:200px;display:grid;place-items:center;border:1px dashed #f3b6c5;border-radius:20px;background:#fff9fa;color:#7d8391;text-align:center}.empty-state i{width:34px;height:34px;color:#f6537d}

/* Cierre visual y animaciones de entrada. */
.catalog-footer{position:relative;overflow:hidden;min-height:180px;display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto;justify-content:initial;gap:2.2rem;padding:2.1rem max(2rem,calc((100% - 1180px)/2));background:linear-gradient(115deg,#201b2b,#342332 53%,#48293b);box-shadow:inset 0 1px rgba(255,255,255,.09)}.catalog-footer:before{content:"✦";position:absolute;right:5%;top:-40px;color:rgba(255,184,204,.13);font-size:11rem;transform:rotate(18deg)}.catalog-footer>*{position:relative;z-index:1}.catalog-footer p{font-size:.9rem}.catalog-footer>a{justify-self:end;padding:.65rem .9rem;border:1px solid rgba(255,177,196,.35);border-radius:11px;transition:background .2s ease,transform .2s ease}.catalog-footer>a:hover{background:rgba(255,177,196,.12);transform:translateY(-2px);text-decoration:none}.developer-credit{border-left-color:rgba(255,255,255,.25)!important}.developer-credit i{color:#ffb1c4!important}
@keyframes headerIn{from{opacity:0;transform:translateY(-13px)}to{opacity:1;transform:none}}@keyframes heroEnter{from{opacity:0;transform:translateX(-24px) scale(.98)}to{opacity:1;transform:none}}@keyframes liftIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}@keyframes sectionIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@keyframes cardRise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@keyframes sparkle{0%,100%{opacity:.35;transform:scale(.72) rotate(0deg)}50%{opacity:1;transform:scale(1.18) rotate(18deg)}}@keyframes floatPetal{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-9px) rotate(8deg)}}
@media(max-width:750px){.catalog-header{height:68px;padding:0 1rem}.brand img{width:47px;height:47px}.global-search{height:40px;width:175px}.catalog-hero.catalog-hero-sakura{min-height:535px;padding:2.5rem 1.25rem 3.1rem;background-image:linear-gradient(180deg,rgba(255,250,252,.94) 0%,rgba(255,248,250,.79) 44%,rgba(255,235,240,.26) 100%),url("../img/catalog-hero-sakura-animated.gif");background-position:center,center;background-size:cover,cover}.catalog-hero-sakura .hero-content{width:100%;padding:1.05rem 1rem 1.2rem;margin:0;border-radius:20px;border-left-width:3px;background:rgba(255,255,255,.45)}.hero-content h1{font-size:clamp(2.65rem,12vw,3.4rem)}.hero-content>p:not(.eyebrow):not(.hero-kicker){font-size:.91rem;max-width:340px}.hero-secondary{display:none}.hero-notes{gap:.42rem}.hero-notes span{font-size:.64rem}.s-one{left:75%;top:48%}.s-two{left:68%;bottom:17%}.s-three{right:8%;top:60%}.s-four{right:26%;bottom:7%}.category-strip{margin:-30px auto 0;padding:0 .8rem}.category-list{gap:8px;padding:8px;border-radius:18px;flex-wrap:nowrap;overflow:auto}.category-card{min-width:102px;flex:0 0 102px;min-height:84px}.catalog-section{margin:2.3rem .8rem;padding:1.45rem 1rem 1.3rem;border-radius:23px}.catalog-section:before{right:1rem;top:1.2rem;font-size:.84rem}.section-heading{padding-right:70px;margin-bottom:1.1rem}.section-heading h2{font-size:1.5rem}.public-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:145px}.product-info{padding:.75rem}.product-info h3{font-size:.78rem}.product-category{top:8px;left:8px;font-size:.55rem}.add-cart{width:34px;height:34px;border-radius:11px}.catalog-footer{grid-template-columns:1fr;gap:.85rem;padding:2rem 1.3rem;text-align:center}.catalog-footer .brand{justify-content:center}.catalog-footer>a{justify-self:center}.developer-credit{justify-content:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}

/* Versión compacta del hero: mantiene el impacto sin ocupar demasiado alto. */
.catalog-hero.catalog-hero-sakura{min-height:385px;padding:2.2rem max(2rem,calc((100% - 1180px)/2))}.catalog-hero-sakura .hero-content{width:min(100%,535px);padding:1rem 1.12rem 1.05rem;margin-left:-1.12rem;border-left-width:3px;border-radius:0 21px 21px 0}.hero-kicker{margin-bottom:.45rem;padding:.34rem .6rem;font-size:.61rem}.hero-kicker i{width:13px;height:13px}.hero-content h1{font-size:clamp(2.55rem,4.05vw,3.85rem);margin:.05rem 0 .65rem}.hero-content>p:not(.eyebrow):not(.hero-kicker){font-size:.9rem;line-height:1.55;margin-bottom:.9rem}.hero-actions{gap:.8rem}.hero-actions .btn{min-height:42px;padding:.63rem .95rem;border-radius:11px}.hero-secondary{font-size:.75rem}.hero-notes{margin-top:.72rem;gap:.45rem}.hero-notes span{font-size:.64rem;padding:.25rem .48rem}.category-strip{margin:-27px auto 0}.category-list{padding:8px}.category-card{min-height:82px;flex-basis:116px}@media(max-width:750px){.catalog-hero.catalog-hero-sakura{min-height:475px;padding:2rem 1.15rem 2.35rem}.catalog-hero-sakura .hero-content{width:100%;padding:.88rem .92rem .95rem;margin:0;border-radius:18px}.hero-content h1{font-size:clamp(2.3rem,10.6vw,2.9rem);margin-bottom:.55rem}.hero-content>p:not(.eyebrow):not(.hero-kicker){font-size:.84rem;margin-bottom:.75rem}.hero-notes{margin-top:.6rem}.category-strip{margin:-23px auto 0}.category-card{min-height:76px;min-width:94px;flex-basis:94px}}

.catalog-hero.catalog-hero-sakura{min-height:340px;padding:1.35rem max(2rem,calc((100% - 1180px)/2))}.catalog-hero-sakura .hero-content{width:min(100%,500px);padding:.78rem .95rem .82rem;margin-left:-.95rem;border-radius:0 18px 18px 0}.hero-kicker{margin-bottom:.32rem;padding:.28rem .5rem;font-size:.56rem}.hero-content h1{font-size:clamp(2.35rem,3.55vw,3.3rem);margin:0 0 .45rem}.hero-content>p:not(.eyebrow):not(.hero-kicker){font-size:.83rem;line-height:1.45;margin-bottom:.67rem}.hero-actions{gap:.65rem}.hero-actions .btn{min-height:39px;padding:.53rem .8rem;font-size:.8rem}.hero-secondary{font-size:.7rem}.hero-notes{margin-top:.48rem;gap:.35rem}.hero-notes span{font-size:.58rem;padding:.2rem .4rem}.category-strip{margin:-21px auto 0}.category-card{min-height:76px;flex-basis:108px}@media(max-width:750px){.catalog-hero.catalog-hero-sakura{min-height:430px;padding:1.45rem 1.05rem 1.85rem}.catalog-hero-sakura .hero-content{width:100%;padding:.75rem .8rem .8rem;margin:0;border-radius:16px}.hero-content h1{font-size:clamp(2.12rem,9.6vw,2.65rem);margin-bottom:.42rem}.hero-content>p:not(.eyebrow):not(.hero-kicker){font-size:.78rem;margin-bottom:.62rem}.hero-notes{margin-top:.45rem}.category-strip{margin:-18px auto 0}.category-card{min-height:72px;min-width:90px;flex-basis:90px}}

/* Ajuste fino: un poco más de presencia sin volver a recargar el hero. */
.catalog-hero.catalog-hero-sakura{min-height:365px;padding:1.65rem max(2rem,calc((100% - 1180px)/2))}.catalog-hero-sakura .hero-content{width:min(100%,515px);padding:.9rem 1.03rem .94rem;margin-left:-1.03rem;border-radius:0 19px 19px 0}.hero-kicker{margin-bottom:.36rem;padding:.3rem .54rem;font-size:.58rem}.hero-content h1{font-size:clamp(2.45rem,3.72vw,3.48rem);margin:0 0 .5rem}.hero-content>p:not(.eyebrow):not(.hero-kicker){font-size:.86rem;line-height:1.48;margin-bottom:.72rem}.hero-actions .btn{min-height:40px;padding:.57rem .85rem;font-size:.82rem}.hero-secondary{font-size:.72rem}.hero-notes{margin-top:.54rem}.hero-notes span{font-size:.6rem;padding:.22rem .43rem}.category-strip{margin:-23px auto 0}.category-card{min-height:78px;flex-basis:110px}@media(max-width:750px){.catalog-hero.catalog-hero-sakura{min-height:450px;padding:1.65rem 1.05rem 2rem}.catalog-hero-sakura .hero-content{width:100%;padding:.8rem .86rem .85rem;margin:0;border-radius:17px}.hero-content h1{font-size:clamp(2.18rem,9.9vw,2.75rem);margin-bottom:.45rem}.hero-content>p:not(.eyebrow):not(.hero-kicker){font-size:.8rem;margin-bottom:.66rem}.hero-notes{margin-top:.48rem}.category-strip{margin:-20px auto 0}.category-card{min-height:74px;min-width:92px;flex-basis:92px}}

/* Identificación de figuras con Google Cloud Vision */
.field-hint{display:block;margin-top:.28rem;font-size:.6rem;line-height:1.35;color:#8b92a1;font-weight:700}
.duplicate-warning{display:none;color:#b56a12}
.duplicate-warning.visible{display:block}
.badge.sold{background:#e8edff;color:#4767c8}
.badge.muted{background:#eef0f4;color:#7b8290}
.figure-ai{grid-column:1/-1;border:1px solid #f3dbe2;background:linear-gradient(180deg,#fffafb,#fff 55%);border-radius:13px;padding:.85rem;margin-top:.15rem}
.figure-ai-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;margin-bottom:.75rem}
.figure-ai-head h3{font:900 1rem Quicksand,sans-serif;margin:0;letter-spacing:-.03em}
.figure-ai-head p{margin:.2rem 0 0;font-size:.66rem;line-height:1.45;color:#7d8493;max-width:520px}
.figure-ai-grid{display:grid;grid-template-columns:minmax(190px,.72fr) minmax(0,1.28fr);gap:.85rem}
.figure-upload{display:flex;flex-direction:column;gap:.55rem}
.figure-preview{position:relative;height:176px;border:1px dashed #efa1b3;border-radius:10px;background:#fff4f7;overflow:hidden;display:grid;place-items:center}
.figure-preview img{width:100%;height:100%;object-fit:contain}
.figure-empty{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:.35rem;text-align:center;color:#c14c6b;background:rgba(255,244,247,.94);padding:.5rem}
.figure-empty i{width:25px;height:25px}
.figure-empty span{font-size:.64rem;font-weight:900}
.figure-upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}
.figure-upload-actions .btn{min-height:34px;font-size:.64rem;padding:.4rem .45rem}
#analyze-figure{min-height:37px;font-size:.67rem}
.figure-result{min-height:176px;border:1px solid #eef0f4;border-radius:10px;background:#fff;padding:.7rem;overflow:hidden}
.figure-result-empty{height:100%;min-height:155px;display:grid;place-items:center;align-content:center;gap:.45rem;text-align:center;color:#9aa1ae}
.figure-result-empty i{width:27px;height:27px;color:#f2a1b4}
.figure-result-empty p{margin:0;font-size:.67rem;font-weight:700;max-width:260px;line-height:1.45}
.figure-confidence{display:flex;gap:.3rem;flex-wrap:wrap;margin-bottom:.4rem}
.figure-message{margin:0 0 .6rem;font-size:.67rem;line-height:1.45;color:#646c7b;font-weight:700}
.figure-fields{display:grid;grid-template-columns:1fr 1fr;gap:.48rem}
.figure-fields label{font-size:.61rem;font-weight:900;color:#4f5665}
.figure-fields input{width:100%;margin-top:.22rem;border:1px solid #e3e6ec;border-radius:7px;padding:.42rem;font-size:.68rem;outline:none}
.figure-fields input:focus{border-color:#ef8aa4;box-shadow:0 0 0 3px #fff0f4}
.figure-fields .wide{grid-column:1/-1}
.figure-tags,.figure-labels{display:flex;flex-wrap:wrap;gap:.28rem;margin-top:.55rem}
.figure-tags:empty,.figure-labels:empty{display:none}
.figure-tags-title{width:100%;font-size:.57rem;text-transform:uppercase;letter-spacing:.08em;color:#9aa0ad;font-weight:900}
.figure-chip{border:1px solid #f2c5d0;background:#fff4f7;color:#bf4565;border-radius:50px;padding:.22rem .55rem;font-size:.6rem;font-weight:800}
.figure-chip:hover{background:#ffe5ec}
.figure-label{background:#f2f4f8;color:#687082;border-radius:50px;padding:.2rem .5rem;font-size:.58rem;font-weight:800}
.figure-result-actions{display:flex;gap:.4rem;justify-content:flex-end;margin-top:.65rem;flex-wrap:wrap}
.figure-result-actions .btn{min-height:32px;font-size:.63rem;padding:.38rem .58rem}
.figure-matches{margin-top:.65rem;padding-top:.55rem;border-top:1px dashed #e7e9ef}
.figure-match-list{display:grid;gap:.28rem;margin-top:.35rem;max-height:132px;overflow:auto}
.figure-match-list a{display:flex;align-items:center;gap:.35rem;font-size:.61rem;color:#5f6b84;font-weight:700;padding:.25rem .3rem;border-radius:6px}
.figure-match-list a:hover{background:#f7f8fb;color:var(--pink-dark)}
.figure-match-list a i{width:12px;height:12px;flex:0 0 auto}
.figure-match-list a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.figure-loading{display:flex;align-items:center;gap:.65rem;margin-top:.65rem;background:#fff5f7;border:1px solid #ffe0e8;border-radius:9px;padding:.6rem .7rem;color:#9b4560}
.figure-loading b{display:block;font-size:.68rem}
.figure-loading small{display:block;font-size:.58rem;color:#a67c89;margin-top:.1rem}
.spinner{width:20px;height:20px;border:3px solid #f8c9d5;border-top-color:var(--pink);border-radius:50%;animation:spin .75s linear infinite;flex:0 0 auto}
@keyframes spin{to{transform:rotate(360deg)}}
.figure-error{margin-top:.65rem;border:1px solid #ffd2d9;background:#fff1f3;color:#a82f4c;border-radius:9px;padding:.6rem .7rem;font-size:.66rem;font-weight:800;line-height:1.45}
.inactive-row{background:#fafbfd;opacity:.72}
@media(max-width:750px){.figure-ai-grid{grid-template-columns:1fr}.figure-preview{height:150px}.figure-fields{grid-template-columns:1fr}.figure-result-actions{justify-content:stretch}.figure-result-actions .btn{flex:1}}
