:root{color-scheme:dark;--bg:#0c0c0f;--surface:#151518;--surface2:#1c1c20;--line:#303036;--text:#f4f3f2;--muted:#94949a;--soft:#bebdc3;--accent:#eeeef0;--radius:18px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--text);margin:0;line-height:1.5}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.hidden{display:none!important}.shell{width:min(1190px,calc(100% - 48px));margin-inline:auto}.topline{height:35px;background:#16161a;border-bottom:1px solid #29292d;padding:0 max(24px,calc((100vw - 1190px)/2));display:flex;align-items:center;gap:10px;color:#888890;font-size:10px;letter-spacing:.15em;font-weight:700}.topline .dot,.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b1deb0;box-shadow:0 0 10px #b1deb055}.topline-end{margin-left:auto}.site-header{border-bottom:1px solid #26262b;background:rgba(12,12,15,.96);position:sticky;top:0;z-index:20;backdrop-filter:blur(20px)}.nav-bar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:14px;width:max-content}.brand-mark{border:1px solid #66666d;width:46px;height:46px;display:grid;place-items:center;font-family:Georgia,serif;font-weight:700;font-size:35px;line-height:1;position:relative}.mark-slash{font:12px ui-sans-serif,sans-serif;position:absolute;right:3px;bottom:3px;color:#9d9da4}.brand-text{display:flex;flex-direction:column;letter-spacing:.12em;line-height:.95}.brand-text strong{font:700 21px Georgia,serif;letter-spacing:.14em}.brand-text em{font-style:normal;font-weight:600;font-size:10px;letter-spacing:.34em;margin-top:9px}.nav-actions{display:flex;align-items:center;gap:24px}.nav-link{font-size:13px;color:#c1c1c5}.nav-link:hover{color:#fff}.pill-link,.small-outline{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid #45454a;border-radius:99px;padding:12px 18px;background:none;color:#f3f3f4;font-size:12px;font-weight:650}.pill-link:hover,.small-outline:hover{border-color:#bcbcc1;background:#222227}.pill-link span{color:#95959b}.hero{min-height:510px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;position:relative;overflow:hidden;padding-block:60px 70px}.eyebrow,.section-overline{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:750;letter-spacing:.22em;color:#9d9da6}.eyebrow .line{width:27px;height:1px;background:#b6b6bb}.hero h1{font-size:clamp(44px,5.1vw,70px);line-height:1.05;letter-spacing:-.063em;margin:22px 0 21px;font-weight:760}.hero h1 span,.auth-card h1 span{color:#777780}.hero-copy>p{color:#aaaab0;max-width:480px;font-size:15px;line-height:1.85;margin-bottom:28px}.hero-buttons{display:flex;flex-wrap:wrap;gap:12px}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:15px 22px;border-radius:9px;font-size:13px;font-weight:700;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.button-white{background:#f1f1f1;color:#111114}.button-white:hover{background:#d7d7dc}.button-outline{border-color:#414148;background:#17171b;color:#fff}.button-outline:hover{border-color:#7b7b82}.hero-art{height:390px;position:relative;display:grid;place-items:center;isolation:isolate}.hero-art:before{content:"";position:absolute;width:330px;height:330px;left:50%;top:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,#54545a32 0,#13131700 68%);filter:blur(14px)}.orbit{position:absolute;border:1px solid #41414b;border-radius:50%;transform:rotateX(55deg) rotateZ(-25deg)}.o1{width:320px;height:290px}.o2{width:410px;height:360px;opacity:.5}.o3{width:490px;height:440px;opacity:.26}.hero-z{font:700 clamp(170px,17vw,265px)/1 Georgia,serif;letter-spacing:-.1em;transform:rotate(-7deg);color:#ececf0;text-shadow:20px 14px 0 #494951,45px 35px 60px #000;position:relative;z-index:2}.hero-caption{font-size:10px;letter-spacing:.28em;color:#777780;position:absolute;right:6px;bottom:18px}.catalog-section{padding:78px 0 86px;background:#111114;border-top:1px solid #25252b;border-bottom:1px solid #28282d}.section-title-row,.admin-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-top:15px;margin-bottom:30px}.section-title-row h2{font-size:41px;letter-spacing:-.055em;margin:0;line-height:1.2}.count-text{font-size:18px;color:#8d8d96;vertical-align:top;margin-left:8px;letter-spacing:0}.section-title-row p,.admin-title-row p{color:#9c9ca4;font-size:13px;margin:9px 0 0}.mini-badge{border:1px solid #393940;display:flex;align-items:center;gap:8px;padding:9px 13px;border-radius:50px;color:#b4b4bc;font-size:11px}.tools-bar{display:grid;grid-template-columns:minmax(0,1fr) 184px 175px;gap:12px}.search-box{display:flex;align-items:center;gap:12px;padding:0 17px;color:#a8a8b1;border:1px solid #32323a;background:#1b1b20;border-radius:10px;height:50px}.search-box:focus-within{border-color:#777782}.search-box input{height:100%;width:100%;border:0;background:none;color:white;outline:none;font-size:13px}.tools-bar select,.panel-actions input{min-width:0;padding:0 13px;border:1px solid #32323a;background:#1b1b20;color:#cfcfd3;border-radius:10px;font-size:12px;min-height:50px;outline:none}.categories{display:flex;gap:8px;overflow:auto;padding:20px 0 25px;scrollbar-width:thin}.category-btn{flex:0 0 auto;border:1px solid #323238;border-radius:50px;background:transparent;color:#a3a3aa;padding:9px 16px;font-size:11px}.category-btn.active{background:#efeff1;color:#111115;border-color:#efeff1;font-weight:700}.category-btn:hover:not(.active){background:#25252b}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{border:1px solid #303038;background:#19191e;border-radius:15px;overflow:hidden;transition:transform .2s,border-color .2s}.product-card:hover{transform:translateY(-3px);border-color:#696971}.product-media{aspect-ratio:1.08;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(circle at 65% 35%,#31313a,#202026 58%,#17171d)}.product-media img{width:100%;height:100%;object-fit:contain;padding:15px;transition:transform .25s}.product-card:hover img{transform:scale(1.045)}.placeholder-product{font-family:Georgia,serif;font-size:clamp(45px,6vw,100px);font-weight:700;color:#63636a;text-shadow:9px 9px 0 #17171c}.product-chip{position:absolute;top:12px;left:12px;background:#efeff0;border-radius:5px;color:#141418;padding:5px 8px;font-size:10px;font-weight:800;letter-spacing:.07em}.product-body{padding:18px}.product-category{font-size:9px;color:#9b9ba7;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.product-body h3{font-size:15px;font-weight:680;line-height:1.45;min-height:43px;margin:9px 0 14px}.product-desc{color:#8e8e97;font-size:12px;height:36px;line-height:18px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 12px}.product-price{font-size:23px;letter-spacing:-.04em;font-weight:750;margin:4px 0 16px}.product-price small{font-size:12px;font-weight:600;color:#9e9ea6}.product-bottom{border-top:1px solid #303038;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:5px}.product-bottom span{font-size:10px;color:#9a9aa3}.open-product{color:#ebebef;border:0;background:none;font-size:12px;font-weight:750;padding:4px 0}.open-product:hover{text-decoration:underline}.status-message{text-align:center;color:#a1a1aa;padding:44px 18px;font-size:13px}.demo-banner{border:1px solid #695b40;background:#292319;color:#e5caa0;padding:14px 18px;font-size:12px;border-radius:10px;margin-bottom:20px;line-height:1.6}.footnote{text-align:center;font-size:11px;color:#7f7f89;margin-top:34px}.cta{padding:78px 0 87px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta h2{font-size:clamp(27px,3vw,40px);letter-spacing:-.055em;line-height:1.15;margin:18px 0 12px}.cta p{color:#98989f;font-size:13px}.site-footer{border-top:1px solid #24242a;background:#08080b}.footer-inner{padding:32px 0;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#81818a;font-size:11px}.footer-inner strong{font-size:19px;font-family:Georgia,serif;letter-spacing:.08em;color:white}.footer-inner strong span{color:#888891}.footer-inner p{margin:5px 0 0}.footer-inner a:hover{color:white}.product-dialog,.form-dialog{border:1px solid #43434a;border-radius:16px;background:#18181d;color:white;max-width:min(870px,calc(100% - 24px));width:100%;padding:0;box-shadow:0 35px 120px #000b}.product-dialog::backdrop,.form-dialog::backdrop{background:#050508d9;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:13px;top:11px;z-index:5;width:36px;height:36px;border:1px solid #42424c;background:#202025;color:white;border-radius:50%;font-size:23px}.modal-layout{display:grid;grid-template-columns:1fr 1fr}.modal-media{min-height:390px;background:radial-gradient(circle,#30303b,#15151b);display:grid;place-items:center;overflow:hidden}.modal-media img{width:100%;height:100%;max-height:490px;object-fit:contain;padding:20px}.modal-info{padding:52px 30px 38px;display:flex;align-items:flex-start;flex-direction:column}.modal-info h2{font-size:30px;line-height:1.15;letter-spacing:-.04em;margin:18px 0}.modal-chips{display:flex;gap:8px}.modal-chips span{border:1px solid #3e3e46;color:#bbbcc5;font-size:10px;padding:5px 9px;border-radius:6px}.modal-desc{font-size:13px;line-height:1.75;color:#a3a3ad;white-space:pre-wrap;overflow:auto;max-height:155px}.modal-price{font-size:30px;font-weight:780;letter-spacing:-.035em;margin-top:auto}.modal-quantity{font-size:12px;color:#9999a2}.modal-info .button{width:100%;margin-top:10px}.copy-link{align-self:center;background:none;border:none;font-size:12px;color:#9c9ca5;margin-top:14px}.copy-link:hover{color:white}.admin-main{padding-block:48px 90px;min-height:calc(100vh - 78px)}.auth-container{display:grid;place-items:center;min-height:65vh}.auth-card{background:#151519;border:1px solid #35353e;border-radius:18px;padding:42px;width:min(430px,100%)}.auth-card h1{font-size:44px;line-height:1.13;letter-spacing:-.05em;margin:20px 0 12px}.auth-card>p{color:#93939e;font-size:13px;line-height:1.6}.stack-form{display:grid;gap:18px;margin-top:30px}.stack-form label,.product-form label{font-size:12px;color:#c8c8cf;font-weight:650;display:grid;gap:8px}.stack-form input,.product-form input:not([type="checkbox"]):not([type="file"]),.product-form select,.product-form textarea{background:#232329;border:1px solid #404049;color:white;border-radius:8px;padding:12px 13px;outline:none;min-width:0;width:100%;font-weight:450}.stack-form input:focus,.product-form input:focus,.product-form textarea:focus{border-color:#85858f}.stack-form .button{width:100%}.form-alert{font-size:12px;color:#e6aeaa;min-height:16px;margin:0}.setup-warning{padding:24px;border:1px solid #6f5d35;background:#282115;border-radius:12px;color:#f1dfba;margin-bottom:25px}.setup-warning h2{font-size:20px}.setup-warning p{font-size:13px}.setup-warning code{background:#423728;padding:2px 5px}.admin-title-row{margin-top:0;margin-bottom:32px}.admin-title-row h1{font-size:42px;letter-spacing:-.05em;margin:10px 0}.period{color:#86868d}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:30px}.stat-card{padding:23px;border-radius:13px;border:1px solid #37373e;background:#19191e;min-height:151px}.stat-card span{font-size:10px;color:#a9a9b3;font-weight:750;letter-spacing:.08em}.stat-card strong{font-size:29px;letter-spacing:-.045em;display:block;margin:13px 0 0}.stat-card small{font-size:11px;color:#8b8b96}.panel{border:1px solid #35353e;background:#17171c;border-radius:14px;overflow:hidden}.panel-title-row{padding:23px;display:flex;align-items:center;justify-content:space-between;gap:20px}.panel-title-row h2{font-size:20px;margin:0 0 2px}.panel-title-row p{color:#8b8b96;font-size:12px;margin:3px 0}.panel-actions{display:flex;gap:9px}.panel-actions input{min-height:39px}.panel-actions .small-outline{border-radius:8px}.table-container{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.admin-table th{background:#212127;color:#96969f;font-size:10px;font-weight:750;letter-spacing:.07em;padding:13px 18px;white-space:nowrap}.admin-table td{padding:15px 18px;border-top:1px solid #303037;color:#d8d8dd;vertical-align:middle}.table-product{display:flex;align-items:center;gap:10px;min-width:225px}.table-thumb{width:45px;height:45px;background:#2c2c33;border:1px solid #42424a;border-radius:7px;overflow:hidden;display:grid;place-items:center;flex-shrink:0;font-family:Georgia,serif;color:#aaa}.table-thumb img{width:100%;height:100%;object-fit:cover}.table-product strong{font-size:12px;display:block;max-width:280px}.table-product small{font-size:10px;color:#85858f}.quantity-control{display:flex;align-items:center;gap:8px}.quantity-control button{border:1px solid #3e3e45;color:white;background:#28282f;width:26px;height:26px;border-radius:5px;font-size:14px}.quantity-control b{min-width:15px;text-align:center}.status-tag{display:inline-flex;padding:5px 9px;border-radius:5px;border:1px solid #3f3f48;color:#afafb8;font-size:10px;white-space:nowrap}.status-tag.on{color:#c9e7be;border-color:#40613c;background:#233123}.table-actions{display:flex;gap:8px}.table-actions button{background:none;border:0;color:#c7c7cd;font-size:11px;text-decoration:underline;padding:3px}.table-actions button.danger{color:#e3aaa3}.form-dialog{width:min(700px,calc(100% - 24px));max-height:calc(100dvh - 35px);overflow:auto}.form-heading{padding:27px 29px 18px;border-bottom:1px solid #36363e;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.form-heading h2{font-size:25px;letter-spacing:-.04em;margin:7px 0 0}.dialog-close-inline{background:none;border:0;color:white;font-size:28px}.product-form{padding:25px 29px}.fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}.span-2{grid-column:1/-1}.product-form label small{color:#7f7f88;font-size:10px;font-weight:450}.product-form textarea{resize:vertical}.product-form input[type=file]{width:100%;font-size:12px;color:#bbb}.photo-preview:empty{display:none}.photo-preview img{width:120px;height:100px;object-fit:contain;background:#28282f;border-radius:9px;border:1px solid #41414b}.toggle-row{display:flex!important;flex-direction:row;align-items:center;gap:10px!important;padding:12px;background:#222228;border-radius:8px}.toggle-row input{width:16px;height:16px;accent-color:#fff}.form-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #35353d;margin-top:20px;padding-top:20px}.form-footer .small-outline{border-radius:8px}.toast{position:fixed;bottom:25px;right:25px;z-index:100;background:#ebebee;color:#111115;padding:14px 20px;border-radius:9px;box-shadow:0 12px 35px #0007;font-size:12px;font-weight:650;display:none;max-width:min(350px,calc(100% - 30px))}.toast.visible{display:block}@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-art{height:325px}.hero{min-height:430px}.hero h1{font-size:53px}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:750px){.shell{width:min(100% - 34px,1190px)}.topline{padding-inline:17px;font-size:9px}.topline-end{display:none}.nav-bar{height:70px}.brand-mark{width:40px;height:40px;font-size:28px}.brand-text strong{font-size:17px}.brand-text em{font-size:8px}.nav-actions{gap:12px}.nav-link{display:none}.pill-link{padding:10px 12px}.hero{grid-template-columns:1fr;padding-block:52px 45px;min-height:0}.hero h1{font-size:clamp(42px,11vw,64px)}.hero-art{height:190px;order:-1}.hero-z{font-size:150px}.hero-caption{display:none}.o1{width:230px;height:170px}.o2{width:300px;height:230px}.o3{width:355px;height:270px}.hero-copy>p{font-size:14px}.catalog-section{padding:50px 0}.section-title-row h2{font-size:33px}.mini-badge{display:none}.tools-bar{grid-template-columns:1fr 1fr}.search-box{grid-column:1/-1}.tools-bar select{min-height:46px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-body{padding:14px}.product-body h3{font-size:13px}.product-price{font-size:20px}.product-desc{font-size:11px}.product-category{font-size:9px}.product-bottom{align-items:flex-end}.product-bottom span{font-size:9px}.open-product{font-size:11px}.cta{padding:55px 0;flex-direction:column;align-items:flex-start}.footer-inner{flex-direction:column;align-items:flex-start}.modal-layout{grid-template-columns:1fr}.modal-media{min-height:230px;max-height:280px}.modal-media img{max-height:260px}.modal-info{padding:25px}.modal-info h2{font-size:24px}.admin-main{padding-block:25px 60px}.admin-title-row h1{font-size:31px}.admin-title-row .button{padding:12px;font-size:11px}.panel-title-row{align-items:stretch;flex-direction:column}.panel-actions input{flex:1}.stat-card{min-height:128px;padding:17px}.stat-card strong{font-size:25px}.stat-card span{font-size:9px}}@media(max-width:430px){.product-grid{grid-template-columns:1fr 1fr}.product-media{aspect-ratio:1}.product-card{border-radius:10px}.product-body{padding:11px}.product-price{font-size:18px}.product-body h3{font-size:12px;min-height:35px}.product-desc{display:none}.product-bottom span{max-width:56px}.form-heading{padding:21px}.product-form{padding:20px}.fields-grid{grid-template-columns:1fr}.fields-grid .span-2{grid-column:1}.stat-grid{gap:9px}.stat-card strong{font-size:23px}.auth-card{padding:25px}.auth-card h1{font-size:37px}}

/* ZANCASTORE 2.0 — Galeria de produtos */
.photo-count-badge{position:absolute;right:12px;bottom:12px;z-index:1;background:#111116d9;border:1px solid #5c5c65;color:#f7f7f8;border-radius:6px;padding:6px 9px;font-size:10px;font-weight:700;letter-spacing:.025em;backdrop-filter:blur(8px)}
.product-dialog{max-width:min(1000px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto}
.modal-layout{grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr)}
.product-gallery{min-width:0;display:flex;flex-direction:column;background:radial-gradient(circle at 50% 45%,#30303a,#16161b 70%);padding:22px;gap:13px}
.gallery-stage{min-height:370px;aspect-ratio:1.12;max-height:510px;position:relative;display:grid;place-items:center;border-radius:12px;background:#18181e;overflow:hidden;border:1px solid #33333c;touch-action:pan-y}
.gallery-stage>img{width:100%;height:100%;object-fit:contain;padding:18px;cursor:zoom-in;user-select:none}
.gallery-position{position:absolute;left:15px;bottom:13px;padding:6px 10px;border-radius:999px;background:#0e0e13da;color:#e5e5e9;font-size:11px;font-weight:700;letter-spacing:.05em}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:37px;border-radius:8px;border:1px solid #ffffff35;color:white;background:#121218ba;z-index:2;font-size:32px;line-height:1;display:grid;place-items:center;backdrop-filter:blur(8px);transition:background .2s}
.gallery-arrow:hover{background:#40404a}.gallery-arrow.prev{left:10px}.gallery-arrow.next{right:10px}
.gallery-thumbnails{display:flex;gap:9px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin;scrollbar-color:#656572 transparent}
.gallery-thumb{flex:0 0 70px;width:70px;height:70px;border:2px solid #34343c;border-radius:9px;background:#1e1e24;padding:3px;overflow:hidden;opacity:.65;transition:border-color .15s,opacity .15s}
.gallery-thumb:hover{opacity:1}.gallery-thumb.active{border-color:#f1f1f1;opacity:1}.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:5px}
.photo-lightbox{background:#0b0b0ef5;color:white;border:1px solid #414149;border-radius:15px;padding:32px 14px 12px;max-width:min(1200px,95vw);max-height:95dvh;box-shadow:0 40px 100px #000a}
.photo-lightbox::backdrop{background:#000e}.photo-lightbox img{display:block;max-width:100%;max-height:calc(95dvh - 55px);object-fit:contain;margin-inline:auto}
.lightbox-close{position:absolute;top:7px;right:10px;background:#24242c;color:white;border:1px solid #575760;border-radius:50%;width:32px;height:32px;font-size:22px}
.gallery-editor-header{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #393942;padding-top:19px;margin-top:2px}
.gallery-editor-title{font-size:14px;font-weight:750;color:#efeff2}.gallery-editor-title span{color:#9797a0;font-size:11px;margin-left:7px}
.gallery-editor-header p{font-size:11px;color:#9999a3;margin:5px 0 0;line-height:1.55}
.gallery-upload-button{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;color:#101015!important;font-weight:750!important;font-size:12px!important;border-radius:8px;background:#e9e9ec;padding:12px 13px;cursor:pointer}
.gallery-upload-button:hover{background:#c9c9d0}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.gallery-edit-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(146px,1fr));gap:11px}
.gallery-edit-tile{position:relative;background:#202027;border:1px solid #42424c;border-radius:10px;padding:7px;min-width:0}
.gallery-edit-tile.is-cover{border-color:#e7e7ed}
.gallery-edit-tile>img{width:100%;height:120px;object-fit:contain;border-radius:6px;background:#131318}
.gallery-cover-flag{position:absolute;top:13px;left:13px;padding:4px 7px;border-radius:4px;background:#dedee4;color:#111115;font-size:9px;font-weight:900;letter-spacing:.08em}
.gallery-tile-actions{display:grid;grid-template-columns:1fr 24px 24px 24px;gap:3px;margin-top:6px}
.gallery-tile-actions button{border:1px solid #41414c;background:#2d2d35;color:white;border-radius:5px;min-height:29px;font-size:11px;padding:4px}
.gallery-tile-actions button:hover:not(:disabled){background:#41414c}
.gallery-tile-actions button.gallery-remove{color:#ffada9;font-size:17px}
.gallery-empty{grid-column:1/-1;border:1px dashed #555560;border-radius:10px;padding:24px;text-align:center;color:#9d9da6;font-size:12px}
.gallery-link-row{display:grid;gap:8px}.gallery-link-row>label{font-size:12px;font-weight:650;color:#c8c8cf}
.gallery-link-controls{display:flex;gap:8px}.gallery-link-controls .small-outline{border-radius:8px;white-space:nowrap}
.gallery-link-row>small{font-size:10px;color:#83838c}
@media(max-width:750px){.modal-layout{grid-template-columns:1fr}.product-gallery{padding:15px}.gallery-stage{min-height:235px;aspect-ratio:1.18;max-height:360px}.gallery-stage>img{padding:9px}.gallery-arrow{height:38px;width:32px;font-size:26px}.gallery-thumb{flex-basis:59px;width:59px;height:59px}.modal-info{padding:21px 25px 27px}.gallery-editor-header{align-items:flex-start;flex-direction:column}.gallery-upload-button{width:100%}.gallery-edit-list{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-link-controls{flex-direction:column}.gallery-link-controls .small-outline{width:100%}}


/* ZancaStore 2.1 — foto única, enquadramento automático e sem emendas visuais.
   Imagens horizontais, quadradas ou verticais preservam a proporção original. */
.product-gallery{padding:0;gap:0;background:#151519;overflow:hidden;border-radius:15px 0 0 15px}
.gallery-stage{width:100%;min-height:285px;max-height:none;aspect-ratio:auto;
  display:flex;align-items:center;justify-content:center;position:relative;
  background:#121215;border:0;border-radius:0;overflow:hidden;touch-action:pan-y}
.gallery-stage>.gallery-main-image{display:block;width:100%;height:auto;max-width:100%;
  max-height:min(520px,70dvh);padding:0;margin:0;object-fit:contain;
  cursor:zoom-in;user-select:none;flex:0 1 auto}
.gallery-thumbnails{padding:15px 18px 17px;gap:10px;background:#151519}
.gallery-position{left:15px;bottom:14px}
.gallery-arrow{top:50%;transform:translateY(-50%)}
@media(max-width:750px){
  .product-gallery{padding:0;border-radius:15px 15px 0 0}
  .gallery-stage{min-height:230px;max-height:none;aspect-ratio:auto}
  .gallery-stage>.gallery-main-image{padding:0;max-height:min(410px,59dvh)}
  .gallery-thumbnails{padding:12px 15px 16px}
}

/* ZancaStore 2.2 — recorte individual de foto sem afetar outras imagens */
.gallery-crop-button{display:block;width:100%;margin-top:7px;min-height:32px;border-radius:6px;border:1px solid #64646c;background:#32323b;color:#f1f1f4;font-size:11px;font-weight:700;cursor:pointer}
.gallery-crop-button:hover{background:#484851}
.photo-crop-dialog{width:min(680px,calc(100% - 22px));max-height:95dvh;overflow:auto;border:1px solid #4a4a53;border-radius:15px;padding:22px;background:#19191e;color:#f6f6f8;box-shadow:0 30px 90px #000c}
.photo-crop-dialog::backdrop{background:#000e;backdrop-filter:blur(5px)}
.crop-head h2{margin:12px 0 0;font-size:27px;letter-spacing:-.04em}
.crop-help{font-size:12px;line-height:1.6;color:#b1b1bb;margin:12px 0 16px}
.crop-preview{border-radius:10px;background:#0e0e12;border:1px solid #37373e;min-height:160px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.crop-preview canvas{display:block;max-width:100%;max-height:52dvh;width:auto;height:auto}
.crop-range-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:20px;color:#d5d5df;font-size:13px;font-weight:650}
.crop-range-title strong{font-size:13px}
.crop-range{display:block;width:100%;margin:14px 0;accent-color:#eaeaf2;cursor:pointer}
.crop-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}
.crop-actions .button{min-width:145px;justify-content:center}
@media(max-width:600px){.photo-crop-dialog{padding:16px}.crop-actions{flex-direction:column-reverse}.crop-actions button{width:100%}}

/* ZancaStore 3.0 — fluxo de vendas, capital investido e despesas */
.finance-tabs{display:flex;align-items:center;gap:7px;padding:5px;border:1px solid #33333b;background:#17171c;border-radius:12px;margin-bottom:22px;width:max-content;max-width:100%;flex-wrap:wrap}
.fin-tab{padding:11px 24px;border:0;border-radius:8px;background:transparent;color:#a5a5af;font-size:13px;font-weight:700;transition:background .15s,color .15s}
.fin-tab:hover{color:white;background:#2a2a31}.fin-tab.active{background:#eeeef0;color:#131317}
.stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.stat-card{min-width:0}.stat-card strong{font-size:clamp(21px,2.1vw,30px);overflow-wrap:anywhere}
.capital-stat{border-color:#565660;background:linear-gradient(145deg,#222228,#17171b)}
.capital-stat>strong{color:#f2f0e9}.finance-pane{min-width:0}.finance-panel{margin-bottom:28px}
.fin-action-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.fin-action-row .button{white-space:nowrap;min-height:46px}
.fin-month-label{font-size:11px;color:#a8a8b1;display:flex;flex-direction:column;gap:5px;font-weight:650}
.fin-month-label input{color:#e6e6eb;border:1px solid #41414b;border-radius:9px;background:#23232b;padding:10px 12px;color-scheme:dark;min-height:46px}
.fin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:25px 0 25px}.fin-kpi{background:#202026;border:1px solid #34343c;border-radius:12px;padding:19px;min-width:0;display:flex;flex-direction:column;gap:7px}
.fin-kpi span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#a7a7b2}.fin-kpi strong{font-size:clamp(18px,2vw,28px);font-weight:750;letter-spacing:-.04em;overflow-wrap:anywhere}.fin-kpi small{color:#92929d;font-size:11px;line-height:1.5}
.fin-kpi:nth-child(3){border-color:#51515a}.fin-negative{color:#f3a7a0!important}.fin-positive{color:#c2e2c3!important}
.fin-warning{background:#30271c;border:1px solid #72532a;padding:16px;border-radius:9px;color:#e6cfa7;font-size:12px;margin:14px 0}.finance-list-head{margin-top:18px}.finance-list-head h3{font-size:19px;margin:0}.fin-hint{color:#b9b4ae;background:#24211e;border:1px solid #49413b;border-radius:8px;padding:13px;font-size:12px;margin:18px 0}
.fin-dialog{max-width:min(750px,calc(100% - 20px));max-height:95dvh;overflow:auto}.fin-estimate{font-size:12px;line-height:1.7;color:#d2d2dc;border:1px solid #3d3d46;background:#24242a;border-radius:10px;margin-top:20px;padding:14px}
.fin-sold{color:#7d7d88}.fin-status{display:inline-flex;font-size:10px;font-weight:750;border:1px solid #484850;color:#c7c7ce;padding:5px 8px;border-radius:6px;white-space:nowrap}.fin-status.received{color:#b9dcba;border-color:#46664a}.fin-status.pending{color:#ecd5a8;border-color:#685737}.fin-status.canceled{color:#9797a0}
.table-actions .fin-action{white-space:nowrap}.fin-nowrap{white-space:nowrap}.fin-row-sub{display:block;color:#9898a4;font-size:10px;line-height:1.55;margin-top:5px}.fin-sale-name{font-size:12px;font-weight:750}.fin-profit{font-weight:800}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-tabs{width:100%}.fin-tab{flex:1;padding:12px 6px}.finance-panel{padding:18px}.fin-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fin-kpi{padding:13px}.fin-kpi strong{font-size:21px}.fin-action-row{width:100%}.fin-action-row>*{flex:1}.fin-action-row .button{font-size:11px;padding:10px}.fin-month-label input{width:100%;min-width:0}}
@media(max-width:430px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card strong{font-size:19px}.fin-kpis{grid-template-columns:1fr 1fr}}

.fin-export-expense{display:flex;justify-content:flex-end;margin-top:7px;margin-bottom:7px}
@media(max-width:750px){.stat-grid>.capital-stat{grid-column:1/-1;min-height:108px}}

/* ZancaStore v3.1 — Contas a receber e PIX 0/30/60 */
.fin-plan{padding:17px;border:1px solid #494952;background:#222228;border-radius:10px;display:grid;gap:9px}
.fin-plan.hidden{display:none}
.fin-plan>strong{font-size:13px;color:#ececf1}
.fin-plan small{font-size:11px;color:#a4a4ae;line-height:1.5}
.fin-plan-line{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #3d3d45;padding-top:9px;font-size:12px;color:#bdbdc6}
.fin-plan-line strong{color:#ededf2;white-space:nowrap}
.fin-check{display:flex!important;align-items:center;gap:10px!important;font-size:12px!important;line-height:1.5;color:#d9d9e1}
.fin-check input{width:17px;height:17px;accent-color:#ddd;flex:0 0 auto}
.fin-rec-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.rec-controls{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.rec-controls>label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#c9c9d1}
.rec-controls select{min-width:185px;background:#26262d;color:#ededf1;border:1px solid #4a4a54;border-radius:8px;padding:11px 12px;min-height:43px}
.rec-help{font-size:11px;color:#aaaab5;padding-bottom:8px}
@media(max-width:750px){.fin-rec-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-controls{align-items:stretch}.rec-controls select{width:100%}.finance-tabs{justify-content:stretch}.finance-tabs .fin-tab{min-width:calc(50% - 6px)}}

/* ZancaStore v3.2 — Parcelamento personalizado */
.fin-schedule-hint{margin:5px 0 10px;color:#b1b1bd;font-size:12px;line-height:1.65}
.fin-schedule-tools{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(180px,1.5fr) auto;gap:12px;align-items:end}
.fin-schedule-tools>label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#c9c9d2}
.fin-schedule-tools input,.fin-schedule-tools select,.fin-schedule-row input{width:100%;min-width:0;min-height:41px;padding:9px 10px;border-radius:8px;border:1px solid #45454f;background:#24242d;color:#f6f6f8;color-scheme:dark;font-size:12px}
.fin-schedule-tools .small-outline{min-height:41px;white-space:nowrap}
.fin-schedule-grid{display:grid;gap:10px;margin-top:12px}
.fin-schedule-row{display:grid;grid-template-columns:42px minmax(115px,1.5fr) minmax(95px,1fr) minmax(90px,.85fr) minmax(130px,1.05fr);gap:10px;align-items:center;background:#19191f;border:1px solid #3a3a44;padding:10px 12px;border-radius:10px}
.fin-schedule-number{font-size:12px;color:#e4e4ed}
.fin-schedule-row>label:not(.fin-schedule-paid){display:flex;flex-direction:column;gap:5px;color:#b5b5c0;font-size:10px;font-weight:700}
.fin-schedule-row .fin-schedule-paid{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px;color:#dedee5;white-space:nowrap}
.fin-schedule-row .fin-schedule-paid input{min-height:auto;width:16px;height:16px;accent-color:#e8e8ef;flex:0 0 16px}
.fin-schedule-paid-date.hidden{display:none}
.fin-schedule-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:8px 0}
.fin-schedule-footer>div{font-size:12px;color:#c5e5ca;line-height:1.6}
.fin-schedule-footer>div.fin-schedule-mismatch{color:#ffb1a6}
@media(max-width:750px){.fin-schedule-tools{grid-template-columns:1fr 1fr}.fin-schedule-tools .small-outline{grid-column:1/-1}.fin-schedule-row{grid-template-columns:40px 1fr 1fr;row-gap:8px}.fin-schedule-row>.fin-schedule-paid{grid-column:2}.fin-schedule-row>.fin-schedule-paid-date{grid-column:3}.fin-schedule-footer{align-items:stretch;flex-direction:column}.fin-schedule-footer .small-outline{width:100%}}
@media(max-width:440px){.fin-schedule-tools{grid-template-columns:1fr}.fin-schedule-tools .small-outline{grid-column:auto}.fin-schedule-row{grid-template-columns:36px 1fr 1fr;padding:8px;gap:7px}.fin-schedule-row input{padding:8px 6px;font-size:11px}}

/* v3.3 — Tela de correção de vendas */
#editSaleDialog .fields-grid{row-gap:16px}
#editSaleInstallmentSection .z-sale-edit-part{display:grid;grid-template-columns:95px 1.2fr 1fr 140px;gap:9px;align-items:center;background:#1a1a21;border:1px solid #3f3f49;padding:10px;border-radius:9px}
.z-sale-edit-part strong,.z-sale-edit-part .edit-part-status{font-size:11px;color:#dddde5}
.z-sale-edit-part>label{display:flex;flex-direction:column;gap:5px;color:#bdbdc6;font-size:11px}
.z-sale-edit-part input{width:100%;min-width:0;min-height:40px;border:1px solid #484853;border-radius:7px;background:#26262f;color:#f3f3f8;padding:8px;color-scheme:dark;font-size:12px}
.z-sale-edit-part input:disabled{opacity:.6;cursor:not-allowed}
#editSaleScheduleSummary{font-size:12px;font-weight:650;color:#d0e8d0}
#editSaleScheduleSummary.fin-schedule-mismatch{color:#ffb1a6}
@media(max-width:650px){#editSaleInstallmentSection .z-sale-edit-part{grid-template-columns:1fr 1fr}#editSaleInstallmentSection .z-sale-edit-part strong{grid-column:1/-1}}

/* v4: access to the new admin module without changing finance-tabs behavior */
.finance-tabs .v4-shortcut{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;border:1px solid #484852;border-radius:8px;color:#e9e9ee;font-size:12px;font-weight:750;background:#27272d}
.finance-tabs .v4-shortcut:hover{background:#34343c;color:white}

.approval-count{display:inline-grid;place-items:center;margin:0 4px;min-width:22px;height:22px;border-radius:6px;background:#35353e;color:#f4f4f8;font-weight:800;font-size:11px}
