/* Produtos AFVA v0.6 — interface editorial contemporânea */
:root{
  --afva-bg:#f8f6f1;
  --afva-surface:#ffffff;
  --afva-surface-soft:#f3f1eb;
  --afva-surface-green:#edf2e9;
  --afva-text:#373431;
  --afva-muted:#78736d;
  --afva-soft:#99938c;
  --afva-sage:#829277;
  --afva-sage-dark:#53624c;
  --afva-sage-ink:#42503d;
  --afva-terr:#b67f6c;
  --afva-line:rgba(55,52,49,.10);
  --afva-line-strong:rgba(55,52,49,.16);
  --afva-danger:#9b574f;
  --afva-success:#50704a;
  --afva-shadow:0 18px 48px rgba(52,47,42,.065);
  --afva-shadow-soft:0 8px 28px rgba(52,47,42,.045);
  --afva-radius-xl:30px;
  --afva-radius-lg:22px;
  --afva-radius-md:16px;
}


/* v0.6.1 HOTFIX — corrige o shell e isola a Área da Produtora do tema */
body.afva-producer-page{overflow-x:hidden!important;background:var(--afva-bg)!important}
body.afva-producer-page #page,body.afva-producer-page .site,body.afva-producer-page .site-content,body.afva-producer-page .content-area,body.afva-producer-page .site-main,body.afva-producer-page main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.afva-producer-page #masthead,body.afva-producer-page #site-header,body.afva-producer-page .site-header,body.afva-producer-page .elementor-location-header,body.afva-producer-page .hfe-site-header,body.afva-producer-page .header-wrapper,body.afva-producer-page #colophon,body.afva-producer-page .site-footer,body.afva-producer-page .elementor-location-footer{display:none!important}
body.afva-producer-page .entry-content,body.afva-producer-page .page-content,body.afva-producer-page .elementor,body.afva-producer-page .elementor-section-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.afva-app-shell{width:100%!important;max-width:100%!important}
.afva-app-main{grid-column:2/-1!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
.afva-app-topbar{width:100%!important;max-width:100%!important}

/* Evita interferências do tema/Elementor e overflow no mobile */
body.afva-producer-page{overflow-x:hidden!important;background:var(--afva-bg)!important}
.afva-producer-page .page-header,.afva-producer-page .entry-header,.afva-producer-page h1.entry-title,.afva-producer-page .page-title,.afva-producer-page .site-header,.afva-producer-page .site-footer{display:none!important}
.afva-producer-page .site-main,.afva-producer-page .content-area,.afva-producer-page main,.afva-producer-page .site-content,.afva-producer-page .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:var(--afva-bg)!important;overflow:visible!important}
.afva-producer-page *{box-sizing:border-box}
.afva-front,.afva-login{font-family:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--afva-text)}
.afva-svg{width:20px;height:20px;display:block;flex:0 0 auto}
.afva-front h1,.afva-front h2,.afva-front h3,.afva-login h2{font-family:"Newsreader",Georgia,serif;color:var(--afva-text);font-weight:500;letter-spacing:-.025em}

/* App shell */
.afva-app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);background:var(--afva-bg)}
.afva-app-main{grid-column:2/-1;min-width:0;width:100%;max-width:100%;position:relative}
.afva-app-sidebar{position:fixed;inset:0 auto 0 0;width:248px;padding:28px 18px 26px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-right:1px solid var(--afva-line);z-index:70;display:flex;flex-direction:column}
.afva-sidebar-brand{display:flex;align-items:center;gap:12px;padding:8px 10px 30px}
.afva-brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--afva-surface-green);color:var(--afva-sage-dark)}
.afva-brand-mark .afva-svg{width:24px;height:24px}
.afva-sidebar-brand strong{display:block;font-family:"Newsreader",Georgia,serif;font-size:27px;line-height:1;color:var(--afva-sage-ink);font-weight:600;letter-spacing:.01em}
.afva-sidebar-brand small{display:block;margin-top:5px;color:var(--afva-muted);font-size:9px;line-height:1.35}
.afva-sidebar-nav{display:grid;gap:7px}
.afva-sidebar-nav a{min-height:48px;display:flex;align-items:center;gap:12px;padding:0 13px;border-radius:15px;text-decoration:none!important;color:#68635e!important;font-size:12px;font-weight:700;transition:.18s ease}
.afva-sidebar-nav a:hover{background:#f5f4ef;color:var(--afva-text)!important}
.afva-sidebar-nav a.is-active{background:var(--afva-surface-green);color:var(--afva-sage-ink)!important}
.afva-nav-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;color:currentColor}
.afva-nav-icon .afva-svg{width:19px;height:19px}
.afva-sidebar-note{margin-top:auto;padding:18px 12px;color:var(--afva-sage-dark)}
.afva-sidebar-note>span{display:block;margin-bottom:8px}.afva-sidebar-note .afva-svg{width:24px;height:24px}
.afva-sidebar-note p{margin:0;font-family:"Newsreader",Georgia,serif;font-style:italic;font-size:17px;line-height:1.35;color:#6d7467}

/* Topbar */
.afva-app-topbar{position:sticky;top:0;z-index:60;height:76px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:rgba(248,246,241,.88);backdrop-filter:blur(20px);border-bottom:1px solid rgba(55,52,49,.06)}
.afva-mobile-brand{display:none}
.afva-topbar-context{font-size:10px;text-transform:uppercase;letter-spacing:.18em;color:#99938c;font-weight:800}
.afva-topbar-actions{display:flex;align-items:center;gap:14px;min-width:0}
.afva-topbar-site{display:flex;align-items:center;gap:7px;text-decoration:none!important;color:#697063!important;font-size:11px;font-weight:800;white-space:nowrap}
.afva-topbar-site .afva-svg{width:16px;height:16px}
.afva-user-menu{position:relative}
.afva-user-menu>summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;padding:5px 7px 5px 5px;border-radius:999px;transition:.18s}
.afva-user-menu>summary::-webkit-details-marker{display:none}
.afva-user-menu>summary:hover{background:rgba(255,255,255,.7)}
.afva-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--afva-surface-green);color:var(--afva-sage-dark);font-family:"Newsreader",Georgia,serif;font-size:17px;font-weight:600}
.afva-user-copy{display:grid;gap:1px}.afva-user-copy strong{font-size:11px;font-weight:800;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.afva-user-copy small{font-size:9px;color:var(--afva-muted)}
.afva-user-caret{color:#8d877f}.afva-user-caret .afva-svg{width:15px;height:15px}
.afva-user-dropdown{position:absolute;right:0;top:54px;width:178px;padding:7px;background:#fff;border:1px solid var(--afva-line);border-radius:16px;box-shadow:0 18px 45px rgba(45,40,36,.12)}
.afva-user-dropdown a{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:10px;text-decoration:none!important;color:var(--afva-text)!important;font-size:11px;font-weight:700}
.afva-user-dropdown a:hover{background:var(--afva-surface-soft)}
.afva-user-dropdown .afva-svg{width:17px;height:17px;color:var(--afva-sage-dark)}
.afva-signout-dot{width:7px;height:7px;border-radius:50%;background:#b98a78}

/* Main content */
.afva-front{max-width:1240px;margin:0 auto;padding:74px 42px 110px;min-width:0}
.afva-kicker{margin:0 0 9px;text-transform:uppercase;letter-spacing:.18em;font-size:9px;font-weight:850;color:var(--afva-sage-dark)}
.afva-dashboard-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:36px}
.afva-dashboard-hero>div:first-child{max-width:720px}
.afva-dashboard-hero h1{margin:0 0 11px;font-size:clamp(48px,5.2vw,72px);line-height:.94}
.afva-dashboard-hero p:last-child{max-width:630px;margin:0;color:var(--afva-muted);font-size:14px;line-height:1.7}
.afva-dashboard-hero-compact{margin-bottom:30px}
.afva-dashboard-hero-compact h1{font-size:clamp(44px,4.4vw,62px)}
.afva-inline-leaf{display:inline-flex;vertical-align:middle;color:var(--afva-sage);margin-left:5px;transform:translateY(-5px)}
.afva-inline-leaf .afva-svg{width:33px;height:33px}

/* Buttons */
.afva-btn,.afva-file{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:44px!important;padding:0 17px!important;border-radius:999px!important;border:1px solid transparent!important;text-decoration:none!important;font-family:"Manrope",sans-serif!important;font-size:11px!important;line-height:1!important;font-weight:800!important;cursor:pointer!important;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease!important;white-space:nowrap}
.afva-btn .afva-svg,.afva-file .afva-svg{width:17px;height:17px}
.afva-btn-primary{background:var(--afva-text)!important;color:#fff!important;border-color:var(--afva-text)!important;box-shadow:none!important}
.afva-btn-primary:hover{background:#252321!important;border-color:#252321!important;transform:translateY(-1px)}
.afva-btn-secondary{background:#fff!important;color:var(--afva-text)!important;border-color:var(--afva-line-strong)!important;box-shadow:none!important}
.afva-btn-secondary:hover{border-color:rgba(55,52,49,.28)!important;background:#fbfaf7!important}
.afva-btn-small{min-height:38px!important;padding:0 13px!important}
.afva-new-product-btn{min-height:48px!important;padding:0 19px!important}

/* Dashboard stats */
.afva-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:52px}
.afva-stat-card{display:flex;align-items:center;gap:14px;min-height:112px;padding:18px 19px;background:rgba(255,255,255,.72);border:1px solid var(--afva-line);border-radius:20px;box-shadow:none}
.afva-stat-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--afva-surface-green);color:var(--afva-sage-dark);flex:0 0 42px}
.afva-stat-icon .afva-svg{width:21px;height:21px}
.afva-stat-card>div{display:grid;grid-template-columns:auto;min-width:0}
.afva-stat-card small{color:#77716a;font-size:9px;font-weight:800;margin-bottom:3px}
.afva-stat-card strong{font-family:"Newsreader",Georgia,serif;font-size:29px;line-height:1;color:var(--afva-text);font-weight:500}
.afva-stat-card span:not(.afva-stat-icon){margin-top:4px;color:#a09a93;font-size:9px}

/* Products */
.afva-products-section{min-width:0}
.afva-products-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:15px}
.afva-products-section-head h2{font-family:"Manrope",sans-serif!important;font-size:21px!important;letter-spacing:-.02em!important;font-weight:800!important;margin:0 0 4px!important}
.afva-products-section-head p{margin:0;color:#99938c;font-size:10px}
.afva-search{display:flex;gap:7px;min-width:0}
.afva-search input{width:220px;height:42px;border:1px solid var(--afva-line)!important;border-radius:14px!important;background:rgba(255,255,255,.9)!important;padding:0 14px!important;font:inherit!important;font-size:11px!important;color:var(--afva-text)!important;outline:0!important;box-shadow:none!important}
.afva-search input:focus{border-color:rgba(130,146,119,.65)!important;box-shadow:0 0 0 4px rgba(130,146,119,.10)!important}
.afva-search button{height:42px;border:0!important;border-radius:13px!important;background:var(--afva-text)!important;color:#fff!important;padding:0 14px!important;font-size:10px!important;font-weight:800!important;cursor:pointer}
.afva-tabs{display:flex;gap:4px;align-items:center;margin:0 0 13px;overflow-x:auto;scrollbar-width:none;padding:2px}.afva-tabs::-webkit-scrollbar{display:none}
.afva-tabs a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;text-decoration:none!important;color:#77716a!important;font-size:9px;font-weight:800;white-space:nowrap}
.afva-tabs a:hover{background:rgba(255,255,255,.75)}
.afva-tabs a.active{background:var(--afva-surface-green);color:var(--afva-sage-ink)!important}
.afva-product-list{display:grid;gap:9px}
.afva-product-row{display:grid;grid-template-columns:86px minmax(180px,1fr) minmax(180px,.65fr) 90px auto;align-items:center;gap:16px;min-height:96px;padding:10px 13px 10px 10px;background:rgba(255,255,255,.75);border:1px solid var(--afva-line);border-radius:18px;transition:background .18s,border-color .18s,transform .18s;min-width:0}
.afva-product-row:hover{background:#fff;border-color:rgba(55,52,49,.15);transform:translateY(-1px)}
.afva-row-thumb{width:86px;height:72px;border-radius:13px;overflow:hidden;background:var(--afva-surface-soft);display:grid;place-items:center}
.afva-row-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.afva-placeholder{color:var(--afva-sage);display:grid;place-items:center}.afva-placeholder .afva-svg{width:23px;height:23px}
.afva-row-info{min-width:0}.afva-row-info small{display:block;margin:0 0 4px;color:var(--afva-sage-dark);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.12em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afva-row-info h3{font-family:"Manrope",sans-serif!important;font-size:13px!important;font-weight:800!important;letter-spacing:-.01em!important;line-height:1.2!important;margin:0 0 4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afva-row-info p{margin:0!important;color:#918b84;font-size:9px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afva-row-status{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.afva-status-pill,.afva-home-pill{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 9px;border-radius:999px;font-size:8px;font-weight:800;white-space:nowrap}
.afva-status-disponivel{background:#e9f3e7;color:#4f7049}.afva-status-sob-encomenda{background:#f4eee1;color:#806847}.afva-status-indisponivel{background:#f4e7e4;color:#94584f}
.afva-home-pill{background:var(--afva-surface-green);color:var(--afva-sage-dark)}.afva-home-pill .afva-svg{width:13px;height:13px}
.afva-row-price{text-align:center;color:#66615b;font-size:10px;font-weight:800;white-space:nowrap}
.afva-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.afva-trash-inline{margin:0}.afva-trash-icon{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border:1px solid transparent!important;border-radius:50%!important;background:transparent!important;color:#9f9992!important;display:grid!important;place-items:center!important;cursor:pointer!important;box-shadow:none!important}
.afva-trash-icon:hover{background:#f7ece9!important;color:var(--afva-danger)!important}.afva-trash-icon .afva-svg{width:17px;height:17px}

/* Empty and alerts */
.afva-empty{padding:58px 24px;text-align:center;border:1px dashed rgba(55,52,49,.16);border-radius:22px;background:rgba(255,255,255,.45)}
.afva-empty-icon{width:50px;height:50px;margin:0 auto 13px;border-radius:16px;background:var(--afva-surface-green);color:var(--afva-sage-dark);display:grid;place-items:center}.afva-empty-icon .afva-svg{width:25px;height:25px}
.afva-empty h3{font-size:27px!important;margin:0 0 6px!important}.afva-empty p{margin:0;color:var(--afva-muted);font-size:11px}
.afva-alert{padding:13px 15px;border-radius:14px;margin:0 0 20px;font-size:11px;font-weight:700}.afva-alert.ok{background:#e9f2e6;color:#496644}.afva-alert.error{background:#f5e6e3;color:#874c44}

/* Wizard */
.afva-wizard-shell{max-width:900px;margin:0 auto}
.afva-back{display:inline-flex;align-items:center;color:var(--afva-terr)!important;text-decoration:none!important;font-size:10px;font-weight:850;margin-bottom:32px}
.afva-form-title{margin-bottom:36px}.afva-form-title h1{font-size:clamp(47px,6vw,70px);line-height:.95;margin:0 0 13px}.afva-form-title>p:last-child{margin:0;color:var(--afva-muted);font-size:13px;line-height:1.65}
.afva-progress{margin:0 0 46px}.afva-progress-head{display:flex;justify-content:space-between;margin-bottom:9px;color:#8f8982;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.11em}.afva-progress-track{height:5px;background:#e8e4dc;border-radius:999px;overflow:hidden}.afva-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#87977c,#a6b39c);border-radius:999px;transition:width .3s ease}
.afva-question{display:none}.afva-question.active{display:block;animation:afvaFade .22s ease}@keyframes afvaFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.afva-question-card{position:relative;padding:48px 50px 50px;background:rgba(255,255,255,.70);border:1px solid rgba(55,52,49,.08);border-radius:30px;box-shadow:0 16px 52px rgba(52,47,42,.035)}
.afva-question-index{display:inline-grid;place-items:center;min-width:36px;height:29px;padding:0 10px;margin-bottom:20px;border-radius:999px;background:var(--afva-surface-green);color:var(--afva-sage-dark);font-size:9px;font-weight:900;letter-spacing:.10em}
.afva-question-card h2{max-width:700px;font-size:clamp(37px,5vw,53px);line-height:1.02;margin:0 0 14px}
.afva-question-copy{max-width:680px;margin:0 0 34px;color:var(--afva-muted);font-size:13px;line-height:1.7}
.afva-conversation-field input[type=text],.afva-conversation-field textarea,.afva-conditional-field input[type=text],.afva-conditional-field textarea,.afva-edit-field input,.afva-edit-field select,.afva-edit-field textarea,.afva-profile-fields input{width:100%!important;border:1px solid transparent!important;border-radius:17px!important;background:#f2f1ec!important;color:var(--afva-text)!important;font:inherit!important;font-size:14px!important;outline:0!important;box-shadow:none!important;transition:.18s!important}
.afva-conversation-field input[type=text],.afva-edit-field input,.afva-edit-field select,.afva-profile-fields input{height:54px!important;padding:0 16px!important}
.afva-conversation-field textarea,.afva-conditional-field textarea,.afva-edit-field textarea{padding:15px 16px!important;line-height:1.65!important;min-height:136px;resize:vertical}
.afva-conversation-field input:focus,.afva-conversation-field textarea:focus,.afva-conditional-field input:focus,.afva-conditional-field textarea:focus,.afva-edit-field input:focus,.afva-edit-field select:focus,.afva-edit-field textarea:focus,.afva-profile-fields input:focus{background:#fff!important;border-color:rgba(130,146,119,.55)!important;box-shadow:0 0 0 4px rgba(130,146,119,.10)!important}
.afva-optional-note{margin:13px 0 0;color:#a19b94;font-size:10px;line-height:1.5}
.afva-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px}
.afva-validation{margin:13px 0 0;color:var(--afva-danger);font-size:10px;font-weight:800}

/* Choice cards */
.afva-category-cards,.afva-choice-cards{display:grid;gap:10px}.afva-category-cards,.afva-choice-cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}.afva-choice-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.afva-category-card,.afva-choice-card{display:block;cursor:pointer;min-width:0}.afva-category-card input,.afva-choice-card input{position:absolute;opacity:0;pointer-events:none}
.afva-category-card span,.afva-choice-card span{display:flex;flex-direction:column;justify-content:center;min-height:94px;padding:17px 18px;border:1px solid var(--afva-line);border-radius:18px;background:rgba(255,255,255,.82);transition:.18s ease}
.afva-category-card strong,.afva-choice-card strong{font-size:12px;margin-bottom:5px;color:var(--afva-text)}.afva-category-card small,.afva-choice-card small{color:var(--afva-muted);font-size:10px;line-height:1.45}
.afva-category-card:hover span,.afva-choice-card:hover span{border-color:rgba(130,146,119,.38);background:#fff}.afva-category-card input:checked+span,.afva-choice-card input:checked+span{border-color:rgba(130,146,119,.55);background:var(--afva-surface-green);box-shadow:inset 0 0 0 1px rgba(130,146,119,.10)}

/* Upload */
.afva-single-upload{max-width:560px}.afva-preview{overflow:hidden;border-radius:22px;background:#efeee8;display:grid;place-items:center}.afva-preview-large{aspect-ratio:4/3;margin-bottom:13px}.afva-preview img{width:100%;height:100%;object-fit:cover;display:block}
.afva-upload-empty{display:grid;place-items:center;text-align:center;gap:6px;color:#9a948d;padding:28px}.afva-upload-empty>span{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#fff;color:var(--afva-sage-dark);font-size:22px}.afva-upload-empty strong{color:var(--afva-text);font-size:11px}.afva-upload-empty small{font-size:9px}
.afva-file{background:var(--afva-surface-green)!important;color:var(--afva-sage-ink)!important;border:0!important;margin-top:2px}.afva-file:hover{background:#e1e9dc!important}.afva-file input{display:none!important}
.afva-check{display:flex!important;align-items:center!important;gap:7px!important;margin:11px 0 0!important;color:var(--afva-muted)!important;font-size:9px!important;font-weight:700!important}
.afva-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;margin-bottom:13px}.afva-gallery img,.afva-selected-gallery-item{width:100%!important;aspect-ratio:1;border-radius:15px!important;object-fit:cover!important;display:block!important}
.afva-gallery-empty{grid-column:1/-1;min-height:150px;border:1px dashed rgba(55,52,49,.15);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#9b958e;background:rgba(255,255,255,.45)}.afva-gallery-empty span{font-size:22px}.afva-gallery-empty strong{font-size:11px}.afva-gallery-empty small{font-size:9px}
.afva-conditional-field{display:none;margin-top:16px}.afva-conditional-field.is-visible{display:block}.afva-conditional-field>label{display:block;margin-bottom:7px;font-size:10px;font-weight:800;color:#625e59}

/* Review */
.afva-review-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:25px;padding:18px;border:1px solid var(--afva-line);border-radius:24px;background:rgba(255,255,255,.82)}
.afva-review-image{aspect-ratio:4/5;border-radius:18px;overflow:hidden;background:var(--afva-surface-soft);display:grid;place-items:center;color:var(--afva-sage)}.afva-review-image img{width:100%;height:100%;object-fit:cover}.afva-review-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:7px}.afva-review-gallery img{width:100%;aspect-ratio:1;border-radius:9px;object-fit:cover}
.afva-review-category{margin:3px 0 7px;color:var(--afva-sage-dark);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.12em}.afva-review-content h3{font-size:34px;margin:0 0 9px}.afva-review-content>p:not(.afva-review-category){color:var(--afva-muted);font-size:11px;line-height:1.6}.afva-review-content dl{margin:20px 0 0;border-top:1px solid var(--afva-line)}.afva-review-content dl>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--afva-line)}.afva-review-content dt{font-size:9px;color:var(--afva-muted)}.afva-review-content dd{margin:0;font-size:9px;font-weight:850}.afva-final{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}

/* Edit page: section heading left, fields right */
.afva-edit-shell,.afva-summary-shell{max-width:1050px;margin:0 auto}
.afva-edit-header,.afva-summary-top{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:36px}.afva-edit-header>div:first-child,.afva-summary-top>div:first-child{max-width:720px}.afva-edit-header h1,.afva-summary-top h1{font-size:clamp(44px,5vw,64px);line-height:.96;margin:8px 0 10px}.afva-edit-header p:last-child{margin:0;color:var(--afva-muted);font-size:12px;line-height:1.65}
.afva-edit-form{display:grid;gap:12px}.afva-edit-section{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;padding:30px 0;border-top:1px solid var(--afva-line);background:transparent!important;border-radius:0!important;box-shadow:none!important}.afva-edit-section:first-of-type{border-top:0;padding-top:6px}.afva-edit-section-title{display:flex;gap:12px;align-items:flex-start}.afva-edit-section-title>span{width:34px;height:28px;border-radius:999px;background:var(--afva-surface-green);display:grid;place-items:center;color:var(--afva-sage-dark);font-size:8px;font-weight:900;flex:0 0 auto}.afva-edit-section-title h2{font-family:"Manrope",sans-serif!important;font-size:15px!important;font-weight:850!important;letter-spacing:-.01em!important;margin:2px 0 4px!important}.afva-edit-section-title p{margin:0!important;color:#99938c!important;font-size:9px!important;line-height:1.5!important}
.afva-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.afva-edit-field-full{grid-column:1/-1}.afva-edit-field label,.afva-edit-label,.afva-edit-photo-card>label{display:block;margin-bottom:7px;color:#5f5a55;font-size:10px;font-weight:850}.afva-edit-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.afva-edit-photo-card{padding:17px;border:1px solid var(--afva-line);border-radius:20px;background:rgba(255,255,255,.65)}
.afva-edit-subgroup{margin-bottom:22px}.afva-edit-subgroup:last-child{margin-bottom:0}.afva-edit-footer{position:sticky;bottom:18px;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:13px 15px 13px 18px;border:1px solid var(--afva-line);border-radius:18px;background:rgba(255,255,255,.93);backdrop-filter:blur(18px);box-shadow:0 14px 40px rgba(52,47,42,.09)}.afva-edit-footer>span{color:#8e8881;font-size:9px}.afva-edit-footer>div{display:flex;gap:7px}

/* Summary */
.afva-summary-hero{display:grid;grid-template-columns:minmax(260px,390px) 1fr;gap:40px;align-items:start;margin-bottom:36px}.afva-summary-main-image{aspect-ratio:4/5;border-radius:26px;overflow:hidden;background:var(--afva-surface-soft)}.afva-summary-main-image img{width:100%;height:100%;object-fit:cover}.afva-summary-category{display:inline-flex;padding:7px 10px;border-radius:999px;background:var(--afva-surface-green);color:var(--afva-sage-dark);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.afva-summary-intro h2{font-size:clamp(38px,4.6vw,58px);line-height:.98;margin:13px 0 11px}.afva-summary-intro>p{color:var(--afva-muted);font-size:12px;line-height:1.7}.afva-summary-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}.afva-summary-chips span{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid var(--afva-line);font-size:8px;font-weight:800;color:#68635e}.afva-summary-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:9px}.afva-summary-gallery img{width:100%;aspect-ratio:1;border-radius:12px;object-fit:cover}.afva-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.afva-summary-section{padding:22px;border:1px solid var(--afva-line);border-radius:20px;background:rgba(255,255,255,.72)}.afva-summary-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.afva-summary-section h3{font-family:"Manrope",sans-serif!important;font-size:13px!important;font-weight:850!important;margin:0!important}.afva-summary-section p{margin:0;color:var(--afva-muted);font-size:10px;line-height:1.7}.afva-summary-actions{display:flex;gap:8px;flex-wrap:wrap}

/* Profile */
.afva-profile-shell{max-width:820px;margin:0 auto}.afva-profile-heading{margin-bottom:30px}.afva-profile-heading h1{font-size:clamp(45px,5vw,62px);line-height:.96;margin:8px 0 10px}.afva-profile-intro{margin:0;color:var(--afva-muted);font-size:12px;line-height:1.65}.afva-profile-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;padding:30px;border:1px solid var(--afva-line);border-radius:24px;background:rgba(255,255,255,.75);box-shadow:var(--afva-shadow-soft);overflow:hidden}.afva-profile-side{display:flex;align-items:center;gap:12px;padding-right:20px;border-right:1px solid var(--afva-line);min-width:0}.afva-profile-avatar{width:62px;height:62px;border-radius:19px;display:grid;place-items:center;background:var(--afva-surface-green);color:var(--afva-sage-dark);font-family:"Newsreader",Georgia,serif;font-size:28px;flex:0 0 auto}.afva-profile-side>div>strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:115px}.afva-profile-side>div>small{display:block;margin-top:3px;color:#969088;font-size:9px}.afva-profile-fields{display:grid;gap:14px;min-width:0}.afva-profile-fields label{display:grid;gap:7px;color:#5f5a55;font-size:10px;font-weight:850;min-width:0}.afva-profile-actions{display:flex;align-items:center;gap:13px;margin-top:2px}.afva-profile-password{font-size:10px;font-weight:800;color:var(--afva-terr)!important;text-decoration:none!important}

/* Login */
.afva-login{min-height:100vh;display:grid;place-items:center;padding:50px 20px;background:radial-gradient(circle at 15% 15%,#edf2e8 0,transparent 28%),var(--afva-bg)}.afva-login-card{width:min(430px,100%);padding:38px;border:1px solid var(--afva-line);border-radius:28px;background:rgba(255,255,255,.84);box-shadow:var(--afva-shadow)}.afva-brand{width:50px;height:50px;border-radius:16px;background:var(--afva-surface-green);display:grid;place-items:center;color:var(--afva-sage-dark);font-family:"Newsreader",Georgia,serif;font-size:15px;font-weight:700;margin-bottom:22px}.afva-login h2{font-size:42px;line-height:1;margin:8px 0 10px}.afva-login-card>p{color:var(--afva-muted);font-size:12px;line-height:1.65}.afva-login label{display:block;margin:12px 0 6px;font-size:10px;font-weight:800}.afva-login input[type=text],.afva-login input[type=password]{width:100%!important;height:50px!important;border:1px solid transparent!important;border-radius:15px!important;background:var(--afva-surface-soft)!important;padding:0 14px!important;font:inherit!important;outline:0!important}.afva-login input:focus{background:#fff!important;border-color:rgba(130,146,119,.5)!important;box-shadow:0 0 0 4px rgba(130,146,119,.1)!important}.afva-login .login-submit input{width:100%!important;min-height:48px!important;border:0!important;border-radius:999px!important;background:var(--afva-text)!important;color:#fff!important;font-weight:800!important;cursor:pointer!important}.afva-forgot{display:block;margin-top:17px;text-align:center;color:var(--afva-terr)!important;text-decoration:none!important;font-size:10px;font-weight:800}

/* Tablet */
@media(max-width:1100px){
  .afva-app-shell{grid-template-columns:210px minmax(0,1fr)}
  .afva-app-sidebar{width:210px;padding-left:14px;padding-right:14px}
  .afva-front{padding-left:28px;padding-right:28px}
  .afva-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .afva-product-row{grid-template-columns:76px minmax(180px,1fr) minmax(150px,.55fr) auto}.afva-row-price{display:none}
  .afva-edit-section{grid-template-columns:180px minmax(0,1fr)}
}

/* Mobile/tablet navigation */
@media(max-width:820px){
  .afva-app-shell{display:block;padding-bottom:76px}
  .afva-app-sidebar{position:fixed;left:12px;right:12px;top:auto;bottom:10px;width:auto;height:62px;padding:7px;display:block;border:1px solid var(--afva-line);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 14px 45px rgba(52,47,42,.15);z-index:100}
  .afva-sidebar-brand,.afva-sidebar-note{display:none}
  .afva-sidebar-nav{height:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .afva-sidebar-nav a{height:100%;min-height:0;justify-content:center;gap:7px;padding:0 10px;border-radius:14px;font-size:10px}
  .afva-nav-icon{width:28px;height:28px}.afva-nav-icon .afva-svg{width:18px;height:18px}
  .afva-app-topbar{height:64px;padding:0 16px;position:sticky;top:0}
  .afva-mobile-brand{display:flex;align-items:center;gap:8px;color:var(--afva-sage-ink)}.afva-mobile-brand>span{width:32px;height:32px;border-radius:11px;background:var(--afva-surface-green);display:grid;place-items:center}.afva-mobile-brand .afva-svg{width:18px;height:18px}.afva-mobile-brand strong{font-family:"Newsreader",Georgia,serif;font-size:21px}
  .afva-topbar-context{display:none}
  .afva-user-copy{display:none}.afva-user-caret{display:none}.afva-user-menu>summary{padding:2px}.afva-avatar{width:36px;height:36px}
  .afva-user-dropdown{right:0;top:45px}
  .afva-topbar-site span{display:none}.afva-topbar-site{width:36px;height:36px;justify-content:center;border:1px solid var(--afva-line);border-radius:50%;background:#fff}.afva-topbar-site .afva-svg{width:17px;height:17px}
  .afva-front{padding:48px 18px 80px}
  .afva-dashboard-hero{align-items:flex-start;flex-direction:column;gap:20px}.afva-dashboard-hero h1{font-size:48px}.afva-new-product-btn{width:auto}
  .afva-product-row{grid-template-columns:70px minmax(0,1fr) auto;gap:12px}.afva-row-thumb{width:70px;height:64px}.afva-row-status{grid-column:2/3}.afva-row-actions{grid-column:3/4;grid-row:1/3;flex-direction:column;align-items:stretch}.afva-row-actions .afva-btn{width:42px!important;min-width:42px!important;padding:0!important}.afva-row-actions .afva-btn span{display:none}.afva-row-actions .afva-btn .afva-svg{width:17px;height:17px}.afva-trash-icon{width:42px!important;height:38px!important}.afva-row-info p{display:none}
  .afva-question-card{padding:38px 32px}.afva-progress{margin-bottom:34px}
  .afva-edit-section{grid-template-columns:1fr;gap:16px;padding:24px 0}.afva-edit-section-title{max-width:520px}.afva-edit-footer{bottom:78px}
  .afva-summary-hero{grid-template-columns:260px 1fr;gap:26px}
}

@media(max-width:620px){
  .afva-front{padding:38px 15px 84px}
  .afva-sidebar-nav a{flex-direction:column;gap:1px;font-size:8px}.afva-sidebar-nav a span:last-child{font-size:8px}.afva-nav-icon{height:24px}
  .afva-dashboard-hero h1{font-size:43px}.afva-dashboard-hero p:last-child{font-size:12px}.afva-inline-leaf .afva-svg{width:26px;height:26px}
  .afva-stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:38px}.afva-stat-card{min-height:98px;padding:14px;gap:10px}.afva-stat-icon{width:36px;height:36px;flex-basis:36px}.afva-stat-card strong{font-size:25px}
  .afva-products-section-head{align-items:stretch;flex-direction:column;gap:13px}.afva-search{width:100%}.afva-search input{flex:1;width:auto;min-width:0}.afva-search button{flex:0 0 auto}
  .afva-product-row{grid-template-columns:64px minmax(0,1fr);gap:11px;padding:10px;border-radius:17px}.afva-row-thumb{width:64px;height:62px}.afva-row-status{grid-column:2/3}.afva-row-actions{grid-column:1/-1;grid-row:auto;flex-direction:row;justify-content:flex-end;padding-top:2px;border-top:1px solid rgba(55,52,49,.06);padding-top:9px}.afva-row-actions .afva-btn{width:auto!important;min-width:0!important;padding:0 11px!important}.afva-row-actions .afva-btn span{display:inline}.afva-row-price{display:none}
  .afva-form-title{margin-bottom:28px}.afva-form-title h1{font-size:46px}.afva-progress{margin-bottom:28px}.afva-question-card{padding:29px 20px;border-radius:24px}.afva-question-card h2{font-size:37px}.afva-question-copy{margin-bottom:24px;font-size:12px}.afva-question-index{margin-bottom:16px}
  .afva-category-cards,.afva-choice-cards-2,.afva-choice-cards-3{grid-template-columns:1fr}.afva-category-card span,.afva-choice-card span{min-height:78px;padding:15px}
  .afva-nav{position:sticky;bottom:78px;z-index:20;padding:10px 0;background:linear-gradient(180deg,rgba(248,246,241,0),var(--afva-bg) 32%)}.afva-nav .afva-btn{min-height:46px!important}
  .afva-gallery{grid-template-columns:repeat(3,1fr)}
  .afva-review-card{grid-template-columns:1fr;padding:13px}.afva-review-image{aspect-ratio:16/10}.afva-review-gallery{grid-template-columns:repeat(4,1fr)}.afva-final{flex-direction:column}.afva-final .afva-btn{width:100%}
  .afva-edit-header,.afva-summary-top{align-items:flex-start;flex-direction:column;gap:16px}.afva-edit-header h1,.afva-summary-top h1{font-size:44px}.afva-edit-fields,.afva-edit-photo-grid{grid-template-columns:1fr}.afva-edit-field-full{grid-column:auto}.afva-edit-section{padding:22px 0}.afva-edit-photo-card{padding:13px}.afva-edit-footer{bottom:77px;flex-direction:column;align-items:stretch}.afva-edit-footer>span{text-align:center}.afva-edit-footer>div{display:grid;grid-template-columns:1fr 1fr}.afva-edit-footer .afva-btn{width:100%;white-space:normal!important;line-height:1.2!important;padding:0 12px!important}
  .afva-summary-hero{grid-template-columns:1fr;gap:20px}.afva-summary-main-image{aspect-ratio:4/3}.afva-summary-grid{grid-template-columns:1fr}.afva-summary-gallery{grid-template-columns:repeat(3,1fr)}
  .afva-profile-shell{max-width:100%}.afva-profile-card{grid-template-columns:1fr;gap:20px;padding:20px;border-radius:20px}.afva-profile-side{border-right:0;border-bottom:1px solid var(--afva-line);padding:0 0 18px}.afva-profile-side>div>strong{max-width:210px}.afva-profile-actions{align-items:stretch;flex-direction:column}.afva-profile-actions .afva-btn{width:100%}.afva-profile-password{text-align:center;padding:8px 0}.afva-profile-heading h1{font-size:45px}
  .afva-login-card{padding:28px 22px;border-radius:23px}
}

@media(max-width:390px){
  .afva-front{padding-left:12px;padding-right:12px}.afva-stats{grid-template-columns:1fr}.afva-question-card{padding:26px 17px}.afva-form-title h1{font-size:40px}.afva-question-card h2{font-size:33px}.afva-app-sidebar{left:8px;right:8px;bottom:7px}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.afva-question.active{animation:none}.afva-btn,.afva-product-row{transition:none!important}}

@media(max-width:760px){
  .afva-app-main{grid-column:auto!important;width:100%!important;max-width:100%!important;margin:0!important}
  .afva-app-shell{display:block!important;width:100%!important;max-width:100%!important}
}


/* ==========================================================================
   v0.7.0 — redesign visual completo
   Refino global do painel, formulários, resumo e responsivo
   ========================================================================== */
:root{
  --afva-bg:#f6f3ed;
  --afva-surface:#ffffff;
  --afva-surface-soft:#fbfaf7;
  --afva-surface-2:#f1eee7;
  --afva-surface-green:#eef4eb;
  --afva-text:#39342f;
  --afva-muted:#756f69;
  --afva-soft:#9a938c;
  --afva-sage:#81927b;
  --afva-sage-dark:#53634d;
  --afva-line:rgba(57,52,47,.09);
  --afva-line-strong:rgba(57,52,47,.16);
  --afva-shadow:0 14px 40px rgba(50,45,39,.06);
  --afva-shadow-soft:0 4px 18px rgba(50,45,39,.04);
  --afva-radius-xl:28px;
  --afva-radius-lg:22px;
  --afva-radius-md:16px;
}
body.afva-producer-page{background:linear-gradient(180deg,#faf8f3 0%,#f6f3ed 100%)!important;}
.afva-front{max-width:none;margin:0;padding:38px 40px 110px;}
.afva-dashboard-hero,.afva-stats,.afva-products-section,.afva-profile-shell{max-width:1180px;margin-inline:auto;}
.afva-wizard-shell,.afva-edit-shell,.afva-summary-shell{max-width:1040px;margin-inline:auto;}
.afva-app-shell{grid-template-columns:260px minmax(0,1fr);background:transparent;}
.afva-app-main{padding-left:0;}
.afva-app-sidebar{width:260px;padding:22px 14px 18px;background:rgba(255,255,255,.82);border-right:1px solid rgba(57,52,47,.08);backdrop-filter:blur(18px);box-shadow:20px 0 40px rgba(57,52,47,.03);}
.afva-sidebar-brand{padding:6px 12px 24px;}
.afva-brand-mark{width:46px;height:46px;border-radius:15px;background:linear-gradient(180deg,#f2f7ef 0%,#eaf1e6 100%);box-shadow:inset 0 0 0 1px rgba(83,99,77,.08);}
.afva-sidebar-brand strong{font-size:29px;letter-spacing:0;}
.afva-sidebar-brand small{font-size:10px;line-height:1.45;color:#808078;}
.afva-sidebar-nav{gap:8px;margin-top:6px;}
.afva-sidebar-nav a{min-height:52px;padding:0 14px;border-radius:17px;font-size:13px;font-weight:700;}
.afva-sidebar-nav a:hover{background:#f6f4ef;}
.afva-sidebar-nav a.is-active{background:linear-gradient(180deg,#f2f6ef 0%,#eaf1e6 100%);box-shadow:inset 0 0 0 1px rgba(83,99,77,.10);}
.afva-nav-icon{width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.55);}
.afva-sidebar-note{padding:20px 12px 8px;}
.afva-sidebar-note p{font-size:19px;line-height:1.42;color:#70766c;}
.afva-app-topbar{height:78px;padding:0 28px 0 30px;background:rgba(250,248,243,.78);backdrop-filter:blur(20px);border-bottom:1px solid rgba(57,52,47,.06);}
.afva-topbar-context{font-size:10px;letter-spacing:.2em;color:#9e9890;}
.afva-topbar-actions{gap:16px;}
.afva-topbar-site{font-size:12px;font-weight:700;color:#66705f!important;}
.afva-user-menu>summary{padding:6px 9px 6px 6px;border-radius:999px;}
.afva-user-menu>summary:hover{background:rgba(255,255,255,.84);box-shadow:var(--afva-shadow-soft);}
.afva-avatar{width:40px;height:40px;background:linear-gradient(180deg,#eef4eb 0%,#e6ede1 100%);font-size:18px;}
.afva-user-copy strong{font-size:12px;}
.afva-user-copy small{font-size:10px;}
.afva-user-dropdown{top:58px;width:196px;padding:8px;border-radius:18px;}

.afva-kicker{margin-bottom:12px;font-size:10px;letter-spacing:.24em;color:#8a9581;}
.afva-dashboard-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px;}
.afva-dashboard-hero>div:first-child{max-width:720px;}
.afva-dashboard-hero h1{margin:0 0 12px;font-size:clamp(38px,4vw,62px);line-height:.98;letter-spacing:-.03em;}
.afva-dashboard-hero p:last-child{max-width:700px;margin:0;color:var(--afva-muted);font-size:16px;line-height:1.65;}
.afva-dashboard-hero-compact h1{font-size:clamp(34px,3.8vw,54px);}
.afva-inline-leaf{margin-left:6px;transform:translateY(-3px);}
.afva-inline-leaf .afva-svg{width:29px;height:29px;}

.afva-btn,.afva-file{min-height:48px!important;padding:0 18px!important;border-radius:16px!important;font-size:12px!important;font-weight:800!important;transition:all .2s ease!important;}
.afva-btn-primary{background:linear-gradient(180deg,#4c4642 0%,#3b3632 100%)!important;border-color:#3f3935!important;box-shadow:0 8px 18px rgba(59,54,50,.16)!important;}
.afva-btn-primary:hover{transform:translateY(-1px)!important;box-shadow:0 14px 24px rgba(59,54,50,.18)!important;}
.afva-btn-secondary{background:rgba(255,255,255,.85)!important;border-color:rgba(57,52,47,.12)!important;color:var(--afva-text)!important;}
.afva-btn-secondary:hover{background:#fff!important;box-shadow:var(--afva-shadow-soft)!important;}
.afva-btn-small{min-height:40px!important;padding:0 14px!important;border-radius:14px!important;font-size:11px!important;}
.afva-new-product-btn{min-height:50px!important;padding:0 20px!important;}
.afva-search button{min-height:46px;border-radius:14px;border:0;background:linear-gradient(180deg,#4c4642 0%,#3b3632 100%);color:#fff;font:inherit;font-size:12px;font-weight:800;padding:0 18px;cursor:pointer;}

.afva-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:34px;}
.afva-stat-card{min-height:120px;padding:20px;border-radius:22px;background:rgba(255,255,255,.78);border:1px solid rgba(57,52,47,.08);box-shadow:var(--afva-shadow-soft);}
.afva-stat-icon{width:46px;height:46px;border-radius:15px;background:linear-gradient(180deg,#eef4eb 0%,#e7efe3 100%);box-shadow:inset 0 0 0 1px rgba(83,99,77,.08);}
.afva-stat-card small{display:block;font-size:12px;color:#8a847d;font-weight:700;margin-bottom:3px;}
.afva-stat-card strong{display:block;font-size:34px;line-height:1;font-weight:700;font-family:"Newsreader",Georgia,serif;letter-spacing:-.03em;color:var(--afva-text);}
.afva-stat-card span:last-child{display:block;margin-top:5px;color:var(--afva-muted);font-size:12px;}

.afva-alert{max-width:1180px;margin:0 auto 18px;padding:16px 18px;border-radius:16px;border:1px solid transparent;font-size:14px;line-height:1.5;}
.afva-alert.ok{background:#eef5ea;border-color:#d8e7d0;color:#466047;}
.afva-alert.error{background:#faf0ef;border-color:#f0d6d4;color:#8d524c;}

.afva-products-section{background:rgba(255,255,255,.62);border:1px solid rgba(57,52,47,.08);border-radius:28px;padding:24px 24px 26px;box-shadow:var(--afva-shadow-soft);}
.afva-products-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;}
.afva-products-section-head h2{margin:0 0 4px;font-size:38px;line-height:1;font-family:"Newsreader",Georgia,serif;font-weight:500;letter-spacing:-.03em;color:var(--afva-text);}
.afva-products-section-head p{margin:0;color:var(--afva-muted);font-size:14px;}
.afva-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.afva-search input{width:min(320px,100%);min-height:46px;padding:0 16px;border-radius:14px;border:1px solid rgba(57,52,47,.12);background:#fff;font:inherit;color:var(--afva-text);}
.afva-search input:focus{outline:none;border-color:rgba(83,99,77,.32);box-shadow:0 0 0 4px rgba(131,146,123,.11);}
.afva-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;}
.afva-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:999px;background:#f3f0ea;border:1px solid transparent;color:#6f6a64;text-decoration:none!important;font-size:12px;font-weight:700;}
.afva-tabs a.active{background:linear-gradient(180deg,#eef4eb 0%,#e7efe2 100%);color:var(--afva-sage-dark);box-shadow:inset 0 0 0 1px rgba(83,99,77,.10);}
.afva-product-list{display:grid;gap:12px;}
.afva-product-row{display:grid;grid-template-columns:92px minmax(0,1fr) 220px 96px auto;gap:16px;align-items:center;padding:14px;background:#fff;border:1px solid rgba(57,52,47,.08);border-radius:22px;box-shadow:0 2px 10px rgba(50,45,39,.03);}
.afva-row-thumb{width:92px;height:92px;border-radius:18px;overflow:hidden;background:var(--afva-surface-soft);display:flex;align-items:center;justify-content:center;}
.afva-row-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.afva-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#a1a29a;background:#f6f4ef;}
.afva-row-info small{display:inline-flex;align-items:center;gap:6px;margin:0 0 6px;padding:5px 10px;border-radius:999px;background:#f4f2ed;color:#8a847d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;}
.afva-row-info h3{margin:0 0 5px;font-size:24px;line-height:1.05;font-family:"Newsreader",Georgia,serif;font-weight:500;letter-spacing:-.02em;color:var(--afva-text);}
.afva-row-info p{margin:0;color:var(--afva-muted);font-size:14px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.afva-row-status{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-start;}
.afva-status-pill,.afva-home-pill{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid transparent;}
.afva-status-pill .afva-svg,.afva-home-pill .afva-svg{width:15px;height:15px;}
.afva-status-disponivel{background:#edf5ea;color:#486346;border-color:#d9e8d4;}
.afva-status-sob-encomenda{background:#f8f0e4;color:#846536;border-color:#eadcc4;}
.afva-status-indisponivel{background:#f9ece9;color:#8c514a;border-color:#efd6d3;}
.afva-home-pill{background:#eef4eb;color:#57644f;border-color:#dce7d8;}
.afva-row-price{font-size:18px;font-weight:800;color:var(--afva-text);white-space:nowrap;text-align:left;}
.afva-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.afva-trash-inline{margin:0;}
.afva-trash-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;border:1px solid rgba(57,52,47,.10);background:#fff;color:#8d5a55;cursor:pointer;transition:.2s ease;}
.afva-trash-icon:hover{background:#faf0ef;border-color:#efd6d4;}
.afva-empty{padding:46px 24px;text-align:center;background:#fff;border:1px dashed rgba(57,52,47,.14);border-radius:24px;}
.afva-empty h3{margin:8px 0 6px;font-size:30px;font-family:"Newsreader",Georgia,serif;font-weight:500;}
.afva-empty p{margin:0;color:var(--afva-muted);font-size:14px;}
.afva-empty-icon{color:var(--afva-sage-dark);display:inline-flex;}

.afva-back{display:inline-flex;align-items:center;gap:7px;text-decoration:none!important;color:#b17867!important;font-size:12px;font-weight:800;margin-bottom:20px;}
.afva-form-title,.afva-edit-header>div,.afva-summary-top>div,.afva-profile-heading{max-width:760px;}
.afva-form-title{margin-bottom:22px;}
.afva-form-title h1,.afva-edit-header h1,.afva-summary-top h1,.afva-profile-heading h1{margin:0 0 12px;font-size:clamp(38px,4.2vw,64px);line-height:.97;font-family:"Newsreader",Georgia,serif;font-weight:500;letter-spacing:-.03em;}
.afva-form-title p:last-child,.afva-edit-header p:last-child,.afva-summary-top p:last-child,.afva-profile-intro{margin:0;color:var(--afva-muted);font-size:15px;line-height:1.65;}
.afva-progress{margin-bottom:22px;}
.afva-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:11px;font-weight:800;color:#8f897f;text-transform:uppercase;letter-spacing:.12em;}
.afva-progress-track{height:8px;background:#ebe6dd;border-radius:999px;overflow:hidden;}
.afva-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#93a286 0%,#7c8e71 100%);border-radius:999px;transition:width .25s ease;}
.afva-question{display:none;}
.afva-question.active{display:block;}
.afva-question-card{padding:38px 40px 34px;background:#fff;border:1px solid rgba(57,52,47,.08);border-radius:30px;box-shadow:var(--afva-shadow);}
.afva-question-index{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:var(--afva-surface-green);color:var(--afva-sage-dark);font-size:11px;font-weight:800;letter-spacing:.06em;margin-bottom:16px;}
.afva-question-card h2{margin:0 0 10px;font-size:clamp(32px,3.4vw,54px);line-height:1.02;font-family:"Newsreader",Georgia,serif;font-weight:500;letter-spacing:-.03em;}
.afva-question-copy{margin:0 0 18px;color:var(--afva-muted);font-size:15px;line-height:1.65;max-width:760px;}
.afva-conversation-field input,.afva-conversation-field textarea,.afva-edit-field input,.afva-edit-field textarea,.afva-edit-field select,.afva-conditional-field input,.afva-conditional-field textarea,.afva-profile-fields input{width:100%;border:1px solid rgba(57,52,47,.10);background:#fbfaf7;color:var(--afva-text);border-radius:18px;padding:16px 18px;font:inherit;font-size:15px;line-height:1.6;transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;}
.afva-conversation-field textarea,.afva-edit-field textarea,.afva-conditional-field textarea{min-height:150px;resize:vertical;}
.afva-conversation-field input:focus,.afva-conversation-field textarea:focus,.afva-edit-field input:focus,.afva-edit-field textarea:focus,.afva-edit-field select:focus,.afva-conditional-field input:focus,.afva-conditional-field textarea:focus,.afva-profile-fields input:focus,.afva-search input:focus{outline:none;background:#fff;border-color:rgba(83,99,77,.34);box-shadow:0 0 0 4px rgba(131,146,123,.10);}
.afva-optional-note{margin:16px 0 0;color:#9a938c;font-size:13px;line-height:1.55;}
.afva-validation{margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#faf0ef;color:#90544c;font-size:13px;font-weight:700;}
.afva-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:0 4px;}

.afva-category-cards,.afva-choice-cards{display:grid;gap:12px;}
.afva-category-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
.afva-choice-cards-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.afva-choice-cards-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.afva-category-card,.afva-choice-card{position:relative;display:block;cursor:pointer;}
.afva-category-card input,.afva-choice-card input{position:absolute;opacity:0;inset:0;}
.afva-category-card span,.afva-choice-card span{display:flex;flex-direction:column;gap:7px;min-height:124px;padding:18px;border-radius:22px;background:#fcfbf8;border:1px solid rgba(57,52,47,.10);transition:all .18s ease;}
.afva-category-card span strong,.afva-choice-card span strong{font-size:17px;line-height:1.2;font-weight:800;color:var(--afva-text);}
.afva-category-card span small,.afva-choice-card span small{font-size:13px;line-height:1.55;color:var(--afva-muted);}
.afva-category-card input:checked + span,.afva-choice-card input:checked + span{background:linear-gradient(180deg,#eff5ec 0%,#e8efe4 100%);border-color:rgba(83,99,77,.18);box-shadow:0 12px 22px rgba(91,107,84,.08);}
.afva-category-card:hover span,.afva-choice-card:hover span{transform:translateY(-1px);box-shadow:var(--afva-shadow-soft);}
.afva-conditional-field{display:none;margin-top:16px;}
.afva-conditional-field.is-visible{display:block;}
.afva-conditional-field label,.afva-edit-label,.afva-edit-field label,.afva-profile-fields label span{display:block;margin:0 0 8px;font-size:13px;font-weight:800;color:#6e6862;}

.afva-single-upload,.afva-gallery-question{display:grid;gap:14px;}
.afva-preview{display:grid;place-items:center;min-height:250px;padding:14px;background:#fcfbf8;border:1px dashed rgba(57,52,47,.16);border-radius:24px;overflow:hidden;}
.afva-preview img{width:100%;height:100%;object-fit:cover;border-radius:18px;display:block;}
.afva-upload-empty{text-align:center;color:#8f897f;display:grid;gap:6px;justify-items:center;}
.afva-upload-empty span{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#eef4eb;color:#64735d;font-size:24px;line-height:1;}
.afva-upload-empty strong{font-size:15px;color:var(--afva-text);}
.afva-upload-empty small{font-size:12px;}
.afva-file{position:relative;overflow:hidden;width:max-content;background:#eef4eb!important;border-color:#dce7d8!important;color:#54634c!important;box-shadow:none!important;}
.afva-file input{position:absolute;inset:0;opacity:0;cursor:pointer;}
.afva-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px;min-height:170px;background:#fcfbf8;border:1px dashed rgba(57,52,47,.14);border-radius:24px;}
.afva-gallery img,.afva-selected-gallery-item{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:16px;display:block;box-shadow:var(--afva-shadow-soft);}
.afva-gallery-empty{grid-column:1/-1;display:grid;place-items:center;align-content:center;gap:6px;text-align:center;color:#8f897f;min-height:140px;}
.afva-gallery-empty span{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#eef4eb;color:#5d6b56;font-size:22px;}
.afva-gallery-empty strong{font-size:14px;color:var(--afva-text);}
.afva-gallery-empty small{font-size:12px;}

.afva-review-card{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;padding:18px;background:#fcfbf8;border:1px solid rgba(57,52,47,.08);border-radius:24px;}
.afva-review-image{display:grid;place-items:center;aspect-ratio:1/1;border-radius:20px;background:#f2efe8;overflow:hidden;color:#969087;font-size:28px;}
.afva-review-image img{width:100%;height:100%;object-fit:cover;display:block;}
.afva-review-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px;}
.afva-review-gallery img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;display:block;}
.afva-review-category{display:inline-flex;margin:0 0 10px;padding:6px 10px;border-radius:999px;background:#eef4eb;color:#5a6554;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.afva-review-content h3{margin:0 0 8px;font-size:36px;font-family:"Newsreader",Georgia,serif;font-weight:500;letter-spacing:-.03em;color:var(--afva-text);}
.afva-review-content>p{margin:0 0 16px;color:var(--afva-muted);font-size:14px;line-height:1.6;}
.afva-review-content dl{display:grid;gap:10px;margin:0;}
.afva-review-content dl div{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;background:#fff;border:1px solid rgba(57,52,47,.08);border-radius:16px;}
.afva-review-content dt{font-size:12px;font-weight:800;color:#7d766f;}
.afva-review-content dd{margin:0;font-size:14px;font-weight:700;color:var(--afva-text);text-align:right;}
.afva-final{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;}

.afva-edit-header,.afva-summary-top{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:24px;}
.afva-edit-form,.afva-profile-card{display:grid;gap:18px;}
.afva-edit-section,.afva-summary-section,.afva-summary-info,.afva-profile-card{background:rgba(255,255,255,.82);border:1px solid rgba(57,52,47,.08);border-radius:26px;box-shadow:var(--afva-shadow-soft);}
.afva-edit-section{padding:24px;}
.afva-edit-section-title{display:flex;align-items:flex-start;gap:16px;margin-bottom:18px;}
.afva-edit-section-title>span{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:linear-gradient(180deg,#eef4eb 0%,#e7eee3 100%);color:#5a6854;font-size:13px;font-weight:900;flex:0 0 42px;}
.afva-edit-section-title h2{margin:0 0 4px;font-size:28px;font-family:"Newsreader",Georgia,serif;font-weight:500;letter-spacing:-.02em;}
.afva-edit-section-title p{margin:0;color:var(--afva-muted);font-size:14px;line-height:1.6;}
.afva-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.afva-edit-field-full{grid-column:1/-1;}
.afva-edit-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.afva-edit-photo-card{padding:18px;background:#fcfbf8;border:1px solid rgba(57,52,47,.08);border-radius:22px;display:grid;gap:12px;}
.afva-edit-subgroup+.afva-edit-subgroup{margin-top:18px;}
.afva-check{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#6f6a64;font-weight:600;}
.afva-check input{accent-color:#6d7a65;}
.afva-edit-footer{position:sticky;bottom:18px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:6px;padding:16px 18px;background:rgba(255,255,255,.92);border:1px solid rgba(57,52,47,.08);border-radius:22px;box-shadow:0 16px 34px rgba(50,45,39,.08);backdrop-filter:blur(14px);}
.afva-edit-footer>span{color:var(--afva-muted);font-size:13px;}
.afva-edit-footer>div{display:flex;gap:10px;flex-wrap:wrap;}

.afva-summary-shell{display:grid;gap:18px;}
.afva-summary-hero{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:20px;padding:20px;background:rgba(255,255,255,.82);border:1px solid rgba(57,52,47,.08);border-radius:28px;box-shadow:var(--afva-shadow-soft);}
.afva-summary-main-image{border-radius:24px;overflow:hidden;background:#f3efe7;aspect-ratio:4/4.1;}
.afva-summary-main-image img{width:100%;height:100%;object-fit:cover;display:block;}
.afva-summary-intro{display:flex;flex-direction:column;justify-content:center;}
.afva-summary-category{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:#eef4eb;color:#5b6655;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px;}
.afva-summary-intro h2{margin:0 0 8px;font-size:44px;line-height:1;font-family:"Newsreader",Georgia,serif;font-weight:500;letter-spacing:-.03em;}
.afva-summary-intro p{margin:0;color:var(--afva-muted);font-size:15px;line-height:1.7;}
.afva-summary-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
.afva-summary-chips span{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:#f5f2ec;border:1px solid rgba(57,52,47,.08);color:#635d57;font-size:12px;font-weight:700;}
.afva-summary-section{padding:18px 18px 20px;}
.afva-summary-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.afva-summary-section-head span{font-size:12px;color:#8d867e;font-weight:800;text-transform:uppercase;letter-spacing:.12em;}
.afva-summary-section-head h3{margin:0;font-size:24px;font-family:"Newsreader",Georgia,serif;font-weight:500;}
.afva-summary-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.afva-summary-gallery img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:16px;display:block;}
.afva-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.afva-summary-info{padding:18px 18px 20px;}
.afva-summary-info>span{display:block;margin-bottom:8px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8a847d;}
.afva-summary-info p{margin:0;color:var(--afva-text);font-size:15px;line-height:1.7;}
.afva-empty-copy{color:var(--afva-muted)!important;}

.afva-profile-shell{display:grid;gap:18px;}
.afva-profile-card{grid-template-columns:240px minmax(0,1fr);align-items:stretch;padding:22px;}
.afva-profile-side{display:flex;align-items:center;gap:14px;padding-right:22px;border-right:1px solid rgba(57,52,47,.08);}
.afva-profile-avatar{display:grid;place-items:center;width:78px;height:78px;border-radius:24px;background:linear-gradient(180deg,#eef4eb 0%,#e7eee2 100%);color:#586453;font-size:36px;font-family:"Newsreader",Georgia,serif;}
.afva-profile-side strong{display:block;font-size:20px;font-family:"Newsreader",Georgia,serif;font-weight:500;letter-spacing:-.02em;}
.afva-profile-side small{display:block;margin-top:4px;color:var(--afva-muted);font-size:13px;}
.afva-profile-fields{display:grid;gap:14px;}
.afva-profile-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;}
.afva-profile-password{text-decoration:none!important;color:#827a73;font-size:13px;font-weight:700;}

.afva-login{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(180deg,#faf8f3 0%,#f4f1eb 100%);}
.afva-login-card{width:min(100%,460px);padding:32px;background:#fff;border:1px solid rgba(57,52,47,.08);border-radius:28px;box-shadow:var(--afva-shadow);}
.afva-login-card .afva-brand{font-family:"Newsreader",Georgia,serif;font-size:38px;line-height:1;font-weight:500;color:var(--afva-sage-dark);margin-bottom:8px;}
.afva-login-card h2{margin:0 0 10px;font-size:48px;line-height:.96;letter-spacing:-.03em;}
.afva-login-card p{margin:0 0 18px;color:var(--afva-muted);line-height:1.7;}
.afva-login form p{margin-bottom:14px;}
.afva-login input[type="text"],.afva-login input[type="password"]{width:100%;min-height:50px;padding:0 16px;border-radius:16px;border:1px solid rgba(57,52,47,.12);background:#fbfaf7;font:inherit;}
.afva-login input[type="submit"]{min-height:48px;padding:0 20px;border:0;border-radius:16px;background:linear-gradient(180deg,#4c4642 0%,#3b3632 100%);color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer;}
.afva-forgot{display:inline-flex;margin-top:4px;color:#8f6c5e;text-decoration:none!important;font-size:13px;font-weight:700;}

@media (max-width: 1220px){
  .afva-front{padding:32px 24px 104px;}
  .afva-product-row{grid-template-columns:92px minmax(0,1fr) 1fr;grid-template-areas:"thumb info info" "thumb meta meta" "thumb price actions";align-items:start;}
  .afva-row-thumb{grid-area:thumb;}
  .afva-row-info{grid-area:info;}
  .afva-row-status{grid-area:meta;}
  .afva-row-price{grid-area:price;align-self:center;}
  .afva-row-actions{grid-area:actions;justify-content:flex-end;}
}
@media (max-width: 980px){
  .afva-app-shell{grid-template-columns:1fr;}
  .afva-app-main{grid-column:1/-1;}
  .afva-app-sidebar{position:fixed;left:12px;right:12px;bottom:12px;top:auto;width:auto;height:74px;padding:10px 12px;flex-direction:row;align-items:center;justify-content:space-between;border-radius:24px;border:1px solid rgba(57,52,47,.08);box-shadow:0 18px 40px rgba(50,45,39,.14);z-index:90;}
  .afva-sidebar-brand{display:none;}
  .afva-sidebar-note{display:none;}
  .afva-sidebar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;}
  .afva-sidebar-nav a{justify-content:center;padding:0 10px;}
  .afva-app-topbar{height:72px;padding:0 16px;}
  .afva-front{padding:22px 16px 116px;}
  .afva-dashboard-hero,.afva-products-section-head,.afva-edit-header,.afva-summary-top,.afva-dashboard-hero-compact{flex-direction:column;align-items:flex-start;}
  .afva-dashboard-hero,.afva-dashboard-hero-compact{gap:18px;}
  .afva-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .afva-category-cards,.afva-choice-cards-2,.afva-choice-cards-3,.afva-edit-fields,.afva-edit-photo-grid,.afva-summary-grid,.afva-summary-hero,.afva-profile-card{grid-template-columns:1fr;}
  .afva-profile-side{border-right:0;border-bottom:1px solid rgba(57,52,47,.08);padding-right:0;padding-bottom:18px;}
  .afva-review-card{grid-template-columns:1fr;}
  .afva-review-gallery,.afva-summary-gallery,.afva-gallery{grid-template-columns:repeat(3,minmax(0,1fr));}
  .afva-edit-footer{position:sticky;bottom:88px;align-items:stretch;flex-direction:column;}
  .afva-edit-footer>div{display:grid;grid-template-columns:1fr 1fr;width:100%;}
  .afva-edit-footer .afva-btn{width:100%;}
}
@media (max-width: 680px){
  .afva-mobile-brand{display:flex;align-items:center;gap:8px;}
  .afva-mobile-brand strong{font-family:"Newsreader",Georgia,serif;font-size:22px;font-weight:600;color:var(--afva-sage-dark);}
  .afva-mobile-brand .afva-svg{width:20px;height:20px;color:var(--afva-sage-dark);}
  .afva-topbar-context{display:none;}
  .afva-topbar-actions{gap:10px;}
  .afva-topbar-site span{display:none;}
  .afva-user-copy,.afva-user-caret{display:none;}
  .afva-dashboard-hero h1,.afva-form-title h1,.afva-edit-header h1,.afva-summary-top h1,.afva-profile-heading h1{font-size:42px;}
  .afva-products-section{padding:18px;}
  .afva-products-section-head h2{font-size:32px;}
  .afva-product-row{grid-template-columns:1fr;grid-template-areas:none;padding:14px;}
  .afva-row-thumb{width:100%;height:auto;aspect-ratio:16/10;}
  .afva-row-status,.afva-row-price,.afva-row-actions{justify-content:flex-start;}
  .afva-question-card{padding:28px 20px 24px;border-radius:24px;}
  .afva-question-card h2{font-size:40px;}
  .afva-question-copy{font-size:14px;}
  .afva-nav{position:sticky;bottom:84px;padding:12px 0 0;background:linear-gradient(180deg,rgba(246,243,237,0) 0%,rgba(246,243,237,.9) 28%,rgba(246,243,237,1) 48%);}
  .afva-nav .afva-btn{min-height:46px!important;}
  .afva-final{flex-direction:column;}
  .afva-final .afva-btn,.afva-search input,.afva-search button,.afva-file{width:100%!important;}
  .afva-search{width:100%;}
  .afva-search button{justify-content:center;}
  .afva-summary-intro h2{font-size:38px;}
  .afva-summary-gallery,.afva-gallery,.afva-review-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}
  .afva-app-sidebar{left:10px;right:10px;bottom:10px;}
}
@media (max-width: 420px){
  .afva-front{padding-inline:12px;}
  .afva-stats{grid-template-columns:1fr;}
  .afva-question-card h2{font-size:34px;}
  .afva-dashboard-hero h1,.afva-form-title h1,.afva-edit-header h1,.afva-summary-top h1,.afva-profile-heading h1{font-size:36px;}
  .afva-products-section-head h2{font-size:28px;}
  .afva-review-content h3{font-size:30px;}
  .afva-summary-intro h2{font-size:32px;}
  .afva-edit-footer>div{grid-template-columns:1fr;}
}


/* ==========================================================================
   v0.7.1 — SAFE UI POLISH
   Apenas apresentação. Não altera fluxos, campos, salvamento ou navegação.
   Corrige principalmente a seção 04 da edição, que estava auto-distribuindo
   os blocos nas duas colunas da grade.
   ========================================================================== */

/* Base mais limpa */
.afva-front{
  padding-top:42px!important;
}
.afva-edit-shell,
.afva-summary-shell,
.afva-wizard-shell{
  width:min(100%,1040px)!important;
}
.afva-edit-header,
.afva-summary-top{
  margin-bottom:28px!important;
}
.afva-edit-header h1,
.afva-summary-top h1,
.afva-form-title h1{
  max-width:820px;
}
.afva-edit-header p:last-child,
.afva-summary-top p:last-child,
.afva-form-title p:last-child{
  max-width:680px;
}

/* EDIÇÃO — corrige o layout quebrado sem mudar a experiência */
.afva-edit-form{
  gap:18px!important;
}
.afva-edit-section{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
  padding:28px!important;
  margin:0!important;
  border:1px solid rgba(57,52,47,.08)!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 10px 32px rgba(50,45,39,.045)!important;
}
.afva-edit-section:first-of-type{
  padding-top:28px!important;
}
.afva-edit-section-title{
  display:flex!important;
  align-items:flex-start!important;
  gap:14px!important;
  max-width:none!important;
  margin:0 0 24px!important;
  padding:0 0 20px!important;
  border-bottom:1px solid rgba(57,52,47,.07)!important;
}
.afva-edit-section-title>span{
  width:38px!important;
  height:38px!important;
  border-radius:14px!important;
  background:#eef4eb!important;
  color:#596754!important;
  font-size:11px!important;
  flex:0 0 38px!important;
}
.afva-edit-section-title h2{
  margin:0 0 5px!important;
  font-family:"Newsreader",Georgia,serif!important;
  font-size:29px!important;
  line-height:1.05!important;
  font-weight:500!important;
  letter-spacing:-.025em!important;
  color:var(--afva-text)!important;
}
.afva-edit-section-title p{
  margin:0!important;
  max-width:620px!important;
  font-size:13px!important;
  line-height:1.6!important;
  color:var(--afva-muted)!important;
}

/* Campos */
.afva-edit-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
.afva-edit-field-full{
  grid-column:1/-1!important;
}
.afva-edit-field label,
.afva-edit-label,
.afva-conditional-field label{
  margin-bottom:9px!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:800!important;
  color:#68625d!important;
}
.afva-edit-field input,
.afva-edit-field textarea,
.afva-edit-field select,
.afva-conditional-field input,
.afva-conditional-field textarea{
  min-height:50px!important;
  padding:14px 16px!important;
  border:1px solid rgba(57,52,47,.095)!important;
  border-radius:16px!important;
  background:#f8f7f3!important;
  box-shadow:none!important;
  font-size:14px!important;
}
.afva-edit-field textarea,
.afva-conditional-field textarea{
  min-height:135px!important;
}
.afva-edit-field input:focus,
.afva-edit-field textarea:focus,
.afva-edit-field select:focus,
.afva-conditional-field input:focus,
.afva-conditional-field textarea:focus{
  background:#fff!important;
  border-color:rgba(83,99,77,.32)!important;
  box-shadow:0 0 0 4px rgba(131,146,123,.09)!important;
}

/* A seção "Exibição no site" contém vários subgrupos:
   todos agora ocupam a largura total, em sequência vertical. */
.afva-edit-subgroup{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.afva-edit-subgroup + .afva-edit-subgroup{
  margin-top:26px!important;
  padding-top:24px!important;
  border-top:1px solid rgba(57,52,47,.07)!important;
}
.afva-edit-subgroup .afva-choice-cards{
  width:100%!important;
}
.afva-edit-subgroup .afva-choice-cards-2{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.afva-edit-subgroup .afva-choice-cards-3{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Opções mais modernas e com proporção consistente */
.afva-choice-card span,
.afva-category-card span{
  min-height:104px!important;
  padding:17px 18px!important;
  border-radius:18px!important;
  background:#faf9f6!important;
  border:1px solid rgba(57,52,47,.09)!important;
  box-shadow:none!important;
}
.afva-choice-card span strong,
.afva-category-card span strong{
  font-size:15px!important;
  line-height:1.2!important;
  margin-bottom:3px!important;
}
.afva-choice-card span small,
.afva-category-card span small{
  font-size:12px!important;
  line-height:1.5!important;
}
.afva-choice-card input:checked + span,
.afva-category-card input:checked + span{
  background:#edf3e9!important;
  border-color:rgba(83,99,77,.20)!important;
  box-shadow:inset 0 0 0 1px rgba(83,99,77,.05)!important;
}
.afva-choice-card:hover span,
.afva-category-card:hover span{
  transform:none!important;
  border-color:rgba(83,99,77,.18)!important;
  background:#fff!important;
}

/* Fotos na edição */
.afva-edit-photo-grid{
  gap:18px!important;
}
.afva-edit-photo-card{
  padding:18px!important;
  border-radius:20px!important;
  background:#faf9f6!important;
  border:1px solid rgba(57,52,47,.08)!important;
}
.afva-edit-photo-card>label:first-child{
  font-size:12px!important;
  font-weight:800!important;
  color:#68625d!important;
}
.afva-preview{
  background:#f5f2ec!important;
  border-color:rgba(57,52,47,.12)!important;
  border-radius:20px!important;
}
.afva-gallery{
  background:#f8f7f3!important;
  border-color:rgba(57,52,47,.10)!important;
  border-radius:20px!important;
}

/* Rodapé de salvar */
.afva-edit-footer{
  margin-top:4px!important;
  padding:14px 16px!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(57,52,47,.08)!important;
  box-shadow:0 14px 30px rgba(50,45,39,.07)!important;
}
.afva-edit-footer>span{
  font-size:11px!important;
}

/* RESUMO — organização em cartões leves */
.afva-summary-hero{
  padding:18px!important;
  gap:24px!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(57,52,47,.08)!important;
  box-shadow:0 10px 32px rgba(50,45,39,.045)!important;
}
.afva-summary-main-image{
  border-radius:20px!important;
}
.afva-summary-intro h2{
  font-size:clamp(34px,4vw,50px)!important;
}
.afva-summary-section,
.afva-summary-info{
  border-radius:22px!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(57,52,47,.08)!important;
  box-shadow:0 8px 24px rgba(50,45,39,.035)!important;
}
.afva-summary-info{
  min-height:150px;
}
.afva-summary-info>span{
  margin-bottom:12px!important;
  font-size:10px!important;
  letter-spacing:.12em!important;
}
.afva-summary-info p{
  font-size:14px!important;
  line-height:1.65!important;
}
.afva-summary-gallery img{
  border-radius:15px!important;
}

/* CADASTRO GUIADO — mesmo fluxo, só mais leve */
.afva-question-card{
  padding:36px 38px 32px!important;
  border-radius:26px!important;
  background:#fff!important;
  border:1px solid rgba(57,52,47,.075)!important;
  box-shadow:0 12px 34px rgba(50,45,39,.05)!important;
}
.afva-question-card h2{
  margin-bottom:12px!important;
}
.afva-question-copy{
  margin-bottom:22px!important;
}
.afva-conversation-field input,
.afva-conversation-field textarea{
  background:#f8f7f3!important;
  border-color:rgba(57,52,47,.09)!important;
  border-radius:17px!important;
}

/* Produtos / dashboard — só refinamento visual */
.afva-products-section{
  border-radius:24px!important;
  box-shadow:0 8px 26px rgba(50,45,39,.035)!important;
}
.afva-product-row{
  border-radius:18px!important;
  box-shadow:none!important;
}
.afva-product-row:hover{
  transform:none!important;
  border-color:rgba(83,99,77,.16)!important;
}
.afva-row-thumb{
  border-radius:15px!important;
}
.afva-row-info h3{
  font-size:22px!important;
}

/* Mobile — nenhuma coluna estreita */
@media(max-width:980px){
  .afva-edit-section{
    padding:22px!important;
  }
  .afva-edit-subgroup .afva-choice-cards-2,
  .afva-edit-subgroup .afva-choice-cards-3,
  .afva-edit-fields,
  .afva-edit-photo-grid{
    grid-template-columns:1fr!important;
  }
  .afva-edit-field-full{
    grid-column:auto!important;
  }
}
@media(max-width:680px){
  .afva-front{
    padding-top:22px!important;
  }
  .afva-edit-section{
    padding:18px!important;
    border-radius:22px!important;
  }
  .afva-edit-section-title{
    margin-bottom:18px!important;
    padding-bottom:16px!important;
  }
  .afva-edit-section-title h2{
    font-size:25px!important;
  }
  .afva-choice-card span,
  .afva-category-card span{
    min-height:88px!important;
  }
  .afva-edit-footer{
    bottom:86px!important;
  }
  .afva-question-card{
    padding:27px 20px 24px!important;
  }
}


/* ==========================================================================
   v0.9.5 — feedback de salvamento + espaço para a barra do WordPress
   ========================================================================== */

/* Quando o usuário está logado, a admin bar do WordPress ocupa o topo.
   A sidebar e a topbar da Área da Produtora respeitam esse espaço. */
@media (min-width:981px){
  body.admin-bar.afva-producer-page .afva-app-sidebar{
    top:32px!important;
  }
}
@media (min-width:783px){
  body.admin-bar.afva-producer-page .afva-app-topbar{
    top:32px!important;
  }
}
@media (max-width:782px){
  body.admin-bar.afva-producer-page .afva-app-topbar{
    top:46px!important;
  }
}

/* Feedback de salvamento/publicação */
.afva-saving-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(247,243,234,.82);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  animation:afva-saving-fade .18s ease both;
}
.afva-saving-card{
  display:flex;
  align-items:center;
  gap:18px;
  width:min(460px,100%);
  padding:22px 24px;
  border:1px solid rgba(57,52,47,.09);
  border-radius:24px;
  background:rgba(255,255,255,.96);
  box-shadow:0 22px 60px rgba(50,45,39,.13);
}
.afva-saving-spinner{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:3px solid #e7e2d9;
  border-top-color:#7f8f74;
  border-radius:50%;
  animation:afva-saving-spin .8s linear infinite;
}
.afva-saving-copy strong{
  display:block;
  margin:0 0 5px;
  color:var(--afva-text);
  font-family:"Newsreader",Georgia,serif;
  font-size:23px;
  line-height:1.08;
  font-weight:500;
  letter-spacing:-.02em;
}
.afva-saving-copy p{
  margin:0!important;
  color:var(--afva-muted)!important;
  font-size:12px!important;
  line-height:1.6!important;
}
.afva-conversational-form.is-submitting,
.afva-edit-form.is-submitting{
  pointer-events:none;
}
.afva-conversational-form.is-submitting button[type="submit"],
.afva-edit-form.is-submitting button[type="submit"]{
  opacity:.7;
}

@keyframes afva-saving-spin{
  to{transform:rotate(360deg)}
}
@keyframes afva-saving-fade{
  from{opacity:0}
  to{opacity:1}
}

@media(max-width:520px){
  .afva-saving-card{
    align-items:flex-start;
    gap:14px;
    padding:19px;
    border-radius:20px;
  }
  .afva-saving-spinner{
    width:34px;
    height:34px;
    flex-basis:34px;
  }
  .afva-saving-copy strong{
    font-size:20px;
  }
}


/* ==========================================================================
   v0.9.6 — galeria ordenável e remoção individual
   ========================================================================== */
.afva-gallery-item{
  position:relative;
  min-width:0;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:16px;
  background:#eee9e0;
  box-shadow:0 4px 14px rgba(50,45,39,.05);
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease;
}
.afva-gallery-item:active{cursor:grabbing;}
.afva-gallery-item.is-dragging{
  opacity:.55;
  transform:scale(.98);
  box-shadow:0 12px 26px rgba(50,45,39,.12);
}
.afva-gallery-item>img{
  width:100%!important;
  height:100%!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  display:block!important;
  border-radius:0!important;
  box-shadow:none!important;
  pointer-events:none;
}
.afva-gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(25,23,20,.12),transparent 34%,rgba(25,23,20,.08));
}
.afva-gallery-item__order{
  position:absolute;
  z-index:3;
  top:9px;
  left:9px;
  display:grid;
  place-items:center;
  min-width:27px;
  height:27px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#58524d;
  font-size:10px;
  font-weight:800;
  box-shadow:0 3px 10px rgba(0,0,0,.06);
}
.afva-gallery-item__controls{
  position:absolute;
  z-index:4;
  top:8px;
  right:8px;
  display:flex;
  gap:5px;
}
.afva-gallery-item__controls button{
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  min-width:29px;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.93)!important;
  color:#4c4641!important;
  font:700 13px/1 Arial,sans-serif!important;
  box-shadow:0 3px 10px rgba(0,0,0,.07)!important;
  cursor:pointer;
}
.afva-gallery-item__controls button:hover{
  background:#fff!important;
  transform:translateY(-1px);
}
.afva-gallery-item__controls button:disabled{
  opacity:.34;
  cursor:default;
  transform:none;
}
.afva-gallery-item__controls button.is-remove{
  color:#995f57!important;
  font-size:18px!important;
}
.afva-gallery-help{
  margin:0!important;
  max-width:720px;
  color:#918b84!important;
  font-size:12px!important;
  line-height:1.55!important;
}
.afva-gallery:has(.afva-gallery-item){
  border-style:solid!important;
}
@media(max-width:680px){
  .afva-gallery-item__controls{
    top:6px;
    right:6px;
    gap:4px;
  }
  .afva-gallery-item__controls button{
    width:31px;
    height:31px;
    min-width:31px;
  }
}


/* ==========================================================================
   v0.9.7 — estados de disponibilidade e visibilidade
   ========================================================================== */
.afva-status-misto{
  background:#f1f4e8!important;
  color:#68714d!important;
  border-color:#dfe6cd!important;
}
.afva-hidden-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#f1efeb;
  color:#777069;
  border:1px solid rgba(57,52,47,.08);
  font-size:12px;
  font-weight:700;
}
.afva-row-quick-form{
  margin:0;
}
.afva-btn-state{
  white-space:nowrap;
}
.afva-alert-strong{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:18px 20px!important;
}
.afva-alert-strong strong{
  font-family:"Newsreader",Georgia,serif;
  font-size:21px;
  line-height:1.1;
  font-weight:500;
}
.afva-alert-strong span{
  font-size:13px;
  line-height:1.5;
}
.afva-product-row.is-just-saved{
  border-color:rgba(127,143,116,.24)!important;
  box-shadow:0 0 0 4px rgba(127,143,116,.06)!important;
}


/* ==========================================================================
   v0.9.8 — lista de produtos mais respirada + revisão completa antes de salvar
   ========================================================================== */

/* Lista: ações não comprimem mais categoria e status.
   Desktop usa duas linhas dentro do mesmo card. */
.afva-product-row{
  grid-template-columns:86px minmax(0,1fr) auto!important;
  grid-template-areas:
    "thumb info price"
    "thumb status actions"!important;
  column-gap:16px!important;
  row-gap:8px!important;
  min-height:118px!important;
  padding:13px 15px 13px 12px!important;
}
.afva-row-thumb{grid-area:thumb;align-self:start!important;}
.afva-row-info{grid-area:info;align-self:end!important;min-width:0!important;}
.afva-row-status{grid-area:status;align-self:start!important;min-width:0!important;}
.afva-row-price{grid-area:price;align-self:end!important;justify-self:end!important;}
.afva-row-actions{
  grid-area:actions;
  align-self:start!important;
  justify-self:end!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  max-width:100%!important;
}
.afva-row-info small{
  display:inline-flex!important;
  width:max-content;
  max-width:100%;
  padding:5px 9px;
  border-radius:999px;
  background:#f3f0e9;
  margin-bottom:7px!important;
}
.afva-row-status .afva-status-pill,
.afva-row-status .afva-home-pill,
.afva-row-status .afva-hidden-pill{
  flex:0 0 auto;
}

/* Em telas mais estreitas, ações ganham uma linha própria. */
@media(max-width:1180px){
  .afva-product-row{
    grid-template-columns:76px minmax(0,1fr)!important;
    grid-template-areas:
      "thumb info"
      "thumb status"
      "thumb price"
      "actions actions"!important;
  }
  .afva-row-price{
    justify-self:start!important;
  }
  .afva-row-actions{
    justify-self:start!important;
    justify-content:flex-start!important;
    padding-top:4px;
  }
}
@media(max-width:680px){
  .afva-product-row{
    grid-template-columns:72px minmax(0,1fr)!important;
    grid-template-areas:
      "thumb info"
      "thumb status"
      "price price"
      "actions actions"!important;
    padding:12px!important;
  }
  .afva-row-status{
    gap:5px!important;
  }
  .afva-row-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
  }
  .afva-row-actions .afva-btn,
  .afva-row-actions .afva-row-quick-form,
  .afva-row-actions .afva-row-quick-form .afva-btn{
    width:100%!important;
  }
  .afva-trash-inline{
    grid-column:1/-1;
  }
}

/* Revisão completa */
.afva-review-overview{
  display:grid;
  gap:14px;
}
.afva-review-section{
  padding:22px;
  border:1px solid var(--afva-line);
  border-radius:22px;
  background:rgba(255,255,255,.76);
}
.afva-review-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:17px;
}
.afva-review-section-kicker{
  display:block;
  margin-bottom:4px;
  color:var(--afva-sage-dark);
  font-size:8px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.afva-review-section-head h3{
  margin:0!important;
  font-family:"Newsreader",Georgia,serif!important;
  font-size:25px!important;
  line-height:1.05!important;
  font-weight:500!important;
  letter-spacing:-.02em!important;
}
.afva-review-photo-grid{
  display:grid;
  grid-template-columns:minmax(220px,300px) minmax(0,1fr);
  gap:18px;
}
.afva-review-photo-block{
  min-width:0;
}
.afva-review-minihead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
  color:var(--afva-muted);
  font-size:9px;
  font-weight:800;
}
.afva-review-image{
  aspect-ratio:4/3!important;
  border-radius:18px!important;
}
.afva-review-gallery{
  grid-template-columns:repeat(auto-fill,minmax(82px,1fr))!important;
  gap:8px!important;
  margin-top:0!important;
}
.afva-review-gallery img{
  border-radius:13px!important;
}
.afva-review-empty-gallery{
  margin:12px 0 0!important;
  color:#9a948d!important;
  font-size:10px!important;
}
.afva-review-list{
  display:grid;
  gap:0;
  border-top:1px solid var(--afva-line);
}
.afva-review-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:start;
  padding:14px 0;
  border-bottom:1px solid var(--afva-line);
}
.afva-review-row>div{
  min-width:0;
}
.afva-review-row>div>span{
  display:block;
  margin-bottom:5px;
  color:#8d8780;
  font-size:8px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.afva-review-row strong{
  display:block;
  color:var(--afva-text);
  font-size:12px;
  line-height:1.5;
  font-weight:800;
  white-space:pre-line;
}
.afva-review-row p{
  margin:0!important;
  color:var(--afva-text)!important;
  font-size:11px!important;
  line-height:1.65!important;
  white-space:pre-line;
}
.afva-review-edit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:34px;
  min-height:34px;
  padding:0 10px;
  border:1px solid var(--afva-line);
  border-radius:12px;
  background:#fff;
  color:#6f6963;
  cursor:pointer;
  font:inherit;
  font-size:9px;
  font-weight:800;
  transition:background .18s,border-color .18s,transform .18s;
}
.afva-review-edit:hover{
  background:var(--afva-surface-green);
  border-color:#dbe5d5;
  color:var(--afva-sage-dark);
  transform:translateY(-1px);
}
.afva-review-edit .afva-svg{
  width:14px!important;
  height:14px!important;
}
.afva-review-tip{
  display:flex;
  align-items:flex-start;
  gap:11px;
  margin-top:15px;
  padding:14px 16px;
  border-radius:17px;
  background:var(--afva-surface-green);
  color:var(--afva-sage-ink);
}
.afva-review-tip>span{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  flex:0 0 25px;
  border-radius:50%;
  background:#fff;
  font-size:11px;
  font-weight:900;
}
.afva-review-tip p{
  margin:0!important;
  font-size:10px!important;
  line-height:1.55!important;
}
.afva-review-tip strong{
  display:block;
  margin-bottom:2px;
}
.afva-question[data-step="16"] .afva-question-card{
  padding-bottom:28px!important;
}
.afva-question[data-step="16"] .afva-final{
  margin-top:18px!important;
}

@media(max-width:820px){
  .afva-review-photo-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:520px){
  .afva-review-section{
    padding:17px;
    border-radius:19px;
  }
  .afva-review-row{
    gap:10px;
  }
  .afva-review-edit span{
    display:none;
  }
}


/* ==========================================================================
   v0.9.9 — cards compactos em Meus Produtos
   Mantém as ações, mas reduz o ruído visual.
   ========================================================================== */

.afva-product-row{
  position:relative;
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr) minmax(220px,auto) auto!important;
  grid-template-areas:"thumb info meta actions"!important;
  align-items:center!important;
  gap:14px!important;
  min-height:96px!important;
  padding:10px 12px!important;
  border-radius:18px!important;
}
.afva-row-thumb{
  grid-area:thumb!important;
  width:78px!important;
  height:78px!important;
  align-self:center!important;
  border-radius:15px!important;
}
.afva-row-info{
  grid-area:info!important;
  align-self:center!important;
  min-width:0!important;
}
.afva-row-info small{
  margin:0 0 5px!important;
  padding:4px 8px!important;
  font-size:9px!important;
}
.afva-row-info h3{
  margin:0 0 3px!important;
  font-size:21px!important;
  line-height:1.08!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.afva-row-info p{
  margin:0!important;
  max-width:560px;
  font-size:11px!important;
  line-height:1.4!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.afva-row-meta{
  grid-area:meta;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
  flex-wrap:wrap;
}
.afva-row-status{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  min-width:0!important;
}
.afva-row-status .afva-status-pill,
.afva-row-status .afva-home-pill,
.afva-row-status .afva-hidden-pill{
  min-height:30px!important;
  padding:0 10px!important;
  font-size:10px!important;
  white-space:nowrap!important;
}
.afva-row-price-value{
  color:#5f5a54;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}
.afva-row-actions{
  grid-area:actions!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  align-self:center!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
  padding:0!important;
}
.afva-row-edit-btn{
  min-height:38px!important;
  padding:0 13px!important;
  border-radius:13px!important;
}
.afva-row-more{
  position:relative;
  flex:0 0 auto;
}
.afva-row-more summary{
  list-style:none;
}
.afva-row-more summary::-webkit-details-marker{
  display:none;
}
.afva-row-more-summary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:0 12px;
  border:1px solid rgba(57,52,47,.10);
  border-radius:13px;
  background:#fff;
  color:#625d57;
  cursor:pointer;
  user-select:none;
  font-size:10px;
  font-weight:800;
  transition:background .18s,border-color .18s;
}
.afva-row-more-summary:hover,
.afva-row-more[open] .afva-row-more-summary{
  background:#f6f4ef;
  border-color:rgba(57,52,47,.15);
}
.afva-row-more-dots{
  font-size:12px;
  letter-spacing:1px;
  line-height:1;
}
.afva-row-more-menu{
  position:absolute;
  z-index:80;
  top:calc(100% + 7px);
  right:0;
  width:210px;
  padding:7px;
  border:1px solid rgba(57,52,47,.09);
  border-radius:16px;
  background:rgba(255,255,255,.98);
  box-shadow:0 18px 44px rgba(45,40,36,.13);
}
.afva-row-more-menu form{
  margin:0!important;
}
.afva-more-item{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-height:39px!important;
  padding:0 11px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#514c47!important;
  text-align:left!important;
  text-decoration:none!important;
  cursor:pointer!important;
  font:inherit!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:750!important;
  box-shadow:none!important;
}
.afva-more-item:hover{
  background:#f5f3ee!important;
}
.afva-more-item .afva-svg{
  width:15px!important;
  height:15px!important;
  flex:0 0 15px;
}
.afva-more-item.is-danger{
  color:#9a5d55!important;
}
.afva-more-item.is-danger:hover{
  background:#fbefed!important;
}

/* Remove layout alto da versão anterior */
.afva-row-price{
  display:none!important;
}
.afva-row-quick-form,
.afva-trash-inline{
  margin:0!important;
}

@media(max-width:1160px){
  .afva-product-row{
    grid-template-columns:72px minmax(0,1fr) auto!important;
    grid-template-areas:
      "thumb info actions"
      "thumb meta actions"!important;
    row-gap:5px!important;
  }
  .afva-row-thumb{
    width:72px!important;
    height:72px!important;
  }
  .afva-row-meta,
  .afva-row-status{
    justify-content:flex-start!important;
  }
}
@media(max-width:760px){
  .afva-product-row{
    grid-template-columns:64px minmax(0,1fr) auto!important;
    grid-template-areas:
      "thumb info actions"
      "thumb meta meta"!important;
    min-height:88px!important;
    gap:10px!important;
  }
  .afva-row-thumb{
    width:64px!important;
    height:64px!important;
  }
  .afva-row-info p{
    display:none!important;
  }
  .afva-row-info h3{
    font-size:18px!important;
  }
  .afva-row-actions{
    align-self:center!important;
  }
  .afva-row-edit-btn span{
    display:none;
  }
  .afva-row-edit-btn{
    width:38px!important;
    min-width:38px!important;
    padding:0!important;
  }
  .afva-row-more-summary{
    width:38px;
    min-width:38px;
    padding:0;
  }
  .afva-row-more-summary>span:first-child{
    display:none;
  }
  .afva-row-more-menu{
    right:0;
    width:205px;
  }
}
@media(max-width:480px){
  .afva-product-row{
    grid-template-columns:58px minmax(0,1fr) auto!important;
    grid-template-areas:
      "thumb info actions"
      "meta meta meta"!important;
    padding:10px!important;
  }
  .afva-row-thumb{
    width:58px!important;
    height:58px!important;
  }
  .afva-row-meta{
    padding-top:2px;
  }
  .afva-row-status .afva-status-pill,
  .afva-row-status .afva-home-pill,
  .afva-row-status .afva-hidden-pill{
    min-height:28px!important;
    padding:0 8px!important;
    font-size:9px!important;
  }
}


/* ==========================================================================
   v0.9.10 — categorias mais discretas em Meus Produtos
   ========================================================================== */
.afva-row-info small{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  max-width:100%!important;
  min-height:0!important;
  margin:0 0 5px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#9b948c!important;
  font-size:8px!important;
  line-height:1.2!important;
  font-weight:750!important;
  letter-spacing:.095em!important;
  text-transform:uppercase!important;
}

/* Mantém o nome do produto como principal elemento visual. */
.afva-row-info h3{
  margin-top:0!important;
}


/* ==========================================================================
   v0.9.11 — busca compacta em linha
   ========================================================================== */
.afva-products-section-head .afva-search{
  display:grid!important;
  grid-template-columns:minmax(190px,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  width:min(360px,100%)!important;
  flex-wrap:nowrap!important;
}
.afva-products-section-head .afva-search input{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
}
.afva-products-section-head .afva-search button{
  width:auto!important;
  min-width:68px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 15px!important;
  white-space:nowrap!important;
}

@media(max-width:680px){
  .afva-products-section-head .afva-search{
    width:100%!important;
    grid-template-columns:minmax(0,1fr) auto!important;
  }
}


/* ==========================================================================
   v0.9.12 — botão Editar compacto no resumo
   ========================================================================== */
.afva-review-edit{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0 10px!important;
  margin:0!important;
  border:1px solid rgba(57,52,47,.10)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#6f6963!important;
  box-shadow:none!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.afva-review-edit .afva-svg{
  display:block!important;
  width:13px!important;
  height:13px!important;
  flex:0 0 13px!important;
  margin:0!important;
}
.afva-review-edit span{
  display:inline!important;
  margin:0!important;
  line-height:1!important;
}
.afva-review-edit:hover{
  background:#f1f5ee!important;
  border-color:#dbe5d5!important;
  color:#596653!important;
  transform:translateY(-1px)!important;
}

/* Na área de fotos, mantém o botão colado ao título e sem aparência de CTA grande. */
.afva-review-minihead .afva-review-edit{
  flex:0 0 auto!important;
}


/* ==========================================================================\n   v0.9.13 — auditoria responsiva completa da Área da Produtora\n   Corrige dashboard, cadastro, edição, resumo, perfil, login e listagem\n   em celulares sem alterar a experiência ou as funcionalidades.\n   ========================================================================== */

/* Proteções globais contra overflow em telas pequenas */
body.afva-producer-page,
body.afva-producer-page #page,
body.afva-producer-page .site,
body.afva-producer-page .site-content,
body.afva-producer-page .content-area,
body.afva-producer-page .site-main,
body.afva-producer-page main,
.afva-app-shell,
.afva-app-main,
.afva-front{
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
}
.afva-front *,
.afva-login *{
  min-width:0;
}
.afva-front img,
.afva-login img{
  max-width:100%;
  height:auto;
}

@media(max-width:820px){
  /* Shell / navegação */
  .afva-app-shell{
    padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
  }
  .afva-app-sidebar{
    left:10px!important;
    right:10px!important;
    bottom:max(9px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    height:64px!important;
    padding:7px!important;
    border-radius:19px!important;
  }
  .afva-sidebar-nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .afva-sidebar-nav a{
    min-width:0!important;
    overflow:hidden;
  }
  .afva-sidebar-nav a span:last-child{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .afva-app-topbar{
    width:100%!important;
    height:64px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .afva-mobile-brand{
    min-width:0;
    flex:1 1 auto;
  }
  .afva-topbar-actions{
    flex:0 0 auto;
  }
  .afva-user-dropdown{
    right:0!important;
    width:min(190px,calc(100vw - 28px))!important;
  }

  /* Área útil geral */
  .afva-front{
    width:100%!important;
    padding:30px 16px calc(104px + env(safe-area-inset-bottom,0px))!important;
  }
  .afva-dashboard-hero,
  .afva-products-section,
  .afva-wizard-shell,
  .afva-edit-shell,
  .afva-summary-shell,
  .afva-profile-shell{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Dashboard / títulos dinâmicos */
  .afva-dashboard-hero{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:18px!important;
    margin-bottom:28px!important;
  }
  .afva-dashboard-hero>div:first-child{
    width:100%!important;
    max-width:100%!important;
  }
  .afva-dashboard-hero h1{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 13px!important;
    font-size:clamp(38px,11vw,48px)!important;
    line-height:.98!important;
    letter-spacing:-.035em!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .afva-dashboard-greeting{
    display:block;
  }
  .afva-dashboard-name{
    display:block;
    margin-top:3px;
    max-width:100%;
    font-size:clamp(30px,8.6vw,40px);
    line-height:1.02;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .afva-inline-leaf{
    display:none!important;
  }
  .afva-dashboard-hero p:last-child{
    max-width:100%!important;
    font-size:13px!important;
    line-height:1.65!important;
  }
  .afva-new-product-btn{
    width:auto!important;
    max-width:100%!important;
  }

  /* Estatísticas: 2x2 em celular, bem mais compactas */
  .afva-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-bottom:32px!important;
  }
  .afva-stat-card{
    min-height:104px!important;
    padding:14px!important;
    gap:10px!important;
    border-radius:18px!important;
  }
  .afva-stat-icon{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
    border-radius:12px!important;
  }
  .afva-stat-card small{
    font-size:9px!important;
  }
  .afva-stat-card strong{
    font-size:27px!important;
  }
  .afva-stat-card span:not(.afva-stat-icon){
    font-size:9px!important;
  }

  /* Meus produtos / busca / filtros */
  .afva-products-section{
    padding:17px!important;
    border-radius:22px!important;
  }
  .afva-products-section-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
  }
  .afva-products-section-head h2{
    font-size:27px!important;
  }
  .afva-products-section-head .afva-search{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px!important;
  }
  .afva-products-section-head .afva-search input{
    width:100%!important;
    min-width:0!important;
    font-size:16px!important; /* evita zoom automático no iOS */
  }
  .afva-products-section-head .afva-search button{
    width:auto!important;
    min-width:70px!important;
  }
  .afva-tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    width:calc(100% + 4px)!important;
    max-width:none!important;
    overflow-x:auto!important;
    padding:0 4px 5px 0!important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .afva-tabs::-webkit-scrollbar{display:none;}
  .afva-tabs a{
    flex:0 0 auto!important;
  }

  /* Lista compacta */
  .afva-product-row{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .afva-row-info small,
  .afva-row-info h3,
  .afva-row-info p{
    max-width:100%!important;
  }
  .afva-row-more-menu{
    width:min(210px,calc(100vw - 40px))!important;
    max-width:calc(100vw - 40px)!important;
  }

  /* Cabeçalhos internos: novo, editar, resumo, perfil */
  .afva-form-title,
  .afva-edit-header,
  .afva-summary-top,
  .afva-profile-heading{
    width:100%!important;
    max-width:100%!important;
  }
  .afva-form-title h1,
  .afva-edit-header h1,
  .afva-summary-top h1,
  .afva-profile-heading h1{
    max-width:100%!important;
    font-size:clamp(34px,9.5vw,43px)!important;
    line-height:1!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .afva-form-title p:last-child,
  .afva-edit-header p:last-child,
  .afva-summary-top p:last-child,
  .afva-profile-intro{
    max-width:100%!important;
    font-size:13px!important;
    line-height:1.65!important;
  }

  /* Cadastro guiado */
  .afva-progress{
    width:100%!important;
    margin-bottom:22px!important;
  }
  .afva-progress-head{
    gap:8px!important;
    font-size:9px!important;
  }
  .afva-question-card{
    width:100%!important;
    max-width:100%!important;
    padding:24px 18px 22px!important;
    border-radius:22px!important;
  }
  .afva-question-card h2{
    max-width:100%!important;
    font-size:clamp(30px,8.6vw,38px)!important;
    line-height:1.04!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .afva-question-copy{
    max-width:100%!important;
    margin-bottom:18px!important;
    font-size:13px!important;
  }
  .afva-conversation-field,
  .afva-conversation-field input,
  .afva-conversation-field textarea,
  .afva-conditional-field,
  .afva-conditional-field input,
  .afva-conditional-field textarea,
  .afva-edit-field,
  .afva-edit-field input,
  .afva-edit-field textarea,
  .afva-edit-field select,
  .afva-profile-fields input{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .afva-conversation-field input,
  .afva-conversation-field textarea,
  .afva-conditional-field input,
  .afva-conditional-field textarea,
  .afva-edit-field input,
  .afva-edit-field textarea,
  .afva-edit-field select,
  .afva-profile-fields input{
    font-size:16px!important; /* evita zoom automático no iPhone */
  }
  .afva-category-cards,
  .afva-choice-cards-2,
  .afva-choice-cards-3,
  .afva-edit-subgroup .afva-choice-cards-2,
  .afva-edit-subgroup .afva-choice-cards-3{
    grid-template-columns:1fr!important;
  }
  .afva-category-card span,
  .afva-choice-card span{
    min-height:84px!important;
    padding:14px 15px!important;
  }
  .afva-category-card span strong,
  .afva-choice-card span strong{
    font-size:15px!important;
  }
  .afva-category-card span small,
  .afva-choice-card span small{
    font-size:12px!important;
  }
  .afva-single-upload,
  .afva-gallery-question,
  .afva-preview,
  .afva-gallery{
    width:100%!important;
    max-width:100%!important;
  }
  .afva-preview{
    min-height:190px!important;
  }
  .afva-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:10px!important;
  }
  .afva-file{
    max-width:100%!important;
  }
  .afva-nav{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:9px!important;
    width:100%!important;
    bottom:calc(78px + env(safe-area-inset-bottom,0px))!important;
  }
  .afva-nav .afva-btn{
    width:100%!important;
    min-width:0!important;
    padding:0 10px!important;
    white-space:normal!important;
    line-height:1.2!important;
    text-align:center!important;
  }
  .afva-final{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  .afva-final .afva-btn{
    width:100%!important;
    white-space:normal!important;
    line-height:1.2!important;
  }

  /* Revisão final antes de publicar */
  .afva-review-overview,
  .afva-review-section,
  .afva-review-photo-grid,
  .afva-review-list,
  .afva-review-row{
    max-width:100%!important;
    min-width:0!important;
  }
  .afva-review-section{
    padding:16px!important;
    border-radius:18px!important;
  }
  .afva-review-photo-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  .afva-review-image{
    aspect-ratio:4/3!important;
  }
  .afva-review-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .afva-review-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  .afva-review-row p,
  .afva-review-row strong{
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .afva-review-edit{
    flex:0 0 auto!important;
  }

  /* Tela de edição aberta */
  .afva-edit-header,
  .afva-summary-top{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:15px!important;
  }
  .afva-edit-section{
    width:100%!important;
    max-width:100%!important;
    padding:18px!important;
    border-radius:21px!important;
  }
  .afva-edit-section-title{
    gap:11px!important;
    padding-bottom:15px!important;
  }
  .afva-edit-section-title>span{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
  .afva-edit-section-title h2{
    font-size:24px!important;
  }
  .afva-edit-section-title p{
    font-size:12px!important;
  }
  .afva-edit-fields,
  .afva-edit-photo-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  .afva-edit-photo-card{
    width:100%!important;
    max-width:100%!important;
    padding:14px!important;
  }
  .afva-edit-footer{
    bottom:calc(78px + env(safe-area-inset-bottom,0px))!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  .afva-edit-footer>span{
    text-align:left!important;
    font-size:10px!important;
    line-height:1.5!important;
  }
  .afva-edit-footer>div{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
  }
  .afva-edit-footer .afva-btn{
    width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    line-height:1.2!important;
  }

  /* Resumo do produto já salvo */
  .afva-summary-hero{
    grid-template-columns:1fr!important;
    gap:16px!important;
    padding:15px!important;
    border-radius:21px!important;
  }
  .afva-summary-main-image{
    aspect-ratio:4/3!important;
  }
  .afva-summary-intro h2{
    max-width:100%!important;
    font-size:clamp(31px,8.5vw,39px)!important;
    overflow-wrap:anywhere!important;
  }
  .afva-summary-chips{
    gap:6px!important;
  }
  .afva-summary-chips span{
    min-height:32px!important;
    padding:0 10px!important;
    font-size:10px!important;
    white-space:normal!important;
  }
  .afva-summary-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .afva-summary-grid{
    grid-template-columns:1fr!important;
  }
  .afva-summary-info{
    min-height:0!important;
    padding:16px!important;
  }
  .afva-summary-info p{
    overflow-wrap:anywhere!important;
  }
  .afva-summary-actions{
    width:100%!important;
  }
  .afva-summary-actions .afva-btn{
    width:100%!important;
  }

  /* Perfil */
  .afva-profile-card{
    grid-template-columns:1fr!important;
    gap:17px!important;
    padding:17px!important;
    border-radius:20px!important;
  }
  .afva-profile-side{
    padding:0 0 16px!important;
    border-right:0!important;
    border-bottom:1px solid var(--afva-line)!important;
  }
  .afva-profile-side>div{
    min-width:0!important;
  }
  .afva-profile-side strong{
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .afva-profile-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .afva-profile-actions .afva-btn{
    width:100%!important;
  }
  .afva-profile-password{
    text-align:center!important;
  }

  /* Mensagens / loading */
  .afva-alert{
    width:100%!important;
    max-width:100%!important;
    padding:14px 15px!important;
    border-radius:15px!important;
    overflow-wrap:anywhere!important;
  }
  .afva-saving-card{
    width:min(100%,420px)!important;
  }
}

@media(max-width:520px){
  .afva-front{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .afva-dashboard-hero h1{
    font-size:clamp(36px,11vw,44px)!important;
  }
  .afva-dashboard-name{
    font-size:clamp(29px,8.7vw,36px)!important;
  }
  .afva-products-section{
    padding:14px!important;
  }
  .afva-stat-card{
    min-height:96px!important;
    padding:12px!important;
  }
  .afva-question-card{
    padding:21px 15px 20px!important;
  }
  .afva-question-card h2{
    font-size:clamp(29px,8.9vw,35px)!important;
  }
  .afva-review-section{
    padding:14px!important;
  }
  .afva-edit-section{
    padding:15px!important;
  }
  .afva-summary-hero{
    padding:13px!important;
  }
  .afva-row-more-menu{
    right:0!important;
  }
}

@media(max-width:360px){
  .afva-stats{
    grid-template-columns:1fr!important;
  }
  .afva-dashboard-hero h1{
    font-size:36px!important;
  }
  .afva-dashboard-name{
    font-size:29px!important;
  }
  .afva-mobile-brand strong{
    font-size:19px!important;
  }
  .afva-topbar-site,
  .afva-avatar{
    width:34px!important;
    height:34px!important;
  }
  .afva-products-section-head .afva-search{
    grid-template-columns:1fr!important;
  }
  .afva-products-section-head .afva-search button{
    width:100%!important;
  }
  .afva-nav{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================================
   v0.9.14 — topbar mobile sem sobreposição
   No celular, a barra AFVA deixa de ficar sticky. A navegação principal já
   permanece disponível no menu inferior, então o conteúdo nunca passa por
   trás da barra superior.
   ========================================================================== */
@media(max-width:820px){
  .afva-app-topbar{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    z-index:20!important;
    flex:0 0 auto!important;
  }

  body.admin-bar.afva-producer-page .afva-app-topbar{
    top:auto!important;
  }

  /* Garante um início limpo entre a barra AFVA e o conteúdo da página. */
  .afva-front{
    padding-top:34px!important;
  }

  .afva-dashboard-hero,
  .afva-wizard-shell,
  .afva-edit-shell,
  .afva-summary-shell,
  .afva-profile-shell{
    scroll-margin-top:16px!important;
  }
}

@media(max-width:520px){
  .afva-front{
    padding-top:30px!important;
  }
}


/* ==========================================================================
   v0.9.15 — alinhamento da navegação inferior no mobile
   ========================================================================== */
@media(max-width:820px){
  .afva-app-sidebar{
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:calc(100% - 24px)!important;
    max-width:480px!important;
    height:66px!important;
    bottom:max(10px,env(safe-area-inset-bottom,0px))!important;
    padding:6px!important;
    border-radius:20px!important;
    box-sizing:border-box!important;
    display:block!important;
  }

  .afva-sidebar-nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:6px!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
  }

  .afva-sidebar-nav a{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:4px 6px!important;
    margin:0!important;
    border-radius:15px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    line-height:1!important;
  }

  .afva-sidebar-nav a span:last-child{
    display:block!important;
    width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:center!important;
    font-size:8px!important;
    line-height:1.15!important;
  }

  .afva-nav-icon{
    display:grid!important;
    place-items:center!important;
    width:24px!important;
    height:22px!important;
    min-height:22px!important;
    margin:0!important;
  }

  .afva-nav-icon .afva-svg{
    width:16px!important;
    height:16px!important;
  }
}

@media(max-width:390px){
  .afva-app-sidebar{
    width:calc(100% - 20px)!important;
  }
}


/* ==========================================================================
   v0.13.0 — campos de destaque do catálogo
   ========================================================================== */
.afva-catalog-priority-field{
  margin-top:16px!important;
}
.afva-edit-help{
  margin:5px 0 12px!important;
  color:#8D8780!important;
  font-size:11px!important;
  line-height:1.55!important;
}
