/* DoceGestor / Minha Loja - hybrid variation 03; scoped */
.store-page{--store-accent:#f27798;--store-accent-light:#ffc5d1;--store-accent-deep:#ac486a;min-height:100dvh;padding:0 12px 128px;overflow-x:hidden;color:#fff5f1;background:radial-gradient(ellipse at 50% 0%,#542a2d 0%,transparent 34%),linear-gradient(180deg,#28171a,#160e13 55%,#24161a)}
.store-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:37px 3px 18px}
.store-back,.store-topbtn{display:grid;place-items:center;flex:none;width:39px;height:39px;border:1px solid #c58d846b;background:#392127;color:#ffeae8;border-radius:50%}
.store-back svg,.store-topbtn svg{width:19px;height:19px}
.store-top-title{flex:1;min-width:0}.store-top-title h1{font:500 31px/1.1 Georgia,serif;letter-spacing:-.7px;margin:0}
.store-top-title p{color:#ddbfc7;font-size:11px;margin:5px 0 0;line-height:1.45}
.store-actions-top{display:flex;gap:6px}
.store-card{overflow:hidden;border-radius:19px;border:1px solid #a66d65;box-shadow:0 12px 28px #09050870;background:linear-gradient(135deg,#452a29,#261619);position:relative}
.store-cover{height:185px;position:relative;background:linear-gradient(0deg,#2010128f,transparent 60%),url('/finance-hero.jpg') center 48%/cover}
.store-cover img{width:100%;height:100%;object-fit:cover}
.store-cover:after{content:"";position:absolute;inset:auto 0 0;height:68px;background:linear-gradient(transparent,#2e1a1b);pointer-events:none}
.store-cover-label{position:absolute;right:11px;top:12px;z-index:1;color:#fff;background:#241419b8;backdrop-filter:blur(8px);border:1px solid #ffdac07d;border-radius:20px;padding:8px 11px;font-size:10px}
.store-cover-edit{position:absolute;right:12px;bottom:13px;z-index:2;display:flex;gap:6px;align-items:center;border-radius:22px;padding:9px 11px;background:#42242acb;color:#fff;border:1px solid #f7b4ae8c;font-size:11px}
.store-cover-edit svg{width:15px;height:15px}
.store-card-body{padding:0 15px 14px;position:relative}
.store-logo-box{width:83px;height:83px;position:relative;z-index:2;margin-top:-44px;border:3px solid #f8cfda;border-radius:50%;background:linear-gradient(130deg,#ffeff1,#ffd5dc);display:grid;place-items:center;box-shadow:0 6px 19px #11090c99;overflow:visible}
.store-logo-box>img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.store-logo-box>.store-logo-fallback{width:45px;height:45px;color:#853b48}
.store-logo-edit{position:absolute;right:-6px;bottom:-5px;border:2px solid #ebced3;border-radius:50%;background:var(--store-accent-deep);width:30px;height:30px;display:grid;place-items:center;color:#fff}
.store-logo-edit svg{width:15px;height:15px}
.store-card-name{font:500 27px/1.1 Georgia,serif;letter-spacing:-.5px;margin:12px 0 6px;overflow-wrap:anywhere}
.store-handle{color:#e8bac5;font-size:11px;margin-bottom:7px}
.store-card-desc{font-size:12px;line-height:1.52;color:#f4dfdf;min-height:18px;margin:0 0 10px;white-space:pre-wrap;overflow-wrap:break-word}
.store-socials{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 15px}
.store-social{display:flex;align-items:center;gap:4px;border:1px solid #976673;border-radius:50%;width:32px;height:32px;justify-content:center;background:#4d2d36;color:#f4ccd6;font-size:10px;text-decoration:none}
.store-social svg{width:15px;height:15px}
.store-social.inactive{opacity:.45}
.store-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:15px}
.store-metric{text-align:center;padding:3px 5px;border-right:1px solid #78514d}.store-metric:last-child{border-right:0}
.store-metric strong{font-size:19px;color:#fff;display:block}.store-metric span{font-size:10px;color:#e8c0c8;display:block;margin-top:3px}
.store-cta-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.store-cta-row button{min-height:43px;border-radius:13px;background:#392226;border:1px solid #a97480;color:#ffecf0;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:750;padding:8px}
.store-cta-row button:first-child{background:linear-gradient(115deg,var(--store-accent),var(--store-accent-deep));border-color:var(--store-accent-light);color:#280d19}
.store-cta-row svg{width:17px;height:17px}
.store-section-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:22px 4px 12px}
.store-section-head h2{font:500 21px Georgia,serif;margin:0}
.store-section-head small{font-size:10px;color:#cfadb7}
.store-panel-list{display:grid;gap:7px}
.store-edit-row{min-height:67px;width:100%;display:flex;gap:11px;align-items:center;border:1px solid #744a4c;background:linear-gradient(120deg,#392321,#231619);color:#fff;border-radius:13px;text-align:left;padding:10px;position:relative}
.store-edit-icon{display:grid;place-items:center;background:linear-gradient(130deg,#a75454,#613036);border:1px solid #bb6968;flex:0 0 43px;width:43px;height:43px;border-radius:11px;color:#ffe6e3}
.store-edit-icon svg{width:21px;height:21px}
.store-edit-text{flex:1;min-width:0}.store-edit-text strong{display:block;font-size:12px;font-weight:700}
.store-edit-text small{display:block;color:#d1aab3;font-size:10px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.store-edit-trail{display:flex;align-items:center;gap:5px;max-width:145px}
.store-edit-trail svg{width:15px;height:15px;flex:0 0 15px;color:#f5c8d1}
.store-swatches{display:flex;gap:4px;flex:none}
.store-swatch{width:19px;height:19px;border-radius:50%;border:1px solid #f7d2d38c}
.store-theme-swatches{display:flex;gap:5px}
.store-theme-swatch{width:26px;height:29px;border-radius:6px;border:1px solid #c69891;box-shadow:inset 0 0 10px #0005}
.store-profile-bottom{position:sticky;bottom:calc(86px + env(safe-area-inset-bottom,0px));margin:13px 0 0;z-index:3}
.store-save{width:100%;min-height:51px;border-radius:16px;background:linear-gradient(110deg,var(--store-accent),#fcafbf);border:1px solid #ffbfcb;color:#321720;font-weight:780;font-size:13px;box-shadow:0 8px 24px #b6406966;display:flex;align-items:center;justify-content:center;gap:8px}
.store-save svg{width:18px;height:18px}
.store-save[disabled]{opacity:.6}
.store-save-note{font-size:10px;color:#dcb7c0;text-align:center;margin-top:8px}
.store-extra{margin-top:17px}.store-extra summary{color:#d9b0be;border:1px solid #623c47;border-radius:12px;padding:12px;font-size:12px;cursor:pointer}
.store-extra[open] summary{border-radius:12px 12px 0 0}.store-extra-inner{border:1px solid #623c47;border-top:0;padding:10px;border-radius:0 0 13px 13px}
.store-inline-button{display:flex;align-items:center;justify-content:space-between;background:#402831;border:1px solid #82545f;color:white;padding:11px 12px;border-radius:10px;width:100%;font-size:12px;min-height:43px}
.store-inline-button+ .store-inline-button{margin-top:7px}
.store-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
.store-dialog-overlay{position:fixed;inset:0;background:#10090ccc;z-index:90;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);overflow:hidden}
.store-dialog{width:min(100%,560px);height:auto;max-height:calc(100svh - env(safe-area-inset-top,0px) - 25px);background:linear-gradient(145deg,#432936,#23161d);border:1px solid #a66d7d;border-radius:26px 26px 0 0;color:white;box-shadow:0 -15px 35px #0502068c;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;overscroll-behavior:contain}
.store-dialog-head{padding:12px 17px;border-bottom:1px solid #6f4555}
.store-dialog-handle{width:42px;height:5px;border-radius:10px;background:#a8858e;margin:0 auto 15px}
.store-dialog-title{display:flex;justify-content:space-between;align-items:center;gap:8px}
.store-dialog-title h2{font:500 27px Georgia,serif;margin:0}
.store-dialog-title button{display:grid;place-items:center;width:37px;height:37px;background:#664454;color:#fff;border:1px solid #a27285;border-radius:50%;font-size:22px}
.store-dialog-body{overflow-y:auto;min-height:0;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:17px}
.store-field-label{display:block;margin:12px 0 7px;font-size:12px;color:#e9bdce;font-weight:750}
.store-field{width:100%;font-size:16px;min-height:48px;border:1px solid #886174;border-radius:12px;background:#523443;padding:11px 12px;color:#fff;outline:none;box-sizing:border-box;color-scheme:dark}
.store-field:focus{border-color:#e6a1bb;box-shadow:0 0 0 2px #d46c9850}
.store-field::placeholder{color:#c6a4b3}
.store-dialog-note{font-size:11px;color:#dbb7c5;line-height:1.5;margin:0 0 9px}
.store-dialog-foot{display:flex;gap:9px;border-top:1px solid #725060;padding:12px 17px calc(16px + env(safe-area-inset-bottom,0px));background:#281923}
.store-dialog-foot button{flex:1;min-height:46px;border-radius:12px;border:1px solid #a47485;background:#513543;color:#ffedf0;font-size:12px;font-weight:750}
.store-dialog-foot button:last-child{background:linear-gradient(110deg,#b85176,#e882a1);border-color:#f4abc0;color:#fff}
.store-social-grid{display:grid;grid-template-columns:1fr;gap:8px}
.store-theme-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.store-theme-option{padding:8px;border:1px solid #7b5663;border-radius:14px;background:#422c36;color:#fff;text-align:left;min-width:0}
.store-theme-option.selected{border:2px solid var(--store-accent);background:#684152}
.store-theme-option span{display:block;margin-top:7px;font-size:12px}
.store-theme-mini{display:grid;place-items:center;min-height:100px;border-radius:10px;font:500 23px Georgia,serif;color:#fff;text-shadow:0 1px 6px #210c0d}
.store-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.store-color-option{display:flex;flex-direction:column;gap:7px;align-items:center;background:#3e2732;color:#fff;border:1px solid #806074;border-radius:11px;padding:10px 4px;font-size:9px;min-height:83px}
.store-color-circle{width:35px;height:35px;border:2px solid #ffdfe3;border-radius:50%;box-shadow:0 2px 12px #10050883}
.store-color-option.selected{border-color:#f5b9cf;background:#654255}
.store-public-preview{padding:16px}
.store-public-preview>p{font-size:12px;color:#d5b4bc}
.store-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.store-catalog-item{min-width:0;border-radius:14px;overflow:hidden;background:#432d38;border:1px solid #8a5a68}
.store-catalog-item img{width:100%;height:100px;object-fit:cover}
.store-catalog-item div{padding:8px}.store-catalog-item strong{font-size:11px;display:block;min-height:28px}.store-catalog-item span{font-size:11px;color:#fac2cc}
.store-social-hint{font-size:11px;color:#dfb7c5}
@media(max-width:375px){.store-page{padding-left:8px;padding-right:8px}.store-card-body{padding:0 11px 13px}.store-card-name{font-size:24px}.store-edit-trail{max-width:95px}.store-edit-icon{width:39px;height:39px;flex-basis:39px}.store-metric strong{font-size:17px}.store-swatches{gap:2px}.store-swatch{width:14px;height:14px}.store-top-title h1{font-size:28px}.store-cta-row button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.store-dialog{scroll-behavior:auto}}
.store-profile-bottom{position:relative!important;bottom:auto!important}.store-back svg{transform:rotate(180deg)}
#app:has(.store-page){background:#1b1116!important}
