/*
 * Alluzzi · Lovable visual parity layer (06 Nov 2026)
 * Design reference: ellisa-minimal-chat-studio/src/components/Shell.tsx,
 * src/routes/index.tsx, src/styles.css. Visual-only: keep PHP, forms,
 * business rules, JS hooks, endpoints, checkout and accessibility intact.
 */
@font-face{font-family:'Alluzzi Overpass';src:url('../brand/alluzzi/Overpass_Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Alluzzi Overpass';src:url('../brand/alluzzi/Overpass_Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Alluzzi Overpass';src:url('../brand/alluzzi/overpasslight.otf') format('opentype');font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:'Alluzzi Overpass';src:url('../brand/alluzzi/overpasssemibold.otf') format('opentype');font-style:normal;font-weight:600;font-display:swap}
:root{
 --app-w:420px;
 --topbar-h:48px;--actionbar-h:53px;--nav-h:68px;
 --al-mar:#F5F1EE;--al-ivory:#F5F1EE;--al-cabernet:#26060E;
 --al-burgundy:#3E0C17;--al-ruby:#6B192A;--al-mineral:#12080A;
 --bg:#F5F1EE;--fg:#24151A;--card:#FCFAF8;--body:#514248;
 --border:#E4DAD5;--border-input:#E4DAD5;--secondary:#ECE5E0;
 --muted:#87787C;--muted-dark:#74666B;--accent:#6B192A;
 --al-radius:6px;
}
html,body,button,input,textarea,select{font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important}
html,body{background:#ECE5E0;color:var(--fg)}
body{font-size:14px;letter-spacing:0;line-height:1.45}
.app-shell{width:100%;max-width:var(--app-w);min-height:100vh;box-shadow:0 15px 45px rgba(30,10,18,.12);background:var(--bg)}
.app-main{min-height:calc(100vh - 165px);padding:0 20px calc(104px + env(safe-area-inset-bottom));background:var(--bg)}
/* In Lovable the logo, the mode switch and the shortcuts are three distinct rows. */
.app-header{height:48px!important;min-height:48px;top:0;background:var(--bg);border:0;box-shadow:none;padding:12px 20px 4px;backdrop-filter:none;-webkit-backdrop-filter:none}
.alluzzi-brand{width:auto;min-height:26px;max-height:30px;align-items:center}
.alluzzi-brand .alluzzi-brand-logo{width:100px;height:auto;max-height:28px;object-fit:contain;object-position:left center}
.mode-switch{position:relative;top:auto!important;min-height:53px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:5px 20px 8px;background:var(--bg);border:none;z-index:21}
.mode-switch a{min-height:40px;padding:9px 5px;background:var(--secondary);color:var(--muted-dark);font-size:13px!important;line-height:1.2;font-weight:400;border-radius:var(--al-radius);white-space:normal;box-shadow:none!important}
.mode-switch a.active{background:var(--al-burgundy);color:#fff}
.mode-switch .mode-emoji{width:17px;height:17px}
.mode-switch .mode-emoji .alluzzi-icon{width:17px;height:17px;object-fit:contain}
.alluzzi-shortcuts{height:55px;width:100%;display:flex;align-items:center;justify-content:flex-end;gap:10px!important;padding:1px 20px 8px;margin:0;background:var(--bg);border:0}
.alluzzi-shortcuts .header-action{width:40px;min-width:40px;height:40px;min-height:40px;border-radius:50%;color:var(--fg);background:transparent}
.alluzzi-shortcuts .header-action:hover,.alluzzi-shortcuts .header-action:focus-visible{background:var(--secondary)}
.alluzzi-shortcuts .header-action .alluzzi-icon{width:21px!important;height:21px}
.alluzzi-shortcuts .header-action .ico{width:21px!important;height:21px!important;stroke-width:1.5!important}
.alluzzi-shortcuts .header-action .mini-count{top:0;right:-1px;min-width:16px;height:16px;background:var(--al-burgundy);color:#fff;border:1.5px solid var(--bg);font-size:9px;font-weight:600}
.alluzzi-shortcuts .theme-quick-toggle{flex:0 0 40px}
.story-header-action .story-header-plus{background:var(--al-ruby);border-color:var(--bg)}
/* Lovable floating bar: 5 balanced items, understated radius, no bulbous pill. */
.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),396px);bottom:12px!important;z-index:45;background:rgba(252,250,248,.97)!important;border:1px solid var(--border)!important;border-radius:var(--al-radius)!important;box-shadow:0 8px 22px rgba(25,11,16,.13)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:0!important;overflow:hidden}
.bottom-nav-inner{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px!important;min-height:64px!important;padding:7px 7px!important}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0!important;min-height:49px!important;gap:3px!important;padding:5px 2px!important;border-radius:var(--al-radius)!important;font-size:11px!important;font-weight:400!important;color:var(--muted-dark)!important}
.bottom-nav a .ico,.bottom-nav a .alluzzi-icon{width:20px!important;height:20px!important;stroke-width:1.5!important}
.bottom-nav a.active{background:#F1E2E5!important;color:var(--al-burgundy)!important}
.bottom-nav a.active .ico{stroke-width:1.6!important}
/* Search, intelligent suggestions and real filters retain their JavaScript selectors. */
.home-search-row{margin:0 -20px!important;padding:2px 20px 12px!important}
.home-search-row .searchbar{gap:8px}
.search-field{min-height:45px;height:45px;background:var(--card);border:1px solid var(--border);border-radius:var(--al-radius);box-shadow:none}
.search-field .ico{width:16px;height:16px;stroke-width:1.5;color:var(--muted)}
.search-input{height:43px;font-size:13px!important;min-width:0;background:transparent;color:var(--fg)}
.filter-circle{flex:0 0 44px;width:44px;height:44px;border-radius:var(--al-radius);background:var(--card);border:1px solid var(--border);box-shadow:none;color:var(--al-burgundy)}
.search-suggest-panel{border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 24px rgba(20,9,13,.12)}
/* Editorial hero: exact Lovable photos, 232px height, light scrim, thin type. */
.app-main .hero-carousel{position:relative;min-height:232px;margin:4px 0 18px;border-radius:var(--al-radius)!important;box-shadow:none;background:#E8E3DE;isolation:isolate}
.app-main .hero-carousel .hero-slide{min-height:232px!important;height:232px!important;border-radius:0!important;padding:20px!important;align-items:flex-start;position:relative;background:#EAE4DE;color:var(--al-burgundy)}
.app-main .hero-carousel .hero-slide:before{content:"";position:absolute;inset:0;background-image:var(--hero-image);background-position:right center;background-size:cover;opacity:1!important;filter:none}
.app-main .hero-carousel .hero-slide:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(245,241,238,.96) 0%,rgba(245,241,238,.82) 38%,rgba(245,241,238,0) 100%)}
.app-main .hero-carousel .hero-slide>div{position:relative;z-index:2;max-width:94%;color:var(--al-burgundy)}
.app-main .hero-carousel .hero-slide small{font-size:11px!important;letter-spacing:0!important;text-transform:uppercase;font-weight:400;color:var(--al-burgundy)!important;opacity:.8}
.app-main .hero-carousel .hero-slide h2{margin:8px 0 0;font-size:24px!important;line-height:1.2!important;letter-spacing:-.025em!important;font-weight:300!important;color:var(--al-burgundy)!important}
.app-main .hero-carousel .hero-slide p{margin:10px 0 0;max-width:240px;font-size:13px!important;font-weight:400;color:var(--al-burgundy)!important}
.app-main .hero-carousel .hero-ad{color:#fff;background:var(--al-burgundy)}
.app-main .hero-carousel .hero-ad:after{background:linear-gradient(90deg,rgba(18,8,10,.84) 0%,rgba(18,8,10,.5) 50%,rgba(18,8,10,.04) 100%)}
.app-main .hero-carousel .hero-ad>div{color:#fff}
.app-main .hero-carousel .hero-ad small,.app-main .hero-carousel .hero-ad h2,.app-main .hero-carousel .hero-ad p{color:#fff!important}
.app-main .hero-carousel .hero-carousel-dots{left:20px;bottom:16px;gap:6px}
.app-main .hero-carousel .hero-carousel-dots button{width:6px;height:6px;background:rgba(62,12,23,.3);border-radius:20px}
.app-main .hero-carousel .hero-carousel-dots button.active{width:20px;background:var(--al-burgundy)!important}
.app-main .hero-carousel .hero-ad~.hero-carousel-dots button.active{background:var(--al-burgundy)!important}
/* Store strip from / and /lojas: 96x112, centered overlapping avatar. */
.home-profiles{margin:0 -20px!important;padding:7px 0 4px!important}
.home-directory-head{padding:4px 20px 16px!important;gap:8px}
.home-directory-tabs{display:flex;gap:8px;background:transparent;border:0;padding:0;border-radius:0}
.home-directory-tabs a{min-height:34px;display:flex;align-items:center;justify-content:center;padding:6px 15px;border:1px solid var(--border);border-radius:var(--al-radius);background:var(--card);color:var(--fg);font-size:12px;font-weight:400}
.home-directory-tabs a.active{background:var(--al-burgundy);border-color:var(--al-burgundy);color:#fff}
.home-see-more{background:var(--card);color:var(--fg);border:1px solid var(--border);border-radius:var(--al-radius);min-height:30px;padding:8px 10px;font-size:11px;font-weight:400}
.wardrobe-strip{display:flex;gap:16px!important;min-height:0;padding:0 20px 10px!important;scrollbar-width:none}
.wardrobe-strip::-webkit-scrollbar,.category-strip::-webkit-scrollbar{display:none}
.app-main .profile-mini{width:96px!important;min-width:96px!important;flex:0 0 96px!important;align-items:center;gap:0;color:var(--fg)}
.app-main .profile-mini .profile-cover{width:96px!important;height:112px!important;border-radius:var(--al-radius)!important;background:var(--secondary);border:0;box-shadow:none!important}
.app-main .profile-mini .profile-cover>img,.app-main .profile-mini .profile-cover-fallback{width:100%;height:100%;border-radius:var(--al-radius)!important;object-fit:cover}
.app-main .profile-mini .profile-gradient{display:none}
.app-main .profile-mini .profile-cover>em{display:none}
.app-main .profile-mini .profile-cover>.profile-avatar{position:absolute;top:auto!important;bottom:-25px!important;left:50%!important;transform:translateX(-50%)!important;width:56px!important;height:56px!important;border-radius:50%!important;border:3px solid var(--bg)!important;background:var(--al-burgundy);box-shadow:none!important}
.app-main .profile-mini.has-story .profile-cover>.profile-avatar{box-shadow:0 0 0 2px var(--al-ruby)!important}
.app-main .profile-mini>strong{max-width:96px;margin-top:30px!important;color:var(--fg);font-size:13px!important;font-weight:500!important;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-main .profile-mini>small{font-size:11px!important;color:var(--muted);line-height:1.4;margin-top:3px}
/* Categories: small uppercase editorial section title and 56px square icons. */
.home-categories{margin:0 -20px!important;padding:20px 0 9px!important}
.alluzzi-category-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 20px 10px}
.alluzzi-category-head .eyebrow{margin:0;font-size:12px!important;line-height:1.4;font-weight:500!important;letter-spacing:.2em!important;text-transform:uppercase;color:var(--muted-dark)}
.alluzzi-category-head>small{font-size:11px;color:var(--muted-dark);white-space:nowrap}
.category-strip{gap:12px!important;padding:0 20px 6px!important;scrollbar-width:none}
.app-main .category-mini{flex:0 0 64px!important;min-width:64px!important;width:64px!important;align-items:center;gap:7px!important;font-size:11px!important;font-weight:400;text-align:center;color:var(--fg)}
.app-main .category-icon{width:56px!important;min-width:56px!important;height:56px!important;border-radius:var(--al-radius)!important;background:var(--card);border:1px solid var(--border);box-shadow:none;display:flex;align-items:center;justify-content:center}
.app-main .category-icon .alluzzi-icon{width:24px;height:24px}
.app-main .category-mini.active .category-icon{border-color:var(--al-ruby);background:#F5EAEC;box-shadow:none}
.app-main .category-mini.active{color:var(--al-ruby)}
.subcat-chips{padding:6px 20px!important;gap:8px}
.subcat-chips a{border-radius:var(--al-radius);font-weight:400;background:var(--card)}
/* Existing live product cards retain their favourite forms and real linked detail route. */
.home-products{margin:0 -20px!important;padding:18px 20px 22px!important}
.source-section-head{margin-bottom:12px!important;align-items:baseline}
.source-section-head h3{font-size:16px!important;font-weight:500!important;line-height:1.35;letter-spacing:0;color:var(--fg)}
.source-section-head>span,.source-section-head small{font-size:11px;color:var(--muted-dark);font-weight:400}
.product-grid{gap:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))}
.app-main .product-card{border:1px solid var(--border);border-radius:var(--al-radius)!important;overflow:hidden;box-shadow:none;background:var(--card)}
.app-main .product-card .photo{aspect-ratio:4/5!important;height:auto!important;border-radius:0!important;background:var(--secondary)}
.app-main .product-card .photo img,.app-main .product-card .photo video{width:100%;height:100%;object-fit:cover}
.app-main .product-card .body{padding:12px!important}
.app-main .product-card h3{font-size:13px!important;line-height:1.35!important;min-height:0;font-weight:600!important;color:var(--fg)}
.app-main .product-card .meta{font-size:11px!important;margin-top:3px;color:var(--muted-dark)!important}
.app-main .product-card .product-location{font-size:10px!important;color:var(--muted-dark)!important;margin-top:4px}
.app-main .product-card .product-location .ico{width:12px;height:12px}
.app-main .product-card .price-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px!important;min-height:0;margin-top:8px}
.app-main .product-card .price-divider{display:none}
.app-main .product-card .price-block{min-width:0;flex:0 1 auto}
.app-main .product-card .price-block strong{display:block;color:var(--fg)!important;font-size:13px!important;line-height:1.3;font-weight:700}
.app-main .product-card .price-block small{display:block;color:var(--muted-dark)!important;font-size:10px!important;font-weight:400}
.app-main .product-card .price-block em{font-weight:400;font-size:10px;color:var(--muted-dark)}
.app-main .product-favorite{height:29px;width:29px;color:var(--al-ruby);border:0;background:var(--card);box-shadow:0 2px 5px rgba(0,0,0,.09)}
.app-main .product-favorite .ico{stroke-width:1.5}
.app-main .product-favorite.active{color:var(--al-ruby);background:#F4E7EA}
/* Reuse the Lovable design language throughout routes that were not prototyped. */
.app-main .source-local-head h2,.app-main .page-head h1,.app-main .source-page-title h2,.app-main .directory-title h1{font-size:23px!important;font-weight:300!important;letter-spacing:-.02em;color:var(--fg)}
.app-main .source-local-head p,.app-main .directory-info p{font-size:13px;color:var(--muted-dark)}
.app-main .btn,.app-main .card,.app-main .source-pills a,.app-main .tabs a,.app-main .tabs button,.app-main .chip,.app-main .seller-function-card,.app-main .seller-item-row,.app-main .chat-list,.app-main .social-post,.app-main .settings-card,.app-main .notification,.app-main .list-row,.app-main .filter-circle{border-radius:var(--al-radius)}
.app-main .card,.app-main .stat-card,.app-main .order-kpi,.app-main .settings-card,.app-main .seller-item-row,.app-main .chat-list,.app-main .analytics-list{background:var(--card);border-color:var(--border);box-shadow:none}
.app-main .btn.primary,.app-main .btn.accent{background:var(--al-burgundy);border-color:var(--al-burgundy);color:#fff;box-shadow:none}
.app-main .btn.primary:hover,.app-main .btn.accent:hover{background:var(--al-ruby);border-color:var(--al-ruby)}
.app-main .input,.app-main .textarea,.app-main .select,.app-main input[type="search"]{background:var(--card);border:1px solid var(--border);border-radius:var(--al-radius);color:var(--fg);font-size:13px}
.app-main .source-pills,.app-main .order-filter-pills{gap:8px}
.app-main .source-pills a,.app-main .order-filter-pills a{font-size:12px;font-weight:400;padding:8px 13px}
.app-main .source-pills a.active,.app-main .order-filter-pills a.active{background:var(--al-burgundy);color:#fff}
.app-main .tabs a.active,.app-main .tabs button.active{color:#fff;background:var(--al-burgundy)}
.app-main .seller-dashboard-source .seller-summary,.app-main .seller-dashboard-source .seller-kpi{border-radius:10px}
.app-main .profile-rating-card{background:var(--al-burgundy);color:#fff}
.app-main .chat-bubble.mine,.app-main .chat-window .mine,.app-main .message.mine{background:#F0E4E6;color:var(--al-burgundy)}
.app-main .filter-section strong,.app-main .source-section-head>h3{font-weight:500}
/* Theme parity: dark mineral panels, off-white text, ruby accents without red unreadable distances. */
html[data-theme="dark"]{
 --bg:#12080A;--fg:#F5F1EE;--card:#201419;--body:#DDD0D1;
 --border:#443038;--border-input:#443038;--secondary:#2D1D24;
 --muted:#BBA8AE;--muted-dark:#C7B3B8;--accent:#D58FA0;
 color-scheme:dark;
}
html[data-theme="dark"],html[data-theme="dark"] body{background:#12080A;color:var(--fg)}
html[data-theme="dark"] .app-shell,html[data-theme="dark"] .app-main{background:#12080A;color:var(--fg)}
html[data-theme="dark"] .app-header,html[data-theme="dark"] .mode-switch,html[data-theme="dark"] .alluzzi-shortcuts{background:#12080A;border:0}
html[data-theme="dark"] .mode-switch a{background:#2D1D24;color:#DBCAD0}
html[data-theme="dark"] .mode-switch a.active{background:var(--al-ruby);color:#fff}
html[data-theme="dark"] .bottom-nav{background:rgba(32,20,25,.97)!important;border-color:#49343E!important}
html[data-theme="dark"] .bottom-nav a{color:#C6B3B8!important}
html[data-theme="dark"] .bottom-nav a.active{background:#3A2530!important;color:#F5F1EE!important}
html[data-theme="dark"] .alluzzi-shortcuts .header-action{color:#F5F1EE}
html[data-theme="dark"] .alluzzi-shortcuts .header-action:hover{background:#2D1D24}
html[data-theme="dark"] .search-field,html[data-theme="dark"] .filter-circle{background:var(--card);border-color:var(--border);color:var(--fg)}
html[data-theme="dark"] .search-input{color:var(--fg)}
html[data-theme="dark"] .home-directory-tabs a,html[data-theme="dark"] .home-see-more{background:var(--card);border-color:var(--border);color:var(--fg)}
html[data-theme="dark"] .home-directory-tabs a.active{background:var(--al-ruby);color:#fff}
html[data-theme="dark"] .category-icon,html[data-theme="dark"] .product-card,html[data-theme="dark"] .card{background:var(--card);border-color:var(--border);color:var(--fg)}
html[data-theme="dark"] .app-main .category-mini.active .category-icon{background:#39202C;border-color:#955069}
html[data-theme="dark"] .app-main .profile-mini>strong,html[data-theme="dark"] .app-main .product-card h3,html[data-theme="dark"] .app-main .product-card .price-block strong,html[data-theme="dark"] .source-section-head h3{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .product-card .meta,html[data-theme="dark"] .app-main .product-card .price-block small,html[data-theme="dark"] .app-main .product-card .product-location{color:#D0C0C4!important}
html[data-theme="dark"] .app-main .product-location .product-distance,html[data-theme="dark"] .app-main .product-detail-location .product-distance{color:#E9DCD9!important}
html[data-theme="dark"] .app-main .hero-carousel .hero-editorial{background:#EEE8E2}
html[data-theme="dark"] .app-main .hero-carousel .hero-editorial h2,html[data-theme="dark"] .app-main .hero-carousel .hero-editorial p,html[data-theme="dark"] .app-main .hero-carousel .hero-editorial small{color:var(--al-burgundy)!important}
html[data-theme="dark"] .app-main .hero-carousel .hero-editorial>div{color:var(--al-burgundy)!important}
html[data-theme="dark"] .app-main .hero-carousel .hero-ad h2,html[data-theme="dark"] .app-main .hero-carousel .hero-ad p{color:#fff!important}
html[data-theme="dark"] .app-main .product-favorite{background:var(--card);color:#F5B4C4}
html[data-theme="dark"] .app-main .btn.primary,html[data-theme="dark"] .app-main .btn.accent{background:var(--al-ruby);border-color:var(--al-ruby);color:#fff}
html[data-theme="dark"] .app-main .source-pills a.active{background:var(--al-ruby);color:#fff}
/* Lovable's viewport on desktop is a framed 420px app centered on a muted canvas. */
@media(min-width:640px){
 html:not([data-theme="dark"]) body{background:#ECE5E0}
 html[data-theme="dark"] body{background:#1B1115}
 .app-shell{min-height:860px;margin:32px auto;border:1px solid var(--border);border-radius:var(--al-radius);overflow:hidden}
}
@media(max-width:380px){
 .mode-switch a{font-size:11px!important}
 .alluzzi-shortcuts{gap:3px!important;padding-right:15px}
 .app-main .hero-carousel .hero-slide{height:215px!important;min-height:215px!important}
 .app-main .hero-carousel .hero-slide h2{font-size:22px!important}
 .app-main .hero-carousel{min-height:215px}
 .app-main .product-card .body{padding:9px!important}
 .app-main .product-card .price-block strong{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-carousel-dots button{transition:none!important;animation:none!important}}

/* Seller /minha-loja: KPI grid, understated burgundy, 24px metric tiles. */
.app-main .seller-dashboard-source{margin:0 -20px;padding:0 20px 22px}
.app-main .seller-greeting{padding:9px 0 7px}
.app-main .seller-greeting span{font-size:13px!important;color:var(--muted-dark);font-weight:400}
.app-main .seller-greeting h2{font-size:24px!important;font-weight:300!important;line-height:1.25;color:var(--fg);margin:1px 0 0}
.app-main .seller-greeting p{font-size:13px!important;color:var(--muted-dark);margin:3px 0 0}
.app-main .seller-dashboard-source .source-page-title{margin-top:11px;gap:8px;padding:10px 0}
.app-main .seller-dashboard-source .source-page-title h2{font-size:16px!important;letter-spacing:0!important;font-weight:400!important}
.app-main .seller-performance-head{margin:11px 0 10px;min-height:32px}
.app-main .seller-performance-head>p{font-size:11px;font-weight:500;letter-spacing:.2em;color:var(--muted-dark)}
.app-main .seller-all-pill{background:var(--fg);color:var(--bg);font-weight:400;font-size:11px;height:25px;padding:0 12px}
.app-main .seller-filter-trigger{background:var(--card);border-color:var(--border);color:var(--fg)}
.app-main .source-revenue-card{min-height:144px;background:var(--secondary);border-radius:24px;padding:20px;color:var(--fg);display:flex;flex-direction:column;justify-content:space-between;box-shadow:none}
.app-main .source-revenue-card small{color:var(--muted-dark);opacity:1;font-size:11px;letter-spacing:.24em;font-weight:400}
.app-main .source-revenue-card strong{font-size:30px;font-weight:300;color:var(--fg)}
.app-main .source-revenue-card p{color:var(--muted-dark);font-size:11px}
.app-main .source-revenue-card span{color:var(--muted-dark);font-size:11px}
.app-main .seller-function-kpis{gap:12px;margin-top:12px}
.app-main .seller-function-card{min-height:114px!important;padding:16px!important;border:1px solid var(--border);border-radius:24px!important;background:var(--card);box-shadow:none;text-align:left}
.app-main .seller-function-card .kpi-top{color:var(--muted-dark);font-size:12px;gap:8px}
.app-main .seller-function-card .kpi-top .ico{padding:3px;background:none!important;color:var(--al-ruby)!important;width:19px;height:19px}
.app-main .seller-function-card strong{font-size:23px;font-weight:300;line-height:1.2;color:var(--fg)}
.app-main .seller-function-card span{font-size:11px;color:var(--muted-dark);font-weight:400}
.app-main .seller-primary-actions{gap:12px;margin-top:17px}
.app-main .seller-primary-actions a{min-height:45px;background:var(--card);border:1px solid var(--border);border-radius:999px;color:var(--fg);font-size:13px;font-weight:400}
.app-main .seller-primary-actions a.primary{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.app-main .seller-secondary-actions{margin-top:11px;gap:24px}
.app-main .seller-secondary-actions a{color:var(--muted-dark);font-size:11px;font-weight:400}
.app-main .seller-compare{margin-top:27px}
.app-main .seller-compare>.eyebrow,.app-main .seller-summary>.eyebrow{font-size:11px;letter-spacing:.2em;color:var(--muted-dark);font-weight:500}
.app-main .seller-fin-grid{gap:12px}
.app-main .source-fin-card{padding:16px;border-radius:24px;background:var(--card);border:1px solid var(--border)}
.app-main .source-fin-card>strong{font-weight:400;color:var(--fg);font-size:20px}
.app-main .source-fin-card>em{color:var(--muted-dark);font-weight:400}
.app-main .source-fin-card .fin-label{font-size:11px;letter-spacing:0;text-transform:none;font-weight:400}
/* Order cards, notifications and favourite alerts use rounded-3xl tiles in Lovable. */
.app-main .orders-source .order-card{border-radius:24px;background:var(--card);border:1px solid var(--border);box-shadow:none;padding:15px;margin-bottom:14px}
.app-main .orders-source .order-product img{border-radius:12px}
.app-main .orders-source .source-local-head{margin:0 0 14px}
.app-main .orders-source .order-filter-pills a{border-radius:999px}
.app-main .notifications-source .notification{border:1px solid var(--border);border-radius:24px!important;background:var(--card);box-shadow:none;padding:15px}
.app-main .notifications-source .notification-icon{border-radius:50%;background:var(--secondary);color:var(--al-ruby)}
.app-main .favorites-source .card,.app-main .favorites-source .favorites-alerts-card{border-radius:24px}
html[data-theme="dark"] .app-main .source-revenue-card{background:#2D1D24;color:#F5F1EE}
html[data-theme="dark"] .app-main .source-revenue-card small,
html[data-theme="dark"] .app-main .source-revenue-card p,
html[data-theme="dark"] .app-main .source-revenue-card span{color:#CCB8BF}
html[data-theme="dark"] .app-main .source-revenue-card strong{color:#F5F1EE}
html[data-theme="dark"] .app-main .seller-function-card,
html[data-theme="dark"] .app-main .source-fin-card,
html[data-theme="dark"] .app-main .orders-source .order-card,
html[data-theme="dark"] .app-main .notifications-source .notification{background:var(--card);border-color:var(--border)}
html[data-theme="dark"] .app-main .seller-function-card strong{color:#F5F1EE}
html[data-theme="dark"] .app-main .seller-function-card .kpi-top .ico{color:#E3A9B7!important}
html[data-theme="dark"] .app-main .seller-primary-actions a.primary{color:#F5F1EE;background:var(--al-ruby);border-color:var(--al-ruby)}

/* ================================================================
   ALLUZZI LOVABLE HF 1.1 — ROLAGEM VERTICAL (06/11/2026)
   app.css mantém o scroll dentro do app (body overflow:hidden).
   A borda desktop do Lovable não pode herdar overflow:hidden:
   isso impede a rolagem e recorta os produtos após a vitrine.
   ================================================================ */
html,body{overflow:hidden}
.app-shell{
  height:100vh;
  height:100dvh;
  min-height:0;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(107,25,42,.35) transparent;
}
.app-shell::-webkit-scrollbar{width:6px}
.app-shell::-webkit-scrollbar-track{background:transparent}
.app-shell::-webkit-scrollbar-thumb{
  background:rgba(107,25,42,.35);
  border:1px solid transparent;
  border-radius:10px;
  background-clip:padding-box;
}
html[data-theme="dark"] .app-shell{
  scrollbar-color:rgba(232,198,207,.35) transparent;
}
html[data-theme="dark"] .app-shell::-webkit-scrollbar-thumb{
  background:rgba(232,198,207,.35);
  border:1px solid transparent;
  background-clip:padding-box;
}
@media(min-width:640px){
  /* 32px de respiro em cima e embaixo, como moldura desktop Lovable. */
  .app-shell{
    height:calc(100vh - 64px);
    height:calc(100dvh - 64px);
    min-height:0;
    overflow-x:hidden;
    overflow-y:auto;
  }
  /* A barra inferior acompanha o frame e não o limite da janela. */
  .bottom-nav{bottom:44px!important}
}

/* ================================================================
   Alluzzi visual parity — Configurações (Lovable /configuracoes)
   Correção v1.2: página completa, em lugar do modal legado.
   CSS isolado para não afetar o restante do sistema PHP.
   ================================================================ */
.app-main .alluzzi-settings-page{
  width:100%;min-width:0;min-height:0;
  padding:0 0 22px;
  color:var(--fg);
}
.app-main .alluzzi-settings-intro{padding:0;margin:0}
.app-main .alluzzi-settings-intro h1,
.app-main .alluzzi-settings-subhead h1{
  margin:0;font-size:24px!important;line-height:1.28;
  font-weight:300!important;letter-spacing:-.025em;color:var(--fg)!important;
}
.app-main .alluzzi-settings-intro p,
.app-main .alluzzi-settings-subhead p{
  margin:5px 0 0;font-size:14px!important;line-height:1.45;
  font-weight:400;color:var(--muted-dark)!important;
}
.app-main .alluzzi-settings-group{
  display:block;width:100%;min-width:0;
  background:var(--card);border:1px solid var(--border);
  border-radius:24px;overflow:hidden;
  box-shadow:none;
}
.app-main .alluzzi-settings-main-group{margin-top:20px}
.app-main .alluzzi-settings-actions{margin-top:16px}
.app-main .alluzzi-settings-row{
  position:relative;display:flex;width:100%;min-width:0;min-height:79px;
  align-items:center;gap:12px;padding:15px 16px;
  border:0;border-bottom:1px solid var(--border);
  border-radius:0;background:transparent;
  font:inherit;text-decoration:none;text-align:left;cursor:pointer;
  color:var(--fg);outline-offset:-3px;
  transition:background .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.app-main .alluzzi-settings-group>.alluzzi-settings-row:last-child,
.app-main .alluzzi-settings-group>.alluzzi-settings-delete-form:last-child .alluzzi-settings-row{border-bottom:0}
.app-main .alluzzi-settings-row:hover,
.app-main .alluzzi-settings-row:focus-visible{background:var(--secondary)}
.app-main .alluzzi-settings-row:focus-visible{outline:2px solid var(--al-ruby)}
.app-main .alluzzi-settings-row-icon{
  display:grid;place-items:center;flex:0 0 40px;
  width:40px;height:40px;border-radius:50%;
  background:#F1E4E7;color:var(--al-burgundy);
}
.app-main .alluzzi-settings-row-icon>.ico{width:20px;height:20px;stroke-width:1.5!important}
.app-main .alluzzi-settings-row-content{
  display:flex;min-width:0;flex:1;flex-direction:column;
  gap:2px;align-items:flex-start;justify-content:center;
}
.app-main .alluzzi-settings-row-content strong{
  display:block;max-width:100%;font-size:14px!important;
  line-height:1.35;font-weight:500!important;color:inherit!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.app-main .alluzzi-settings-row-content small{
  display:block;max-width:100%;font-size:12px!important;
  line-height:1.35;font-weight:400;color:var(--muted-dark)!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.app-main .alluzzi-settings-chevron{display:grid;place-items:center;flex:0 0 17px;color:var(--muted-dark)}
.app-main .alluzzi-settings-chevron>.ico{width:17px;height:17px;stroke-width:1.5!important}
.app-main .alluzzi-settings-toggle{
  position:relative;display:block;flex:0 0 44px;width:44px;height:24px;
  border-radius:999px;background:var(--secondary);
  transition:background .18s ease;
}
.app-main .alluzzi-settings-toggle>span{
  position:absolute;top:2px;left:2px;width:20px;height:20px;
  border-radius:50%;background:var(--bg);box-shadow:0 1px 3px rgba(0,0,0,.15);
  transition:transform .18s ease;
}
.app-main .alluzzi-settings-theme-row[aria-pressed="true"] .alluzzi-settings-toggle{background:var(--al-ruby)}
.app-main .alluzzi-settings-theme-row[aria-pressed="true"] .alluzzi-settings-toggle>span{transform:translateX(20px)}
.app-main .alluzzi-settings-delete-form{margin:0;padding:0;border:0;background:transparent}
.app-main .alluzzi-settings-danger{color:#B12D42}
.app-main .alluzzi-settings-danger .alluzzi-settings-row-icon{background:#F7E7E9;color:#B12D42}
.app-main .alluzzi-settings-danger .alluzzi-settings-row-content strong{color:#B12D42!important}
.app-main .alluzzi-settings-version{
  margin:24px 0 0;text-align:center;font-size:12px!important;
  color:var(--muted-dark)!important;
}
.app-main .alluzzi-settings-extras{margin-top:28px}
.app-main .alluzzi-settings-extras>h2{
  margin:0 0 12px;font-size:13px!important;line-height:1.4;
  font-weight:500;color:var(--muted-dark);letter-spacing:0;
}
.app-main .alluzzi-settings-subhead{
  display:flex;align-items:center;gap:10px;margin:0 0 22px;
}
.app-main .alluzzi-settings-back{
  flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;
  border:1px solid var(--border);border-radius:50%;
  background:var(--card);color:var(--fg);text-decoration:none;
}
.app-main .alluzzi-settings-subhead>div{min-width:0}
.app-main .alluzzi-settings-page .settings-card.active-panel{
  width:100%;max-width:100%;min-width:0;margin:0 0 20px!important;
  padding:18px 16px 24px;border-radius:20px;
  background:var(--card);border:1px solid var(--border);
}
.app-main .alluzzi-settings-page .settings-card.active-panel .settings-section-title strong{font-size:15px}
.app-main .alluzzi-settings-page .settings-card.active-panel .settings-section-title small{font-size:12px}
.app-main .alluzzi-settings-page .settings-card.active-panel .btn.primary.block:last-child{
  position:static!important;margin-top:14px!important;
}
/* Equivalent to the dark view in the screenshot: warm mineral background,
   continuous subtle dividers, monochromatic icons without rainbow accents. */
html[data-theme="dark"] .app-main .alluzzi-settings-page{color:#FAF5F4}
html[data-theme="dark"] .app-main .alluzzi-settings-group{
  background:#241014!important;border-color:#543039!important;color:#FAF5F4!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-row{border-bottom-color:#543039;color:#FAF5F4}
html[data-theme="dark"] .app-main .alluzzi-settings-row:hover,
html[data-theme="dark"] .app-main .alluzzi-settings-row:focus-visible{background:#32181F}
html[data-theme="dark"] .app-main .alluzzi-settings-row-icon{background:#3B1B23;color:#F4E8E9}
html[data-theme="dark"] .app-main .alluzzi-settings-row-content small,
html[data-theme="dark"] .app-main .alluzzi-settings-chevron,
html[data-theme="dark"] .app-main .alluzzi-settings-version,
html[data-theme="dark"] .app-main .alluzzi-settings-intro p,
html[data-theme="dark"] .app-main .alluzzi-settings-subhead p{color:#C5AEB4!important}
html[data-theme="dark"] .app-main .alluzzi-settings-row-content strong{color:#FAF5F4!important}
html[data-theme="dark"] .app-main .alluzzi-settings-toggle{background:#493139}
html[data-theme="dark"] .app-main .alluzzi-settings-theme-row[aria-pressed="true"] .alluzzi-settings-toggle{background:var(--al-ruby)}
html[data-theme="dark"] .app-main .alluzzi-settings-toggle>span{background:#12080A}
html[data-theme="dark"] .app-main .alluzzi-settings-danger .alluzzi-settings-row-icon{background:#4B1C27;color:#F39BA7}
html[data-theme="dark"] .app-main .alluzzi-settings-danger .alluzzi-settings-row-content strong{color:#F39BA7!important}
html[data-theme="dark"] .app-main .alluzzi-settings-back{background:#241014;color:#FAF5F4;border-color:#543039}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-card.active-panel{background:#241014!important;border-color:#543039}
@media(max-width:380px){
 .app-main .alluzzi-settings-row{padding:14px 12px;gap:10px;min-height:74px}
 .app-main .alluzzi-settings-row-icon{width:38px;height:38px;flex-basis:38px}
 .app-main .alluzzi-settings-row-content strong{font-size:13px!important}
 .app-main .alluzzi-settings-row-content small{font-size:11px!important}
}


/* ================================================================
   ALLUZZI HF v1.3 — Paridade do tema Lovable em telas internas
   CSS isolado no contexto de Configurações; não altera formulários,
   post actions, autenticação, acessibilidade nem banco.
   ================================================================ */
.app-main .alluzzi-settings-page .settings-card.active-panel{
  display:block;overflow:visible;box-shadow:none!important;
  border-radius:24px!important;padding:18px 16px 22px!important;
}
.app-main .alluzzi-settings-page .settings-section-title{
  display:flex;align-items:center;gap:12px;
  padding:0 0 16px;margin:0 0 16px;
  border-bottom:1px solid var(--border);
}
.app-main .alluzzi-settings-page .settings-section-title .settings-icon{
  display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;
  border-radius:50%!important;background:#F1E4E7!important;
  color:var(--al-burgundy)!important;
}
.app-main .alluzzi-settings-page .settings-section-title .settings-icon .ico{
  width:20px;height:20px;stroke-width:1.5;
}
.app-main .alluzzi-settings-page .settings-section-title strong{
  font-size:15px!important;font-weight:500!important;
  letter-spacing:-.01em;color:var(--fg)!important;
}
.app-main .alluzzi-settings-page .settings-section-title small{
  display:block;margin-top:3px;color:var(--muted-dark)!important;
  font-size:12px!important;font-weight:400!important;
}
.app-main .alluzzi-settings-page .label{
  display:block;margin:12px 0 7px;
  color:var(--fg)!important;font-size:12px!important;font-weight:500!important;
}
.app-main .alluzzi-settings-page .input,
.app-main .alluzzi-settings-page .select,
.app-main .alluzzi-settings-page .textarea{
  box-sizing:border-box;min-width:0;width:100%;border:1px solid var(--border)!important;
  border-radius:12px!important;background:var(--bg)!important;
  color:var(--fg)!important;box-shadow:none!important;
  font-size:14px!important;font-weight:400!important;
  padding:12px 13px!important;min-height:44px;
  outline:none;
}
.app-main .alluzzi-settings-page .textarea{min-height:106px;resize:vertical}
.app-main .alluzzi-settings-page .input:focus,
.app-main .alluzzi-settings-page .select:focus,
.app-main .alluzzi-settings-page .textarea:focus{
  border-color:var(--al-ruby)!important;
  outline:2px solid color-mix(in srgb,var(--al-ruby) 24%,transparent);
  outline-offset:0;
}
.app-main .alluzzi-settings-page .input::placeholder,
.app-main .alluzzi-settings-page .textarea::placeholder{
  color:var(--muted-dark)!important;opacity:1;
}
.app-main .alluzzi-settings-page .form-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;margin:12px 0;
}
.app-main .alluzzi-settings-page .form-grid>*{min-width:0}
.app-main .alluzzi-settings-page .source-check.settings-check{
  display:flex;align-items:center;gap:9px;
  color:var(--fg);font-size:12px!important;
}
.app-main .alluzzi-settings-page .source-check.settings-check input{
  width:17px;height:17px;accent-color:var(--al-ruby);
}
.app-main .alluzzi-settings-page .settings-card.active-panel .btn.primary.block{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-height:46px;margin-top:18px!important;
  padding:11px 18px;border:1px solid var(--al-burgundy)!important;
  border-radius:12px!important;background:var(--al-burgundy)!important;
  color:#fff!important;font-size:14px!important;font-weight:600!important;
}
.app-main .alluzzi-settings-page .profile-photo-uploader{
  display:flex;align-items:center;gap:14px;
  margin:0 0 14px;padding:14px;
  border:1px solid var(--border);border-radius:16px;
  background:var(--bg);
}
.app-main .alluzzi-settings-page .profile-photo-preview{
  flex-shrink:0;border:1px solid var(--border);
  border-radius:50%;overflow:hidden;
}
.app-main .alluzzi-settings-page .profile-photo-actions{min-width:0;flex:1}
.app-main .alluzzi-settings-page .profile-photo-actions small{
  display:block;margin-top:7px;color:var(--muted-dark)!important;
  font-size:11px!important;line-height:1.45!important;
}
.app-main .alluzzi-settings-page .theme-choice-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.app-main .alluzzi-settings-page .theme-choice-card{
  min-width:0;overflow:hidden;box-shadow:none!important;
  border:1px solid var(--border)!important;border-radius:16px!important;
  background:var(--bg)!important;color:var(--fg)!important;
  padding:10px 7px!important;text-align:center;
}
.app-main .alluzzi-settings-page .theme-choice-card.active{
  border-color:var(--al-ruby)!important;
  box-shadow:0 0 0 1px var(--al-ruby)!important;
}
.app-main .alluzzi-settings-page .theme-choice-card strong{
  font-size:12px!important;font-weight:500!important;color:var(--fg)!important;
}
.app-main .alluzzi-settings-page .theme-choice-card small{
  font-size:10px!important;color:var(--muted-dark)!important;
}
.app-main .alluzzi-settings-page .appearance-note{
  margin-top:16px;border:1px solid var(--border);border-radius:16px;
  background:var(--bg);color:var(--fg);box-shadow:none;
}
.app-main .alluzzi-settings-page .appearance-note strong{color:var(--fg)!important}
.app-main .alluzzi-settings-page .appearance-note span,
.app-main .alluzzi-settings-page .appearance-note small{color:var(--muted-dark)!important}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-card.active-panel{
  background:#241014!important;border-color:#543039!important;color:#FAF5F4!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-section-title{
  border-bottom-color:#543039;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-section-title .settings-icon{
  background:#3B1B23!important;color:#F4E8E9!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-section-title strong,
html[data-theme="dark"] .app-main .alluzzi-settings-page .label{
  color:#FAF5F4!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-section-title small,
html[data-theme="dark"] .app-main .alluzzi-settings-page .profile-photo-actions small{
  color:#C5AEB4!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .input,
html[data-theme="dark"] .app-main .alluzzi-settings-page .select,
html[data-theme="dark"] .app-main .alluzzi-settings-page .textarea,
html[data-theme="dark"] .app-main .alluzzi-settings-page .profile-photo-uploader,
html[data-theme="dark"] .app-main .alluzzi-settings-page .theme-choice-card,
html[data-theme="dark"] .app-main .alluzzi-settings-page .appearance-note{
  background:#2D1D24!important;border-color:#543039!important;color:#FAF5F4!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .input:focus,
html[data-theme="dark"] .app-main .alluzzi-settings-page .select:focus,
html[data-theme="dark"] .app-main .alluzzi-settings-page .textarea:focus{
  border-color:#D58FA0!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .theme-choice-card strong,
html[data-theme="dark"] .app-main .alluzzi-settings-page .appearance-note strong{
  color:#FAF5F4!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .theme-choice-card small,
html[data-theme="dark"] .app-main .alluzzi-settings-page .appearance-note span{
  color:#C5AEB4!important;
}
@media(max-width:420px){
  .app-main .alluzzi-settings-page .settings-card.active-panel{padding:16px 14px 22px!important}
  .app-main .alluzzi-settings-page .form-grid{gap:8px}
  .app-main .alluzzi-settings-page .profile-photo-uploader{flex-wrap:wrap}
}
@media(max-width:365px){
  .app-main .alluzzi-settings-page .form-grid{grid-template-columns:1fr}
}

/* ====================================================================
   ALLUZZI PRODUCT /produto/:id — Lovable parity v1.4 · 06/11/2026
   Scope exclusively ItemDetail. No global changes to seller/checkout.
   Reference: src/routes/produto.$id.tsx, src/components/Shell.tsx.
   ==================================================================== */
.app-shell.alluzzi-product-shell{
  display:flex;flex-direction:column;
  height:100dvh!important;min-height:0!important;
  overflow:hidden!important;
  background:var(--bg);
}
@media(min-width:640px){
  .app-shell.alluzzi-product-shell{height:calc(100dvh - 64px)!important;min-height:0!important;overflow:hidden!important}
}
.app-shell.alluzzi-product-shell>.app-header,
.app-shell.alluzzi-product-shell>.mode-switch,
.app-shell.alluzzi-product-shell>.alluzzi-shortcuts,
.app-shell.alluzzi-product-shell>.bottom-nav{display:none!important}
.app-shell.alluzzi-product-shell>.app-main{
  display:block;flex:1 1 auto;min-height:0!important;height:auto!important;
  padding:0!important;margin:0!important;
  overflow-x:hidden;overflow-y:auto;
  background:var(--bg);
  scrollbar-width:thin;scrollbar-color:rgba(120,75,84,.28) transparent;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
}
.app-shell.alluzzi-product-shell>.app-main::-webkit-scrollbar{width:4px}
.app-shell.alluzzi-product-shell>.app-main::-webkit-scrollbar-thumb{background:rgba(120,75,84,.35);border-radius:9px}
.app-shell.alluzzi-product-shell .detail-gallery{
  display:block;position:relative;aspect-ratio:4/5!important;
  margin:0!important;padding:0!important;width:100%!important;
  height:auto!important;max-height:none!important;min-height:0!important;
  background:var(--secondary)!important;overflow:hidden;
}
.app-shell.alluzzi-product-shell .detail-gallery-track{
  height:100%;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
}
.app-shell.alluzzi-product-shell .detail-gallery-slide{
  height:100%!important;width:100%;min-width:100%;flex:0 0 100%;
  aspect-ratio:auto!important;overflow:hidden;border-radius:0!important;
}
.app-shell.alluzzi-product-shell .detail-gallery-slide img,
.app-shell.alluzzi-product-shell .detail-gallery-slide video{
  display:block;width:100%;height:100%;object-fit:cover;object-position:center center;
}
.app-shell.alluzzi-product-shell .detail-gallery-actions{top:16px;left:16px;right:16px;z-index:3}
.app-shell.alluzzi-product-shell .detail-gallery-action-group{gap:9px}
.app-shell.alluzzi-product-shell .detail-round-btn,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .detail-round-btn{
  width:43px!important;height:43px!important;display:grid;place-items:center;
  background:#160A0C!important;border:0!important;color:#FAF5F2!important;
  border-radius:999px!important;box-shadow:0 2px 8px rgba(0,0,0,.11)!important;
  backdrop-filter:none!important;
}
.app-shell.alluzzi-product-shell .detail-gallery-action-group form{display:block;margin:0}
.app-shell.alluzzi-product-shell .detail-favorite.active .ico{fill:#D58FA0!important;stroke:#D58FA0!important}
.app-shell.alluzzi-product-shell .gallery-dots{bottom:12px}
.app-shell.alluzzi-product-shell .gallery-dots i{background:rgba(255,255,255,.55)}
.app-shell.alluzzi-product-shell .gallery-dots i.active{background:#fff}

.app-shell.alluzzi-product-shell .item-source-body,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .item-source-body{
  box-sizing:border-box;background:var(--bg)!important;
  padding:20px 20px 36px!important;margin:0!important;
  color:var(--fg);
}
.app-shell.alluzzi-product-shell .item-source-head{gap:12px;align-items:start}
.app-shell.alluzzi-product-shell .detail-title{
  margin:0;color:var(--fg);font-size:24px!important;line-height:1.28!important;
  font-weight:300!important;letter-spacing:-.012em!important;
}
.app-shell.alluzzi-product-shell .condition-pill{
  margin-top:2px;flex:0 0 auto;display:inline-flex;align-items:center;
  padding:6px 12px!important;border-radius:999px!important;
  background:var(--secondary)!important;color:var(--muted-dark)!important;
  font-size:11px!important;font-weight:400!important;line-height:1.3;
}
.app-shell.alluzzi-product-shell .detail-sub{
  margin:5px 0 0!important;font-size:14px!important;line-height:1.4;
  color:var(--muted-dark)!important;font-weight:400!important;
}
.app-shell.alluzzi-product-shell .detail-location,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .detail-location{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex-direction:row!important;gap:4px!important;width:auto!important;
  height:auto!important;min-height:0!important;margin:5px 0 0!important;
  padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  text-align:left!important;font-size:12px!important;line-height:1.45;
  color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .detail-location .ico{width:12px;height:12px;color:inherit!important}
.app-shell.alluzzi-product-shell .detail-location .product-location-text{max-width:none!important;font-size:12px!important}
.app-shell.alluzzi-product-shell .detail-location .product-distance{
  font-size:12px!important;margin-left:0!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .detail-location .product-distance:not([hidden])::before{content:" · ";white-space:pre}
.app-shell.alluzzi-product-shell .product-mode-switch{
  margin:22px 0 0;padding:4px;display:grid;grid-template-columns:1fr 1fr;
  background:var(--secondary);border-radius:999px;gap:0;
}
.app-shell.alluzzi-product-shell .product-mode-switch button{
  padding:8px 10px;min-height:39px;border:0;border-radius:999px;
  background:transparent;color:var(--muted-dark);font-size:14px;font-weight:400;cursor:pointer;
}
.app-shell.alluzzi-product-shell .product-mode-switch button.is-active{
  background:var(--bg);color:var(--fg);box-shadow:0 2px 5px rgba(0,0,0,.10);
}
.app-shell.alluzzi-product-shell .detail-price{
  display:block!important;margin:22px 0 0!important;padding:0!important;
}
.app-shell.alluzzi-product-shell .detail-price-label{
  margin:0;font-size:12px!important;font-weight:400!important;
  text-transform:uppercase;letter-spacing:.2em;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .detail-price-value{
  margin:5px 0 0;font-size:24px!important;font-weight:400!important;
  line-height:1.28!important;color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .detail-price-value span{margin-left:2px;font-size:14px;color:var(--muted-dark)}
.app-shell.alluzzi-product-shell .item-description{margin-top:31px!important}
.app-shell.alluzzi-product-shell .description-toolbar{margin:0 0 10px!important;display:flex;align-items:center;gap:8px}
.app-shell.alluzzi-product-shell .description-toolbar h2{
  margin:0!important;font-size:12px!important;text-transform:uppercase;
  font-weight:500!important;letter-spacing:.2em;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .listen-link{font-size:11px!important;font-weight:400!important;color:var(--muted-dark)!important}
.app-shell.alluzzi-product-shell .description{
  margin:0!important;padding:0!important;max-width:100%;
  font-size:14px!important;font-weight:400!important;line-height:1.8!important;
  color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .product-code{
  margin:16px 0 0!important;display:block!important;
  font-size:11px!important;line-height:1.5;letter-spacing:.15em;
  font-weight:400!important;color:var(--muted-dark)!important;text-transform:uppercase;
}
.app-shell.alluzzi-product-shell .seller-line,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .seller-line{
  position:relative!important;margin:28px 0 0!important;min-height:82px!important;
  padding:16px!important;background:var(--card)!important;color:var(--fg)!important;
  border:1px solid var(--border)!important;border-radius:16px!important;
  box-shadow:none!important;gap:12px!important;
}
.app-shell.alluzzi-product-shell .seller-line .avatar{
  width:48px!important;height:48px!important;border-radius:16px!important;
  background:var(--al-ruby)!important;color:#fff;font-size:14px;font-weight:400;
}
.app-shell.alluzzi-product-shell .seller-main{gap:12px!important;min-width:0}
.app-shell.alluzzi-product-shell .seller-main h3,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .seller-main h3{
  font-size:14px!important;line-height:1.4!important;
  font-weight:500!important;color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .seller-main p{
  margin:4px 0 0!important;font-size:12px!important;color:var(--al-ruby)!important;
}
.app-shell.alluzzi-product-shell .seller-chat,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .seller-chat{
  width:42px!important;height:42px!important;border:1px solid var(--border)!important;
  background:transparent!important;border-radius:999px!important;color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .reviews-head{margin:27px 0 15px!important;padding:0!important}
.app-shell.alluzzi-product-shell .reviews-head h2{
  margin:0;font-size:16px!important;line-height:1.35;font-weight:400!important;color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .reviews-head span{font-size:12px!important;color:var(--muted-dark)!important}
.app-shell.alluzzi-product-shell .item-review-form,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .item-review-form{
  margin:0!important;padding:16px!important;border:1px solid var(--border)!important;
  border-radius:24px!important;background:var(--card)!important;color:var(--fg);
  box-shadow:none!important;
}
.app-shell.alluzzi-product-shell .item-review-form .source-section-head{margin:0;padding:0;gap:8px}
.app-shell.alluzzi-product-shell .item-review-form .source-section-head h3{
  font-size:14px!important;font-weight:500!important;line-height:1.4;color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .item-review-form .source-section-head span{
  font-size:11px!important;font-weight:400;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .item-review-form .review-helper{
  margin:4px 0 0;font-size:12px!important;line-height:1.5;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .product-rating-stars{
  display:flex;align-items:center;gap:6px;margin:14px 0 0;padding:0;
  border:0;min-height:25px;
}
.app-shell.alluzzi-product-shell .product-rating-stars legend{
  width:1px;height:1px;position:absolute;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
.app-shell.alluzzi-product-shell .product-rating-star{
  position:relative;display:inline-grid;place-items:center;width:25px;height:25px;
  color:var(--muted-dark);cursor:pointer;
}
.app-shell.alluzzi-product-shell .product-rating-star .ico{width:24px;height:24px;stroke-width:1.5}
.app-shell.alluzzi-product-shell .product-rating-star input{
  position:absolute;inset:0;opacity:0;cursor:pointer;z-index:1;
}
.app-shell.alluzzi-product-shell .product-rating-star.is-selected{color:var(--al-ruby)}
.app-shell.alluzzi-product-shell .product-rating-star.is-selected .ico{fill:var(--al-ruby)}
.app-shell.alluzzi-product-shell .product-rating-star:focus-within{outline:2px solid var(--al-ruby);outline-offset:2px;border-radius:4px}
.app-shell.alluzzi-product-shell .item-review-form .textarea,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .item-review-form .textarea{
  display:block;width:100%;min-height:92px;margin:14px 0 0!important;padding:12px!important;
  border-radius:16px!important;border:1px solid var(--border)!important;
  background:transparent!important;color:var(--fg)!important;
  font:400 14px/1.5 'Alluzzi Overpass',sans-serif!important;
  resize:vertical;outline:0;
}
.app-shell.alluzzi-product-shell .item-review-form .textarea::placeholder{color:var(--muted-dark)}
.app-shell.alluzzi-product-shell .item-review-form .textarea:focus{border-color:var(--al-ruby)!important}
.app-shell.alluzzi-product-shell .item-review-form .btn.primary,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .item-review-form .btn.primary{
  margin-top:18px!important;display:flex;align-items:center;justify-content:center;
  width:100%;min-height:48px;padding:12px 16px!important;
  background:var(--al-ruby)!important;border:1px solid var(--al-ruby)!important;
  border-radius:999px!important;color:#fff!important;
  font-size:14px!important;font-weight:500!important;box-shadow:none!important;
}
.app-shell.alluzzi-product-shell .review-card{border-radius:16px;background:var(--card);border:1px solid var(--border)}
.app-shell.alluzzi-product-shell .review-card+.review-card{margin-top:8px}
.app-shell.alluzzi-product-shell .product-extra-details{
  margin:24px 0 4px;border:1px solid var(--border);border-radius:16px;
  overflow:hidden;background:var(--card);
}
.app-shell.alluzzi-product-shell .product-extra-details>summary{
  list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;
  min-height:48px;padding:12px 16px;cursor:pointer;
  font-size:12px;color:var(--muted-dark);
}
.app-shell.alluzzi-product-shell .product-extra-details>summary::-webkit-details-marker{display:none}
.app-shell.alluzzi-product-shell .product-extra-details[open]>summary>.ico{transform:rotate(180deg)}
.app-shell.alluzzi-product-shell .product-extra-body{padding:0 16px 16px;border-top:1px solid var(--border)}
.app-shell.alluzzi-product-shell .product-extra-body .freight-link{
  margin:14px 0!important;padding:4px 0!important;font-size:12px!important;color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .product-extra-security{
  display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted-dark);
}
.app-shell.alluzzi-product-shell .product-extra-body .rental-availability,
.app-shell.alluzzi-product-shell .product-extra-body .measure-panel{
  margin-top:10px!important;border-radius:12px;background:transparent;
}
/* Lovable Shell.footer: own two-button footer, no original 5-item nav. */
.app-shell.alluzzi-product-shell>.product-actions-sticky{
  position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
  z-index:27!important;flex:0 0 auto;width:100%!important;max-width:none!important;
  transform:none!important;margin:0!important;
  padding:16px!important;box-sizing:border-box;
  background:var(--bg)!important;border-top:1px solid var(--border)!important;
  box-shadow:none!important;
}
.app-shell.alluzzi-product-shell .product-actions-sticky .source-cta-card,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .product-actions-sticky .source-cta-card{
  display:grid;grid-template-columns:1fr;gap:8px;width:100%!important;
  margin:0!important;padding:0!important;box-shadow:none!important;
  border:0!important;background:transparent!important;border-radius:0!important;
  backdrop-filter:none!important;
}
.app-shell.alluzzi-product-shell .product-actions-sticky .btn.primary,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .product-actions-sticky .btn.primary{
  display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;
  padding:12px 16px!important;margin:0!important;
  border:1px solid var(--al-ruby)!important;background:var(--al-ruby)!important;
  border-radius:999px!important;color:#fff!important;text-decoration:none;
  font-size:14px!important;font-weight:500!important;box-shadow:none!important;
}
.app-shell.alluzzi-product-shell .bag-inline-form{width:100%;margin:0}
.app-shell.alluzzi-product-shell .product-actions-sticky .add-bag-link,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .product-actions-sticky .add-bag-link{
  display:flex;gap:8px;align-items:center;justify-content:center;width:100%;height:48px;
  min-height:48px;margin:0!important;padding:10px 16px!important;
  background:transparent!important;border:1px solid var(--border)!important;
  border-radius:999px!important;color:var(--fg)!important;text-decoration:none;
  font-size:14px!important;font-weight:400!important;
}
.app-shell.alluzzi-product-shell .product-actions-sticky .add-bag-link .ico{color:inherit!important}
html[data-theme="dark"] .app-shell.alluzzi-product-shell{
  --bg:#12080A;--fg:#FAF5F2;--card:#241116;--border:#463038;
  --secondary:#29161B;--muted-dark:#A99AA0;--body:#A99AA0;
}
html[data-theme="light"] .app-shell.alluzzi-product-shell{
  --bg:#F5F1EE;--fg:#24151A;--card:#FFFCFA;--border:#E4DAD5;
  --secondary:#ECE5E0;--muted-dark:#74666B;
}
@media(max-width:390px){
  .app-shell.alluzzi-product-shell .item-source-body{padding:20px 18px 30px!important}
  .app-shell.alluzzi-product-shell .detail-title{font-size:23px!important}
}
@media(prefers-reduced-motion:reduce){
  .app-shell.alluzzi-product-shell *{scroll-behavior:auto!important;transition-duration:0s!important}
}
/* Preserve Lovable's single scrolling page: footer comes after content rather
   than covering the product photograph before the user scrolls to the end. */
.app-shell.alluzzi-product-shell{
  --app-w:420px!important;max-width:420px!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  display:flex;flex-direction:column;
  -webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;
}
.app-shell.alluzzi-product-shell>.app-main{
  flex:1 0 auto!important;overflow:visible!important;
  min-height:0!important;height:auto!important;
}
.app-shell.alluzzi-product-shell>.product-actions-sticky{
  position:sticky!important;bottom:0!important;
}
/* In the Lovable capture, checkout actions enter the viewport after the
   description/reviews; do not show a persistent dock over the photograph. */
.app-shell.alluzzi-product-shell>.product-actions-sticky{position:relative!important;bottom:auto!important}


/* ========================================================================
   ALLUZZI PRODUCT · FIDELIDADE MICROVISUAL v1.5 (06/11/2026)
   Fonte de verdade: ellisa-minimal-chat-studio/src/styles.css,
   src/routes/produto.$id.tsx e src/components/Shell.tsx.
   Não alterar fontes, grids ou cores das demais rotas.
   ======================================================================== */
/* Tokens sem aproximações HEX: os mesmos OKLCH e opacidades do Lovable. */
html[data-theme="dark"] .app-shell.alluzzi-product-shell {
  --bg:oklch(0.15 0.02 15);
  --fg:oklch(0.98 0 0);
  --card:oklch(0.19 0.03 15);
  --secondary:oklch(0.22 0.03 15);
  --border:oklch(0.98 0 0 / 18%);
  --muted-dark:oklch(0.98 0 0 / 55%);
  --body:oklch(0.98 0 0 / 55%);
  --al-ruby:oklch(0.35 0.095 12);
  --product-accent:oklch(0.26 0.05 15);
  --product-accent-fg:oklch(0.98 0 0);
}
html[data-theme="light"] .app-shell.alluzzi-product-shell {
  --bg:oklch(0.96 0.005 60);
  --fg:oklch(0.15 0.02 15);
  --card:oklch(0.985 0.003 60);
  --secondary:oklch(0.925 0.008 45);
  --border:oklch(0.89 0.01 35);
  --muted-dark:oklch(0.48 0.03 15);
  --body:oklch(0.48 0.03 15);
  --al-ruby:oklch(0.26 0.06 12);
  --product-accent:oklch(0.92 0.02 20);
  --product-accent-fg:oklch(0.35 0.095 12);
}
/* No Lovable o canvas de desktop é muted; no site real ainda era azul/preto. */
@media(min-width:640px) {
  html[data-theme="dark"] body:has(.alluzzi-product-shell){background:oklch(0.22 0.03 15)!important;}
  html[data-theme="light"] body:has(.alluzzi-product-shell){background:oklch(0.925 0.008 45)!important;}
}
.app-shell.alluzzi-product-shell,
.app-shell.alluzzi-product-shell>.app-main,
.app-shell.alluzzi-product-shell .item-source-body{
  color:var(--fg)!important;
  background-color:var(--bg)!important;
}
/* Typography scale: Tailwind 24/32, 14/20, 12/16, label tracking .2em. */
.app-shell.alluzzi-product-shell .detail-title{
  font-size:24px!important;line-height:32px!important;
  font-weight:300!important;letter-spacing:0!important;
  color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .item-source-head{gap:12px!important;align-items:flex-start!important;}
.app-shell.alluzzi-product-shell .condition-pill{
  margin-top:4px!important;padding:4px 12px!important;
  font-size:11px!important;line-height:16px!important;font-weight:400!important;
  background:var(--product-accent)!important;color:var(--product-accent-fg)!important;
  border:0!important;box-shadow:none!important;border-radius:9999px!important;
}
.app-shell.alluzzi-product-shell .detail-sub,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .detail-sub{
  margin:4px 0 0!important;font-size:14px!important;line-height:20px!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .detail-location,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .detail-location{
  margin:4px 0 0!important;font-size:12px!important;line-height:16px!important;
  gap:4px!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .detail-location .ico{width:12px!important;height:12px!important;stroke-width:2!important;flex:none;}
.app-shell.alluzzi-product-shell .detail-location .product-location-text,
.app-shell.alluzzi-product-shell .detail-location .product-distance{
  font-size:12px!important;line-height:16px!important;font-weight:400!important;
  color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .product-mode-switch{
  margin:20px 0 0!important;padding:4px!important;background:var(--secondary)!important;
  border-radius:9999px!important;gap:0!important;
}
.app-shell.alluzzi-product-shell .product-mode-switch button{
  min-height:36px!important;padding:8px 10px!important;
  font-size:14px!important;line-height:20px!important;font-weight:400!important;
  border-radius:9999px!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .product-mode-switch button.is-active{
  background:var(--bg)!important;color:var(--fg)!important;
  box-shadow:0 1px 2px rgba(0,0,0,.08)!important;
}
.app-shell.alluzzi-product-shell .detail-price{margin:20px 0 0!important;}
.app-shell.alluzzi-product-shell .detail-price-label{
  font-size:12px!important;line-height:16px!important;letter-spacing:.2em!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .detail-price-value{
  margin:4px 0 0!important;font-size:24px!important;line-height:32px!important;
  font-weight:400!important;color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .item-description{
  margin-top:24px!important;padding:0!important;border:0!important;
}
.app-shell.alluzzi-product-shell .description-toolbar{
  margin:0 0 8px!important;align-items:baseline!important;justify-content:space-between!important;
}
.app-shell.alluzzi-product-shell .description-toolbar h2{
  font-size:12px!important;line-height:16px!important;font-weight:500!important;
  letter-spacing:.2em!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .listen-link,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .listen-link{
  font-size:11px!important;line-height:16px!important;gap:4px!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .listen-link .ico{width:14px!important;height:14px!important;stroke-width:1.5!important;}
/* Crucial: o CSS legado tinha html[data-theme=dark] .item-description
   .description {color:#D1D4D9!important}, mais específico que a v1.4. */
html[data-theme="dark"] .app-shell.alluzzi-product-shell .item-description .description,
html[data-theme="light"] .app-shell.alluzzi-product-shell .item-description .description{
  margin:0!important;padding:0!important;background:transparent!important;
  font-size:14px!important;line-height:1.625!important;font-weight:400!important;
  letter-spacing:normal!important;color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .product-code,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .product-code{
  margin:12px 0 0!important;font-size:11px!important;line-height:16px!important;
  letter-spacing:.15em!important;color:var(--muted-dark)!important;
}
/* Tailwind rounded-2xl: radius 14px. Avatar real 44px, chat 38px. */
.app-shell.alluzzi-product-shell .seller-line,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .seller-line{
  margin:24px 0 0!important;padding:16px!important;min-height:76px!important;
  border-radius:14px!important;border:1px solid var(--border)!important;
  background:var(--card)!important;gap:12px!important;box-shadow:none!important;
}
.app-shell.alluzzi-product-shell .seller-line .avatar{
  width:44px!important;height:44px!important;border-radius:14px!important;
  background:var(--al-ruby)!important;color:oklch(0.98 0 0)!important;
  font-size:14px!important;font-weight:400!important;
}
.app-shell.alluzzi-product-shell .seller-main h3,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .seller-main h3{
  font-size:14px!important;line-height:20px!important;font-weight:500!important;
  color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .seller-main p{
  margin:2px 0 0!important;font-size:12px!important;line-height:16px!important;
  color:var(--al-ruby)!important;
}
.app-shell.alluzzi-product-shell .seller-chat,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .seller-chat{
  width:38px!important;height:38px!important;border:1px solid var(--border)!important;
  color:var(--fg)!important;background:transparent!important;border-radius:9999px!important;
}
.app-shell.alluzzi-product-shell .seller-chat .ico{width:16px!important;height:16px!important;stroke-width:1.5!important;}
.app-shell.alluzzi-product-shell .reviews-head{
  margin:24px 0 12px!important;align-items:baseline!important;
}
.app-shell.alluzzi-product-shell .reviews-head h2{
  font-size:16px!important;line-height:24px!important;font-weight:400!important;
  color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .reviews-head span{
  font-size:12px!important;line-height:16px!important;font-weight:400!important;
  color:var(--muted-dark)!important;
}
/* Tailwind rounded-3xl: radius 18px, p4, form line-height and button spacing. */
.app-shell.alluzzi-product-shell .item-review-form,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .item-review-form{
  padding:16px!important;border-radius:18px!important;
  background:var(--card)!important;border:1px solid var(--border)!important;
}
.app-shell.alluzzi-product-shell .item-review-form .source-section-head{margin:0!important;align-items:center!important;}
.app-shell.alluzzi-product-shell .item-review-form .source-section-head h3{
  font-size:14px!important;line-height:20px!important;font-weight:500!important;
  color:var(--fg)!important;
}
.app-shell.alluzzi-product-shell .item-review-form .source-section-head span,
.app-shell.alluzzi-product-shell .item-review-form .review-helper{
  font-size:11px!important;line-height:16px!important;font-weight:400!important;
  color:var(--muted-dark)!important;
}
.app-shell.alluzzi-product-shell .item-review-form .review-helper{margin:4px 0 0!important;font-size:12px!important;}
.app-shell.alluzzi-product-shell .product-rating-stars{margin:12px 0 0!important;gap:4px!important;}
.app-shell.alluzzi-product-shell .product-rating-star{width:24px!important;height:24px!important;color:var(--muted-dark)!important;}
.app-shell.alluzzi-product-shell .product-rating-star .ico{width:24px!important;height:24px!important;stroke-width:1.5!important;}
.app-shell.alluzzi-product-shell .item-review-form .textarea,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .item-review-form .textarea{
  margin:12px 0 0!important;padding:12px!important;min-height:92px!important;
  border-radius:14px!important;font-size:14px!important;line-height:20px!important;
  border:1px solid var(--border)!important;
  color:var(--fg)!important;background:transparent!important;
}
.app-shell.alluzzi-product-shell .item-review-form .textarea::placeholder{
  color:var(--muted-dark)!important;opacity:1!important;
}
.app-shell.alluzzi-product-shell .item-review-form .btn.primary,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .item-review-form .btn.primary{
  margin:12px 0 0!important;min-height:44px!important;padding:12px 16px!important;
  border-radius:9999px!important;background:var(--al-ruby)!important;
  border-color:var(--al-ruby)!important;color:oklch(0.98 0 0)!important;
  font-size:14px!important;line-height:20px!important;font-weight:400!important;
}
.app-shell.alluzzi-product-shell .product-actions-sticky .btn.primary,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .product-actions-sticky .btn.primary{
  min-height:48px!important;padding:14px 16px!important;font-size:14px!important;
  line-height:20px!important;font-weight:400!important;
  background:var(--al-ruby)!important;border-color:var(--al-ruby)!important;
  color:oklch(0.98 0 0)!important;
}
.app-shell.alluzzi-product-shell .product-actions-sticky .add-bag-link,
html[data-theme="dark"] .app-shell.alluzzi-product-shell .product-actions-sticky .add-bag-link{
  min-height:44px!important;height:44px!important;padding:12px 16px!important;
  border:1px solid var(--border)!important;border-radius:9999px!important;
  color:var(--fg)!important;font-size:14px!important;line-height:20px!important;
}
/* Preserve live benefits, shipping, measurements, checkout and PWA scroll. */
@media(max-width:390px){
  .app-shell.alluzzi-product-shell .detail-title{font-size:24px!important;}
}


/* v1.6 · Home page parity refinements (Lovable main page) */
.home-directory-head{padding:2px 20px 14px!important}
.home-directory-tabs a{min-height:34px;padding:6px 18px;font-size:12px;font-weight:400;letter-spacing:0}
.home-see-more{min-height:34px;padding:7px 12px;font-size:12px;font-weight:400}
.wardrobe-strip{gap:16px!important;padding:0 20px 8px!important}
.app-main .profile-mini{width:96px!important;min-width:96px!important;flex:0 0 96px!important}
.app-main .profile-mini .profile-cover{width:96px!important;height:112px!important}
.app-main .profile-mini>strong{margin-top:29px!important;font-size:14px!important;font-weight:500!important;line-height:1.25!important;color:var(--fg)!important}
.app-main .profile-mini>small{margin-top:2px!important;font-size:11px!important;line-height:1.25!important;color:var(--muted-dark)!important}
.home-categories{padding:18px 0 10px!important}
.alluzzi-category-head{padding:0 20px 12px}
.alluzzi-category-head .eyebrow{font-size:12px!important;font-weight:500!important;letter-spacing:.2em!important}
.alluzzi-category-head>small{font-size:11px!important;line-height:1.3}
.category-strip{gap:12px!important;padding:0 20px!important}
.app-main .category-mini{width:64px!important;min-width:64px!important;gap:6px!important}
.app-main .category-icon{width:56px!important;height:56px!important;border-radius:6px!important;box-shadow:none!important;border:1px solid var(--border)!important;background:var(--card)!important}
.app-main .category-mini span,.app-main .category-mini small,.app-main .category-mini{font-size:11px!important;line-height:1.25!important;color:var(--fg)!important}
.home-products{padding:20px 20px 24px!important}
.source-section-head{margin-bottom:12px!important;display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:8px!important}
.source-section-head h3{font-size:16px!important;font-weight:400!important;line-height:1.3!important;letter-spacing:0!important;color:var(--fg)!important}
.source-section-head>span,.source-section-head small{font-size:12px!important;line-height:1.25!important;color:var(--muted-dark)!important;font-weight:400!important}
.product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.app-main .product-card{display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--card)!important;box-shadow:none!important}
.app-main .product-card .product-card-body-link,.app-main .product-card .product-photo-link{display:block!important;text-decoration:none!important;color:inherit!important}
.app-main .product-card .photo{aspect-ratio:4/5!important;height:auto!important;background:var(--secondary)!important}
.app-main .product-card .body{padding:12px!important}
.app-main .product-card h3{margin:0!important;font-size:14px!important;line-height:1.3!important;font-weight:600!important;letter-spacing:0!important;color:var(--fg)!important}
.app-main .product-card .meta{margin-top:4px!important;font-size:12px!important;line-height:1.25!important;color:var(--muted-dark)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-main .product-card .product-location{display:flex!important;align-items:center!important;gap:4px!important;margin-top:4px!important;font-size:11px!important;line-height:1.25!important;color:var(--muted-dark)!important}
.app-main .product-card .product-location .ico{width:12px!important;height:12px!important;stroke-width:1.5!important;flex:0 0 12px!important}
.app-main .product-card .product-distance{font-weight:600!important;color:inherit!important}
.app-main .product-card .price-row{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;gap:12px!important;margin-top:8px!important;min-height:auto!important}
.app-main .product-card .price-block strong{display:block!important;font-size:14px!important;line-height:1.25!important;font-weight:700!important;color:var(--fg)!important}
.app-main .product-card .price-block small{display:block!important;margin-top:2px!important;font-size:11px!important;line-height:1.15!important;font-weight:400!important;color:var(--muted-dark)!important}
.app-main .product-card .price-block em{font-size:10px!important;font-weight:400!important;color:var(--muted-dark)!important}
.app-main .product-favorite{top:10px!important;right:10px!important;width:30px!important;height:30px!important;border-radius:999px!important;background:var(--card)!important;color:var(--al-ruby)!important;box-shadow:none!important}
.app-main .product-favorite .ico{width:16px!important;height:16px!important;stroke-width:1.5!important}
html[data-theme="dark"] .app-main .profile-mini>strong,html[data-theme="dark"] .app-main .category-mini,html[data-theme="dark"] .source-section-head h3{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .profile-mini>small,html[data-theme="dark"] .alluzzi-category-head>small,html[data-theme="dark"] .source-section-head>span,html[data-theme="dark"] .app-main .product-card .meta,html[data-theme="dark"] .app-main .product-card .product-location,html[data-theme="dark"] .app-main .product-card .price-block small,html[data-theme="dark"] .app-main .product-card .price-block em{color:#CDBCC1!important}
html[data-theme="dark"] .app-main .category-icon{background:#201419!important;border-color:#443038!important}
html[data-theme="dark"] .app-main .product-card{background:#201419!important;border-color:#443038!important}
html[data-theme="dark"] .app-main .product-card h3,html[data-theme="dark"] .app-main .product-card .price-block strong{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .product-favorite{background:#201419!important;color:#E2A7B5!important}
@media(max-width:380px){
 .app-main .product-card .body{padding:11px!important}
 .app-main .product-card h3{font-size:13px!important}
 .app-main .product-card .price-block strong{font-size:13px!important}
 .home-directory-tabs a,.home-see-more{font-size:11px!important}
}

/* ================================================================
   Alluzzi visual parity — v1.8
   Consistência estrutural entre Home e demais telas internas.
   Corrige diferença de escala, largura visual, tipografia e tons.
   ================================================================ */

/* Shell global: todas as telas devem seguir a mesma moldura da home. */
body{font-size:14px!important}
.app-shell{
  width:min(100%,420px)!important;
  max-width:420px!important;
  margin:0 auto!important;
  border-radius:10px!important;
}
.app-main,
.app-header,
.mode-switch,
.alluzzi-shortcuts{background:var(--bg)!important}

/* Tipografia-base e tons das telas internas */
.app-main .source-page,
.app-main .settings-source,
.app-main .favorites-source,
.app-main .orders-source,
.app-main .notifications-source,
.app-main .seller-dashboard-source,
.app-main .profile-source,
.app-main .buyer-profile-tab-content,
.app-main .source-form-head,
.app-main .source-form,
.app-main .source-local-page,
.app-main .source-page-content{
  color:var(--fg)!important;
}
.app-main h1,
.app-main h2,
.app-main h3,
.app-main h4,
.app-main strong{letter-spacing:0!important}

/* Cartões e blocos internos seguem a linguagem da home */
.app-main .card,
.app-main .settings-card,
.app-main .profile-history-row,
.app-main .preferences-card,
.app-main .marketplace-preference-option,
.app-main .preference-chip span,
.app-main .buyer-profile-quick a,
.app-main .seller-item-row,
.app-main .order-card,
.app-main .notification,
.app-main .chat-list,
.app-main .favorites-alerts-card,
.app-main .source-fin-card,
.app-main .seller-function-card,
.app-main .analytics-list,
.app-main .review-card{
  background:var(--card)!important;
  border:1px solid var(--border)!important;
  border-radius:var(--al-radius)!important;
  box-shadow:none!important;
}

/* Perfil comprador / perfil próprio */
.app-main .profile-source{padding-top:8px!important}
.app-main .profile-source-head{
  display:flex;align-items:center;gap:12px!important;
  padding:0 0 12px!important;
}
.app-main .profile-source-avatar{
  position:relative;
  width:60px!important;height:60px!important;
  min-width:60px!important;
  border-radius:14px!important;
  background:var(--card)!important;
  border:1px solid var(--border)!important;
  display:grid;place-items:center;
  overflow:hidden;
  box-shadow:none!important;
}
.app-main .profile-source-avatar.store{background:var(--card)!important}
.app-main .profile-source-avatar img{width:100%;height:100%;object-fit:cover}
.app-main .profile-source-copy{flex:1;min-width:0}
.app-main .profile-source-name{display:flex;flex-wrap:wrap;align-items:center;gap:6px!important}
.app-main .profile-source-name h2{
  margin:0!important;
  font-size:18px!important;line-height:1.1!important;
  font-weight:700!important;color:var(--fg)!important;
}
.app-main .profile-source-copy>p{
  margin:4px 0 0!important;
  font-size:12px!important;line-height:1.3!important;
  font-weight:600!important;color:var(--fg)!important;
}
.app-main .profile-source-copy>span{
  margin-top:4px!important;
  font-size:11px!important;line-height:1.4!important;
  color:var(--muted-dark)!important;
}
.app-main .profile-source-tools{display:flex;gap:8px!important;align-items:center}
.app-main .tiny-round,
.app-main .settings-top-icon{
  width:40px!important;height:40px!important;min-width:40px!important;
  border-radius:14px!important;
  background:var(--card)!important;
  border:1px solid var(--border)!important;
  color:var(--fg)!important;
  box-shadow:none!important;
}
.app-main .tiny-round .ico,
.app-main .settings-top-icon .ico,
.app-main .tiny-round .alluzzi-icon,
.app-main .settings-top-icon .alluzzi-icon{width:18px!important;height:18px!important}

.app-main .buyer-stats-source,
.app-main .profile-source-stats{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px!important;
  margin:12px -20px 0!important;
  padding:14px 20px!important;
  background:transparent!important;
  border-top:1px solid var(--border)!important;
  border-bottom:1px solid var(--border)!important;
}
.app-main .buyer-stats-source strong,
.app-main .profile-source-stats strong{
  display:block;font-size:16px!important;line-height:1.15!important;
  font-weight:700!important;color:var(--fg)!important;
}
.app-main .buyer-stats-source span,
.app-main .profile-source-stats span{
  display:block;margin-top:4px!important;
  font-size:10px!important;line-height:1.2!important;
  color:var(--muted-dark)!important;
}
.app-main .member-since{
  display:flex;align-items:center;gap:8px!important;
  margin:0 -20px!important;
  padding:12px 20px!important;
  border-bottom:1px solid var(--border)!important;
  color:var(--muted-dark)!important;
  font-size:11px!important;line-height:1.35!important;
}
.app-main .member-since .ico{width:14px!important;height:14px!important}

.app-main .profile-tabs{
  display:flex!important;align-items:center;justify-content:space-between;
  gap:20px!important;
  margin:6px -20px 0!important;
  padding:0 20px!important;
  border-top:1px solid var(--border)!important;
  border-bottom:1px solid var(--border)!important;
  overflow-x:auto;scrollbar-width:none;
}
.app-main .profile-tabs::-webkit-scrollbar{display:none}
.app-main .profile-tabs a{
  position:relative;
  min-width:max-content;
  padding:14px 0!important;
  font-size:13px!important;line-height:1.2!important;
  font-weight:600!important;
  color:var(--muted-dark)!important;
}
.app-main .profile-tabs a.active{color:var(--fg)!important}
.app-main .profile-tabs a.active:after{
  content:"";position:absolute;left:22%;right:22%;bottom:-1px;
  height:2px;border-radius:99px;background:var(--al-ruby)!important;
}
.app-main .buyer-profile-tab-content,
.app-main .profile-source-content{padding:14px 0 6px!important}

.app-main .profile-history-list{display:grid;gap:10px!important}
.app-main .profile-history-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px!important;
  align-items:center;padding:14px 12px!important;
  color:inherit!important;text-decoration:none!important;
}
.app-main .profile-history-row .grow strong{
  display:block;font-size:13px!important;line-height:1.3!important;
  font-weight:700!important;color:var(--fg)!important;
}
.app-main .profile-history-row .grow span{
  display:block;margin-top:4px!important;
  font-size:11px!important;line-height:1.35!important;
  color:var(--muted-dark)!important;
}
.app-main .profile-history-row>b{
  font-size:12px!important;font-weight:700!important;color:var(--fg)!important;
}

.app-main .buyer-profile-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px!important;margin-top:12px!important}
.app-main .buyer-profile-quick a{
  min-height:44px!important;padding:10px 12px!important;
  display:flex;align-items:center;justify-content:center;gap:8px!important;
  font-size:12px!important;font-weight:600!important;color:var(--fg)!important;
}
.app-main .buyer-profile-quick a .ico{width:16px!important;height:16px!important}

/* Preferências / formulários internos */
.app-main .preferences-head strong,
.app-main .marketplace-preference-option b,
.app-main .settings-section-title strong{color:var(--fg)!important}
.app-main .preferences-head span,
.app-main .marketplace-preference-option small,
.app-main .settings-section-title small,
.app-main .settings-source .source-form-head p{color:var(--muted-dark)!important}

/* Modo escuro consistente com a home aprovada */
html[data-theme="dark"] body{
  background:linear-gradient(180deg,#47252B 0%,#5A3138 100%)!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-shell,
html[data-theme="dark"] .app-main,
html[data-theme="dark"] .app-header,
html[data-theme="dark"] .mode-switch,
html[data-theme="dark"] .alluzzi-shortcuts{
  background:#12080A!important;
}
html[data-theme="dark"] .app-main .card,
html[data-theme="dark"] .app-main .settings-card,
html[data-theme="dark"] .app-main .profile-history-row,
html[data-theme="dark"] .app-main .preferences-card,
html[data-theme="dark"] .app-main .marketplace-preference-option,
html[data-theme="dark"] .app-main .preference-chip span,
html[data-theme="dark"] .app-main .buyer-profile-quick a,
html[data-theme="dark"] .app-main .seller-item-row,
html[data-theme="dark"] .app-main .order-card,
html[data-theme="dark"] .app-main .notification,
html[data-theme="dark"] .app-main .chat-list,
html[data-theme="dark"] .app-main .favorites-alerts-card,
html[data-theme="dark"] .app-main .source-fin-card,
html[data-theme="dark"] .app-main .seller-function-card,
html[data-theme="dark"] .app-main .analytics-list,
html[data-theme="dark"] .app-main .review-card,
html[data-theme="dark"] .app-main .profile-source-avatar,
html[data-theme="dark"] .app-main .tiny-round,
html[data-theme="dark"] .app-main .settings-top-icon{
  background:#241014!important;
  border-color:#543039!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .profile-source-name h2,
html[data-theme="dark"] .app-main .buyer-stats-source strong,
html[data-theme="dark"] .app-main .profile-source-stats strong,
html[data-theme="dark"] .app-main .profile-history-row .grow strong,
html[data-theme="dark"] .app-main .profile-history-row>b,
html[data-theme="dark"] .app-main .profile-tabs a.active,
html[data-theme="dark"] .app-main .preferences-head strong,
html[data-theme="dark"] .app-main .marketplace-preference-option b,
html[data-theme="dark"] .app-main .settings-section-title strong{
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .profile-source-copy>p,
html[data-theme="dark"] .app-main .profile-source-copy>span,
html[data-theme="dark"] .app-main .buyer-stats-source span,
html[data-theme="dark"] .app-main .profile-source-stats span,
html[data-theme="dark"] .app-main .member-since,
html[data-theme="dark"] .app-main .profile-tabs a,
html[data-theme="dark"] .app-main .profile-history-row .grow span,
html[data-theme="dark"] .app-main .preferences-head span,
html[data-theme="dark"] .app-main .marketplace-preference-option small,
html[data-theme="dark"] .app-main .settings-section-title small,
html[data-theme="dark"] .app-main .settings-source .source-form-head p{
  color:#CDBCC1!important;
}
html[data-theme="dark"] .app-main .buyer-stats-source,
html[data-theme="dark"] .app-main .profile-source-stats,
html[data-theme="dark"] .app-main .member-since,
html[data-theme="dark"] .app-main .profile-tabs{
  border-color:#543039!important;
}

@media (max-width:480px){
  .app-shell{width:100%!important;max-width:100%!important;border-radius:0!important}
}

/* Alluzzi v1.9 — rótulos das categorias da Home sem quebra indevida.
   Sobrescreve especificamente a regra legada de alluzzi-app.css que
   aplica font-size:13px e overflow-wrap:break-word ao último span. */
.app-shell .app-main .home-categories .category-strip .category-mini > span:last-child {
  display:block!important;
  align-self:center!important;
  width:max-content!important;
  min-width:max-content!important;
  max-width:none!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  text-align:center!important;
}
/* A opção de fonte ampliada por acessibilidade continua podendo quebrar
   rótulos mais longos de maneira natural, sem cortar conteúdo. */
html.a11y-large-text .app-shell .app-main .home-categories .category-strip .category-mini > span:last-child {
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  font-size:14px!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}

/* ================================================================
   Alluzzi v1.10 — Painel Gerencial resumido conforme Lovable /minha-loja
   Estilos isolados na tela principal; relatórios e modais permanecem iguais.
   Referência: routes/minha-loja.tsx, Tailwind spacing scale, styles.css.
   ================================================================ */
.app-main .seller-dashboard-source.alluzzi-seller-overview{
  width:auto;min-width:0;margin:0 -20px!important;
  padding:0 20px 32px!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .seller-greeting{padding:6px 0 7px!important}
.app-main .alluzzi-seller-overview .seller-greeting>span{
  display:block;font-size:14px!important;line-height:1.45!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .alluzzi-seller-overview .seller-greeting h2{
  margin:0!important;font-size:24px!important;line-height:1.25!important;
  font-weight:300!important;letter-spacing:0!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .seller-greeting>p{
  margin:2px 0 0!important;font-size:14px!important;line-height:1.4!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .alluzzi-seller-overview .source-page-title.with-icon{
  margin:17px 0 0!important;padding:0!important;display:flex!important;
  align-items:center!important;gap:8px!important;
}
.app-main .alluzzi-seller-overview .source-page-title.with-icon>.ico{
  width:16px!important;height:16px!important;stroke-width:1.5!important;
}
.app-main .alluzzi-seller-overview .source-page-title h2{
  margin:0!important;font-size:16px!important;line-height:1.4!important;
  font-weight:400!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .seller-performance-head{
  margin:16px 0 12px!important;min-height:28px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:8px!important;
}
.app-main .alluzzi-seller-overview .seller-performance-head>p{
  margin:0!important;font-size:12px!important;line-height:1.35!important;
  letter-spacing:.2em!important;font-weight:500!important;
  text-transform:uppercase!important;color:var(--muted-dark)!important;
}
.app-main .alluzzi-seller-overview .seller-all-pill{
  min-height:28px!important;height:28px!important;padding:0 12px!important;
  background:var(--fg)!important;color:var(--bg)!important;
  font-size:11px!important;font-weight:400!important;border-radius:999px!important;
}
.app-main .alluzzi-seller-overview .seller-filter-trigger{
  width:30px!important;height:30px!important;min-width:30px!important;
  background:var(--card)!important;border:1px solid var(--border)!important;
  border-radius:50%!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .seller-filter-trigger .ico{
  width:14px!important;height:14px!important;stroke-width:1.5!important;
}
.app-main .alluzzi-seller-overview .seller-filter-popover[open] .seller-filter-trigger{
  background:var(--secondary)!important;
}
.app-main .alluzzi-seller-overview .source-revenue-card.alluzzi-seller-overview-revenue{
  display:flex!important;flex-direction:column!important;justify-content:space-between!important;
  width:100%;min-height:144px!important;padding:20px!important;
  margin:0!important;border:0!important;border-radius:24px!important;
  background:oklch(.245 .075 12)!important;
  color:oklch(.98 0 0)!important;box-shadow:none!important;
  text-decoration:none!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue>small{
  display:block!important;margin:0!important;
  font-size:12px!important;line-height:1.4!important;
  letter-spacing:.25em!important;text-transform:uppercase!important;
  font-weight:500!important;color:oklch(.98 0 0 / .7)!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom{
  display:flex!important;align-items:flex-end!important;
  justify-content:space-between!important;gap:10px!important;min-width:0;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom strong{
  margin:0!important;padding:0!important;
  font-size:30px!important;line-height:1.15!important;letter-spacing:0!important;
  font-weight:300!important;color:oklch(.98 0 0)!important;
  overflow-wrap:anywhere;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom>span{
  display:inline-flex!important;align-items:center!important;gap:4px!important;
  flex:0 0 auto;margin:0!important;padding-bottom:4px!important;
  font-size:12px!important;line-height:1.3!important;font-weight:400!important;
  color:oklch(.98 0 0 / .78)!important;white-space:nowrap;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom .ico{
  width:14px!important;height:14px!important;stroke-width:1.5!important;
}
.app-main .alluzzi-seller-overview .source-revenue-card:focus-visible,
.app-main .alluzzi-seller-overview .seller-function-card:focus-visible,
.app-main .alluzzi-seller-overview .seller-primary-actions a:focus-visible{
  outline:2px solid var(--al-ruby);outline-offset:3px;
}
.app-main .alluzzi-seller-overview .seller-function-kpis{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;margin-top:12px!important;
}
.app-main .alluzzi-seller-overview .seller-function-card{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;text-align:left!important;
  min-width:0!important;min-height:115px!important;padding:16px!important;
  background:var(--card)!important;border:1px solid var(--border)!important;
  border-radius:22px!important;box-shadow:none!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .seller-function-card .kpi-top{
  display:flex!important;align-items:center!important;gap:8px!important;
  margin:0!important;font-size:12px!important;line-height:1.3!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .alluzzi-seller-overview .seller-function-card .kpi-top .ico{
  width:16px!important;height:16px!important;padding:0!important;
  border-radius:0!important;background:none!important;
  color:oklch(.35 .095 12)!important;stroke-width:1.5!important;
}
.app-main .alluzzi-seller-overview .seller-function-card>strong{
  display:block!important;margin:8px 0 0!important;
  font-size:24px!important;line-height:1.2!important;
  font-weight:300!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .seller-function-card>span{
  display:block!important;margin-top:4px!important;
  font-size:11px!important;line-height:1.3!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .alluzzi-seller-overview .seller-primary-actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;margin-top:16px!important;
}
.app-main .alluzzi-seller-overview .seller-primary-actions a{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;min-width:0!important;min-height:52px!important;
  padding:10px 12px!important;border:1px solid var(--border)!important;
  border-radius:999px!important;background:transparent!important;
  color:var(--fg)!important;font-size:14px!important;font-weight:400!important;
  line-height:1.25!important;box-shadow:none!important;
}
.app-main .alluzzi-seller-overview .seller-primary-actions a.primary{
  background:oklch(.98 0 0)!important;border-color:oklch(.98 0 0)!important;
  color:#12080A!important;
}
.app-main .alluzzi-seller-overview .seller-primary-actions a .ico{
  width:16px!important;height:16px!important;stroke-width:1.5!important;
}
.app-main .alluzzi-seller-overview .seller-secondary-actions{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:24px!important;margin-top:12px!important;
}
.app-main .alluzzi-seller-overview .seller-secondary-actions a{
  display:flex!important;align-items:center!important;gap:6px!important;
  font-size:12px!important;font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .alluzzi-seller-overview .seller-secondary-actions a .ico{
  width:14px!important;height:14px!important;stroke-width:1.5!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings{
  margin-top:28px!important;padding:0 0 12px!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:8px!important;margin:0 0 12px!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings-head h3{
  margin:0!important;font-size:16px!important;line-height:1.4!important;
  font-weight:400!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings-head>a{
  display:flex;align-items:center;gap:3px;color:var(--muted-dark)!important;
  font-size:11px!important;font-weight:400!important;text-decoration:none;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings-head>a .ico{width:13px;height:13px}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-grid .product-card{
  min-width:0;background:var(--card)!important;
  border:1px solid var(--border)!important;border-radius:6px!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-grid .product-card .photo{
  aspect-ratio:4/5!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-empty{
  padding:24px 16px!important;border:1px solid var(--border)!important;
  border-radius:8px!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-empty>p{
  margin:6px 0 12px!important;font-size:12px!important;color:var(--muted-dark)!important;
}
/* Light mode retains brand contrast, without altering other pages. */
html:not([data-theme="dark"]) .app-main .alluzzi-seller-overview .seller-function-card .kpi-top .ico{
  color:oklch(.35 .095 12)!important;
}
html:not([data-theme="dark"]) .app-main .alluzzi-seller-overview .seller-primary-actions a.primary{
  background:var(--fg)!important;border-color:var(--fg)!important;color:var(--bg)!important;
}
/* Dark mode exactly follows Lovable's mineral background and warm borders. */
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-function-card,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .alluzzi-seller-overview-grid .product-card{
  background:oklch(.19 .03 15)!important;
  border-color:oklch(.98 0 0 / 18%)!important;
}
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-function-card .kpi-top .ico{
  color:oklch(.35 .095 12)!important;
}
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-function-card>strong,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-greeting h2,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .source-page-title h2,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings-head h3{
  color:oklch(.98 0 0)!important;
}
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-performance-head>p,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-greeting>span,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-greeting>p,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-function-card .kpi-top,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-function-card>span,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-secondary-actions a,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings-head>a{
  color:oklch(.98 0 0 / 55%)!important;
}
html[data-theme="dark"] .app-main .alluzzi-seller-overview .seller-primary-actions a.primary{
  background:oklch(.98 0 0)!important;border-color:oklch(.98 0 0)!important;
  color:oklch(.15 .02 15)!important;
}
@media(max-width:380px){
  .app-main .alluzzi-seller-overview .seller-function-card{padding:12px!important;min-height:105px!important}
  .app-main .alluzzi-seller-overview .seller-primary-actions a{font-size:12px!important;padding:9px 8px!important}
  .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom strong{font-size:26px!important}
}
/* Evita que a fonte-base antiga de 17px do app herdado amplie os espaços do painel. */
.app-main .seller-dashboard-source.alluzzi-seller-overview{font-size:16px!important}


/* ================================================================
   Alluzzi v1.11 — Vendas vs. Aluguéis na visão resumida do vendedor
   Paridade Lovable /minha-loja; dados e filtros são fornecidos pelo PHP.
   ================================================================ */
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison{
  margin-top:28px!important;padding:0!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison>h3{
  margin:0!important;font-size:12px!important;line-height:1.5!important;
  font-weight:500!important;letter-spacing:.2em!important;text-transform:uppercase!important;
  color:var(--muted-dark)!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;margin-top:12px!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  min-width:0!important;padding:16px!important;border:1px solid var(--border)!important;
  border-radius:24px!important;background:var(--card)!important;
  box-shadow:none!important;color:var(--fg)!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>span{
  display:block!important;font-size:12px!important;line-height:1.4!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>strong{
  display:block!important;margin-top:4px!important;
  font-size:20px!important;line-height:1.35!important;font-weight:400!important;
  letter-spacing:0!important;color:var(--fg)!important;
  overflow-wrap:anywhere;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>small{
  display:block!important;margin-top:0!important;font-size:11px!important;
  line-height:1.4!important;font-weight:400!important;color:var(--muted-dark)!important;
}
html[data-theme="dark"] .app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card{
  background:oklch(.19 .03 15)!important;border-color:oklch(.98 0 0 / 18%)!important;
}
html[data-theme="dark"] .app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison>h3,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>span,
html[data-theme="dark"] .app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>small{
  color:oklch(.98 0 0 / 55%)!important;
}
html[data-theme="dark"] .app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>strong{
  color:oklch(.98 0 0)!important;
}
@media(max-width:380px){
  .app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card{padding:12px!important}
  .app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>strong{font-size:18px!important}
}


/* Alluzzi v1.12 — média e contagem de avaliações ao lado de seguidores.
   Preserva os demais indicadores e as cores/medidas da home aprovada. */
.app-main .profile-source-stats.profile-source-stats--with-rating{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:4px!important;
  align-items:start!important;
}
.app-main .profile-source-stats--with-rating>div{
  min-width:0!important;
  text-align:center!important;
}
.app-main .profile-source-stats--with-rating>div>strong{
  font-size:16px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  font-weight:700!important;
}
.app-main .profile-source-stats--with-rating>div>span{
  display:block!important;
  font-size:10px!important;
  line-height:1.25!important;
  margin-top:4px!important;
}
.app-main .profile-source-stats--with-rating .profile-review-stat strong{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:3px!important;
  font-variant-numeric:tabular-nums;
}
.app-main .profile-source-stats--with-rating .profile-review-star{
  display:inline!important;
  margin:0!important;
  font-size:14px!important;
  line-height:1!important;
  color:#AD7C3E!important;
}
html[data-theme="dark"] .app-main .profile-source-stats--with-rating .profile-review-star{
  color:#E0B876!important;
}
@media(max-width:380px){
  .app-main .profile-source-stats.profile-source-stats--with-rating{
    gap:2px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .app-main .profile-source-stats--with-rating>div>span{font-size:9px!important;}
  .app-main .profile-source-stats--with-rating>div>strong{font-size:15px!important;}
  .app-main .profile-source-stats--with-rating .profile-review-star{font-size:13px!important;}
}


/* ==============================================================
   Alluzzi v1.13 — Favoritos / Lovable parity
   Referência: src/routes/favoritos.tsx
   Isolado à página; mantém POST/CSRF e preferências dos alertas.
   ============================================================== */
.app-main .alluzzi-favorites-lovable{
  --favorite-bg:oklch(.985 .003 60);
  --favorite-ink:oklch(.15 .02 15);
  --favorite-muted:oklch(.48 .03 15);
  --favorite-border:oklch(.89 .01 35);
  --favorite-chip:oklch(.925 .008 45);
  padding-top:0!important;
  padding-bottom:28px!important;
  font-size:16px!important;
  color:var(--favorite-ink)!important;
}
.app-main .alluzzi-favorites-lovable .source-local-head{
  margin:0 0 20px!important;
  padding:0!important;
  min-height:0!important;
  border:0!important;
  display:block!important;
}
.app-main .alluzzi-favorites-lovable .source-local-head h2{
  margin:0!important;
  font-size:24px!important;
  font-weight:300!important;
  line-height:1.33!important;
  letter-spacing:0!important;
  color:var(--favorite-ink)!important;
}
.app-main .alluzzi-favorites-lovable .source-local-head p{
  margin:2px 0 0!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.45!important;
  color:var(--favorite-muted)!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-manager{
  margin:0!important;
  background:var(--favorite-bg)!important;
  border:1px solid var(--favorite-border)!important;
  border-radius:24px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-head{
  padding:16px!important;
  margin:0!important;
  background:transparent!important;
  border-bottom:1px solid var(--favorite-border)!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-head>strong{
  display:block!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.45!important;
  color:var(--favorite-ink)!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-head>p{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  margin:4px 0 0!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.45!important;
  color:var(--favorite-muted)!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-head>p>.ico{
  flex:0 0 14px!important;
  width:14px!important;
  height:14px!important;
  margin-top:2px!important;
  stroke-width:1.5!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-list{
  display:flex!important;
  flex-direction:column!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-row{
  display:block!important;
  padding:16px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid var(--favorite-border)!important;
  background:transparent!important;
  min-width:0!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-row:last-child{border-bottom:0!important;}
.app-main .alluzzi-favorites-lovable .favorite-watch-main{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-product{
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  align-items:center!important;
  gap:12px!important;
  color:var(--favorite-ink)!important;
  text-decoration:none!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-product>img{
  display:block!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  flex:0 0 48px!important;
  border-radius:12px!important;
  object-fit:cover!important;
  background:var(--favorite-chip)!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-product>span{
  display:flex!important;
  min-width:0!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  gap:2px!important;
  overflow:hidden!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-product strong{
  display:block!important;
  max-width:100%!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:500!important;
  color:var(--favorite-ink)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-product small{
  display:block!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-product small.available{color:#16734B!important;}
.app-main .alluzzi-favorites-lovable .favorite-watch-product small.unavailable{color:#AA643E!important;}
.app-main .alluzzi-favorites-lovable .favorite-watch-save{
  flex:0 0 auto!important;
  min-width:0!important;
  min-height:32px!important;
  margin:0!important;
  padding:6px 16px!important;
  border:1px solid var(--favorite-border)!important;
  border-radius:999px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--favorite-ink)!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:400!important;
  cursor:pointer;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-save:hover,
.app-main .alluzzi-favorites-lovable .favorite-watch-save:focus-visible{
  background:var(--favorite-chip)!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:12px 0 0!important;
  padding:0!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label{display:block!important;cursor:pointer!important;position:relative;}
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>input{
  position:absolute!important;
  opacity:0!important;
  width:100%!important;
  height:100%!important;
  inset:0!important;
  margin:0!important;
  cursor:pointer!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>span{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:28px!important;
  padding:6px 12px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--favorite-chip)!important;
  color:var(--favorite-muted)!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:400!important;
  box-shadow:none!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles .ico{
  width:12px!important;
  height:12px!important;
  stroke-width:1.5!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>input:checked+span{
  background:var(--favorite-ink)!important;
  color:var(--favorite-bg)!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>input:focus-visible+span{
  outline:2px solid var(--al-ruby)!important;
  outline-offset:2px!important;
}
/* Vitrine anterior: preservada sob controle expansível, sem duplicar a lista principal. */
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-gallery{margin-top:20px!important;}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-gallery>summary{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;
  padding:11px 14px;
  border:1px solid var(--favorite-border);
  border-radius:6px;
  font-size:12px;font-weight:500;color:var(--favorite-muted);
  cursor:pointer;list-style:none;
}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-gallery>summary::-webkit-details-marker{display:none}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-gallery[open]>summary .ico{transform:rotate(180deg)}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-gallery>.product-grid{margin-top:12px!important}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-empty{padding-top:48px!important;padding-bottom:48px!important}
html[data-theme="dark"] .app-main .alluzzi-favorites-lovable{
  --favorite-bg:oklch(.19 .03 15);
  --favorite-ink:oklch(.98 0 0);
  --favorite-muted:oklch(.98 0 0 / 55%);
  --favorite-border:oklch(.98 0 0 / 18%);
  --favorite-chip:oklch(.22 .03 15);
}
html[data-theme="dark"] .app-main .alluzzi-favorites-lovable .favorite-watch-product small.available{color:#91CDB2!important}
html[data-theme="dark"] .app-main .alluzzi-favorites-lovable .favorite-watch-product small.unavailable{color:#DFA58B!important}
@media(max-width:380px){
  .app-main .alluzzi-favorites-lovable .favorite-watch-row{padding:14px!important}
  .app-main .alluzzi-favorites-lovable .favorite-watch-main{gap:8px!important}
  .app-main .alluzzi-favorites-lovable .favorite-watch-product{gap:8px!important}
  .app-main .alluzzi-favorites-lovable .favorite-watch-save{padding:6px 12px!important}
}

/* Estado sem favoritos, na mesma linguagem editorial do Lovable. */
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-empty{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  gap:10px!important;padding:42px 20px!important;
  margin:20px 0 0!important;
  background:var(--favorite-bg)!important;
  border:1px dashed var(--favorite-border)!important;
  border-radius:24px!important;
  box-shadow:none!important;
  text-align:center!important;
}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-empty .empty-emoji{font-size:34px!important;line-height:1!important;color:var(--favorite-muted)!important}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-empty strong{font-size:15px!important;font-weight:500!important;color:var(--favorite-ink)!important}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-empty>span{font-size:12px!important;color:var(--favorite-muted)!important}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-empty a{margin-top:4px!important;min-height:40px!important;border-radius:999px!important;font-size:12px!important;display:inline-flex;align-items:center;justify-content:center;padding:10px 20px!important}

/* ==============================================================
   Alluzzi v1.14 — Favoritos: linguagem geométrica aprovada
   Visual consistente com Home, Produto e Painel Gerencial:
   raio base de 6 px, bordas leves e controles compactos.
   Substitui apenas os raios e o acabamento exageradamente
   arredondado da v1.13, sem afetar POST/CSRF de alertas.
   ============================================================== */
.app-main .alluzzi-favorites-lovable {
  --favorite-radius: var(--al-radius, 6px);
}
/* Cartão único do gerenciador e estado sem favoritos. */
.app-main .alluzzi-favorites-lovable .favorite-watch-manager,
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-empty {
  border-radius:var(--favorite-radius)!important;
  box-shadow:none!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-head {
  padding:15px 16px!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-row {
  padding:14px 16px!important;
}
/* A miniatura acompanha os cards de produto do Lovable. */
.app-main .alluzzi-favorites-lovable .favorite-watch-product>img {
  border-radius:var(--favorite-radius)!important;
}
/* O botão Salvar não deve parecer um chip oval. */
.app-main .alluzzi-favorites-lovable .favorite-watch-save {
  min-height:34px!important;
  border-radius:var(--favorite-radius)!important;
  padding:7px 13px!important;
  background:transparent!important;
  font-size:12px!important;
  font-weight:500!important;
}
/* Os dois seletores continuam sendo checkboxes reais. */
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>span {
  min-height:30px!important;
  border-radius:var(--favorite-radius)!important;
  border:1px solid var(--favorite-border)!important;
  padding:6px 10px!important;
  background:var(--favorite-chip)!important;
  color:var(--favorite-muted)!important;
  font-size:11px!important;
  line-height:1.25!important;
}
.app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>input:checked+span {
  border-color:var(--favorite-ink)!important;
  background:var(--favorite-ink)!important;
  color:var(--favorite-bg)!important;
}
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-gallery>summary,
.app-main .alluzzi-favorites-lovable .alluzzi-favorites-empty a {
  border-radius:var(--favorite-radius)!important;
}
/* Preservar contraste da Home e o fundo mineral em ambos os temas. */
html[data-theme="dark"] .app-main .alluzzi-favorites-lovable .favorite-watch-manager {
  background:var(--favorite-bg)!important;
  border-color:var(--favorite-border)!important;
}
html[data-theme="dark"] .app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>span {
  border-color:var(--favorite-border)!important;
}
html[data-theme="dark"] .app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>input:checked+span {
  border-color:var(--favorite-ink)!important;
}
@media(max-width:380px){
 .app-main .alluzzi-favorites-lovable .favorite-watch-row{padding:12px!important}
 .app-main .alluzzi-favorites-lovable .favorite-watch-save{padding:7px 10px!important}
 .app-main .alluzzi-favorites-lovable .favorite-watch-toggles>label>span{padding:6px 9px!important}
}

/* =====================================================================
   Alluzzi v1.15 — Filtros / SlidersHorizontal / FilterSheet
   Fonte: Lovable src/routes/index.tsx, src/routes/filtros.tsx e styles.css
   Somente UI: mantém data-filter-*, campos e submissão GET do PHP.
   A sobreposição azul-cinza legada do app.css é neutralizada aqui.
   ===================================================================== */
.app-main .home-search-row .filter-circle,
.app-main .searchbar .alluzzi-filter-trigger{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border-radius:6px!important;
  border:1px solid var(--border)!important;
  background:var(--card)!important;
  color:var(--fg)!important;
  box-shadow:none!important;
}
.app-main .home-search-row .filter-circle:hover,
.app-main .searchbar .alluzzi-filter-trigger:hover{
  background:var(--secondary)!important;
  border-color:var(--border)!important;
}
.app-main .home-search-row .filter-circle .alluzzi-filter-sliders,
.app-main .searchbar .alluzzi-filter-trigger .alluzzi-filter-sliders{
  width:18px!important;
  height:18px!important;
  stroke-width:1.5!important;
  color:inherit!important;
}
.app-main .home-search-row .search-field{
  border:1px solid var(--border)!important;
  border-radius:6px!important;
  background:var(--card)!important;
  box-shadow:none!important;
}
.app-main .home-search-row .search-field .ico{color:var(--muted-dark)!important}
.app-main .home-search-row .search-input{color:var(--fg)!important}
.app-main .home-search-row .search-input::placeholder{color:var(--muted-dark)!important}

.app-shell .alluzzi-filter-sheet{
  --al-filter-bg:#F5F1EE;
  --al-filter-card:#FCFAF8;
  --al-filter-muted:#74666B;
  --al-filter-ink:#24151A;
  --al-filter-border:#E4DAD5;
  --al-filter-chip:#F0E7E3;
  --al-filter-accent:#3E0C17;
  --al-filter-accent-ink:#FFFFFF;
  position:fixed!important;
  inset:0 auto 0 50%!important;
  transform:translateX(-50%)!important;
  width:min(100vw,420px)!important;
  height:100vh!important;
  height:100dvh!important;
  padding:0!important;
  align-items:flex-end!important;
  justify-content:center!important;
  background:rgba(16,6,10,.72)!important;
  z-index:100!important;
  color:var(--al-filter-ink)!important;
}
.app-shell .alluzzi-filter-sheet:not(.open){display:none!important}
.app-shell .alluzzi-filter-sheet.open{display:flex!important}
.app-shell .alluzzi-filter-sheet .alluzzi-filter-card{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  max-height:min(88dvh,810px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  padding:0!important;
  margin:0!important;
  border:1px solid var(--al-filter-border)!important;
  border-bottom:0!important;
  border-radius:6px 6px 0 0!important;
  background:var(--al-filter-bg)!important;
  box-shadow:0 -12px 40px rgba(20,7,11,.26)!important;
  color:var(--al-filter-ink)!important;
  font:400 14px/1.45 'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  scrollbar-width:thin!important;
  scrollbar-color:var(--al-filter-border) transparent!important;
}
.app-shell .alluzzi-filter-sheet .alluzzi-filter-card::-webkit-scrollbar{width:4px}
.app-shell .alluzzi-filter-sheet .alluzzi-filter-card::-webkit-scrollbar-thumb{background:var(--al-filter-border)!important;border-radius:4px!important}
.app-shell .alluzzi-filter-sheet .filter-head{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:65px!important;
  margin:0!important;
  padding:14px 20px!important;
  background:var(--al-filter-bg)!important;
  border-bottom:1px solid var(--al-filter-border)!important;
  box-shadow:none!important;
}
.app-shell .alluzzi-filter-sheet .filter-title{display:flex!important;align-items:center!important;gap:10px!important}
.app-shell .alluzzi-filter-sheet .filter-title>.ico{
  width:18px!important;height:18px!important;color:var(--al-filter-muted)!important;stroke-width:1.5!important;
}
.app-shell .alluzzi-filter-sheet .filter-title>h2,
.app-shell .alluzzi-filter-sheet .filter-head h2{
  margin:0!important;
  color:var(--al-filter-ink)!important;
  font-size:18px!important;
  line-height:1.3!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.app-shell .alluzzi-filter-sheet .alluzzi-filter-close{
  width:36px!important;height:36px!important;min-width:36px!important;
  display:grid!important;place-items:center!important;padding:0!important;
  background:var(--al-filter-card)!important;
  border:1px solid var(--al-filter-border)!important;
  border-radius:6px!important;color:var(--al-filter-ink)!important;
  box-shadow:none!important;
}
.app-shell .alluzzi-filter-sheet .alluzzi-filter-close .ico{width:17px!important;height:17px!important;stroke-width:1.5!important;color:inherit!important}
.app-shell .alluzzi-filter-sheet .filter-section{
  margin:0!important;
  padding:16px 20px!important;
  border-bottom:1px solid var(--al-filter-border)!important;
  background:transparent!important;
}
.app-shell .alluzzi-filter-sheet .filter-section>strong{
  display:block!important;margin:0 0 12px!important;
  font-size:11px!important;font-weight:500!important;
  line-height:1.35!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  color:var(--al-filter-muted)!important;
}
.app-shell .alluzzi-filter-sheet .chip-wrap,
.app-shell .alluzzi-filter-sheet .visual-choice-grid{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;
}
.app-shell .alluzzi-filter-sheet .chip span,
.app-shell .alluzzi-filter-sheet .visual-choice span{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;
  min-height:34px!important;
  padding:8px 12px!important;
  background:var(--al-filter-card)!important;
  color:var(--al-filter-ink)!important;
  border:1px solid var(--al-filter-border)!important;
  border-radius:6px!important;
  box-shadow:none!important;
  font-size:12px!important;font-weight:400!important;line-height:1.25!important;
  letter-spacing:0!important;
  white-space:normal!important;
}
.app-shell .alluzzi-filter-sheet .chip input:checked+span,
.app-shell .alluzzi-filter-sheet .visual-choice input:checked+span{
  background:var(--al-filter-accent)!important;
  border-color:var(--al-filter-accent)!important;
  color:var(--al-filter-accent-ink)!important;
  box-shadow:none!important;
}
.app-shell .alluzzi-filter-sheet .chip:hover span,
.app-shell .alluzzi-filter-sheet .visual-choice:hover span{
  border-color:var(--al-filter-accent)!important;
}
.app-shell .alluzzi-filter-sheet .chip input:focus-visible+span,
.app-shell .alluzzi-filter-sheet .visual-choice input:focus-visible+span{
  outline:2px solid var(--al-filter-accent)!important;
  outline-offset:2px!important;
}
.app-shell .alluzzi-filter-sheet .form-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.app-shell .alluzzi-filter-sheet .form-grid>*{min-width:0!important}
.app-shell .alluzzi-filter-sheet .input,
.app-shell .alluzzi-filter-sheet .select,
.app-shell .alluzzi-filter-sheet .filter-search-city .input,
.app-shell .alluzzi-filter-sheet input[type="number"]{
  width:100%!important;min-width:0!important;min-height:44px!important;
  padding:11px 12px!important;
  border-radius:6px!important;border:1px solid var(--al-filter-border)!important;
  background:var(--al-filter-card)!important;
  color:var(--al-filter-ink)!important;
  box-shadow:none!important;
  font-size:13px!important;font-weight:400!important;
  line-height:1.25!important;
}
.app-shell .alluzzi-filter-sheet .filter-search-city{position:relative!important;margin:0 0 12px!important}
.app-shell .alluzzi-filter-sheet .filter-search-city>.ico{
  position:absolute!important;left:13px!important;top:50%!important;
  transform:translateY(-50%)!important;color:var(--al-filter-muted)!important;
  width:16px!important;height:16px!important;z-index:1!important;
}
.app-shell .alluzzi-filter-sheet .filter-search-city .input{padding-left:38px!important}
.app-shell .alluzzi-filter-sheet .input::placeholder,
.app-shell .alluzzi-filter-sheet input::placeholder{color:var(--al-filter-muted)!important;opacity:.8!important}
.app-shell .alluzzi-filter-sheet .select:disabled{opacity:.56!important}
.app-shell .alluzzi-filter-sheet .color-choice i{width:14px!important;height:14px!important;flex:0 0 14px!important;border-radius:50%!important}
.app-shell .alluzzi-filter-sheet .km-filter{margin:14px 0 2px!important}
.app-shell .alluzzi-filter-sheet .km-filter-head span{
  font-size:11px!important;font-weight:400!important;letter-spacing:.08em!important;color:var(--al-filter-muted)!important;
}
.app-shell .alluzzi-filter-sheet .km-filter-head b{
  color:var(--al-filter-ink)!important;font-size:13px!important;font-weight:600!important;
}
.app-shell .alluzzi-filter-sheet .km-range{accent-color:var(--al-filter-accent)!important}
.app-shell .alluzzi-filter-sheet .km-range::-webkit-slider-runnable-track{
  height:5px!important;background:linear-gradient(to right,var(--al-filter-accent) 0 var(--km-pct),var(--al-filter-border) var(--km-pct) 100%)!important;
}
.app-shell .alluzzi-filter-sheet .km-range::-webkit-slider-thumb{
  background:var(--al-filter-card)!important;border:2px solid var(--al-filter-accent)!important;box-shadow:none!important;
}
.app-shell .alluzzi-filter-sheet .km-range::-moz-range-track{background:var(--al-filter-border)!important}
.app-shell .alluzzi-filter-sheet .km-range::-moz-range-progress{background:var(--al-filter-accent)!important}
.app-shell .alluzzi-filter-sheet .km-range::-moz-range-thumb{background:var(--al-filter-card)!important;border-color:var(--al-filter-accent)!important}
.app-shell .alluzzi-filter-sheet .km-marks button,
.app-shell .alluzzi-filter-sheet .distance-status{color:var(--al-filter-muted)!important;font-size:10px!important}
.app-shell .alluzzi-filter-sheet .filter-actions{
  position:sticky!important;
  bottom:0!important;z-index:5!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
  padding:14px 20px calc(14px + env(safe-area-inset-bottom))!important;
  border-top:1px solid var(--al-filter-border)!important;
  background:var(--al-filter-bg)!important;
  box-shadow:0 -8px 18px rgba(15,6,11,.05)!important;
}
.app-shell .alluzzi-filter-sheet .filter-actions .btn{
  min-width:0!important;min-height:44px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:10px 12px!important;
  border-radius:6px!important;
  font-size:13px!important;font-weight:500!important;
  line-height:1.2!important;text-decoration:none!important;
  box-shadow:none!important;
}
.app-shell .alluzzi-filter-sheet .filter-actions .btn.light{
  background:var(--al-filter-card)!important;
  color:var(--al-filter-ink)!important;
  border:1px solid var(--al-filter-border)!important;
}
.app-shell .alluzzi-filter-sheet .filter-actions .btn.primary{
  background:var(--al-filter-accent)!important;
  color:var(--al-filter-accent-ink)!important;
  border:1px solid var(--al-filter-accent)!important;
}
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet{
  --al-filter-bg:#12080A;
  --al-filter-card:#201419;
  --al-filter-muted:#C7B3B8;
  --al-filter-ink:#F5F1EE;
  --al-filter-border:#443038;
  --al-filter-chip:#26171E;
  --al-filter-accent:#6B192A;
  --al-filter-accent-ink:#F5F1EE;
}
html[data-theme="dark"] .app-main .home-search-row .filter-circle,
html[data-theme="dark"] .app-main .searchbar .alluzzi-filter-trigger,
html[data-theme="dark"] .app-main .home-search-row .search-field{
  background:#201419!important;
  border-color:#443038!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .home-search-row .search-field .ico,
html[data-theme="dark"] .app-main .home-search-row .search-input::placeholder{color:#C7B3B8!important}
html[data-theme="dark"] .app-main .home-search-row .search-input{color:#F5F1EE!important;background:transparent!important}
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .alluzzi-filter-card{background:#12080A!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .chip span,
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .visual-choice span{background:#201419!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .chip input:checked+span,
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .visual-choice input:checked+span{background:#6B192A!important;border-color:#6B192A!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .filter-head .alluzzi-filter-close{background:#201419!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .input,
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .select,
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .filter-search-city .input{background:#201419!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .filter-actions .btn.light{background:#201419!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .filter-actions .btn.primary{background:#6B192A!important;border-color:#6B192A!important;color:#F5F1EE!important}
@media(min-width:640px){
  .app-shell .alluzzi-filter-sheet{
    top:32px!important;bottom:32px!important;
    height:calc(100dvh - 64px)!important;
  }
}
@media(max-width:380px){
  .app-shell .alluzzi-filter-sheet .filter-section{padding:14px 16px!important}
  .app-shell .alluzzi-filter-sheet .filter-head{padding:13px 16px!important}
  .app-shell .alluzzi-filter-sheet .filter-actions{padding-left:16px!important;padding-right:16px!important}
  .app-shell .alluzzi-filter-sheet .chip span,
  .app-shell .alluzzi-filter-sheet .visual-choice span{font-size:11px!important;padding:8px 10px!important}
}
/* v1.15: neutralizar a especificidade do input escuro legado (HF41/HF42). */
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .alluzzi-filter-card input.input,
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .alluzzi-filter-card input[type="number"],
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .alluzzi-filter-card .filter-search-city input.input,
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .alluzzi-filter-card select.select,
html[data-theme="dark"] .app-shell .alluzzi-filter-sheet .alluzzi-filter-card input:not([type="checkbox"]):not([type="radio"]):not([type="range"]){
  background:#201419!important;
  color:#F5F1EE!important;
  border-color:#443038!important;
  box-shadow:none!important;
}

/* =====================================================================
   Alluzzi v1.16 — Notificações /notificacoes (paridade da identidade)
   Somente superfície visual. Mantém links, dados e estados dinâmicos.
   Neutraliza os cards cinza-azulados dos estilos legados sem alterar
   qualquer outro módulo. Escala Lovable + geometria reta (6px) aprovada.
   ===================================================================== */
html[data-theme] .app-shell .app-main .notifications-source{
  --al-notif-surface: #FCFAF8;
  --al-notif-unread: #F6ECED;
  --al-notif-stroke: #E4DAD5;
  --al-notif-ink: #24151A;
  --al-notif-subtle: #74666B;
  --al-notif-accent: #6B192A;
  --al-notif-symbol-bg: #F1E5E8;
  --al-notif-symbol-stroke: #E4DAD5;
  --al-notif-unread-stroke: #D2B9BE;
  box-sizing:border-box;
  padding:0 0 30px!important;
  margin:0!important;
  width:100%;
  min-width:0;
  color:var(--al-notif-ink)!important;
  background:transparent!important;
}
html[data-theme="dark"] .app-shell .app-main .notifications-source{
  /* Design tokens exatos do Lovable /notificacoes, src/styles.css (.dark). */
  --al-notif-surface: oklch(0.19 0.03 15);
  --al-notif-unread: oklch(0.19 0.03 15);
  --al-notif-stroke: oklch(0.98 0 0 / 18%);
  --al-notif-ink: oklch(0.98 0 0);
  --al-notif-subtle: oklch(0.98 0 0 / 55%);
  --al-notif-accent: oklch(0.35 0.095 12);
  --al-notif-symbol-bg: oklch(0.26 0.05 15);
  --al-notif-symbol-stroke: transparent;
  --al-notif-unread-stroke: oklch(0.98 0 0 / 18%);
}
/* Cabeçalho coerente com as páginas do Lovable. */
html[data-theme] .app-shell .app-main .notifications-source .source-local-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0!important;
  padding:16px 0 18px!important;
  min-width:0;
}
html[data-theme] .app-shell .app-main .notifications-source .source-local-head>div{
  min-width:0;
  flex:1 1 auto;
}
html[data-theme] .app-shell .app-main .notifications-source .source-local-head h2{
  margin:0!important;
  font-family:'Alluzzi Overpass',Overpass,sans-serif!important;
  font-size:24px!important;
  font-weight:300!important;
  letter-spacing:-.02em!important;
  line-height:1.23!important;
  color:var(--al-notif-ink)!important;
}
html[data-theme] .app-shell .app-main .notifications-source .source-local-head p,
html[data-theme] .app-shell .app-main .notifications-source .source-local-head .coral-text{
  margin:4px 0 0!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:400!important;
  color:var(--al-notif-subtle)!important;
}
html[data-theme] .app-shell .app-main .notifications-source .source-mark-read{
  flex:0 0 auto;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:34px!important;
  max-width:56%;
  padding:7px 10px!important;
  border:1px solid var(--al-notif-stroke)!important;
  border-radius:6px!important;
  background:transparent!important;
  color:var(--al-notif-subtle)!important;
  box-shadow:none!important;
  font-family:'Alluzzi Overpass',Overpass,sans-serif!important;
  font-weight:400!important;
  font-size:11px!important;
  line-height:1.2!important;
  text-decoration:none!important;
  white-space:normal;
  text-align:center;
}
html[data-theme] .app-shell .app-main .notifications-source .source-mark-read .ico{
  flex:0 0 14px;
  width:14px!important;
  height:14px!important;
  stroke-width:1.5!important;
}
html[data-theme] .app-shell .app-main .notifications-source .source-mark-read:hover,
html[data-theme] .app-shell .app-main .notifications-source .source-mark-read:focus-visible{
  background:var(--al-notif-unread)!important;
  color:var(--al-notif-ink)!important;
  border-color:var(--al-notif-accent)!important;
}
html[data-theme] .app-shell .app-main .notifications-source .notification-list{
  display:grid!important;
  gap:12px!important;
  min-width:0;
  padding:0!important;
}
/* Card reto, cor de vinho/mineral e apenas uma borda: sem brilho azul, sem sombra. */
html[data-theme] .app-shell .app-main .notifications-source .notification{
  box-sizing:border-box!important;
  position:relative!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:12px!important;
  min-width:0!important;
  margin:0!important;
  padding:15px!important;
  border:1px solid var(--al-notif-stroke)!important;
  border-radius:6px!important;
  background:var(--al-notif-surface)!important;
  color:var(--al-notif-ink)!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
html[data-theme] .app-shell .app-main .notifications-source .notification.unread{
  background:var(--al-notif-unread)!important;
  border-color:var(--al-notif-unread-stroke)!important;
  box-shadow:none!important;
}
html[data-theme] .app-shell .app-main .notifications-source .notification:hover{
  border-color:var(--al-notif-accent)!important;
}
html[data-theme] .app-shell .app-main .notifications-source .notification:focus-visible{
  outline:2px solid var(--al-notif-accent)!important;
  outline-offset:2px;
}
html[data-theme] .app-shell .app-main .notifications-source .notification-icon{
  box-sizing:border-box!important;
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:var(--al-notif-symbol-bg)!important;
  border:1px solid var(--al-notif-symbol-stroke)!important;
  color:var(--al-notif-accent)!important;
}
html[data-theme] .app-shell .app-main .notifications-source .notification-icon .ico{
  width:16px!important;
  height:16px!important;
  stroke-width:1.5!important;
}
html[data-theme] .app-shell .app-main .notifications-source .notification .grow{
  flex:1 1 auto!important;
  min-width:0!important;
  padding-right:7px;
}
html[data-theme] .app-shell .app-main .notifications-source .notification .notification-type{
  display:block!important;
  margin:0!important;
  color:var(--al-notif-accent)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
html[data-theme] .app-shell .app-main .notifications-source .notification .notification-title{
  display:block!important;
  margin:3px 0 0!important;
  color:var(--al-notif-ink)!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.35!important;
  letter-spacing:0!important;
  overflow-wrap:break-word;
}
html[data-theme] .app-shell .app-main .notifications-source .notification p{
  display:block!important;
  margin:5px 0 0!important;
  color:var(--al-notif-subtle)!important;
  font-size:12px!important;
  line-height:1.6!important;
  font-weight:400!important;
  overflow-wrap:break-word;
}
html[data-theme] .app-shell .app-main .notifications-source .notification small{
  display:block!important;
  margin-top:8px!important;
  color:var(--al-notif-subtle)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.3!important;
}
html[data-theme] .app-shell .app-main .notifications-source .notification-dot{
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  margin:4px 0 0!important;
  border-radius:50%!important;
  background:var(--al-notif-accent)!important;
  box-shadow:none!important;
}
html[data-theme] .app-shell .app-main .notifications-source .source-empty{
  padding:42px 12px!important;
  color:var(--al-notif-subtle)!important;
  background:transparent!important;
}
html[data-theme] .app-shell .app-main .notifications-source .source-empty strong{
  color:var(--al-notif-ink)!important;
  font-weight:500!important;
  font-size:14px!important;
}
/* Adaptações de leitura do sistema: não desativar acessibilidade. */
html[data-theme].a11y-large-text .app-shell .app-main .notifications-source .notification .notification-title{font-size:17px!important;}
html[data-theme].a11y-large-text .app-shell .app-main .notifications-source .notification p{font-size:16px!important;}
html[data-theme].a11y-large-text .app-shell .app-main .notifications-source .notification small{font-size:13px!important;}
html[data-theme].a11y-high-contrast .app-shell .app-main .notifications-source .notification{
  border:2px solid var(--al-notif-ink)!important;
}
@media(max-width:380px){
  html[data-theme] .app-shell .app-main .notifications-source .source-local-head h2{font-size:22px!important}
  html[data-theme] .app-shell .app-main .notifications-source .source-mark-read{font-size:10px!important;padding:6px 8px!important}
  html[data-theme] .app-shell .app-main .notifications-source .notification{padding:13px!important;gap:10px!important}
}

/* Alluzzi v1.17 — legibilidade: somente o rótulo "Pedido" em notificações no modo escuro.
   O PHP atual marca essas notificações com --notif-color:#0070C0;
   os demais rótulos, cores, cards e o modo claro não são afetados. */
html[data-theme="dark"] .app-shell .app-main .notifications-source
  .notification[style*="--notif-color:#0070C0"] .notification-type{
  color:#F5F1EE!important;
}

/* =============================================================
   Alluzzi v1.19 — Carrinho visual fiel ao protótipo Lovable
   Referência: src/routes/carrinho.tsx; escopo restrito a /app/Cart
   Mantém agrupamento por vendedor, frete, total e checkout reais.
   ============================================================= */

/* Mesma grade de 420px da Home: 20px de margem lateral no conteúdo */
.app-main .fidelity-cart{
  margin:0 -20px!important;
  padding:0 20px 28px!important;
  color:var(--fg);
}
.app-main .fidelity-cart .source-local-head{
  display:flex!important;align-items:center!important;
  justify-content:space-between!important;gap:10px!important;
  padding:10px 0 0!important;margin:0 0 20px!important;
  background:transparent!important;
}
.app-main .fidelity-cart .source-local-head>div{flex:1;min-width:0}
.app-main .fidelity-cart .source-local-head h2{
  margin:0!important;font-size:24px!important;line-height:1.2!important;
  font-weight:300!important;letter-spacing:-.018em!important;
  color:var(--fg)!important;
}
.app-main .fidelity-cart .source-local-head p{
  margin:4px 0 0!important;font-size:14px!important;line-height:1.35!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .fidelity-cart .source-explore-pill{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;
  justify-content:center!important;gap:5px!important;
  min-height:34px!important;max-width:none!important;
  padding:9px 14px!important;
  border:0!important;border-radius:999px!important;
  background:var(--al-ruby)!important;color:#fff!important;
  box-shadow:none!important;
  font-size:12px!important;line-height:1.2!important;font-weight:500!important;
  white-space:nowrap!important;text-decoration:none!important;
}
.app-main .fidelity-cart .source-explore-pill>.ico{flex:0 0 13px;width:13px;height:13px;stroke-width:1.5!important}
.app-main .fidelity-cart .source-explore-pill:hover{filter:brightness(1.1)}
.app-main .fidelity-cart-groups{
  display:flex!important;flex-direction:column!important;
  gap:18px!important;margin:0!important;padding:0!important;
}
.app-main .fidelity-cart-group{
  width:100%!important;margin:0!important;overflow:hidden!important;
  border:1px solid var(--border)!important;border-radius:24px!important;
  background:var(--card)!important;box-shadow:none!important;
  color:var(--fg)!important;
}
.app-main .fidelity-cart-group>header{
  display:block!important;margin:0!important;padding:16px!important;
  background:transparent!important;border:0!important;
  border-bottom:1px solid var(--border)!important;
}
.app-main .fidelity-cart-group>header strong{
  display:block!important;font-size:14px!important;line-height:1.3!important;
  font-weight:500!important;letter-spacing:0!important;
  color:var(--fg)!important;
}
.app-main .fidelity-cart-group>header small{
  display:block!important;margin-top:2px!important;
  font-size:12px!important;line-height:1.35!important;font-weight:400!important;
  color:var(--muted-dark)!important;
}
.app-main .fidelity-cart-item{
  display:flex!important;align-items:center!important;gap:12px!important;
  padding:16px!important;min-width:0;
  border:0!important;border-bottom:1px solid var(--border)!important;
  background:transparent!important;
}
.app-main .fidelity-cart-item .grow{flex:1;min-width:0}
.app-main .fidelity-cart-thumb{
  display:block!important;flex:0 0 64px!important;
  width:64px!important;height:64px!important;min-width:64px!important;
  border:0!important;border-radius:16px!important;overflow:hidden!important;
  background:var(--secondary)!important;
}
.app-main .fidelity-cart-thumb img{
  width:100%!important;height:100%!important;object-fit:cover!important;
}
.app-main .fidelity-cart-item h3{
  margin:0!important;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:14px!important;line-height:1.35!important;font-weight:500!important;
  letter-spacing:0!important;color:var(--fg)!important;
}
.app-main .fidelity-cart-item p{
  margin:3px 0 0!important;font-size:12px!important;line-height:1.25!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .fidelity-cart-item strong{
  display:block!important;margin-top:5px!important;
  font-size:14px!important;line-height:1.25!important;font-weight:400!important;
  color:var(--fg)!important;
}
.app-main .fidelity-cart-trash{
  flex:0 0 40px!important;display:grid!important;place-items:center!important;
  width:40px!important;height:40px!important;
  border:0!important;border-radius:999px!important;
  color:var(--fg)!important;background:var(--secondary)!important;
  text-decoration:none!important;box-shadow:none!important;
}
.app-main .fidelity-cart-trash>.ico{width:16px!important;height:16px!important;stroke-width:1.5!important}
.app-main .fidelity-cart-trash:hover{filter:brightness(1.12)}
.app-main .fidelity-cart-footer{margin:0!important;background:transparent!important}
.app-main .fidelity-shipping{
  padding:16px!important;margin:0!important;
  border:0!important;border-bottom:1px solid var(--border)!important;
  background:transparent!important;
}
.app-main .fidelity-shipping>small{
  display:block!important;margin:0 0 12px!important;
  font-size:12px!important;line-height:1.25!important;
  letter-spacing:.2em!important;font-weight:400!important;
  color:var(--muted-dark)!important;
}
.app-main .fidelity-shipping-options{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;margin:0!important;
}
.app-main .fidelity-shipping-options label{display:block!important;min-width:0!important;cursor:pointer!important}
.app-main .fidelity-shipping-options label input{
  position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;
  pointer-events:none!important;
}
.app-main .fidelity-shipping-options label>span{
  display:flex!important;align-items:center!important;gap:9px!important;
  width:100%!important;min-height:72px!important;padding:12px!important;
  border:1px solid var(--border)!important;border-radius:16px!important;
  background:transparent!important;color:var(--fg)!important;
  transition:background-color .15s,border-color .15s!important;
}
.app-main .fidelity-shipping-options label>span>.ico{
  flex:0 0 16px!important;width:16px!important;height:16px!important;
  stroke-width:1.5!important;color:inherit!important;
}
.app-main .fidelity-shipping-options label>span b{
  display:block!important;min-width:0!important;
  font-size:14px!important;line-height:1.35!important;
  font-weight:400!important;color:inherit!important;
}
.app-main .fidelity-shipping-options label>span b small{
  display:block!important;margin:2px 0 0!important;
  font-size:14px!important;line-height:1.3!important;font-weight:400!important;
  color:inherit!important;opacity:1!important;
}
.app-main .fidelity-shipping-options label input:checked+span{
  background:var(--fg)!important;border-color:var(--fg)!important;
  color:var(--bg)!important;
}
.app-main .fidelity-shipping-options label input:checked+span .ico,
.app-main .fidelity-shipping-options label input:checked+span b,
.app-main .fidelity-shipping-options label input:checked+span small{color:inherit!important}
.app-main .fidelity-shipping-options label input:focus-visible+span{
  outline:2px solid var(--al-ruby)!important;outline-offset:2px!important;
}
.app-main .fidelity-cart-total-row{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;margin:0!important;padding:16px!important;
  background:transparent!important;
}
.app-main .fidelity-cart-total-row>div{min-width:0}
.app-main .fidelity-cart-total-row>div small{
  display:block!important;font-size:12px!important;line-height:1.25!important;
  font-weight:400!important;color:var(--muted-dark)!important;
}
.app-main .fidelity-cart-total-row>div strong{
  display:block!important;margin-top:3px!important;
  font-size:18px!important;line-height:1.3!important;
  font-weight:400!important;white-space:nowrap!important;color:var(--fg)!important;
}
.app-main .fidelity-cart-total-row .btn.primary{
  flex:0 0 auto!important;margin:0!important;
  padding:12px 20px!important;min-height:46px!important;
  border:1px solid var(--fg)!important;border-radius:999px!important;
  background:var(--fg)!important;color:var(--bg)!important;
  box-shadow:none!important;
  font-size:14px!important;line-height:1.3!important;
  font-weight:400!important;white-space:nowrap!important;
}
.app-main .fidelity-cart-empty{padding:60px 16px!important;color:var(--fg)!important}

/* Os estilos antigos de dark mode forçavam fundos cinza e degradê laranja. */
html[data-theme="dark"] .app-main .fidelity-cart-group{
  background:oklch(0.19 0.03 15)!important;
  border-color:oklch(0.98 0 0 / 18%)!important;
}
html[data-theme="dark"] .app-main .fidelity-cart-group>header,
html[data-theme="dark"] .app-main .fidelity-cart-item,
html[data-theme="dark"] .app-main .fidelity-shipping,
html[data-theme="dark"] .app-main .fidelity-cart-total-row{
  background:transparent!important;
  border-color:oklch(0.98 0 0 / 18%)!important;
}
html[data-theme="dark"] .app-main .fidelity-cart .source-local-head h2,
html[data-theme="dark"] .app-main .fidelity-cart-group>header strong,
html[data-theme="dark"] .app-main .fidelity-cart-item h3,
html[data-theme="dark"] .app-main .fidelity-cart-item strong,
html[data-theme="dark"] .app-main .fidelity-cart-total-row>div strong{
  color:oklch(0.98 0 0)!important;
}
html[data-theme="dark"] .app-main .fidelity-cart .source-local-head p,
html[data-theme="dark"] .app-main .fidelity-cart-group>header small,
html[data-theme="dark"] .app-main .fidelity-cart-item p,
html[data-theme="dark"] .app-main .fidelity-shipping>small,
html[data-theme="dark"] .app-main .fidelity-cart-total-row>div small{
  color:oklch(0.98 0 0 / 55%)!important;
}
html[data-theme="dark"] .app-main .fidelity-cart .source-explore-pill{
  background:oklch(0.35 0.095 12)!important;color:#fff!important;
  border:0!important;box-shadow:none!important;
}
html[data-theme="dark"] .app-main .fidelity-cart-trash{
  background:oklch(0.26 0.05 15)!important;color:oklch(0.98 0 0)!important;
}
html[data-theme="dark"] .app-main .fidelity-cart-thumb{
  background:oklch(0.22 0.03 15)!important;border:0!important;
}
html[data-theme="dark"] .app-main .fidelity-shipping-options label>span{
  background:transparent!important;border-color:oklch(0.98 0 0 / 18%)!important;
  color:oklch(0.98 0 0)!important;
}
html[data-theme="dark"] .app-main .fidelity-shipping-options label input:checked+span{
  background:oklch(0.98 0 0)!important;border-color:oklch(0.98 0 0)!important;
  color:oklch(0.15 0.02 15)!important;
}
html[data-theme="dark"] .app-main .fidelity-cart-total-row .btn.primary{
  background:oklch(0.98 0 0)!important;color:oklch(0.15 0.02 15)!important;
  border-color:oklch(0.98 0 0)!important;
}
html:not([data-theme="dark"]) .app-main .fidelity-cart-total-row .btn.primary,
html:not([data-theme="dark"]) .app-main .fidelity-shipping-options label input:checked+span{
  background:var(--fg)!important;color:var(--bg)!important;
  border-color:var(--fg)!important;
}
@media(max-width:375px){
  .app-main .fidelity-cart .source-explore-pill{padding:8px 11px!important;font-size:11px!important}
  .app-main .fidelity-cart .source-local-head h2{font-size:22px!important}
  .app-main .fidelity-cart-total-row .btn.primary{padding:11px 15px!important;font-size:12px!important}
  .app-main .fidelity-shipping-options label>span{padding:10px!important;gap:7px!important}
  .app-main .fidelity-shipping-options label>span b,
  .app-main .fidelity-shipping-options label>span b small{font-size:12px!important}
}
/* ============================================================
   ALLUZZI v1.20 — Cadastrar / Editar Produto
   Fidelidade visual ao Lovable /novo, sem substituir fluxos PHP.
   O escopo de regras evita alterar qualquer outra tela do app.
   ============================================================ */
.app-shell .alluzzi-newitem-topbar{
  width:100%;min-height:64px;padding:14px 20px 10px;display:flex;align-items:center;
  gap:14px;background:var(--bg);color:var(--fg);border:0;
}
.app-shell .alluzzi-newitem-topbar>strong{
  margin:0;font-family:'Alluzzi Overpass',Overpass,sans-serif;font-size:20px;
  font-weight:500;line-height:1.3;letter-spacing:0;
}
.app-shell .alluzzi-newitem-back{
  width:20px;min-width:20px;height:30px;display:grid;place-items:center;
  color:var(--fg);text-decoration:none;background:transparent;border:0;border-radius:0;
}
.app-shell .alluzzi-newitem-back .ico{width:20px;height:20px;stroke-width:1.5}
.app-shell .alluzzi-newitem-back:focus-visible{outline:2px solid var(--al-ruby);outline-offset:3px}
.app-main .item-form-source{
  margin:0!important;padding:24px 0 96px!important;color:var(--fg);
  width:100%;max-width:100%;min-width:0;background:transparent!important;
}
.app-main .item-form-source .source-product-form{
  display:block;margin:0;padding:0!important;background:transparent!important;
  color:var(--fg);font-size:14px;min-width:0;
}
.app-main .item-form-source .source-form-section{
  display:block;margin:0 0 34px!important;padding:0!important;
  border:0!important;background:transparent!important;min-width:0;
}
.app-main .item-form-source .source-form-section>h3,
.app-main .item-form-source .source-form-title h2{
  margin:0 0 12px!important;font-size:16px!important;line-height:1.4!important;
  font-weight:500!important;letter-spacing:0!important;color:var(--fg)!important;
}
.app-main .item-form-source .source-form-title{
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;
  gap:10px!important;margin:0 0 12px!important;
}
.app-main .item-form-source .source-form-title h2{margin:0!important}
.app-main .item-form-source .source-form-title>span,
.app-main .item-form-source .source-form-title b{
  margin:0!important;font-size:11px!important;line-height:1.4!important;
  font-weight:400!important;color:var(--muted-dark)!important;white-space:nowrap;
}
.app-main .item-form-source .alluzzi-item-fields{display:flex;flex-direction:column;gap:16px}
.app-main .item-form-source .form-group{
  display:block;position:relative;margin:0!important;min-width:0;
}
.app-main .item-form-source .label{
  display:block;margin:0 0 7px!important;padding:0!important;
  text-transform:uppercase;letter-spacing:.15em!important;
  font-size:11px!important;line-height:1.3!important;
  font-weight:500!important;color:var(--muted-dark)!important;
  word-break:normal!important;overflow-wrap:normal!important;
}
.app-main .item-form-source .input,
.app-main .item-form-source .select,
.app-main .item-form-source .textarea{
  width:100%!important;min-width:0!important;min-height:49px!important;height:49px;
  display:block!important;margin:0!important;padding:12px 16px!important;
  border:1px solid var(--border)!important;border-radius:16px!important;
  background:var(--card)!important;color:var(--fg)!important;
  box-shadow:none!important;text-transform:none!important;
  font-family:'Alluzzi Overpass',Overpass,sans-serif!important;font-size:14px!important;
  font-weight:400!important;letter-spacing:0!important;line-height:1.4!important;
  outline:none;transition:border-color .15s,box-shadow .15s;
}
.app-main .item-form-source .textarea{
  height:auto!important;min-height:112px!important;resize:vertical!important;
}
.app-main .item-form-source .input::placeholder,
.app-main .item-form-source .textarea::placeholder{color:var(--muted-dark)!important;opacity:1!important}
.app-main .item-form-source .input:focus,
.app-main .item-form-source .select:focus,
.app-main .item-form-source .textarea:focus{
  border-color:var(--al-ruby)!important;box-shadow:0 0 0 2px rgba(107,25,42,.12)!important;
}
.app-main .item-form-source .select{
  appearance:none!important;-webkit-appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2387787C' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-position:right 13px center!important;background-repeat:no-repeat!important;
  padding-right:36px!important;
}
.app-main .item-form-source .form-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:12px!important;margin:0!important;min-width:0;
}
.app-main .item-form-source .form-grid>*{min-width:0}
.app-main .item-form-source .form-grid .label{white-space:nowrap;letter-spacing:.115em!important;font-size:10px!important}
.app-main .item-form-source .field-hint,
.app-main .item-form-source .product-media-help{
  display:block;margin:6px 0 0!important;color:var(--muted-dark)!important;
  font-size:11px!important;line-height:1.65!important;font-weight:400!important;
  letter-spacing:0!important;
}
/* Upload principal 4:3 em coluna completa, botão separado (diferente do legado lado a lado). */
.app-main .item-form-source .product-media-picker{
  display:flex!important;flex-direction:column!important;gap:12px!important;
  margin:0!important;min-width:0;width:100%;
}
.app-main .item-form-source .product-media-primary{
  width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;
  aspect-ratio:4/3!important;display:flex!important;align-items:center;justify-content:center;
  border-radius:24px!important;border:2px dashed var(--border)!important;
  background:var(--card)!important;color:var(--muted-dark)!important;
  cursor:pointer;overflow:hidden;
}
.app-main .item-form-source .product-media-primary img,
.app-main .item-form-source .product-media-primary video{
  width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;
}
.app-main .item-form-source .product-media-empty{
  display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;
  width:100%;padding:22px 18px!important;text-align:center;
  color:var(--muted-dark)!important;
}
.app-main .item-form-source .product-media-empty .ico{
  width:32px!important;height:32px!important;color:var(--muted-dark)!important;
  stroke-width:1!important;margin-bottom:2px;
}
.app-main .item-form-source .product-media-empty strong{
  font-size:14px!important;font-weight:400!important;line-height:1.3!important;
  color:var(--muted-dark)!important;
}
.app-main .item-form-source .product-media-empty small{
  font-size:11px!important;line-height:1.4!important;font-weight:400!important;
  color:var(--muted-dark)!important;max-width:none;
}
.app-main .item-form-source .product-media-add{
  appearance:none;display:flex!important;flex-direction:row!important;gap:8px!important;
  justify-content:center!important;align-items:center!important;
  width:100%!important;min-height:49px!important;height:49px!important;padding:11px 18px!important;
  border:1px solid var(--border)!important;border-radius:999px!important;
  background:transparent!important;color:var(--fg)!important;
  font-size:14px!important;font-weight:400!important;line-height:1.3!important;
  box-shadow:none!important;cursor:pointer;
}
.app-main .item-form-source .product-media-add .ico{width:16px!important;height:16px!important;stroke-width:1.5!important}
.app-main .item-form-source .product-media-add>span{font-size:14px;font-weight:400}
.app-main .item-form-source .product-media-add:disabled{opacity:.5;cursor:not-allowed}
.app-main .item-form-source .product-media-strip{padding:10px 0 0!important;gap:9px!important}
.app-main .item-form-source .product-media-thumb{
  width:72px!important;flex:0 0 72px!important;aspect-ratio:1/1!important;
  border:1px solid var(--border)!important;border-radius:10px!important;
  background:var(--card)!important;
}
.app-main .item-form-source .product-media-remove{width:25px;height:25px;border-radius:50%;background:var(--al-ruby)!important;color:#fff!important}
.app-main .item-form-source .media-primary-badge{background:var(--al-ruby)!important;color:#fff!important}
.app-main .item-form-source .ai-row{display:block;margin:14px 0 0!important}
.app-main .item-form-source .ai-button{
  display:flex!important;align-items:center;justify-content:center;gap:9px;
  width:100%!important;min-height:48px!important;padding:11px 18px!important;
  border:0!important;border-radius:999px!important;
  background:var(--al-ruby)!important;color:#fff!important;
  font-size:14px!important;font-weight:500!important;box-shadow:none!important;
}
.app-main .item-form-source .ai-button .ico{width:16px;height:16px;stroke-width:1.5}
.app-main .item-form-source .ai-feedback{margin:6px 0 0;font-size:11px;color:var(--muted-dark);line-height:1.4}
.app-main .item-form-source .ai-feedback:empty{display:none}
/* Select preservado em DOM para compatibilidade com JS original e validação. */
.app-main .item-form-source .alluzzi-item-native-select{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:0!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important;
}
.app-main .item-form-source .item-segmented{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;
}
.app-main .item-form-source .item-segmented-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.app-main .item-form-source .item-choice{
  appearance:none;min-width:0;min-height:41px;padding:10px 6px;
  display:flex;align-items:center;justify-content:center;gap:7px;
  background:var(--secondary)!important;border:0!important;border-radius:999px!important;
  font-family:'Alluzzi Overpass',Overpass,sans-serif;font-size:12px!important;
  line-height:1.3!important;font-weight:400!important;color:var(--muted-dark)!important;
  white-space:nowrap;transition:background .15s,color .15s;
}
.app-main .item-form-source .item-choice.active{
  background:var(--al-ruby)!important;color:#fff!important;
}
.app-main .item-form-source .item-choice .ico{width:14px;height:14px;stroke-width:1.5}
.app-main .item-form-source .item-choice:focus-visible{outline:2px solid var(--al-ruby);outline-offset:2px}
.app-main .item-form-source .item-price-grid{margin-top:0!important}
.app-main .item-form-source [data-for-sale].hide,
.app-main .item-form-source [data-for-rental].hide{display:none!important}
.app-main .item-form-source .source-check.item-shipping-check{
  display:flex;align-items:center;gap:12px;margin:0 0 16px!important;padding:14px 16px!important;
  border:1px solid var(--border)!important;border-radius:16px!important;
  background:var(--card)!important;color:var(--fg)!important;
  font-size:14px!important;line-height:1.4!important;font-weight:400!important;
}
.app-main .item-form-source .item-shipping-check input{
  width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:var(--al-ruby);
}
.app-main .item-form-source .item-shipping-check .ico{
  width:17px;height:17px;flex:0 0 17px;stroke-width:1.5;color:var(--muted-dark);
}
.app-main .item-form-source .item-location-grid{margin-bottom:16px!important}
.app-main .item-form-source .item-shipping-measures{margin:0!important;row-gap:12px!important}
.app-main .item-form-source .source-publish{
  display:block!important;width:100%!important;min-height:56px!important;height:56px!important;
  margin:0!important;padding:15px 16px!important;
  border:0!important;border-radius:999px!important;
  background:var(--al-ruby)!important;color:#fff!important;
  font-family:'Alluzzi Overpass',Overpass,sans-serif;font-size:14px!important;
  font-weight:500!important;line-height:1.2!important;box-shadow:none!important;
}
/* Escuro: tokens OKLCH exatos do protótipo. Contrasta com o antigo cinza #1B1E22. */
html[data-theme="dark"] .app-shell .alluzzi-newitem-topbar{background:oklch(0.15 0.02 15)!important;color:oklch(0.98 0 0)!important}
html[data-theme="dark"] .app-shell .alluzzi-newitem-topbar>strong,
html[data-theme="dark"] .app-shell .alluzzi-newitem-back{color:oklch(0.98 0 0)!important}
html[data-theme="dark"] .app-main .item-form-source,
html[data-theme="dark"] .app-main .item-form-source .source-product-form{background:transparent!important;color:oklch(0.98 0 0)!important}
html[data-theme="dark"] .app-main .item-form-source .source-form-section>h3,
html[data-theme="dark"] .app-main .item-form-source .source-form-title h2{color:oklch(0.98 0 0)!important}
html[data-theme="dark"] .app-main .item-form-source .label,
html[data-theme="dark"] .app-main .item-form-source .source-form-title>span,
html[data-theme="dark"] .app-main .item-form-source .source-form-title b,
html[data-theme="dark"] .app-main .item-form-source .field-hint,
html[data-theme="dark"] .app-main .item-form-source .product-media-help,
html[data-theme="dark"] .app-main .item-form-source .ai-feedback{
  color:oklch(0.98 0 0 / 55%)!important;
}
html[data-theme="dark"] .app-main .item-form-source .input,
html[data-theme="dark"] .app-main .item-form-source .select,
html[data-theme="dark"] .app-main .item-form-source .textarea,
html[data-theme="dark"] .app-main .item-form-source .product-media-primary,
html[data-theme="dark"] .app-main .item-form-source .item-shipping-check{
  background:oklch(0.19 0.03 15)!important;border-color:oklch(0.98 0 0 / 18%)!important;
  color:oklch(0.98 0 0)!important;
}
html[data-theme="dark"] .app-main .item-form-source .input::placeholder,
html[data-theme="dark"] .app-main .item-form-source .textarea::placeholder,
html[data-theme="dark"] .app-main .item-form-source .product-media-empty,
html[data-theme="dark"] .app-main .item-form-source .product-media-empty strong,
html[data-theme="dark"] .app-main .item-form-source .product-media-empty small,
html[data-theme="dark"] .app-main .item-form-source .product-media-empty .ico,
html[data-theme="dark"] .app-main .item-form-source .item-shipping-check .ico{
  color:oklch(0.98 0 0 / 55%)!important;
}
html[data-theme="dark"] .app-main .item-form-source .product-media-primary{border:2px dashed oklch(0.98 0 0 / 18%)!important}
html[data-theme="dark"] .app-main .item-form-source .product-media-add{
  background:transparent!important;border-color:oklch(0.98 0 0 / 18%)!important;color:oklch(0.98 0 0)!important;
}
html[data-theme="dark"] .app-main .item-form-source .item-choice{
  background:oklch(0.24 0.04 15)!important;color:oklch(0.98 0 0 / 55%)!important;
}
html[data-theme="dark"] .app-main .item-form-source .item-choice.active,
html[data-theme="dark"] .app-main .item-form-source .ai-button,
html[data-theme="dark"] .app-main .item-form-source .source-publish{
  background:oklch(0.35 0.095 12)!important;color:oklch(0.98 0 0)!important;
}
html[data-theme="dark"] .app-main .item-form-source .product-media-thumb{
  background:oklch(0.19 0.03 15)!important;border-color:oklch(0.98 0 0 / 18%)!important;
}
@media(max-width:380px){
 .app-main .item-form-source .item-segmented-three{gap:6px!important}
 .app-main .item-form-source .item-segmented-three .item-choice{font-size:11px!important;padding:10px 3px!important}
 .app-main .item-form-source .form-grid .label{font-size:9.5px!important;letter-spacing:.085em!important}
}
/* Especificidade: elimina o legado :not([type]) de alluzzi-app.css nos inputs. */
html[data-theme="dark"] .app-main .item-form-source input.input:not([type="checkbox"]):not([type="radio"]):not([type="range"]){
  background:oklch(0.19 0.03 15)!important;
  border-color:oklch(0.98 0 0 / 18%)!important;
  color:oklch(0.98 0 0)!important;
}
html:not([data-theme="dark"]) .app-main .item-form-source input.input:not([type="checkbox"]):not([type="radio"]):not([type="range"]){
  background:var(--card)!important;border-color:var(--border)!important;color:var(--fg)!important;
}

/* =====================================================================
   ALLUZZI v1.21 — PADRÃO OFICIAL DE CANTOS 6px | Novo / Editar Produto
   Ajuste visual sobre v1.20: SOMENTE a geometria do formulário.
   Campos, blocos e ações: cantos suavemente retos (6px).
   Exceções intencionais: ícones/botões de remover redondos e elementos
   nativamente circulares. Mantém todo o JavaScript, upload e PHP.
   ===================================================================== */
.app-main .item-form-source .input,
.app-main .item-form-source .select,
.app-main .item-form-source .textarea,
.app-main .item-form-source .product-media-primary,
.app-main .item-form-source .product-media-add,
.app-main .item-form-source .product-media-thumb,
.app-main .item-form-source .ai-button,
.app-main .item-form-source .item-choice,
.app-main .item-form-source .source-check.item-shipping-check,
.app-main .item-form-source .source-publish {
  border-radius:6px!important;
}

/* O foco mantém o contorno acessível sem recriar cantos em cápsula. */
.app-main .item-form-source .product-media-add:focus-visible,
.app-main .item-form-source .ai-button:focus-visible,
.app-main .item-form-source .source-publish:focus-visible,
.app-main .item-form-source .product-media-primary:focus-visible {
  outline:2px solid var(--al-ruby);
  outline-offset:2px;
}
/* ================================================================
 ALLUZZI HF v1.22 — EXPLORAR (Feed) / Lovable /explorar
 Escopo: somente .fidelity-feed e modal .fidelity-new-post.
 Referência: Overpass, mineral/cabernet, componentes de 6 px.
 NÃO altera marcação PHP, eventos JS, formulário, rotas ou banco.
 ================================================================ */
.app-main .fidelity-feed {
  --feed-bg:var(--bg);
  --feed-card:var(--card);
  --feed-line:var(--border);
  --feed-text:var(--fg);
  --feed-muted:var(--muted-dark);
  --feed-chip:var(--secondary);
  box-sizing:border-box;
  width:100%;min-width:0;
  margin:0!important;
  padding:0 0 28px!important;
  background:transparent!important;
  color:var(--feed-text)!important;
  font-family:'Alluzzi Overpass',Overpass,sans-serif!important;
}
/* Cabeçalho editorial: o título é leve e o botão de compor é branco. */
.app-main .fidelity-feed .source-local-head {
  padding:18px 0 0!important;
  min-height:72px;
  align-items:flex-start!important;
  gap:10px!important;
}
.app-main .fidelity-feed .source-local-head h2 {
  margin:0!important;
  font-size:24px!important;
  font-weight:300!important;
  letter-spacing:-.025em!important;
  line-height:1.2!important;
  color:var(--feed-text)!important;
}
.app-main .fidelity-feed .source-local-head p {
  margin:5px 0 0!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.4!important;
  color:var(--feed-muted)!important;
  background:transparent!important;
}
.app-main .fidelity-feed .feed-compose-btn {
  width:44px!important;height:44px!important;min-width:44px!important;
  display:grid!important;place-items:center!important;
  padding:0!important;margin:0!important;
  background:var(--feed-text)!important;
  color:var(--feed-bg)!important;
  border:0!important;
  border-radius:50%!important; /* círculo intencional da ação de compor */
  box-shadow:none!important;
}
.app-main .fidelity-feed .feed-compose-btn .ico{width:17px!important;height:17px!important;stroke-width:1.5!important}
/* Stories: 64px de moldura, avatar circular e nome inteiro. */
.app-main .fidelity-feed .story-strip {
  display:flex!important;gap:16px!important;
  margin:14px -20px 0!important;
  padding:2px 20px 10px!important;
  width:calc(100% + 40px)!important;
  max-width:none!important;
  overflow-x:auto!important;overflow-y:visible!important;
  scrollbar-width:none!important;
}
.app-main .fidelity-feed .story-strip::-webkit-scrollbar{display:none}
.app-main .fidelity-feed .story-chip {
  display:flex!important;flex-direction:column!important;
  align-items:center!important;gap:6px!important;
  width:70px!important;min-width:70px!important;flex:0 0 70px!important;
  text-decoration:none!important;
  color:var(--feed-text)!important;
}
.app-main .fidelity-feed .story-chip>span {
  position:relative!important;
  width:64px!important;height:64px!important;min-width:64px!important;
  display:grid!important;place-items:center!important;
  margin:0!important;box-sizing:border-box!important;
  border:2px solid var(--feed-line)!important;
  border-radius:50%!important;
  background:var(--feed-chip)!important;
  color:var(--feed-text)!important;
  box-shadow:none!important;
  overflow:visible!important;
  font-size:15px!important;font-weight:500!important;
}
.app-main .fidelity-feed .story-chip>span>img {
  display:block;width:100%!important;height:100%!important;
  object-fit:cover!important;border-radius:50%!important;
  overflow:hidden!important;
}
.app-main .fidelity-feed .story-chip-create>span {
  border:2px dashed var(--feed-line)!important;
}
.app-main .fidelity-feed .story-chip-create>span::before {display:none!important}
.app-main .fidelity-feed .story-chip.has-story:not(.story-chip-create)>span {
  border-color:transparent!important;
}
/* Os stories não vistos preservam o anel de destaque e os vistos, o anel neutro. */
.app-main .fidelity-feed .story-chip.has-story:not(.story-chip-create).story-unseen>span::before {
  inset:-4px!important;
}
.app-main .fidelity-feed .story-chip .story-plus-badge {
  position:absolute!important;right:-5px!important;bottom:-4px!important;
  width:21px!important;height:21px!important;
  display:grid!important;place-items:center!important;
  border:2px solid var(--feed-bg)!important;
  border-radius:50%!important;
  background:var(--al-ruby)!important;
  color:#fff!important;
  box-shadow:none!important;
  z-index:3!important;
}
.app-main .fidelity-feed .story-chip small {
  display:block!important;
  width:100%!important;margin:0!important;
  padding:0!important;
  font-size:11px!important;font-weight:400!important;
  line-height:1.25!important;
  color:var(--feed-muted)!important;
  white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
  text-align:center!important;
}
/* Reels são uma função real adicional ao protótipo; mantidos no mesmo tema. */
.app-main .fidelity-feed .reels-head {margin:14px 0 9px!important;color:var(--feed-text)!important}
.app-main .fidelity-feed .reels-head strong {color:var(--feed-text)!important;font-size:14px!important;font-weight:500!important}
.app-main .fidelity-feed .reels-head span {color:var(--feed-muted)!important;font-size:11px!important}
.app-main .fidelity-feed .reels-strip{margin-bottom:14px!important}
.app-main .fidelity-feed .reel-card{border-radius:6px!important;overflow:hidden!important}
/* Abas Todos / Looks / Novidades / Promoções / Dicas. */
.app-main .fidelity-feed .feed-filter-pills {
  display:flex!important;align-items:center!important;
  gap:8px!important;
  min-height:51px!important;
  margin:6px -20px 0!important;
  padding:7px 20px 12px!important;
  max-width:none!important;
  width:calc(100% + 40px)!important;
  border:0!important;
  background:transparent!important;
  scrollbar-width:none!important;
  white-space:nowrap!important;
}
.app-main .fidelity-feed .feed-filter-pills::after{display:none!important}
.app-main .fidelity-feed .feed-filter-pills a,
html[data-theme="dark"] .app-main .fidelity-feed .feed-filter-pills a:not(.active) {
  min-height:34px!important;
  padding:8px 15px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;
  font-size:13px!important;font-weight:400!important;line-height:1.2!important;
  border:1px solid transparent!important;
  border-radius:6px!important;
  background:var(--feed-chip)!important;
  color:var(--feed-muted)!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
.app-main .fidelity-feed .feed-filter-pills a.active,
html[data-theme="dark"] .app-main .fidelity-feed .feed-filter-pills a.active {
  background:var(--feed-text)!important;
  border-color:var(--feed-text)!important;
  color:var(--feed-bg)!important;
}
/* Feed: cards com o mesmo fundo do Lovable e imagem quadrada. */
.app-main .fidelity-feed .fidelity-feed-list {
  display:flex!important;flex-direction:column!important;
  gap:20px!important;
  margin:12px 0 0!important;
  padding:0!important;
}
.app-main .fidelity-feed .fidelity-feed-post,
html[data-theme="dark"] .app-main .fidelity-feed .fidelity-feed-post.social-post {
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--feed-line)!important;
  border-radius:6px!important;
  background:var(--feed-card)!important;
  box-shadow:none!important;
  color:var(--feed-text)!important;
}
.app-main .fidelity-feed .social-post-head {
  display:flex!important;align-items:center!important;gap:12px!important;
  min-height:72px!important;
  padding:16px!important;
  background:transparent!important;
}
.app-main .fidelity-feed .social-post-head .avatar{
  width:36px!important;height:36px!important;min-width:36px!important;
  display:grid!important;place-items:center!important;
  border-radius:50%!important;
  border:0!important;
  background:var(--al-ruby)!important;
  color:#fff!important;
  font-size:13px!important;font-weight:500!important;
}
.app-main .fidelity-feed .social-post-head .avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
.app-main .fidelity-feed .social-post-head strong {
  display:block!important;margin:0!important;
  color:var(--feed-text)!important;
  font-size:14px!important;font-weight:500!important;line-height:1.3!important;
}
.app-main .fidelity-feed .social-post-head small {
  display:block!important;margin:3px 0 0!important;
  color:var(--feed-muted)!important;
  font-size:11px!important;font-weight:400!important;line-height:1.3!important;
}
.app-main .fidelity-feed .fidelity-feed-photo {
  display:block!important;width:100%!important;
  aspect-ratio:1/1!important;
  height:auto!important;overflow:hidden!important;
  border-radius:0!important;background:var(--feed-chip)!important;
}
.app-main .fidelity-feed .fidelity-feed-photo img,
.app-main .fidelity-feed .fidelity-feed-photo video {
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;border-radius:0!important;
}
.app-main .fidelity-feed .social-post-body {
  padding:12px 16px 0!important;
  background:transparent!important;
}
.app-main .fidelity-feed .social-actions {
  display:flex!important;align-items:center!important;gap:16px!important;
  min-height:30px!important;
  margin:0!important;padding:0!important;
}
.app-main .fidelity-feed .social-actions form{margin:0!important;padding:0!important}
.app-main .fidelity-feed .social-action {
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  width:auto!important;height:28px!important;padding:0!important;
  font-size:13px!important;font-weight:400!important;
  color:var(--feed-text)!important;
  background:transparent!important;border:0!important;
}
.app-main .fidelity-feed .social-action .ico{width:20px!important;height:20px!important;stroke-width:1.5!important}
.app-main .fidelity-feed .social-action.active,
.app-main .fidelity-feed .social-action.active .ico{color:var(--al-ruby)!important;fill:var(--al-ruby)!important}
.app-main .fidelity-feed .social-action.share{margin-left:auto!important}
.app-main .fidelity-feed .social-caption {
  margin:0!important;padding:8px 0 14px!important;
  color:var(--feed-text)!important;
  background:transparent!important;
  font-size:14px!important;font-weight:400!important;
  line-height:1.55!important;
}
.app-main .fidelity-feed .comments-box {
  padding:14px 16px 16px!important;
  background:var(--feed-card)!important;
  border-top:1px solid var(--feed-line)!important;
}
.app-main .fidelity-feed .social-comments{background:transparent!important}
.app-main .fidelity-feed .comment-bubble,
html[data-theme="dark"] .app-main .fidelity-feed .comment-bubble {
  border:1px solid var(--feed-line)!important;
  border-radius:6px!important;
  background:var(--feed-chip)!important;
  color:var(--feed-text)!important;
}
.app-main .fidelity-feed .comment-bubble strong,
.app-main .fidelity-feed .comment-bubble p {color:var(--feed-text)!important;background:transparent!important}
.app-main .fidelity-feed .comment-meta,.app-main .fidelity-feed .comments-empty{color:var(--feed-muted)!important}
.app-main .fidelity-feed .comment-input {
  min-height:42px!important;
  background:var(--feed-chip)!important;
  border:1px solid var(--feed-line)!important;
  border-radius:6px!important;
}
.app-main .fidelity-feed .comment-input input,
html[data-theme="dark"] .app-main .fidelity-feed .comment-input input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
  background:transparent!important;
  color:var(--feed-text)!important;
  border:0!important;
}
.app-main .fidelity-feed .comment-input button{border-radius:6px!important;background:var(--al-ruby)!important;color:#fff!important}
/* Novo conteúdo: mantém form, upload, segurança CSRF e moderação. */
.modal-sheet.fidelity-new-post {background:rgba(0,0,0,.65)!important;backdrop-filter:blur(2px)}
.modal-sheet.fidelity-new-post .fidelity-new-post-card,
html[data-theme="dark"] .modal-sheet.fidelity-new-post .fidelity-new-post-card {
  --compose-surface:var(--card);
  width:min(420px,100%)!important;max-width:420px!important;
  border:1px solid var(--border)!important;
  border-bottom:0!important;
  border-radius:6px 6px 0 0!important;
  padding:20px 20px max(30px,env(safe-area-inset-bottom))!important;
  background:var(--card)!important;
  color:var(--fg)!important;
  box-shadow:0 -8px 32px rgba(0,0,0,.13)!important;
}
.modal-sheet.fidelity-new-post .fidelity-modal-head h3 {font-size:18px!important;font-weight:500!important;color:var(--fg)!important}
.modal-sheet.fidelity-new-post .fidelity-modal-head p {font-size:13px!important;font-weight:400!important;color:var(--muted-dark)!important;background:transparent!important}
.modal-sheet.fidelity-new-post .fidelity-modal-head button{border-radius:50%!important;background:var(--secondary)!important;color:var(--fg)!important}
.modal-sheet.fidelity-new-post .fidelity-photo-upload {
  height:128px!important;
  border:1.5px dashed var(--border)!important;
  border-radius:6px!important;
  background:var(--secondary)!important;
}
.modal-sheet.fidelity-new-post .fidelity-photo-upload span {color:var(--muted-dark)!important;gap:8px!important;font-size:13px!important;font-weight:400!important}
.modal-sheet.fidelity-new-post select,
.modal-sheet.fidelity-new-post textarea,
html[data-theme="dark"] .modal-sheet.fidelity-new-post select,
html[data-theme="dark"] .modal-sheet.fidelity-new-post textarea {
  min-height:46px!important;
  border:1px solid var(--border)!important;
  border-radius:6px!important;
  background:var(--card)!important;
  color:var(--fg)!important;
  font-size:14px!important;
  padding:11px 14px!important;
}
.modal-sheet.fidelity-new-post .fidelity-post-caption {min-height:90px!important;resize:vertical!important}
.modal-sheet.fidelity-new-post .moderation-note {font-size:12px!important;line-height:1.5!important;font-weight:400!important;color:var(--muted-dark)!important;background:transparent!important}
.modal-sheet.fidelity-new-post .fidelity-publish-btn,
html[data-theme="dark"] .modal-sheet.fidelity-new-post .fidelity-publish-btn {
  border-radius:6px!important;
  background:var(--al-ruby)!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:500!important;
  min-height:46px!important;
}
html[data-theme="dark"] .app-main .fidelity-feed{
 --feed-bg:#12080A;--feed-card:oklch(0.19 0.03 15);--feed-line:oklch(0.98 0 0 / 18%);
 --feed-text:oklch(0.98 0 0);--feed-muted:oklch(0.98 0 0 / 55%);--feed-chip:oklch(0.24 0.04 15);
}
html:not([data-theme="dark"]) .app-main .fidelity-feed{
 --feed-bg:#F5F1EE;--feed-card:oklch(0.985 0.003 60);--feed-line:oklch(0.89 0.01 35);
 --feed-text:oklch(0.15 0.02 15);--feed-muted:oklch(0.48 0.03 15);--feed-chip:oklch(0.925 0.008 45);
}
/* Modos de acessibilidade já existentes continuam válidos. */
@media (max-width:380px){
 .app-main .fidelity-feed .feed-filter-pills a{padding-inline:12px!important;font-size:12px!important}
 .app-main .fidelity-feed .story-strip{gap:12px!important}
}

/* Uniformiza o fundo mineral de toda a área do Feed sem alterar outras telas. */
html[data-theme="dark"] .app-main:has(> .fidelity-feed){background:#12080A!important}
html:not([data-theme="dark"]) .app-main:has(> .fidelity-feed){background:#F5F1EE!important}
html[data-theme="dark"] .app-main .fidelity-feed{background:var(--feed-bg)!important}
html:not([data-theme="dark"]) .app-main .fidelity-feed{background:var(--feed-bg)!important}
/* Link do autor, presente no Lovable, vinculado ao perfil real do PHP. */
.app-main .fidelity-feed .fidelity-feed-profile-link{
  padding:12px 16px!important;margin:0!important;
  border-top:1px solid var(--feed-line)!important;
  background:transparent!important;
}
.app-main .fidelity-feed .fidelity-feed-profile-link a{
  color:var(--al-ruby)!important;text-decoration:none!important;
  font-size:12px!important;font-weight:500!important;line-height:1.4!important;
}
html[data-theme="dark"] .app-main .fidelity-feed .fidelity-feed-profile-link a{color:#D69BA9!important}
.app-main .fidelity-feed .fidelity-feed-profile-link a:focus-visible{
  outline:2px solid var(--al-ruby)!important;outline-offset:3px!important;
}


/* =========================================================
   Alluzzi v1.23 — Chat / Conversas fiel à nova identidade
   Ajusta lista e detalhe de conversa ao padrão Lovable,
   com cantos de 6px nos blocos estruturais e correções de
   contraste no modo escuro.
   ========================================================= */
.app-main .chat-list-source{padding-top:6px!important}
.app-main .chat-list-source .source-local-head{padding:2px 0 12px!important}
.app-main .chat-list-source .source-local-head h2{font-size:24px!important;font-weight:300!important;line-height:1.15!important;color:var(--fg)!important}
.app-main .chat-list-source .source-local-head p{margin-top:4px!important;font-size:13px!important;color:var(--muted-dark)!important}
.app-main .chat-list{display:block!important;overflow:hidden;background:var(--card)!important;border:1px solid var(--border)!important;border-radius:var(--al-radius)!important}
.app-main .chat-row{display:flex!important;align-items:center!important;gap:12px!important;padding:14px 14px!important;color:inherit!important;text-decoration:none!important;border-bottom:1px solid var(--border)!important}
.app-main .chat-row:last-child{border-bottom:0!important}
.app-main .chat-row .avatar,
.app-main .chat-source-head .avatar{display:grid!important;place-items:center!important;flex:none!important;border-radius:999px!important;font-weight:600!important}
.app-main .chat-row .avatar{width:44px!important;height:44px!important;background:#F1E2E5!important;color:var(--al-burgundy)!important;font-size:14px!important;border:1px solid #E9D7DC!important}
.app-main .chat-row .grow{min-width:0!important;flex:1 1 auto!important}
.app-main .chat-row h3{margin:0!important;font-size:14px!important;line-height:1.2!important;font-weight:600!important;color:var(--fg)!important}
.app-main .chat-row p{margin:3px 0 0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;line-height:1.35!important;color:var(--muted-dark)!important}
.app-main .chat-row .mini-count{display:grid!important;place-items:center!important;min-width:20px!important;height:20px!important;padding:0 5px!important;background:var(--al-burgundy)!important;color:#fff!important;border-radius:999px!important;font-size:10px!important;font-weight:700!important}

.app-main .chat-source-head{min-height:74px!important;display:flex!important;align-items:center!important;gap:12px!important;margin:0 -20px 10px!important;padding:14px 20px 12px!important;background:var(--bg)!important;border-bottom:1px solid var(--border)!important;box-shadow:none!important}
.app-main .chat-source-head .source-back{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;border:none!important;border-radius:999px!important;background:transparent!important;color:var(--fg)!important;box-shadow:none!important}
.app-main .chat-source-head .source-back .ico{width:18px!important;height:18px!important;stroke-width:1.6!important}
.app-main .chat-source-head .avatar{width:40px!important;height:40px!important;background:var(--secondary)!important;color:var(--al-burgundy)!important;font-size:14px!important;border:1px solid var(--border)!important}
.app-main .chat-source-head>div:last-child{min-width:0!important;flex:1 1 auto!important}
.app-main .chat-source-head h2{margin:0!important;font-size:15px!important;line-height:1.2!important;font-weight:600!important;color:var(--fg)!important}
.app-main .chat-source-head p{margin:4px 0 0!important;font-size:12px!important;line-height:1.2!important;color:var(--muted-dark)!important}

.app-main .chat-product-context{margin:10px 0 12px!important;padding:12px 14px!important;border:1px solid var(--border)!important;border-radius:var(--al-radius)!important;background:var(--card)!important;display:flex!important;align-items:center!important;gap:12px!important;color:var(--fg)!important;text-decoration:none!important;box-shadow:none!important}
.app-main .chat-product-context img{width:50px!important;height:60px!important;border-radius:var(--al-radius)!important;object-fit:cover!important;flex:none!important}
.app-main .chat-product-context .grow{min-width:0!important;flex:1 1 auto!important}
.app-main .chat-product-context small{display:block!important;color:#A49A9D!important;font-size:10px!important;line-height:1.25!important;font-weight:400!important;letter-spacing:.20em!important;text-transform:uppercase!important}
.app-main .chat-product-context strong{display:block!important;margin-top:6px!important;color:var(--fg)!important;font-size:14px!important;line-height:1.28!important;font-weight:600!important}
.app-main .chat-product-context span{display:block!important;margin-top:3px!important;color:var(--muted-dark)!important;font-size:11px!important;line-height:1.25!important}
.app-main .chat-product-context>b{margin-left:auto!important;padding-left:10px!important;color:var(--fg)!important;font-size:13px!important;line-height:1.1!important;font-weight:700!important;white-space:nowrap!important}

.app-main .chat-transaction{margin:0 0 14px!important;overflow:hidden!important;border:1px solid var(--border)!important;border-radius:var(--al-radius)!important;background:var(--card)!important;box-shadow:none!important}
.app-main .chat-transaction h4{margin:0!important;padding:10px 12px!important;background:var(--al-burgundy)!important;color:#fff!important;font-size:12px!important;line-height:1.2!important;font-weight:700!important}
.app-main .chat-status-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:10px 12px!important;background:transparent!important}
.app-main .chat-status-actions .btn{flex:0 0 auto!important;min-width:92px!important;border-radius:999px!important}
.app-main .chat-status-actions .badge,
.app-main .chat-status-actions .status-badge,
.app-main .chat-status-actions>span:first-child{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:22px!important;padding:0 10px!important;border-radius:999px!important;font-size:11px!important;font-weight:700!important}

.app-main .chat-window{min-height:0!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:4px 0 10px!important}
.app-main .bubble{max-width:80%!important;padding:12px 14px!important;border-radius:18px!important;font-size:13px!important;line-height:1.45!important;box-shadow:none!important}
.app-main .bubble.mine{align-self:flex-end!important;background:#F1E2E5!important;color:var(--al-burgundy)!important;border:0!important;border-bottom-right-radius:6px!important}
.app-main .bubble.theirs{align-self:flex-start!important;background:var(--card)!important;border:1px solid var(--border)!important;color:var(--fg)!important;border-bottom-left-radius:6px!important}
.app-main .bubble small{display:block!important;margin-top:6px!important;font-size:11px!important;line-height:1.2!important;color:var(--muted-dark)!important;opacity:1!important;text-align:right!important}
.app-main .bubble.theirs small{text-align:right!important}

.app-main .chat-story-reply{display:grid!important;gap:8px!important}
.app-main .chat-story-ref{display:flex!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border:1px solid var(--border)!important;border-radius:var(--al-radius)!important;background:var(--card)!important;color:inherit!important;text-decoration:none!important}
.app-main .chat-story-ref img,
.app-main .chat-story-ref video,
.app-main .chat-story-ref span{width:42px!important;height:42px!important;min-width:42px!important;border-radius:var(--al-radius)!important;object-fit:cover!important;display:grid!important;place-items:center!important;background:var(--secondary)!important;color:var(--fg)!important}
.app-main .chat-story-ref small{display:block!important;font-size:10px!important;color:var(--muted-dark)!important;text-transform:uppercase!important;letter-spacing:.16em!important}
.app-main .chat-story-ref strong{display:block!important;margin-top:4px!important;font-size:12px!important;line-height:1.35!important;color:var(--fg)!important}

.app-main .chat-order-event{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:12px!important;border:1px solid var(--border)!important;border-radius:var(--al-radius)!important;background:var(--card)!important;color:inherit!important}
.app-main .chat-order-event img,
.app-main .chat-order-event-icon{width:44px!important;height:44px!important;border-radius:var(--al-radius)!important;display:grid!important;place-items:center!important;object-fit:cover!important;background:var(--secondary)!important;color:var(--al-burgundy)!important}
.app-main .chat-order-event .grow{min-width:0!important}
.app-main .chat-order-event small{display:block!important;font-size:10px!important;line-height:1.2!important;color:var(--muted-dark)!important;text-transform:uppercase!important;letter-spacing:.14em!important}
.app-main .chat-order-event strong{display:block!important;margin-top:4px!important;font-size:13px!important;line-height:1.28!important;color:var(--fg)!important}
.app-main .chat-order-event p{margin:3px 0 0!important;font-size:11px!important;line-height:1.35!important;color:var(--muted-dark)!important}
.app-main .chat-order-event-meta{display:flex!important;align-items:center!important;gap:8px!important;margin-top:6px!important;font-size:11px!important;color:var(--muted-dark)!important}
.app-main .chat-order-event-meta b{color:var(--fg)!important}
.app-main .chat-order-event>a:last-child{font-size:11px!important;font-weight:600!important;color:var(--al-burgundy)!important;white-space:nowrap!important;text-decoration:none!important}

.app-main .chat-suggestions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 8px!important}
.app-main .chat-suggestions>span{font-size:10px!important;line-height:1!important;font-weight:500!important;letter-spacing:.20em!important;text-transform:uppercase!important;color:var(--muted-dark)!important}
.app-main .chat-suggestion-chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;padding:0 12px!important;border:1px solid var(--border)!important;border-radius:999px!important;background:var(--card)!important;color:var(--fg)!important;font-size:12px!important;font-weight:500!important;box-shadow:none!important}

.app-main .chat-compose{position:sticky!important;bottom:76px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;margin:0 0 6px!important;padding:0!important;background:transparent!important;border:0!important;z-index:8!important}
.app-main .chat-compose .input{min-height:42px!important;height:42px!important;padding:0 15px!important;border-radius:999px!important;background:var(--card)!important;border:1px solid var(--border)!important;color:var(--fg)!important;box-shadow:none!important}
.app-main .chat-compose .input::placeholder{color:var(--muted-dark)!important;opacity:1!important}
.app-main .chat-compose .btn{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:10px!important;background:var(--al-burgundy)!important;border:1px solid var(--al-burgundy)!important;color:#fff!important;box-shadow:none!important}
.app-main .chat-compose .btn .ico{width:15px!important;height:15px!important;stroke-width:1.6!important}

html[data-theme="dark"] .app-main .chat-list{background:#201419!important;border-color:#443038!important}
html[data-theme="dark"] .app-main .chat-row{border-color:#443038!important}
html[data-theme="dark"] .app-main .chat-row .avatar,
html[data-theme="dark"] .app-main .chat-source-head .avatar{background:#2D1D24!important;border-color:#4A3340!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-main .chat-row h3,
html[data-theme="dark"] .app-main .chat-source-head h2,
html[data-theme="dark"] .app-main .chat-product-context strong,
html[data-theme="dark"] .app-main .chat-product-context>b,
html[data-theme="dark"] .app-main .chat-order-event strong,
html[data-theme="dark"] .app-main .chat-order-event-meta b{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .chat-row p,
html[data-theme="dark"] .app-main .chat-source-head p,
html[data-theme="dark"] .app-main .chat-product-context span,
html[data-theme="dark"] .app-main .chat-product-context small,
html[data-theme="dark"] .app-main .chat-order-event p,
html[data-theme="dark"] .app-main .chat-order-event small,
html[data-theme="dark"] .app-main .chat-order-event-meta,
html[data-theme="dark"] .app-main .bubble small,
html[data-theme="dark"] .app-main .chat-suggestions>span,
html[data-theme="dark"] .app-main .chat-story-ref small{color:#CBBBC0!important}
html[data-theme="dark"] .app-main .chat-source-head{background:#12080A!important;border-color:#443038!important}
html[data-theme="dark"] .app-main .chat-source-head .source-back{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .chat-product-context,
html[data-theme="dark"] .app-main .chat-transaction,
html[data-theme="dark"] .app-main .chat-story-ref,
html[data-theme="dark"] .app-main .chat-order-event,
html[data-theme="dark"] .app-main .bubble.theirs,
html[data-theme="dark"] .app-main .chat-suggestion-chip,
html[data-theme="dark"] .app-main .chat-compose .input{background:#201419!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-main .chat-transaction h4,
html[data-theme="dark"] .app-main .chat-compose .btn{background:var(--al-ruby)!important;border-color:var(--al-ruby)!important;color:#fff!important}
html[data-theme="dark"] .app-main .bubble.mine{background:#3A2530!important;color:#F5E8EB!important}
html[data-theme="dark"] .app-main .chat-story-ref img,
html[data-theme="dark"] .app-main .chat-story-ref video,
html[data-theme="dark"] .app-main .chat-story-ref span,
html[data-theme="dark"] .app-main .chat-order-event img,
html[data-theme="dark"] .app-main .chat-order-event-icon{background:#2D1D24!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-main .chat-order-event>a:last-child{color:#F3CDD7!important}
html[data-theme="dark"] .app-main .chat-compose .input::placeholder{color:#CBBBC0!important}

/* ===============================================================
   ALLUZZI v1.24 — Pedidos (comprador e vendedor)
   Contraste e hierarquia do Lovable, cantos estruturais de 6px.
   Somente apresentacao: os links, filtros e estados PHP permanecem.
   =============================================================== */
.app-main .orders-source{
  --order-card-bg:#FCFAF8;
  --order-card-border:#E4DAD5;
  --order-line:#EAE0DB;
  --order-text:#24151A;
  --order-secondary:#67565D;
  --order-price:#24151A;
  --order-chip-bg:#EEE6E2;
  --order-chip-text:#65535A;
  margin:0 -20px!important;
  padding:10px 20px 32px!important;
  min-width:0;
  background:transparent!important;
  color:var(--order-text)!important;
}
.app-main .orders-source .source-local-head{
  margin:0 0 12px!important;
  padding:0 0 6px!important;
  align-items:start!important;
}
.app-main .orders-source .source-local-head h2{
  margin:0!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:24px!important;
  line-height:1.22!important;
  font-weight:300!important;
  color:var(--order-text)!important;
  letter-spacing:-.025em!important;
}
.app-main .orders-source .source-local-head p{
  margin:4px 0 0!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:400!important;
  color:var(--order-secondary)!important;
}
/* Os filtros mantem formato de chip, excecao intencional ao raio de 6px. */
.app-main .orders-source .order-filter-pills{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 -20px 16px!important;
  padding:3px 20px 5px!important;
  overflow-x:auto!important;
  scrollbar-width:none;
  scroll-padding-inline:20px;
  overscroll-behavior-x:contain;
}
.app-main .orders-source .order-filter-pills::-webkit-scrollbar{display:none}
.app-main .orders-source .order-filter-pills a{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:32px!important;
  padding:8px 13px!important;
  border:1px solid var(--order-card-border)!important;
  border-radius:999px!important;
  background:var(--order-chip-bg)!important;
  color:var(--order-chip-text)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:400!important;
  text-decoration:none!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.app-main .orders-source .order-filter-pills a.active{
  border-color:var(--al-burgundy)!important;
  background:var(--al-burgundy)!important;
  color:#F5F1EE!important;
  font-weight:500!important;
}
.app-main .orders-source .order-filter-pills a:focus-visible,
.app-main .orders-source .order-card-main:focus-visible,
.app-main .orders-source .order-inline-action:focus-visible{
  outline:2px solid var(--al-ruby)!important;
  outline-offset:3px!important;
}
.app-main .orders-source .source-order-list{
  display:grid!important;
  gap:14px!important;
  min-width:0!important;
}
.app-main .orders-source .order-card{
  min-width:0!important;
  margin:0!important;
  padding:14px!important;
  border:1px solid var(--order-card-border)!important;
  border-radius:6px!important;
  background:var(--order-card-bg)!important;
  color:var(--order-text)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.app-main .orders-source .order-card-main{
  display:block!important;
  min-width:0!important;
  color:inherit!important;
  text-decoration:none!important;
}
.app-main .orders-source .order-card .order-top{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:9px!important;
  margin:0!important;
}
.app-main .orders-source .order-card .order-top>div{
  flex:1 1 auto!important;
  min-width:0!important;
}
.app-main .orders-source .order-card .order-top small{
  display:block!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:400!important;
  color:var(--order-secondary)!important;
  overflow-wrap:anywhere!important;
}
.app-main .orders-source .order-card .order-top h3{
  display:block!important;
  margin:5px 0 0!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:600!important;
  color:var(--order-text)!important;
  overflow-wrap:anywhere!important;
}
.app-main .orders-source .order-card .order-top .badge{
  flex:0 0 auto!important;
  min-height:23px!important;
  margin:0!important;
  padding:5px 9px!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1.15!important;
  font-weight:600!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.app-main .orders-source .order-card .order-top .badge.warning{background:#FFF0CF!important;color:#855706!important}
.app-main .orders-source .order-card .order-top .badge.success{background:#E4F5E9!important;color:#17683D!important}
.app-main .orders-source .order-card .order-top .badge.info{background:#E4EEF9!important;color:#265785!important}
.app-main .orders-source .order-card .order-top .badge.purple{background:#F0E6F6!important;color:#6F427F!important}
.app-main .orders-source .order-card .order-top .badge.danger{background:#FBE7E8!important;color:#A82C3F!important}
.app-main .orders-source .order-card .order-top .badge.neutral{background:#EFE7E4!important;color:#67565D!important}
.app-main .orders-source .order-product{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
  margin:12px 0 0!important;
  padding:12px 0 0!important;
  border-top:1px solid var(--order-line)!important;
}
.app-main .orders-source .order-product img{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  flex:0 0 52px!important;
  border-radius:6px!important;
  object-fit:cover!important;
}
.app-main .orders-source .order-product .grow{
  min-width:0!important;
  flex:1 1 auto!important;
}
.app-main .orders-source .order-product p{
  margin:0!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:400!important;
  color:var(--order-secondary)!important;
  overflow-wrap:anywhere!important;
}
.app-main .orders-source .order-product strong{
  display:block!important;
  margin:5px 0 0!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:600!important;
  color:var(--order-price)!important;
}
.app-main .orders-source .order-card-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px!important;
  margin:11px 0 0!important;
  padding:0!important;
  max-width:100%!important;
  overflow:visible!important;
}
.app-main .orders-source .order-inline-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-height:32px!important;
  max-width:100%!important;
  padding:7px 10px!important;
  border:1px solid var(--order-card-border)!important;
  border-radius:6px!important;
  background:#F4EEEA!important;
  color:#514248!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:500!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
  box-shadow:none!important;
}
.app-main .orders-source .order-inline-action .ico{
  width:14px!important;height:14px!important;stroke-width:1.6!important;
}
.app-main .orders-source .order-inline-action.review{
  border-color:#E3C99D!important;background:#FCF6E9!important;color:#76531B!important;
}
.app-main .orders-source .order-inline-action.return{
  border-color:#E7C3C8!important;background:#F8ECEE!important;color:#7F3140!important;
}
.app-main .orders-source .source-empty{
  padding:40px 20px!important;
  border:1px solid var(--order-card-border)!important;
  border-radius:6px!important;
  background:var(--order-card-bg)!important;
  color:var(--order-secondary)!important;
  text-align:center!important;
}
.app-main .orders-source .source-empty strong{color:var(--order-text)!important;font-size:14px!important;font-weight:500!important}

/* Dark Mineral + Cabernet — sem fundos azulados do tema legado. */
html[data-theme="dark"] .app-main .orders-source{
  background:#12080A!important;
  --order-card-bg:#1F0E0F;
  --order-card-border:#493039;
  --order-line:#3D2830;
  --order-text:#F5F1EE;
  --order-secondary:#C8B6BC;
  --order-price:#F5F1EE;
  --order-chip-bg:#2A191F;
  --order-chip-text:#D3C1C6;
}
html[data-theme="dark"] .app-main .orders-source .order-filter-pills a.active{
  border-color:#6B192A!important;background:#6B192A!important;color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .orders-source .order-card{
  background:var(--order-card-bg)!important;
  border-color:var(--order-card-border)!important;
  color:var(--order-text)!important;
}
html[data-theme="dark"] .app-main .orders-source .order-card .order-top small,
html[data-theme="dark"] .app-main .orders-source .order-product p{color:var(--order-secondary)!important}
html[data-theme="dark"] .app-main .orders-source .order-card .order-top h3,
html[data-theme="dark"] .app-main .orders-source .order-product strong{color:var(--order-text)!important}
html[data-theme="dark"] .app-main .orders-source .order-product{border-color:var(--order-line)!important}
html[data-theme="dark"] .app-main .orders-source .order-card .order-top .badge.warning{background:#3D2B19!important;color:#F3D08F!important}
html[data-theme="dark"] .app-main .orders-source .order-card .order-top .badge.success{background:#17392B!important;color:#A7E5BF!important}
html[data-theme="dark"] .app-main .orders-source .order-card .order-top .badge.info{background:#1B3043!important;color:#BCD9F8!important}
html[data-theme="dark"] .app-main .orders-source .order-card .order-top .badge.purple{background:#332239!important;color:#E3C3F3!important}
html[data-theme="dark"] .app-main .orders-source .order-card .order-top .badge.danger{background:#47212C!important;color:#FFD0D8!important}
html[data-theme="dark"] .app-main .orders-source .order-card .order-top .badge.neutral{background:#33252A!important;color:#DCCCD0!important}
html[data-theme="dark"] .app-main .orders-source .order-inline-action{
  border-color:#503741!important;background:#2B1A20!important;color:#E8D9DE!important;
}
html[data-theme="dark"] .app-main .orders-source .order-inline-action.review{
  border-color:#705232!important;background:#362719!important;color:#F5D7A5!important;
}
html[data-theme="dark"] .app-main .orders-source .order-inline-action.return{
  border-color:#6C3B48!important;background:#392029!important;color:#F2BCC8!important;
}
html[data-theme="dark"] .app-main .orders-source .source-empty{
  border-color:var(--order-card-border)!important;
  background:var(--order-card-bg)!important;
  color:var(--order-secondary)!important;
}
@media(max-width:380px){
  .app-main .orders-source .order-card{padding:12px!important}
  .app-main .orders-source .order-card .order-top small{font-size:11px!important}
  .app-main .orders-source .order-card .order-top h3{font-size:14px!important}
  .app-main .orders-source .order-inline-action{font-size:10px!important}
}


/* Alluzzi v1.25 — posicionamento ao selecionar categoria/subcategoria.
   A navegação por #alluzzi-home-categories rola dentro da app-shell, com
   espaço para o cabeçalho fixo; sem alterar cards, cores ou filtros. */
.app-shell .app-main #alluzzi-home-categories {
  scroll-margin-top: 62px;
}

/* ==============================================================
   ALLUZZI HOTFIX v1.28 — Meus Dados / Dados Bancários / KYC
   Identidade oficial: vinho-mineral, Overpass, cantos 6 px.
   Apenas apresentação: não modifica dados, JS, câmera ou POST.
   ============================================================= */
/* 1. Formulários de configurações (comprador e vendedor). */
.app-main .alluzzi-settings-page .alluzzi-settings-subhead{
  gap:12px!important;margin-bottom:22px!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-subhead h1{
  font-size:24px!important;font-weight:300!important;line-height:1.2!important;
  letter-spacing:-.025em!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-subhead p{
  margin-top:5px!important;font-size:12px!important;line-height:1.4!important;
  font-weight:400!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-back{
  width:34px!important;height:34px!important;flex-basis:34px!important;
  border-radius:var(--al-radius)!important;
}
.app-main .alluzzi-settings-page .settings-card.active-panel{
  border-radius:var(--al-radius)!important;
  padding:18px 16px 22px!important;
  background:#FCFAF8!important;
  border:1px solid #E4DAD5!important;
  box-shadow:none!important;
}
.app-main .alluzzi-settings-page .settings-section-title{
  gap:10px!important;padding-bottom:14px!important;
  margin-bottom:16px!important;border-bottom:1px solid #E4DAD5!important;
}
.app-main .alluzzi-settings-page .settings-section-title .settings-icon{
  flex-basis:36px!important;width:36px!important;height:36px!important;
  background:#F1E2E5!important;color:#6B192A!important;
  border-radius:var(--al-radius)!important;
}
.app-main .alluzzi-settings-page .settings-section-title .settings-icon .ico{
  width:19px!important;height:19px!important;stroke-width:1.5!important;
}
.app-main .alluzzi-settings-page .settings-section-title strong{
  display:block!important;color:#24151A!important;font-size:15px!important;
  line-height:1.3!important;font-weight:600!important;
}
.app-main .alluzzi-settings-page .settings-section-title small{
  margin-top:3px!important;color:#74666B!important;
  font-size:12px!important;font-weight:400!important;line-height:1.35!important;
}
.app-main .alluzzi-settings-page .label{
  margin:14px 0 7px!important;font-size:11px!important;
  font-weight:600!important;letter-spacing:.13em!important;
  text-transform:uppercase!important;line-height:1.25!important;
  color:#74666B!important;
}
.app-main .alluzzi-settings-page .input,
.app-main .alluzzi-settings-page .select,
.app-main .alluzzi-settings-page .textarea{
  width:100%!important;min-width:0!important;
  min-height:46px!important;height:auto;
  border:1px solid #E4DAD5!important;
  border-radius:var(--al-radius)!important;
  background:#F8F4F2!important;color:#24151A!important;
  font-size:13px!important;font-weight:400!important;
  line-height:1.4!important;box-shadow:none!important;
  padding:11px 12px!important;
}
.app-main .alluzzi-settings-page .textarea{
  min-height:112px!important;resize:vertical!important;
}
.app-main .alluzzi-settings-page .input::placeholder,
.app-main .alluzzi-settings-page .textarea::placeholder{
  color:#817278!important;opacity:1!important;
}
.app-main .alluzzi-settings-page .input:focus,
.app-main .alluzzi-settings-page .select:focus,
.app-main .alluzzi-settings-page .textarea:focus{
  border-color:#6B192A!important;outline:2px solid rgba(107,25,42,.16)!important;
  outline-offset:1px!important;
}
.app-main .alluzzi-settings-page .form-grid{
  gap:10px!important;margin:12px 0!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.app-main .alluzzi-settings-page .form-grid>*,
.app-main .alluzzi-settings-page .form-grid>div{min-width:0!important;max-width:100%!important}
.app-main .alluzzi-settings-page .profile-photo-uploader{
  min-width:0!important;gap:12px!important;padding:12px!important;
  border-radius:var(--al-radius)!important;
  border:1px solid #E4DAD5!important;background:#F8F4F2!important;
}
.app-main .alluzzi-settings-page .profile-photo-preview{
  width:60px!important;height:60px!important;flex:0 0 60px!important;
  border-radius:50%!important;
}
.app-main .alluzzi-settings-page .profile-photo-actions{
  flex:1 1 155px!important;min-width:0!important;
}
.app-main .alluzzi-settings-page .profile-photo-actions input[type="file"]{
  width:100%!important;min-width:0!important;
  min-height:38px!important;padding:6px!important;
  font-size:11px!important;max-width:100%!important;
}
.app-main .alluzzi-settings-page .profile-photo-actions input[type="file"]::file-selector-button{
  border:1px solid #D9C8C8!important;
  border-radius:var(--al-radius)!important;
  background:#FCFAF8!important;color:#3E0C17!important;
  font:600 11px 'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  padding:6px 8px!important;margin-right:8px!important;
}
.app-main .alluzzi-settings-page .profile-photo-actions small{
  font-size:11px!important;line-height:1.4!important;color:#74666B!important;
}
.app-main .alluzzi-settings-page .settings-check{
  font-size:12px!important;font-weight:400!important;color:#514248!important;
}
.app-main .alluzzi-settings-page .settings-check input{accent-color:#6B192A!important}
.app-main .alluzzi-settings-page .settings-card.active-panel .btn.primary.block{
  min-height:46px!important;padding:11px 16px!important;
  border-radius:var(--al-radius)!important;
  border:1px solid #6B192A!important;
  background:#6B192A!important;color:#fff!important;
  font-size:13px!important;font-weight:600!important;
  box-shadow:none!important;
}
/* Consistent dark-mode form colors, independent from legacy blue-gray inputs. */
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-card.active-panel{
  background:#1F0E0F!important;border-color:#493038!important;color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-section-title{
  border-bottom-color:#493038!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-section-title .settings-icon{
  background:#341D24!important;color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-section-title strong{
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-section-title small,
html[data-theme="dark"] .app-main .alluzzi-settings-page .alluzzi-settings-subhead p,
html[data-theme="dark"] .app-main .alluzzi-settings-page .label,
html[data-theme="dark"] .app-main .alluzzi-settings-page .profile-photo-actions small{
  color:#CBBBC0!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .input,
html[data-theme="dark"] .app-main .alluzzi-settings-page .select,
html[data-theme="dark"] .app-main .alluzzi-settings-page .textarea,
html[data-theme="dark"] .app-main .alluzzi-settings-page .profile-photo-uploader{
  background:#27171D!important;border:1px solid #493038!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .input::placeholder,
html[data-theme="dark"] .app-main .alluzzi-settings-page .textarea::placeholder{
  color:#BFAAB0!important;opacity:1!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .input:focus,
html[data-theme="dark"] .app-main .alluzzi-settings-page .select:focus,
html[data-theme="dark"] .app-main .alluzzi-settings-page .textarea:focus{
  border-color:#B87988!important;outline-color:rgba(184,121,136,.25)!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-check{
  color:#E9DBDF!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .profile-photo-actions input[type="file"]::file-selector-button{
  background:#39232A!important;border-color:#67424D!important;color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page .settings-card.active-panel .btn.primary.block{
  background:#6B192A!important;border-color:#6B192A!important;color:#fff!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page input[type="date"],
html[data-theme="dark"] .app-main .alluzzi-settings-page .select{color-scheme:dark!important}
/* 2. KYC: resolve the white legacy card, blue-heavy alert, and 7px labels. */
.app-main .settings-standalone-nav:has(+ .verification-intro){
  display:flex!important;align-items:center!important;gap:10px!important;
  padding-bottom:12px!important;margin-bottom:14px!important;
  border-bottom:1px solid #E4DAD5!important;
  color:#514248!important;
}
.app-main .settings-standalone-nav:has(+ .verification-intro) .settings-page-back{
  display:grid!important;place-items:center!important;
  width:34px!important;height:34px!important;
  border:1px solid #E4DAD5!important;border-radius:var(--al-radius)!important;
  background:#FCFAF8!important;color:#3E0C17!important;
}
.app-main .verification-intro{
  width:100%!important;min-width:0!important;box-sizing:border-box!important;
  background:#FCFAF8!important;color:#24151A!important;
  border:1px solid #E4DAD5!important;
  border-radius:var(--al-radius)!important;
  padding:16px!important;margin:0 0 12px!important;
  box-shadow:none!important;
}
.app-main .verification-title{
  display:flex!important;align-items:center!important;gap:10px!important;
  padding-bottom:14px!important;margin:0 0 14px!important;
  border-bottom:1px solid #E4DAD5!important;
}
.app-main .verification-title>.ico{
  width:20px!important;height:20px!important;flex:none!important;
  color:#6B192A!important;stroke-width:1.5!important;
}
.app-main .verification-title h2{
  margin:0!important;font-size:20px!important;line-height:1.2!important;
  font-weight:400!important;letter-spacing:-.025em!important;color:#24151A!important;
}
.app-main .verification-title div>span,
.app-main .verification-title div>small{
  display:block!important;margin-top:4px!important;
  font-size:12px!important;line-height:1.4!important;
  font-weight:400!important;color:#74666B!important;
}
.app-main .verification-intro .info-box,
.app-main .verification-intro .warning-box{
  padding:12px!important;margin:0 0 10px!important;
  border:1px solid #E4DAD5!important;
  border-radius:var(--al-radius)!important;
  background:#F5EDEB!important;color:#514248!important;
  font-size:13px!important;line-height:1.55!important;
  font-weight:400!important;box-shadow:none!important;
}
.app-main .verification-intro .warning-box{
  background:#FFF4E5!important;border-color:#EDD6B8!important;color:#835822!important;
}
.app-main .verification-intro .warning-box[style]{
  background:#FCEBE8!important;border-color:#E7C1BB!important;color:#A94339!important;
}
.app-main .verified-approved-box{
  display:flex!important;gap:11px!important;align-items:center!important;
  border-radius:var(--al-radius)!important;
  background:#EDF5EF!important;border:1px solid #CDE3D4!important;
  padding:13px!important;margin:10px 0 0!important;
  box-shadow:none!important;
}
.app-main .verified-approved-box strong{
  font-size:14px!important;line-height:1.3!important;
  font-weight:600!important;color:#286548!important;
}
.app-main .verified-approved-box span:not(.verified-dot){
  font-size:12px!important;line-height:1.4!important;color:#4E7260!important;
}
.app-main .kyc-form{display:grid!important;gap:12px!important;margin:0 0 24px!important}
.app-main .kyc-form .upload-box,
.app-main .kyc-form button.upload-box{
  box-sizing:border-box!important;display:flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:flex-start!important;
  gap:12px!important;width:100%!important;min-height:82px!important;
  padding:14px!important;margin:0!important;
  border:1px dashed #CDBABD!important;border-radius:var(--al-radius)!important;
  background:#FCFAF8!important;color:#514248!important;
  text-align:left!important;box-shadow:none!important;
}
.app-main .kyc-form .upload-box>span{
  display:grid!important;place-items:center!important;flex:0 0 36px!important;
  width:36px!important;height:36px!important;
  border-radius:var(--al-radius)!important;background:#F1E2E5!important;color:#6B192A!important;
}
.app-main .kyc-form .upload-box>div{min-width:0!important;flex:1!important}
.app-main .kyc-form .upload-box strong{
  display:block!important;font-size:13px!important;line-height:1.35!important;
  font-weight:600!important;color:#24151A!important;
}
.app-main .kyc-form .upload-box small{
  display:block!important;font-size:12px!important;line-height:1.4!important;
  font-weight:400!important;color:#74666B!important;margin-top:3px!important;
}
.app-main .kyc-form .upload-box input[type="file"]{
  position:absolute!important;inset:0!important;cursor:pointer!important;
}
.app-main .kyc-selfie-preview{
  border-radius:var(--al-radius)!important;border-color:#CDE3D4!important;
  background:#EDF5EF!important;color:#286548!important;
}
.app-main .kyc-selfie-preview strong{
  color:#286548!important;font-size:13px!important;font-weight:600!important;
}
.app-main .kyc-selfie-preview small{
  color:#4E7260!important;font-size:11px!important;
}
.app-main .kyc-selfie-preview button{
  border-radius:var(--al-radius)!important;border:1px solid #CDE3D4!important;
  background:#FCFAF8!important;color:#286548!important;
  padding:9px!important;font-size:11px!important;
}
.app-main .kyc-ai-consent{
  display:flex!important;align-items:flex-start!important;gap:10px!important;
  padding:13px!important;border:1px solid #E4DAD5!important;
  border-radius:var(--al-radius)!important;background:#FCFAF8!important;
  color:#514248!important;font-size:12px!important;line-height:1.5!important;
}
.app-main .kyc-ai-consent>span{font-size:12px!important;line-height:1.5!important}
.app-main .kyc-ai-consent input{accent-color:#6B192A!important;min-width:16px!important;width:16px!important;height:16px!important}
.app-main .kyc-form .btn.primary.block{
  min-height:46px!important;padding:12px 14px!important;
  border-radius:var(--al-radius)!important;
  background:#6B192A!important;border:1px solid #6B192A!important;
  color:#fff!important;font-size:13px!important;font-weight:600!important;
  box-shadow:none!important;
}
.app-main .kyc-camera-error{
  border-radius:var(--al-radius)!important;padding:12px!important;
  font-size:12px!important;line-height:1.45!important;
}
/* Dark verification panels and messages: no fixed white backgrounds. */
html[data-theme="dark"] .app-main .settings-standalone-nav:has(+ .verification-intro){
  border-bottom-color:#493038!important;color:#CBBBC0!important;
}
html[data-theme="dark"] .app-main .settings-standalone-nav:has(+ .verification-intro) .settings-page-back{
  background:#1F0E0F!important;border-color:#493038!important;color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .verification-intro{
  background:#1F0E0F!important;border-color:#493038!important;color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .verification-title{
  border-bottom-color:#493038!important;
}
html[data-theme="dark"] .app-main .verification-title>.ico,
html[data-theme="dark"] .app-main .verification-title h2{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .verification-title div>span,
html[data-theme="dark"] .app-main .verification-title div>small{
  color:#CBBBC0!important;
}
html[data-theme="dark"] .app-main .verification-intro .info-box{
  background:#2A1920!important;border-color:#493038!important;
  color:#E4D6D9!important;
}
html[data-theme="dark"] .app-main .verification-intro .warning-box{
  background:#2B221D!important;border-color:#5D4830!important;
  color:#F0D3A6!important;
}
html[data-theme="dark"] .app-main .verification-intro .warning-box[style]{
  background:#321A1C!important;border-color:#653D42!important;
  color:#F1B9BE!important;
}
html[data-theme="dark"] .app-main .verified-approved-box{
  background:#183128!important;border-color:#365D4C!important;
}
html[data-theme="dark"] .app-main .verified-approved-box strong{color:#E6F6EA!important}
html[data-theme="dark"] .app-main .verified-approved-box span:not(.verified-dot){color:#B5D9C5!important}
html[data-theme="dark"] .app-main .kyc-form .upload-box,
html[data-theme="dark"] .app-main .kyc-form button.upload-box{
  background:#1F0E0F!important;border-color:#67444E!important;color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .kyc-form .upload-box>span{
  background:#341D24!important;color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .kyc-form .upload-box strong{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .kyc-form .upload-box small{color:#CBBBC0!important}
html[data-theme="dark"] .app-main .kyc-ai-consent{
  background:#1F0E0F!important;border-color:#493038!important;
  color:#E4D6D9!important;
}
html[data-theme="dark"] .app-main .kyc-selfie-preview{
  background:#183128!important;border-color:#365D4C!important;color:#E6F6EA!important;
}
html[data-theme="dark"] .app-main .kyc-selfie-preview strong{color:#E6F6EA!important}
html[data-theme="dark"] .app-main .kyc-selfie-preview small{color:#B5D9C5!important}
html[data-theme="dark"] .app-main .kyc-selfie-preview button{
  background:#244233!important;border-color:#365D4C!important;color:#E6F6EA!important;
}
html[data-theme="dark"] .app-main .kyc-form .btn.primary.block{
  background:#6B192A!important;border-color:#6B192A!important;color:#fff!important;
}
@media(max-width:380px){
  .app-main .alluzzi-settings-page .settings-card.active-panel{padding:16px 12px 22px!important}
  .app-main .alluzzi-settings-page .form-grid{gap:8px!important}
  .app-main .alluzzi-settings-page .profile-photo-uploader{flex-wrap:wrap!important}
  .app-main .verification-intro{padding:14px!important}
}
@media(max-width:350px){
  .app-main .alluzzi-settings-page .form-grid{grid-template-columns:1fr!important}
}
/* Inputs de texto: regra legada com :not(...) tem especificidade maior
   que .input e ainda injetava o cinza-azulado. Neutralizar somente
   dentro de Configurações, mantendo selects e outros formulários intactos. */
html[data-theme="dark"] .app-shell .app-main .alluzzi-settings-page input.input:not([type="checkbox"]):not([type="radio"]):not([type="range"]){
  background:#27171D!important;border-color:#493038!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-shell .app-main .alluzzi-settings-page input.input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus{
  border-color:#B87988!important;outline-color:rgba(184,121,136,.25)!important;
}
/* =====================================================================
   ALLUZZI v1.29 — Suporte, Acessibilidade e Regulamento
   Lovable Overpass · vinho/mineral · cantos 6px
   Não altera APIs, formulários, switches nem dados.
   ===================================================================== */

/* A — CENTRAL DE AJUDA, ARTIGOS E ATENDIMENTOS */
.app-main .help-center-source{padding:0 0 108px!important;color:var(--fg)!important;font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important}
.app-main .help-center-source .settings-standalone-nav{padding:0 0 12px!important;min-height:45px!important;gap:9px!important;border-bottom:1px solid var(--border)!important;margin:0 0 16px!important}
.app-main .help-center-source .settings-page-back{border-radius:999px!important;background:var(--card)!important;color:var(--fg)!important;border:1px solid var(--border)!important;width:34px!important;height:34px!important;flex:0 0 34px!important}
.app-main .help-center-source .settings-standalone-nav>span{font-size:12px!important;font-weight:500!important;color:var(--fg)!important}
.app-main .help-center-source .help-hero{padding:22px 18px 20px!important;margin:0 0 14px!important;border:1px solid var(--border)!important;border-radius:6px!important;background:#F6EFED!important;color:#24151A!important;box-shadow:none!important;text-align:center!important}
.app-main .help-center-source .help-hero>span{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;margin:0 auto 12px!important;border-radius:6px!important;background:#EAD6DD!important;color:#6B192A!important}
.app-main .help-center-source .help-hero h2{margin:0!important;font-size:23px!important;font-weight:400!important;line-height:1.25!important;letter-spacing:-.02em!important;color:#24151A!important}
.app-main .help-center-source .help-hero p{margin:7px 0 18px!important;font-size:13px!important;line-height:1.5!important;font-weight:400!important;opacity:1!important;color:#77676C!important}
.app-main .help-center-source .help-search{height:46px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:0 13px!important;border:1px solid #DCCBD0!important;border-radius:6px!important;background:#FFFDFB!important;color:#75636C!important;box-shadow:none!important}
.app-main .help-center-source .help-search .ico{flex:none!important;stroke-width:1.5!important;color:#806A72!important}
.app-main .help-center-source .help-search input{min-width:0!important;flex:1!important;height:100%!important;width:100%!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;color:#24151A!important;font:400 13px/1.4 'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;padding:0!important}
.app-main .help-center-source .help-search input::placeholder{color:#84757A!important;opacity:1!important}
.app-main .help-center-source .help-category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:0!important;margin:0 0 22px!important}
.app-main .help-center-source .help-category-grid a{display:flex!important;align-items:center!important;min-width:0!important;min-height:76px!important;gap:9px!important;padding:12px!important;background:var(--card)!important;border:1px solid var(--border)!important;border-radius:6px!important;color:var(--fg)!important;box-shadow:none!important;text-decoration:none!important}
.app-main .help-center-source .help-category-grid a>span{display:grid!important;place-items:center!important;min-width:24px!important;width:24px!important;height:30px!important;color:#6B192A!important}
.app-main .help-center-source .help-category-grid a strong{min-width:0!important;flex:1!important;font-size:12px!important;line-height:1.3!important;font-weight:500!important;color:var(--fg)!important;overflow-wrap:break-word!important}
.app-main .help-center-source .help-category-grid a>.ico:last-child{width:14px!important;flex:none!important;opacity:.6!important;color:var(--muted-dark)!important}
.app-main .help-center-source .help-results{padding:0!important;margin:6px 0 22px!important}
.app-main .help-center-source .help-results h3{font-size:16px!important;font-weight:500!important;line-height:1.3!important;color:var(--fg)!important;margin:0 0 10px!important}
.app-main .help-center-source .help-results>a{display:flex!important;align-items:center!important;gap:10px!important;padding:13px 2px!important;color:var(--fg)!important;border-bottom:1px solid var(--border)!important;background:transparent!important;text-decoration:none!important}
.app-main .help-center-source .help-results>a span{min-width:0!important;flex:1!important;display:grid!important;gap:3px!important}
.app-main .help-center-source .help-results small{font-size:10px!important;font-weight:400!important;color:var(--muted-dark)!important}
.app-main .help-center-source .help-results strong{font-size:13px!important;font-weight:500!important;line-height:1.4!important;color:var(--fg)!important}
.app-main .help-center-source .help-results>a>.ico{color:var(--muted-dark)!important}
.app-main .help-center-source .help-article{margin:0 0 18px!important;padding:18px!important;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--card)!important;color:var(--fg)!important;box-shadow:none!important}
.app-main .help-center-source .help-article>a{display:inline-flex!important;gap:6px!important;align-items:center!important;color:var(--muted-dark)!important;font-size:12px!important;text-decoration:none!important}
.app-main .help-center-source .help-article>span{display:block!important;font-size:11px!important;font-weight:500!important;letter-spacing:.11em!important;color:#92506A!important;text-transform:uppercase!important}
.app-main .help-center-source .help-article h2{font-size:21px!important;font-weight:400!important;line-height:1.25!important;margin:9px 0 14px!important;color:var(--fg)!important}
.app-main .help-center-source .help-article>div{font-size:13px!important;line-height:1.65!important;font-weight:400!important;color:var(--muted-dark)!important;overflow-wrap:anywhere!important}
.app-main .help-center-source .help-contact-card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:14px 0!important;padding:16px!important;border-radius:6px!important;border:1px solid var(--border)!important;background:var(--card)!important;color:var(--fg)!important;box-shadow:none!important}
.app-main .help-center-source .help-contact-card div{min-width:0!important;display:grid!important;gap:4px!important}
.app-main .help-center-source .help-contact-card strong{font-size:13px!important;line-height:1.3!important;font-weight:600!important;color:var(--fg)!important}
.app-main .help-center-source .help-contact-card span{font-size:12px!important;line-height:1.4!important;color:var(--muted-dark)!important}
.app-main .help-center-source .help-contact-card .btn{flex:none!important;min-height:38px!important;border-radius:6px!important;padding:9px 12px!important;font-size:12px!important;font-weight:600!important}
.app-main .help-center-source .help-contact-form{margin:14px 0!important;padding:18px!important;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--card)!important}
.app-main .help-center-source .help-contact-form h3{margin:0 0 14px!important;font-size:17px!important;font-weight:500!important;color:var(--fg)!important}
.app-main .help-center-source .help-contact-form .input,
.app-main .help-center-source .help-contact-form .select,
.app-main .help-center-source .help-contact-form .textarea{border-radius:6px!important;min-height:46px!important;background:var(--secondary)!important;color:var(--fg)!important;border:1px solid var(--border)!important;font-size:13px!important}
.app-main .help-center-source .help-contact-form .textarea{min-height:108px!important}
.app-main .help-center-source .help-contact-form .btn{border-radius:6px!important;min-height:46px!important}
.app-main .help-center-source .section-title{margin:22px 0 12px!important}
.app-main .help-center-source .section-title h2{font-size:16px!important;font-weight:500!important;color:var(--fg)!important}
.app-main .help-center-source .support-ticket-list{padding:0 0 16px!important;display:grid!important;gap:8px!important}
.app-main .help-center-source .support-ticket-row{border:1px solid var(--border)!important;border-radius:6px!important;background:var(--card)!important;color:var(--fg)!important;padding:14px!important;box-shadow:none!important}
.app-main .help-center-source .support-ticket-row h3{font-size:13px!important;font-weight:600!important;color:var(--fg)!important}
.app-main .help-center-source .support-ticket-row p{font-size:11px!important;line-height:1.35!important;color:var(--muted-dark)!important}
.app-main .help-center-source .support-ticket-source{padding:0!important}
.app-main .help-center-source .support-thread-back{font-size:12px!important;font-weight:500!important;color:var(--muted-dark)!important;text-decoration:none!important}
.app-main .help-center-source .support-thread-title{padding:16px!important;gap:12px!important;border:1px solid var(--border)!important;background:var(--card)!important;border-radius:6px!important;color:var(--fg)!important}
.app-main .help-center-source .support-thread-title span{font-size:11px!important;color:#A05B73!important;font-weight:600!important}
.app-main .help-center-source .support-thread-title h2{font-size:19px!important;font-weight:500!important;line-height:1.3!important;color:var(--fg)!important}
.app-main .help-center-source .support-thread-title p{font-size:12px!important;color:var(--muted-dark)!important;line-height:1.4!important}
.app-main .help-center-source .support-app-thread{display:grid!important;gap:10px!important}
.app-main .help-center-source .support-app-message{padding:14px!important;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--card)!important;color:var(--fg)!important}
.app-main .help-center-source .support-app-message.admin{background:#F7EAED!important}
.app-main .help-center-source .support-app-message.user{background:var(--secondary)!important}
.app-main .help-center-source .support-app-message strong{font-size:12px!important;color:var(--fg)!important;font-weight:600!important}
.app-main .help-center-source .support-app-message small{font-size:11px!important;color:var(--muted-dark)!important}
.app-main .help-center-source .support-app-message p{font-size:13px!important;line-height:1.55!important;font-weight:400!important;color:var(--fg)!important}
.app-main .help-center-source .support-app-reply{padding:14px!important;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--card)!important}
.app-main .help-center-source .support-app-reply .textarea{border:1px solid var(--border)!important;border-radius:6px!important;background:var(--secondary)!important;color:var(--fg)!important}
.app-main .help-center-source .support-app-reply .btn{min-height:46px!important;border-radius:6px!important}
.app-main .help-center-source .support-closed-note{padding:14px!important;border:1px solid var(--border)!important;border-radius:6px!important;background:var(--secondary)!important;color:var(--muted-dark)!important}

/* B — ACESSIBILIDADE: identidade nova SEM desativar switches/controles. */
.app-main .accessibility-page{font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;padding-bottom:110px!important;color:var(--fg)!important}
.app-main .accessibility-page .source-local-head{margin:0 0 20px!important;gap:12px!important;align-items:center!important}
.app-main .accessibility-page .source-local-head h2{font-size:24px!important;font-weight:300!important;line-height:1.2!important;letter-spacing:-.02em!important;color:var(--fg)!important}
.app-main .accessibility-page .source-local-head p{font-size:13px!important;font-weight:400!important;line-height:1.45!important;color:var(--muted-dark)!important}
.app-main .accessibility-page .settings-page-back{border-radius:999px!important;width:36px!important;height:36px!important;flex-basis:36px!important;background:var(--card)!important;border:1px solid var(--border)!important;color:var(--fg)!important}
.app-main .accessibility-page .accessibility-card{margin:0 0 14px!important;padding:4px 16px 16px!important;background:var(--card)!important;border:1px solid var(--border)!important;border-radius:6px!important;color:var(--fg)!important;box-shadow:none!important}
.app-main .accessibility-page .accessibility-card label{display:flex!important;min-height:76px!important;align-items:center!important;gap:14px!important;justify-content:space-between!important;border-bottom:1px solid var(--border)!important}
.app-main .accessibility-page .accessibility-card label span{min-width:0!important;flex:1 1 auto!important}
.app-main .accessibility-page .accessibility-card strong{font-size:14px!important;line-height:1.25!important;font-weight:600!important;color:var(--fg)!important}
.app-main .accessibility-page .accessibility-card small{font-size:12px!important;line-height:1.4!important;margin-top:5px!important;font-weight:400!important;color:var(--muted-dark)!important}
.app-main .accessibility-page .accessibility-card input[type="checkbox"][data-a11y-setting]{flex:0 0 42px!important;width:42px!important;height:24px!important;min-width:42px!important;border:1px solid #BDAEB3!important;border-radius:999px!important;background:#E1D9D8!important;appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important}
.app-main .accessibility-page .accessibility-card input[type="checkbox"][data-a11y-setting]::after{background:#FFF!important;border-radius:999px!important}
.app-main .accessibility-page .accessibility-card input[type="checkbox"][data-a11y-setting]:checked{background:#6B192A!important;border-color:#6B192A!important}
.app-main .accessibility-page .accessibility-card [data-a11y-reset]{min-height:43px!important;border-radius:6px!important;margin-top:12px!important;background:#EEE7E6!important;border:1px solid #DACFD1!important;color:#371A24!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important}
.app-main .accessibility-page .card.description{margin:0!important;padding:18px!important;background:var(--card)!important;color:var(--fg)!important;border:1px solid var(--border)!important;border-radius:6px!important;box-shadow:none!important}
.app-main .accessibility-page .card.description h3{margin:0 0 12px!important;font-size:16px!important;font-weight:500!important;color:var(--fg)!important}
.app-main .accessibility-page .card.description p{font-size:13px!important;line-height:1.65!important;color:var(--muted-dark)!important;font-weight:400!important;margin:0!important}

/* C — TERMOS E PRIVACIDADE: documento standalone, sem exigir login. */
html .alluzzi-legal-page{margin:0!important;min-height:100dvh!important;background:#F7F5F2!important;color:#24151A!important;font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important}
.alluzzi-legal-page .alluzzi-legal-shell{width:min(100%,430px)!important;max-width:430px!important;margin:0 auto!important;min-height:100dvh!important;padding:0!important;background:#F7F5F2!important;border-left:1px solid #E9E0DE!important;border-right:1px solid #E9E0DE!important;box-shadow:none!important}
.alluzzi-legal-page .alluzzi-legal-main{padding:30px 20px 64px!important;margin:0!important;min-height:100dvh!important;background:transparent!important;color:#24151A!important}
.alluzzi-legal-page .alluzzi-legal-top{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 22px!important}
.alluzzi-legal-page .alluzzi-legal-back{width:36px!important;height:36px!important;min-width:36px!important;display:grid!important;place-items:center!important;border:1px solid #DCCFD0!important;border-radius:999px!important;color:#6B192A!important;background:#FFFDFB!important;text-decoration:none!important}
.alluzzi-legal-page .alluzzi-legal-title{font-size:24px!important;line-height:1.25!important;font-weight:400!important;letter-spacing:-.025em!important;margin:0!important;color:#24151A!important}
.alluzzi-legal-page .alluzzi-legal-body{padding:20px!important;border:1px solid #E4DAD5!important;background:#FFFDFB!important;border-radius:6px!important;box-shadow:none!important;color:#44313A!important}
.alluzzi-legal-page .alluzzi-legal-body p{margin:0 0 18px!important;font-size:14px!important;font-weight:400!important;line-height:1.7!important;color:#64545B!important}
.alluzzi-legal-page .alluzzi-legal-body h2{margin:0 0 10px!important;font-size:16px!important;line-height:1.35!important;font-weight:600!important;color:#371A24!important}
.alluzzi-legal-page .alluzzi-legal-body p:last-child{margin-bottom:0!important}

/* D — TEMA ESCURO: sem quadros brancos, azulados ou texto ilegível. */
html[data-theme="dark"] .app-main .help-center-source,
html[data-theme="dark"] .app-main .accessibility-page{background:#12080A!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-main .help-center-source .help-hero{background:#1F0E0F!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-main .help-center-source .help-hero>span{background:#39202B!important;color:#F5DDE3!important}
html[data-theme="dark"] .app-main .help-center-source .help-hero h2{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .help-center-source .help-hero p{color:#CBBBC0!important}
html[data-theme="dark"] .app-main .help-center-source .help-search{background:#201419!important;border-color:#443038!important;color:#CBBBC0!important}
html[data-theme="dark"] .app-main .help-center-source .help-search .ico{color:#CBBBC0!important}
html[data-theme="dark"] .app-main .help-center-source .help-search input{background:transparent!important;border:none!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-main .help-center-source .help-search input::placeholder{color:#CBBBC0!important}
html[data-theme="dark"] .app-main .help-center-source .help-category-grid a,
html[data-theme="dark"] .app-main .help-center-source .help-contact-card,
html[data-theme="dark"] .app-main .help-center-source .help-article,
html[data-theme="dark"] .app-main .help-center-source .help-contact-form,
html[data-theme="dark"] .app-main .help-center-source .support-ticket-row,
html[data-theme="dark"] .app-main .help-center-source .support-thread-title,
html[data-theme="dark"] .app-main .help-center-source .support-app-message,
html[data-theme="dark"] .app-main .help-center-source .support-app-reply,
html[data-theme="dark"] .app-main .accessibility-page .accessibility-card,
html[data-theme="dark"] .app-main .accessibility-page .card.description{background:#1F0E0F!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .app-main .help-center-source .help-category-grid a>span{color:#F4DAE0!important}
html[data-theme="dark"] .app-main .help-center-source .help-category-grid a strong,
html[data-theme="dark"] .app-main .help-center-source .help-results h3,
html[data-theme="dark"] .app-main .help-center-source .help-results strong,
html[data-theme="dark"] .app-main .help-center-source .help-contact-card strong,
html[data-theme="dark"] .app-main .help-center-source .help-article h2,
html[data-theme="dark"] .app-main .help-center-source .help-contact-form h3,
html[data-theme="dark"] .app-main .help-center-source .support-ticket-row h3,
html[data-theme="dark"] .app-main .help-center-source .support-thread-title h2,
html[data-theme="dark"] .app-main .help-center-source .support-app-message strong,
html[data-theme="dark"] .app-main .help-center-source .support-app-message p,
html[data-theme="dark"] .app-main .accessibility-page .accessibility-card strong,
html[data-theme="dark"] .app-main .accessibility-page .card.description h3{color:#F5F1EE!important}
html[data-theme="dark"] .app-main .help-center-source .help-contact-card span,
html[data-theme="dark"] .app-main .help-center-source .help-article>div,
html[data-theme="dark"] .app-main .help-center-source .help-results small,
html[data-theme="dark"] .app-main .help-center-source .support-ticket-row p,
html[data-theme="dark"] .app-main .help-center-source .support-thread-title p,
html[data-theme="dark"] .app-main .help-center-source .support-app-message small,
html[data-theme="dark"] .app-main .accessibility-page .accessibility-card small,
html[data-theme="dark"] .app-main .accessibility-page .card.description p{color:#CBBBC0!important}
html[data-theme="dark"] .app-main .help-center-source .help-results>a{border-bottom-color:#443038!important}
html[data-theme="dark"] .app-main .help-center-source .help-article>span{color:#E6A3B5!important}
html[data-theme="dark"] .app-main .help-center-source .support-app-message.admin{background:#2B1620!important}
html[data-theme="dark"] .app-main .help-center-source .support-app-message.user{background:#24141A!important}
html[data-theme="dark"] .app-main .help-center-source .help-contact-form .input,
html[data-theme="dark"] .app-main .help-center-source .help-contact-form .select,
html[data-theme="dark"] .app-main .help-center-source .help-contact-form .textarea,
html[data-theme="dark"] .app-main .help-center-source .support-app-reply .textarea{background:#24141A!important;color:#F5F1EE!important;border-color:#443038!important}
html[data-theme="dark"] .app-main .help-center-source .support-closed-note{background:#24141A!important;color:#CBBBC0!important;border-color:#443038!important}
html[data-theme="dark"] .app-main .accessibility-page .accessibility-card label{border-bottom-color:#443038!important}
html[data-theme="dark"] .app-main .accessibility-page .accessibility-card input[type="checkbox"][data-a11y-setting]{background:#4C3C44!important;border-color:#6B5360!important}
html[data-theme="dark"] .app-main .accessibility-page .accessibility-card input[type="checkbox"][data-a11y-setting]:checked{background:#8A3850!important;border-color:#A76C7D!important}
html[data-theme="dark"] .app-main .accessibility-page .accessibility-card [data-a11y-reset]{background:#312029!important;color:#F5F1EE!important;border-color:#60414E!important}
html[data-theme="dark"].a11y-high-contrast .app-main .accessibility-page .accessibility-card,
html[data-theme="dark"].a11y-high-contrast .app-main .accessibility-page .card.description{border:2px solid #F5F1EE!important}
html[data-theme="dark"] .alluzzi-legal-page{background:#12080A!important;color:#F5F1EE!important}
html[data-theme="dark"] .alluzzi-legal-page .alluzzi-legal-shell{background:#12080A!important;border-color:#443038!important}
html[data-theme="dark"] .alluzzi-legal-page .alluzzi-legal-main{background:#12080A!important;color:#F5F1EE!important}
html[data-theme="dark"] .alluzzi-legal-page .alluzzi-legal-back{background:#24141A!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .alluzzi-legal-page .alluzzi-legal-title{color:#F5F1EE!important}
html[data-theme="dark"] .alluzzi-legal-page .alluzzi-legal-body{background:#1F0E0F!important;border-color:#443038!important;color:#F5F1EE!important}
html[data-theme="dark"] .alluzzi-legal-page .alluzzi-legal-body h2{color:#F5F1EE!important}
html[data-theme="dark"] .alluzzi-legal-page .alluzzi-legal-body p{color:#D9C8CC!important}

@media(max-width:380px){
  .app-main .help-center-source .help-category-grid{gap:8px!important}
  .app-main .help-center-source .help-category-grid a{padding:10px!important;gap:6px!important}
  .app-main .help-center-source .help-contact-card{align-items:flex-start!important;flex-direction:column!important}
}
@media(prefers-reduced-motion:reduce){
  .alluzzi-legal-page *{animation:none!important;transition:none!important}
}
/* Preserve the actual accessibility settings when large text/contrast is selected. */
html.a11y-large-text .app-main .accessibility-page .source-local-head h2{font-size:27px!important}
html.a11y-large-text .app-main .accessibility-page .accessibility-card label{min-height:90px!important}
html.a11y-large-text .app-main .accessibility-page .accessibility-card strong{font-size:16px!important}
html.a11y-large-text .app-main .accessibility-page .accessibility-card small{font-size:15px!important}
html.a11y-large-text .app-main .accessibility-page .card.description h3{font-size:18px!important}
html.a11y-large-text .app-main .accessibility-page .card.description p{font-size:15px!important}
html.a11y-large-text .app-main .help-center-source .help-hero p,
html.a11y-large-text .app-main .help-center-source .help-results strong,
html.a11y-large-text .app-main .help-center-source .help-category-grid a strong{font-size:15px!important}
html.a11y-high-contrast .app-main .help-center-source .help-hero,
html.a11y-high-contrast .app-main .help-center-source .help-category-grid a,
html.a11y-high-contrast .app-main .help-center-source .help-contact-card,
html.a11y-high-contrast .app-main .help-center-source .help-article,
html.a11y-high-contrast .app-main .accessibility-page .accessibility-card,
html.a11y-high-contrast .app-main .accessibility-page .card.description{border-width:2px!important}


/* Alluzzi v1.30 — Fale Conosco: scroll interno após abrir o formulário. */
.app-main .help-center-source #alluzzi-support-contact{scroll-margin-top:72px!important}
@media(max-width:420px){.app-main .help-center-source #alluzzi-support-contact{scroll-margin-top:68px!important}}

/* Alluzzi v1.31 — Botão "Ver mais" na Home
 * Corrige regra herdada que exibia preenchimento branco.
 * Estilo Lovable: contorno fino, fundo transparente, cantos de 6px.
 * Escopo restrito à área de perfis/lojas da Home; preserva o link PHP.
 */
.app-shell .app-main .home-directory-head > a.home-see-more {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:78px!important;
  min-height:35px!important;
  height:35px!important;
  padding:0 12px!important;
  margin:0!important;
  border:1px solid var(--border)!important;
  border-radius:6px!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--fg)!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  text-shadow:none!important;
  white-space:nowrap!important;
  opacity:1!important;
}
.app-shell .app-main .home-directory-head > a.home-see-more:hover {
  background:var(--secondary)!important;
}
.app-shell .app-main .home-directory-head > a.home-see-more:focus-visible {
  outline:2px solid var(--accent)!important;
  outline-offset:2px!important;
}
html[data-theme="dark"] .app-shell .app-main .home-directory-head > a.home-see-more {
  color:#F5F1EE!important;
  background:transparent!important;
  background-image:none!important;
  border-color:#443038!important;
}
html[data-theme="dark"] .app-shell .app-main .home-directory-head > a.home-see-more:hover {
  background:#2D1D24!important;
}

/* ================================================================
   Alluzzi v1.32 — Home: superfícies fiéis ao Lovable
   Remove a camada cinza herdada de alluzzi-app.css/app.css.
   - Botão Minha Loja INATIVO: fundo vinho uniforme, sem sombra.
   - Busca: campo interno transparente; superfície vinho única.
   - Mantém tamanho, rotas, autocomplete, filtro e cantos 6px.
   ================================================================ */

/* A regra antiga tinha background !important mais específico. */
html[data-theme="dark"] body .app-shell .mode-switch a:not(.active){
  background:#2D1D24!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
  color:#CBBBC0!important;
  border-radius:6px!important;
}
html:not([data-theme="dark"]) body .app-shell .mode-switch a:not(.active){
  background:#ECE5E0!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  color:#74666B!important;
  border-radius:6px!important;
}

/* O wrapper é a única superfície colorida; o input não desenha
   uma segunda camada azulada, mesmo sob as regras genéricas do tema. */
html[data-theme="dark"] body .app-shell .app-main .home-search-row .smart-search-wrap .search-field{
  background:#201419!important;
  background-image:none!important;
  border:1px solid #443038!important;
  border-radius:6px!important;
  box-shadow:none!important;
  filter:none!important;
}
html:not([data-theme="dark"]) body .app-shell .app-main .home-search-row .smart-search-wrap .search-field{
  background:#FCFAF8!important;
  background-image:none!important;
  border:1px solid #E4DAD5!important;
  border-radius:6px!important;
  box-shadow:none!important;
  filter:none!important;
}

/* Supera o seletor legado html[data-theme] .app-main input:not(...)
   sem afetar qualquer outro campo de formulário do Alluzzi. */
html[data-theme="dark"] body .app-shell .app-main .home-search-row .smart-search-wrap .search-field input.search-input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html:not([data-theme="dark"]) body .app-shell .app-main .home-search-row .smart-search-wrap .search-field input.search-input:not([type="checkbox"]):not([type="radio"]):not([type="range"]){
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  border:0!important;
  outline:0!important;
  filter:none!important;
  border-radius:0!important;
}
html[data-theme="dark"] body .app-shell .app-main .home-search-row .search-field input.search-input{
  color:#F5F1EE!important;
  caret-color:#F5F1EE!important;
}
html[data-theme="dark"] body .app-shell .app-main .home-search-row .search-field input.search-input::placeholder{
  color:#C7B3B8!important;
  opacity:1!important;
}
html:not([data-theme="dark"]) body .app-shell .app-main .home-search-row .search-field input.search-input{
  color:#24151A!important;
  caret-color:#24151A!important;
}
html:not([data-theme="dark"]) body .app-shell .app-main .home-search-row .search-field input.search-input::placeholder{
  color:#74666B!important;
  opacity:1!important;
}
/* Acessibilidade: indicador de foco discreto, não cinza interno. */
body .app-shell .app-main .home-search-row .smart-search-wrap .search-field:focus-within{
  outline:2px solid var(--al-ruby)!important;
  outline-offset:2px!important;
}

/* ================================================================
   Alluzzi v1.33 - Home / Minha Loja + Lojas
   Elimina a faixa cinza da caixa-pai dos dois links.
   O legado alluzzi-app.css define no modo escuro:
   html[data-theme="dark"] .app-main .home-directory-tabs {
      background:#202128!important; ...
   }
   Por isso o ajuste anterior (sem !important) nao prevalecia.
   Escopo restrito aos botoes da Home; sem PHP ou JS.
   ================================================================ */
body .app-shell .app-main .home-directory-head .home-directory-tabs,
html[data-theme="dark"] body .app-shell .app-main .home-directory-head .home-directory-tabs,
html:not([data-theme="dark"]) body .app-shell .app-main .home-directory-head .home-directory-tabs {
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body .app-shell .app-main .home-directory-head .home-directory-tabs a {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:35px!important;
  padding:0 14px!important;
  border-radius:6px!important;
  box-shadow:none!important;
  background-image:none!important;
  text-decoration:none!important;
}
html[data-theme="dark"] body .app-shell .app-main .home-directory-head .home-directory-tabs a:not(.active){
  background:transparent!important;
  border:1px solid #443038!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] body .app-shell .app-main .home-directory-head .home-directory-tabs a.active{
  background:#6B192A!important;
  border:1px solid #6B192A!important;
  color:#fff!important;
}
html:not([data-theme="dark"]) body .app-shell .app-main .home-directory-head .home-directory-tabs a:not(.active){
  background:transparent!important;
  border:1px solid #E4DAD5!important;
  color:#3E0C17!important;
}
html:not([data-theme="dark"]) body .app-shell .app-main .home-directory-head .home-directory-tabs a.active{
  background:#6B192A!important;
  border:1px solid #6B192A!important;
  color:#fff!important;
}


/* ===============================================================
   ALLUZZI v1.37 — app iPhone: barra fiel, wordmark sem recorte.
   Sem alterações em rotas, menu e funções.
   =============================================================== */
.app-header{
  overflow:visible!important;
  position:sticky!important;top:0!important;
  z-index:30!important;flex-shrink:0!important;
}
.app-header .alluzzi-brand{
  display:inline-flex!important;align-items:center!important;
  flex:0 0 auto!important;min-height:30px!important;
  max-height:none!important;overflow:visible!important;
}
.app-header .alluzzi-brand .alluzzi-brand-logo{
  width:104px!important;max-width:104px!important;
  height:auto!important;max-height:34px!important;
  object-fit:contain!important;object-position:left center!important;
  flex-shrink:0!important;
}
/* Barra inferior: ícones e textos equilibrados, fundo selecionado discreto. */
.bottom-nav{border-radius:6px!important;overflow:hidden!important}
.bottom-nav-inner{grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important}
.bottom-nav a{border-radius:6px!important;font-weight:400!important;line-height:1.12!important;white-space:nowrap!important}
.bottom-nav a .ico,.bottom-nav a .alluzzi-icon{
  width:22px!important;height:22px!important;
  stroke-width:1.65!important;flex-shrink:0!important;
}
.bottom-nav a span{line-height:1.1!important}
html[data-theme="dark"] .bottom-nav{background:rgba(33,19,25,.97)!important;border-color:#4A303B!important}
html[data-theme="dark"] .bottom-nav a{color:#D7C7CD!important}
html[data-theme="dark"] .bottom-nav a.active{background:#432A35!important;color:#F5F1EE!important}
@media(max-width:699px){
  .bottom-nav{
    width:min(calc(100% - 20px),396px)!important;
    bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;
  }
  .bottom-nav-inner{min-height:68px!important;padding:7px 6px!important;gap:3px!important}
  .bottom-nav a{min-height:52px!important;padding:6px 2px!important;gap:4px!important;font-size:11px!important}
  .app-main{padding-bottom:max(106px,calc(90px + env(safe-area-inset-bottom,0px)))!important}
}
@media(display-mode:standalone) and (max-width:699px){
  /* viewport-fit=cover no iOS: proteger a marca da ilha dinâmica/status bar. */
  body{padding-top:env(safe-area-inset-top,0px)!important;box-sizing:border-box!important}
  .app-shell{height:calc(100dvh - env(safe-area-inset-top,0px))!important;min-height:0!important}
  .app-header{top:0!important}
}


/* =====================================================================
   ALLUZZI v1.38 | iPhone - wordmark visivel sem recorte na area superior
   Correção no fluxo do header, sem mudar links, icones ou funcao das rotas.
   ===================================================================== */
@media(max-width:699px){
  .app-shell .app-header{
    position:sticky!important;top:0!important;
    height:58px!important;min-height:58px!important;
    padding:14px 20px 8px!important;
    box-sizing:border-box!important;
    display:flex!important;align-items:center!important;
    overflow:visible!important;
  }
  .app-shell .app-header .alluzzi-brand{
    display:inline-flex!important;align-items:center!important;
    width:auto!important;min-height:32px!important;height:32px!important;
    max-height:none!important;overflow:visible!important;
    line-height:0!important;flex-shrink:0!important;
  }
  .app-shell .app-header .alluzzi-brand .alluzzi-brand-logo{
    width:104px!important;max-width:104px!important;
    height:auto!important;max-height:30px!important;
    object-fit:contain!important;object-position:left center!important;
    flex:0 0 auto!important;
    transform:none!important;position:relative!important;
  }
}
@media(display-mode:standalone) and (max-width:699px){
  /* O safe-area-top ja e aplicado ao body na v1.37: nao duplicar no header. */
  .app-shell .app-header{top:0!important}
}

/* ===============================================================
   ALLUZZI v1.40 — Detalhe do Pedido no novo tema Lovable
   Fidelidade visual à identidade vinho/mineral, Overpass e 6px.
   Mantém a lógica PHP existente; altera apenas apresentação.
   =============================================================== */
.app-main .order-detail-source{
  --order-detail-card-bg:var(--order-card-bg, #FCFAF8);
  --order-detail-card-border:var(--order-card-border, #E4DAD5);
  --order-detail-line:var(--order-line, #EAE0DB);
  --order-detail-text:var(--order-text, #24151A);
  --order-detail-secondary:var(--order-secondary, #67565D);
  --order-detail-soft:#F4EEEA;
  --order-detail-soft-border:#E8DBD4;
  margin:0 -20px!important;
  padding:10px 20px 34px!important;
  background:transparent!important;
  color:var(--order-detail-text)!important;
}
.app-main .order-detail-source .rental-verification-gate{
  margin:0 0 14px!important;
}
.app-main .order-detail-source .order-detail-kpis{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 10px!important;
}
.app-main .order-detail-source .order-kpi{
  min-width:0!important;
  padding:14px!important;
  border:1px solid var(--order-detail-card-border)!important;
  border-radius:6px!important;
  background:var(--order-detail-card-bg)!important;
  color:var(--order-detail-text)!important;
  box-shadow:none!important;
}
.app-main .order-detail-source .order-kpi small{
  display:block!important;
  margin:0 0 8px!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:500!important;
  color:var(--order-detail-secondary)!important;
}
.app-main .order-detail-source .order-kpi strong{
  display:block!important;
  margin:0!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:15px!important;
  line-height:1.28!important;
  font-weight:600!important;
  letter-spacing:-.01em!important;
  color:var(--order-detail-text)!important;
  overflow-wrap:anywhere!important;
}
.app-main .order-detail-source .order-detail-panel,
.app-main .order-detail-source .order-history-card,
.app-main .order-detail-source .return-journey-card,
.app-main .order-detail-source .order-review-card,
.app-main .order-detail-source > .card{
  margin:0 0 14px!important;
  padding:14px!important;
  border:1px solid var(--order-detail-card-border)!important;
  border-radius:6px!important;
  background:var(--order-detail-card-bg)!important;
  color:var(--order-detail-text)!important;
  box-shadow:none!important;
}
.app-main .order-detail-source .order-detail-item{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:0!important;
  background:transparent!important;
  border:none!important;
}
.app-main .order-detail-source .order-detail-item img{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  border-radius:6px!important;
  object-fit:cover!important;
}
.app-main .order-detail-source .order-detail-item .grow{min-width:0!important}
.app-main .order-detail-source .order-detail-item h3{
  margin:0!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:600!important;
  color:var(--order-detail-text)!important;
}
.app-main .order-detail-source .order-detail-item p{
  margin:4px 0 0!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:400!important;
  color:var(--order-detail-secondary)!important;
}
.app-main .order-detail-source .order-detail-item strong{
  display:block!important;
  margin:6px 0 0!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:600!important;
  color:var(--order-detail-text)!important;
}
.app-main .order-detail-source .divider{
  margin:14px 0!important;
  border-color:var(--order-detail-line)!important;
}
.app-main .order-detail-source .order-detail-meta-grid{
  gap:12px!important;
}
.app-main .order-detail-source .order-detail-meta{
  min-width:0!important;
}
.app-main .order-detail-source .order-detail-meta .label,
.app-main .order-detail-source .order-detail-highlight .label,
.app-main .order-detail-source .source-section-head span,
.app-main .order-detail-source .order-timeline-content small,
.app-main .order-detail-source .review-helper{
  color:var(--order-detail-secondary)!important;
}
.app-main .order-detail-source .order-detail-meta strong,
.app-main .order-detail-source .order-detail-highlight strong{
  display:block!important;
  margin-top:6px!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:600!important;
  color:var(--order-detail-text)!important;
  overflow-wrap:anywhere!important;
}
.app-main .order-detail-source .order-detail-highlight{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}
.app-main .order-detail-source .order-detail-highlight .tracking-code{
  color:#7B2638!important;
}
.app-main .order-detail-source .order-detail-highlight .pickup-code{
  font-size:20px!important;
  letter-spacing:.18em!important;
}
.app-main .order-detail-source .order-detail-section-head,
.app-main .order-detail-source .source-section-head{
  margin:0 0 10px!important;
}
.app-main .order-detail-source .source-section-head h3{
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:500!important;
  color:var(--order-detail-text)!important;
}
.app-main .order-detail-source .order-timeline{
  display:grid!important;
  gap:12px!important;
}
.app-main .order-detail-source .order-timeline-item{
  position:relative!important;
  display:flex!important;
  gap:10px!important;
  align-items:flex-start!important;
}
.app-main .order-detail-source .order-timeline-item + .order-timeline-item::before{
  content:'';
  position:absolute;
  left:5px;
  top:-12px;
  width:1px;
  height:12px;
  background:var(--order-detail-line);
}
.app-main .order-detail-source .order-timeline-dot{
  width:11px!important;
  height:11px!important;
  margin-top:5px!important;
  border-radius:999px!important;
  background:#74D7A0!important;
  box-shadow:0 0 0 3px rgba(116,215,160,.16)!important;
  flex:0 0 11px!important;
}
.app-main .order-detail-source .order-timeline-content{
  min-width:0!important;
}
.app-main .order-detail-source .order-timeline-content strong{
  display:block!important;
  font-size:15px!important;
  line-height:1.28!important;
  font-weight:600!important;
  color:var(--order-detail-text)!important;
}
.app-main .order-detail-source .order-timeline-content small{
  display:block!important;
  margin-top:3px!important;
  font-size:11px!important;
  line-height:1.35!important;
}
.app-main .order-detail-source .order-timeline-content p{
  margin:6px 0 0!important;
  font-size:12px!important;
  line-height:1.45!important;
  color:var(--order-detail-secondary)!important;
}
.app-main .order-detail-source .return-journey-card .source-section-head,
.app-main .order-detail-source .order-review-card .source-section-head{
  align-items:flex-start!important;
}
.app-main .order-detail-source .return-journey-card .source-section-head span{
  font-size:11px!important;
}
.app-main .order-detail-source .return-journey-steps{
  gap:10px!important;
  margin-top:8px!important;
}
.app-main .order-detail-source .return-step{
  min-width:0!important;
  padding:10px!important;
  border:1px solid var(--order-detail-soft-border)!important;
  border-radius:6px!important;
  background:var(--order-detail-soft)!important;
}
.app-main .order-detail-source .return-step i{
  width:24px!important;
  height:24px!important;
  border-radius:999px!important;
}
.app-main .order-detail-source .stack{
  display:grid!important;
  gap:10px!important;
}
.app-main .order-detail-source .stack form{margin:0!important}
.app-main .order-detail-source .stack .btn.block{min-height:44px!important}
.app-main .order-detail-source .order-review-card .select,
.app-main .order-detail-source .order-review-card .textarea,
.app-main .order-detail-source .modal-card .select,
.app-main .order-detail-source .modal-card .textarea,
.app-main .order-detail-source .modal-card .input{
  border-radius:6px!important;
}
html[data-theme="dark"] .app-main .order-detail-source{
  background:#12080A!important;
  --order-detail-card-bg:#1F0E0F;
  --order-detail-card-border:#493039;
  --order-detail-line:#3D2830;
  --order-detail-text:#F5F1EE;
  --order-detail-secondary:#C8B6BC;
  --order-detail-soft:#2A171D;
  --order-detail-soft-border:#50343D;
}
html[data-theme="dark"] .app-main .order-detail-source .order-kpi,
html[data-theme="dark"] .app-main .order-detail-source .order-detail-panel,
html[data-theme="dark"] .app-main .order-detail-source .order-history-card,
html[data-theme="dark"] .app-main .order-detail-source .return-journey-card,
html[data-theme="dark"] .app-main .order-detail-source .order-review-card,
html[data-theme="dark"] .app-main .order-detail-source > .card{
  background:var(--order-detail-card-bg)!important;
  border-color:var(--order-detail-card-border)!important;
  color:var(--order-detail-text)!important;
}
html[data-theme="dark"] .app-main .order-detail-source .order-detail-highlight .tracking-code{
  color:#E6B9C4!important;
}
html[data-theme="dark"] .app-main .order-detail-source .order-timeline-dot{
  background:#7EE2A9!important;
  box-shadow:0 0 0 3px rgba(126,226,169,.18)!important;
}
@media(max-width:380px){
  .app-main .order-detail-source .order-kpi{padding:12px!important}
  .app-main .order-detail-source .order-kpi strong{font-size:14px!important}
  .app-main .order-detail-source .order-detail-item h3,
  .app-main .order-detail-source .order-timeline-content strong{font-size:14px!important}
  .app-main .order-detail-source .order-detail-item strong{font-size:15px!important}
  .app-main .order-detail-source .order-detail-highlight .pickup-code{font-size:18px!important;letter-spacing:.14em!important}
}


/* ===============================================================
   ALLUZZI v1.41 — Refino tipográfico do detalhe do pedido
   Alinha a tela de pedido com a linguagem tipográfica do detalhe do produto.
   =============================================================== */
.app-main .order-detail-source,
.app-main .order-detail-source *{
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
}
.app-main .order-detail-source .order-detail-kpis{
  gap:12px!important;
  margin-bottom:14px!important;
}
.app-main .order-detail-source .order-kpi{
  padding:15px 14px 14px!important;
}
.app-main .order-detail-source .order-kpi small,
.app-main .order-detail-source .order-detail-meta .label,
.app-main .order-detail-source .order-detail-highlight .label{
  margin:0!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:500!important;
  text-transform:uppercase!important;
  letter-spacing:.18em!important;
  color:var(--order-detail-secondary)!important;
}
.app-main .order-detail-source .order-kpi strong{
  margin-top:6px!important;
  font-size:18px!important;
  line-height:1.3!important;
  font-weight:400!important;
  letter-spacing:-.012em!important;
}
.app-main .order-detail-source .order-detail-kpis .order-kpi:first-child strong{
  font-size:24px!important;
  line-height:1.18!important;
  font-weight:400!important;
}
.app-main .order-detail-source .order-detail-panel,
.app-main .order-detail-source .order-history-card,
.app-main .order-detail-source .return-journey-card,
.app-main .order-detail-source .order-review-card,
.app-main .order-detail-source > .card{
  padding:16px!important;
}
.app-main .order-detail-source .order-detail-item h3{
  margin:0!important;
  font-size:24px!important;
  line-height:1.28!important;
  font-weight:300!important;
  letter-spacing:-.012em!important;
}
.app-main .order-detail-source .order-detail-item p{
  margin:5px 0 0!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:400!important;
  color:var(--order-detail-secondary)!important;
}
.app-main .order-detail-source .order-detail-item strong{
  margin-top:8px!important;
  font-size:24px!important;
  line-height:1.24!important;
  font-weight:400!important;
  color:var(--order-detail-text)!important;
}
.app-main .order-detail-source .order-detail-meta strong,
.app-main .order-detail-source .order-detail-highlight strong{
  margin-top:6px!important;
  font-size:14px!important;
  line-height:1.48!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.app-main .order-detail-source .order-detail-highlight .pickup-code{
  font-size:22px!important;
  line-height:1.15!important;
  font-weight:500!important;
  letter-spacing:.16em!important;
}
.app-main .order-detail-source .source-section-head h3,
.app-main .order-detail-source .order-detail-section-head h3,
.app-main .order-detail-source .section-title h2{
  margin:0!important;
  font-size:24px!important;
  line-height:1.28!important;
  font-weight:300!important;
  letter-spacing:-.012em!important;
  color:var(--order-detail-text)!important;
}
.app-main .order-detail-source .source-section-head span,
.app-main .order-detail-source .order-detail-section-head span{
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:400!important;
  letter-spacing:.08em!important;
  text-transform:none!important;
}
.app-main .order-detail-source .order-timeline{
  gap:14px!important;
}
.app-main .order-detail-source .order-timeline-item{
  gap:12px!important;
}
.app-main .order-detail-source .order-timeline-content strong{
  font-size:16px!important;
  line-height:1.34!important;
  font-weight:500!important;
  letter-spacing:-.01em!important;
}
.app-main .order-detail-source .order-timeline-content small{
  margin-top:3px!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:400!important;
}
.app-main .order-detail-source .order-timeline-content p,
.app-main .order-detail-source .review-helper,
.app-main .order-detail-source .return-step p{
  margin:6px 0 0!important;
  font-size:14px!important;
  line-height:1.7!important;
  font-weight:400!important;
  color:var(--order-detail-secondary)!important;
}
.app-main .order-detail-source .return-step strong,
.app-main .order-detail-source .order-review-card .source-section-head h3{
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:500!important;
}
.app-main .order-detail-source .review-helper{margin:0 0 10px!important}
@media(max-width:420px){
  .app-main .order-detail-source .order-detail-item h3{font-size:19px!important}
  .app-main .order-detail-source .order-detail-item strong{font-size:18px!important}
  .app-main .order-detail-source .source-section-head h3,
  .app-main .order-detail-source .order-detail-section-head h3,
  .app-main .order-detail-source .section-title h2{font-size:18px!important}
  .app-main .order-detail-source .order-kpi strong{font-size:16px!important}
  .app-main .order-detail-source .order-detail-kpis .order-kpi:first-child strong{font-size:22px!important}
}
/* =============================================================
   ALLUZZI v1.44 · Carrinho e checkout · consolidação visual
   Design System: Overpass / Cabernet / Dark Mineral / cantos 6px
   Escopo: /app/Cart, /app/checkout e /app/payment.
   Somente apresentação: não alterar formulários, métodos, cálculos,
   validações, rotas, integração de pagamento nem comportamento dos botões.
   ============================================================= */

/* 1. Carrinho: geometria e hierarquia visual compartilhadas. */
.app-shell .app-main .fidelity-cart .source-local-head h2{
  font-family:'Alluzzi Overpass',Overpass,sans-serif!important;
  font-weight:300!important;letter-spacing:-.016em!important;
}
.app-shell .app-main .fidelity-cart .source-explore-pill{
  border-radius:6px!important;
  background:var(--al-burgundy)!important;
  color:#fff!important;
  font-weight:500!important;
}
.app-shell .app-main .fidelity-cart-group{
  border-radius:6px!important;
  border-color:var(--border)!important;
  background:var(--card)!important;
}
.app-shell .app-main .fidelity-cart-thumb,
.app-shell .app-main .fidelity-cart-trash,
.app-shell .app-main .fidelity-shipping-options label>span,
.app-shell .app-main .fidelity-cart-total-row .btn.primary{
  border-radius:6px!important;
}
.app-shell .app-main .fidelity-cart-thumb{
  border:1px solid var(--border)!important;
}
.app-shell .app-main .fidelity-cart-trash{
  background:var(--secondary)!important;
  color:var(--fg)!important;
}
.app-shell .app-main .fidelity-cart .fidelity-shipping>small{
  font-weight:500!important;letter-spacing:.16em!important;
}
.app-shell .app-main .fidelity-cart-item h3{
  font-weight:500!important;letter-spacing:-.01em!important;
}
.app-shell .app-main .fidelity-cart-item strong,
.app-shell .app-main .fidelity-cart-total-row>div strong{
  font-weight:600!important;
}
.app-shell .app-main .fidelity-cart .fidelity-shipping-options label>span{
  background:var(--card)!important;
  border-color:var(--border)!important;
  color:var(--fg)!important;
}
.app-shell .app-main .fidelity-cart .fidelity-shipping-options input:checked+span{
  background:var(--fg)!important;
  border-color:var(--fg)!important;
  color:var(--bg)!important;
}
.app-shell .app-main .fidelity-cart .fidelity-shipping-options input:checked+span :is(.ico,b,small){
  color:inherit!important;
}
.app-shell .app-main .fidelity-cart-total-row .btn.primary{
  background:var(--fg)!important;
  border-color:var(--fg)!important;
  color:var(--bg)!important;
  box-shadow:none!important;
  font-weight:500!important;
}
html[data-theme="dark"] .app-shell .app-main .fidelity-cart .source-explore-pill{
  background:var(--al-ruby)!important;color:#fff!important;
}
html[data-theme="dark"] .app-shell .app-main .fidelity-cart-trash{
  background:#361D28!important;color:#E6BEC8!important;
}
html[data-theme="dark"] .app-shell .app-main .fidelity-cart .fidelity-shipping-options label>span{
  background:#25151C!important;
  border-color:#49333C!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-shell .app-main .fidelity-cart .fidelity-shipping-options input:checked+span{
  background:#F5F1EE!important;border-color:#F5F1EE!important;color:#24151A!important;
}
html[data-theme="dark"] .app-shell .app-main .fidelity-cart-total-row .btn.primary{
  background:#F5F1EE!important;border-color:#F5F1EE!important;color:#24151A!important;
}

/* 2. Tokens exclusivos das folhas de pagamento: nenhum cinza frio. */
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet){
  --al-checkout-surface:#FCFAF8;
  --al-checkout-subtle:#F5F1EE;
  --al-checkout-text:#24151A;
  --al-checkout-muted:#74666B;
  --al-checkout-border:#E4DAD5;
  --al-checkout-accent:#6B192A;
  --al-checkout-selection:#3E0C17;
  --al-checkout-selection-ink:#fff;
  width:min(480px,100%)!important;
  border-radius:6px 6px 0 0!important;
  border:1px solid var(--al-checkout-border)!important;
  border-bottom:0!important;
  background:var(--al-checkout-surface)!important;
  color:var(--al-checkout-text)!important;
  box-shadow:0 -18px 48px rgba(28,9,15,.23)!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  -webkit-font-smoothing:antialiased;
  overscroll-behavior-y:contain;
}
html[data-theme="dark"] .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet){
  --al-checkout-surface:#201419;
  --al-checkout-subtle:#2A1921;
  --al-checkout-text:#F5F1EE;
  --al-checkout-muted:#D0BEC4;
  --al-checkout-border:#49333C;
  --al-checkout-accent:#9A415A;
  --al-checkout-selection:#F5F1EE;
  --al-checkout-selection-ink:#24151A;
  box-shadow:0 -18px 48px rgba(0,0,0,.44)!important;
}
html[data-theme="dark"] .source-route-overlay{
  background:rgba(12,4,8,.73)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet),
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) :is(input,textarea,select,button){
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
}

/* Cabeçalho e área rolável: evitar faixas cinzas e margens excedentes. */
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-modal-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:18px 20px 14px!important;
  margin:0!important;
  background:var(--al-checkout-surface)!important;
  border-bottom:1px solid var(--al-checkout-border)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-modal-head h3{
  margin:0!important;
  color:var(--al-checkout-text)!important;
  font-size:20px!important;line-height:1.25!important;
  letter-spacing:-.018em!important;font-weight:500!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-modal-head p{
  margin:4px 0 0!important;background:transparent!important;
  color:var(--al-checkout-muted)!important;
  font-size:13px!important;line-height:1.4!important;font-weight:400!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-modal-head>a{
  display:grid!important;place-items:center!important;
  width:34px!important;height:34px!important;
  border-radius:6px!important;
  border:1px solid var(--al-checkout-border)!important;
  background:var(--al-checkout-subtle)!important;
  color:var(--al-checkout-text)!important;
  font-size:22px!important;font-weight:300!important;text-decoration:none!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-checkout-body{
  padding:18px 20px calc(24px + env(safe-area-inset-bottom,0px))!important;
  gap:20px!important;
  background:var(--al-checkout-surface)!important;
  color:var(--al-checkout-text)!important;
}

/* Produto, subtotal, frete e preço. */
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-summary{
  border:1px solid var(--al-checkout-border)!important;
  border-radius:6px!important;
  background:var(--al-checkout-subtle)!important;
  overflow:hidden!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-item{
  border-color:var(--al-checkout-border)!important;
  background:transparent!important;
  padding:14px!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-thumb{
  border:1px solid var(--al-checkout-border)!important;
  border-radius:6px!important;
  background:var(--al-checkout-surface)!important;
  overflow:hidden!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-item .grow{
  min-width:0!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-item strong{
  font-size:14px!important;line-height:1.35!important;
  font-weight:500!important;letter-spacing:0!important;
  color:var(--al-checkout-text)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-item small{
  margin-top:3px!important;font-size:12px!important;line-height:1.35!important;
  font-weight:400!important;color:var(--al-checkout-muted)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-item>b{
  flex:0 0 auto!important;
  font-size:13px!important;line-height:1.35!important;
  color:var(--al-checkout-text)!important;font-weight:600!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-price-breakdown{
  gap:8px!important;background:transparent!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-price-breakdown>div{
  color:var(--al-checkout-muted)!important;
  font-size:13px!important;font-weight:400!important;line-height:1.4!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-price-breakdown>.total{
  border-top:1px solid var(--al-checkout-border)!important;
  color:var(--al-checkout-text)!important;
  padding-top:12px!important;margin-top:4px!important;
  font-size:15px!important;font-weight:500!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-price-breakdown>.total strong{
  color:var(--al-checkout-text)!important;font-weight:600!important;
}

/* Cupons, cartão, datas de locação e endereço. */
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-checkout-section>small{
  display:block!important;margin-bottom:10px!important;
  color:var(--al-checkout-muted)!important;
  font-size:12px!important;line-height:1.35!important;
  letter-spacing:.14em!important;font-weight:500!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) :is(.fidelity-checkout-section .input,.rental-period-grid .input,.fidelity-payment-method .input,.address-box){
  border-radius:6px!important;
  background:var(--al-checkout-subtle)!important;
  border:1px solid var(--al-checkout-border)!important;
  color:var(--al-checkout-text)!important;
  box-shadow:none!important;
  font-size:14px!important;font-weight:400!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) :is(.fidelity-checkout-section .input,.rental-period-grid .input,.fidelity-payment-method .input)::placeholder{
  color:var(--al-checkout-muted)!important;
  opacity:.82!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) :is(.fidelity-checkout-section .input,.rental-period-grid .input,.fidelity-payment-method .input):focus-visible{
  outline:2px solid var(--al-checkout-accent)!important;
  outline-offset:1px!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .rental-period-grid label span,
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .rental-period-feedback,
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-method .label{
  color:var(--al-checkout-muted)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .address-box{
  padding:12px!important;line-height:1.5!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .address-box strong{
  color:var(--al-checkout-text)!important;
}

/* Tabs PIX e cartão: sem cinza de UI anterior. */
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-tabs{
  display:flex!important;gap:8px!important;margin:0!important;
  padding:0!important;background:transparent!important;
  border-radius:6px!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-tabs .payment-tab{
  flex:1!important;min-height:42px!important;
  padding:11px 12px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  border-radius:6px!important;
  border:1px solid var(--al-checkout-border)!important;
  background:var(--al-checkout-subtle)!important;
  color:var(--al-checkout-text)!important;
  box-shadow:none!important;
  font-size:13px!important;font-weight:500!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-tabs .payment-tab.active{
  border-color:var(--al-checkout-selection)!important;
  background:var(--al-checkout-selection)!important;
  color:var(--al-checkout-selection-ink)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-tabs .payment-tab :is(.ico,span){
  color:inherit!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-tabs .payment-tab:focus-visible{
  outline:2px solid var(--al-checkout-accent)!important;outline-offset:2px!important;
}

/* PIX, botões e mensagens de segurança. */
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-pix-panel{
  border:1px solid var(--al-checkout-border)!important;
  border-radius:6px!important;
  background:var(--al-checkout-subtle)!important;
  color:var(--al-checkout-text)!important;
  padding:18px 14px!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-pix-panel>.ico{
  color:var(--al-checkout-text)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-pix-panel p{
  margin:12px 0 4px!important;
  color:var(--al-checkout-text)!important;
  font-size:14px!important;line-height:1.55!important;font-weight:400!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-pix-panel span{
  color:var(--al-checkout-muted)!important;
  font-size:12px!important;line-height:1.5!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-copy-pix{
  width:100%!important;min-height:40px!important;
  margin-top:14px!important;padding:10px 12px!important;
  background:var(--al-checkout-surface)!important;
  border:1px solid var(--al-checkout-border)!important;
  color:var(--al-checkout-text)!important;
  border-radius:6px!important;
  font-size:13px!important;font-weight:500!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-copy-pix.copied{
  background:#153526!important;border-color:#307653!important;color:#A1E6BF!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-security-note{
  border-radius:6px!important;
  border:1px solid #34604E!important;
  background:#173226!important;
  color:#B2EBC8!important;
  padding:10px 12px!important;
  font-size:11px!important;font-weight:500!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-checkout-section .btn.light{
  border-radius:6px!important;background:var(--al-checkout-subtle)!important;
  border:1px solid var(--al-checkout-border)!important;color:var(--al-checkout-text)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-confirm-pay{
  min-height:48px!important;padding:14px 16px!important;
  border-radius:6px!important;
  background:var(--al-checkout-accent)!important;
  border:1px solid var(--al-checkout-accent)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:14px!important;font-weight:600!important;
  letter-spacing:0!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-confirm-pay:disabled{
  opacity:.53!important;cursor:not-allowed!important;
}
@media(max-width:380px){
  .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-modal-head{padding:15px 15px 12px!important}
  .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-checkout-body{padding:15px 15px calc(20px + env(safe-area-inset-bottom,0px))!important;gap:17px!important}
  .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-item{gap:9px!important;padding:10px!important}
  .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-item strong{font-size:12px!important}
  .app-shell .app-main .fidelity-cart .source-explore-pill{font-size:11px!important;padding:8px!important}
}
@media(prefers-reduced-motion:reduce){
  .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) *{transition:none!important;animation:none!important}
}


/* =============================================================
   Alluzzi · v1.45 · Check-out / PIX / cartão — refinamento final
   Preserva integralmente estrutura, handlers, POST e fluxos do checkout.
   ============================================================= */
/* Isolamento rigoroso: as classes checkout/payment são obrigatórias.
   Os tokens locais evitam reaproveitar cinzas de estilos legados. */
.source-route-overlay .source-route-sheet.fidelity-checkout-sheet,
.source-route-overlay .source-route-sheet.fidelity-payment-sheet{
  --al-pay-bg:#FCFAF8;
  --al-pay-card:#F7F2EF;
  --al-pay-field:#F6F0EC;
  --al-pay-stroke:#E2D6D3;
  --al-pay-ink:#24151A;
  --al-pay-sub:#74636A;
  --al-pay-hint:#88757B;
  --al-pay-primary:#6B192A;
  --al-pay-focus:#8B4057;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-weight:400!important;
  font-variant-numeric:tabular-nums;
  letter-spacing:0!important;
  background-color:var(--al-pay-bg)!important;
  color:var(--al-pay-ink)!important;
}
html[data-theme="dark"] .source-route-overlay .source-route-sheet.fidelity-checkout-sheet,
html[data-theme="dark"] .source-route-overlay .source-route-sheet.fidelity-payment-sheet{
  --al-pay-bg:#201419;
  --al-pay-card:#291820;
  --al-pay-field:#2C1A22;
  --al-pay-stroke:#50343E;
  --al-pay-ink:#F5F1EE;
  --al-pay-sub:#D5C3C8;
  --al-pay-hint:#B8A5AB;
  --al-pay-primary:#762237;
  --al-pay-focus:#D89AAC;
  color-scheme:dark;
}
/* Nossos valores são propagados a todos os painéis reais do formulário,
   inclusive aos inputs antigos .input que tinham o fundo #17191D. */
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) :is(
 .fidelity-checkout-body,
 .fidelity-order-summary,
 .fidelity-order-item,
 .fidelity-payment-method,
 .fidelity-payment-method .payment-panel,
 .fidelity-payment-method .form-group,
 .fidelity-payment-method .form-grid
){color:var(--al-pay-ink)!important;font-family:inherit!important}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-summary{
  background-color:var(--al-pay-card)!important;
  border-color:var(--al-pay-stroke)!important;
  border-radius:6px!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-item{
  border-bottom-color:var(--al-pay-stroke)!important;
}
.source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-order-thumb{
  background-color:var(--al-pay-field)!important;
  border-radius:6px!important;
}
/* Card / cupom / datas / campos de endereço: impedir qualquer fundo de
   inputs genéricos escuros herdados da versão antiga. */
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) input.input:not([type="checkbox"]):not([type="radio"]),
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) select.input,
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) textarea.input{
  box-sizing:border-box!important;
  min-height:44px!important;
  padding:11px 12px!important;
  border:1px solid var(--al-pay-stroke)!important;
  border-radius:6px!important;
  background:var(--al-pay-field)!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--al-pay-ink)!important;
  caret-color:var(--al-pay-ink)!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:none!important;
  -webkit-text-fill-color:var(--al-pay-ink)!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) input.input::placeholder,
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) textarea.input::placeholder{
  color:var(--al-pay-hint)!important;
  -webkit-text-fill-color:var(--al-pay-hint)!important;
  opacity:1!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) :is(input.input,textarea.input,select.input):focus-visible{
  outline:2px solid var(--al-pay-focus)!important;
  outline-offset:1px!important;
  border-color:var(--al-pay-focus)!important;
}
/* Chrome / Safari: autofill (inclusive nome e número do cartão) não deve
   reintroduzir uma superfície azulada/cinza. */
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) input.input:-webkit-autofill,
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) input.input:-webkit-autofill:hover,
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) input.input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--al-pay-ink)!important;
  -webkit-box-shadow:0 0 0 1000px var(--al-pay-field) inset!important;
  box-shadow:0 0 0 1000px var(--al-pay-field) inset!important;
  caret-color:var(--al-pay-ink)!important;
  transition:background-color 9999s ease-out 0s;
}
/* Tipografia: os labels legados estavam em maiúsculas excessivamente
   pesadas, com tracking próprio do tema anterior. */
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-checkout-section>small,
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-method .payment-panel .label,
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .rental-period-grid label>span{
  display:block!important;
  margin:0 0 8px!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:500!important;
  letter-spacing:.065em!important;
  text-transform:uppercase!important;
  color:var(--al-pay-sub)!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-method .payment-panel .form-group{
  margin-bottom:14px!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-method .payment-panel .form-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px!important;
  margin-bottom:0!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-method .payment-panel .form-grid>div{
  min-width:0!important;
}
/* Opções PIX e cartão continuam com destaque marfim discreto. */
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-tabs{
  background:transparent!important;
  border:0!important;
  border-radius:6px!important;
  padding:0!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-tabs button.payment-tab{
  background:var(--al-pay-card)!important;
  color:var(--al-pay-ink)!important;
  border:1px solid var(--al-pay-stroke)!important;
  border-radius:6px!important;
  box-shadow:none!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:13px!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-tabs button.payment-tab.active{
  background:var(--al-checkout-selection)!important;
  color:var(--al-checkout-selection-ink)!important;
  border-color:var(--al-checkout-selection)!important;
  font-weight:500!important;
}
/* A região do PIX deixava um tom de cinza distinto do card principal. */
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-pix-panel{
  background:var(--al-pay-card)!important;
  border:1px solid var(--al-pay-stroke)!important;
  color:var(--al-pay-ink)!important;
  border-radius:6px!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-pix-panel p{
  color:var(--al-pay-ink)!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.5!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-copy-pix{
  background:var(--al-pay-field)!important;
  border:1px solid var(--al-pay-stroke)!important;
  color:var(--al-pay-ink)!important;
  border-radius:6px!important;
  font-size:12px!important;
  font-weight:500!important;
  box-shadow:none!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-copy-pix.copied{
  background:#153526!important;
  border-color:#307653!important;
  color:#A1E6BF!important;
}
/* Valor total / ações: remover bold desnecessário e preservar contraste. */
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-price-breakdown>.total strong{
  color:var(--al-pay-ink)!important;
  font-size:15px!important;
  font-weight:600!important;
  letter-spacing:0!important;
}
html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-confirm-pay{
  border-radius:6px!important;
  background:var(--al-pay-primary)!important;
  border:1px solid var(--al-pay-primary)!important;
  color:#fff!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:0!important;
}
/* Valor e texto de segurança ficam legíveis, sem o verde neon de sistema. */
html[data-theme="dark"] .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-security-note{
  background:#173026!important;
  border-color:#315544!important;
  color:#B8E2CD!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-weight:400!important;
  border-radius:6px!important;
}
@media(max-width:380px){
  html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-checkout-body{
    padding-inline:14px!important;
  }
  html .source-route-overlay .source-route-sheet:is(.fidelity-checkout-sheet,.fidelity-payment-sheet) .fidelity-payment-method .payment-panel .label{
    font-size:10.5px!important;letter-spacing:.045em!important;
  }
}


/* ===========================================================
   Alluzzi 1.46 | Lista de mensagens: coerência do tema
   Corrige regra legada de app.css que pinta cada .chat-row de
   cinza azulado mesmo com .chat-list em bordô. Escopo apenas
   à lista de conversas /app/Chat, sem mudar rotas ou eventos.
   =========================================================== */
.app-main .chat-list-source .chat-list{
  overflow:hidden!important;
  border-radius:6px!important;
  background:#FCFAF8!important;
  border:1px solid #E4DAD5!important;
  box-shadow:none!important;
}
.app-main .chat-list-source .chat-list .chat-row{
  background:#FCFAF8!important;
  color:#24151A!important;
  border-bottom:1px solid #E4DAD5!important;
  text-decoration:none!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  box-shadow:none!important;
  transition:background-color .16s ease!important;
}
.app-main .chat-list-source .chat-list .chat-row:last-child{
  border-bottom:0!important;
}
.app-main .chat-list-source .chat-list .chat-row:hover,
.app-main .chat-list-source .chat-list .chat-row:focus-visible{
  background:#F1E7E6!important;
}
.app-main .chat-list-source .chat-list .chat-row h3{
  color:#24151A!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:0!important;
}
.app-main .chat-list-source .chat-list .chat-row p{
  color:#74666B!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:12px!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.app-main .chat-list-source .chat-list .chat-row .avatar{
  border-radius:50%!important;
  background:#F1E2E5!important;
  border:1px solid #E9D7DC!important;
  color:#3E0C17!important;
}
html[data-theme="dark"] .app-main .chat-list-source .chat-list{
  background:#201419!important;
  border-color:#443038!important;
}
html[data-theme="dark"] .app-main .chat-list-source .chat-list .chat-row{
  background:#201419!important;
  border-color:#443038!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .chat-list-source .chat-list .chat-row:hover,
html[data-theme="dark"] .app-main .chat-list-source .chat-list .chat-row:focus-visible{
  background:#2D1D24!important;
}
html[data-theme="dark"] .app-main .chat-list-source .chat-list .chat-row h3{
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .chat-list-source .chat-list .chat-row p{
  color:#CBBBC0!important;
}
html[data-theme="dark"] .app-main .chat-list-source .chat-list .chat-row .avatar{
  background:#2D1D24!important;
  color:#F5F1EE!important;
  border-color:#4A3340!important;
}
html[data-theme="dark"] .app-main .chat-list-source .source-local-head h2{
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-main .chat-list-source .source-local-head p{
  color:#CBBBC0!important;
}
@media(prefers-reduced-motion:reduce){
  .app-main .chat-list-source .chat-list .chat-row{
    transition:none!important;
  }
}


/* ================================================================
   ALLUZZI · Painel Gerencial / Receita — identidade consolidada
   Contextos: /app/SellerDashboard e /app/seller-revenue
   Apenas camada visual. Sem alteracoes em calculos, rotas, formularios
   de filtros, exportacao CSV, modais, eventos ou estados financeiros.
   Geometria base: 6px. Paleta: Cabernet, Burgundy, Dark Mineral.
   ================================================================ */
.app-main .seller-dashboard-source.alluzzi-seller-overview,
.app-main .seller-revenue-detail.revenue-reference-v57 {
  --al-seller-surface:#FCFAF8;
  --al-seller-soft:#F2E8E9;
  --al-seller-ink:#24151A;
  --al-seller-sub:#74666B;
  --al-seller-stroke:#E4DAD5;
  --al-seller-highlight:#3E0C17;
  --al-seller-action:#6B192A;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  color:var(--al-seller-ink)!important;
  font-size:14px!important;
  letter-spacing:0!important;
}
html[data-theme="dark"] .app-main .seller-dashboard-source.alluzzi-seller-overview,
html[data-theme="dark"] .app-main .seller-revenue-detail.revenue-reference-v57 {
  --al-seller-surface:#201419;
  --al-seller-soft:#2D1D24;
  --al-seller-ink:#F5F1EE;
  --al-seller-sub:#C7B3B8;
  --al-seller-stroke:#443038;
  --al-seller-highlight:#3E0C17;
  --al-seller-action:#6B192A;
}

/* Painel principal: manter exatamente os cards e os links existentes. */
.app-main .alluzzi-seller-overview .seller-greeting h2,
.app-main .alluzzi-seller-overview .source-page-title h2,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings-head h3 {
  color:var(--al-seller-ink)!important;
}
.app-main .alluzzi-seller-overview .seller-greeting>span,
.app-main .alluzzi-seller-overview .seller-greeting>p,
.app-main .alluzzi-seller-overview .seller-performance-head>p,
.app-main .alluzzi-seller-overview .seller-secondary-actions a,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-listings-head>a {
  color:var(--al-seller-sub)!important;
}
.app-main .alluzzi-seller-overview .source-revenue-card.alluzzi-seller-overview-revenue {
  min-height:138px!important;
  border:1px solid #713542!important;
  border-radius:6px!important;
  background:var(--al-seller-highlight)!important;
  box-shadow:none!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue>small,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom>span {
  color:#E3CFD4!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom strong {
  color:#F5F1EE!important;
  font-size:28px!important;
  font-weight:400!important;
}
.app-main .alluzzi-seller-overview .seller-function-card,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-empty {
  background:var(--al-seller-surface)!important;
  border:1px solid var(--al-seller-stroke)!important;
  border-radius:6px!important;
  box-shadow:none!important;
  color:var(--al-seller-ink)!important;
}
.app-main .alluzzi-seller-overview .seller-function-card .kpi-top,
.app-main .alluzzi-seller-overview .seller-function-card>span,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison>h3,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>span,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>small,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-empty>p {
  color:var(--al-seller-sub)!important;
}
.app-main .alluzzi-seller-overview .seller-function-card>strong,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card>strong {
  color:var(--al-seller-ink)!important;
  font-weight:500!important;
}
.app-main .alluzzi-seller-overview .seller-function-card .kpi-top .ico {
  color:#B47286!important;
  background:none!important;
}
.app-main .alluzzi-seller-overview .seller-function-card .kpi-top {
  font-size:12px!important;
}
.app-main .alluzzi-seller-overview .seller-function-card>span {
  font-size:12px!important;
  line-height:1.4!important;
}
.app-main .alluzzi-seller-overview .seller-all-pill,
.app-main .alluzzi-seller-overview .seller-filter-trigger,
.app-main .alluzzi-seller-overview .seller-primary-actions a,
.app-main .alluzzi-seller-overview .seller-filter-popover-card,
.app-main .alluzzi-seller-overview .seller-filter-popover-card input[type="date"],
.app-main .alluzzi-seller-overview .seller-filter-chips label>span,
.app-main .alluzzi-seller-overview .seller-filter-buttons a,
.app-main .alluzzi-seller-overview .seller-filter-buttons button {
  border-radius:6px!important;
}
.app-main .alluzzi-seller-overview .seller-all-pill {
  background:var(--al-seller-soft)!important;
  color:var(--al-seller-ink)!important;
  border:1px solid var(--al-seller-stroke)!important;
}
.app-main .alluzzi-seller-overview .seller-filter-trigger,
.app-main .alluzzi-seller-overview .seller-filter-popover-card {
  background:var(--al-seller-surface)!important;
  color:var(--al-seller-ink)!important;
  border:1px solid var(--al-seller-stroke)!important;
}
.app-main .alluzzi-seller-overview .seller-filter-popover[open] .seller-filter-trigger,
.app-main .alluzzi-seller-overview .seller-filter-trigger.active {
  background:var(--al-seller-soft)!important;
  border-color:#925568!important;
}
.app-main .alluzzi-seller-overview .seller-filter-popover-card section+section {
  border-top:1px solid var(--al-seller-stroke)!important;
}
.app-main .alluzzi-seller-overview .seller-filter-popover-card section>strong,
.app-main .alluzzi-seller-overview .seller-filter-popover-card section>label>span {
  color:var(--al-seller-sub)!important;
  font-size:11px!important;
  font-weight:500!important;
  letter-spacing:.05em!important;
}
.app-main .alluzzi-seller-overview .seller-filter-popover-card input[type="date"],
.app-main .alluzzi-seller-overview .seller-filter-chips label>span {
  background:var(--al-seller-soft)!important;
  border:1px solid var(--al-seller-stroke)!important;
  color:var(--al-seller-ink)!important;
  font-size:11px!important;
  font-weight:400!important;
}
.app-main .alluzzi-seller-overview .seller-filter-chips input:checked+span,
.app-main .alluzzi-seller-overview .seller-filter-buttons button {
  background:var(--al-seller-action)!important;
  border-color:var(--al-seller-action)!important;
  color:#FFFFFF!important;
}
.app-main .alluzzi-seller-overview .seller-filter-buttons a {
  background:var(--al-seller-soft)!important;
  color:var(--al-seller-ink)!important;
}
.app-main .alluzzi-seller-overview .seller-primary-actions a {
  font-weight:500!important;
  font-size:13px!important;
  border-color:var(--al-seller-stroke)!important;
}
.app-main .alluzzi-seller-overview .seller-primary-actions a:not(.primary){
  background:var(--al-seller-surface)!important;
  color:var(--al-seller-ink)!important;
}
.app-main .alluzzi-seller-overview .seller-primary-actions a.primary {
  background:#F5F1EE!important;
  border-color:#F5F1EE!important;
  color:#3E0C17!important;
}
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-grid .product-card {
  border-radius:6px!important;
  border-color:var(--al-seller-stroke)!important;
}
.app-main .alluzzi-seller-overview .seller-function-card:hover,
.app-main .alluzzi-seller-overview .alluzzi-seller-overview-comparison-card:hover {
  border-color:#925568!important;
}

/* Financeiro detalhado: remover os azuis/cinzas antigos do tema herdado. */
.app-main .seller-revenue-detail.revenue-reference-v57 {
  padding:0 0 calc(110px + env(safe-area-inset-bottom))!important;
}
.app-main .seller-revenue-detail .source-local-head.revenue-v57-head {
  margin:0 0 16px!important;
  padding:0!important;
}
.app-main .seller-revenue-detail .revenue-v57-head h2 {
  margin:0!important;
  font-size:24px!important;
  font-weight:400!important;
  letter-spacing:-.025em!important;
  line-height:1.2!important;
  color:var(--al-seller-ink)!important;
}
.app-main .seller-revenue-detail .revenue-v57-head p {
  margin:6px 0 0!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.4!important;
  color:var(--al-seller-sub)!important;
}
.app-main .seller-revenue-detail .revenue-v57-filter-row {
  margin-bottom:18px!important;
  gap:8px!important;
}
.app-main .seller-revenue-detail .source-pills.revenue-v57-pills a,
.app-main .seller-revenue-detail .revenue-v57-filter>summary {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  border:1px solid var(--al-seller-stroke)!important;
  border-radius:6px!important;
  background:var(--al-seller-surface)!important;
  color:var(--al-seller-sub)!important;
  padding:7px 11px!important;
  font-size:11px!important;
  font-weight:500!important;
  box-shadow:none!important;
}
.app-main .seller-revenue-detail .source-pills.revenue-v57-pills a.active,
.app-main .seller-revenue-detail .revenue-v57-filter>summary.active {
  background:var(--al-seller-action)!important;
  color:#FFFFFF!important;
  border-color:var(--al-seller-action)!important;
}
.app-main .seller-revenue-detail .revenue-v57-filter>summary {
  width:34px!important;
  min-width:34px!important;
  padding:7px!important;
}
.app-main .seller-revenue-detail .revenue-v57-filter-card {
  border-radius:6px!important;
  background:var(--al-seller-surface)!important;
  border-color:var(--al-seller-stroke)!important;
  color:var(--al-seller-ink)!important;
  box-shadow:0 12px 30px rgba(10,3,6,.22)!important;
}
.app-main .seller-revenue-detail .revenue-v57-filter-card>strong,
.app-main .seller-revenue-detail .revenue-v57-filter-dates span {
  color:var(--al-seller-sub)!important;
  font-size:11px!important;
  font-weight:500!important;
}
.app-main .seller-revenue-detail .revenue-v57-filter-dates input {
  border:1px solid var(--al-seller-stroke)!important;
  border-radius:6px!important;
  background:var(--al-seller-soft)!important;
  color:var(--al-seller-ink)!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:11px!important;
  font-weight:400!important;
}
.app-main .seller-revenue-detail .revenue-v57-filter-actions a,
.app-main .seller-revenue-detail .revenue-v57-filter-actions button {
  border-radius:6px!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  font-size:11px!important;
  font-weight:500!important;
}
.app-main .seller-revenue-detail .revenue-v57-filter-actions a {
  background:var(--al-seller-soft)!important;
  color:var(--al-seller-ink)!important;
}
.app-main .seller-revenue-detail .revenue-v57-filter-actions button {
  background:var(--al-seller-action)!important;
  color:#FFFFFF!important;
}
.app-main .seller-revenue-detail .seller-revenue-hero.revenue-v57-hero {
  display:grid!important;
  gap:4px!important;
  margin:0 0 22px!important;
  padding:18px!important;
  background:var(--al-seller-surface)!important;
  border:1px solid var(--al-seller-stroke)!important;
  border-radius:6px!important;
  box-shadow:none!important;
  color:var(--al-seller-ink)!important;
}
.app-main .seller-revenue-detail .revenue-v57-hero small,
.app-main .seller-revenue-detail .revenue-v57-hero span {
  color:var(--al-seller-sub)!important;
  opacity:1!important;
  font-size:12px!important;
  font-weight:400!important;
}
.app-main .seller-revenue-detail .revenue-v57-hero strong {
  color:var(--al-seller-ink)!important;
  font-size:28px!important;
  font-weight:500!important;
  line-height:1.2!important;
}
.app-main .seller-revenue-detail .revenue-v57-section {
  margin-top:22px!important;
}
.app-main .seller-revenue-detail .revenue-v57-eyebrow {
  color:var(--al-seller-sub)!important;
  font-size:11px!important;
  font-weight:500!important;
  letter-spacing:.15em!important;
  line-height:1.45!important;
  margin-bottom:12px!important;
}
.app-main .seller-revenue-detail .revenue-v57-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.app-main .seller-revenue-detail .revenue-v57-card {
  padding:14px!important;
  border:1px solid var(--al-seller-stroke)!important;
  border-radius:6px!important;
  background:var(--al-seller-surface)!important;
  box-shadow:none!important;
  color:var(--al-seller-ink)!important;
}
.app-main .seller-revenue-detail .revenue-v57-card>strong {
  color:var(--al-seller-ink)!important;
  font-size:19px!important;
  font-weight:500!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  overflow-wrap:anywhere!important;
}
.app-main .seller-revenue-detail .revenue-v57-label,
.app-main .seller-revenue-detail .revenue-v57-mini-title {
  color:var(--al-seller-sub)!important;
  font-size:11px!important;
  font-weight:500!important;
  letter-spacing:.05em!important;
}
.app-main .seller-revenue-detail .revenue-v57-label .ico {
  color:#BA7D91!important;
  width:14px!important;
  height:14px!important;
}
.app-main .seller-revenue-detail .revenue-v57-dot {
  background:#B47286!important;
}
.app-main .seller-revenue-detail .revenue-v57-rental .revenue-v57-dot {
  background:#C996A5!important;
}
.app-main .seller-revenue-detail .revenue-v57-card em {
  color:var(--al-seller-sub)!important;
  font-size:11px!important;
  font-weight:400!important;
}
.app-main .seller-revenue-detail .revenue-v57-rule {
  background:var(--al-seller-stroke)!important;
  margin:12px 0 10px!important;
}
.app-main .seller-revenue-detail .revenue-v57-meta span,
.app-main .seller-revenue-detail .revenue-v57-card>small {
  color:var(--al-seller-sub)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.4!important;
}
.app-main .seller-revenue-detail .revenue-v57-card strong.amber {
  color:#B17819!important;
}
.app-main .seller-revenue-detail .revenue-v57-card strong.green {
  color:#177453!important;
}
html[data-theme="dark"] .app-main .seller-revenue-detail .revenue-v57-card strong.amber {
  color:#E6BB6A!important;
}
html[data-theme="dark"] .app-main .seller-revenue-detail .revenue-v57-card strong.green {
  color:#6DD2AC!important;
}
.app-main .seller-revenue-detail .source-section-head.revenue-v57-transactions-head {
  margin:24px 0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
.app-main .seller-revenue-detail .revenue-v57-transactions-head h3 {
  color:var(--al-seller-ink)!important;
  font-size:16px!important;
  font-weight:500!important;
  letter-spacing:0!important;
}
.app-main .seller-revenue-detail .revenue-v57-transactions-head>a {
  color:var(--al-seller-sub)!important;
  font-size:12px!important;
  font-weight:500!important;
  text-decoration:none!important;
}
.app-main .seller-revenue-detail .seller-revenue-orders.revenue-v57-orders>a,
.app-main .seller-revenue-detail .revenue-v57-orders>.source-empty {
  border:1px solid var(--al-seller-stroke)!important;
  background:var(--al-seller-surface)!important;
  color:var(--al-seller-ink)!important;
  border-radius:6px!important;
  box-shadow:none!important;
}
.app-main .seller-revenue-detail .revenue-v57-orders>a strong,
.app-main .seller-revenue-detail .revenue-v57-orders>a b {
  color:var(--al-seller-ink)!important;
  font-weight:500!important;
  font-size:12px!important;
}
.app-main .seller-revenue-detail .revenue-v57-orders>a small {
  color:var(--al-seller-sub)!important;
  font-size:11px!important;
  font-weight:400!important;
}
.app-main .seller-revenue-detail .revenue-v57-orders>a:hover,
.app-main .seller-revenue-detail .revenue-v57-orders>a:focus-visible {
  background:var(--al-seller-soft)!important;
  outline-offset:2px;
}
@media(max-width:380px){
  .app-main .seller-revenue-detail .revenue-v57-card {padding:11px!important;}
  .app-main .seller-revenue-detail .revenue-v57-label {font-size:10px!important;}
  .app-main .seller-revenue-detail .revenue-v57-card>strong {font-size:17px!important;}
  .app-main .seller-revenue-detail .revenue-v57-grid {gap:8px!important;}
  .app-main .alluzzi-seller-overview .seller-function-card {padding:12px!important;}
}
@media(prefers-reduced-motion:reduce){
  .app-main .alluzzi-seller-overview .seller-function-card,
  .app-main .seller-revenue-detail .revenue-v57-orders>a {transition:none!important;}
}

/* =====================================================================
   ALLUZZI v1.48 | Card principal Painel Gerencial | inversao por tema
   Escopo: /app/SellerDashboard — somente o link do card principal.
   Modo escuro: fundo marfim da marca e tipografia Dark Mineral.
   Modo claro: fundo preto mineral e textos brancos.
   Outros KPIs/links, valores, rotas e funcoes: sem alteracoes.
   ===================================================================== */
html[data-theme="dark"] body .app-shell .app-main .alluzzi-seller-overview a.source-revenue-card.alluzzi-seller-overview-revenue {
  background:#F5F1EE!important;
  color:#111111!important;
  border:1px solid #F5F1EE!important;
  border-radius:6px!important;
  box-shadow:none!important;
}
html[data-theme="dark"] body .app-shell .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue>small,
html[data-theme="dark"] body .app-shell .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom>strong,
html[data-theme="dark"] body .app-shell .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom>span,
html[data-theme="dark"] body .app-shell .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom .ico {
  color:#111111!important;
}
html:not([data-theme="dark"]) body .app-shell .app-main .alluzzi-seller-overview a.source-revenue-card.alluzzi-seller-overview-revenue {
  background:#111111!important;
  color:#FFFFFF!important;
  border:1px solid #111111!important;
  border-radius:6px!important;
  box-shadow:none!important;
}
html:not([data-theme="dark"]) body .app-shell .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue>small,
html:not([data-theme="dark"]) body .app-shell .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom>strong,
html:not([data-theme="dark"]) body .app-shell .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom>span,
html:not([data-theme="dark"]) body .app-shell .app-main .alluzzi-seller-overview .alluzzi-seller-overview-revenue-bottom .ico {
  color:#FFFFFF!important;
}

/* ========================================================================
   ALLUZZI v1.53 | Configuracoes /app/settings
   Revisao visual da pagina principal e paineis internos (somente CSS).
   6px nos cards, campos, botoes, icones e controles; paleta oficial,
   Overpass e modos claro/escuro. Rotas, JS, POST e dados preservados.
   ======================================================================== */
.app-main .alluzzi-settings-page{
  --al-st-bg: #F5F1EE;
  --al-st-surface: #FCFAF8;
  --al-st-border: #E2D6D4;
  --al-st-ink: #24151A;
  --al-st-muted: #74666B;
  --al-st-icon-bg: #F1E4E7;
  --al-st-icon-ink: #6B192A;
  --al-st-hover: #F4E9E9;
  --al-st-action: #6B192A;
  --al-st-danger: #A7354B;
  color:var(--al-st-ink)!important;
  font-family:'Alluzzi Overpass',Overpass,system-ui,sans-serif!important;
  padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;
}
html[data-theme="dark"] .app-main .alluzzi-settings-page{
  --al-st-bg: #12080A;
  --al-st-surface: #241419;
  --al-st-border: #4A3038;
  --al-st-ink: #F5F1EE;
  --al-st-muted: #CFB9BE;
  --al-st-icon-bg: #3E202A;
  --al-st-icon-ink: #EAC5CE;
  --al-st-hover: #321C23;
  --al-st-action: #8D354F;
  --al-st-danger: #F0A2B0;
}
.app-main .alluzzi-settings-page .alluzzi-settings-intro,
.app-main .alluzzi-settings-page .alluzzi-settings-subhead{margin:0 0 16px!important;padding:0!important}
.app-main .alluzzi-settings-page .alluzzi-settings-intro h1,
.app-main .alluzzi-settings-page .alluzzi-settings-subhead h1{
  color:var(--al-st-ink)!important;font-size:22px!important;font-weight:400!important;
  letter-spacing:-.02em!important;line-height:1.25!important
}
.app-main .alluzzi-settings-page .alluzzi-settings-intro p,
.app-main .alluzzi-settings-page .alluzzi-settings-subhead p{
  color:var(--al-st-muted)!important;margin:5px 0 0!important;
  font-size:12px!important;line-height:1.45!important;font-weight:400!important
}
/* Each entry is a distinct, moderately square card. */
.app-main .alluzzi-settings-page .alluzzi-settings-group{
  display:flex!important;flex-direction:column!important;gap:8px!important;
  padding:0!important;margin-left:0!important;margin-right:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  overflow:visible!important;box-shadow:none!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-main-group{margin-top:0!important}
.app-main .alluzzi-settings-page .alluzzi-settings-actions{margin-top:14px!important}
.app-main .alluzzi-settings-page .alluzzi-settings-group>.alluzzi-settings-row,
.app-main .alluzzi-settings-page .alluzzi-settings-delete-form>.alluzzi-settings-row{
  box-sizing:border-box!important;
  display:flex!important;align-items:center!important;gap:12px!important;
  width:100%!important;min-width:0!important;min-height:72px!important;
  padding:12px 14px!important;margin:0!important;
  background:var(--al-st-surface)!important;color:var(--al-st-ink)!important;
  border:1px solid var(--al-st-border)!important;border-radius:6px!important;
  box-shadow:none!important;outline-offset:2px!important;
  text-decoration:none!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-group>.alluzzi-settings-row:hover,
.app-main .alluzzi-settings-page .alluzzi-settings-group>.alluzzi-settings-row:focus-visible,
.app-main .alluzzi-settings-page .alluzzi-settings-delete-form>.alluzzi-settings-row:hover,
.app-main .alluzzi-settings-page .alluzzi-settings-delete-form>.alluzzi-settings-row:focus-visible{
  background:var(--al-st-hover)!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-row:focus-visible{
  outline:2px solid var(--al-st-action)!important;outline-offset:2px!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-row-icon{
  display:grid!important;place-items:center!important;
  flex:0 0 38px!important;width:38px!important;height:38px!important;
  border-radius:6px!important;background:var(--al-st-icon-bg)!important;
  color:var(--al-st-icon-ink)!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-row-icon>.ico,
.app-main .alluzzi-settings-page .alluzzi-settings-row-icon svg{
  width:19px!important;height:19px!important;stroke-width:1.6!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-row-content{
  min-width:0!important;flex:1 1 0!important;gap:2px!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-row-content strong{
  font-size:13.5px!important;line-height:1.35!important;font-weight:500!important;
  color:var(--al-st-ink)!important;letter-spacing:0!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-row-content small{
  font-size:11.25px!important;line-height:1.4!important;font-weight:400!important;
  color:var(--al-st-muted)!important;white-space:normal!important;overflow:visible!important;
  text-overflow:clip!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-chevron{
  flex:0 0 18px!important;color:var(--al-st-muted)!important;opacity:.9!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-chevron>.ico{
  width:17px!important;height:17px!important;stroke-width:1.5!important;
}
/* Appearance switch: keeps the existing JS, only changes geometry. */
.app-main .alluzzi-settings-page .alluzzi-settings-toggle{
  flex:0 0 44px!important;width:44px!important;height:25px!important;
  border:1px solid var(--al-st-border)!important;border-radius:6px!important;
  background:var(--al-st-hover)!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-toggle>span{
  width:19px!important;height:19px!important;top:2px!important;left:2px!important;
  border-radius:4px!important;background:var(--al-st-surface)!important;
  box-shadow:0 1px 3px rgba(0,0,0,.12)!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-theme-row[aria-pressed="true"] .alluzzi-settings-toggle{
  background:var(--al-st-action)!important;border-color:var(--al-st-action)!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-theme-row[aria-pressed="true"] .alluzzi-settings-toggle>span{
  transform:translateX(19px)!important;background:#F5F1EE!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-delete-form{display:block!important;width:100%!important}
.app-main .alluzzi-settings-page .alluzzi-settings-danger .alluzzi-settings-row-content strong,
.app-main .alluzzi-settings-page .alluzzi-settings-danger .alluzzi-settings-row-icon{
  color:var(--al-st-danger)!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-danger .alluzzi-settings-row-icon{
  background:var(--al-st-icon-bg)!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-extras{margin-top:24px!important}
.app-main .alluzzi-settings-page .alluzzi-settings-extras>h2{
  font-size:11px!important;font-weight:600!important;letter-spacing:.14em!important;
  text-transform:uppercase!important;color:var(--al-st-muted)!important;
  margin:0 0 12px!important;
}
.app-main .alluzzi-settings-page .alluzzi-settings-version{
  margin:22px 0 0!important;color:var(--al-st-muted)!important;
  font-size:11px!important;font-weight:400!important;
}
/* Internal settings panels retain functionality, but share geometry + colors. */
.app-main .alluzzi-settings-page .alluzzi-settings-back{
  border-radius:6px!important;color:var(--al-st-ink)!important;
  background:var(--al-st-surface)!important;border-color:var(--al-st-border)!important;
}
.app-main .alluzzi-settings-page .settings-card.active-panel{
  border-radius:6px!important;background:var(--al-st-surface)!important;
  color:var(--al-st-ink)!important;border:1px solid var(--al-st-border)!important;
  box-shadow:none!important;
}
.app-main .alluzzi-settings-page .settings-section-title{
  border-bottom:1px solid var(--al-st-border)!important;
}
.app-main .alluzzi-settings-page .settings-section-title .settings-icon{
  border-radius:6px!important;background:var(--al-st-icon-bg)!important;
  color:var(--al-st-icon-ink)!important;
}
.app-main .alluzzi-settings-page .settings-section-title strong,
.app-main .alluzzi-settings-page .label,
.app-main .alluzzi-settings-page .theme-choice-card strong,
.app-main .alluzzi-settings-page .appearance-note strong{
  color:var(--al-st-ink)!important;
}
.app-main .alluzzi-settings-page .settings-section-title small,
.app-main .alluzzi-settings-page .profile-photo-actions small,
.app-main .alluzzi-settings-page .theme-choice-card small,
.app-main .alluzzi-settings-page .appearance-note span{
  color:var(--al-st-muted)!important;
}
.app-main .alluzzi-settings-page .input,
.app-main .alluzzi-settings-page .textarea,
.app-main .alluzzi-settings-page .select,
.app-main .alluzzi-settings-page .profile-photo-uploader,
.app-main .alluzzi-settings-page .theme-choice-card,
.app-main .alluzzi-settings-page .appearance-note{
  border-radius:6px!important;background:var(--al-st-surface)!important;
  border:1px solid var(--al-st-border)!important;color:var(--al-st-ink)!important;
  box-shadow:none!important;
}
.app-main .alluzzi-settings-page .profile-photo-preview,
.app-main .alluzzi-settings-page .profile-photo-preview img,
.app-main .alluzzi-settings-page .theme-preview,
.app-main .alluzzi-settings-page .profile-photo-actions input[type="file"]::file-selector-button,
.app-main .alluzzi-settings-page .settings-card.active-panel .btn.primary.block{
  border-radius:6px!important;
}
.app-main .alluzzi-settings-page .settings-card.active-panel .btn.primary.block{
  background:var(--al-st-action)!important;color:#fff!important;
  border:1px solid var(--al-st-action)!important;
}
.app-main .alluzzi-settings-page .theme-choice-card.active{
  outline:2px solid var(--al-st-action)!important;outline-offset:-1px!important;
}
@media(max-width:360px){
  .app-main .alluzzi-settings-page .alluzzi-settings-group>.alluzzi-settings-row,
  .app-main .alluzzi-settings-page .alluzzi-settings-delete-form>.alluzzi-settings-row{
    min-height:68px!important;gap:10px!important;padding:10px 11px!important;
  }
  .app-main .alluzzi-settings-page .alluzzi-settings-row-icon{
    width:36px!important;height:36px!important;flex-basis:36px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .app-main .alluzzi-settings-page .alluzzi-settings-row,
  .app-main .alluzzi-settings-page .alluzzi-settings-toggle,
  .app-main .alluzzi-settings-page .alluzzi-settings-toggle>span{transition:none!important}
}
/* Specificity bridge: neutralize the legacy dark group background. */
html[data-theme="dark"] .app-main .alluzzi-settings-page .alluzzi-settings-group{
  background:transparent!important;border:0!important;
}


/* =====================================================================
   ALLUZZI V13 | 20/11/2026
   Home: vitrines e categorias maiores no mobile.
   Wardrobes: scroll natural sem sobreposição + cards premium.
   Somente CSS de apresentação. Sem alterações em links, Stories, PHP ou DB.
   ===================================================================== */

/* Home: aproximadamente 2,5 a 3 perfis por tela. Mantém todos acessíveis
   pelo carrossel horizontal e mantém o link Ver mais. */
.app-shell .app-main .home-profiles .wardrobe-strip {
  display:flex!important;
  gap:14px!important;
  padding:4px 18px 21px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-padding-inline:18px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
.app-shell .app-main .home-profiles .wardrobe-strip .profile-mini {
  box-sizing:border-box;
  width:clamp(118px,32vw,132px)!important;
  min-width:clamp(118px,32vw,132px)!important;
  flex:0 0 clamp(118px,32vw,132px)!important;
  gap:0!important;
  scroll-snap-align:start;
}
.app-shell .app-main .home-profiles .wardrobe-strip .profile-mini .profile-cover {
  box-sizing:border-box;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:0.88;
  border-radius:6px!important;
  overflow:visible!important;
}
.app-shell .app-main .home-profiles .wardrobe-strip .profile-mini .profile-cover > img,
.app-shell .app-main .home-profiles .wardrobe-strip .profile-mini .profile-cover .profile-cover-fallback {
  width:100%!important;
  height:100%!important;
  border-radius:6px!important;
  object-fit:cover;
}
.app-shell .app-main .home-profiles .wardrobe-strip .profile-mini .profile-cover > .profile-avatar {
  box-sizing:border-box;
  width:60px!important;
  height:60px!important;
  min-width:60px!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:-29px!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  border-width:3px!important;
  z-index:3;
  overflow:hidden;
  background:#3E0C17;
  color:#F5F1EE;
}
.app-shell .app-main .home-profiles .wardrobe-strip .profile-mini .profile-avatar b {
  font-size:18px!important;
  line-height:1!important;
}
.app-shell .app-main .home-profiles .wardrobe-strip .profile-mini > strong {
  box-sizing:border-box;
  width:100%;max-width:100%;
  margin-top:38px!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1.3!important;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  text-align:center;
}
.app-shell .app-main .home-profiles .wardrobe-strip .profile-mini > small {
  width:100%;max-width:100%;
  margin-top:3px!important;
  font-size:12px!important;
  line-height:1.35!important;
  text-align:center;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
html.a11y-large-text .app-shell .app-main .home-profiles .wardrobe-strip .profile-mini > strong {font-size:17px!important}
html.a11y-large-text .app-shell .app-main .home-profiles .wardrobe-strip .profile-mini > small {font-size:14px!important}
html[data-theme="dark"] .app-shell .app-main .home-profiles .wardrobe-strip .profile-mini .profile-cover > .profile-avatar {
  border-color:#0D0E12!important;
  background:#3E0C17!important;
  color:#F5F1EE!important;
}

/* Home: aproximadamente quatro categorias por largura de celular. Ícones
   originais preservados, agora ampliados, e faixa continua rolável. */
.app-shell .app-main .home-categories .category-strip {
  display:flex!important;
  align-items:flex-start!important;
  gap:11px!important;
  padding:5px 18px 16px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-padding-inline:18px;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
}
.app-shell .app-main .home-categories .category-strip .category-mini {
  box-sizing:border-box;
  width:clamp(76px,21vw,84px)!important;
  min-width:clamp(76px,21vw,84px)!important;
  flex:0 0 clamp(76px,21vw,84px)!important;
  gap:8px!important;
  text-align:center;
  scroll-snap-align:start;
}
.app-shell .app-main .home-categories .category-strip .category-mini .category-icon {
  box-sizing:border-box;
  display:grid!important;
  place-items:center!important;
  width:clamp(70px,20vw,78px)!important;
  min-width:clamp(70px,20vw,78px)!important;
  height:clamp(70px,20vw,78px)!important;
  margin-inline:auto!important;
  border-radius:6px!important;
}
.app-shell .app-main .home-categories .category-strip .category-mini .category-icon .alluzzi-icon {
  width:44px!important;
  height:44px!important;
  max-width:65%;
  object-fit:contain;
}
.app-shell .app-main .home-categories .category-strip .category-mini .category-icon .ico,
.app-shell .app-main .home-categories .category-strip .category-mini .category-icon svg {
  width:42px!important;height:42px!important;
}
.app-shell .app-main .home-categories .category-strip .category-mini > span:last-child {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  font-size:12px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  text-align:center!important;
}
html.a11y-large-text .app-shell .app-main .home-categories .category-strip .category-mini > span:last-child {
  font-size:14px!important;
  line-height:1.3!important;
}

/* Diretório Minha Loja: a antiga posição sticky é o motivo de o cabeçalho
   se sobrepor aos perfis durante a rolagem. A barra global continua fixa. */
.app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) {
  position:relative!important;
  background:var(--bg)!important;
  min-height:0!important;
  padding-bottom:calc(125px + env(safe-area-inset-bottom,0px))!important;
  overflow:visible!important;
}
.app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-head {
  position:static!important;
  top:auto!important;
  bottom:auto!important;
  z-index:auto!important;
  transform:none!important;
  background:var(--bg)!important;
  box-shadow:none!important;
  isolation:auto!important;
}
.app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-grid {
  position:relative;
  z-index:0;
  overflow:visible;
  padding-bottom:24px!important;
}
.app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-card {
  position:relative;
  border-radius:6px!important;
}
.app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-cover > .directory-avatar {
  box-sizing:border-box;
  width:60px!important;
  height:60px!important;
  bottom:-30px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  font-size:18px!important;
  z-index:3;
}
.app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-info {
  padding-top:40px!important;
  min-height:108px!important;
}
.app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .source-back {
  background:#F5F1EE!important;
  border-color:#E8D8DC!important;
  color:#3E0C17!important;
  border-radius:6px!important;
}

/* Modo escuro: o conteúdo permanece carbono, mas os cards e controles de
   Minha Loja deixam de usar o cinza azulado do antigo componente. */
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]),
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-head {
  background:#0D0E12!important;
}
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-card {
  background:#1C151B!important;
  border-color:#4A3039!important;
  box-shadow:0 4px 16px rgba(0,0,0,.17)!important;
}
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-cover {
  background:#241920!important;
}
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-cover > .directory-avatar {
  background:#3E0C17!important;
  color:#F5F1EE!important;
  border-color:#1C151B!important;
}
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-search {
  background:#1C151B!important;
  border-color:#4A3039!important;
}
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .source-back {
  background:#3E0C17!important;
  border-color:#6B3444!important;
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-info h3 {
  color:#F5F1EE!important;
}
html[data-theme="dark"] .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-info p {
  color:#D0BFC6!important;
}
html.a11y-large-text .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-info h3{font-size:17px!important}
html.a11y-large-text .app-shell .app-main .directory-source:has(.directory-search input[placeholder="Buscar perfil por nome"]) .directory-info p{font-size:14px!important}

@media (max-width:360px){
  .app-shell .app-main .home-profiles .wardrobe-strip{gap:12px!important;padding-inline:16px!important}
  .app-shell .app-main .home-categories .category-strip{gap:10px!important;padding-inline:16px!important}
}
@media (prefers-reduced-motion:reduce){
  .app-shell .app-main .home-profiles .wardrobe-strip,
  .app-shell .app-main .home-categories .category-strip {scroll-behavior:auto!important;scroll-snap-type:none!important}
}


/* =====================================================================
   ALLUZZI V14 | 20/11/2026
   Minha Loja: mesma hierarquia visual dos perfis da Home.
   Reutiliza as classes profile-mini/profile-cover/profile-avatar no PHP.
   Preserva busca, destino dos perfis, cidade, fonte ampliada e scroll V13.
   ===================================================================== */
.app-shell .app-main .directory-source .directory-grid.directory-profile-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px 14px!important;
  align-items:start!important;
  padding:19px 18px 28px!important;
  overflow:visible!important;
  background:transparent!important;
}
.app-shell .app-main .directory-source .directory-profile-grid > .directory-profile-mini {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  text-decoration:none!important;
  color:var(--fg)!important;
}
.app-shell .app-main .directory-source .directory-profile-mini .profile-cover {
  position:relative!important;
  display:block!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:.88!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:6px!important;
  overflow:visible!important;
  background:var(--secondary)!important;
  box-shadow:none!important;
}
.app-shell .app-main .directory-source .directory-profile-mini .profile-cover > img,
.app-shell .app-main .directory-source .directory-profile-mini .profile-cover > .profile-cover-fallback {
  display:block!important;
  width:100%!important;
  height:100%!important;
  border-radius:6px!important;
  object-fit:cover!important;
  overflow:hidden!important;
}
.app-shell .app-main .directory-source .directory-profile-mini .profile-cover > .profile-cover-fallback {
  display:grid!important;
  place-items:center!important;
  font-size:32px!important;
  color:var(--fg)!important;
}
.app-shell .app-main .directory-source .directory-profile-mini .profile-gradient,
.app-shell .app-main .directory-source .directory-profile-mini .profile-cover > em {display:none!important}
.app-shell .app-main .directory-source .directory-profile-mini .profile-cover > .profile-avatar {
  box-sizing:border-box!important;
  position:absolute!important;
  z-index:3!important;
  top:auto!important;
  right:auto!important;
  bottom:-29px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:60px!important;
  min-width:60px!important;
  height:60px!important;
  padding:0!important;
  overflow:hidden!important;
  border:3px solid var(--bg)!important;
  border-radius:50%!important;
  background:#3E0C17!important;
  color:#F5F1EE!important;
  box-shadow:none!important;
  font-size:18px!important;
  font-weight:650!important;
}
.app-shell .app-main .directory-source .directory-profile-mini .profile-avatar > img {
  width:100%!important;
  height:100%!important;
  border-radius:50%!important;
  object-fit:cover!important;
}
.app-shell .app-main .directory-source .directory-profile-mini .profile-avatar > b {
  font-size:18px!important;
  line-height:1!important;
  font-weight:650!important;
}
.app-shell .app-main .directory-source .directory-profile-mini > strong {
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:38px 0 0!important;
  padding:0!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1.3!important;
  color:var(--fg)!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.app-shell .app-main .directory-source .directory-profile-mini > small.directory-product-count {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:3px 0 0!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.35!important;
  color:var(--muted-dark)!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.app-shell .app-main .directory-source .directory-profile-mini > .directory-city {
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  margin:4px 0 0!important;
  padding:0!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:400!important;
  color:var(--muted)!important;
  text-align:center!important;
  overflow:hidden!important;
  overflow-wrap:break-word;
}
html.a11y-large-text .app-shell .app-main .directory-source .directory-profile-mini > strong {font-size:17px!important}
html.a11y-large-text .app-shell .app-main .directory-source .directory-profile-mini > small.directory-product-count {font-size:14px!important}
html.a11y-large-text .app-shell .app-main .directory-source .directory-profile-mini > .directory-city {font-size:13px!important}
html[data-theme="dark"] .app-shell .app-main .directory-source .directory-profile-mini > strong {color:#F5F1EE!important}
html[data-theme="dark"] .app-shell .app-main .directory-source .directory-profile-mini > small.directory-product-count {color:#D0C0C6!important}
html[data-theme="dark"] .app-shell .app-main .directory-source .directory-profile-mini > .directory-city {color:#BEB0B8!important}
@media(max-width:360px){
  .app-shell .app-main .directory-source .directory-grid.directory-profile-grid{gap:22px 12px!important;padding-inline:16px!important}
}


/* ALLUZZI V16 | 20/11/2026 | Category icon sizing: 44px / 42px. */
