:root{--primary:#0b5cab;--accent:#ffb000;--ink:#172033;--muted:#667085;--bg:#f5f7fb;--card:#fff;--line:#e4e7ec;--danger:#b42318;--ok:#067647;--radius:16px;--shadow:0 10px 30px rgba(16,24,40,.08)}*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}a{color:inherit;text-decoration:none}img{max-width:100%}.container{width:min(1180px,calc(100% - 32px));margin:auto}.topbar{background:#0b172a;color:#fff;font-size:13px;padding:8px 0}.topbar .container,.header-row,.nav-row,.section-head,.actions,.form-row{display:flex;align-items:center;gap:16px}.topbar .container,.header-row,.section-head{justify-content:space-between}.header{background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line)}.header-row{padding:15px 0}.brand{font-size:24px;font-weight:800;color:var(--primary)}.brand span{color:var(--accent)}.search-wrap{position:relative;flex:1;max-width:680px}.search{width:100%;padding:15px 48px 15px 18px;border:2px solid #cfd7e6;border-radius:14px;font-size:16px;outline:none}.search:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(11,92,171,.1)}.search-icon{position:absolute;right:16px;top:13px;font-size:22px}.nav{background:#fff}.nav-row{padding:10px 0;overflow:auto}.nav-row a{white-space:nowrap;font-weight:650;color:#344054}.hero{padding:58px 0;background:linear-gradient(135deg,#eaf3ff,#fff6dc)}.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.04;margin:0 0 16px;max-width:790px}.hero p{font-size:19px;max-width:700px;color:#475467}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 18px;font-weight:750;cursor:pointer;background:var(--primary);color:#fff}.btn.secondary{background:#fff;color:var(--primary);border:1px solid var(--line)}.btn.accent{background:var(--accent);color:#111}.btn.danger{background:var(--danger)}.btn.small{padding:8px 12px;font-size:13px}.section{padding:44px 0}.section h2{font-size:30px;margin:0}.muted{color:var(--muted)}.chips{display:flex;gap:10px;overflow:auto;padding:14px 0}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;white-space:nowrap;cursor:pointer}.chip.active{background:var(--primary);color:#fff;border-color:var(--primary)}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.product-image{height:190px;background:linear-gradient(135deg,#eef4ff,#f8fafc);display:flex;align-items:center;justify-content:center;color:#98a2b3;font-weight:700}.product-body{padding:18px}.product-body h3{margin:8px 0 8px;font-size:18px;line-height:1.25}.code{font-size:12px;color:#667085}.price{font-size:22px;font-weight:850;margin:10px 0}.old-price{font-size:14px;text-decoration:line-through;color:#98a2b3;margin-right:8px}.badge{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;background:#ecfdf3;color:var(--ok)}.badge.promo{background:#fff1db;color:#9a4d00}.empty{padding:40px;text-align:center;background:#fff;border-radius:16px}.footer{background:#101828;color:#d0d5dd;padding:38px 0;margin-top:40px}.admin-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#101828;color:#fff;padding:24px 18px}.sidebar a{display:block;padding:11px 12px;border-radius:10px;margin:4px 0;color:#d0d5dd}.sidebar a:hover,.sidebar a.active{background:#1d2939;color:#fff}.main{padding:28px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:13px;color:#475467;background:#f9fafb}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #d0d5dd;border-radius:10px;font:inherit}textarea{min-height:100px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-grid .full{grid-column:1/-1}.notice{padding:13px 15px;border-radius:10px;background:#eff8ff;color:#175cd3;margin:12px 0}.notice.warn{background:#fffaeb;color:#93370d}.login{min-height:100vh;display:grid;place-items:center;padding:20px}.login-box{width:min(420px,100%);background:#fff;padding:30px;border-radius:18px;box-shadow:var(--shadow)}.pos-layout{display:grid;grid-template-columns:1fr 390px;gap:20px}.pos-results{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pos-item{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;cursor:pointer}.cart-line{display:grid;grid-template-columns:1fr 70px 90px 32px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.cart-summary{position:sticky;top:20px}.total{font-size:28px;font-weight:900;display:flex;justify-content:space-between;margin:18px 0}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:1fr}.sidebar{position:static}.pos-layout{grid-template-columns:1fr}.pos-results{grid-template-columns:repeat(2,1fr)}.cart-summary{position:static}}@media(max-width:620px){.topbar{display:none}.header-row{flex-wrap:wrap}.brand{font-size:20px}.search-wrap{order:3;flex-basis:100%}.hero{padding:38px 0}.grid,.pos-results,.form-grid{grid-template-columns:1fr}.main{padding:16px}.cart-line{grid-template-columns:1fr 62px 80px 28px}}
.sales-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.mode-card{display:flex;align-items:center;gap:14px;background:#fff;border:2px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow)}.mode-card.selected{border-color:var(--primary);box-shadow:0 0 0 4px rgba(11,92,171,.08)}.mode-card strong,.mode-card small{display:block}.mode-card strong{font-size:18px}.mode-card small{color:var(--muted);margin-top:3px}.mode-icon{font-size:28px}.quick-help{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.quick-help span{background:#f2f4f7;border-radius:999px;padding:5px 9px;font-size:12px;color:#475467}.document-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.document-title h2{margin:0}.form-grid.compact{gap:10px;margin-top:16px}.check-label{display:flex;align-items:center;gap:8px;padding-top:30px}.check-label input{width:auto}.cart-line.advanced{grid-template-columns:1fr 65px 90px 32px}.remove-line{border:0;background:#fee4e2;color:#b42318;border-radius:8px;height:34px;cursor:pointer}.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}@media(max-width:900px){.history-grid{grid-template-columns:1fr}}@media(max-width:620px){.sales-mode-grid{grid-template-columns:1fr}.cart-line.advanced{grid-template-columns:1fr 60px 82px 30px}}
.hidden{display:none!important}.erp-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.erp-top h1{margin:0;font-size:30px}.top-actions{display:flex;gap:10px}.operation-switch{margin-bottom:16px;background:#eef7ff;border:1px solid #b9ddff;border-radius:14px;padding:14px}.operation-switch label{display:flex;align-items:center;gap:12px;cursor:pointer}.operation-switch input{width:20px;height:20px}.operation-switch strong,.operation-switch small{display:block}.order-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px}.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:750;font-size:12px;background:#ecfdf3;color:#067647}.status-pill.proposta{background:#fff7ed;color:#9a3412}.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);display:grid;place-items:center;padding:20px;z-index:100}.order-detail{width:min(900px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;padding:24px;box-shadow:0 24px 80px rgba(0,0,0,.25)}.close{font-size:32px}.customer-strip{display:flex;justify-content:space-between;gap:20px;background:#f8fafc;border-radius:14px;padding:16px;margin:14px 0}.customer-strip small,.customer-strip strong,.customer-strip span{display:block}.return-qty{width:100px}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.stat-card small,.stat-card strong{display:block}.stat-card strong{font-size:28px;margin-top:5px}.shop-top{background:#0f172a;color:#fff;font-size:13px;padding:8px 0}.shop-top .container{display:flex;justify-content:space-between}.shop-header{background:#fff;position:sticky;top:0;z-index:30;box-shadow:0 1px 0 var(--line)}.shop-contact{font-weight:750;color:var(--primary);white-space:nowrap}.category-menu{display:flex;align-items:center;gap:8px;padding-bottom:12px;overflow:visible}.category-menu button{border:0;background:transparent;font:inherit;font-weight:700;padding:8px 11px;border-radius:9px;cursor:pointer}.category-menu button.active,.category-menu button:hover{background:#e0f2fe;color:var(--primary)}.category-dropdown{position:relative}.category-dropdown>div{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:8px;border-radius:12px}.category-dropdown:hover>div{display:grid}.category-dropdown>div button{text-align:left}.store-hero{background:linear-gradient(120deg,#082f49 0%,#075985 55%,#0ea5e9 100%);color:#fff;padding:72px 0}.hero-content{max-width:750px}.store-hero h1{font-size:clamp(38px,6vw,66px);line-height:1.02;margin:10px 0 18px}.store-hero p{font-size:20px;max-width:650px;color:#e0f2fe}.eyebrow{font-size:12px;font-weight:850;letter-spacing:.18em;color:var(--accent)}.benefits{background:#fff;border-bottom:1px solid var(--line)}.benefits .container{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:22px;padding-bottom:22px}.benefits strong,.benefits span{display:block}.benefits span{color:var(--muted);font-size:13px}.store-main{padding-top:48px;padding-bottom:60px}.store-main .section-head h2{font-size:34px;margin:4px 0}.store-main .section-head select{width:auto}.store-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.store-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.06);transition:.2s}.store-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(15,23,42,.12)}.card-image{height:220px;background:#f1f5f9;display:grid;place-items:center;position:relative}.card-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{font-weight:900;font-size:28px;color:#94a3b8}.sale-tag,.featured-tag{position:absolute;top:12px;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850}.sale-tag{left:12px;background:#dc2626;color:#fff}.featured-tag{right:12px;background:#fef3c7;color:#92400e}.store-card-body{padding:18px}.store-card-body small{color:var(--primary);font-weight:700}.store-card-body h3{font-size:18px;line-height:1.25;margin:8px 0}.store-card-body p{height:46px;overflow:hidden;color:var(--muted);font-size:14px}.price-area{min-height:59px;margin:12px 0}.price-area del,.price-area strong{display:block}.price-area del{color:#94a3b8}.price-area strong{font-size:24px}.store-card .btn{width:100%}.store-footer{background:#0f172a;color:#cbd5e1;padding:42px 0}.store-footer .container{display:flex;justify-content:space-between;align-items:center;gap:20px}
@media(max-width:950px){.store-grid{grid-template-columns:repeat(2,1fr)}.order-filters{grid-template-columns:1fr 1fr}.benefits .container{grid-template-columns:1fr}.shop-contact{display:none}}@media(max-width:620px){.erp-top,.customer-strip,.store-footer .container{align-items:flex-start;flex-direction:column}.top-actions{width:100%}.top-actions .btn{flex:1}.order-filters,.stats-grid,.store-grid{grid-template-columns:1fr}.shop-top span{display:none}.category-menu{overflow:auto}.category-dropdown>div{display:none!important}.store-hero{padding:50px 0}.card-image{height:200px}}

.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;padding:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.permission-grid label{display:flex;align-items:center;gap:8px}.login details{border-top:1px solid #e2e8f0;padding-top:12px}.login summary{cursor:pointer;font-weight:700}
.form-section{margin:22px 0;padding:20px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.form-section h3{margin-top:0}.top-gap{margin-top:16px}.check{display:flex!important;align-items:center;gap:8px}.check input{width:auto}.admin-preview{display:block;margin-top:12px;border-radius:10px;border:1px solid #ddd;object-fit:contain}.logo-preview{max-width:240px;max-height:90px}.banner-preview{width:100%;max-height:260px;object-fit:cover}.banner-admin-row{display:flex;align-items:center;gap:14px;margin-top:12px;padding:10px;border:1px solid #ddd;border-radius:10px}.banner-admin-row img{width:110px;height:58px;object-fit:cover;border-radius:8px}.banner-admin-row span{flex:1}.shop-brand img{max-width:210px;max-height:70px;object-fit:contain}.shop-actions{display:flex;gap:12px;align-items:center}.shop-actions a{font-weight:700;text-decoration:none}.cart-link b{background:var(--accent);padding:3px 8px;border-radius:999px}.banner-slider{position:relative;min-height:420px;overflow:hidden;background:#0f172a}.banner-slide{display:none;min-height:420px;background-size:cover;background-position:center}.banner-slide.active{display:flex;align-items:center}.slider-dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:8px}.slider-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#fff8}.slider-dots button.active{background:#fff}.account-layout{padding-top:32px;padding-bottom:50px}.account-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.account-columns form{padding:20px;border:1px solid #e2e8f0;border-radius:14px}.account-columns label,.checkout-box label{display:block;margin-bottom:14px}.cart-list{display:grid;gap:12px}.cart-item{display:grid;grid-template-columns:1fr 90px 150px;gap:16px;align-items:center;padding:14px;border:1px solid #e2e8f0;border-radius:12px}.cart-item small{display:block;color:#64748b}.cart-total{display:flex;justify-content:flex-end;gap:18px;font-size:1.25rem;padding:20px 0}.checkout-box{margin-top:24px;padding:20px;background:#f8fafc;border-radius:14px}@media(max-width:800px){.account-columns{grid-template-columns:1fr}.header-row{flex-wrap:wrap}.search-wrap{order:3;width:100%}.shop-actions{margin-left:auto}.banner-slide,.banner-slider{min-height:330px}.cart-item{grid-template-columns:1fr 70px}.cart-item>strong{grid-column:1/-1;text-align:right}}

.sidebar-head{display:flex;align-items:center;justify-content:space-between}.sidebar-toggle{border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:8px;padding:8px 10px;cursor:pointer}.menu-title{font-size:11px;text-transform:uppercase;letter-spacing:.12em;opacity:.6;margin:18px 12px 6px}.sidebar-closed .sidebar{width:70px}.sidebar-closed .sidebar a,.sidebar-closed .sidebar .menu-title,.sidebar-closed .sidebar .brand{font-size:0}.sidebar-closed .main{margin-left:70px}.promo-grid{gap:24px 28px}.promo-grid label{padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa}.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.module-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px}.search-line{display:flex;gap:10px;flex-wrap:wrap}.search-line input{flex:1;min-width:220px}.badge{display:inline-block;padding:4px 9px;border-radius:999px;background:#e0f2fe;font-size:12px}.category-hero{padding:48px 0;background:#f1f5f9}.institutional-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px}@media(max-width:800px){.institutional-grid{grid-template-columns:1fr}.sidebar-closed .main{margin-left:0}}

/* Sophisticated responsive storefront and ERP navigation */
.admin-shell{transition:grid-template-columns .25s ease}.admin-shell.sidebar-closed{grid-template-columns:76px 1fr}.sidebar{position:sticky;top:0;height:100vh;overflow:auto;transition:.25s}.admin-shell.sidebar-closed .sidebar{padding-inline:10px}.admin-shell.sidebar-closed .sidebar .brand,.admin-shell.sidebar-closed .menu-group summary,.admin-shell.sidebar-closed .sidebar a{font-size:0}.admin-shell.sidebar-closed .sidebar a{height:42px}.menu-group{border-bottom:1px solid rgba(255,255,255,.08);padding:8px 0}.menu-group summary{list-style:none;cursor:pointer;font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#98a2b3;padding:10px 12px;font-weight:800}.menu-group summary::-webkit-details-marker{display:none}.menu-group summary:after{content:'⌄';float:right;transition:.2s}.menu-group:not([open]) summary:after{transform:rotate(-90deg)}.sidebar-footer{margin-top:18px}.promotion-stack{display:grid;gap:20px}.promotion-line{padding:18px;border:1px solid #dbe4ee;border-radius:14px;background:#fff}.promotion-line h4{margin:0 0 14px;color:var(--primary)}.promotion-line.flash{background:#fff8e7;border-color:#f6d98e}.promo-row{grid-template-columns:1fr 1.2fr 1.2fr}.layout-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.layout-option{display:flex;gap:12px;padding:16px;border:2px solid #e2e8f0;border-radius:14px;background:#fff;cursor:pointer}.layout-option:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 14%,transparent)}.layout-option input{width:auto}.layout-option b,.layout-option small{display:block}.layout-option small{color:var(--muted);margin-top:4px}
.shop-header .header-row{min-height:86px}.shop-actions{flex:0 0 auto}.shop-actions a{padding:10px 12px;border-radius:10px;white-space:nowrap}.shop-actions a:hover{background:#f1f5f9}.store-footer .footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);align-items:start}.store-footer h3{color:#fff;margin:0 0 12px}.store-footer a{display:block;margin:7px 0;color:#cbd5e1}.featured-showcase{padding:58px 0;background:linear-gradient(135deg,#f8fafc,#edf4ff)}.featured-controls{display:flex;gap:8px}.featured-controls button{width:44px;height:44px;border:1px solid var(--line);background:#fff;border-radius:50%;font-size:25px;cursor:pointer}.featured-track{display:flex;gap:20px;overflow:hidden;scroll-snap-type:x mandatory}.featured-product{min-width:min(760px,90vw);scroll-snap-align:start;display:grid;grid-template-columns:44% 1fr;gap:30px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow)}.featured-media{height:320px;border-radius:18px;overflow:hidden;background:#eef2f7;display:grid;place-items:center}.featured-media img{width:100%;height:100%;object-fit:cover}.featured-product h3{font-size:30px;margin:8px 0}.featured-product strong{display:block;font-size:30px;margin:14px 0}.layout-minimal .store-card,.layout-minimal .featured-product{box-shadow:none;border-color:#d9dee7}.layout-retail .store-main{width:min(1320px,calc(100% - 28px))}.layout-retail .store-grid{grid-template-columns:repeat(5,1fr);gap:14px}.layout-retail .sale-tag{border-radius:6px}.layout-premium-dark{background:#0b1020;color:#e5e7eb}.layout-premium-dark .shop-header,.layout-premium-dark .benefits,.layout-premium-dark .store-card,.layout-premium-dark .featured-product{background:#111827;border-color:#263245}.layout-premium-dark .store-card-body p,.layout-premium-dark .muted{color:#9ca3af}.layout-premium-dark .featured-showcase{background:#0f172a}.font-classic{font-family:Georgia,'Times New Roman',serif}.font-compact{font-size:14px}.cards-outlined .store-card{box-shadow:none;border-width:2px}.cards-image-first .card-image{height:270px}.header-solid .shop-header{position:relative}.header-compact .shop-header .header-row{min-height:68px;padding:8px 0}.header-compact .shop-brand img{max-height:50px}.institutional-hero{padding:90px 0;background:linear-gradient(120deg,#0f172a,#075985);color:#fff}.institutional-hero h1{font-size:clamp(42px,7vw,78px);line-height:1;margin:12px 0}.institutional-hero p{font-size:20px;max-width:720px;color:#dbeafe}.institutional-intro,.services-section{padding:70px 0}.institutional-copy{font-size:18px;line-height:1.8}.institutional-contact{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--shadow)}.values-section{padding:46px 0;background:#0f172a;color:#fff}.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.values-grid article{padding:24px;border:1px solid #334155;border-radius:18px}.values-grid small{color:var(--accent);font-weight:800}.service-card{background:#fff;padding:26px;border-radius:20px;border:1px solid var(--line);box-shadow:var(--shadow)}.service-card>span{font-size:12px;font-weight:900;color:var(--accent)}.institutional-cta{padding:46px 0;background:var(--primary);color:#fff}.institutional-cta .container{display:flex;justify-content:space-between;align-items:center;gap:24px}.institutional-story .institutional-intro article{max-width:820px}.institutional-story .institutional-grid{grid-template-columns:1fr}.institutional-services .services-section{background:#edf5ff}
@media(max-width:1050px){.layout-retail .store-grid{grid-template-columns:repeat(3,1fr)}.store-footer .footer-grid{grid-template-columns:1fr 1fr}.shop-header .header-row{flex-wrap:wrap}.search-wrap{order:3;flex-basis:100%;max-width:none}.shop-actions{margin-left:auto}}
@media(max-width:760px){.admin-shell,.admin-shell.sidebar-closed{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.admin-shell.sidebar-closed .sidebar{display:none}.layout-picker{grid-template-columns:1fr}.promo-row{grid-template-columns:1fr}.shop-actions{width:100%;justify-content:flex-end}.shop-actions a{padding:8px}.featured-product{grid-template-columns:1fr;min-width:88vw}.featured-media{height:230px}.values-grid,.store-footer .footer-grid{grid-template-columns:1fr}.institutional-cta .container{align-items:flex-start;flex-direction:column}}
.sales-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;align-items:start}.open-sales{position:sticky;top:18px;padding:14px}.open-sales-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.open-sales-head small,.open-sales-head strong{display:block}.sale-session{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px;text-align:left;margin-bottom:8px;cursor:pointer}.sale-session span,.sale-session small{display:block}.sale-session small{color:var(--muted);margin-top:4px}.sale-session.active{border-color:var(--primary);box-shadow:0 0 0 3px rgba(11,92,171,.1);background:#f5faff}.admin-search{display:flex;gap:10px;align-items:center;margin:0 0 14px}.admin-search input{max-width:480px}.shop-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important;min-width:250px}.shop-actions>a{margin:0!important}.header-row{gap:24px}.sidebar-toggle{width:34px;height:34px;padding:0!important;display:grid!important;place-items:center;opacity:.82}.sidebar-toggle:hover{opacity:1}.promotion-card+ .promotion-card{margin-top:8px}@media(max-width:1100px){.sales-workspace{grid-template-columns:1fr}.open-sales{position:static}.open-sales #saleSessions{display:flex;gap:8px;overflow:auto}.sale-session{min-width:190px}}@media(max-width:680px){.shop-actions{min-width:0;width:100%;grid-column:1/-1}.sales-workspace{display:block}}

/* WRN Complete 2026 — interface refinada */
.admin-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh;background:#f4f7fb}
.sidebar{width:auto!important;background:linear-gradient(180deg,#091426 0%,#0d1d35 100%);padding:18px 14px;box-shadow:12px 0 35px rgba(15,23,42,.12);z-index:30}
.sidebar-head{height:58px;padding:0 6px 14px;border-bottom:1px solid rgba(255,255,255,.09);display:flex;align-items:center;justify-content:space-between;gap:12px}
.sidebar .brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:17px;font-weight:900;white-space:nowrap}
.brand-mark,.store-logo-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,var(--primary),#38bdf8);color:#fff;font-weight:900;box-shadow:0 8px 22px rgba(14,165,233,.26);flex:none}
.brand-copy em{font-style:normal;color:#38bdf8}
.sidebar-toggle{position:static!important;width:34px!important;height:34px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.07)!important;border-radius:10px!important}
.sidebar-toggle span{display:block;width:15px;height:2px;border-radius:2px;background:#e2e8f0;transition:.2s}
.sidebar-toggle:hover{background:rgba(255,255,255,.14)!important}
.menu-group{margin-top:8px;border:0;border-radius:12px;background:rgba(255,255,255,.025);overflow:hidden}
.menu-group summary{padding:12px 13px;color:#9fb0c7}
.menu-group a,.sidebar-footer a{display:flex!important;align-items:center;min-height:42px;margin:3px 6px;padding:10px 12px!important;border-radius:9px;color:#dbe7f5!important;text-decoration:none;font-size:14px!important}
.menu-group a:hover,.menu-group a.active,.sidebar-footer a:hover{background:rgba(56,189,248,.14);color:#fff!important}
.admin-shell.sidebar-closed{grid-template-columns:78px minmax(0,1fr)}
.admin-shell.sidebar-closed .sidebar{padding:18px 10px}
.admin-shell.sidebar-closed .brand-copy,.admin-shell.sidebar-closed .menu-group summary,.admin-shell.sidebar-closed .menu-group a,.admin-shell.sidebar-closed .sidebar-footer a{display:none!important}
.admin-shell.sidebar-closed .sidebar-head{justify-content:center;flex-direction:column;height:auto;padding-bottom:12px}
.admin-shell.sidebar-closed .sidebar-toggle{margin-top:6px}
.main{margin:0!important;padding:30px clamp(18px,3vw,44px);min-width:0}
.erp-top{padding:4px 2px 18px}.erp-top h1{margin:0;font-size:30px;color:#0f172a}.panel{border-radius:18px;border:1px solid #e3eaf3;box-shadow:0 10px 30px rgba(15,23,42,.055)}
.panel-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.admin-search{padding:10px 12px;background:#f7f9fc;border:1px solid #e4eaf2;border-radius:12px}.admin-search input{background:#fff}

.shop-header{background:#fff;border-bottom:1px solid #e5eaf1;box-shadow:0 8px 30px rgba(15,23,42,.06);position:sticky;top:0;z-index:50}
.shop-header .header-row{display:grid!important;grid-template-columns:minmax(190px,250px) minmax(300px,1fr) auto;align-items:center;gap:32px!important;min-height:96px;padding:14px 0}
.shop-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#0f172a;font-size:21px;font-weight:900;min-width:0}.shop-brand img{max-width:210px;max-height:62px;object-fit:contain}
.search-wrap{width:100%;max-width:none!important;order:initial!important;position:relative}.search-wrap .search{height:52px;border:2px solid #d8e1eb;border-radius:14px;padding:0 52px 0 18px;font-size:16px;background:#f8fafc}.search-wrap .search:focus{background:#fff;border-color:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 13%,transparent)}.search-icon{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:23px;color:var(--primary)}
.shop-actions{display:flex!important;grid-template-columns:none!important;align-items:stretch;gap:14px!important;min-width:auto!important;margin:0!important}.shop-actions>a{display:flex;align-items:center;gap:10px;min-width:138px;padding:10px 13px!important;border:1px solid #dfe6ef;border-radius:13px!important;background:#fff;color:#0f172a;text-decoration:none;line-height:1.1;box-shadow:0 4px 14px rgba(15,23,42,.035)}.shop-actions>a:hover{border-color:#b8c8dc;background:#f8fbff;transform:translateY(-1px)}.shop-actions small{display:block;color:#64748b;font-size:11px;margin-bottom:4px}.shop-actions strong{display:block;font-size:14px}.action-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eef6ff;color:var(--primary);font-size:17px;flex:none}.cart-action{position:relative}.cart-action>b{position:absolute;right:-7px;top:-8px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:var(--accent);color:#111827;font-size:12px;border:2px solid #fff}
.category-bar{border-top:1px solid #edf1f6;background:#fff}.category-menu{min-height:50px;display:flex;align-items:center;gap:5px;overflow:visible}.category-menu>button,.category-dropdown>button{height:38px;padding:0 14px;border-radius:9px;font-weight:750}.category-dropdown>div{top:42px;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 18px 45px rgba(15,23,42,.14);padding:8px;background:#fff}
.store-card{overflow:hidden;transition:.22s}.store-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(15,23,42,.12)}.card-image{display:block;text-decoration:none}.store-card-body h3 a,.featured-product h3 a{color:inherit;text-decoration:none}.store-card-body h3 a:hover,.featured-product h3 a:hover{color:var(--primary)}
.product-page{padding:48px 0 70px}.product-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:44px;align-items:start}.product-gallery{background:#f8fafc;border:1px solid #e4e9f0;border-radius:24px;overflow:hidden;min-height:480px;display:grid;place-items:center}.product-gallery img{width:100%;height:100%;object-fit:cover}.product-info{background:#fff;border:1px solid #e1e7ef;border-radius:24px;padding:30px;box-shadow:0 16px 50px rgba(15,23,42,.08)}.product-info .breadcrumb{font-size:13px;color:#64748b}.product-info h1{font-size:clamp(30px,4vw,46px);line-height:1.08;margin:14px 0}.product-code{display:flex;gap:14px;flex-wrap:wrap;color:#64748b;font-size:13px}.product-price{margin:24px 0}.product-price del{display:block;color:#94a3b8}.product-price strong{font-size:38px;color:#0f172a}.product-buy{display:flex;gap:12px}.product-buy input{width:88px}.product-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.product-meta div{padding:12px;border-radius:12px;background:#f8fafc}.product-description{margin-top:28px;padding-top:24px;border-top:1px solid #e5e7eb;line-height:1.75}
@media(max-width:1080px){.shop-header .header-row{grid-template-columns:190px minmax(260px,1fr)}.shop-actions{grid-column:1/-1;justify-content:flex-end}.product-detail{grid-template-columns:1fr}.product-gallery{min-height:360px}}
@media(max-width:720px){.admin-shell,.admin-shell.sidebar-closed{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.admin-shell.sidebar-closed .sidebar{display:none}.shop-header{position:relative}.shop-header .header-row{display:flex!important;flex-wrap:wrap;gap:14px!important;padding:14px 0}.shop-brand{width:100%}.search-wrap{order:2!important}.shop-actions{order:3;width:100%;display:grid!important;grid-template-columns:1fr 1fr!important}.shop-actions>a{min-width:0}.category-menu{overflow-x:auto;white-space:nowrap}.product-info{padding:22px}.product-meta{grid-template-columns:1fr}}

.customer-picker{position:relative}.customer-results{position:absolute;z-index:30;left:0;right:0;top:100%;background:#fff;border:1px solid #dbe3ed;border-radius:12px;box-shadow:0 18px 45px rgba(15,23,42,.16);max-height:280px;overflow:auto}.customer-results:empty{display:none}.customer-results button{display:flex;flex-direction:column;width:100%;text-align:left;padding:11px 13px;border:0;border-bottom:1px solid #eef2f7;background:#fff;cursor:pointer}.customer-results button:hover{background:#f8fafc}.customer-results small{color:#64748b;margin-top:3px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px;display:flex;flex-direction:column}.stat-card strong{font-size:28px}.stat-card span{color:#64748b}.stat-card a{margin-top:8px}@media(max-width:900px){.stats-grid{grid-template-columns:1fr 1fr}}

/* Vendas: atendimentos compactos à direita e parcelamento automático */
.sales-workspace{grid-template-columns:minmax(0,1fr) 188px;gap:14px}
.open-sales{grid-column:2;position:sticky;top:18px;padding:10px;max-height:calc(100vh - 36px);overflow:auto}
.sales-workspace>.pos-layout{grid-column:1;min-width:0}
.open-sales-head{margin-bottom:9px;gap:6px}.open-sales-head strong{font-size:13px}.open-sales-head small{font-size:9px;letter-spacing:.08em}
.new-sale-compact{width:29px;height:29px;border:0;border-radius:9px;background:var(--primary);color:#fff;font-size:20px;line-height:1;cursor:pointer;flex:0 0 auto}
.sale-session{padding:9px;border-radius:10px;margin-bottom:6px}.sale-session span{font-size:12px;font-weight:800}.sale-session small{font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.field-hint{display:block;margin-top:5px;color:var(--muted);font-weight:400;font-size:11px}
.payment-schedule-box{background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:11px}.payment-schedule-box>span{display:block;font-weight:800;margin-bottom:8px}
.payment-schedule{display:flex;gap:7px;flex-wrap:wrap}.payment-schedule span{background:#fff;border:1px solid var(--line);border-radius:9px;padding:6px 8px;font-size:11px}.payment-schedule strong{color:var(--primary)}
@media(max-width:1100px){.sales-workspace{grid-template-columns:1fr}.sales-workspace>.pos-layout,.open-sales{grid-column:1}.open-sales{position:static;max-height:none;order:-1}.open-sales #saleSessions{display:flex}.sale-session{min-width:160px}}

/* Vendas: atendimentos compactos à direita e parcelamento automático */
.sales-workspace{grid-template-columns:minmax(0,1fr) 188px;gap:14px}
.open-sales{grid-column:2;position:sticky;top:18px;padding:10px;max-height:calc(100vh - 36px);overflow:auto}
.sales-workspace>.pos-layout{grid-column:1;min-width:0}
.open-sales-head{margin-bottom:9px;gap:6px}.open-sales-head strong{font-size:13px}.open-sales-head small{font-size:9px;letter-spacing:.08em}
.new-sale-compact{width:29px;height:29px;border:0;border-radius:9px;background:var(--primary);color:#fff;font-size:20px;line-height:1;cursor:pointer;flex:0 0 auto}
.sale-session{padding:9px;border-radius:10px;margin-bottom:6px}.sale-session span{font-size:12px;font-weight:800}.sale-session small{font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.field-hint{display:block;margin-top:5px;color:var(--muted);font-weight:400;font-size:11px}
.payment-schedule-box{background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:11px}.payment-schedule-box>span{display:block;font-weight:800;margin-bottom:8px}
.payment-schedule{display:flex;gap:7px;flex-wrap:wrap}.payment-schedule span{background:#fff;border:1px solid var(--line);border-radius:9px;padding:6px 8px;font-size:11px}.payment-schedule strong{color:var(--primary)}
@media(max-width:1100px){.sales-workspace{grid-template-columns:1fr}.sales-workspace>.pos-layout,.open-sales{grid-column:1}.open-sales{position:static;max-height:none;order:-1}.open-sales #saleSessions{display:flex}.sale-session{min-width:160px}}

.open-sales-tools{display:flex;gap:6px}.open-sales.minimized{width:58px;padding:10px}.open-sales.minimized .open-sales-head>div,.open-sales.minimized #saleSessions,.open-sales.minimized #newSale{display:none}.sale-session-wrap{position:relative}.sale-session-wrap .sale-session{padding-right:28px}.sale-delete{position:absolute;right:5px;top:7px;width:22px;height:22px;border:0;border-radius:7px;background:#fee4e2;color:#b42318;cursor:pointer}.after-finish{margin-top:10px;padding:12px;border:1px solid #b2ddff;background:#eff8ff;border-radius:12px}.finish-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.fiscal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fiscal-item-row{display:grid;grid-template-columns:1fr 100px 100px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}@media(max-width:700px){.fiscal-grid{grid-template-columns:1fr}.fiscal-item-row{grid-template-columns:1fr 85px 85px}}

/* WRN update: vendas no rodapé, imagens orientadas e banners de largura total */
.sales-workspace{display:flex!important;flex-direction:column;gap:16px!important}
.sales-workspace>.pos-layout{order:1;width:100%;grid-column:auto!important}
.open-sales-footer{order:2!important;position:relative!important;top:auto!important;max-height:none!important;width:100%!important;grid-column:auto!important;padding:12px 14px!important}
.open-sales-footer .open-sales-head{margin:0 0 10px}
.open-sales-footer #saleSessions{display:flex;gap:9px;overflow-x:auto;padding-bottom:4px}
.open-sales-footer .sale-session-wrap{flex:0 0 190px}
.open-sales-footer .sale-session{margin:0;min-height:58px}
.open-sales-footer.minimized{width:100%!important;height:48px;overflow:hidden;padding:8px 14px!important}
.open-sales-footer.minimized .open-sales-head{margin:0}
.open-sales-footer.minimized .open-sales-head>div,.open-sales-footer.minimized #saleSessions,.open-sales-footer.minimized #newSale{display:none!important}
.image-upload-card{display:grid;grid-template-columns:1fr 1fr 150px;gap:16px;align-items:start;padding:18px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}
.product-image-preview{width:150px;height:150px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px}
.banner-slider,.banner-slide{width:100%;min-height:clamp(360px,48vw,680px)}
.banner-slide{background-size:cover;background-position:center;display:flex;align-items:center}
.banner-slide .container{width:100%;max-width:none;padding-left:clamp(24px,7vw,110px);padding-right:clamp(24px,7vw,110px)}
.banner-slide .hero-content{max-width:min(720px,85vw)}
.banner-slide h1{font-size:clamp(2rem,5vw,4.8rem);line-height:1.02}
.banner-slide p{font-size:clamp(1rem,1.6vw,1.35rem);max-width:680px}
@media(max-width:760px){.image-upload-card{grid-template-columns:1fr}.product-image-preview{width:100%;height:220px}.open-sales-footer .sale-session-wrap{flex-basis:160px}.banner-slider,.banner-slide{min-height:420px}.banner-slide .container{padding:28px 20px}}

.receivable-row{display:grid;grid-template-columns:1fr auto auto auto;gap:10px;align-items:center;padding:10px;border-bottom:1px solid var(--line)}.receivable-row.overdue{background:#fff1f2;border-left:4px solid #e11d48}.payment-panel{margin-top:16px}
.sale-values{display:grid;gap:8px;margin:16px 0;padding:14px;border:1px solid #dfe5ec;border-radius:14px;background:#f8fafc}.sale-values>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.sale-values span{color:#64748b;font-size:13px}.sale-values strong{font-size:16px}.sale-values-final{padding-top:10px;border-top:1px solid #dfe5ec}.sale-values-final strong{font-size:24px;color:#0f766e}.return-select{display:flex!important;align-items:center;gap:8px;margin-bottom:8px;font-weight:600}.return-select input{width:auto}.payment-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.status-pill.paga{background:#dcfce7;color:#166534}.order-detail .return-qty:disabled{opacity:.45;background:#eef2f7}

.bundle-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;max-height:300px;overflow:auto;padding:10px;border:1px solid #dbe4ef;border-radius:14px}.bundle-picker label{display:flex;gap:8px;align-items:center;background:#f8fafc;padding:10px;border-radius:10px}.bundle-picker input{width:auto}.buy-together{margin-top:28px}.bundle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0}.bundle-card{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #dbe4ef;border-radius:16px;background:#fff;cursor:pointer}.bundle-card.main{background:#f8fafc;border-width:2px}.bundle-card input{width:auto;align-self:flex-start}.bundle-card span{font-size:12px;color:#64748b;text-transform:uppercase}.bundle-card b{font-size:20px;color:var(--primary)}

/* Destaques com distribuição completa do espaço */
.featured-product{position:relative;min-height:430px;overflow:hidden;align-items:stretch}
.featured-product .featured-copy{display:flex;flex-direction:column;justify-content:space-between;padding:clamp(28px,5vw,70px);min-width:0}
.featured-product .featured-copy h3{font-size:clamp(1.8rem,3.5vw,3.7rem);line-height:1.02;margin:14px 0}
.featured-product .featured-copy p{max-width:720px;font-size:clamp(1rem,1.35vw,1.25rem);line-height:1.7}
.featured-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;padding-top:28px}
.featured-bottom strong{font-size:clamp(1.7rem,3vw,3rem)}
.featured-align-center .featured-copy{text-align:center;align-items:center}.featured-align-right .featured-copy{text-align:right;align-items:flex-end}
.featured-layout-split .featured-product{grid-template-columns:minmax(38%,.8fr) minmax(50%,1.2fr)}
.featured-layout-split .featured-media{height:auto;min-height:430px}.featured-layout-split .featured-media img{width:100%;height:100%;object-fit:cover}
.featured-layout-overlay .featured-product{display:flex;background-image:linear-gradient(90deg,rgba(2,6,23,.9),rgba(2,6,23,.25)),var(--featured-bg);background-size:cover;background-position:center;color:#fff}
.featured-layout-overlay .featured-media{display:none}.featured-layout-overlay .featured-copy{width:100%;min-height:500px}.featured-layout-overlay .featured-copy small,.featured-layout-overlay .featured-copy p{color:#e2e8f0}.featured-layout-overlay .featured-copy a{color:#fff}
.featured-layout-editorial .featured-product{grid-template-columns:.75fr 1.25fr}.featured-layout-editorial .featured-media{margin:26px;border-radius:26px;height:auto;min-height:380px}.featured-layout-editorial .featured-media img{width:100%;height:100%;object-fit:contain;background:#f8fafc}
.institutional-side-image{width:100%;max-height:460px;object-fit:cover;border-radius:24px;margin-top:24px;box-shadow:var(--shadow)}
.institutional-premium{background:#080d19;color:#e5e7eb}.institutional-premium .institutional-intro,.institutional-premium .services-section{background:#080d19}.institutional-premium .institutional-contact,.institutional-premium .service-card{background:#111827;color:#e5e7eb;border-color:#263245}.institutional-premium .institutional-copy{color:#cbd5e1}
@media(max-width:800px){.featured-layout-split .featured-product,.featured-layout-editorial .featured-product{grid-template-columns:1fr}.featured-product{min-height:0}.featured-layout-split .featured-media,.featured-layout-editorial .featured-media{min-height:260px}.featured-bottom{align-items:flex-start;flex-direction:column}}

/* WRN: destaque com altura compacta e largura responsiva */
.featured-track{width:100%;gap:18px}
.featured-product{min-width:min(860px,calc(100vw - 48px));height:364px;min-height:364px;padding:18px;gap:24px}
.featured-product .featured-copy{padding:clamp(20px,3vw,38px)}
.featured-product .featured-copy h3{font-size:clamp(1.65rem,3vw,2.8rem)}
.featured-product .featured-copy p{font-size:clamp(.95rem,1.15vw,1.08rem);line-height:1.55;max-height:5em;overflow:hidden}
.featured-bottom{padding-top:16px}
.featured-bottom strong{font-size:clamp(1.45rem,2.4vw,2.25rem)}
.featured-layout-split .featured-media{height:328px;min-height:328px}
.featured-layout-overlay .featured-copy{min-height:328px}
.featured-layout-editorial .featured-media{height:312px;min-height:312px;margin:8px}
@media(max-width:800px){
  .featured-product{min-width:calc(100vw - 32px);height:auto;min-height:0}
  .featured-layout-split .featured-media,.featured-layout-editorial .featured-media{height:220px;min-height:220px}
  .featured-layout-overlay .featured-copy{min-height:330px}
}

/* WRN: navegação administrativa organizada */
.sidebar{padding:18px 14px;display:flex;flex-direction:column;gap:10px}
.sidebar-head{padding:4px 4px 14px;margin-bottom:2px;border-bottom:1px solid rgba(255,255,255,.09)}
.sidebar-nav{display:flex;flex-direction:column;gap:7px;overflow-y:auto;padding:4px 0 12px}
.menu-group{margin:0;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(255,255,255,.025);overflow:hidden}
.menu-group summary{list-style:none;cursor:pointer;padding:11px 12px;color:#f8fafc;font-size:12px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;display:flex;align-items:center;justify-content:space-between}
.menu-group summary::-webkit-details-marker{display:none}
.menu-group summary:after{content:'›';font-size:19px;line-height:1;color:#94a3b8;transform:rotate(0);transition:.18s}
.menu-group[open] summary:after{transform:rotate(90deg)}
.menu-group-links{padding:0 7px 8px}
.sidebar .menu-group a{margin:2px 0;padding:9px 10px;font-size:14px;border-radius:8px}
.sidebar .menu-group a.active{background:#2563eb;color:#fff;box-shadow:0 5px 14px rgba(37,99,235,.28)}
.sidebar-footer{margin-top:auto;padding-top:10px;border-top:1px solid rgba(255,255,255,.09)}
.admin-shell.sidebar-closed .sidebar-nav,.admin-shell.sidebar-closed .sidebar-footer{display:none}
.admin-shell.sidebar-closed .sidebar{padding:18px 10px}
.admin-shell.sidebar-closed .sidebar-head{border-bottom:0;padding-bottom:0}

/* WRN update: menu lateral com rolagem completa */
.admin-shell{min-height:100vh;align-items:start}
.sidebar{position:sticky;top:0;height:100vh;max-height:100vh;overflow:hidden;min-width:0}
.sidebar-nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#64748b transparent;padding-right:5px}
.sidebar-nav::-webkit-scrollbar{width:7px}
.sidebar-nav::-webkit-scrollbar-track{background:transparent}
.sidebar-nav::-webkit-scrollbar-thumb{background:#475569;border-radius:999px}
.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#64748b}
.menu-group[open]{overflow:visible}
.menu-group-links{max-height:none;overflow:visible}
@media(max-width:900px){.sidebar{position:relative;top:auto;height:auto;max-height:none}.sidebar-nav{max-height:70vh}}

/* WRN update: vitrine de destaque ocupando toda a largura disponível */
.featured-showcase{overflow:hidden;background:linear-gradient(180deg,#f8fafc 0%,#eef4fb 100%)}
.featured-showcase .container{width:min(1380px,calc(100% - 32px))}
.featured-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:22px;padding:6px 2px 18px}
.featured-track::-webkit-scrollbar{display:none}
.featured-product{position:relative;flex:0 0 100%;min-width:100%;width:100%;height:390px;min-height:390px;padding:0;gap:0;scroll-snap-align:start;border:1px solid rgba(148,163,184,.28);border-radius:28px;background:linear-gradient(135deg,#fff 0%,#f6f9fd 100%);box-shadow:0 24px 70px rgba(15,23,42,.12);isolation:isolate}
.featured-product:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 16%,rgba(14,165,233,.16),transparent 28%),radial-gradient(circle at 8% 95%,rgba(245,158,11,.13),transparent 32%);pointer-events:none;z-index:-1}
.featured-layout-split .featured-product{display:grid;grid-template-columns:minmax(360px,46%) minmax(0,54%)}
.featured-layout-split .featured-media{height:390px;min-height:390px;padding:28px;background:linear-gradient(145deg,#eaf3ff,#f8fbff);border-radius:28px 0 0 28px}
.featured-layout-split .featured-media img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 22px rgba(15,23,42,.18))}
.featured-product .featured-copy{position:relative;padding:clamp(34px,4.4vw,68px);display:grid;grid-template-rows:auto auto 1fr auto;align-content:stretch;min-width:0}
.featured-product .featured-copy small{display:inline-flex;justify-self:start;padding:7px 12px;border-radius:999px;background:rgba(11,92,171,.1);color:var(--primary);font-weight:850;letter-spacing:.05em;text-transform:uppercase}
.featured-product .featured-copy h3{max-width:820px;margin:15px 0 12px;font-size:clamp(2rem,3.4vw,3.6rem);line-height:1.02;letter-spacing:-.035em}
.featured-product .featured-copy p{max-width:790px;margin:0;color:#526071;font-size:clamp(1rem,1.2vw,1.18rem);line-height:1.62;max-height:none;overflow:visible}
.featured-bottom{width:100%;align-self:end;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-top:20px;border-top:1px solid rgba(148,163,184,.25)}
.featured-bottom strong{font-size:clamp(2rem,3vw,3.2rem);line-height:1;color:var(--primary);letter-spacing:-.04em}
.featured-bottom .btn{min-width:210px;padding:15px 22px;border-radius:14px;box-shadow:0 12px 28px rgba(11,92,171,.22)}
.featured-layout-overlay .featured-product{min-height:390px;height:390px}
.featured-layout-overlay .featured-copy{min-height:390px;padding-right:min(48vw,640px);background:linear-gradient(90deg,rgba(2,6,23,.92) 0%,rgba(2,6,23,.78) 45%,rgba(2,6,23,.08) 100%)}
.featured-layout-editorial .featured-product{display:grid;grid-template-columns:minmax(330px,42%) minmax(0,58%)}
.featured-layout-editorial .featured-media{height:342px;min-height:342px;margin:24px;border-radius:22px;background:#fff}
@media(max-width:900px){
 .featured-layout-split .featured-product,.featured-layout-editorial .featured-product{grid-template-columns:42% 58%}
 .featured-product{height:360px;min-height:360px}
 .featured-layout-split .featured-media{height:360px;min-height:360px;padding:18px}
 .featured-product .featured-copy{padding:26px}
 .featured-product .featured-copy h3{font-size:clamp(1.55rem,4vw,2.45rem)}
 .featured-product .featured-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 .featured-bottom .btn{min-width:0}
}
@media(max-width:680px){
 .featured-showcase .container{width:min(100% - 20px,1380px)}
 .featured-layout-split .featured-product,.featured-layout-editorial .featured-product{display:grid;grid-template-columns:1fr;height:auto;min-height:0}
 .featured-layout-split .featured-media,.featured-layout-editorial .featured-media{height:220px;min-height:220px;margin:0;padding:16px;border-radius:24px 24px 0 0}
 .featured-product .featured-copy{padding:24px;min-height:300px}
 .featured-bottom{align-items:stretch;flex-direction:column}
 .featured-bottom .btn{width:100%}
 .featured-layout-overlay .featured-product{height:auto;min-height:470px}
 .featured-layout-overlay .featured-copy{min-height:470px;padding:28px;background:linear-gradient(0deg,rgba(2,6,23,.94),rgba(2,6,23,.2))}
}


/* Correção definitiva do menu lateral: conteúdo em fluxo, sem sobreposição */
.sidebar{height:100vh!important;max-height:100vh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.sidebar-head{flex:0 0 auto!important}
.sidebar-nav{position:relative!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;display:block!important;padding:8px 5px 18px 0!important}
.menu-group{position:relative!important;display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:7px 0!important}
.menu-group>summary{position:relative!important;display:flex!important;width:100%!important;min-height:44px!important;align-items:center!important;z-index:1!important}
.menu-group-links{position:static!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:2px 7px 9px!important}
.menu-group:not([open])>.menu-group-links{display:none!important}
.menu-group[open]>.menu-group-links{display:block!important}
.menu-group-links a{position:relative!important;float:none!important;width:auto!important;white-space:normal!important;line-height:1.3!important}
.sidebar-footer{flex:0 0 auto!important}
.admin-brand{min-width:0;overflow:hidden}.admin-brand-logo{display:block;max-width:48px;max-height:38px;object-fit:contain;border-radius:7px;background:#fff;padding:3px}.admin-brand-name{overflow:hidden;text-overflow:ellipsis;max-width:118px}.admin-shell.sidebar-closed .admin-brand-logo{max-width:38px;max-height:34px}.admin-shell.sidebar-closed .admin-brand-name{display:none!important}

/* Vitrine promocional de ponta a ponta */
.featured-showcase{padding:42px 0;background:linear-gradient(180deg,#f7faff,#edf3fa)}
.featured-wide-shell{width:min(1600px,calc(100% - 24px));margin:0 auto}
.featured-heading{padding:0 clamp(8px,2vw,28px) 20px}
.featured-track{gap:18px;padding:0 0 14px}
.featured-product-full{flex:0 0 100%;min-width:100%;width:100%;height:430px;min-height:430px;border-radius:30px;display:grid!important;grid-template-columns:minmax(360px,43%) minmax(0,57%)!important;overflow:hidden;background:linear-gradient(120deg,#071a34 0%,#0d3260 44%,#f8fbff 44%,#fff 100%);color:#0f172a;border:0;box-shadow:0 28px 75px rgba(15,23,42,.18)}
.featured-product-full:before{background:radial-gradient(circle at 15% 20%,rgba(56,189,248,.3),transparent 30%),radial-gradient(circle at 90% 15%,rgba(245,158,11,.15),transparent 28%)}
.featured-product-full .featured-media{height:430px!important;min-height:430px!important;padding:28px 34px!important;border-radius:0!important;background:transparent!important;display:flex;align-items:center;justify-content:center}
.featured-product-full .featured-media img{width:100%;height:100%;object-fit:contain!important;filter:drop-shadow(0 28px 28px rgba(0,0,0,.32))}
.featured-product-full .featured-copy{padding:clamp(34px,4vw,66px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;background:linear-gradient(105deg,rgba(255,255,255,.98),rgba(255,255,255,.88));text-align:left!important}
.featured-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.featured-promo-label{display:inline-flex;padding:8px 13px;border-radius:999px;background:#ef4444;color:#fff;font-weight:900;font-size:12px;letter-spacing:.08em}.featured-category{font-weight:750;color:#64748b}
.featured-product-full h3{margin:18px 0 12px!important;font-size:clamp(2rem,3.2vw,3.65rem)!important;line-height:1.02!important;letter-spacing:-.04em!important;max-width:900px!important}
.featured-description{font-size:clamp(1rem,1.15vw,1.2rem)!important;line-height:1.6!important;color:#475569!important;max-width:920px!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.featured-support{margin:14px 0 0;color:#0b5cab;font-weight:800;font-size:1rem}
.featured-product-full .featured-bottom{margin-top:auto;padding-top:24px!important;border-top:1px solid #dbe4ef;align-items:flex-end!important}
.featured-price-box{display:flex;flex-direction:column;gap:3px}.featured-old-price{text-decoration:line-through;color:#94a3b8;font-weight:650}.featured-price-box strong{font-size:clamp(2.35rem,3.7vw,4rem)!important;color:#0b5cab!important}.featured-price-box small{color:#64748b}.featured-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.featured-actions form{margin:0}.featured-actions .btn{min-width:150px}
@media(max-width:960px){.featured-product-full{grid-template-columns:40% 60%!important;height:390px;min-height:390px}.featured-product-full .featured-media{height:390px!important;min-height:390px!important;padding:20px!important}.featured-product-full .featured-copy{padding:28px!important}.featured-product-full h3{font-size:clamp(1.7rem,4vw,2.55rem)!important}}
@media(max-width:720px){.sidebar{height:auto!important;max-height:none!important;overflow:visible!important}.sidebar-nav{max-height:70vh!important;overflow-y:auto!important}.featured-wide-shell{width:calc(100% - 16px)}.featured-product-full{grid-template-columns:1fr!important;height:auto;min-height:0}.featured-product-full .featured-media{height:240px!important;min-height:240px!important}.featured-product-full .featured-copy{padding:25px!important}.featured-product-full .featured-bottom{flex-direction:column;align-items:stretch!important}.featured-actions{display:grid;grid-template-columns:1fr 1fr}.featured-actions .btn{width:100%;min-width:0}}

/* WRN revisão funcional */
.sidebar-nav{overflow-y:auto!important;overflow-x:hidden!important}.menu-group,.menu-group[open]{overflow:visible!important;height:auto!important}.menu-group-links{position:static!important;max-height:none!important;height:auto!important}.menu-group-links a{display:block!important;white-space:normal!important;word-break:normal!important}
.breadcrumb,.product-code,.product-meta strong,.featured-category,.store-card-body small{word-spacing:.14em}.breadcrumb{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}
.product-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-gallery img,.product-gallery video{width:100%;height:300px;object-fit:contain;border:1px solid var(--line);border-radius:14px;background:#fff}.product-gallery>:first-child{grid-column:1/-1;height:430px}
.category-hero{min-height:280px;background-size:cover;background-position:center;display:flex;align-items:center;color:#fff;padding:60px 0}.category-hero h1{font-size:clamp(2rem,5vw,4rem);margin:.4rem 0}.content-page{padding:50px 0}.content-hero-image{width:100%;max-height:480px;object-fit:cover;border-radius:20px}.formatted-content{font-size:1.08rem;line-height:1.8;margin:28px 0}.page-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.page-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}.table-search{max-width:520px;margin-bottom:14px}
.featured-product-full{width:100%!important;min-width:100%!important}.featured-copy{display:flex;flex-direction:column;justify-content:center}.featured-description{max-width:70ch}.featured-price-box strong{font-size:clamp(2rem,4vw,4.2rem)!important}.featured-promo-label{font-size:.82rem;letter-spacing:.12em}
@media(max-width:720px){.product-gallery{grid-template-columns:1fr}.product-gallery>:first-child{grid-column:auto;height:320px}.page-gallery{grid-template-columns:1fr}.featured-product-full{min-width:100%!important}}

/* Stability revision: scrolling menu and bounded promotional showcase */
.sidebar{display:flex!important;flex-direction:column!important;height:100vh!important;overflow:hidden!important}.sidebar-head{flex:0 0 auto}.sidebar-nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable;padding-bottom:28px!important}.sidebar-footer{flex:0 0 auto}.menu-group,.menu-group[open]{position:static!important;overflow:visible!important;max-height:none!important}.menu-group-links{position:static!important;height:auto!important;max-height:none!important;overflow:visible!important}.menu-group[open]~.menu-group{clear:both!important}.featured-showcase{overflow:hidden}.featured-wide-shell{width:100%;max-width:none;padding-inline:clamp(14px,3vw,54px)}.featured-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.featured-track::-webkit-scrollbar{display:none}.featured-product-full{flex:0 0 100%;width:100%;min-width:100%;height:390px;min-height:390px;max-height:390px;overflow:hidden;scroll-snap-align:start;grid-template-columns:minmax(320px,44%) minmax(0,56%)!important}.featured-product-full .featured-media{height:390px!important;min-height:390px!important;overflow:hidden}.featured-product-full .featured-media img{width:100%;height:100%;object-fit:contain}.featured-product-full .featured-copy{min-width:0;overflow:hidden;padding:clamp(28px,4vw,58px)!important}.featured-product-full h3{font-size:clamp(1.8rem,3vw,3.35rem)!important;max-width:100%!important;overflow-wrap:anywhere}.featured-description{-webkit-line-clamp:2!important;max-width:100%!important}.featured-support{white-space:normal;overflow-wrap:anywhere}.featured-bottom{min-width:0}.featured-actions:empty{display:none}.pagination{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.pagination a{padding:8px 11px;border:1px solid #dbe4ef;border-radius:8px;background:#fff}.pagination a.active{background:var(--primary);color:#fff}.receivable-row .status-abatida_devolucao{color:#64748b}@media(max-width:720px){.sidebar{height:auto!important;max-height:85vh!important}.sidebar-nav{max-height:65vh!important}.featured-product-full{height:auto;max-height:none;grid-template-columns:1fr!important}.featured-product-full .featured-media{height:235px!important;min-height:235px!important}}
.login-logo{display:block;max-width:220px;max-height:88px;object-fit:contain;margin:0 auto 18px}.footer-logo{max-width:210px;max-height:82px;object-fit:contain;margin-bottom:12px}.media-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin-top:16px}.media-library figure{margin:0;border:1px solid var(--line);border-radius:12px;padding:8px;background:#fff}.media-library img{width:100%;height:84px;object-fit:contain}.media-library figcaption{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inline-status{display:flex;gap:8px;align-items:center;margin-bottom:8px}.inline-status select{min-width:180px}.pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding-top:18px}.modal-dialog{border:0;border-radius:18px;max-width:760px;width:calc(100% - 32px);box-shadow:0 30px 80px rgba(0,0,0,.25)}.modal-dialog::backdrop{background:rgba(15,23,42,.55)}.status-edit-row{display:grid;grid-template-columns:180px 1fr 90px;gap:10px;align-items:center;margin:10px 0}.status-edit-row label{display:flex;align-items:center;gap:6px}.status-edit-row input[type=checkbox]{width:auto}@media(max-width:650px){.status-edit-row{grid-template-columns:1fr}.inline-status{align-items:stretch;flex-direction:column}}

.campaign-strip{margin:18px 0;background:linear-gradient(90deg,var(--primary),#0f172a);color:#fff}.campaign-strip .container{display:flex;align-items:center;gap:22px;padding:18px 24px}.campaign-strip span{font-weight:900;letter-spacing:.08em;background:var(--accent);color:#111827;padding:8px 12px;border-radius:999px}.campaign-strip div div{display:flex;flex-direction:column;flex:1}.campaign-strip strong{font-size:1.25rem}.campaign-strip small{opacity:.85}.campaign-strip time{font-weight:800;white-space:nowrap}@media(max-width:700px){.campaign-strip .container{align-items:flex-start;flex-direction:column;gap:10px}}

.partner-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.partner-card{border:1px solid #dbe4ee;border-radius:16px;padding:18px;background:#fff}.partner-card strong{font-size:1.3rem}.status-pill{display:inline-flex;padding:5px 10px;border-radius:999px;background:#e8f3ff;color:#075985;font-size:.78rem;font-weight:700}.status-pill.warn{background:#fff7df;color:#8a5a00}.portal-shell{max-width:1180px;margin:0 auto;padding:28px}.portal-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:22px}.portal-login{max-width:440px;margin:8vh auto;background:#fff;padding:28px;border-radius:22px;box-shadow:0 20px 60px rgba(15,23,42,.15)}

.installment-payment-form{display:flex;align-items:end;gap:.55rem;flex-wrap:wrap}.installment-payment-form .payment-date-field{min-width:170px}.portal-shell .full{grid-column:1/-1}.portal-shell textarea{min-height:100px}

/* Sessão e atendimentos compactos */
.session-clock{padding:9px 10px;border:1px solid rgba(255,255,255,.14);border-radius:10px;margin-bottom:8px;display:grid;gap:2px}
.session-clock small{font-size:10px;line-height:1.25;opacity:.75}.session-clock strong{font-variant-numeric:tabular-nums;font-size:15px}.session-clock.warning{border-color:#fda29b;background:rgba(217,45,32,.14)}
.sales-open-strip{margin:0 0 14px!important;padding:9px 12px!important;position:static!important;max-height:none!important;width:100%!important}
.sales-open-strip .open-sales-head{margin:0 0 7px!important}.sales-open-strip #saleSessions{display:flex;gap:7px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:thin}
.sales-open-strip .sale-session-wrap{flex:0 0 170px}.sales-open-strip .sale-session{margin:0;padding:8px 28px 8px 9px;min-height:48px;border-radius:10px}.sales-open-strip .sale-session span{font-size:12px}.sales-open-strip .sale-session small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-open-strip .sale-delete{top:5px}
.sales-open-strip.minimized{height:43px;overflow:hidden}.sales-open-strip.minimized #saleSessions,.sales-open-strip.minimized .open-sales-head>div,.sales-open-strip.minimized #newSale{display:none!important}
.customer-results{position:absolute;z-index:30;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 32px rgba(15,23,42,.15);width:100%;max-height:260px;overflow:auto}.customer-picker{position:relative}.customer-results:empty{display:none}.customer-results button{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;cursor:pointer}.customer-results button:hover{background:#f8fafc}.customer-results strong,.customer-results small{display:block}.customer-results small{color:var(--muted);margin-top:3px}

.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.list-toolbar h2{margin:0}.pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.pagination a{padding:7px 10px;border:1px solid var(--line);border-radius:8px;text-decoration:none;background:#fff}.pagination a.active{background:var(--primary);color:#fff;border-color:var(--primary)}@media(max-width:700px){.list-toolbar{align-items:flex-start;flex-direction:column}}
/* Padrão de navegação: listagem principal + edição em modal */
.entity-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.entity-list-head h2{margin:0}.entity-search{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:10px;align-items:center;margin-bottom:12px}.btn.ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}
.entity-modal{border:0;background:transparent;padding:18px;width:min(1120px,100%);max-width:none;max-height:100vh}.entity-modal::backdrop{background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}.entity-modal-card{background:#fff;border-radius:20px;box-shadow:0 28px 90px rgba(15,23,42,.35);max-height:calc(100vh - 36px);display:flex;flex-direction:column;overflow:hidden}.entity-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:2}.entity-modal-head h2{margin:0}.entity-modal-head p{margin:4px 0 0}.entity-modal-close{border:0;background:#f1f5f9;width:38px;height:38px;border-radius:11px;font-size:26px;line-height:1;cursor:pointer}.entity-modal-body{padding:22px 24px;overflow:auto}.modal-open{overflow:hidden}
/* Atendimentos compactos e persistentes */
.sales-open-strip{border:1px solid var(--line);box-shadow:0 5px 18px rgba(15,23,42,.05)}.sales-open-strip #saleSessions{max-width:100%}.sales-open-strip .sale-session-wrap{flex-basis:168px}.sales-open-strip .sale-session{width:100%;text-align:left}.sales-open-strip .sale-session.active{outline:2px solid var(--primary);background:#eff8ff}
@media(max-width:720px){.entity-list-head{align-items:stretch}.entity-search{grid-template-columns:1fr}.entity-modal{padding:0}.entity-modal-card{min-height:100vh;max-height:100vh;border-radius:0}.entity-modal-head,.entity-modal-body{padding:16px}.entity-list-head{flex-direction:column}.entity-list-head .btn{align-self:flex-end}}
/* Padrão de navegação: listagem principal + edição em modal */
.entity-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.entity-list-head h2{margin:0}.entity-search{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:10px;align-items:center;margin-bottom:12px}.btn.ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}
.entity-modal{border:0;background:transparent;padding:18px;width:min(1120px,100%);max-width:none;max-height:100vh}.entity-modal::backdrop{background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}.entity-modal-card{background:#fff;border-radius:20px;box-shadow:0 28px 90px rgba(15,23,42,.35);max-height:calc(100vh - 36px);display:flex;flex-direction:column;overflow:hidden}.entity-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:2}.entity-modal-head h2{margin:0}.entity-modal-head p{margin:4px 0 0}.entity-modal-close{border:0;background:#f1f5f9;width:38px;height:38px;border-radius:11px;font-size:26px;line-height:1;cursor:pointer}.entity-modal-body{padding:22px 24px;overflow:auto}.modal-open{overflow:hidden}
.sales-open-strip{border:1px solid var(--line);box-shadow:0 5px 18px rgba(15,23,42,.05)}.sales-open-strip #saleSessions{max-width:100%}.sales-open-strip .sale-session-wrap{flex-basis:168px}.sales-open-strip .sale-session{width:100%;text-align:left}.sales-open-strip .sale-session.active{outline:2px solid var(--primary);background:#eff8ff}
@media(max-width:720px){.entity-list-head{align-items:stretch;flex-direction:column}.entity-search{grid-template-columns:1fr}.entity-modal{padding:0}.entity-modal-card{min-height:100vh;max-height:100vh;border-radius:0}.entity-modal-head,.entity-modal-body{padding:16px}.entity-list-head .btn{align-self:flex-end}}

.empty-state{text-align:center;padding:38px 18px}.empty-state h3{margin:0 0 8px}.sales-open-strip #saleSessions{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.sale-session-wrap{flex:0 0 auto;min-width:180px}.sales-open-strip.minimized #saleSessions{display:none}.sales-open-strip{position:relative;z-index:2}
/* Correção dos atendimentos abertos */
.sales-open-strip{display:block!important;overflow:visible!important}.sales-open-strip #saleSessions{display:flex!important;min-height:58px}.sales-open-strip.minimized #saleSessions{display:none!important}.sale-session-wrap{display:block!important}

.tabs{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}.tabs a{display:inline-flex;padding:.65rem .9rem;border-radius:.7rem;text-decoration:none}.filter-switches{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:.6rem}.order-detail .actions{display:flex;gap:.45rem;flex-wrap:wrap}.menu-group-links{position:static!important}.sidebar-nav{overflow-y:auto!important;overflow-x:hidden!important}.sidebar{height:100vh;overflow:hidden}.sidebar-nav details{display:block;width:100%}

.input-action{display:flex;gap:8px;align-items:flex-end}.input-action input{flex:1}.entity-modal{width:min(1080px,96vw);max-height:94vh;border:0;border-radius:18px;padding:0}.entity-modal::backdrop{background:rgba(15,23,42,.62)}.entity-modal-card{padding:0 22px 22px;overflow:auto;max-height:94vh}.entity-modal-head{position:sticky;top:0;z-index:3;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid #e5e7eb}.modal-close{border:0;background:#eef2f7;border-radius:999px;width:36px;height:36px;font-size:24px;cursor:pointer}


/* Botão flutuante de atendimento pelo WhatsApp */
.whatsapp-float{position:fixed;z-index:1100;bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;min-height:54px;padding:8px 16px 8px 9px;border-radius:999px;background:#25d366;color:#fff!important;text-decoration:none;font-weight:800;box-shadow:0 12px 32px rgba(2,6,23,.28);transition:transform .18s ease,box-shadow .18s ease;max-width:calc(100vw - 32px)}
.whatsapp-float.whatsapp-right{right:max(20px,env(safe-area-inset-right))}.whatsapp-float.whatsapp-left{left:max(20px,env(safe-area-inset-left))}
.whatsapp-float:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(2,6,23,.34)}
.whatsapp-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.18);font-size:23px;line-height:1;flex:0 0 auto}.whatsapp-label{white-space:nowrap}
@media(max-width:640px){.whatsapp-float{min-width:54px;width:54px;height:54px;padding:8px;justify-content:center}.whatsapp-float.whatsapp-right{right:14px}.whatsapp-float.whatsapp-left{left:14px}.whatsapp-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.whatsapp-icon{background:transparent}}

.partner-seller-line{display:block;margin:.35rem 0;color:#475569;font-size:.82rem;font-weight:700}.partner-seller-badge{display:inline-flex;margin:.4rem 0 1rem;padding:.5rem .75rem;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:.86rem;font-weight:800}.whatsapp-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.18);font-size:1.35rem}
/* WRN: catálogo alinhado, menu refinado e paginação */
.category-bar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.category-menu{min-height:52px;overflow-x:auto;overflow-y:visible;scrollbar-width:thin}.category-menu>a,.category-dropdown>a,.category-menu>button{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border-radius:10px;font-weight:750;white-space:nowrap}.category-dropdown>a:after{content:'⌄';font-size:12px;margin-left:7px;color:var(--muted)}.category-dropdown>div{z-index:70;grid-template-columns:1fr;max-height:360px;overflow:auto}.category-dropdown>div a{padding:10px 12px;border-radius:8px}.category-dropdown>div a:hover{background:#eef6ff;color:var(--primary)}
.store-grid{align-items:stretch}.store-card{height:100%;display:flex;flex-direction:column;overflow:hidden}.store-card .card-image{height:230px;display:flex;align-items:center;justify-content:center;background:#fff}.store-card .card-image img{width:100%;height:100%;object-fit:contain;padding:14px}.store-card-body{display:flex;flex-direction:column;flex:1;min-height:330px}.store-card-body h3{min-height:48px;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-summary{min-height:43px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted)}.product-category{display:block;min-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-line{display:block;color:#475467;margin:7px 0 4px}.price-area{margin-top:auto}.store-card-body form{margin-top:12px}.store-card-body form .btn{width:100%}
.store-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;padding:30px 0 12px}.store-pagination button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 13px;font-weight:750;cursor:pointer}.store-pagination button.active{background:var(--primary);border-color:var(--primary);color:#fff}.store-pagination button:disabled{opacity:.45;cursor:not-allowed}.store-pagination span{color:var(--muted)}
.store-footer{background:#101936!important;color:#d9deeb!important}.store-footer h3,.store-footer strong{color:#fff}.store-footer a{color:#d9deeb}.store-footer .footer-logo{background:#fff;border-radius:10px;padding:8px}
@media(max-width:760px){.store-card .card-image{height:210px}.store-card-body{min-height:300px}.category-menu{padding:8px 0}.shop-actions{gap:8px}.account-action,.cart-action{padding:8px!important}}
/* WRN: código separado e cartões alinhados */
.product-code-line{display:block;margin-top:7px;color:#667085!important;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.store-card-body h3{margin-top:5px}.store-card-body{min-height:355px}.store-grid{grid-auto-rows:1fr}.store-card .card-image img{object-fit:contain;background:#fff}
@media(max-width:620px){.store-card-body{min-height:320px}}
.customer-doc-list{display:grid;gap:8px;margin-top:14px}.customer-doc-list label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e2e8f0;border-radius:10px}.authorized-row{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr 1.2fr auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #e2e8f0}.authorized-row label{margin:0}@media(max-width:900px){.authorized-row{grid-template-columns:1fr 1fr}.authorized-row .remove-authorized{grid-column:1/-1}}
/* WRN storefront alignment and navigation refinements */
.store-grid{grid-auto-rows:1fr;align-items:stretch}
.store-card{display:flex!important;flex-direction:column;height:100%;min-width:0}
.store-card-body{display:grid!important;grid-template-rows:20px 22px minmax(50px,auto) minmax(20px,auto) minmax(46px,auto) 24px minmax(64px,auto) auto;gap:5px;flex:1;min-height:390px}
.store-card-body h3,.store-card-body p,.store-card-body small{margin:0}
.store-card-body form{align-self:end;margin-top:8px}
.store-card-body .btn{min-height:46px}
.category-bar{background:linear-gradient(90deg,#10264b,#183a70);border:0;box-shadow:0 7px 22px rgba(16,38,75,.18)}
.category-menu{padding:9px 0;gap:7px;scrollbar-color:#b8c8e1 transparent}
.category-menu>a,.category-dropdown>a,.category-menu>button{color:#fff!important;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);padding:9px 15px;border-radius:999px}
.category-menu>a:hover,.category-dropdown>a:hover,.category-menu>button:hover,.category-menu .active{background:#fff!important;color:#10264b!important}
.category-dropdown>div{background:#fff;border-top:4px solid #c8202f;padding:10px;min-width:260px}
.category-dropdown>div a{color:#22324b!important}
.store-page-links{width:100%;background:#eef3f8;border-top:1px solid #dbe4ee;border-bottom:1px solid #dbe4ee;padding:22px 0}
.store-page-links .container{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.store-page-links a{display:inline-flex;padding:10px 16px;border-radius:999px;background:#fff;color:#17345e;border:1px solid #d2deeb;font-weight:750;box-shadow:0 3px 10px rgba(18,47,88,.06)}
.store-page-links a:hover{background:#17345e;color:#fff}
.store-pagination{width:100%;display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin:34px 0 8px;padding:16px 0;border-top:1px solid #e4eaf1}
.store-pagination button{min-width:42px;height:42px;border:1px solid #d4deea;background:#fff;border-radius:10px;font-weight:800;color:#17345e}
.store-pagination button.active{background:#17345e;color:#fff}.store-pagination button:disabled{opacity:.4}
@media(max-width:720px){.store-card-body{min-height:360px}.category-menu{justify-content:flex-start}.store-page-links .container{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}.store-page-links a{white-space:nowrap}}


/* WRN 2026-08: navegação refinada da loja */
.shop-header{position:relative;z-index:500!important;overflow:visible!important}
.category-bar{position:relative;z-index:520!important;overflow:visible!important}
.category-menu{position:relative;z-index:530!important;overflow:visible!important;gap:8px!important;padding:10px 0!important}
.category-menu>button,.category-dropdown>a{min-height:42px!important;padding:10px 16px!important;font-size:.92rem!important;box-shadow:0 5px 14px rgba(3,18,48,.13)}
.category-dropdown{position:relative!important;z-index:540!important}
.category-dropdown>div{position:absolute!important;top:calc(100% + 8px)!important;left:0!important;z-index:9999!important;display:none!important;min-width:300px!important;max-width:min(390px,92vw)!important;max-height:420px!important;overflow-y:auto!important;padding:12px!important;border-radius:14px!important;box-shadow:0 22px 55px rgba(2,12,35,.28)!important}
.category-dropdown:hover>div,.category-dropdown:focus-within>div{display:grid!important}
.hero-slider,.featured-showcase,.hero{position:relative;z-index:1!important}

/* Faixa de páginas útil, legível e de ponta a ponta */
.store-page-links{width:100%!important;padding:0!important;border:0!important;background:linear-gradient(105deg,#0c1c39,#132d58 55%,#173f74)!important;color:#fff!important}
.store-page-links .container{width:min(1500px,100%)!important;max-width:none!important;padding:24px clamp(18px,4vw,64px)!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
.store-page-links a{display:flex!important;min-height:72px!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:14px 12px!important;border-radius:14px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.17)!important;box-shadow:none!important;font-size:.94rem!important;line-height:1.25!important;white-space:normal!important;transition:.18s ease!important}
.store-page-links a:hover{transform:translateY(-2px)!important;background:#fff!important;color:#10264b!important;border-color:#fff!important}
@media(max-width:920px){.store-page-links .container{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:560px){.store-page-links .container{grid-template-columns:repeat(2,1fr)!important;padding:18px 12px!important}.store-page-links a{min-height:60px!important}}

/* Cartões perfeitamente alinhados */
.store-grid{align-items:stretch!important}
.store-card{height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.store-card-body{height:100%!important;display:flex!important;flex-direction:column!important;min-height:390px!important}
.store-card-body .product-title,.store-card-body h3{min-height:2.7em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.store-card-body .product-description,.store-card-body p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:3em!important}
.store-card-body .price,.store-card-body .product-price{margin-top:auto!important}
.store-card-body form,.store-card-body>.btn{margin-top:12px!important}

/* WRN 2026-08: menus leves, submenu acima do banner e navegação inferior elegante */
.shop-header{z-index:500;overflow:visible}.category-bar{position:relative;z-index:520;background:rgba(255,255,255,.97);border-top:1px solid #eef2f7;border-bottom:1px solid #dbe3ec;backdrop-filter:blur(14px)}
.category-menu{min-height:54px;padding:8px 0;gap:6px;overflow:visible;position:relative}.category-menu>button,.category-menu>.category-single,.category-dropdown>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 13px;border:1px solid transparent;border-radius:11px;background:transparent;color:#22354b;font-size:13px;font-weight:750;line-height:1.1;text-decoration:none;transition:background .16s,border-color .16s,color .16s,transform .16s;white-space:nowrap}.category-menu>button:hover,.category-menu>.category-single:hover,.category-dropdown>a:hover,.category-menu .active{background:#f2f7fb;border-color:#d6e2ec;color:#093e68;transform:translateY(-1px)}.category-all{background:#0b4d78!important;color:#fff!important;border-color:#0b4d78!important}.category-dropdown{position:relative;display:flex;align-items:center}.category-dropdown>a b{font-size:14px;transition:transform .18s}.category-dropdown:hover>a b,.category-dropdown:focus-within>a b{transform:rotate(180deg)}.category-dropdown>.category-submenu{display:none;position:absolute;z-index:9999;top:calc(100% + 7px);left:0;min-width:250px;max-height:420px;overflow-y:auto;padding:8px;background:#fff;border:1px solid #dbe4ec;border-radius:14px;box-shadow:0 22px 60px rgba(15,39,64,.2)}.category-dropdown:hover>.category-submenu,.category-dropdown:focus-within>.category-submenu{display:grid}.category-dropdown>.category-submenu a{display:block;padding:10px 12px;border-radius:9px;color:#24384d;font-size:13px;font-weight:650;text-decoration:none}.category-dropdown>.category-submenu a:hover{background:#edf5fb;color:#073f68}.hero-slider,.store-hero,.featured-showcase{position:relative;z-index:1}
.store-page-links{position:relative;background:linear-gradient(180deg,#f8fafc 0%,#eef4f8 100%);border-top:1px solid #dfe7ee;border-bottom:1px solid #d7e0e8;padding:30px 0}.store-page-links .container{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.store-page-links a{display:flex;align-items:center;justify-content:center;min-height:82px;padding:14px 10px;border:1px solid #d9e3eb;border-radius:14px;background:#fff;color:#24384d;text-align:center;text-decoration:none;box-shadow:0 5px 18px rgba(21,48,72,.05);transition:transform .18s,box-shadow .18s,border-color .18s}.store-page-links a:hover{transform:translateY(-3px);border-color:#9fbad0;box-shadow:0 12px 28px rgba(21,48,72,.11)}.store-page-links a span{font-size:18px}.store-page-links a strong{display:block;margin-top:7px;font-size:13px;letter-spacing:.01em}.store-footer{background:#112a3d}
@media(max-width:980px){.category-menu{overflow-x:auto;overflow-y:visible;padding-left:10px;padding-right:10px}.category-dropdown>.category-submenu{position:fixed;top:auto;left:14px;right:14px;min-width:0}.store-page-links .container{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.store-page-links .container{grid-template-columns:repeat(2,1fr)}.store-page-links a{min-height:72px}.category-menu>button,.category-menu>.category-single,.category-dropdown>a{font-size:12px;padding:8px 10px}}

/* WRN 2026-08-04: correções finais de menus, cartões e rodapé */
.category-menu>button,
.category-menu>.category-single,
.category-dropdown>a{
  color:#18344f!important;
  background:#fff!important;
  border:1px solid #dbe5ee!important;
  box-shadow:0 3px 10px rgba(15,45,72,.05)!important;
}
.category-menu>button:hover,
.category-menu>.category-single:hover,
.category-dropdown>a:hover,
.category-menu [data-cat].active{
  color:#fff!important;
  background:#123f67!important;
  border-color:#123f67!important;
}
.category-menu .category-all{color:#fff!important;background:#123f67!important;border-color:#123f67!important}
.category-dropdown>a b{display:none!important}
.category-dropdown{padding-bottom:12px!important;margin-bottom:-12px!important}
.category-dropdown>.category-submenu{
  top:100%!important;
  margin-top:0!important;
  pointer-events:auto!important;
}
.category-dropdown:after{
  content:"";
  position:absolute;
  left:0;right:0;top:100%;height:14px;
}
.category-dropdown:hover>.category-submenu,
.category-dropdown:focus-within>.category-submenu,
.category-dropdown.menu-open>.category-submenu{display:grid!important}
.category-dropdown>.category-submenu:hover{display:grid!important}

.store-card-body form{align-self:flex-start!important;width:100%!important}
.store-card-body form .btn{margin-left:0!important;margin-right:auto!important;min-width:185px!important}

.store-page-links{background:#f4f7fa!important;padding:22px 0!important}
.store-page-links .container{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
.store-page-links a{
  min-height:72px!important;
  justify-content:flex-start!important;
  text-align:left!important;
  padding:14px 16px!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#20384d!important;
  border:1px solid #dce5ec!important;
  box-shadow:0 4px 14px rgba(17,42,61,.045)!important;
}
.store-page-links a:hover{background:#173f63!important;color:#fff!important;border-color:#173f63!important}
.store-page-links a span{display:flex!important;align-items:center!important;gap:10px!important;font-size:20px!important}
.store-page-links a strong{margin:0!important;font-size:13px!important}

.store-footer{background:#102b3f!important;color:#dce7ee!important}
.store-footer .footer-grid{align-items:start!important}
.store-footer .footer-logo{display:block!important;width:auto!important;max-width:230px!important;max-height:88px!important;object-fit:contain!important;background:#fff!important;border-radius:10px!important;padding:8px!important}
.store-footer a{display:block!important;margin:7px 0!important;color:#dce7ee!important}
.store-footer h3{color:#fff!important}

@media(max-width:980px){
 .category-dropdown{padding-bottom:0!important;margin-bottom:0!important}
 .category-dropdown>.category-submenu{position:fixed!important;top:145px!important;left:14px!important;right:14px!important}
 .store-page-links .container{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:620px){
 .store-page-links .container{grid-template-columns:1fr 1fr!important}
 .store-page-links a{min-height:62px!important;padding:11px!important}
 .store-card-body form .btn{width:100%!important;min-width:0!important}
}

.customer-full-register{margin-top:28px}.customer-full-register .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.store-page-links.text-only{background:#f7f9fc;border-top:1px solid #dbe3ec;border-bottom:1px solid #dbe3ec;padding:0}.store-page-links.text-only .container{display:flex;flex-wrap:wrap;justify-content:center}.store-page-links.text-only a{display:block;padding:18px 22px;color:#19324d;text-decoration:none;font-weight:700;border-right:1px solid #e2e8f0}.store-page-links.text-only a:last-child{border-right:0}.store-page-links.text-only a:hover{background:#edf4fa;color:var(--primary)}@media(max-width:800px){.customer-full-register .form-grid{grid-template-columns:1fr}.store-page-links.text-only .container{display:grid;grid-template-columns:1fr 1fr}.store-page-links.text-only a{border-bottom:1px solid #e2e8f0;padding:15px}}

/* Miniaturas administrativas de produtos */
.admin-product-thumb{width:54px;height:54px;object-fit:contain;border:1px solid #e2e8f0;border-radius:8px;background:#fff;display:block}
.pos-item-with-image{display:grid!important;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;text-align:left}
.pos-product-thumb{width:58px;height:58px;object-fit:contain;background:#fff;border:1px solid #e2e8f0;border-radius:8px}
.pos-product-copy{min-width:0}.pos-product-copy strong,.pos-product-copy small{display:block}


/* WRN: produtos do caixa com imagem acima */
.pos-item-with-image{display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:left!important;gap:8px!important;padding:10px!important}
.pos-product-thumb{width:100%!important;height:112px!important;object-fit:contain!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:10px!important}
.pos-product-copy{display:flex!important;flex-direction:column!important;min-height:118px!important}
.pos-product-copy .price{margin-top:auto!important}
#produtos{scroll-margin-top:170px}
/* Revisão consolidada: categorias e paginação */
.full-width-pagination{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;width:100%;margin:32px 0 8px;padding:18px;border-top:1px solid var(--line)}
.full-width-pagination a{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:750;color:var(--ink)}
.full-width-pagination a.active,.full-width-pagination a:hover{background:var(--primary);border-color:var(--primary);color:#fff}
.category-hero{scroll-margin-top:120px}.store-main{scroll-margin-top:145px}.store-card{display:flex;flex-direction:column;height:100%}.store-card-body{display:flex;flex-direction:column;flex:1}.store-card-body .price-area{margin-top:auto}.store-card-body>.btn{align-self:flex-start;width:auto;min-width:150px}

/* WRN consolidated refinements */
.category-title-strip{background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:24px 0 18px}.category-title-strip h1{margin:0;font-size:clamp(28px,4vw,44px);color:#111827}.category-title-strip p{margin:8px 0 0;max-width:850px;color:#64748b}.illustrative-badge{position:absolute;left:10px;bottom:10px;background:rgba(17,24,39,.82);color:#fff;font-size:11px;font-weight:700;padding:5px 8px;border-radius:999px;z-index:2}.card-image{position:relative}.compact-media-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;max-height:560px;overflow:auto;padding:8px;border:1px solid #e5e7eb;border-radius:12px}.compact-media-library figure{margin:0;padding:8px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.compact-media-library img{width:100%;height:95px;object-fit:contain;background:#f8fafc;border-radius:7px}.compact-media-library figcaption{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0}.brand-media-select{border:0;background:none;padding:0;width:100%;cursor:pointer}.media-library-search{display:flex;gap:8px;margin:16px 0}.media-library-search input{flex:1}.shop-header .category-menu a{text-decoration:none}

/* Ajuste WRN 2026-08-05: imagens dos produtos e aviso ilustrativo */
.store-card .card-image{
  height:230px;
  padding:0;
  overflow:hidden;
}
.store-card .card-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:4px;
  background:#fff;
}
.illustrative-badge{
  left:auto;
  right:8px;
  bottom:7px;
  padding:2px 5px;
  border-radius:4px;
  background:rgba(255,255,255,.82);
  color:#64748b;
  font-size:9px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:0;
  box-shadow:none;
  pointer-events:none;
}
@media(max-width:760px){
  .store-card .card-image{height:210px}
  .illustrative-badge{right:6px;bottom:5px;font-size:8px}
}

/* WRN v1.3: imagens maiores e aviso ilustrativo discreto */
.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
.store-card .card-image{height:330px!important;padding:0!important;background:#fff!important}
.store-card .card-image img{width:100%!important;height:100%!important;object-fit:contain!important;padding:0!important;background:#fff!important}
.illustrative-badge{left:7px!important;right:auto!important;bottom:6px!important;padding:1px 4px!important;font-size:8px!important;line-height:1.15!important;font-weight:400!important;background:rgba(255,255,255,.72)!important;color:#7a8492!important;border:0!important;box-shadow:none!important}
@media(max-width:1050px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.store-card .card-image{height:300px!important}}
@media(max-width:620px){.store-grid{grid-template-columns:1fr!important}.store-card .card-image{height:285px!important}}
/* WRN v1.4 — cartões no tamanho anterior, com a fotografia ocupando o máximo possível */
.store-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
.store-card .card-image{height:285px!important;padding:0!important;background:#fff!important;overflow:hidden!important}
.store-card .card-image img{width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;padding:2px!important;display:block!important}
.illustrative-badge{left:auto!important;right:7px!important;bottom:6px!important;font-size:9px!important;font-weight:500!important;letter-spacing:.01em!important;padding:2px 5px!important;border-radius:4px!important;background:rgba(255,255,255,.78)!important;color:#64748b!important;box-shadow:none!important}
.product-variant-picker{margin:18px 0;padding:14px;border:1px solid #dbe3ec;border-radius:14px;background:#f8fafc}.product-variant-picker h3{margin:0 0 10px}.variant-options{display:flex;flex-wrap:wrap;gap:8px}.variant-option{display:inline-flex;flex-direction:column;gap:2px;min-width:110px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;text-decoration:none}.variant-option:hover,.variant-option.active{border-color:var(--primary);box-shadow:0 0 0 2px rgba(11,92,171,.10)}.variant-option small{color:#64748b}.variant-option strong{font-size:13px}
@media(max-width:1050px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.store-card .card-image{height:275px!important}}
@media(max-width:780px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.store-card .card-image{height:260px!important}}
@media(max-width:520px){.store-grid{grid-template-columns:1fr!important}.store-card .card-image{height:315px!important}}


/* WRN v1.5: cartões compactos com fotografia maximizada */
.store-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.store-card .card-image{height:250px!important;padding:0!important;background:#fff!important;overflow:hidden!important}
.store-card .card-image img{width:100%!important;height:100%!important;object-fit:contain!important;padding:0!important;margin:0!important;background:#fff!important}
.store-card-body{min-height:330px!important;padding:14px!important}
@media(max-width:1100px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.store-card .card-image{height:235px!important}}
@media(max-width:520px){.store-grid{grid-template-columns:1fr!important}.store-card .card-image{height:300px!important}}

/* WRN V1.6 CONSOLIDATED PRODUCT CARD OVERRIDE */
.store-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
.store-card{height:100%!important;min-width:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:16px!important}
.store-card .card-image{height:220px!important;min-height:220px!important;padding:0!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;position:relative!important}
.store-card .card-image img{width:112%!important;height:112%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:-6%!important;display:block!important;background:#fff!important}
.store-card-body{display:flex!important;flex-direction:column!important;flex:1!important;min-height:305px!important;padding:13px!important}
.store-card-body h3{min-height:2.6em!important;margin:5px 0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.store-card-body .product-summary{min-height:2.8em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.store-card-body .price-area{margin-top:auto!important}
.store-card-body form{margin-top:10px!important;width:100%!important;align-self:flex-start!important}
.store-card-body form .btn{width:auto!important;min-width:170px!important;margin:0 auto 0 0!important}
.illustrative-badge{position:absolute!important;right:6px!important;left:auto!important;bottom:5px!important;background:rgba(255,255,255,.76)!important;color:#667085!important;font-size:8px!important;font-weight:500!important;letter-spacing:.01em!important;padding:2px 4px!important;border-radius:3px!important;box-shadow:none!important;z-index:2!important}
.admin-product-thumb{width:58px!important;height:58px!important;object-fit:contain!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:8px!important}
@media(max-width:1100px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.store-card .card-image{height:215px!important;min-height:215px!important}}
@media(max-width:760px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.store-card .card-image{height:205px!important;min-height:205px!important}.store-card-body{min-height:290px!important}}
@media(max-width:520px){.store-grid{grid-template-columns:1fr!important}.store-card .card-image{height:285px!important;min-height:285px!important}}

/* WRN v1.7 — cartões compactos e fotografia maximizada */
.store-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.store-card{display:flex;flex-direction:column;min-width:0;border-radius:14px}
.card-image{height:235px;background:#fff;overflow:hidden;padding:0}
.card-image img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;transform:scale(1.08)}
.store-card-body{padding:13px 14px 14px;display:flex;flex:1;flex-direction:column;min-height:250px}
.store-card-body h3{font-size:15px;line-height:1.28;margin:6px 0;min-height:38px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.store-card-body p.product-summary{height:34px;margin:4px 0 6px;font-size:12.5px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.product-category,.product-code-line,.delivery-line{font-size:11px;line-height:1.25}
.price-area{min-height:48px;margin:7px 0 9px;margin-top:auto}
.price-area strong{font-size:21px}
.store-card .btn{padding:10px 12px;font-size:13px}
.illustrative-badge{font-size:9px!important;font-weight:500!important;letter-spacing:0!important;padding:2px 5px!important;right:5px!important;left:auto!important;bottom:5px!important;top:auto!important;background:rgba(255,255,255,.68)!important;color:#64748b!important;border:0!important;box-shadow:none!important}
@media(max-width:1100px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-image{height:225px}.store-card-body{min-height:235px;padding:12px}}
@media(max-width:480px){.store-grid{grid-template-columns:1fr}.card-image{height:300px}.store-card-body{min-height:auto}}


/* WRN v1.8 — cinco cartões compactos por linha, imagem maximizada sem aumentar o cartão */
.store-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.store-card{display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;border-radius:13px!important;overflow:hidden!important}
.store-card .card-image{height:218px!important;min-height:218px!important;padding:0!important;margin:0!important;background:#fff!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important}
.store-card .card-image img{width:116%!important;height:116%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;display:block!important;padding:0!important;margin:-8%!important;transform:none!important;background:#fff!important}
.store-card-body{display:flex!important;flex-direction:column!important;flex:1!important;min-height:228px!important;padding:10px 11px 12px!important}
.store-card-body h3{font-size:14px!important;line-height:1.24!important;min-height:2.5em!important;margin:4px 0!important;-webkit-line-clamp:2!important}
.store-card-body .product-summary{font-size:11.5px!important;line-height:1.3!important;min-height:2.6em!important;height:auto!important;margin:3px 0 5px!important;-webkit-line-clamp:2!important}
.product-category,.product-code-line,.delivery-line{font-size:10px!important;line-height:1.2!important}
.price-area{min-height:42px!important;margin:5px 0 7px!important;margin-top:auto!important}
.price-area strong{font-size:19px!important}
.store-card-body form{margin-top:7px!important;width:100%!important}
.store-card-body form .btn{min-width:0!important;width:100%!important;padding:9px 8px!important;font-size:12px!important}
.illustrative-badge{right:5px!important;left:auto!important;bottom:4px!important;font-size:8px!important;font-weight:400!important;padding:1px 4px!important;background:rgba(255,255,255,.72)!important;color:#7b8490!important;border-radius:3px!important}
@media(max-width:1180px){.store-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.store-card .card-image{height:225px!important;min-height:225px!important}}
@media(max-width:930px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.store-card .card-image{height:235px!important;min-height:235px!important}}
@media(max-width:680px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.store-card .card-image{height:250px!important;min-height:250px!important}}
@media(max-width:430px){.store-grid{grid-template-columns:1fr!important}.store-card .card-image{height:330px!important;min-height:330px!important}}
.product-multi-category-select{min-height:160px}


/* WRN v1.9 — grade compacta e fotografia maximizada */
.store-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
.store-card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-width:0!important;
  border-radius:12px!important;
}
.store-card .card-image{
  height:225px!important;
  min-height:225px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.store-card .card-image img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:scale(1.16)!important;
  transform-origin:center!important;
  display:block!important;
}
.store-card-body{
  padding:10px 11px 12px!important;
  min-height:238px!important;
  display:flex!important;
  flex-direction:column!important;
  flex:1!important;
}
.store-card-body h3{
  font-size:14px!important;
  line-height:1.22!important;
  min-height:34px!important;
  margin:4px 0!important;
  -webkit-line-clamp:2!important;
}
.store-card-body .product-summary{
  font-size:11.5px!important;
  min-height:31px!important;
  height:31px!important;
  margin:3px 0 5px!important;
}
.store-card-body .price-area{
  margin-top:auto!important;
  margin-bottom:5px!important;
  min-height:45px!important;
}
.store-card-body .price-area strong{font-size:20px!important}
.store-card-body form{margin-top:4px!important}
.store-card-body form .btn{
  width:auto!important;
  min-width:0!important;
  padding:8px 11px!important;
  font-size:12px!important;
  margin-left:0!important;
}
.illustrative-badge{
  right:4px!important;
  left:auto!important;
  bottom:4px!important;
  font-size:7.5px!important;
  font-weight:400!important;
  padding:1px 3px!important;
  color:#6b7280!important;
  background:rgba(255,255,255,.72)!important;
}
@media(max-width:1280px){.store-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:980px){.store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.store-card .card-image{height:235px!important;min-height:235px!important}}
@media(max-width:480px){.store-grid{grid-template-columns:1fr!important}.store-card .card-image{height:300px!important;min-height:300px!important}}

/* WRN v2.6 — banners personalizados por seção */
.section-banner{background-size:cover;background-position:center;position:relative;display:flex;align-items:center;margin:0;overflow:hidden}
.section-banner-small{min-height:210px}.section-banner-medium{min-height:330px}.section-banner-large{min-height:470px}
.section-banner-content{position:relative;z-index:1;padding-top:42px;padding-bottom:42px;max-width:1180px;width:100%}
.section-banner-content h1{font-size:clamp(30px,4vw,58px);line-height:1.05;margin:0 0 14px;max-width:800px;color:inherit}
.section-banner-content p{font-size:clamp(15px,1.7vw,21px);line-height:1.5;max-width:720px;margin:0 0 22px;color:inherit}
.section-banner.text-center .section-banner-content{text-align:center}.section-banner.text-center h1,.section-banner.text-center p{margin-left:auto;margin-right:auto}
.section-banner.text-right .section-banner-content{text-align:right}.section-banner.text-right h1,.section-banner.text-right p{margin-left:auto}
@media(max-width:700px){.section-banner-small{min-height:180px}.section-banner-medium{min-height:250px}.section-banner-large{min-height:330px}.section-banner-content{padding:28px 18px}}

/* WRN v2.7 */
.admin-sidebar a .online-order-alert,.online-order-alert{color:#dc2626;font-weight:800;margin-left:4px}

/* WRN v2.14 — sob encomenda e cotação */
.order-badge{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:7px;background:#1d4ed8;color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin:5px 0}
.order-badge.large{font-size:13px;padding:7px 12px}
.quote-price{font-size:17px!important;color:#1e3a8a}
.product-gallery{position:relative}.product-detail-illustrative{position:absolute;right:10px;bottom:10px}
.store-card .order-badge{align-self:flex-start}

/* WRN v2.16 — imagens INGCO e paginação avançada */
.store-card .card-image{background:#fff!important;padding:0!important;overflow:hidden!important}.store-card .card-image img{width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important;transform:scale(1.015)!important;transform-origin:center!important;background:#fff!important}
.store-pagination,.advanced-pagination{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:13px!important;width:100%!important}.pagination-buttons{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.pagination-buttons a,.pagination-buttons button{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;padding:0 12px;border:1px solid #d4deea;border-radius:10px;background:#fff;color:#17345e;font-weight:800;cursor:pointer;text-decoration:none}.pagination-buttons a.active,.pagination-buttons button.active{background:#17345e!important;border-color:#17345e!important;color:#fff!important}.pagination-buttons a.disabled,.pagination-buttons button:disabled{opacity:.4;pointer-events:none;cursor:not-allowed}.pagination-ellipsis{font-weight:800;color:#64748b;padding:0 2px}.pagination-jump{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;color:#475569;font-size:14px}.pagination-jump label{display:flex;align-items:center;gap:7px}.pagination-jump input{width:86px;min-height:40px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:9px;text-align:center;background:#fff}.pagination-jump button{min-height:40px;padding:7px 14px;border:0;border-radius:9px;background:#17345e;color:#fff;font-weight:800;cursor:pointer}@media(max-width:720px){.pagination-buttons a,.pagination-buttons button{height:38px;min-width:38px;padding:0 9px;font-size:12px}.pagination-jump{font-size:12px}}

.catalog-head-actions{display:flex;gap:12px;align-items:center}.catalog-layout{display:grid;grid-template-columns:250px 1fr;gap:24px}.store-filters{position:sticky;top:15px;background:#fff;border:1px solid #dce4ee;border-radius:15px;padding:16px;display:grid;gap:12px}.store-filters label,.store-filters fieldset{display:grid;gap:5px;border:0;padding:0;margin:0}.store-filters select,.store-filters input{min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:7px}.filter-title{display:flex;justify-content:space-between}.filter-title button,.mobile-filter-button{display:none}.price-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.active-filter-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.active-filter-tags button{border:0;border-radius:999px;padding:7px 10px;background:#eaf1fb;color:#173e77}.availability-badge{display:inline-flex;width:max-content;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:800;text-transform:uppercase}.availability-badge.available{background:#dcfce7;color:#166534}.availability-badge.order{background:#dbeafe;color:#1e40af}.availability-badge.unavailable{background:#e5e7eb;color:#4b5563}.availability-unavailable{opacity:.82}.unavailable-button{background:#94a3b8!important}@media(max-width:900px){.catalog-layout{grid-template-columns:1fr}.mobile-filter-button{display:inline-flex}.store-filters{display:none;position:fixed;z-index:999;inset:0 0 0 auto;width:min(360px,92vw);height:100vh;overflow:auto;border-radius:0}.store-filters.open{display:grid}.filter-title button{display:block}}
/* WRN v2.20 - melhorias discretas preservando o design anterior */
.order-cover-button{display:inline-flex;justify-content:center;background:#fff7ed!important;color:#9a3412!important;border:1px solid #fdba74!important;text-decoration:none}
.product-buy-actions{display:grid;gap:10px;margin:16px 0}.product-secondary-actions{display:flex;gap:8px;flex-wrap:wrap}.product-secondary-actions form{margin:0}.product-secondary-actions .btn{min-height:42px}
/* Filtro por botão também no desktop: mantém o catálogo limpo e usa o painel existente. */
.mobile-filter-button{display:inline-flex!important}.catalog-layout{grid-template-columns:1fr}.store-filters{display:none;position:fixed;z-index:999;inset:0 0 0 auto;width:min(380px,94vw);height:100vh;overflow:auto;border-radius:0;box-shadow:-20px 0 50px #0f172a22}.store-filters.open{display:grid}.filter-title button{display:block}

/* WRN v2.21 — catálogo compacto, filtros sob demanda, busca inteligente e merchandising */
.catalog-head{align-items:flex-end!important;gap:18px}.catalog-head-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}.catalog-head-actions label{display:flex!important;align-items:center!important;gap:8px!important;font-weight:700!important;color:#24364b!important}.catalog-head-actions select{height:44px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;background:#fff!important;padding:0 38px 0 14px!important;font-weight:700!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important}.mobile-filter-button{display:inline-flex!important;height:44px!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:12px!important;padding:0 16px!important;font-weight:800!important;border:1px solid #cbd5e1!important;background:#fff!important;color:#172554!important;box-shadow:0 2px 8px rgba(15,23,42,.05)!important}.mobile-filter-button:hover{border-color:var(--primary)!important;box-shadow:0 6px 18px rgba(15,23,42,.09)!important}
.catalog-layout{display:block!important}.catalog-results{width:100%!important}.store-filters{display:grid!important;position:fixed!important;z-index:1202!important;top:0!important;right:0!important;bottom:0!important;width:min(430px,94vw)!important;height:100dvh!important;overflow:auto!important;border:0!important;border-left:1px solid #dbe4ee!important;border-radius:0!important;padding:22px!important;gap:15px!important;background:#fff!important;box-shadow:-18px 0 55px rgba(15,23,42,.18)!important;transform:translateX(104%)!important;transition:transform .22s ease!important}.store-filters.open{transform:translateX(0)!important}.filter-title{position:sticky!important;top:-22px!important;z-index:2!important;background:#fff!important;margin:-22px -22px 6px!important;padding:22px!important;border-bottom:1px solid #eef2f7!important;align-items:center!important}.filter-title strong{font-size:20px!important}.filter-title button{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border:0!important;border-radius:50%!important;background:#f1f5f9!important;font-size:26px!important;color:#334155!important;cursor:pointer!important}.store-filters label,.store-filters fieldset{padding:13px 0!important;border-bottom:1px solid #eef2f7!important;font-weight:750!important;color:#26364a!important}.store-filters select,.store-filters input{min-height:46px!important;border:1px solid #d0d9e5!important;border-radius:11px!important;background:#f8fafc!important;padding:9px 12px!important;font-size:14px!important}.store-filters .btn{width:100%!important;min-height:46px!important;border-radius:11px!important}.filter-backdrop{display:block!important;position:fixed!important;z-index:1201!important;inset:0!important;background:rgba(15,23,42,.42)!important;opacity:0!important;visibility:hidden!important;transition:.22s!important;backdrop-filter:blur(2px)!important}.filter-backdrop.open{opacity:1!important;visibility:visible!important}body.filters-open{overflow:hidden!important}.price-filter-row{gap:10px!important}.active-filter-tags{margin:4px 0 14px!important}.active-filter-tags button{background:#eef5ff!important;border:1px solid #cfe0fb!important;padding:8px 11px!important;font-weight:700!important}
.store-card-body form,.store-card-body>.btn,.order-cover-button,.unavailable-button{width:100%!important}.store-card-body form .btn,.store-card-body>.btn,.order-cover-button,.unavailable-button{width:100%!important;min-width:0!important;margin:0!important;display:flex!important;justify-content:center!important;align-items:center!important;border-radius:10px!important;min-height:44px!important}.store-card{position:relative!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}.store-card:hover{transform:translateY(-2px)!important;box-shadow:0 12px 28px rgba(15,23,42,.11)!important}.store-card.card-offer{border-top:4px solid #d42b25!important}.store-card.card-featured{border-top:4px solid #f59e0b!important}.merch-tag{position:absolute!important;left:10px!important;top:10px!important;z-index:3!important;border-radius:7px!important;padding:6px 9px!important;font-size:11px!important;font-weight:900!important;letter-spacing:.02em!important;box-shadow:0 4px 12px rgba(15,23,42,.14)!important}.merch-tag.offer{background:#d42b25!important;color:#fff!important}.merch-tag.featured{background:#f59e0b!important;color:#172554!important}.availability-badge{margin-top:4px!important}.availability-badge.available{background:#e5f8ec!important;color:#087443!important}.availability-badge.order{background:#e8f1ff!important;color:#164e9e!important}
.smart-search-wrap{position:relative!important}.smart-search-panel{position:absolute!important;z-index:1500!important;left:0!important;right:0!important;top:calc(100% + 9px)!important;background:#fff!important;border:1px solid #dbe4ee!important;border-radius:15px!important;box-shadow:0 18px 50px rgba(15,23,42,.18)!important;padding:8px!important;display:none!important;max-height:min(520px,70vh)!important;overflow:auto!important}.smart-search-panel.open{display:block!important}.smart-search-heading{padding:10px 12px!important;font-size:13px!important;color:#64748b!important;border-bottom:1px solid #eef2f7!important}.smart-search-item{display:grid!important;grid-template-columns:52px 1fr auto!important;gap:11px!important;align-items:center!important;padding:10px!important;border-radius:10px!important;text-decoration:none!important;color:#172554!important}.smart-search-item:hover{background:#f5f8fc!important}.smart-search-item img{width:52px!important;height:52px!important;border-radius:8px!important;object-fit:contain!important;background:#fff!important;border:1px solid #eef2f7!important}.smart-search-item span{min-width:0!important}.smart-search-item strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:13px!important}.smart-search-item small{display:block!important;margin-top:3px!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.smart-search-item b{font-size:13px!important;white-space:nowrap!important}.smart-search-all{width:100%!important;border:0!important;border-radius:10px!important;background:#eef5ff!important;color:#123d80!important;padding:11px!important;font-weight:800!important;cursor:pointer!important}.smart-search-empty{padding:18px!important;text-align:center!important;color:#64748b!important}.app-install-action{display:flex!important;align-items:center!important;gap:8px!important;border:0!important;background:transparent!important;color:inherit!important;cursor:pointer!important;padding:8px 10px!important;border-radius:10px!important}.app-install-action:hover,.app-install-action.ready{background:#edf6ff!important}.app-install-action small,.app-install-action strong{display:block!important;text-align:left!important}.app-install-action small{font-size:10px!important;color:#64748b!important}.app-install-action strong{font-size:12px!important;color:#172554!important}.app-install-action.installed{opacity:.7!important}
@media(max-width:900px){.catalog-head{align-items:flex-start!important}.catalog-head-actions{width:100%!important;justify-content:space-between!important}.catalog-head-actions label{flex:1!important;justify-content:flex-end!important}.smart-search-panel{position:fixed!important;left:12px!important;right:12px!important;top:116px!important;max-height:65vh!important}.app-install-action span:last-child{display:none!important}.store-filters{width:min(390px,96vw)!important}}
@media(max-width:560px){.catalog-head-actions{display:grid!important;grid-template-columns:1fr 1.25fr!important}.mobile-filter-button{width:100%!important}.catalog-head-actions label{width:100%!important;font-size:0!important}.catalog-head-actions select{width:100%!important;font-size:13px!important}.app-install-action{padding:7px!important}.smart-search-item{grid-template-columns:46px 1fr!important}.smart-search-item>b{grid-column:2!important}.smart-search-item img{width:46px!important;height:46px!important}}

/* WRN v2.23: aviso de ambiente de testes da loja */
.store-test-banner{position:relative;z-index:100;background:#7f1d1d;color:#fff;text-align:center;padding:10px 16px;font-weight:800;font-size:13px;letter-spacing:.02em}

/* v2.23 - refinamentos de produção */
.app-install-action.compact{min-width:auto!important;padding:8px 10px!important;gap:6px!important;border-radius:10px!important}.app-install-action.compact strong{font-size:12px!important}.store-footer .footer-grid{grid-template-columns:1.3fr 1fr 1fr 1fr!important}.store-footer .footer-grid>div{display:grid;align-content:start;gap:7px}.store-footer .footer-grid a,.store-footer .footer-grid span{display:block}.footer-bottom{padding:18px 0 24px;opacity:.82;font-size:13px}@media(max-width:900px){.store-footer .footer-grid{grid-template-columns:repeat(2,1fr)!important}}@media(max-width:560px){.store-footer .footer-grid{grid-template-columns:1fr!important}}
/* WRN v2.24 — ajustes de edição e relacionamentos */
@media(min-width:1000px){
 body:has(.admin-shell) .entity-modal{margin-top:8px;max-height:calc(100vh - 16px)}
 body:has(.admin-shell) .entity-modal-card{max-height:calc(100vh - 20px)}
 .admin-shell:not(.sidebar-collapsed) .entity-modal{transform:translateX(110px);width:min(1040px,calc(100vw - 330px))}
 .admin-shell.sidebar-collapsed .entity-modal{transform:translateX(20px);width:min(1120px,calc(100vw - 110px))}
}
#productModal .product-image-preview{width:92px!important;height:92px!important;padding:5px!important;border-radius:10px!important;align-self:start!important}
.relation-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(150px,.8fr) minmax(230px,1.2fr) minmax(180px,1fr) auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #e5e7eb}
.relation-row select,.relation-row input{width:100%}
@media(max-width:1000px){.relation-row{grid-template-columns:1fr 1fr}.relation-row .check{grid-column:1/-1}}
@media(max-width:640px){.relation-row{grid-template-columns:1fr}}
