:root{--red:#E51B3E;--red-dark:#B91C1C;--dark:#1A1A1A;--muted:#6B7280;--bg:#F6F7F9;--line:#E5E7EB;--green:#16A34A;--amber:#F59E0B;--danger:#DC2626;--info:#2563EB;--radius:8px}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',Arial,sans-serif;background:var(--bg);color:var(--dark)}a{text-decoration:none;color:inherit}.gb-top{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:10}.brand{display:flex;flex-direction:column;line-height:1}.brand b{font-size:26px}.brand span,.red{color:var(--red)}.brand small{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#555}.car-line{width:52px;height:20px;border-top:4px solid var(--red);border-radius:60% 60% 0 0;display:block;margin-bottom:-3px}nav{display:flex;gap:22px;align-items:center;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:#fff;padding:12px 18px;border-radius:var(--radius);font-weight:700;cursor:pointer;transition:.2s;font-family:inherit}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--red);color:#fff;border-color:var(--red)}.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark)}.btn-green{background:var(--green);color:#fff;border-color:var(--green)}.btn-outline{border-color:var(--red);color:var(--red)}.btn-danger{background:var(--danger);color:#fff;border-color:var(--danger)}.btn-light{background:#fff;color:#111;border-color:var(--line)}.btn-sm{padding:8px 11px;font-size:13px}.wrap{max-width:1220px;margin:auto;padding:26px}.hero{background:#fff;border:1px solid var(--line);border-radius:14px;display:grid;grid-template-columns:1fr 420px;overflow:hidden}.hero-copy{padding:55px}.hero h1{font-size:46px;line-height:1.02;margin:0 0 14px}.hero p{font-size:17px;color:var(--muted)}.hero-img{background:linear-gradient(120deg,#fff,#eee);display:flex;align-items:center;justify-content:center;font-size:130px;color:#ddd}.searchbox{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;margin-top:-35px;position:relative;display:grid;grid-template-columns:repeat(5,1fr) auto;gap:12px;box-shadow:0 8px 30px rgba(0,0,0,.05)}input,select,textarea{width:100%;padding:16px 14px 9px;border:1px solid var(--line);border-radius:var(--radius);font-family:inherit;background:#fff;outline:none;color:#111;font-size:14px}input:focus,select:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(229,27,62,.08)}textarea{min-height:110px;resize:vertical}.gb-field{position:relative;margin-bottom:12px}.gb-field>label{position:absolute;left:13px;top:14px;color:#7b8190;font-size:14px;background:#fff;padding:0 4px;pointer-events:none;transition:.15s}.gb-field.is-active>label,.gb-field.has-value>label,.gb-field select+label{top:-7px;font-size:11px;color:var(--red);font-weight:700}.gb-field input::placeholder,.gb-field textarea::placeholder{color:transparent}.gb-field select{padding-top:14px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:30px 0 16px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card-body{padding:14px}.vehicle-img{height:160px;background:#e9eaec;display:flex;align-items:center;justify-content:center;color:#999;font-size:55px}.price{font-size:22px;font-weight:800;color:var(--red);margin:8px 0}.meta{font-size:13px;color:var(--muted)}.panel{display:grid;grid-template-columns:245px 1fr;min-height:calc(100vh - 76px)}.side{background:#111;color:#fff;padding:24px}.side a{display:flex;gap:10px;padding:13px;border-radius:var(--radius);color:#ddd;margin:4px 0}.side a.active,.side a:hover{background:var(--red);color:#fff}.content{padding:28px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.stat b{font-size:28px}.table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.table th,.table td{padding:13px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}.table th{background:#fafafa;font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:#555}.table tr:last-child td{border-bottom:0}.actions{display:flex;gap:8px;align-items:center}.badge{padding:5px 9px;border-radius:999px;background:#e9f8ef;color:#14833b;font-size:12px;font-weight:700}.badge.warn{background:#fff7ed;color:#b45309}.badge.danger{background:#fef2f2;color:#b91c1c}.badge.dark{background:#f3f4f6;color:#111827}.form-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;max-width:920px}.toast-wrap{position:fixed;right:20px;top:90px;z-index:9999;display:flex;flex-direction:column;gap:10px}.toast{min-width:280px;max-width:360px;background:#fff;border:1px solid var(--line);border-left:5px solid var(--green);padding:12px 42px 12px 14px;border-radius:6px;box-shadow:none;position:relative;font-size:14px}.toast strong{display:block;margin-bottom:2px}.toast .toast-close{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#777;font-size:16px;cursor:pointer}.toast.success{border-left-color:var(--green)}.toast.error{border-left-color:var(--danger)}.toast.warn{border-left-color:var(--amber)}.toast.info{border-left-color:var(--info)}.modal-back{position:fixed;inset:0;background:rgba(17,17,17,.50);display:none;align-items:center;justify-content:center;z-index:9998;padding:18px}.modal-back.show{display:flex}.modal{width:430px;max-width:100%;background:#fff;border-radius:12px;border:1px solid var(--line);padding:0;overflow:hidden}.modal-head{display:flex;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid var(--line)}.modal-head i{color:var(--red)}.modal-head h3{margin:0;font-size:18px}.modal-body{padding:20px;color:#4b5563}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid var(--line);background:#fafafa}.gb-footer{background:#111;color:#fff;margin-top:40px;padding:34px;text-align:center}.gb-footer span{color:var(--red)}@media(max-width:900px){.gb-top{padding:14px;height:auto;align-items:flex-start}.gb-top nav{flex-wrap:wrap;gap:10px}.hero,.panel{grid-template-columns:1fr}.searchbox,.grid,.cards,.field-row{grid-template-columns:1fr}.side{position:relative}.wrap{padding:14px}.actions{flex-wrap:wrap}.table{display:block;overflow-x:auto}}.field-error input,.field-error select,.field-error textarea{border-color:var(--danger)!important;box-shadow:0 0 0 3px rgba(220,38,38,.08)!important}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.profile-head{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:18px}.avatar{width:66px;height:66px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:800}.info-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.info-item{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.info-item small{display:block;color:var(--muted);font-size:12px;text-transform:uppercase}.gb-banner{margin:20px 0}.gb-banner a{display:block}.gb-banner img{width:100%;display:block;border-radius:12px;border:1px solid var(--line);object-fit:cover;max-height:260px}.gb-banner-veiculo_lateral img{max-height:320px}.banner-placeholder{min-height:130px;border:1px dashed #c7cbd1;border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#777}.banner-preview{width:120px;height:54px;object-fit:cover;border:1px solid var(--line);border-radius:6px;background:#f4f4f4}.vehicle-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.contact-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;position:sticky;top:95px}.portal-contact{display:flex;gap:12px;flex-wrap:wrap;color:#555;font-size:13px;margin-top:12px}.portal-contact a{color:var(--red);font-weight:700}@media(max-width:900px){.form-grid,.form-grid-3,.info-list,.vehicle-layout{grid-template-columns:1fr}.contact-box{position:relative;top:auto}}


/* Cadastro profissional de veículo no painel */
.vehicle-form-pro{max-width:1120px}.vehicle-steps{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 22px}.vehicle-step{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font-size:13px;font-weight:800;color:#4b5563}.vehicle-step span{width:24px;height:24px;border-radius:50%;background:var(--red);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.vehicle-section{border:1px solid var(--line);border-radius:14px;padding:18px;margin:0 0 18px;background:#fff}.vehicle-section h2{font-size:18px;margin:0 0 14px}.vehicle-form-pro label{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.35px;color:#6b7280;font-weight:800;margin:0 0 6px}.vehicle-form-pro .req{color:var(--red)}.vehicle-form-pro .form-grid,.vehicle-form-pro .form-grid-3{margin-bottom:12px}.vehicle-form-pro input,.vehicle-form-pro select,.vehicle-form-pro textarea{height:48px;padding:12px 13px}.vehicle-form-pro textarea{height:auto;min-height:120px}.option-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.check-pill{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fafafa;display:flex!important;align-items:center;gap:8px;text-transform:none!important;letter-spacing:0!important;font-size:13px!important;color:#111827!important;font-weight:600!important;margin:0!important}.check-pill input{width:auto;height:auto}.vehicle-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}.hint{font-size:12px;color:var(--muted);margin-top:-6px;margin-bottom:12px}@media(max-width:900px){.vehicle-steps{display:grid;grid-template-columns:1fr 1fr}.option-grid{grid-template-columns:1fr 1fr}.vehicle-actions{flex-direction:column}.vehicle-actions .btn{width:100%}}@media(max-width:560px){.vehicle-steps,.option-grid{grid-template-columns:1fr}}

/* Master - catálogo de veículos */
.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 24px}.catalog-card{max-width:none}.catalog-card h2{font-size:17px;margin:0 0 12px}.catalog-card form{display:grid;gap:10px}.show-inline{position:relative;right:auto;top:auto;min-width:0;max-width:none;margin:12px 0 18px}.table form{margin:0}@media(max-width:900px){.catalog-grid{grid-template-columns:1fr}}

/* Correção: cadastro de veículo sem labels flutuantes duplicados */
.vehicle-form-pro .gb-field{margin-bottom:0}.vehicle-form-pro .gb-field>label{display:none!important}.vehicle-form-pro select,.vehicle-form-pro input,.vehicle-form-pro textarea{padding:13px 14px!important;height:50px}.vehicle-form-pro textarea{height:auto!important;min-height:120px}.vehicle-form-pro select:disabled{background:#f8fafc;color:#8b95a1}.photo-upload-box{border:1px dashed #cfd5df;border-radius:12px;background:#fbfcfe;padding:16px}.photo-upload-label{display:flex!important;align-items:center;gap:8px;margin-bottom:10px!important;color:#111827!important;text-transform:none!important;font-size:14px!important;letter-spacing:0!important}.photo-upload-box input[type=file]{background:#fff}.photo-upload-box small{display:block;color:var(--muted);margin-top:8px}.photo-preview-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:12px}.photo-preview-grid img{width:100%;height:86px;object-fit:cover;border:1px solid var(--line);border-radius:8px;background:#f3f4f6}.vehicle-main-photo{width:100%;height:430px;object-fit:cover;display:block;border-radius:12px}.vehicle-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}.vehicle-gallery img{width:100%;height:90px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}@media(max-width:900px){.photo-preview-grid,.vehicle-gallery{grid-template-columns:repeat(3,1fr)}}

/* Atualização catálogo v3 */
.content[data-no-float] .gb-field>label,.catalog-admin .gb-field>label{display:none!important}
.content[data-no-float] .gb-field,.catalog-admin .gb-field{margin-bottom:0}
.content[data-no-float] input,.content[data-no-float] select,.content[data-no-float] textarea,.catalog-admin input,.catalog-admin select,.catalog-admin textarea{padding:14px!important}
.catalog-hidden-table{display:none!important}.catalog-list-card{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 16px;margin:12px 0}.catalog-list-card strong{display:block;font-size:16px}.catalog-list-card span{display:block;color:var(--muted);font-size:13px;margin-top:3px}.modal-wide{width:980px;max-height:88vh}.modal-table-wrap{max-height:70vh;overflow:auto}.modal-x{margin-left:auto;width:32px;height:32px;border-radius:50%;border:0;background:#f3f4f6;font-size:22px;line-height:1;cursor:pointer}.modal-x:hover{background:#fee2e2;color:var(--red)}.badge.status-ativo{background:#e9f8ef;color:#14833b}.badge.status-inativo{background:#fef2f2;color:#b91c1c}.btn-toggle-ativo{border-color:#fecaca;color:#b91c1c;background:#fff5f5}.btn-toggle-inativo{border-color:#bbf7d0;color:#15803d;background:#f0fdf4}.vehicle-gallery a{display:block}.vehicle-gallery img,.vehicle-main-photo{cursor:zoom-in}.vehicle-section{margin-top:24px}.option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.check-pill{border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff;font-size:14px}@media(max-width:900px){.option-grid{grid-template-columns:1fr}.modal-wide{width:96vw}}

/* Logo personalizada do portal */
.brand-img{display:flex;align-items:center;justify-content:flex-start;min-width:210px;max-width:270px}
.brand-img img{display:block;width:auto;max-width:245px;max-height:58px;object-fit:contain}
@media(max-width:700px){.brand-img{min-width:160px}.brand-img img{max-width:170px;max-height:48px}}
.logo-config-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:14px 0 20px}.logo-upload-card{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fff}.logo-upload-card.dark{background:#111}.logo-upload-card label{display:block;font-weight:800;margin-bottom:10px;color:#111}.logo-upload-card.dark label{color:#fff}.logo-upload-card img{display:block;max-width:100%;height:72px;object-fit:contain;margin-bottom:10px}.logo-upload-card .fav-preview{width:72px;height:72px}.logo-upload-card input[type=file]{width:100%;font-size:13px}@media(max-width:900px){.logo-config-grid{grid-template-columns:1fr}}

/* Modal de listas do catálogo */
#gbListModal .modal-body .catalog-hidden-table{display:table!important;width:100%}#gbListModal .modal-body table{width:100%;border-collapse:collapse}#gbListModal .modal-body th,#gbListModal .modal-body td{padding:12px;border-bottom:1px solid var(--line);text-align:left}#gbListModal .empty-modal{padding:22px;color:var(--muted);text-align:center}

/* Slider de fotos do veículo */
.vehicle-photo-slider{background:#fff;border-radius:14px;padding:14px;border:1px solid var(--line)}.vehicle-main-wrap{position:relative}.vehicle-main-wrap a{display:block}.vehicle-slider-btn{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(17,24,39,.78);color:#fff;font-size:24px;z-index:2;cursor:pointer;display:flex;align-items:center;justify-content:center}.vehicle-slider-btn.prev{left:12px}.vehicle-slider-btn.next{right:12px}.vehicle-slider-btn:hover{background:var(--red)}.vehicle-gallery.thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:12px}.vehicle-gallery.thumbs a{border:2px solid transparent;border-radius:10px;overflow:hidden}.vehicle-gallery.thumbs a.active{border-color:var(--red)}.vehicle-gallery.thumbs img{height:88px}@media(max-width:900px){.vehicle-main-photo{height:280px}.vehicle-gallery.thumbs{grid-template-columns:repeat(4,1fr)}.vehicle-gallery.thumbs img{height:68px}}

/* Correções finais - logo, hover, upload, banners e capas */
.gb-top nav a:hover{color:var(--red)}
.gb-top nav a.btn:hover{color:#fff;background:var(--red-dark)}
.side a:hover{background:var(--red);color:#fff}
.gb-footer{background:#111827;color:#fff;text-align:center;padding:28px 16px;margin-top:44px}
.footer-logo{display:block;max-width:260px;max-height:72px;width:auto;height:auto;object-fit:contain;margin:0 auto 10px}
.gb-footer p{margin:6px 0 0;color:#d1d5db}.gb-footer .portal-contact{justify-content:center;color:#d1d5db}.gb-footer .portal-contact a{color:#fff}
.vehicle-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}.vehicle-img{overflow:hidden}
.gb-upload-box{border:1px dashed #cfd5df;border-radius:12px;background:#fbfcfe;padding:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gb-upload-btn{background:var(--red);color:#fff;border-radius:8px;padding:12px 15px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.gb-upload-btn:hover{background:var(--red-dark)}.gb-file-name{color:var(--muted);font-size:14px}.edit-preview{display:block;margin-left:auto}.banner-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.banner-actions form{margin:0}.btn-sm{padding:9px 12px;font-size:13px}.btn-danger{background:var(--danger);color:#fff;border-color:var(--danger)}.badge.status-ativo{background:#e9f8ef;color:#14833b}.badge.status-inativo{background:#fef2f2;color:#b91c1c}
@media(max-width:700px){.footer-logo{max-width:210px}.gb-upload-box{align-items:flex-start;flex-direction:column}.edit-preview{margin-left:0}}


/* Painel do cliente - listagem profissional de veículos */
.page-head-line{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.page-head-line h1{margin:0}.client-vehicle-list{display:flex;flex-direction:column;gap:14px;position:relative;overflow:visible}.client-vehicle-card{position:relative;overflow:visible!important;z-index:1;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;display:grid;grid-template-columns:154px minmax(0,1fr) 170px;gap:16px;align-items:center}.client-vehicle-card:hover{border-color:#f3a3b1}.client-vehicle-card:has(.gb-actions-menu.show){z-index:1000}.client-vehicle-thumb{height:105px;background:#f3f4f6;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:42px}.client-vehicle-thumb img{width:100%;height:100%;object-fit:cover;display:block}.client-vehicle-info h3{margin:0 0 7px;font-size:18px;line-height:1.2}.client-vehicle-meta,.client-vehicle-location{font-size:13px;color:var(--muted);margin-top:4px}.client-vehicle-location i{color:var(--red)}.client-vehicle-title-row{display:flex;justify-content:flex-start;gap:12px}.client-vehicle-right{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:245px}.client-vehicle-price-box{display:flex;flex-direction:column;align-items:flex-end;gap:10px;text-align:right}.client-vehicle-price-box strong{font-size:20px;color:var(--red);white-space:nowrap}.client-vehicle-actions{flex:0 0 auto}.gb-dropdown{position:relative;overflow:visible!important}.gb-dots{width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#111}.gb-dots:hover{background:var(--red);border-color:var(--red);color:#fff}.gb-actions-menu{display:none;position:absolute;right:0;top:42px;z-index:999999!important;min-width:190px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 16px 35px rgba(15,23,42,.18);padding:7px;overflow:hidden}.gb-actions-menu.show{display:block}.gb-actions-menu a{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:8px;color:#111;font-size:14px}.gb-actions-menu a:hover{background:#f9fafb;color:var(--red)}.gb-actions-menu a.danger{color:var(--danger)}.empty-state{background:#fff;border:1px dashed #d1d5db;border-radius:14px;padding:28px;text-align:center;color:var(--muted)}.empty-state i{font-size:42px;color:#c4c7ce}.empty-state h3{color:#111;margin:10px 0 5px}
.table,.card,.stat,.form-card,.content,.panel{overflow:visible!important}

/* Edição de veículo - fotos igual cadastro */
.edit-vehicle-form{max-width:1120px}.edit-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:12px 0 16px}.edit-photo-item{position:relative;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.edit-photo-item img{width:100%;height:140px;object-fit:cover;display:block}.cover-badge{position:absolute;left:9px;top:9px;background:var(--red);color:#fff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.edit-photo-actions{padding:9px;display:flex;gap:7px;flex-wrap:wrap}.empty-photo-box{border:1px dashed #cfd5df;border-radius:12px;min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:8px;background:#fbfcfe}.empty-photo-box i{font-size:34px}.edit-upload-box{margin-top:12px}.photo-preview-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;width:100%;margin-top:10px}.photo-preview-grid img{width:100%;height:82px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
@media(max-width:900px){.page-head-line{flex-direction:column}.client-vehicle-card{grid-template-columns:96px 1fr;align-items:flex-start}.client-vehicle-thumb{height:86px}.client-vehicle-right{grid-column:1 / -1;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}.client-vehicle-price-box{align-items:flex-start;text-align:left}.client-vehicle-info h3{font-size:16px}.edit-photo-grid{grid-template-columns:repeat(2,1fr)}.photo-preview-grid{grid-template-columns:repeat(3,1fr)}}

/* Página pública do anúncio - layout premium */
.ad-hero{position:relative;min-height:225px;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;overflow:hidden;background:#111827}.ad-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:blur(1px);transform:scale(1.03);opacity:.45}.ad-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,24,39,.72),rgba(17,24,39,.88))}.ad-hero-inner{position:relative;z-index:1;max-width:920px;padding:36px 18px}.ad-breadcrumb{font-size:11px;text-transform:uppercase;letter-spacing:5px;color:var(--red);font-weight:900;margin-bottom:14px}.ad-hero h1{font-size:38px;line-height:1.08;margin:0;font-weight:900}.ad-hero p{color:#e5e7eb;margin:12px 0 0;font-weight:600}.ad-wrap{max-width:1220px;margin:auto;padding:30px 22px}.ad-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.ad-left{display:flex;flex-direction:column;gap:14px}.ad-gallery-card,.ad-section-card,.ad-side-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 20px rgba(15,23,42,.04)}.ad-gallery-card{padding:14px}.ad-main-photo-wrap{position:relative;border-radius:12px;overflow:hidden;background:#eef0f3}.ad-main-photo{width:100%;height:520px;object-fit:cover;display:block;cursor:zoom-in}.ad-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(17,24,39,.82);color:#fff;font-size:26px;z-index:2;cursor:pointer;display:flex;align-items:center;justify-content:center}.ad-gallery-nav.prev{left:14px}.ad-gallery-nav.next{right:14px}.ad-gallery-nav:hover{background:var(--red)}.ad-photo-count{position:absolute;right:14px;bottom:14px;background:rgba(17,24,39,.86);color:#fff;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800}.ad-thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:12px}.ad-thumbs a{border:2px solid transparent;border-radius:10px;overflow:hidden;background:#f3f4f6}.ad-thumbs a.active{border-color:var(--red)}.ad-thumbs img{width:100%;height:78px;object-fit:cover;display:block}.ad-no-photo{height:430px;border-radius:12px;background:#e9eaec;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:#9ca3af;font-size:68px}.ad-no-photo span{font-size:15px}.ad-title-card{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px}.ad-title-card small{font-weight:900;color:#6b7280}.ad-title-card h2{font-size:30px;line-height:1.1;margin:4px 0 4px}.ad-category{font-size:12px;font-weight:900;color:#6b7280;text-transform:uppercase;letter-spacing:.4px}.ad-price-inline{text-align:right;min-width:230px}.ad-price-inline span,.ad-mobile-price-card small,.ad-price-card small{display:block;color:#6b7280;font-size:12px;text-transform:uppercase;font-weight:900;margin-bottom:4px}.ad-price-inline strong,.ad-mobile-price-card strong,.ad-price-card strong{display:block;color:var(--red);font-size:30px;font-weight:900;white-space:nowrap}.ad-mobile-price-card{display:none;background:#111827;color:#fff;border-radius:14px;padding:18px}.ad-mobile-price-card strong{color:#fff}.ad-section-card{padding:22px}.ad-section-card h3,.ad-side-card h3{font-size:19px;margin:0 0 16px}.ad-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ad-info-grid>div{border:1px solid var(--line);border-radius:12px;background:#fafafa;padding:13px;min-height:88px}.ad-info-grid i{color:var(--red);font-size:18px}.ad-info-grid span{display:block;color:#6b7280;font-size:12px;font-weight:800;margin:7px 0 3px}.ad-info-grid strong{font-size:14px}.ad-options-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ad-option{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;display:flex;gap:8px;align-items:center;font-weight:700;font-size:14px}.ad-option i{color:var(--red)}.ad-description{line-height:1.7;color:#374151}.ad-dark-price{background:#111827;color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:18px}.ad-dark-price span{display:block;color:#cbd5e1;font-size:12px;font-weight:800;margin-bottom:6px}.ad-dark-price strong{font-size:24px}.ad-tips{margin:0;padding-left:18px;line-height:1.9;color:#374151}.ad-sidebar{display:flex;flex-direction:column;gap:14px;position:sticky;top:96px}.ad-side-card{padding:18px}.ad-price-card{background:#111827;color:#fff}.ad-price-card strong{color:#fff}.ad-location-card{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-weight:800}.ad-location-card div:first-child{grid-column:1/-1}.ad-location-card i{color:var(--red);margin-right:5px}.seller-head{display:flex;gap:12px;align-items:center;margin-bottom:12px}.seller-head img,.seller-avatar{width:58px;height:58px;border-radius:12px;object-fit:cover;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px}.seller-head h3{margin:0 0 2px}.seller-head p{margin:0;color:#6b7280;font-size:13px}.ad-seller-card ul{padding:0;margin:12px 0 0;list-style:none;color:#4b5563;font-size:13px;line-height:1.9}.ad-seller-card li i{color:var(--red);width:17px}.ad-contact-actions{display:flex;flex-direction:column;gap:9px}.ad-contact-actions .btn{width:100%}.ad-proposal-card form{display:flex;flex-direction:column;gap:9px}.ad-proposal-card input,.ad-proposal-card textarea,.ad-finance-card input{padding:12px}.ad-success{background:#e9f8ef;color:#14833b;border-radius:8px;padding:10px;font-weight:800;margin-bottom:10px}.finance-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.ad-map-card{padding:0;overflow:hidden}.ad-map-card iframe{width:100%;height:220px;border:0;display:block}.ad-related{margin-top:34px}.ad-related-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.ad-related-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:block}.ad-related-card:hover{border-color:var(--red);transform:translateY(-2px)}.rel-img{height:160px;background:#e9eaec;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:44px}.rel-img img{width:100%;height:100%;object-fit:cover}.rel-body{padding:13px}.rel-body small{font-weight:900;color:#6b7280}.rel-body strong{display:block;margin:4px 0;line-height:1.25}.rel-body span{display:block;color:#6b7280;font-size:13px}.rel-body b{display:block;color:var(--red);font-size:17px;margin-top:8px}.fancybox__container{z-index:999999!important}@media(max-width:1000px){.ad-main-grid{grid-template-columns:1fr}.ad-sidebar{position:relative;top:auto}.ad-price-card{display:none}.ad-mobile-price-card{display:block}.ad-price-inline{display:none}.ad-info-grid,.ad-options-grid{grid-template-columns:repeat(2,1fr)}.ad-related-row{grid-template-columns:repeat(2,1fr)}.ad-main-photo{height:390px}.ad-hero h1{font-size:30px}}@media(max-width:640px){.ad-wrap{padding:16px 12px}.ad-hero{min-height:190px}.ad-hero h1{font-size:25px}.ad-breadcrumb{letter-spacing:2px}.ad-title-card h2{font-size:24px}.ad-main-photo{height:300px}.ad-thumbs{grid-template-columns:repeat(4,1fr)}.ad-thumbs img{height:66px}.ad-info-grid,.ad-options-grid,.ad-dark-price,.ad-related-row{grid-template-columns:1fr}.ad-location-card{grid-template-columns:1fr}.finance-grid{grid-template-columns:1fr}}


/* =========================================================
   MOBILE PREMIUM FINAL - sem ícones no menu superior.
   Ícones ficam SOMENTE no menu fixo do rodapé no mobile.
   ========================================================= */

.gb-mobile-bottom{
  display:none;
}

.gb-top nav i{
  display:none!important;
}

/* evita qualquer corte lateral */
html,body{
  max-width:100%;
  overflow-x:hidden;
}

img,video,iframe{
  max-width:100%;
}

@media(max-width:900px){

  body{
    padding-bottom:82px;
    overflow-x:hidden;
  }

  .gb-top{
    position:sticky;
    top:0;
    z-index:9990;
    height:66px;
    padding:9px 14px;
    align-items:center;
    justify-content:center;
    background:#fff;
  }

  .gb-top .brand-img{
    min-width:0;
    max-width:210px;
    justify-content:center;
  }

  .gb-top .brand-img img{
    max-width:205px;
    max-height:50px;
  }

  /* No celular o menu textual do topo some.
     A navegação principal fica no rodapé estilo app. */
  .gb-top nav{
    display:none!important;
  }

  .gb-mobile-bottom{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    height:72px;
    padding:5px 8px calc(5px + env(safe-area-inset-bottom));
    background:#fff;
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:repeat(5,1fr);
    z-index:99999;
    box-shadow:0 -8px 25px rgba(15,23,42,.08);
  }

  .gb-mobile-bottom a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    min-width:0;
    color:#1f2937;
    font-size:10.5px;
    font-weight:800;
    line-height:1;
    text-align:center;
    white-space:nowrap;
  }

  .gb-mobile-bottom i{
    display:flex!important;
    align-items:center;
    justify-content:center;
    font-size:19px;
    line-height:1;
    width:24px;
    height:24px;
    color:inherit;
  }

  .gb-mobile-bottom a.active,
  .gb-mobile-bottom a:hover{
    color:var(--red);
  }

  .gb-mobile-bottom .gb-mobile-main i{
    width:42px;
    height:42px;
    border-radius:16px;
    background:var(--red);
    color:#fff;
    margin-top:-22px;
    box-shadow:0 8px 20px rgba(229,27,62,.30);
  }

  .gb-mobile-bottom .gb-mobile-main span{
    margin-top:-2px;
    color:var(--red);
  }

  .wrap,
  .content,
  .ad-wrap{
    width:100%;
    max-width:100%;
    padding:14px!important;
  }

  .panel{
    display:block!important;
    min-height:auto;
  }

  .side{
    display:none!important;
  }

  .content{
    min-width:0;
  }

  .hero{
    grid-template-columns:1fr!important;
    border-radius:14px;
  }

  .hero-copy{
    padding:28px 18px!important;
  }

  .hero h1{
    font-size:34px!important;
    line-height:1.08;
  }

  .hero-img{
    min-height:160px;
    font-size:80px;
  }

  .searchbox{
    position:relative;
    margin:14px 0 0!important;
    grid-template-columns:1fr!important;
    gap:10px;
    padding:14px;
    border-radius:14px;
    box-shadow:none;
  }

  .grid,
  .cards,
  .form-grid,
  .form-grid-3,
  .field-row,
  .catalog-grid,
  .info-list,
  .vehicle-layout,
  .ad-main-grid{
    grid-template-columns:1fr!important;
  }

  .section-title{
    align-items:flex-start;
    gap:8px;
  }

  .table{
    display:block;
    width:100%;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }

  .form-card,
  .stat,
  .card,
  .catalog-card,
  .vehicle-section,
  .ad-gallery-card,
  .ad-section-card,
  .ad-side-card{
    border-radius:14px;
  }

  input,
  select,
  textarea,
  .btn{
    min-height:46px;
  }

  .btn{
    width:100%;
  }

  .actions,
  .vehicle-actions,
  .banner-actions,
  .modal-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .modal-back{
    align-items:flex-end;
    padding:0;
  }

  .modal{
    width:100%!important;
    max-height:90vh;
    border-radius:18px 18px 0 0;
  }

  .modal-wide{
    width:100%!important;
  }

  .toast-wrap{
    left:12px;
    right:12px;
    top:76px;
  }

  .toast{
    width:100%;
    min-width:0;
    max-width:none;
  }

  /* cards do painel do cliente */
  .client-vehicle-card{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:12px;
    padding:12px;
  }

  .client-vehicle-thumb{
    width:96px;
    height:82px;
  }

  .client-vehicle-info h3{
    font-size:16px;
    line-height:1.2;
  }

  .client-vehicle-meta,
  .client-vehicle-location{
    font-size:12px;
  }

  .client-vehicle-right{
    grid-column:1 / -1;
    width:100%;
    min-width:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    border-top:1px solid var(--line);
    padding-top:12px;
  }

  .client-vehicle-price-box{
    align-items:flex-start;
    text-align:left;
    gap:6px;
  }

  .client-vehicle-price-box strong{
    font-size:18px;
  }

  .gb-actions-menu{
    right:0;
    left:auto;
    top:auto;
    bottom:44px;
  }

  /* página pública do anúncio */
  .ad-hero{
    min-height:170px;
  }

  .ad-hero h1{
    font-size:26px;
  }

  .ad-breadcrumb{
    letter-spacing:2px;
  }

  .ad-main-photo,
  .vehicle-main-photo{
    height:280px!important;
  }

  .ad-title-card{
    flex-direction:column;
    padding:16px;
  }

  .ad-title-card h2{
    font-size:26px;
  }

  .ad-price-inline{
    width:100%;
    min-width:0;
    text-align:left;
  }

  .ad-thumbs,
  .vehicle-gallery.thumbs,
  .vehicle-gallery{
    grid-template-columns:repeat(4,1fr)!important;
    gap:7px;
  }

  .ad-thumbs img,
  .vehicle-gallery.thumbs img,
  .vehicle-gallery img{
    height:62px!important;
  }

  .contact-box,
  .ad-side{
    position:relative!important;
    top:auto!important;
  }

  .photo-preview-grid,
  .edit-photo-grid{
    grid-template-columns:repeat(2,1fr)!important;
  }

  .logo-config-grid{
    grid-template-columns:1fr!important;
  }

  .gb-footer{
    padding-bottom:95px;
  }
}

@media(min-width:901px){
  .gb-top nav{
    display:flex!important;
  }
}

/* =========================================================
   ETAPA 1 - Cadastro Revenda + Mobile App Premium
   ========================================================= */
.gb-hamb{display:none;border:0;background:#fff;width:42px;height:42px;border-radius:10px;align-items:center;justify-content:center;flex-direction:column;gap:5px;position:absolute;left:12px;top:12px;z-index:10001}
.gb-hamb span{width:21px;height:2px;background:#111;border-radius:2px;display:block}.gb-hamb:hover span{background:var(--red)}
.gb-drawer-back{display:none;position:fixed;inset:0;background:rgba(17,24,39,.48);z-index:99996}.gb-drawer-back.show{display:block}
.gb-mobile-drawer{position:fixed;top:0;left:0;height:100vh;width:310px;max-width:86vw;background:#fff;z-index:99997;transform:translateX(-105%);transition:.22s ease;box-shadow:20px 0 45px rgba(15,23,42,.18);display:flex;flex-direction:column;overflow:hidden}.gb-mobile-drawer.show{transform:translateX(0)}
.gb-drawer-head{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px}.gb-drawer-head strong{font-size:18px}.gb-drawer-close{border:0;background:#f3f4f6;width:36px;height:36px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;color:#111}.gb-drawer-close:hover{background:var(--red);color:#fff}
.gb-drawer-menu{display:flex!important;flex-direction:column!important;gap:0!important;padding:10px!important;font-size:15px!important;align-items:stretch!important}.gb-drawer-menu a{display:block!important;padding:14px 12px!important;border-radius:8px!important;color:#111!important;border-bottom:1px solid #f3f4f6;font-weight:700}.gb-drawer-menu a:hover{background:#fff1f3!important;color:var(--red)!important}.gb-drawer-menu a.danger{color:var(--danger)!important}.gb-drawer-menu a i{display:none!important}
.page-hero-simple{background:#111827;color:#fff;border-radius:18px;padding:34px;margin-bottom:18px}.page-hero-simple h1{margin:0 0 8px;font-size:34px}.page-hero-simple p{margin:0;color:#d1d5db}.revenda-search{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:18px;display:grid;grid-template-columns:1fr 220px auto;gap:12px}.stores-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.store-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;align-items:center;gap:14px;min-height:112px;transition:.18s}.store-card:hover{border-color:var(--red);transform:translateY(-2px)}.store-logo{width:72px;height:72px;border-radius:14px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:30px;overflow:hidden;flex:0 0 auto}.store-logo img{width:100%;height:100%;object-fit:contain}.store-info{min-width:0;flex:1}.store-info h3{margin:0 0 4px;font-size:18px}.store-info p{margin:0;color:var(--muted);font-size:13px}.store-info span{display:block;margin-top:7px;font-weight:800;color:var(--red);font-size:13px}.store-card>strong{font-size:13px;color:#111;white-space:nowrap}.cadastro-card{margin:auto}.cadastro-form .revenda-fields{margin-top:10px}.searchbox-advanced{grid-template-columns:repeat(4,1fr) auto;margin-top:-35px}.searchbox-advanced button{grid-column:auto}.searchbox-advanced input,.searchbox-advanced select{min-width:0}
@media(max-width:900px){
  html,body{touch-action:manipulation;-webkit-text-size-adjust:100%}
  .gb-hamb{display:flex}.gb-top{justify-content:center!important}.gb-top nav{display:none!important}.gb-top .brand-img{margin:auto}.gb-top .brand-img img{max-height:44px!important;max-width:190px!important}.gb-mobile-bottom{display:grid!important}.gb-footer{padding-bottom:100px!important}
  .searchbox-advanced{position:relative;margin:14px 0 0;grid-template-columns:1fr 1fr!important;padding:14px!important;box-shadow:none}.searchbox-advanced button{grid-column:1/-1;width:100%}.hero{border-radius:16px}.hero-copy{padding:28px!important}.hero h1{font-size:32px!important}.hero-img{display:none}.grid,.stores-grid{grid-template-columns:1fr!important}.revenda-search{grid-template-columns:1fr!important}.page-hero-simple{padding:24px 18px;border-radius:16px}.page-hero-simple h1{font-size:28px}.store-card{align-items:flex-start}.store-card>strong{display:none}.form-card{max-width:100%;padding:18px!important}.field-row{grid-template-columns:1fr!important}
}
@media(max-width:520px){.searchbox-advanced{grid-template-columns:1fr!important}.gb-mobile-drawer{width:286px}.client-vehicle-card{grid-template-columns:104px minmax(0,1fr)!important;gap:12px!important}.client-vehicle-right{grid-column:1/-1;justify-content:space-between!important;min-width:0!important;width:100%}.client-vehicle-price-box{align-items:flex-start!important;text-align:left!important}.client-vehicle-thumb{height:86px!important}.client-vehicle-info h3{font-size:16px!important}}

/* =========================================================
   CORREÇÃO FINAL MOBILE - menu hambúrguer separado do rodapé
   ========================================================= */

/* padrão desktop: nada de menu app nem drawer aberto */
.gb-mobile-bottom,
.gb-drawer-back,
.gb-mobile-drawer,
.gb-hamb{
  display:none;
}

.gb-top nav i{
  display:none!important;
}

@media(min-width:901px){
  body{padding-bottom:0!important;}
  .gb-top{padding-left:38px!important;padding-right:38px!important;}
  .gb-top nav{display:flex!important;}
  .gb-mobile-bottom{display:none!important;}
  .gb-hamb{display:none!important;}
  .gb-mobile-drawer{display:none!important;}
  .gb-drawer-back{display:none!important;}
}

@media(max-width:900px){
  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
    touch-action:manipulation;
    -webkit-text-size-adjust:100%;
  }

  body{
    padding-bottom:82px!important;
  }

  .gb-top{
    position:sticky!important;
    top:0!important;
    height:66px!important;
    padding:8px 56px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#fff!important;
    border-bottom:1px solid var(--line)!important;
    z-index:99990!important;
  }

  /* menu textual do topo fica escondido no celular */
  .gb-top > nav{
    display:none!important;
  }

  .gb-top .brand-img{
    margin:0 auto!important;
    min-width:0!important;
    max-width:190px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .gb-top .brand-img img{
    max-width:180px!important;
    max-height:44px!important;
    object-fit:contain!important;
  }

  /* hambúrguer só no topo, sem ícones */
  .gb-hamb{
    display:flex!important;
    position:absolute!important;
    left:12px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:42px!important;
    height:42px!important;
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;
    z-index:100000!important;
    padding:0!important;
  }

  .gb-hamb span{
    width:22px!important;
    height:2px!important;
    background:#111827!important;
    border-radius:4px!important;
    display:block!important;
  }

  .gb-hamb:hover span,
  .gb-hamb:focus span{
    background:var(--red)!important;
  }

  /* drawer lateral: menu completo do sistema */
  .gb-drawer-back{
    display:none!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(17,24,39,.48)!important;
    z-index:99996!important;
  }

  .gb-drawer-back.show{
    display:block!important;
  }

  .gb-mobile-drawer{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    left:0!important;
    bottom:0!important;
    width:310px!important;
    max-width:86vw!important;
    height:100dvh!important;
    background:#fff!important;
    z-index:99997!important;
    transform:translateX(-105%)!important;
    transition:transform .22s ease!important;
    box-shadow:20px 0 45px rgba(15,23,42,.18)!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }

  .gb-mobile-drawer.show{
    transform:translateX(0)!important;
  }

  .gb-drawer-head{
    height:66px!important;
    min-height:66px!important;
    padding:0 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    border-bottom:1px solid var(--line)!important;
  }

  .gb-drawer-head strong{
    font-size:16px!important;
    font-weight:800!important;
    color:#111827!important;
  }

  .gb-drawer-close{
    width:38px!important;
    height:38px!important;
    border:0!important;
    border-radius:50%!important;
    background:#f3f4f6!important;
    color:#111827!important;
    font-size:24px!important;
    line-height:1!important;
  }

  .gb-drawer-menu{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    padding:14px!important;
    overflow:auto!important;
  }

  .gb-drawer-menu a{
    display:flex!important;
    align-items:center!important;
    min-height:46px!important;
    padding:0 14px!important;
    border-radius:10px!important;
    color:#111827!important;
    font-size:14px!important;
    font-weight:800!important;
    background:#fff!important;
    border:1px solid transparent!important;
  }

  .gb-drawer-menu a:hover,
  .gb-drawer-menu a.active{
    background:#fff1f3!important;
    color:var(--red)!important;
    border-color:#ffd5dc!important;
  }

  .gb-drawer-menu a.danger{
    color:#dc2626!important;
  }

  /* rodapé estilo app: único lugar com ícones */
  .gb-mobile-bottom{
    display:grid!important;
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    height:72px!important;
    padding:5px 8px calc(5px + env(safe-area-inset-bottom))!important;
    background:#fff!important;
    border-top:1px solid var(--line)!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    z-index:99995!important;
    box-shadow:0 -8px 25px rgba(15,23,42,.08)!important;
  }

  .gb-mobile-bottom a{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    min-width:0!important;
    color:#1f2937!important;
    font-size:10.5px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }

  .gb-mobile-bottom i{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    height:24px!important;
    font-size:19px!important;
    line-height:1!important;
    color:inherit!important;
  }

  .gb-mobile-bottom a.active,
  .gb-mobile-bottom a:hover{
    color:var(--red)!important;
  }

  .gb-mobile-bottom .gb-mobile-main i{
    width:42px!important;
    height:42px!important;
    border-radius:16px!important;
    background:var(--red)!important;
    color:#fff!important;
    margin-top:-22px!important;
    box-shadow:0 8px 20px rgba(229,27,62,.30)!important;
  }

  .gb-mobile-bottom .gb-mobile-main span{
    margin-top:-2px!important;
    color:var(--red)!important;
  }

  .gb-footer{
    padding-bottom:100px!important;
  }
}

/* =========================================================
   AJUSTE FINAL MOBILE PREMIUM
   - Logo à esquerda
   - Menu hambúrguer à direita
   - Drawer abrindo pela direita
   - Ícones somente no menu rodapé
   - Botão central do rodapé flutuando acima da barra
   ========================================================= */
@media (max-width: 900px){
  html, body{
    max-width:100%;
    overflow-x:hidden!important;
    -webkit-text-size-adjust:100%;
    touch-action:manipulation;
  }

  body{
    padding-bottom:86px!important;
  }

  .gb-top{
    position:sticky!important;
    top:0!important;
    left:0!important;
    right:0!important;
    z-index:99990!important;
    height:66px!important;
    min-height:66px!important;
    padding:0 14px!important;
    background:#fff!important;
    border-bottom:1px solid var(--line)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
  }

  .gb-top nav{
    display:none!important;
  }

  .gb-top .brand-img{
    margin:0!important;
    flex:0 1 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:0!important;
  }

  .gb-top .brand-img img{
    display:block!important;
    max-height:44px!important;
    max-width:178px!important;
    width:auto!important;
    object-fit:contain!important;
  }

  .gb-hamb{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    margin-left:auto!important;
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    border:1px solid #eef0f4!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;
    z-index:100000!important;
    padding:0!important;
  }

  .gb-hamb span{
    display:block!important;
    width:22px!important;
    height:2px!important;
    background:#111827!important;
    border-radius:4px!important;
  }

  .gb-hamb:hover span,
  .gb-hamb:focus span{
    background:var(--red)!important;
  }

  .gb-drawer-back{
    display:none!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(17,24,39,.50)!important;
    z-index:99996!important;
  }

  .gb-drawer-back.show{
    display:block!important;
  }

  .gb-mobile-drawer{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    bottom:0!important;
    width:318px!important;
    max-width:88vw!important;
    height:100dvh!important;
    background:#fff!important;
    z-index:99997!important;
    transform:translateX(105%)!important;
    transition:transform .22s ease!important;
    box-shadow:-20px 0 45px rgba(15,23,42,.18)!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }

  .gb-mobile-drawer.show{
    transform:translateX(0)!important;
  }

  .gb-drawer-head{
    height:66px!important;
    min-height:66px!important;
    padding:0 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    border-bottom:1px solid var(--line)!important;
  }

  .gb-drawer-menu{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    padding:14px!important;
    overflow:auto!important;
  }

  .gb-drawer-menu a{
    display:flex!important;
    align-items:center!important;
    min-height:46px!important;
    padding:0 14px!important;
    border-radius:10px!important;
    color:#111827!important;
    font-size:14px!important;
    font-weight:800!important;
    background:#fff!important;
    border:1px solid transparent!important;
  }

  .gb-drawer-menu a:hover,
  .gb-drawer-menu a.active{
    background:#fff1f3!important;
    color:var(--red)!important;
    border-color:#ffd5dc!important;
  }

  .gb-drawer-menu a.danger{
    color:#dc2626!important;
  }

  .gb-mobile-bottom{
    display:grid!important;
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    height:76px!important;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;
    background:#fff!important;
    border-top:1px solid var(--line)!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    z-index:99995!important;
    box-shadow:0 -10px 26px rgba(15,23,42,.10)!important;
  }

  .gb-mobile-bottom a{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    min-width:0!important;
    color:#1f2937!important;
    font-size:10.5px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }

  .gb-mobile-bottom i{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    height:24px!important;
    font-size:19px!important;
    line-height:1!important;
    color:inherit!important;
  }

  .gb-mobile-bottom a.active,
  .gb-mobile-bottom a:hover{
    color:var(--red)!important;
  }

  .gb-mobile-bottom .gb-mobile-main{
    overflow:visible!important;
  }

  .gb-mobile-bottom .gb-mobile-main i{
    width:58px!important;
    height:58px!important;
    min-width:58px!important;
    min-height:58px!important;
    border-radius:20px!important;
    background:var(--red)!important;
    color:#fff!important;
    font-size:22px!important;
    margin-top:-34px!important;
    box-shadow:0 14px 28px rgba(229,27,62,.34)!important;
    border:5px solid #fff!important;
  }

  .gb-mobile-bottom .gb-mobile-main span{
    margin-top:-7px!important;
    color:var(--red)!important;
    font-weight:900!important;
  }

  .gb-footer{
    padding-bottom:110px!important;
  }
}

/* === ETAPA 2 - Revendas premium sem alterar banco === */
.cadastro-premium-card{max-width:760px}.cadastro-section-title{font-weight:900;margin:18px 0 10px;color:#111827}.gb-upload-label{display:flex;align-items:center;justify-content:center;min-height:52px;border:1px dashed #d1d5db;border-radius:14px;background:#fafafa;color:#4b5563;font-weight:800;cursor:pointer;padding:12px}.gb-upload-label input{display:none}.gb-upload-label:hover{border-color:var(--red);color:var(--red);background:#fff1f3}.loja-edit-card{max-width:980px}.store-preview-edit{position:relative;background:#f3f4f6;border-radius:18px;margin:12px 0 18px;min-height:220px;overflow:hidden}.store-cover-preview{height:220px;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-weight:900;background:linear-gradient(135deg,#111827,#374151)}.store-cover-preview img{width:100%;height:100%;object-fit:cover}.store-logo-preview{position:absolute;left:24px;bottom:18px;width:96px;height:96px;border-radius:20px;background:#fff;border:5px solid #fff;box-shadow:0 14px 30px rgba(0,0,0,.16);display:flex;align-items:center;justify-content:center;overflow:hidden;color:#9ca3af;font-size:34px}.store-logo-preview img{width:100%;height:100%;object-fit:contain}.dealers-hero{border-radius:24px;padding:46px;background:linear-gradient(135deg,#111827,#27272a);color:#fff;margin-bottom:18px;position:relative;overflow:hidden}.dealers-hero:after{content:'\f1b9';font-family:FontAwesome;position:absolute;right:42px;top:18px;font-size:150px;color:rgba(255,255,255,.08)}.dealers-hero span{font-weight:900;color:var(--red);text-transform:uppercase;letter-spacing:.18em;font-size:12px}.dealers-hero h1{max-width:720px;margin:8px 0 10px;font-size:42px;line-height:1.05}.dealers-hero p{max-width:520px;color:#d1d5db;margin:0;font-size:17px}.revenda-search-premium{grid-template-columns:1fr 220px 170px;border-radius:18px;padding:16px;box-shadow:0 18px 40px rgba(15,23,42,.08)}.stores-grid-premium{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.dealer-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 24px rgba(15,23,42,.04);transition:.18s}.dealer-card:hover{transform:translateY(-3px);border-color:var(--red);box-shadow:0 18px 36px rgba(15,23,42,.08)}.dealer-cover{height:126px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:52px;overflow:hidden}.dealer-cover img{width:100%;height:100%;object-fit:cover}.dealer-content{display:flex;gap:14px;padding:0 16px 12px;margin-top:-28px;align-items:flex-end}.dealer-logo{width:76px;height:76px;border-radius:18px;background:#fff;border:5px solid #fff;box-shadow:0 10px 20px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;overflow:hidden;color:#9ca3af;font-size:28px;flex:0 0 auto}.dealer-logo img{width:100%;height:100%;object-fit:contain}.dealer-info{min-width:0}.dealer-info h3{margin:0 0 4px;font-size:18px}.dealer-info p{margin:0;color:#6b7280;font-size:13px}.dealer-info span{display:block;margin-top:7px;font-weight:900;color:var(--red);font-size:13px}.dealer-footer{border-top:1px solid var(--line);padding:13px 16px;display:flex;justify-content:space-between;align-items:center;font-weight:900;color:#111827}.store-public-page{background:#f5f7fb;min-height:100vh}.store-public-hero{position:relative;margin-bottom:0;background:#111827;color:#fff}.store-cover-public{position:absolute;inset:0;opacity:.38;background:linear-gradient(135deg,#111827,#374151);overflow:hidden}.store-cover-public img{width:100%;height:100%;object-fit:cover;filter:blur(1px)}.store-hero-inner{position:relative;min-height:250px;display:flex;align-items:flex-end;gap:18px;padding-top:70px;padding-bottom:28px}.store-public-logo{width:110px;height:110px;border-radius:24px;background:#fff;border:6px solid #fff;box-shadow:0 16px 36px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;overflow:hidden;color:#9ca3af;font-size:40px;flex:0 0 auto}.store-public-logo img{width:100%;height:100%;object-fit:contain}.store-public-title{flex:1;min-width:0}.store-public-title h1{font-size:38px;margin:0 0 8px;line-height:1}.store-public-title span{display:inline-flex;align-items:center;gap:6px;background:#e8fff1;color:#07863e;border-radius:999px;font-weight:900;font-size:12px;padding:6px 10px}.store-public-title p{color:#e5e7eb;margin:10px 0 0}.store-public-actions{display:flex;gap:10px;flex-wrap:wrap}.btn.full{width:100%;justify-content:center}.store-public-tabs{height:58px;background:#fff;border:1px solid var(--line);border-radius:0 0 18px 18px;display:flex;align-items:center;gap:26px;padding:0 20px;margin-bottom:24px}.store-public-tabs a{height:58px;display:flex;align-items:center;font-weight:900;color:#4b5563;border-bottom:3px solid transparent}.store-public-tabs a.active,.store-public-tabs a:hover{color:var(--red);border-color:var(--red)}.store-public-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px}.store-public-sidebar{display:flex;flex-direction:column;gap:14px}.store-side-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}.store-side-card h3{margin:0 0 12px;font-size:20px}.store-side-card p{color:#4b5563;margin:0 0 10px}.store-vehicles-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.vehicle-card-public .vehicle-img{height:190px}.vehicle-card-public .vehicle-img img{width:100%;height:100%;object-fit:cover}.vehicle-card-public b{display:block;min-height:42px}.vehicle-card-public .price{margin:9px 0}.empty-state{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px;text-align:center;color:#6b7280}.empty-state i{font-size:42px;color:#d1d5db}.empty-state h3{color:#111827;margin:12px 0 6px}
@media(max-width:900px){.dealers-hero{padding:32px 20px;border-radius:18px}.dealers-hero h1{font-size:30px}.dealers-hero:after{font-size:90px;right:18px}.revenda-search-premium{grid-template-columns:1fr!important}.stores-grid-premium,.store-vehicles-grid{grid-template-columns:1fr!important}.store-hero-inner{display:block;min-height:auto;padding-top:90px}.store-public-logo{width:86px;height:86px;border-radius:18px}.store-public-title h1{font-size:28px;margin-top:14px}.store-public-actions{margin-top:16px}.store-public-grid{grid-template-columns:1fr}.store-public-tabs{overflow:auto;border-radius:0;margin-bottom:16px}.store-public-tabs a{white-space:nowrap}.dealer-cover{height:112px}.store-preview-edit,.store-cover-preview{min-height:160px;height:160px}.store-logo-preview{width:74px;height:74px;border-radius:16px}}


/* =========================================================
   ETAPA 3 FINAL - Font Awesome 4.7 + menu mobile separado
   + 3 pontos corrigido sem quebrar cards
   ========================================================= */

/* Topo desktop sem ícones extras */
.gb-top nav i{display:none!important}
.gb-top .brand-img{display:flex;align-items:center}
.gb-top .brand-img img{display:block;max-height:56px;width:auto}

/* Hambúrguer: só mobile, sempre à direita, sem cortar */
.gb-hamb{
  display:none!important;
  border:0!important;
  background:#fff!important;
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:5px!important;
  position:static!important;
  margin-left:auto!important;
  z-index:10002!important;
  box-shadow:none!important;
}
.gb-hamb span{
  width:23px!important;
  height:2px!important;
  background:#111827!important;
  border-radius:4px!important;
  display:block!important;
}
.gb-hamb:hover span{background:var(--red)!important}

/* Drawer mobile abre pela direita */
.gb-drawer-back{z-index:99996!important}
.gb-mobile-drawer{
  left:auto!important;
  right:0!important;
  transform:translateX(105%)!important;
  z-index:99997!important;
  border-radius:18px 0 0 18px!important;
  box-shadow:-20px 0 45px rgba(15,23,42,.18)!important;
}
.gb-mobile-drawer.show{transform:translateX(0)!important}
.gb-drawer-menu a i{width:22px;text-align:center;color:var(--red)}
.gb-drawer-menu a{display:flex!important;align-items:center!important;gap:10px!important}

/* Menu dos 3 pontos: nunca fica por baixo/cortado */
.client-vehicle-list,
.client-vehicle-card,
.client-vehicle-right,
.client-vehicle-actions,
.gb-dropdown,
.table,
.content,
.panel{
  overflow:visible!important;
}
.client-vehicle-card{z-index:1}
.client-vehicle-card.gb-card-menu-open{z-index:9990!important}
.gb-actions-menu{
  display:none;
  position:absolute;
  right:0;
  top:44px;
  z-index:999999!important;
  min-width:205px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 18px 45px rgba(15,23,42,.22);
  padding:8px;
}
.gb-actions-menu.show{display:block!important}
.gb-actions-menu.gb-fixed-menu{
  position:fixed!important;
  right:auto!important;
  top:auto!important;
}
.gb-actions-menu a,
.gb-actions-menu button{
  width:100%;
  display:flex!important;
  align-items:center;
  gap:10px;
  padding:11px 12px!important;
  border-radius:9px!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#111827!important;
  background:#fff!important;
  border:0!important;
  cursor:pointer;
  text-align:left;
  font-family:inherit;
}
.gb-actions-menu a:hover,
.gb-actions-menu button:hover{background:#f9fafb!important;color:var(--red)!important}
.gb-actions-menu a.danger,
.gb-actions-menu button.danger{color:#dc2626!important}
.gb-dots{
  flex:0 0 auto!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  color:#111827!important;
}
.gb-dots i{font-size:16px!important;line-height:1!important}

/* Painel master etapa 3 */
.master-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}
.master-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.master-card small{display:block;color:#6b7280;font-weight:800;text-transform:uppercase;font-size:11px;letter-spacing:.04em}
.master-card b{display:block;font-size:28px;margin-top:8px}
.master-card i{color:var(--red);font-size:22px}
.master-section{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:18px}
.master-section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.master-section-head h2{margin:0}
.master-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.master-menu-card{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;transition:.18s}
.master-menu-card:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:0 16px 35px rgba(15,23,42,.08)}
.master-menu-card i{width:42px;height:42px;border-radius:14px;background:#fff1f4;color:var(--red);display:flex;align-items:center;justify-content:center;font-size:18px}
.master-menu-card strong{display:block;margin-bottom:4px}
.master-menu-card span{display:block;color:#6b7280;font-size:13px;line-height:1.35}

/* Mobile app premium */
@media(max-width:900px){
  html,body{max-width:100%;overflow-x:hidden}
  body{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
  .gb-top{
    height:64px!important;
    padding:8px 14px!important;
    justify-content:space-between!important;
    gap:12px!important;
    z-index:9990!important;
  }
  .gb-top .brand-img{
    margin:0!important;
    justify-content:flex-start!important;
    max-width:220px!important;
    flex:1!important;
  }
  .gb-top .brand-img img{
    max-height:48px!important;
    max-width:190px!important;
  }
  .gb-top nav{display:none!important}
  .gb-hamb{display:flex!important}
  .panel{display:block!important}
  .side{display:none!important}
  .content{padding:16px 12px 96px!important}
  .wrap{padding:16px 12px 96px!important}
  .cards,.master-grid,.master-menu-grid{grid-template-columns:1fr!important}
  .page-head-line{display:block!important}
  .page-head-line .btn{margin-top:12px;width:100%}
  .client-vehicle-card{
    display:grid!important;
    grid-template-columns:92px minmax(0,1fr) auto!important;
    gap:12px!important;
    padding:12px!important;
    align-items:center!important;
  }
  .client-vehicle-thumb{width:92px!important;height:76px!important;border-radius:12px!important}
  .client-vehicle-info h3{font-size:15px!important;line-height:1.2!important;margin-bottom:4px!important}
  .client-vehicle-meta,.client-vehicle-location{font-size:11.5px!important}
  .client-vehicle-right{
    min-width:auto!important;
    gap:8px!important;
    align-items:center!important;
  }
  .client-vehicle-price-box strong{font-size:14px!important}
  .client-vehicle-price-box .badge{font-size:10px!important;padding:5px 8px!important}
  .gb-dots{width:38px!important;height:38px!important;min-width:38px!important}
  .gb-actions-menu{
    min-width:190px!important;
    right:0!important;
  }
  .gb-mobile-bottom{
    height:74px!important;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;
    z-index:99995!important;
  }
  .gb-mobile-bottom .gb-mobile-main i{
    width:56px!important;
    height:56px!important;
    border-radius:18px!important;
    margin-top:-28px!important;
    box-shadow:0 12px 28px rgba(229,27,62,.32)!important;
  }
}
/* =========================================================
   GARAGENSBRASIL - AJUSTE FINAL ORGANIZADO
   Aplicar este bloco no FINAL do /assets/css/style.css
   Corrige: header mobile, hamburger, drawer, menu rodape e 3 pontos
   ========================================================= */

/* base segura */
html, body{
  max-width:100%;
  overflow-x:hidden!important;
  -webkit-text-size-adjust:100%;
}

.gb-top,
.panel,
.content,
.card,
.form-card,
.client-vehicle-list,
.client-vehicle-card,
.vehicle-card,
.vehicle-item,
.vehicle-row,
.table{
  overflow:visible!important;
}

/* Font Awesome 4.7 apenas no rodape mobile */
.gb-top nav i,
.gb-drawer-menu i{
  display:none!important;
}

/* Dropdown dos 3 pontos: controlado por JS com posicao fixa */
.gb-dropdown,
.client-vehicle-actions,
.vehicle-actions{
  position:relative!important;
  overflow:visible!important;
  z-index:20;
}

.gb-dots,
.vehicle-actions-toggle{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  color:#111827!important;
  font-size:18px!important;
  padding:0!important;
}

.gb-dots:hover,
.vehicle-actions-toggle:hover{
  background:var(--red)!important;
  border-color:var(--red)!important;
  color:#fff!important;
}

.gb-actions-menu,
.vehicle-actions-menu{
  display:none!important;
  position:fixed!important;
  width:230px!important;
  min-width:230px!important;
  max-width:calc(100vw - 24px)!important;
  background:#fff!important;
  border:1px solid var(--line)!important;
  border-radius:16px!important;
  box-shadow:0 22px 55px rgba(15,23,42,.22)!important;
  padding:8px!important;
  z-index:999999!important;
  overflow:hidden!important;
}

.gb-actions-menu.show,
.vehicle-actions-menu.show,
.vehicle-actions.open .vehicle-actions-menu{
  display:block!important;
}

.gb-actions-menu a,
.vehicle-actions-menu a{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:42px!important;
  padding:0 12px!important;
  border-radius:10px!important;
  color:#111827!important;
  font-size:14px!important;
  font-weight:800!important;
  background:#fff!important;
  white-space:nowrap!important;
}

.gb-actions-menu a:hover,
.vehicle-actions-menu a:hover{
  background:#fff1f3!important;
  color:var(--red)!important;
}

.gb-actions-menu a.danger,
.vehicle-actions-menu a.danger{
  color:var(--danger)!important;
}

.gb-actions-menu a.danger:hover,
.vehicle-actions-menu a.danger:hover{
  background:#fef2f2!important;
  color:var(--danger)!important;
}

/* Desktop */
@media(min-width:901px){
  body{padding-bottom:0!important;}
  .gb-top{height:76px!important;padding:0 38px!important;}
  .gb-top nav{display:flex!important;}
  .gb-hamb,
  .gb-mobile-bottom,
  .gb-mobile-drawer,
  .gb-drawer-back{display:none!important;}
}

/* Mobile premium */
@media(max-width:900px){
  body{
    padding-bottom:88px!important;
    touch-action:manipulation;
  }

  .gb-top{
    position:sticky!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:66px!important;
    min-height:66px!important;
    padding:0 14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    background:#fff!important;
    border-bottom:1px solid var(--line)!important;
    z-index:99990!important;
  }

  .gb-top > nav{
    display:none!important;
  }

  .gb-top .brand-img,
  .gb-top .brand{
    margin:0!important;
    min-width:0!important;
    max-width:210px!important;
    flex:0 1 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }

  .gb-top .brand-img img{
    max-width:188px!important;
    max-height:46px!important;
    width:auto!important;
    object-fit:contain!important;
  }

  .gb-hamb{
    display:flex!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    transform:none!important;
    margin-left:auto!important;
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border:1px solid #eef0f4!important;
    border-radius:14px!important;
    background:#fff!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;
    z-index:100000!important;
    padding:0!important;
  }

  .gb-hamb span{
    display:block!important;
    width:23px!important;
    height:2px!important;
    background:#111827!important;
    border-radius:4px!important;
  }

  .gb-hamb:hover span,
  .gb-hamb:focus span{
    background:var(--red)!important;
  }

  .gb-drawer-back{
    display:none!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(17,24,39,.52)!important;
    z-index:99996!important;
  }

  .gb-drawer-back.show{
    display:block!important;
  }

  .gb-mobile-drawer{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    bottom:0!important;
    width:318px!important;
    max-width:88vw!important;
    height:100dvh!important;
    background:#fff!important;
    z-index:99997!important;
    transform:translateX(105%)!important;
    transition:transform .22s ease!important;
    box-shadow:-20px 0 45px rgba(15,23,42,.18)!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }

  .gb-mobile-drawer.show{
    transform:translateX(0)!important;
  }

  .gb-drawer-head{
    height:66px!important;
    min-height:66px!important;
    padding:0 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    border-bottom:1px solid var(--line)!important;
  }

  .gb-drawer-head strong{
    font-size:16px!important;
    font-weight:900!important;
    color:#111827!important;
  }

  .gb-drawer-close{
    width:38px!important;
    height:38px!important;
    border:0!important;
    border-radius:50%!important;
    background:#f3f4f6!important;
    color:#111827!important;
    font-size:24px!important;
    line-height:1!important;
  }

  .gb-drawer-close:hover{
    background:var(--red)!important;
    color:#fff!important;
  }

  .gb-drawer-menu{
    display:flex!important;
    flex-direction:column!important;
    gap:5px!important;
    padding:14px!important;
    overflow:auto!important;
  }

  .gb-drawer-menu a{
    display:flex!important;
    align-items:center!important;
    min-height:46px!important;
    padding:0 14px!important;
    border-radius:10px!important;
    color:#111827!important;
    font-size:14px!important;
    font-weight:800!important;
    background:#fff!important;
    border:1px solid transparent!important;
  }

  .gb-drawer-menu a:hover,
  .gb-drawer-menu a.active{
    background:#fff1f3!important;
    color:var(--red)!important;
    border-color:#ffd5dc!important;
  }

  .gb-drawer-menu a.danger{
    color:#dc2626!important;
  }

  .gb-mobile-bottom{
    display:grid!important;
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    height:78px!important;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;
    background:#fff!important;
    border-top:1px solid var(--line)!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    z-index:99995!important;
    box-shadow:0 -10px 26px rgba(15,23,42,.10)!important;
  }

  .gb-mobile-bottom a{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    min-width:0!important;
    color:#1f2937!important;
    font-size:10.5px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }

  .gb-mobile-bottom i{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    height:24px!important;
    font-size:19px!important;
    line-height:1!important;
    color:inherit!important;
  }

  .gb-mobile-bottom a.active,
  .gb-mobile-bottom a:hover{
    color:var(--red)!important;
  }

  .gb-mobile-bottom .gb-mobile-main{
    overflow:visible!important;
  }

  .gb-mobile-bottom .gb-mobile-main i{
    width:58px!important;
    height:58px!important;
    min-width:58px!important;
    min-height:58px!important;
    border-radius:20px!important;
    background:var(--red)!important;
    color:#fff!important;
    font-size:22px!important;
    margin-top:-34px!important;
    box-shadow:0 14px 28px rgba(229,27,62,.34)!important;
    border:5px solid #fff!important;
  }

  .gb-mobile-bottom .gb-mobile-main span{
    margin-top:-7px!important;
    color:var(--red)!important;
    font-weight:900!important;
  }

  .gb-footer{
    padding-bottom:112px!important;
  }

  .wrap,
  .content,
  .ad-wrap{
    width:100%!important;
    max-width:100%!important;
    padding:14px!important;
  }

  .client-vehicle-card{
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:12px!important;
    padding:12px!important;
  }

  .client-vehicle-right{
    grid-column:1/-1!important;
    justify-content:space-between!important;
    min-width:0!important;
    width:100%!important;
  }

  .client-vehicle-price-box{
    align-items:flex-start!important;
    text-align:left!important;
  }
}

/* =========================================================
   ETAPA 4.1 — Anúncio Premium GaragensBrasil
   ========================================================= */
.ad-premium-bar{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}
.ad-premium-bar span,
.ad-premium-bar button{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  padding:7px 11px;
  background:#fff;
  color:#111827;
  font-size:13px;
  font-weight:900;
  font-family:inherit;
}
.ad-premium-bar i{color:var(--red)}
.ad-premium-bar .ok{color:#14833b;background:#e9f8ef;border-color:#bbf7d0}
.ad-premium-bar .ok i{color:#16A34A}
.ad-favorite-btn{cursor:pointer;margin-left:auto}
.ad-favorite-btn.active{color:var(--red);border-color:#fecdd3;background:#fff1f3}
.ad-favorite-btn.active i{color:var(--red)}
.ad-featured-badge{
  position:absolute;
  left:14px;
  top:14px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--red);
  color:#fff;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:900;
  box-shadow:0 12px 26px rgba(229,27,62,.35);
}
.ad-featured-badge i{color:#fff}
.ad-share-card h3{margin-bottom:12px}
.ad-share-actions{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.ad-finance-card label{
  display:block;
  margin:10px 0 5px;
  color:#6b7280;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.ad-finance-card input,
.ad-finance-card select{margin-bottom:3px}
.ad-finance-card .btn{width:100%;margin-top:10px}
.ad-finance-result{
  margin-top:12px;
  padding:12px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#fafafa;
  color:#6b7280;
  font-size:13px;
  font-weight:700;
}
.ad-finance-result strong{
  display:block;
  color:var(--red);
  font-size:19px;
  margin-bottom:4px;
}
.ad-finance-result span{display:block;color:#6b7280;font-size:12px}
.ad-report-box{
  margin:20px 0 0;
  text-align:center;
}
.ad-report-box button{
  border:0;
  background:transparent;
  color:#6b7280;
  font-weight:800;
  cursor:pointer;
  font-family:inherit;
}
.ad-report-box button:hover{color:var(--red)}
.client-vehicle-mini-stats{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}
.client-vehicle-mini-stats span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  padding:5px 8px;
  background:#fff;
  font-size:12px;
  font-weight:900;
  color:#374151;
}
.client-vehicle-mini-stats i{color:var(--red)}
@media(max-width:900px){
  .ad-premium-bar{gap:8px;padding:10px}
  .ad-premium-bar span,.ad-premium-bar button{font-size:12px;padding:7px 9px;min-height:32px}
  .ad-favorite-btn{margin-left:0}
  .ad-share-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .ad-share-actions{grid-template-columns:1fr}
  .ad-premium-bar{display:grid;grid-template-columns:1fr 1fr}
  .ad-premium-bar span,.ad-premium-bar button{width:100%}
}

/* =========================================================
   FIX DEFINITIVO — MENU DE AÇÕES / 3 PONTOS
   Aplicado por último para neutralizar conflitos antigos.
   ========================================================= */
.client-vehicle-list,
.client-vehicle-card,
.client-vehicle-right,
.client-vehicle-actions,
.gb-dropdown,
.vehicle-card,
.vehicle-item,
.vehicle-row,
.vehicle-actions,
.table,
.content,
.panel{
  overflow:visible!important;
}

.client-vehicle-card,
.vehicle-card,
.vehicle-item,
.vehicle-row{
  position:relative!important;
}

.client-vehicle-actions,
.gb-dropdown,
.vehicle-actions{
  position:relative!important;
  z-index:20!important;
  flex:0 0 auto!important;
}

.gb-card-menu-open,
.is-actions-open{
  z-index:99990!important;
}

.gb-dots,
.vehicle-actions-toggle,
[data-actions-toggle]{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  border:1px solid var(--line)!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#111827!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  line-height:1!important;
}

.gb-dots i,
.vehicle-actions-toggle i,
[data-actions-toggle] i{
  font-size:16px!important;
  line-height:1!important;
}

.gb-dots:hover,
.vehicle-actions-toggle:hover,
[data-actions-toggle]:hover{
  background:var(--red)!important;
  border-color:var(--red)!important;
  color:#fff!important;
}

.gb-actions-menu,
.vehicle-actions-menu{
  display:none!important;
  position:fixed!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  width:220px!important;
  min-width:220px!important;
  max-width:calc(100vw - 24px)!important;
  background:#fff!important;
  border:1px solid var(--line)!important;
  border-radius:14px!important;
  box-shadow:0 22px 55px rgba(15,23,42,.24)!important;
  padding:8px!important;
  z-index:999999!important;
  overflow:hidden!important;
}

.gb-actions-menu.show,
.vehicle-actions-menu.show,
.vehicle-actions.open .vehicle-actions-menu{
  display:block!important;
}

.gb-actions-menu a,
.gb-actions-menu button,
.vehicle-actions-menu a,
.vehicle-actions-menu button{
  width:100%!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#111827!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:left!important;
  font-family:inherit!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}

.gb-actions-menu a i,
.gb-actions-menu button i,
.vehicle-actions-menu a i,
.vehicle-actions-menu button i{
  width:18px!important;
  text-align:center!important;
  color:inherit!important;
}

.gb-actions-menu a:hover,
.gb-actions-menu button:hover,
.vehicle-actions-menu a:hover,
.vehicle-actions-menu button:hover{
  background:#fff1f3!important;
  color:var(--red)!important;
}

.gb-actions-menu a.danger,
.gb-actions-menu button.danger,
.vehicle-actions-menu a.danger,
.vehicle-actions-menu button.danger{
  color:var(--danger)!important;
}

.gb-actions-menu a.danger:hover,
.gb-actions-menu button.danger:hover,
.vehicle-actions-menu a.danger:hover,
.vehicle-actions-menu button.danger:hover{
  background:#fef2f2!important;
  color:var(--danger)!important;
}

@media(max-width:900px){
  .client-vehicle-card{
    grid-template-columns:92px minmax(0,1fr)!important;
    align-items:start!important;
    gap:12px!important;
    padding:12px!important;
  }

  .client-vehicle-right{
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    border-top:1px solid var(--line)!important;
    padding-top:12px!important;
  }

  .client-vehicle-price-box{
    align-items:flex-start!important;
    text-align:left!important;
    min-width:0!important;
  }

  .client-vehicle-actions,
  .gb-dropdown{
    margin-left:auto!important;
  }

  .gb-dots,
  .vehicle-actions-toggle{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }
}


/* =========================================================
   MEUS VEÍCULOS - LAYOUT PREMIUM NOVO
   Remove aparência de tabela/CRUD e deixa o painel com cara SaaS.
   ========================================================= */
.gb-vehicles-page{background:#f5f7fb;min-height:calc(100vh - 76px)}
.gb-vehicles-hero{background:linear-gradient(135deg,#111827,#1f2937);color:#fff;border-radius:22px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;overflow:hidden;position:relative}
.gb-vehicles-hero:after{content:'\f1b9';font-family:FontAwesome;position:absolute;right:30px;bottom:-28px;font-size:140px;color:rgba(255,255,255,.06);pointer-events:none}
.gb-vehicles-hero>*{position:relative;z-index:1}.gb-vehicles-hero h1{font-size:38px;line-height:1;margin:6px 0 8px}.gb-vehicles-hero p{margin:0;color:#d1d5db;max-width:680px}.gb-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#fff;background:rgba(229,27,62,.18);border:1px solid rgba(229,27,62,.35);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.gb-add-vehicle{white-space:nowrap;min-width:190px}
.gb-vehicle-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.gb-kpi-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 8px 20px rgba(15,23,42,.035)}.gb-kpi-card small{display:block;color:#6b7280;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.gb-kpi-card strong{display:block;color:#111827;font-size:26px;line-height:1.1;margin:8px 0 4px}.gb-kpi-card span{color:#6b7280;font-size:13px}
.gb-vehicle-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin-bottom:14px}.gb-vehicle-toolbar strong{display:block;font-size:17px}.gb-vehicle-toolbar span{display:block;color:#6b7280;font-size:13px;margin-top:2px}.gb-toolbar-actions{display:flex;gap:8px;align-items:center}.gb-empty-premium{background:#fff;margin-top:12px}
.gb-vehicle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gb-vehicle-premium-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 26px rgba(15,23,42,.045);transition:.18s;display:flex;flex-direction:column;min-width:0}.gb-vehicle-premium-card:hover{transform:translateY(-3px);border-color:rgba(229,27,62,.45);box-shadow:0 18px 38px rgba(15,23,42,.08)}.gb-card-photo{height:205px;background:#eef0f3;display:block;position:relative;overflow:hidden;color:#9ca3af}.gb-card-photo img{width:100%;height:100%;object-fit:cover;display:block}.gb-photo-placeholder{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#9ca3af;font-weight:800;background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}.gb-photo-placeholder i{font-size:54px}.gb-photo-placeholder span{font-size:13px}.gb-card-photo:not(:has(img)) .gb-photo-placeholder,.gb-card-photo.no-photo .gb-photo-placeholder{display:flex}.gb-card-top-badges{position:absolute;left:10px;right:10px;top:10px;display:flex;align-items:center;gap:7px;z-index:3}.gb-card-top-badges span{background:rgba(255,255,255,.96);border:1px solid rgba(229,231,235,.9);border-radius:999px;padding:6px 9px;font-size:12px;font-weight:900;color:#111827;box-shadow:0 6px 16px rgba(15,23,42,.08)}.gb-card-top-badges i{color:var(--red)}
.gb-card-body{padding:15px;flex:1}.gb-card-title-line{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.gb-card-title-line h3{font-size:18px;line-height:1.22;margin:0;color:#111827}.gb-card-meta{margin-top:8px;color:#6b7280;font-size:13px;line-height:1.45}.gb-card-location{margin-top:6px;color:#6b7280;font-size:13px}.gb-card-location i{color:var(--red)}.gb-card-price{margin-top:12px;color:var(--red);font-size:25px;font-weight:900;letter-spacing:-.02em}.gb-card-actions{border-top:1px solid var(--line);padding:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;background:#fff}.gb-card-actions a{min-height:38px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:10px;color:#111827;font-size:13px;font-weight:900;background:#fff}.gb-card-actions a:hover{border-color:var(--red);color:var(--red);background:#fff1f3}.gb-card-actions a.danger{color:#dc2626}.gb-card-actions a.danger:hover{background:#fef2f2;border-color:#fecaca}.gb-card-actions i{font-size:14px}
@media(max-width:1180px){.gb-vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gb-vehicle-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.gb-vehicles-page{padding-bottom:90px}.gb-vehicles-hero{padding:22px 16px;border-radius:18px;display:block}.gb-vehicles-hero h1{font-size:31px}.gb-vehicles-hero .gb-add-vehicle{width:100%;margin-top:16px}.gb-vehicle-kpis{grid-template-columns:repeat(2,1fr);gap:10px}.gb-kpi-card{padding:13px}.gb-kpi-card strong{font-size:22px}.gb-vehicle-toolbar{align-items:flex-start;flex-direction:column}.gb-toolbar-actions,.gb-toolbar-actions .btn{width:100%}.gb-vehicle-grid{grid-template-columns:1fr}.gb-card-photo{height:230px}.gb-card-actions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.gb-vehicle-kpis{grid-template-columns:1fr 1fr}.gb-kpi-card small{font-size:10px}.gb-kpi-card strong{font-size:19px}.gb-kpi-card span{font-size:11px}.gb-card-photo{height:210px}.gb-card-price{font-size:23px}.gb-card-title-line{display:block}.gb-card-title-line .badge{display:inline-flex;margin-top:8px}.gb-card-actions{grid-template-columns:1fr 1fr}.gb-card-actions a{font-size:12px}}
