/* Source: styles.css */
:root{--bg:#101419;--panel:#1c2430;--panel2:#293648;--line:#3b4859;--text:#f5f7fa;--muted:#aab5c3;--red:#de3438;--gold:#f2a71b;--green:#51c77c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{min-height:100vh}.site-header{background:linear-gradient(105deg,#0b0c0f,#181e27);position:sticky;top:0;z-index:20}.topbar,.nav,.container{max-width:1280px;margin:auto;padding-left:28px;padding-right:28px}.topbar{min-height:102px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:14px}.brand img{width:130px;height:auto}.brand small{color:#ccd3dc;line-height:1.5}.head-actions{display:flex;align-items:center;gap:14px}.icon-btn,.cart-link{background:transparent;color:#fff;border:1px solid var(--line);border-radius:7px;padding:9px 12px}.cart-link{position:relative}.cart-count{background:var(--red);border-radius:999px;padding:2px 7px;margin-left:4px}.nav{display:flex;gap:28px;border-top:1px solid #29313d;padding-top:14px;padding-bottom:14px;color:#d4dce5}.nav a:hover,.nav button:hover{color:var(--red)}.nav button{background:transparent;border:0;color:inherit;padding:0}.search-row{display:none;background:#171d25;padding:14px 28px;gap:8px}.search-row.open{display:flex}.search-row input,.field input,.field select,.field textarea{width:100%;padding:11px;border:1px solid var(--line);background:#222c38;color:#fff;border-radius:5px}.search-row button,.primary{border:0;background:var(--red);color:#fff;padding:11px 16px;border-radius:5px;font-weight:bold}.hero{min-height:420px;padding:76px max(28px,calc((100vw - 1224px)/2));position:relative;overflow:hidden;background:#050607}.hero:after{content:'';position:absolute;inset:0 0 0 37%;background:linear-gradient(90deg,#050607 0%,transparent 50%),url('assets/hero-oficina-v3-opt-v1.webp') center/cover no-repeat}.hero>*{position:relative;z-index:1}.eyebrow{color:var(--red);font-size:12px;font-weight:bold;letter-spacing:.12em}.hero h1{font-size:clamp(34px,5vw,58px);max-width:650px;margin:14px 0 26px;line-height:1.05}.hero-search{display:flex;max-width:620px}.hero-search input{flex:1;border:0;padding:15px;border-radius:6px 0 0 6px}.hero-search button{border:0;background:var(--red);color:#fff;padding:0 20px;border-radius:0 6px 6px 0;font-weight:bold}.section{padding:36px 0}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.category{min-height:135px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:8px;color:#fff}.category:hover{background:#202a37}.category img{height:55px;object-fit:contain;margin-bottom:12px}.category small{margin-top:5px;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-head h2{margin:6px 0}.clear-link{color:var(--red);text-decoration:underline}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}.card{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden;transition:.18s transform}.card:hover{transform:translateY(-3px);border-color:#748197}.card img{width:100%;height:185px;object-fit:contain;background:#eef0f1}.card-body{padding:13px}.card h3{margin:7px 0;font-size:16px}.tag{font-size:11px;color:#b9c3d0;text-transform:uppercase}.price{font-size:20px;font-weight:bold;margin:7px 0}.old-price{text-decoration:line-through;color:var(--muted);margin:0;font-size:13px}.stock{color:var(--green);font-size:13px}.stock.out{color:#ff8585}.badge{position:absolute;top:9px;left:9px;background:var(--red);font-weight:bold;padding:5px 8px;border-radius:5px}.featured{background:#171e27;padding:30px 0}.carousel-controls{display:flex;gap:8px}.carousel-controls button{border:1px solid var(--line);background:var(--panel);color:#fff;border-radius:5px;padding:6px 12px}.about{background:#202a37;padding:35px;border-radius:8px;max-width:760px}.footer{margin-top:45px;background:#151a21;padding:40px max(28px,calc((100vw - 1224px)/2));color:#c9d1da;display:grid;grid-template-columns:1.1fr .8fr 1fr;gap:35px}.footer img{width:145px}.footer a{display:block;margin:9px 0}.footer iframe{width:100%;height:220px;border:0;border-radius:6px}.copyright{background:#0d1014;color:#8f9aa7;padding:13px;text-align:center;font-size:12px}.empty{padding:38px;text-align:center;color:var(--muted)}.product{padding-top:26px}.breadcrumb{color:var(--muted);margin-bottom:20px}.product-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:30px}.gallery{display:grid;grid-template-columns:86px 1fr;gap:12px}.thumbs{display:flex;flex-direction:column;gap:8px}.thumbs img{width:76px;height:76px;object-fit:cover;background:#fff;border:2px solid transparent;border-radius:5px;cursor:pointer}.thumbs img.active{border-color:var(--red)}.main-photo{position:relative;background:#f1f2f3;border-radius:8px;min-height:430px;display:grid;place-items:center}.main-photo img{max-width:100%;max-height:560px;object-fit:contain}.photo-arrow{position:absolute;top:50%;background:#101419dd;color:#fff;border:1px solid var(--line);font-size:32px;border-radius:5px}.photo-arrow.prev{left:12px}.photo-arrow.next{right:12px}.buy-panel{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:24px;height:max-content}.buy-panel h1{margin-top:0;font-size:25px}.availability{color:var(--green)}.button-stack{display:grid;gap:10px;margin-top:20px}.cart-button,.whatsapp,.market{padding:13px;border-radius:6px;border:0;text-align:center;font-weight:bold}.cart-button{background:#e8edf3;color:#18202b}.cart-button.in-cart{background:#374555;color:#fff}.whatsapp{background:#25d366;color:#052b14}.market{background:#ffe600;color:#242000}.info{margin-top:30px}.specs{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.spec{background:var(--panel);padding:13px;border-radius:6px;border:1px solid var(--line)}.spec small{display:block;color:var(--muted);margin-bottom:4px}.cart-page,.admin{max-width:900px;margin:0 auto;padding:35px 28px}.back{color:var(--red);display:inline-block;margin-bottom:18px}.cart-item,.admin-item{background:var(--panel);border-bottom:1px solid var(--line);padding:16px;display:flex;align-items:center;justify-content:space-between;gap:15px}.danger{background:transparent;border:1px solid #d95c62;color:#ff969b;padding:7px 10px;border-radius:4px}.cart-actions{margin-top:22px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.filter{border:1px solid var(--line);color:#fff;background:transparent;border-radius:20px;padding:6px 11px}.filter.active{border-color:var(--gold);color:var(--gold)}.form-card{background:var(--panel);padding:24px;border:1px solid var(--line);border-radius:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:6px}.field label{color:var(--muted);font-size:12px;text-transform:uppercase}.field.full{grid-column:1/-1}.previews{display:flex;gap:8px;flex-wrap:wrap}.previews img{width:76px;height:76px;object-fit:cover;border-radius:4px}.message{padding:11px;border-radius:5px;background:#263a2f;color:#9aefb8}.modal{position:fixed;inset:0;background:#000a;z-index:40;display:grid;place-items:center;padding:20px}.modal-box{width:min(430px,100%);background:var(--panel);padding:24px;border-radius:8px}.menu{position:fixed;top:0;right:0;width:min(360px,90vw);height:100vh;background:#171e27;z-index:50;padding:24px;box-shadow:-5px 0 20px #0008}.menu a{display:block;padding:11px 0;border-bottom:1px solid var(--line)}

@media (min-width:761px){
  .site-header{position:relative;background:linear-gradient(105deg,#0a0c10,#141a23)}
  .topbar,.nav,.container{max-width:none;padding-left:clamp(48px,5vw,88px);padding-right:clamp(48px,5vw,88px)}
  .topbar{min-height:108px}.brand img{width:150px}.brand small{padding-left:14px;border-left:1px solid #47505c;font-size:13px;line-height:1.55;color:#f5f7fa}.head-actions{gap:26px}.head-actions::before{content:'Atendimento Rápido\A Pelo WhatsApp';white-space:pre;text-align:right;font-size:13px;font-weight:bold;line-height:1.45}.head-actions .icon-btn:first-child,.head-actions .icon-btn:last-child{display:none}.cart-link{padding:14px 22px;border-radius:28px}
  .nav{justify-content:center;gap:70px;min-height:53px;padding-top:18px;padding-bottom:18px;background:#1c2430;border:1px solid #2e3948;border-radius:8px 8px 0 0}.nav a:first-child{color:#ef333b;font-weight:bold;border-bottom:3px solid #ef333b;padding-bottom:14px;margin-bottom:-17px}
  .hero{min-height:416px;margin:19px 2px 0;padding:90px 6%;border:1px solid #2e3948;border-radius:15px;background:#050709}.hero:after{inset:0 0 0 52%;background:linear-gradient(90deg,#050709 0%,rgba(5,7,9,.93) 20%,rgba(5,7,9,.08) 65%),url('assets/hero-oficina-v3-opt-v1.webp') center/cover no-repeat}.hero h1{max-width:560px;margin:14px 0 12px;font-size:45px;text-transform:uppercase;line-height:1.08}.hero-search{max-width:528px}.hero-search input{padding:14px;background:#252f3e;border:1px solid #46536a;color:#eef2f6}.hero-search button{min-width:138px}
  .section{padding-top:38px;padding-bottom:26px}.categories{gap:22px}.category{min-height:130px}.category:hover{background:rgba(222,52,56,.06)}.category img{height:47px}.category b{font-size:15px}.category small{font-size:11px;color:#d4dbe5}.catalog-section{padding-top:32px}.catalog-section>.section-head h2{font-size:25px;font-weight:400}.featured{margin-top:12px;padding:30px 0;background:transparent}.featured .section-head h2{font-size:24px}.catalog-grid{margin-top:16px}
  .product-layout{align-items:start}.buy-panel{position:sticky;top:22px}
}
/* Etapa 9 — custos e rentabilidade por veículo. */
.positivo{color:#4bd489!important}.negativo{color:#ff6670!important}.admin-vendas-top-actions>button,.admin-venda-filtros button,.admin-venda-itens-topo button,.admin-cliente-form>button:not(.botao-principal){min-height:40px;padding:9px 14px;border:1px solid #48627d;border-radius:5px;background:#111820;color:#eef4fb;font-weight:700}.admin-cliente-linha>span:not(.admin-usuario-avatar){display:grid;gap:2px}
@media(max-width:760px){.admin-cliente-linha>span:not(.admin-usuario-avatar){grid-column:auto}}

/* Carrossel de destaques: mesma navegação automática do catálogo original. */
.carrossel-destaques{margin:18px 0 30px}.carrossel-destaques-cabecalho{margin-bottom:14px}.carrossel-destaques-cabecalho h2{margin:5px 0;font-size:24px}.carrossel-destaques-stage{display:flex;align-items:center;gap:12px}.carrossel-destaques-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;flex:1}.carrossel-seta{z-index:2;width:38px;height:38px;border:1px solid #47566a;border-radius:50%;background:#202a37;color:#fff;font-size:27px;line-height:1;cursor:pointer}.carrossel-seta:hover{border-color:#ef333b;color:#ef333b}.carrossel-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:14px}.carrossel-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#526074;cursor:pointer}.carrossel-dot.ativo{background:#ef333b}.carrossel-pausar{margin-right:8px;padding:4px 10px;border:1px solid #455269;border-radius:13px;background:#1d2632;color:#fff;font-size:11px;cursor:pointer}
.product-mobile-title{display:none}.saving{margin:-3px 0 13px;color:#ef333b;font-weight:bold}.related-products{margin-top:34px}.product-code{color:#aeb9c7}.purchase-help{color:#b4beca;font-size:13px}.availability.out{color:#ff8585}
.condition-card{margin:5px 0;color:#b9c4d1;font-size:12px;line-height:1.3}
@media(max-width:1100px){.carrossel-destaques-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1000px){.carrossel-destaques-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.carrossel-destaques-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.carrossel-seta{display:none}.carrossel-destaques-stage{display:block}.carrossel-destaques-grid .card img{height:112px}.carrossel-destaques-grid .card-body{padding:9px}.carrossel-destaques-grid .card h3{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.carrossel-destaques-grid .stock{font-size:10px}}
@media(max-width:760px){.pagina-peca .site-header{position:sticky;top:0}.product-mobile-title{display:block;margin:3px 0 12px;font-size:20px}.buy-panel{position:fixed;right:0;bottom:0;left:0;z-index:60;max-height:46vh;overflow-y:auto;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;background:#1b2431;box-shadow:0 -8px 24px #0008}.buy-panel h1{display:none}.buy-panel .price{margin:2px 0;font-size:26px}.buy-panel .old-price{display:inline;margin-right:6px}.purchase-help{display:none}.pagina-peca .product{padding-bottom:260px}.related-products{margin-top:24px}.related-products .carrossel-destaques{margin-bottom:0}.card .condition-card{display:none}.menu{padding-bottom:42px}.menu a:last-child{margin-bottom:20px}}

/* Painel fixo de compra: espelha a hierarquia do original no celular. */
@media(max-width:760px){
  .pagina-peca{background:#10151c}.pagina-peca .product{padding:0 15px 214px}
  .pagina-peca .breadcrumb{margin:0;padding:7px 0 0;color:#aeb9c8;font-size:10px;line-height:1.2}
  .pagina-peca .product-mobile-title{margin:12px 16px 15px;color:#f5f7fa;font-size:20px;font-weight:800;line-height:1.05}
  .pagina-peca .gallery{display:flex;flex-direction:column;gap:0}.pagina-peca .main-photo{order:1;min-height:280px;padding:32px 0;border-top:1px solid #303b4b;border-bottom:1px solid #303b4b;border-radius:0;background:#10151c}
  .pagina-peca .main-photo img{width:100%;height:213px;max-height:213px;object-fit:contain}.pagina-peca .thumbs{display:flex;order:2;gap:10px;overflow-x:auto;padding:27px 16px 0}.pagina-peca .thumbs img{flex:0 0 64px;width:64px;height:64px;border:1px solid #303b4b;border-radius:5px}.pagina-peca .thumbs img.active{border-color:#f2a71b}
  .pagina-peca .photo-arrow{top:50%;width:36px;height:49px;border-color:#39465a;border-radius:5px;background:#121a25;color:#fff;font-size:31px}.pagina-peca .photo-arrow.prev{left:8px}.pagina-peca .photo-arrow.next{right:8px}
  .pagina-peca .info{margin:65px 16px 0}.pagina-peca .info h2{margin:0 0 16px;font-size:18px}.pagina-peca .info h2:not(:first-child){margin-top:20px}
  .pagina-peca .spec{padding:14px;background:#1c2532;border-color:#43516a}.pagina-peca .spec small{font-size:11px;text-transform:uppercase}
  .pagina-peca .buy-panel{position:fixed;right:0;bottom:0;left:0;z-index:90;height:181px;min-height:181px;max-height:181px;overflow:hidden;margin:0;padding:13px 15px;border:1px solid #43516a;border-radius:15px 15px 0 0;background:rgba(27,36,49,.985);box-shadow:0 -8px 24px rgba(0,0,0,.42)}
  .pagina-peca .buy-panel h1{display:block;max-width:176px;margin:0;overflow:hidden;color:#f6f7f9;font-size:16px;font-weight:800;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
  .pagina-peca .product-code{max-width:195px;margin:4px 0 0;color:#aeb9c8;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .pagina-peca .buy-panel .price{position:absolute;top:65px;left:15px;margin:0;color:#fff;font-size:26px;font-weight:800;line-height:1}.pagina-peca .buy-panel .old-price{position:absolute;top:91px;left:15px;margin:0;color:#9ea8b5;font-size:11px}
  .pagina-peca .buy-panel .saving{position:absolute;top:117px;left:15px;margin:0;color:#ef333b;font-size:11px;font-weight:700}.pagina-peca .availability,.pagina-peca .purchase-help{display:none}
  .pagina-peca .buy-panel .badge{position:absolute;top:18px;right:105px;left:auto;padding:7px 9px;border-radius:4px;background:#ed3038;color:#fff;font-size:13px}
  .pagina-peca .button-stack{display:block;margin:0}.pagina-peca .button-stack .cart-button{position:absolute;top:13px;right:14px;width:93px;min-height:38px;padding:7px 4px;border:1px solid #43516a;border-radius:19px;background:#1b2431;color:#f6f7f9;font-size:11px}
  .pagina-peca .button-stack .whatsapp{position:absolute;right:auto;bottom:9px;left:15px;width:185px;min-height:37px;padding:10px;border-radius:8px;background:#28c96d;color:#062712;font-size:11px}.pagina-peca .button-stack .market{display:none}
}
@media(max-width:760px){.topbar,.nav,.container{padding-left:16px;padding-right:16px}.topbar{min-height:75px}.brand img{width:84px}.brand small{font-size:9px}.head-actions{gap:6px}.nav{overflow:auto;gap:18px;white-space:nowrap}.hero{min-height:430px;padding:37px 20px 210px}.hero:after{inset:auto 0 0 0;height:210px;background:linear-gradient(180deg,#050607,transparent),url('assets/hero-oficina-v3-opt-v1.webp') 70%/cover}.categories{grid-template-columns:repeat(2,1fr)}.category{min-height:110px}.footer{grid-template-columns:1fr;padding:30px 18px}.product-layout{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}.thumbs{order:2;flex-direction:row;overflow:auto}.main-photo{min-height:300px}.form-grid{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr);gap:10px}.card img{height:130px}.card-body{padding:10px}.card h3{font-size:14px}.price{font-size:16px}.hero h1{font-size:34px}.admin,.cart-page{padding:25px 16px}.site-header{position:static}}

/* Réplica visual mobile do catálogo original. Estas regras ficam por último
   para prevalecer sobre a base desktop da cópia estática. */
@media (max-width:760px){
  body{background:#11161e;color:#f5f7fa;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}
  .site-header{position:relative;background:#10151c;border:1px solid #2d394a;margin:0;z-index:20}
  .topbar{position:relative;display:block;min-height:62px;padding:0}
  .brand{position:absolute;top:8px;left:50%;z-index:2;display:block;transform:translateX(-50%)}
  .brand img{display:block;width:82px;height:45px;object-fit:contain}.brand small{display:none}
  .head-actions{position:static;display:block}.head-actions .icon-btn,.head-actions .cart-link{position:absolute;top:12px;border:0;background:transparent;color:#edf1f5;padding:5px;font-size:25px;line-height:28px}
  .head-actions .icon-btn:first-child{right:59px}.head-actions .cart-link{right:9px;font-size:0}.head-actions .cart-link::before{content:'🛒';font-size:25px}.head-actions .cart-count{position:absolute;top:-5px;right:-7px;font-size:10px}
  .head-actions .icon-btn:last-child{left:14px;font-size:29px}.nav{display:none}
  .search-row{position:absolute;top:62px;right:0;left:0;z-index:30;padding:9px;background:#161d27;border-top:1px solid #2d394a}.search-row input{min-width:0}
  .hero{min-height:270px;margin:0;padding:47px 8px 30px;border-radius:0 0 17px 17px;background:#090d12}.hero:after{inset:0 0 0 30%;height:auto;background:linear-gradient(90deg,#090d12 0%,rgba(9,13,18,.93) 42%,rgba(9,13,18,.12) 100%),url('assets/hero-oficina-v3-opt-v1.webp') center/cover no-repeat}.hero h1{max-width:230px;margin:10px 0 16px;font-size:17px;line-height:1.08;text-transform:uppercase}.eyebrow{font-size:10px;color:#f02f37;letter-spacing:.08em}.hero-search{display:block;width:100%;max-width:none}.hero-search input{width:100%;height:42px;border:1px solid #46536a;border-radius:5px;background:#202b3a;color:#dce4ee;font-size:12px}.hero-search button{width:100%;height:43px;margin-top:8px;border-radius:5px;background:#ed3038;font-size:13px}
  .section{padding:16px 8px}.categories{gap:9px;grid-template-columns:repeat(3,1fr)}.category{min-height:136px;padding:10px 5px;border:1px solid #425069;border-radius:6px;background:#1a2230}.category img{height:35px;margin-bottom:12px;filter:none}.category b{font-size:15px}.category small{font-size:10px;line-height:1.35;color:#e5ebf3;margin-top:8px}.section-head{display:block}.section-head h2{margin:16px 0 12px;font-size:22px;font-weight:400}.clear-link{display:inline-block;margin-bottom:10px}
  .featured{margin:0;padding:16px 8px;background:#11161e}.featured .eyebrow{font-size:20px;color:#ffb31c;letter-spacing:.12em}.featured h2{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{border-color:#3e4d63;background:#1a2230}.card img{height:120px}.card-body{padding:10px}.card h3{font-size:13px}.card .tag{font-size:9px}.price{font-size:16px}.old-price,.stock{font-size:10px}
  .menu{top:0;left:0;right:auto;width:304px;max-width:85vw;height:100dvh;min-height:100vh;overflow-y:auto;overscroll-behavior:contain;padding:30px 20px;background:#161c24;border-right:1px solid #46536a;box-shadow:6px 0 25px rgba(0,0,0,.65);z-index:100}.menu h2{margin:0 0 28px;font-size:21px}.menu h3{margin:24px 0 10px;color:#ffb31c;font-size:12px}.menu a{padding:13px 0;color:#f4f6f8;border-bottom:1px solid #303a48}.menu .danger{position:absolute;top:30px;right:20px;border:0;padding:0;font-size:0}.menu .danger::after{content:'×';font-size:28px;color:#f6f7f9}.menu::before{content:'';display:block;height:0}
  .menu-search{display:flex;margin:-3px 0 18px}.menu-search input{min-width:0;flex:1;padding:12px;border:1px solid #46536a;border-radius:5px 0 0 5px;background:#202b3a;color:#eef2f6}.menu-search button{width:43px;border:0;border-radius:0 5px 5px 0;background:#ed3038;color:white;font-size:20px}
  .product{padding:0 14px 24px}.breadcrumb{padding:8px 0;margin:0;font-size:10px}.product-layout{gap:0}.main-photo{min-height:405px;border-top:1px solid #344152;border-radius:0;background:#10151c}.main-photo img{max-height:390px}.thumbs{display:none}.photo-arrow{width:34px;height:48px;font-size:31px;border-color:#43516a;background:#151d27}.buy-panel{position:relative;margin:0 -14px;padding:14px 16px;border:1px solid #46536a;border-radius:16px 16px 0 0;background:#1b2431}.buy-panel h1{font-size:17px;margin:0 0 5px}.buy-panel .price{font-size:28px}.button-stack{grid-template-columns:1fr 1fr;gap:7px}.button-stack .cart-button{grid-column:2}.button-stack .whatsapp{grid-column:1 / -1}.cart-button,.whatsapp,.market{padding:10px;font-size:11px}.info{margin-top:18px}.specs{grid-template-columns:repeat(2,minmax(0,1fr))}.spec{min-width:0;overflow-wrap:anywhere}.footer{display:none}
}
@media print{@page{margin:5mm}body{margin:0!important;background:#fff!important}.admin-topo,.admin-sidebar,.admin-etiquetas>:not(.admin-etiquetas-impressao){display:none!important}}
.admin-credit-fields,.admin-credit-summary,.customer-popup-purchases{display:grid;gap:12px;padding:16px;border:1px solid #48627d;border-radius:7px;background:#111923;color:#eaf2fa}.admin-credit-summary h3,.customer-popup-purchases h3{margin:0}.customer-popup-purchases{margin-top:16px}.customer-popup-purchases article{display:grid;gap:10px;padding:12px;border:1px solid #35465a;border-radius:6px}.customer-popup-purchases article header{display:flex;justify-content:space-between;gap:10px}.customer-popup-purchases p{margin:2px 0;color:#b9c8da;font-size:12px}
.admin-vendas-detalhes:has(.admin-credit-summary) .admin-venda-exclusao{display:none}.catalog-color-picker{margin:18px 0}.catalog-color-picker>span{display:block;margin-bottom:9px;color:#aec3d9;font-size:13px}.catalog-color-options{display:flex;flex-wrap:wrap;gap:8px}.catalog-color-options button{background:#202b39;border:1px solid #40546c;border-radius:7px;color:#eaf3ff;padding:9px 14px;cursor:pointer}.catalog-color-options button.active,.catalog-color-options button[aria-pressed="true"]{border-color:#f0aa1c;color:#ffcf68;background:#28303a}.galeria-seta[hidden]{display:none}
.admin-ml-color-row>label:has([data-ml-color-value]){display:grid;gap:5px;color:#aec4da;font-size:12px}
.vehicle-popup-body{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:20px}
.vehicle-popup-photo{position:relative;display:flex;align-items:center;justify-content:center;background:#101419;border-radius:8px;min-height:220px}
.vehicle-popup-photo>img{width:100%;height:320px;object-fit:contain}
.vehicle-popup-photo button{position:absolute;top:45%;font-size:24px}.vehicle-popup-photo [data-vehicle-prev]{left:8px}.vehicle-popup-photo [data-vehicle-next]{right:8px}
.vehicle-popup-thumbs{display:flex;gap:8px;flex-wrap:wrap}.vehicle-popup-thumbs button{padding:3px}.vehicle-popup-thumbs button[aria-pressed=true]{border:2px solid #f2a71b}
.vehicle-popup-thumbs img{width:62px;height:52px;object-fit:cover;display:block}
.vehicle-popup-notes{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.vehicle-popup-body{grid-template-columns:1fr;padding:14px}.vehicle-popup-photo>img{height:260px}}


/* Source: original-globals.css */
:root {
  --background: #ffffff;
  --foreground: #171717;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

.cartao {
  background: #1b2028;
  border: 1px solid #2d3542;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.campo label {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8c96a3;
}

.campo input,
.campo textarea {
  background: #232a34;
  border: 1px solid #2d3542;
  border-radius: 4px;
  padding: 10px 12px;
  color: #eef0ee;
  font-size: 14px;
  font-family: inherit;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: #f2a71b;
}

.campo-dica {
  font-size: 11.5px;
  color: #656e7a;
}

.especificacoes-editor {
  display: grid;
  gap: 8px;
}

.especificacao-linha {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) auto;
  gap: 8px;
  align-items: center;
}

.botao-adicionar-especificacao,
.botao-remover-especificacao {
  border: 1px solid #3d566f;
  border-radius: 5px;
  background: transparent;
  color: #9fc6e8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 11px;
}

.botao-adicionar-especificacao {
  align-self: flex-start;
}

.botao-remover-especificacao {
  border-color: #b74852;
  color: #ff8790;
}

.botao-adicionar-especificacao:hover,
.botao-remover-especificacao:hover {
  filter: brightness(1.2);
}

@media (max-width: 520px) {
  .especificacao-linha {
    grid-template-columns: 1fr 1fr;
  }

  .botao-remover-especificacao {
    grid-column: 1 / -1;
  }
}

.botao-principal {
  width: 100%;
  background: #f2a71b;
  color: #17130a;
  border: none;
  border-radius: 4px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}
.botao-principal:hover {
  filter: brightness(1.08);
}
.botao-principal:disabled {
  opacity: 0.6;
  cursor: default;
}

.mensagem {
  margin-top: 14px;
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: 4px;
}
.mensagem.sucesso {
  background: rgba(47, 174, 96, 0.12);
  color: #4bc97a;
}
.mensagem.erro {
  background: rgba(226, 75, 74, 0.12);
  color: #e87877;
}

.lista-pecas h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.item-peca {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #2d3542;
  font-size: 14px;
}

.item-peca button {
  background: transparent;
  border: 1px solid #e24b4a;
  color: #e87877;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}
.item-peca button:hover {
  background: rgba(226, 75, 74, 0.12);
}

.lista-topo {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.botao-pequeno {
  width: auto;
  white-space: nowrap;
  padding: 10px 16px;
}

.busca {
  flex: 1;
  min-width: 220px;
  background: #232a34;
  border: 1px solid #2d3542;
  border-radius: 4px;
  padding: 10px 12px;
  color: #eef0ee;
  font-size: 14px;
}
.busca:focus {
  outline: none;
  border-color: #f2a71b;
}

.filtros-categoria {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.filtros-categoria button {
  background: transparent;
  border: 1px solid #2d3542;
  color: #8c96a3;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  cursor: pointer;
}
.filtros-categoria button:hover {
  border-color: #f2a71b;
  color: #eef0ee;
}
.filtros-categoria button.ativo {
  border-color: #f2a71b;
  color: #f2a71b;
  background: rgba(242, 167, 27, 0.1);
}

.item-peca {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid #2d3542;
  cursor: pointer;
  border-radius: 4px;
}
.item-peca:hover {
  background: #1b2028;
}

.item-peca-foto {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  background: #232a34;
  flex-shrink: 0;
}

.item-peca-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.item-peca-titulo {
  font-size: 14.5px;
  font-weight: 600;
}

.item-peca-meta {
  font-size: 12.5px;
  color: #8c96a3;
}

.lista-vazia {
  color: #656e7a;
  font-size: 14px;
  padding: 20px 0;
  text-align: center;
}

.voltar {
  background: none;
  border: none;
  color: #8c96a3;
  font-size: 13.5px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
}
.voltar:hover {
  color: #f2a71b;
}

.campo select {
  background: #232a34;
  border: 1px solid #2d3542;
  border-radius: 4px;
  padding: 10px 12px;
  color: #eef0ee;
  font-size: 14px;
  font-family: inherit;
}
.campo select:focus {
  outline: none;
  border-color: #f2a71b;
}

.miniaturas-existentes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.miniatura-existente {
  position: relative;
  width: 64px;
  height: 64px;
}

.miniatura-existente img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #2d3542;
}

.miniatura-existente button {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e24b4a;
  color: #fff;
  border: none;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.input-fotos-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.campo-fotos-upload {
  align-items: flex-start;
}

.fotos-preview-novas {
  margin: 2px 0 8px;
}

.fotos-preview-novas .miniatura-existente {
  width: 76px;
  height: 76px;
}

.botao-adicionar-fotos {
  width: auto;
  padding: 8px 12px;
  border: 1px solid #4c7fa3;
  border-radius: 5px;
  background: #1c2833;
  color: #dceaf5;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.botao-adicionar-fotos:hover {
  border-color: #f2a71b;
  color: #f2a71b;
}
/* ===== Site público (catálogo, peça, carrinho) ===== */

body {
  background: #13161b;
  color: #eef0ee;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}

/* --- Topo do catálogo + indicador do carrinho --- */
.catalogo-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.catalogo-topo h1 {
  margin: 0;
  font-size: 22px;
}

.barra-carrinho {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1b2028;
  border: 1px solid #2d3542;
  color: #eef0ee;
  padding: 18px 26px;
  border-radius: 22px;
  text-decoration: none;
  font-size: 15px;
  margin-right: 70px;
}
.barra-carrinho:hover {
  border-color: #f2a71b;
}

.barra-carrinho-contador {
  background: #f2a71b;
  color: #17130a;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0 4px;
}

/* --- Catálogo (grade de cards) --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  display: block;
  background: #1b2028;
  border: 1px solid #2d3542;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover {
  border-color: #f2a71b;
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
  display: block;
}

.card-body {
  padding: 14px;
}

.categoria {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4c7fa3;
}

.card h3 {
  font-size: 15.5px;
  margin: 6px 0;
}

.preco {
  color: #f2a71b;
  font-weight: 700;
  font-size: 15px;
  margin: 4px 0;
}

.estoque {
  font-size: 12.5px;
  color: #8c96a3;
  margin: 0;
}

/* --- Página da peça --- */
.detalhe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 760px) {
  .detalhe {
    grid-template-columns: 1fr;
  }
}

.foto-principal {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #2d3542;
  background: #000;
}

.miniaturas {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.miniaturas img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #2d3542;
  opacity: 0.6;
}
.miniaturas img.ativa {
  opacity: 1;
  border-color: #f2a71b;
}

.info h1 {
  font-size: 26px;
  margin: 8px 0 10px;
}

.codigo {
  color: #8c96a3;
  font-size: 13px;
  margin: 0 0 4px;
}

.info .preco {
  font-size: 22px;
  margin-bottom: 6px;
}

.info .estoque {
  margin-bottom: 18px;
}

.descricao {
  color: #c9cfd6;
  line-height: 1.7;
  font-size: 14.5px;
  margin-bottom: 22px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 13.5px;
}
.specs td {
  padding: 7px 0;
  border-bottom: 1px solid #2d3542;
}
.specs td:first-child {
  color: #8c96a3;
  width: 40%;
}

.botoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-whats,
.btn-ml,
.btn-carrinho {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-whats {
  background: #2fae60;
  color: #0c1a10;
}
.btn-whats:hover {
  filter: brightness(1.08);
}

.btn-ml {
  background: transparent;
  color: #eef0ee;
  border: 1px solid #4c7fa3;
}
.btn-ml:hover {
  background: rgba(76, 127, 163, 0.12);
}

.btn-carrinho {
  background: #f2a71b;
  color: #17130a;
}
.btn-carrinho:hover {
  filter: brightness(1.08);
}
.btn-carrinho.no-carrinho {
  background: transparent;
  border: 1px solid #4bc97a;
  color: #4bc97a;
}
.btn-carrinho.no-carrinho:hover {
  background: rgba(75, 201, 122, 0.1);
}

/* --- Carrinho --- */
.carrinho {
  max-width: 640px;
}

.voltar-catalogo {
  display: inline-block;
  color: #8c96a3;
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.voltar-catalogo:hover {
  color: #f2a71b;
}

.carrinho h1 {
  font-size: 24px;
  margin-bottom: 18px;
}

.carrinho-vazio {
  color: #656e7a;
}

.carrinho-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.carrinho-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #2d3542;
}

.carrinho-item-titulo {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.carrinho-item-codigo {
  display: block;
  font-size: 12.5px;
  color: #8c96a3;
}

.carrinho-item button {
  background: transparent;
  border: 1px solid #e24b4a;
  color: #e87877;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}
.carrinho-item button:hover {
  background: rgba(226, 75, 74, 0.12);
}

.carrinho-acoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-whats-carrinho {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2fae60;
  color: #0c1a10;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.btn-whats-carrinho:hover {
  filter: brightness(1.08);
}

.carrinho-limpar {
  background: transparent;
  border: 1px solid #2d3542;
  color: #8c96a3;
  padding: 10px;
  border-radius: 4px;
  font-size: 13.5px;
  cursor: pointer;
}
.carrinho-limpar:hover {
  border-color: #e24b4a;
  color: #e87877;
}
/* ===== Site público (catálogo, peça, carrinho) ===== */

body {
  background: #13161b;
  color: #eef0ee;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}

/* --- Topo do catálogo + indicador do carrinho --- */
.catalogo-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.catalogo-topo h1 {
  margin: 0;
  font-size: 22px;
}

.pagina-peca-topo {
  margin-bottom: 24px;
}

.barra-carrinho {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1b2028;
  border: 1px solid #2d3542;
  color: #eef0ee;
  padding: 16px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
}
.barra-carrinho:hover {
  border-color: #f2a71b;
}

.barra-carrinho-contador {
  background: #f2a71b;
  color: #17130a;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0 4px;
}

/* --- Catálogo (grade de cards) --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  display: block;
  background: #1b2028;
  border: 1px solid #2d3542;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover {
  border-color: #f2a71b;
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
  display: block;
}

.card-body {
  padding: 14px;
}

.categoria {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4c7fa3;
}

.card h3 {
  font-size: 15.5px;
  margin: 6px 0;
}

.preco {
  color: #f2a71b;
  font-weight: 700;
  font-size: 15px;
  margin: 4px 0;
}

.estoque {
  font-size: 12.5px;
  color: #8c96a3;
  margin: 0;
}

/* --- Página da peça --- */
.detalhe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 760px) {
  .detalhe {
    grid-template-columns: 1fr;
  }
}

.foto-principal {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #2d3542;
  background: #000;
}

.miniaturas {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.miniaturas img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #2d3542;
  opacity: 0.6;
}
.miniaturas img.ativa {
  opacity: 1;
  border-color: #f2a71b;
}

.info h1 {
  font-size: 26px;
  margin: 8px 0 10px;
}

.codigo {
  color: #8c96a3;
  font-size: 13px;
  margin: 0 0 4px;
}

.info .preco {
  font-size: 22px;
  margin-bottom: 6px;
}

.info .estoque {
  margin-bottom: 18px;
}

.descricao {
  color: #c9cfd6;
  line-height: 1.7;
  font-size: 14.5px;
  margin-bottom: 22px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 13.5px;
}
.specs td {
  padding: 7px 0;
  border-bottom: 1px solid #2d3542;
}
.specs td:first-child {
  color: #8c96a3;
  width: 40%;
}

.botoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-whats,
.btn-ml,
.btn-carrinho {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-whats {
  background: #2fae60;
  color: #0c1a10;
}
.btn-whats:hover {
  filter: brightness(1.08);
}

.btn-ml {
  background: transparent;
  color: #eef0ee;
  border: 1px solid #4c7fa3;
}
.btn-ml:hover {
  background: rgba(76, 127, 163, 0.12);
}

.btn-carrinho {
  background: #f2a71b;
  color: #17130a;
}
.btn-carrinho:hover {
  filter: brightness(1.08);
}
.btn-carrinho.no-carrinho {
  background: transparent;
  border: 1px solid #4bc97a;
  color: #4bc97a;
}
.btn-carrinho.no-carrinho:hover {
  background: rgba(75, 201, 122, 0.1);
}

/* --- Carrinho --- */
.carrinho {
  max-width: 640px;
}

.voltar-catalogo {
  display: inline-block;
  color: #8c96a3;
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.voltar-catalogo:hover {
  color: #f2a71b;
}

.carrinho h1 {
  font-size: 24px;
  margin-bottom: 18px;
}

.carrinho-vazio {
  color: #656e7a;
}

.carrinho-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.carrinho-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #2d3542;
}

.carrinho-item-titulo {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.carrinho-item-codigo {
  display: block;
  font-size: 12.5px;
  color: #8c96a3;
}

.carrinho-item button {
  background: transparent;
  border: 1px solid #e24b4a;
  color: #e87877;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}
.carrinho-item button:hover {
  background: rgba(226, 75, 74, 0.12);
}

.carrinho-acoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-whats-carrinho {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2fae60;
  color: #0c1a10;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.btn-whats-carrinho:hover {
  filter: brightness(1.08);
}

.carrinho-limpar {
  background: transparent;
  border: 1px solid #2d3542;
  color: #8c96a3;
  padding: 10px;
  border-radius: 4px;
  font-size: 13.5px;
  cursor: pointer;
}
.carrinho-limpar:hover {
  border-color: #e24b4a;
  color: #e87877;
}
.campo-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #eef0ee;
  margin-bottom: 16px;
  cursor: pointer;
}
.campo-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #f2a71b;
  cursor: pointer;
}
/* ===== Desconto, condição e destaques ===== */

.card {
  position: relative;
}

.card-selo {
  position: absolute;
  top: 10px;
  left: 0;
  background: #f2a71b;
  color: #17130a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  z-index: 2;
}

.preco-antigo {
  color: #8c96a3;
  font-size: 12px;
  text-decoration: line-through;
  margin: 4px 0 0;
}

.condicao-card {
  font-size: 12px;
  color: #8c96a3;
  margin: 2px 0 0;
}

/* --- Página da peça --- */
.preco-antigo-detalhe {
  color: #8c96a3;
  font-size: 14px;
  text-decoration: line-through;
  margin: 4px 0 0;
}

.selo-desconto-detalhe {
  background: #f2a71b;
  color: #17130a;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
}

.condicao-detalhe {
  font-size: 13px;
  color: #8c96a3;
  margin: 4px 0 12px;
}

/* --- Seção de destaques + carrossel --- */
.secao-destaques {
  margin-bottom: 32px;
}

.secao-destaques h2 {
  font-size: 19px;
  margin-bottom: 16px;
}

.carrossel-wrap {
  position: relative;
}

.produtos-linha {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.produtos-linha::-webkit-scrollbar {
  display: none;
}

.produtos-linha .card {
  width: 220px;
  flex-shrink: 0;
}

.carrossel-seta {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1b2028;
  border: 1px solid #2d3542;
  color: #eef0ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
}
.carrossel-seta:hover {
  border-color: #f2a71b;
  color: #f2a71b;
}
.carrossel-seta.esquerda {
  left: -14px;
}
.carrossel-seta.direita {
  right: -14px;
}
.limpar-filtro {
  color: #8c96a3;
  font-size: 13.5px;
  text-decoration: underline;
}
.limpar-filtro:hover {
  color: #f2a71b;
}

.logo-rodape {
  display: block;
  width: 170px;
  height: auto;
  object-fit: contain;
  margin: -14px 0 2px -8px;
}

/* Mantém a imagem inteira visível, sem deformar a foto enviada no cadastro. */
.card img {
  height: 180px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f4f4f4;
}

.foto-principal {
  object-fit: contain;
  background: #0c0e12;
}

@media (max-width: 760px) {
  .logo-area { width: 100%; justify-content: space-between; }
  .logo-frase { margin-left: 12px; padding-left: 12px; font-size: 12px; }
  .item-atendimento { display: none; }
  .hero { min-height: 400px; padding: 40px 24px 180px; }
  .hero::after { width: 100%; height: 190px; top: auto; bottom: -22px; opacity: .54; background-position: center bottom; }
  .busca-hero { flex-direction: row; }
  .busca-hero input { font-size: 13px; }
  .busca-hero button { min-width: 52px; padding: 15px 12px; font-size: 0; }
  .busca-hero button::after { content: '⌕'; font-size: 24px; line-height: 14px; }
  .card img { height: 160px; }
}

.logo-rodape {
  display: block;
  width: 170px;
  height: auto;
  object-fit: contain;
  margin: -14px 0 2px -8px;
}

@media (max-width: 760px) {
  .logo-principal { width: 142px; }
}

/* ===== Página inicial ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(290px, 32vw, 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 7vw;
  margin: 0 -24px -30px;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .96) 0%, rgba(5, 6, 8, .88) 38%, rgba(5, 6, 8, .22) 74%, rgba(5, 6, 8, .45) 100%),
    linear-gradient(125deg, #0a0d11 4%, #202933 52%, #101318 100%);
  border-bottom: 1px solid #2d3542;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(62%, 850px);
  background: url('/logo.png') right center / contain no-repeat;
  opacity: .82;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .65));
}

@media (min-width: 761px) {
  .pagina-inicial .hero {
    min-height: clamp(430px, 34vw, 520px);
    margin: 0 -24px 32px;
    padding: clamp(56px, 6vw, 88px) clamp(48px, 7vw, 108px);
    border: 1px solid #2d3542;
    border-radius: 18px;
  }

  .pagina-inicial .hero::after {
    width: 100%;
    opacity: .9;
    background-position: right center;
    background-size: auto 100%;
    background-repeat: no-repeat;
  }

  .pagina-inicial .hero > * {
    max-width: min(58%, 660px);
  }
}

.hero > * { max-width: 720px; }
.hero-sobrelinha, .sobrelinha {
  margin: 0 0 10px;
  color: #f2a71b;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .12em;
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.06; margin: 0 0 16px; font-weight: 900; text-transform: uppercase; }
.hero > p:not(.hero-sobrelinha) { color: #c9cfd6; font-size: 17px; line-height: 1.65; margin: 0 0 26px; }
.busca-hero { display: flex; max-width: 680px; gap: 0; }
.busca-hero input { flex: 1; min-width: 0; padding: 15px 16px; color: #eef0ee; background: #252d3a; border: 1px solid #495566; border-right: 0; border-radius: 5px 0 0 5px; font: inherit; }
.busca-hero input:focus { outline: none; border-color: #f2a71b; }
.busca-hero button, .botao-contato { padding: 15px 20px; border: 0; border-radius: 5px; color: #fff; background: #c8282d; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.busca-hero button { border-radius: 0 5px 5px 0; min-width: 132px; }

.secao-categorias { margin-bottom: 52px; }
.secao-titulo h2, .sobre-nos h2 { margin: 0; font-size: 27px; }
.categorias-atalhos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.categoria-atalho { display: flex; flex-direction: column; gap: 10px; min-height: 116px; padding: 18px; color: #eef0ee; background: #1b2028; border: 1px solid #2d3542; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; transition: .15s; }

.categoria-atalho:hover { border-color: #c8282d; transform: translateY(-2px); }

.sobre-nos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; padding: 54px 0; margin-top: 60px; border-top: 1px solid #2d3542; }
.sobre-nos h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.15; }
.sobre-texto p { margin: 0 0 16px; color: #c9cfd6; line-height: 1.7; }
.botao-contato { display: inline-block; margin-top: 8px; }

.site-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 34px 0 0; margin-top: 8px; border-top: 1px solid #2d3542; color: #8c96a3; font-size: 13.5px; }
.site-footer strong { display: block; color: #eef0ee; margin-bottom: 10px; }
.site-footer p { line-height: 1.6; margin: 0; }
.site-footer a { display: block; width: fit-content; margin: 5px 0; color: #8c96a3; text-decoration: none; }
.site-footer a:hover { color: #f2a71b; }

@media (max-width: 760px) {
  .hero { padding: 52px 24px; }
  .busca-hero { flex-direction: column; }
  .categorias-atalhos { grid-template-columns: repeat(2, 1fr); }
  .sobre-nos, .site-footer { grid-template-columns: 1fr; gap: 30px; }
  .nav-bar { gap: 14px; overflow-x: auto; justify-content: flex-start; }
  .topo-header { padding: 14px 20px; }
  .header-acoes .item { display: none; }
}
/* ===== Cabeçalho do site público ===== */

.site-header {
  background: #14171b;
  border-bottom: 1px solid #2d3542;
  margin: -24px -24px 24px;
}

/* No desktop, o cabeçalho e a navegação ganham acabamento arredondado.
   O mobile mantém a barra fixa de ponta a ponta. */
@media (min-width: 761px) {
  .site-header,
  .nav-bar {
    border-radius: 18px;
  }
}

.topo-header {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-principal {

  margin-left: 170px;

  width: clamp(142px, 15vw, 200px);
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-frase {
  margin-left: 30px;
  padding-left: 30px;
  border-left: 1px solid #3b424d;
  color: #e8eaf0;
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 500;
  line-height: 1.90;
}

.header-acoes {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
}
.header-acoes .item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e8eaf0;
}
.item-atendimento { text-align: right; line-height: 1.35; }

.nav-bar {
  display: flex;
  justify-content: center;
  gap: 90px;
  font-size: 16px;
  font-weight: 600;
  color: #8c96a3;
  padding: 20px 32px;
  border-top: 1px solid #2d3542;
  position: relative;
}
.nav-bar a {
  color: #8c96a3;
}
.nav-bar a:hover {
  color: #eef0ee;
}

.nav-dropdown {
  position: relative;
}
.nav-cat-btn {
  background: none;
  border: none;
  color: #8c96a3;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.nav-cat-btn:hover {
  color: #eef0ee;
}
.seta {
  font-size: 10px;
  transition: transform 0.15s;
}
.nav-dropdown.aberto .seta {
  transform: rotate(180deg);
}

.dropdown-categorias {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: #1b2028;
  border: 1px solid #2d3542;
  border-radius: 6px;
  padding: 8px;
  min-width: 200px;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  z-index: 10;
}
.nav-dropdown.aberto .dropdown-categorias {
  display: grid;
}
.dropdown-categorias a {
  color: #8c96a3;
  font-size: 13.5px;
  padding: 8px 10px;
  border-radius: 4px;
}
.dropdown-categorias a:hover {
  background: rgba(242, 167, 27, 0.1);
  color: #f2a71b;
}

.limpar-filtro {
  color: #8c96a3;
  font-size: 13.5px;
  text-decoration: underline;
}
.limpar-filtro:hover {
  color: #f2a71b;
}
.categoria-icone {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
/* ===== Página da peça — estilo Mercado Livre ===== */

.ml-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.ml-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8c96a3;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ml-breadcrumb a {
  color: #8c96a3;
  text-decoration: none;
}

.ml-breadcrumb a:hover {
  color: #f2a71b;
  text-decoration: underline;
}

.ml-breadcrumb-atual {
  color: #eef0ee;
}

.ml-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* ---- Galeria ---- */

.galeria-ml {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
}

.galeria-miniaturas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  overflow-y: auto;
}

.miniatura-item {
  width: 72px;
  height: 72px;
  padding: 2px;
  border-radius: 4px;
  border: 1px solid #2d3542;
  background: #1b2028;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0.6;
}

.miniatura-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.miniatura-item:hover {
  opacity: 0.85;
}

.miniatura-item.ativa {
  border-color: #f2a71b;
  opacity: 1;
}

.galeria-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0e12;
  border: 1px solid #2d3542;
  border-radius: 6px;
  min-height: 420px;
  max-height: 520px;
}

.foto-principal-ml {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

/* ---- Detalhes (specs + descrição) ---- */

.ml-detalhes-desktop {
  margin-top: 32px;
}

.ml-detalhes-mobile {
  display: none;
  margin-top: 24px;
}

.ml-secao-titulo {
  font-size: 17px;
  font-weight: 600;
  color: #eef0ee;
  margin: 0 0 12px;
  padding-top: 20px;
  border-top: 1px solid #2d3542;
}

.ml-secao-titulo:first-child {
  border-top: none;
  padding-top: 0;
}

.ml-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
  font-size: 13.5px;
}

.ml-specs td {
  padding: 8px 0;
  border-bottom: 1px solid #2d3542;
  color: #c9cfd6;
}

.ml-specs td:first-child {
  color: #8c96a3;
  width: 40%;
}

.ml-descricao {
  color: #c9cfd6;
  line-height: 1.7;
  font-size: 14.5px;
  white-space: pre-line;
}

/* ---- Painel de compra (coluna direita) ---- */

.ml-painel-compra {
  position: sticky;
  top: 20px;
  background: #1b2028;
  border: 1px solid #2d3542;
  border-radius: 6px;
  padding: 24px;
}

.ml-condicao-topo {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4c7fa3;
  margin-bottom: 8px;
}

.ml-titulo {
  font-size: 22px;
  font-weight: 700;
  color: #eef0ee;
  line-height: 1.3;
  margin: 0 0 6px;
}

.ml-codigo {
  font-size: 13px;
  color: #8c96a3;
  margin: 0 0 16px;
}

.ml-preco-bloco {
  margin-bottom: 14px;
}

.ml-preco-original {
  color: #8c96a3;
  font-size: 14px;
  text-decoration: line-through;
  margin: 0 0 2px;
}

.ml-preco-atual {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  color: #f2a71b;
  margin: 0;
}

.ml-selo-desconto {
  background: #f2a71b;
  color: #17130a;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

.ml-disponibilidade {
  font-size: 13.5px;
  margin: 0 0 20px;
}

.ml-disponibilidade.disponivel {
  color: #4bc97a;
}

.ml-disponibilidade.indisponivel {
  color: #e87877;
}

.ml-check {
  font-weight: 700;
}

.ml-qtd-disponivel {
  color: #8c96a3;
}

.ml-botoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ml-botoes .btn-carrinho,
.ml-botoes .btn-whats,
.ml-botoes .btn-ml {
  width: 100%;
  box-sizing: border-box;
}

/* ---- Responsivo ---- */

@media (max-width: 760px) {
  .ml-layout {
    grid-template-columns: 1fr;
  }

  .ml-painel-compra {
    position: static;
    order: 2;
  }

  .ml-coluna-galeria {
    order: 1;
  }

  .ml-detalhes-desktop {
    display: none;
  }

  .ml-detalhes-mobile {
    display: block;
    order: 3;
  }

  .galeria-ml {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .galeria-principal {
    order: 1;
    min-height: 280px;
  }

  .galeria-miniaturas {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .ml-titulo {
    font-size: 19px;
  }

  .ml-preco-atual {
    font-size: 24px;
  }
}
/* ============================================================
   Garage 092 — Adições ao globals.css
   Cole este bloco no FINAL do seu globals.css,
   substituindo qualquer bloco anterior com este comentário.
   ============================================================ */

/* ── Barra de busca no cabeçalho (só página da peça) ── */

.busca-header {
  display: flex;
  flex: 1;
  max-width: 560px;
  margin: 0 24px;
}

.busca-header input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  background: #252d3a;
  border: 1px solid #495566;
  border-right: none;
  border-radius: 5px 0 0 5px;
  color: #eef0ee;
  font: inherit;
  font-size: 14px;
}

.busca-header input:focus {
  outline: none;
  border-color: #f2a71b;
}

.busca-header button {
  padding: 11px 20px;
  background: #c8282d;
  border: none;
  border-radius: 0 5px 5px 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.busca-header button:hover { filter: brightness(1.1); }

@media (max-width: 900px) {
  .busca-header { order: 3; max-width: 100%; margin: 8px 0 0; flex-basis: 100%; }
  .topo-header  { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .busca-header { display: none; }
}

/* ── Carrossel de destaques — novo ── */

.carrossel-destaques {
  margin: 0 0 40px;
}

.carrossel-destaques-cabecalho {
  text-align: center;
  margin-bottom: 20px;
}

.carrossel-destaques-cabecalho h2 {
  font-size: 22px;
  margin: 0;
}

.carrossel-destaques-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carrossel-destaques-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  flex: 1;
  min-width: 0;
}

/* reutiliza as setas existentes mas sem posicionamento absoluto */
.carrossel-destaques-stage .carrossel-seta {
  position: static;
  transform: none;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1b2028;
  border: 1px solid #2d3542;
  color: #eef0ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.carrossel-destaques-stage .carrossel-seta:hover {
  border-color: #f2a71b;
  color: #f2a71b;
}

/* Dots de paginação */
.carrossel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carrossel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #2d3542;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.carrossel-dot.ativo {
  background: #f2a71b;
  width: 24px;
  border-radius: 4px;
}

/* Seção de destaques dentro da página da peça */
.ml-destaques-secao {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #2d3542;
}

/* ── Página da peça — layout ── */

.ml-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.ml-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8c96a3;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ml-breadcrumb a { color: #8c96a3; text-decoration: none; }
.ml-breadcrumb a:hover { color: #f2a71b; text-decoration: underline; }
.ml-breadcrumb-atual { color: #eef0ee; }

.ml-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 36px;
  align-items: start;
}

/* ── Galeria ── */

.galeria-ml {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  margin-left: -24px;
}

.galeria-miniaturas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 600px;
  overflow-y: auto;
}

.miniatura-item {
  width: 84px;
  height: 84px;
  padding: 2px;
  border-radius: 4px;
  border: 1px solid #2d3542;
  background: #1b2028;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0.6;
}

.miniatura-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; }
.miniatura-item:hover { opacity: 0.85; }
.miniatura-item.ativa { border-color: #f2a71b; opacity: 1; }

.galeria-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0e12;
  border: 1px solid #2d3542;
  border-radius: 6px;
  min-height: 480px;
  max-height: 600px;
}

.foto-principal-ml {
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
}

/* ── Specs em cards ── */

.ml-detalhes-desktop { margin-top: 32px; }
.ml-detalhes-mobile  { display: none; margin-top: 24px; }

.ml-secao-titulo {
  font-size: 17px;
  font-weight: 600;
  color: #eef0ee;
  margin: 0 0 14px;
  padding-top: 24px;
  border-top: 1px solid #2d3542;
}
.ml-secao-titulo:first-child { border-top: none; padding-top: 0; }

.ml-specs-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.ml-spec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #1b2028;
  border: 1px solid #2d3542;
  border-radius: 6px;
  padding: 12px 14px;
}

.ml-spec-chave {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8c96a3;
}

.ml-spec-valor {
  font-size: 14.5px;
  color: #eef0ee;
  font-weight: 500;
}

.ml-descricao {
  color: #ffffff;
  line-height: 1.75;
  font-size: 15.5px;
  white-space: pre-line;
}

/* ── Painel de compra ── */

.ml-painel-compra {
  position: sticky;
  top: 20px;
  background: #1b2028;
  border: 1px solid #2d3542;
  border-radius: 6px;
  padding: 28px;
}

.ml-condicao-topo {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4c7fa3;
  margin-bottom: 10px;
}

.ml-titulo { font-size: 24px; font-weight: 700; color: #eef0ee; line-height: 1.3; margin: 0 0 8px; }
.ml-codigo { font-size: 13px; color: #8c96a3; margin: 0 0 18px; }
.ml-preco-bloco { margin-bottom: 16px; }

.ml-preco-original {
  color: #8c96a3;
  font-size: 15px;
  text-decoration: line-through;
  margin: 0 0 4px;
}

.ml-preco-atual {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 34px;
  font-weight: 700;
  color: #f2a71b;
  margin: 0;
}

.ml-selo-desconto {
  background: #f2a71b;
  color: #17130a;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
}

.ml-disponibilidade { font-size: 14px; margin: 0 0 22px; }
.ml-disponibilidade.disponivel   { color: #4bc97a; }
.ml-disponibilidade.indisponivel { color: #e87877; }
.ml-check { font-weight: 700; }
.ml-qtd-disponivel { color: #8c96a3; }

.ml-botoes { display: flex; flex-direction: column; gap: 10px; }
.ml-botoes .btn-carrinho,
.ml-botoes .btn-whats,
.ml-botoes .btn-ml { width: 100%; box-sizing: border-box; }

/* ── Rodapé ── */

.site-footer {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.6fr;
  gap: 48px;
  padding: 40px 0 0;
  margin-top: 8px;
  border-top: 1px solid #2d3542;
  color: #8c96a3;
  font-size: 13.5px;
}

/* Ajustes finais da página da peça e do rodapé. */
.ml-layout {
  grid-template-columns: minmax(0, 1fr) 400px;
}

.galeria-ml {
  grid-template-columns: 76px minmax(0, 1fr);
  margin-left: 0;
}

.galeria-miniaturas {
  height: clamp(480px, 46vw, 560px);
  max-height: none;
  padding-right: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.galeria-miniaturas::-webkit-scrollbar {
  display: none;
}

.miniatura-item {
  width: 76px;
  height: 76px;
}

.galeria-principal {
  height: clamp(480px, 46vw, 560px);
  min-height: 0;
  max-height: none;
  min-width: 0;
  overflow: hidden;
}

.foto-principal-ml {
  width: 100%;
  height: 100%;
  max-height: none;
}

.ml-painel-compra {
  top: 16px;
  min-height: clamp(480px, 46vw, 560px);
  display: flex;
  flex-direction: column;
  align-self: start;
}

.ml-botoes {
  margin-top: auto;
}

.carrossel-destaques-grid {
  animation: carrossel-entrada-proxima 320ms ease-out both;
}

.carrossel-destaques-grid.carrossel-pagina-anterior {
  animation-name: carrossel-entrada-anterior;
}

@keyframes carrossel-entrada-proxima {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes carrossel-entrada-anterior {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

.site-footer {
  grid-template-columns: minmax(0, 1fr) minmax(150px, .7fr) 220px;
  gap: 30px;
  padding: 22px 28px 18px;
  align-items: start;
}

.logo-rodape {
  width: 118px;
  height: auto;
}

.site-footer strong {
  margin-bottom: 8px;
}

.site-footer p {
  line-height: 1.45;
  margin-bottom: 6px;
}

.site-footer a {
  margin: 3px 0;
}

.footer-whats {
  margin-top: 6px !important;
}

.footer-mapa-col {
  justify-self: end;
  width: 220px;
}

.footer-mapa-wrap {
  width: 220px;
  height: 220px;
  aspect-ratio: 1;
}

.footer-copy {
  margin-top: 0;
  padding: 12px 28px;
}

@media (max-width: 1000px) {
  .ml-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .site-footer { grid-template-columns: minmax(0, 1fr) minmax(145px, .7fr) 190px; gap: 22px; }
  .footer-mapa-col, .footer-mapa-wrap { width: 190px; }
  .footer-mapa-wrap { height: 190px; }
}

@media (max-width: 760px) {
  .ml-layout { grid-template-columns: 1fr; }
  .galeria-ml { grid-template-columns: 1fr; }
  .galeria-principal { height: auto; min-height: 280px; }
  .foto-principal-ml { height: auto; max-height: 440px; }
  .galeria-miniaturas {
    height: auto;
    max-height: none;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
  }
  .miniatura-item { width: 64px; height: 64px; }
  .ml-painel-compra { position: static; min-height: 0; }
  .ml-botoes { margin-top: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px 18px; }
  .footer-mapa-col { justify-self: start; width: min(220px, 100%); }
  .footer-mapa-wrap { width: min(220px, 100%); height: auto; aspect-ratio: 1; }
  .footer-copy { padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .carrossel-destaques-grid { animation: none; }
}

/* Cabeçalho compacto inspirado no layout mobile da referência. */
.header-icone {
  display: none;
  border: 0;
  background: transparent;
  color: #eef0ee;
  cursor: pointer;
  font-size: 29px;
  line-height: 1;
  padding: 4px;
}

.menu-lateral-camada {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .62);
}

.menu-lateral {
  width: min(86vw, 340px);
  height: 100%;
  padding: 22px 24px;
  overflow-y: auto;
  background: #15191f;
  border-right: 1px solid #394352;
  box-shadow: 10px 0 30px rgba(0, 0, 0, .35);
}

.menu-lateral-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: #eef0ee;
  font-size: 21px;
  font-weight: 700;
}

.menu-fechar {
  border: 0;
  background: none;
  color: #eef0ee;
  font-size: 30px;
  cursor: pointer;
}

.menu-lateral a {
  display: block;
  padding: 11px 0;
  color: #d5dae0;
  border-bottom: 1px solid rgba(58, 67, 82, .55);
  text-decoration: none;
}

.menu-lateral a:hover { color: #f2a71b; }
.menu-lateral-titulo { padding: 22px 0 4px; color: #f2a71b; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.menu-busca {
  display: flex;
  margin-bottom: 14px;
  border: 1px solid #3a4554;
  border-radius: 5px;
  overflow: hidden;
}

.menu-busca input { min-width: 0; flex: 1; padding: 11px; border: 0; background: #202733; color: #eef0ee; }
.menu-busca button { width: 42px; border: 0; background: #dc3034; color: #fff; font-size: 22px; cursor: pointer; }

@media (max-width: 760px) {
  .site-header { margin-bottom: 16px; }
  .topo-header { flex-wrap: nowrap; gap: 10px; padding: 12px 16px; }
  .logo-area { width: auto; min-width: 0; flex: 1; }
  .logo-principal { width: 112px; margin-left: 0; }
  .logo-frase { margin-left: 10px; padding-left: 10px; font-size: 10px; line-height: 1.35; }
  .header-acoes { width: auto; gap: 8px; margin-left: auto; }
  .header-acoes .item { display: none; }
  .header-icone { display: inline-flex; align-items: center; justify-content: center; }
  .header-busca-toggle { font-size: 32px; transform: rotate(-20deg); }
  .header-menu-toggle { font-size: 25px; }
  .barra-carrinho { position: relative; width: 30px; height: 34px; margin: 0; padding: 0; border: 0; overflow: visible; font-size: 0; }
  .barra-carrinho-icone { font-size: 24px; line-height: 34px; }
  .barra-carrinho-label { display: none; }
  .barra-carrinho-contador { top: -2px; right: -4px; }
  .nav-bar { display: none; }
  .busca-header-mobile { display: flex; max-width: none; margin: 0; padding: 0 16px 12px; border: 0; }
  .busca-header-mobile input { background: #202733; border-color: #3a4554; }
}

/* Página da peça: hierarquia e card de compra no padrão de vitrine mobile. */
.logo-principal { margin-left: 0; }

.ml-produto-cabecalho {
  margin: 0 0 14px;
}

.ml-produto-categoria {
  margin: 0 0 6px;
  color: #f2a71b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ml-titulo-galeria {
  margin-bottom: 5px;
}

.ml-codigo-galeria { margin-bottom: 0; }

.ml-painel-cabecalho {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #303947;
}

.ml-painel-cabecalho .ml-condicao-topo { margin: 0; }

.ml-painel-cabecalho .ml-selo-desconto { flex: 0 0 auto; }

.ml-compra-ajuda {
  margin: 0 0 22px;
  color: #aeb7c2;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .ml-container { padding-inline: 0; }
  .ml-breadcrumb { margin-bottom: 14px; font-size: 10px; }
  .ml-produto-cabecalho { padding: 0 18px; margin-bottom: 16px; }
  .ml-titulo-galeria { font-size: 21px; line-height: 1.18; }
  .ml-codigo-galeria { font-size: 12px; }
  .galeria-principal { border-radius: 0; border-inline: 0; background: #101318; }
  .galeria-miniaturas { padding: 12px 18px 0; gap: 10px; }
  .ml-painel-compra {
    margin-top: 18px;
    padding: 22px 18px 18px;
    border-inline: 0;
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden;
    background: #171c24;
  }
  .ml-painel-cabecalho { margin-bottom: 16px; padding-bottom: 13px; }
  .ml-preco-atual { font-size: 29px; }
  .ml-preco-original { font-size: 13px; }
  .ml-disponibilidade { margin-bottom: 10px; }
  .ml-compra-ajuda { margin-bottom: 18px; }
  .ml-botoes { gap: 9px; }
  .ml-botoes .btn-carrinho,
  .ml-botoes .btn-whats,
  .ml-botoes .btn-ml { min-height: 48px; border-radius: 24px; }
  .ml-detalhes-mobile { padding-inline: 18px; }
}

.site-footer strong { display: block; color: #eef0ee; margin-bottom: 12px; font-size: 14px; }
.site-footer p { line-height: 1.6; margin: 0 0 10px; }
.site-footer a { display: block; width: fit-content; margin: 5px 0; color: #8c96a3; text-decoration: none; }
.site-footer a:hover { color: #f2a71b; }

.footer-whats {
  display: inline-block !important;
  margin-top: 10px !important;
  color: #4bc97a !important;
  font-weight: 600;
  font-size: 15px;
}
.footer-whats:hover { filter: brightness(1.15); }

.footer-mapa-col {
  /* empurra o mapa para a direita, mas fica dentro do grid */
}

.footer-mapa-wrap {
  margin-top: 4px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #2d3542;
  /* proporção mais quadrada */
  aspect-ratio: 4 / 3;
}

.footer-mapa-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-ver-mapa {
  display: inline-block;
  margin-top: 8px !important;
  font-size: 13px;
  color: #4c7fa3 !important;
}
.footer-ver-mapa:hover { color: #f2a71b !important; }

.footer-copy {
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid #2d3542;
  text-align: center;
  font-size: 12.5px;
  color: #656e7a;
}

/* ── Sobre nós (coluna única) ── */

.sobre-nos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 54px 0 40px;
  margin-top: 60px;
  border-top: 1px solid #2d3542;
  max-width: 680px;
}

.sobre-texto p:not(.sobrelinha) {
  margin: 0 0 16px;
  color: #c9cfd6;
  line-height: 1.7;
}

/* ── Responsivo ── */

@media (max-width: 1100px) {
  .carrossel-destaques-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1000px) {
  .ml-layout { grid-template-columns: 1fr 340px; }
  .carrossel-destaques-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .ml-layout { grid-template-columns: 1fr; }
  .ml-painel-compra { position: static; order: 2; }
  .ml-coluna-galeria { order: 1; }
  .ml-detalhes-desktop { display: none; }
  .ml-detalhes-mobile  { display: block; order: 3; }

  .galeria-ml { grid-template-columns: 1fr; margin-left: 0; }
  .galeria-principal { order: 1; min-height: 280px; }
  .galeria-miniaturas { order: 2; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }

  .ml-specs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-spec-card { min-width: 0; padding: 12px 14px; overflow-wrap: anywhere; }
  .ml-titulo      { font-size: 19px; }
  .ml-preco-atual { font-size: 26px; }

  .carrossel-destaques-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; gap: 30px; }
}

/* Posicionamento final no viewport: evita que regras antigas movam as barras. */
@media (max-width: 760px) {
  main {
    padding-top: 92px;
    padding-bottom: 0;
  }

  .ml-espaco-barra-fixa {
    height: calc(180px + env(safe-area-inset-bottom));
  }

  .site-header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 80;
    width: 100vw;
    margin: 0 !important;
    border-inline: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .38);
  }

  .ml-painel-compra {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 70;
    width: 100vw;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border: 1px solid #384352;
    border-radius: 16px 16px 0 0;
    background: rgba(23, 28, 36, .98);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .34);
  }

  .ml-painel-cabecalho {
    align-items: center;
    margin: 0 0 7px;
    padding: 0;
    border: 0;
  }

  .ml-resumo-titulo {
    display: -webkit-box;
    max-width: 250px;
    margin: 0;
    overflow: hidden;
    color: #f6f7f9;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ml-painel-cabecalho .ml-condicao-topo,
  .ml-disponibilidade,
  .ml-compra-ajuda { display: none; }

  .ml-preco-bloco { margin: 0 0 6px; }
  .ml-preco-original { display: inline; margin-right: 5px; }
  .ml-preco-atual { display: inline; font-size: 25px; }

  .ml-botoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 9px 0 0;
  }

  .ml-botoes .btn-carrinho,
  .ml-botoes .btn-whats,
  .ml-botoes .btn-ml {
    width: 100%;
    min-height: 36px;
    padding: 7px 6px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.15;
  }
  .ml-botoes .btn-carrinho { grid-column: 1 / -1; }
}

/* Estilo do resumo de preço e das ações da peça. */
.ml-acoes-topo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ml-acoes-topo-desktop { display: flex; }
.ml-acoes-topo-mobile { display: none; }

@media (min-width: 761px) {
  .pagina-peca .ml-produto-cabecalho { display: none; }
  .ml-resumo-titulo {
    display: block;
    margin: 0 0 4px;
    color: #f5f7fa;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
  }
  .ml-resumo-codigo {
    display: block;
    color: #9eabba;
    font-size: 12px;
  }
  .ml-painel-cabecalho .ml-condicao-topo { display: none; }
  .ml-painel-compra {
    position: sticky !important;
    top: 16px;
    align-self: start;
  }
  .ml-botoes { margin-top: auto; }
  .ml-acoes-topo-desktop {
    width: 100%;
    min-height: 52px;
    justify-content: flex-end;
    padding: 5px 0 9px;
  }
  .ml-acoes-topo-desktop .ml-condicao-topo {
    margin-right: auto;
    margin-bottom: 0;
  }
}

/* Home: composição mais compacta e legível em celular. */
@media (max-width: 760px) {
  .pagina-inicial .hero {
    min-height: 420px;
    margin: 0 -16px 18px;
    padding: 26px 16px 198px;
  }
  .pagina-inicial .hero::after {
    width: 100%;
    height: 192px;
    right: 0;
    bottom: 0;
    opacity: .68;
    background-position: 68% bottom;
  }
.pagina-inicial .hero h1 {
  text-transform: uppercase;
    max-width: 355px;
    margin-bottom: 16px;
    font-size: clamp(32px, 8.5vw, 38px);
    line-height: 1.07;
  }
  .pagina-inicial .hero-sobrelinha {
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: .1em;
  }
  .pagina-inicial .busca-hero {
    flex-direction: row !important;
    width: 100%;
  }
  .pagina-inicial .busca-hero input {
    height: 50px;
    padding: 0 14px;
    font-size: 13px;
  }
  .pagina-inicial .busca-hero button {
    width: 54px;
    min-width: 54px;
    height: 50px;
    padding: 0;
  }
  .pagina-inicial .secao-categorias {
    margin-bottom: 24px;
    padding: 22px 0 4px;
  }
  .pagina-inicial .categorias-atalhos {
    gap: 12px 8px;
  }
  .pagina-inicial .categoria-atalho {
    min-height: 102px;
    padding: 8px 4px;
    gap: 5px;
  }
  .pagina-inicial .categoria-atalho span { font-size: 34px; }
  .pagina-inicial .categoria-atalho strong { font-size: 14px; }
  .pagina-inicial .categoria-atalho small { font-size: 10px; }
  .pagina-inicial .categoria-icone { width: 46px; height: 46px; }
}

/* Template da Home no celular: menu, vitrine e categorias em três colunas. */
@media (max-width: 760px) {
  .pagina-inicial { padding-top: 62px; }
  .pagina-inicial .site-header { height: 62px; }
  .pagina-inicial .topo-header {
    height: 62px;
    min-height: 62px;
    position: relative;
    justify-content: space-between;
    padding: 7px 12px;
  }
  .pagina-inicial .header-acoes { display: contents; }
  .pagina-inicial .logo-area {
    position: absolute;
    left: 50%;
    order: 2;
    flex: 0 0 auto;
    width: auto;
    transform: translateX(-50%);
  }
  .pagina-inicial .logo-principal {
    width: 108px;
    height: 46px;
    flex-basis: 108px;
  }
  .pagina-inicial .logo-frase,
  .pagina-inicial .header-busca-toggle { display: none; }
  .pagina-inicial .header-menu-toggle {
    order: 1;
    width: 38px;
    height: 40px;
    padding: 0;
    font-size: 29px;
  }
  .pagina-inicial .barra-carrinho {
    order: 3;
    width: 38px;
    height: 40px;
  }
  .pagina-inicial .barra-carrinho-icone { line-height: 40px; }

  /* Página da peça usa a mesma composição compacta da Home, preservando a lupa. */
  .pagina-peca.pagina-peca { padding-top: 62px; }
  .pagina-peca .site-header { height: 62px; }
  .pagina-peca .topo-header {
    height: 62px;
    min-height: 62px;
    position: relative;
    justify-content: space-between;
    padding: 7px 12px;
  }
  .pagina-peca .header-acoes { display: contents; }
  .pagina-peca .logo-area {
    position: absolute;
    left: 50%;
    order: 2;
    flex: 0 0 auto;
    width: auto;
    transform: translateX(-50%);
  }
  .pagina-peca .logo-principal {
    width: 108px;
    height: 46px;
    flex-basis: 108px;
  }
  .pagina-peca .logo-frase { display: none; }
  .pagina-peca .header-menu-toggle {
    order: 1;
    position: absolute;
    top: 11px;
    left: 12px;
    width: 38px;
    height: 40px;
    padding: 0;
    font-size: 29px;
  }
  .pagina-peca .header-busca-toggle {
    display: inline-flex;
    order: 3;
    position: absolute;
    top: 11px;
    right: 52px;
    width: 34px;
    height: 40px;
    padding: 4px;
  }
  .pagina-peca .barra-carrinho {
    order: 4;
    position: absolute;
    top: 11px;
    right: 8px;
    width: 38px;
    height: 40px;
  }
  .pagina-peca .barra-carrinho-icone { line-height: 40px; }

  .pagina-inicial .hero {
    min-height: 270px;
    margin: 0 -16px;
    padding: 23px 8px 6px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
  }
  .pagina-inicial .hero::after {
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    opacity: .82;
    background-color: #0d1015;
    background-repeat: no-repeat;
    /* Um enquadramento um pouco mais aberto preserva o carro inteiro no celular. */
    background-size: auto 86%;
    background-position: 52% top;
  }
  .pagina-inicial .hero::before {
    background: linear-gradient(90deg, rgba(5, 6, 7, .94) 0%, rgba(5, 6, 7, .72) 57%, rgba(5, 6, 7, .18) 100%);
  }
  .pagina-inicial .hero-sobrelinha {
    max-width: 300px;
    margin-bottom: 9px;
    font-size: 10px;
    line-height: 1.25;
  }
  .pagina-inicial .hero h1 {
    max-width: 172px;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
  }
  .pagina-inicial .busca-hero {
    flex-direction: column !important;
    gap: 8px;
    max-width: none;
  }
  .pagina-inicial .busca-hero input,
  .pagina-inicial .busca-hero button {
    width: 100%;
    height: 42px;
    min-height: 42px;
    border-radius: 5px;
  }
  .pagina-inicial .busca-hero input { border: 1px solid #495566; }
  .pagina-inicial .busca-hero button {
    font-size: 14px;
  }
  .pagina-inicial .busca-hero button::after { display: none; }

  .pagina-inicial .secao-categorias {
    margin: 0 -16px 22px;
    padding: 16px 8px 8px;
    background: #141820;
  }
  .pagina-inicial .categorias-atalhos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .pagina-inicial .categoria-atalho {
    min-height: 136px;
    padding: 12px 6px 9px;
    gap: 6px;
    background: linear-gradient(145deg, #202735, #1a202b);
    border: 1px solid #3d4658;
    border-radius: 7px;
  }
  .pagina-inicial .categoria-atalho span { font-size: 30px; }
  .pagina-inicial .categoria-atalho strong { font-size: 14px; }
  .pagina-inicial .categoria-atalho small { font-size: 10px; line-height: 1.28; }
  .pagina-inicial .categoria-icone { width: 38px; height: 38px; }
}

@media (min-width: 430px) and (max-width: 760px) {
  .pagina-inicial .hero::after { background-position: 52% top; }
}

.botao-configurar {
  padding: 10px 14px;
  border: 1px solid #4c7fa3;
  border-radius: 5px;
  background: transparent;
  color: #c9d8e5;
  font-weight: 700;
  cursor: pointer;
}
.contatos-rodape-admin { display: grid; gap: 10px; }
.contato-rodape-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #344050;
  border-radius: 5px;
  background: #171c24;
  color: #e9edf2;
}
.contato-rodape-item button {
  padding: 6px 9px;
  border: 1px solid #d93236;
  border-radius: 4px;
  background: transparent;
  color: #f1787a;
  cursor: pointer;
}
.novo-contato-rodape { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 4px; }
.novo-contato-rodape input { min-width: 0; padding: 10px; border: 1px solid #3d4859; border-radius: 5px; background: #12161c; color: #eef0ee; }
.novo-contato-rodape button { padding: 10px 12px; border: 0; border-radius: 5px; background: #2d6d9b; color: #fff; font-weight: 700; cursor: pointer; }
@media (max-width: 700px) {
  .novo-contato-rodape { grid-template-columns: 1fr; }
  .botao-configurar { width: 100%; }
}

@media (max-width: 380px) {
  .pagina-inicial .hero::after { background-position: 48% top; }
}

.ml-acoes-topo .btn-carrinho {
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #344050;
  border-radius: 999px;
  background: #1a2029;
  color: #f5f7fa;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.ml-acoes-topo .btn-carrinho:hover { background: #252e3a; border-color: #596a80; }

.ml-acoes-topo .ml-selo-desconto {
  background: #d93236;
  color: #fff;
}

.ml-preco-atual { color: #fff; }
.ml-economia { margin: 0 0 12px; color: #e2393d; font-size: 14px; font-weight: 700; }
.ml-resumo-codigo { display: none; }
.ml-botoes .btn-ml { background: rgb(255, 241, 89); border-color: rgb(255, 241, 89); color: #17130a; }
.ml-botoes .btn-ml:hover { background: #ffe600; border-color: #ffe600; }

@media (max-width: 760px) {
  .ml-painel-cabecalho { gap: 8px; }
  .ml-acoes-topo-desktop { display: none; }
  .ml-acoes-topo-mobile { display: flex; }
  .ml-resumo-titulo { max-width: 155px; }
  .ml-resumo-titulo { font-size: 19px; font-weight: 800; }
  .ml-resumo-codigo { display: block; margin-top: 3px; color: #9eabba; font-size: 10px; }
  .ml-acoes-topo { gap: 6px; }
  .ml-acoes-topo .btn-carrinho { min-height: 38px; padding: 7px 10px; font-size: 11px; }
  .ml-acoes-topo .ml-selo-desconto { padding: 5px 6px; font-size: 11px; }
  .ml-preco-atual { font-size: 25px; }
  .ml-economia { margin-bottom: 8px; font-size: 12px; }
  .ml-botoes { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
  .ml-botoes .btn-carrinho { display: none; }
  .ml-botoes .btn-whats,
  .ml-botoes .btn-ml { min-height: 36px; font-size: 11px; }
}

.cabecalho-produto-resumo { display: none; }
.ml-titulo-apos-breadcrumb { display: none; }

@media (min-width: 761px) {
  .ml-painel-compra .ml-resumo-titulo {
    display: block !important;
    margin: 0 0 4px;
    color: #f5f7fa;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
  }
  .ml-painel-compra .ml-resumo-codigo { display: block; }
}

@media (max-width: 760px) {
  .pagina-peca { padding-top: 92px; }
  .cabecalho-produto-resumo {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 18px 10px;
    border-top: 1px solid #293240;
    color: #f4f6f8;
  }
  .cabecalho-produto-resumo strong { font-size: 17px; font-weight: 800; line-height: 1.15; }
  .cabecalho-produto-resumo span { color: #9eabba; font-size: 11px; }
  .pagina-peca .ml-produto-cabecalho { display: none; }
  .pagina-peca .ml-container { padding-bottom: 0; }
  .ml-titulo-apos-breadcrumb {
    display: block;
    margin: -3px 18px 14px;
  }
  .ml-titulo-apos-breadcrumb h1 {
    margin: 0;
    color: #f4f6f8;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
  }
  .ml-titulo-apos-breadcrumb p {
    margin: 3px 0 0;
    color: #9eabba;
    font-size: 11px;
  }
}

/* Correções finais do cabeçalho e da galeria mobile. */
.galeria-principal { position: relative; }

.galeria-seta {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 52px;
  padding: 0;
  border: 1px solid #3b4655;
  border-radius: 6px;
  background: rgba(12, 15, 20, .84);
  color: #eef0ee;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.galeria-seta:hover { border-color: #f2a71b; color: #f2a71b; }
.galeria-seta-anterior { left: 12px; }
.galeria-seta-proxima { right: 12px; }

.icone-lupa { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 760px) {
  .topo-header {
    min-height: 76px;
    align-items: center;
    padding: 10px 14px;
  }
  .logo-area {
    flex: 0 1 190px;
    width: 190px;
    min-width: 0;
    gap: 7px;
    justify-content: flex-start;
  }
  .logo-principal {
    width: 86px;
    height: 49px;
    flex: 0 0 86px;
    margin: 0;
    object-fit: contain;
  }
  .logo-frase {
    min-width: 0;
    margin: 0;
    padding-left: 7px;
    font-size: 9px;
    line-height: 1.18;
    white-space: normal;
  }
  .header-acoes { gap: 7px; }
  .header-busca-toggle {
    width: 32px;
    height: 34px;
    padding: 4px;
    transform: none;
  }
  .header-busca-toggle .icone-lupa { width: 23px; height: 23px; }
  .galeria-seta { width: 34px; height: 48px; font-size: 34px; }
  .galeria-seta-anterior { left: 8px; }
  .galeria-seta-proxima { right: 8px; }
}


/* Source: original-responsive.css */
/* Camada final de responsividade: desktop, tablet e celular. */

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

main {
  width: 100%;
  max-width: none;
  padding-inline: clamp(16px, 3vw, 32px);
}

.site-header {
  margin-inline: calc(clamp(16px, 3vw, 32px) * -1);
}

.topo-header {
  padding-inline: clamp(16px, 4vw, 56px);
}

.hero {
  min-height: clamp(320px, 34vw, 500px);
  padding-inline: clamp(20px, 8vw, 110px);
}

.hero h1 {
  max-width: 640px;
}

.catalogo-topo h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.card {
  min-width: 0;
}

.card img {
  width: 100%;
  height: clamp(165px, 16vw, 210px);
  object-fit: contain;
}

.produtos-linha .card {
  width: clamp(210px, 23vw, 250px);
}

.detalhe {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
}

.galeria, .info {
  min-width: 0;
}

.foto-principal {
  width: 100%;
  height: auto;
  min-height: 260px;
  max-height: min(66vw, 590px);
  object-fit: contain;
}

.specs td {
  overflow-wrap: anywhere;
}

.cartao, .login-cartao {
  width: 100%;
}

.campo input, .campo textarea, .campo select, .busca {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  .topo-header {
    gap: 14px;
  }

  .header-acoes {
    gap: 12px;
  }

  .nav-bar {
    gap: clamp(14px, 2.5vw, 28px);
    padding-inline: 20px;
  }

  .categorias-atalhos {
    grid-template-columns: repeat(4, 1fr);
  }

  .sobre-nos {
    gap: 40px;
  }
}

@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }

  main {
    padding-top: 16px;
    padding-bottom: 40px;
  }

  .site-header {
    margin-top: -16px;
    margin-bottom: 16px;
  }

  .topo-header {
    padding-block: 10px;
  }

  .logo-area {
    justify-content: flex-start;
  }

  .logo-principal {
    width: min(42vw, 170px);
  }

  .logo-frase {
    font-size: 12px;
  }

  .header-acoes {
    width: 100%;
    justify-content: flex-end;
  }

  .header-acoes .item {
    display: none;
  }

  .barra-carrinho {
    margin-left: auto;
  }

  .nav-bar {
    justify-content: flex-start;
    gap: 20px;
    padding: 12px 16px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav-bar::-webkit-scrollbar {
    display: none;
  }

  .dropdown-categorias {
    position: fixed;
    left: 16px;
    right: 16px;
    top: auto;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 440px;
    padding: 36px 20px 210px;
    margin-bottom: 36px;
  }

  .hero::after {
    width: 108%;
    height: 210px;
    right: -4%;
    top: auto;
    bottom: -12px;
    background-position: center bottom;
    opacity: .58;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero > p:not(.hero-sobrelinha) {
    font-size: 15px;
  }

  .busca-hero {
    width: 100%;
  }

  .busca-hero input {
    font-size: 13px;
  }

  .busca-hero button {
    min-width: 52px;
    padding-inline: 10px;
    font-size: 0;
  }

  .busca-hero button::after {
    content: '⌕';
    font-size: 25px;
    line-height: 1;
  }

  .categorias-atalhos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .categoria-atalho {
    min-height: 96px;
    padding: 14px;
  }

  .catalogo-topo {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-body {
    padding: 11px;
  }

  .card h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
  }

  .card img {
    height: 138px;
  }

  .carrossel-seta {
    display: none;
  }

  .produtos-linha {
    margin-inline: -16px;
    padding-inline: 16px;
    gap: 12px;
  }

  .produtos-linha .card {
    width: 205px;
  }

  .detalhe {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .foto-principal {
    min-height: 230px;
    max-height: 440px;
  }

  .miniaturas {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .miniaturas img {
    flex: 0 0 74px;
    height: 56px;
  }

  .info h1 {
    font-size: 25px;
  }

  .botoes {
    position: sticky;
    bottom: 0;
    padding: 12px;
    margin: 0 -4px;
    background: rgba(19, 22, 27, .96);
    backdrop-filter: blur(8px);
    border-top: 1px solid #2d3542;
  }

  .sobre-nos, .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding-top: 28px;
  }

  .carrinho {
    padding-inline: 16px;
  }

  .carrinho-item {
    align-items: flex-start;
    gap: 12px;
  }

  .carrinho-item button {
    flex: 0 0 auto;
  }

  .cartao {
    padding: 16px;
  }

  .lista-topo {
    align-items: stretch;
  }

  .lista-topo .botao-pequeno, .lista-topo .busca {
    width: 100%;
  }

  .filtros-categoria {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filtros-categoria button {
    flex: 0 0 auto;
  }

  .item-peca {
    align-items: flex-start;
  }

  .item-peca-meta {
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .logo-frase {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 190px;
  }

  .hero {
    min-height: 410px;
  }
}

/* Visual inspirado na referência: contraste escuro, vermelho e cards horizontais. */
.site-header {
  background: linear-gradient(105deg, #0b0c0f, #15191f);
}

.nav-bar {
  background: #1d232d;
}

.nav-bar > a:first-child {
  color: #e2393d;
  font-weight: 700;
  position: relative;
}

.nav-bar > a:first-child::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -14px;
  left: 0;
  height: 3px;
  background: #d93236;
}

.hero {
  background: #050607;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #050607 0%, rgba(5, 6, 7, .98) 45%, rgba(5, 6, 7, .84) 58%, rgba(5, 6, 7, .22) 78%, rgba(5, 6, 7, .08) 100%);
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero::after {
  z-index: 0;
  width: 72%;
  background-image: url('assets/hero-oficina-v3-opt-v1.webp');
  background-size: cover;
  background-position: center;
  opacity: 1;
  filter: none;
}

.hero-sobrelinha {
  color: #e2393d;
}

.busca-hero button,
.botao-contato {
  background: #dc3034;
}

.secao-categorias {
  padding: 30px 0 12px;
}

.secao-titulo {
  display: none;
}

.categorias-atalhos {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.categoria-atalho {
  min-height: 128px;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  text-align: center;
  background: transparent;
  border: 0;
}

.categoria-atalho span {
  color: #dd3438;
  font-size: 42px;
  line-height: 1;
}

.categoria-atalho strong {
  font-size: 15px;
}

.categoria-atalho small {
  color: #b6bdc7;
  font-size: 11px;
  line-height: 1.25;
}

.categoria-atalho:hover {
  background: rgba(220, 48, 52, .08);
  border-color: transparent;
}

.secao-destaques {
  padding: 18px 0 28px;
  margin-bottom: 24px;
}

.secao-destaques h2 {
  font-size: 22px;
}

.produtos-linha {
  gap: 14px;
}

.produtos-linha .card {
  display: grid;
  grid-template-columns: 42% 1fr;
  width: 370px;
  min-height: 174px;
  background: #2b3545;
  border-color: #59667a;
}

.produtos-linha .card img {
  width: 100%;
  height: 100%;
  min-height: 174px;
  object-fit: contain;
  background: #e6e3e0;
}

.produtos-linha .card-body {
  display: flex;
  flex-direction: column;
  padding: 13px 12px 12px;
}

.produtos-linha .card .categoria,
.produtos-linha .card .preco-antigo {
  display: none;
}

.produtos-linha .card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.produtos-linha .card .preco {
  color: #fff;
  margin: 0 0 6px;
}

.produtos-linha .card .condicao-card,
.produtos-linha .card .estoque {
  font-size: 12px;
  line-height: 1.25;
}

.produtos-linha .card-body::after {
  content: 'VER DETALHES';
  display: block;
  margin-top: auto;
  padding: 9px 8px;
  border-radius: 5px;
  background: #df3034;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
}

.sobre-nos {
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 22px;
  padding: 34px 28px;
  background: #202733;
  border: 0;
}

.sobre-nos h2 {
  font-size: 24px;
}

.sobre-apresentacao > p:last-child {
  color: #d5dae0;
  font-size: 13px;
  line-height: 1.55;
}

.depoimento {
  position: relative;
  min-height: 185px;
  padding: 24px 22px 18px;
  background: #344055;
  border-radius: 9px;
}

.aspas {
  position: absolute;
  top: -4px;
  left: 14px;
  color: #dc3034;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.estrelas {
  margin-left: 34px;
  color: #dc3034;
  letter-spacing: 2px;
}

.depoimento p {
  margin: 11px 0 17px;
  color: #fff;
  font-size: 13px;
  font-style: italic;
  line-height: 1.45;
}

.depoimento strong, .depoimento small {
  display: block;
}

.depoimento small {
  color: #c3cad4;
  margin-top: 2px;
}

.site-footer {
  padding-inline: 28px;
  padding-bottom: 26px;
  margin-top: 0;
  background: #15191f;
}

@media (max-width: 900px) {
  .categorias-atalhos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sobre-nos {
    grid-template-columns: 1fr 1fr;
  }

  .sobre-apresentacao {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .hero::after {
    width: 100%;
    height: 210px;
    bottom: 0;
    background-size: cover;
    background-position: 70% center;
    opacity: .8;
  }

  .nav-bar > a:first-child::after {
    bottom: -12px;
  }

  .categorias-atalhos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categoria-atalho {
    min-height: 112px;
  }

  .produtos-linha .card {
    grid-template-columns: 42% 1fr;
    width: 330px;
    min-height: 156px;
  }

  .produtos-linha .card img {
    min-height: 156px;
  }

  .sobre-nos {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }

  .sobre-apresentacao {
    grid-column: auto;
  }

  .site-footer {
    padding-inline: 18px;
  }
}

/* Cabeçalho e galeria da página da peça: prevalecem sobre as regras gerais. */
@media (max-width: 760px) {
  .topo-header {
    min-height: 76px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
  }
  .logo-area {
    flex: 0 1 190px;
    width: 190px;
    min-width: 0;
    gap: 7px;
    justify-content: flex-start;
  }
  .logo-principal {
    width: 86px;
    height: 49px;
    flex: 0 0 86px;
    margin: 0;
    object-fit: contain;
  }
  .logo-frase {
    min-width: 0;
    margin: 0;
    padding-left: 7px;
    font-size: 9px;
    line-height: 1.18;
    white-space: normal;
  }
  .header-acoes { width: auto; margin-left: auto; gap: 7px; }
  .header-busca-toggle { width: 32px; height: 34px; padding: 4px; transform: none; }
  .header-busca-toggle .icone-lupa { width: 23px; height: 23px; }
  .galeria-seta { width: 34px; height: 48px; font-size: 34px; }
  .galeria-seta-anterior { left: 8px; }
  .galeria-seta-proxima { right: 8px; }
}

/* Barra superior e resumo de compra sempre acessíveis durante a leitura mobile. */
.ml-resumo-titulo { display: none; }

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    margin: 0 0 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .38);
  }

  .ml-painel-compra {
    position: fixed !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    min-height: 0;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border: 1px solid #384352;
    border-radius: 0;
    background: rgba(23, 28, 36, .98);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .34);
  }

  .ml-painel-cabecalho {
    align-items: center;
    margin: 0 0 7px;
    padding: 0;
    border: 0;
  }

  .ml-resumo-titulo {
    display: -webkit-box;
    max-width: 250px;
    margin: 0;
    overflow: hidden;
    color: #f6f7f9;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ml-painel-cabecalho .ml-condicao-topo { display: none; }
  .ml-painel-cabecalho .ml-selo-desconto { font-size: 12px; padding: 5px 8px; }
  .ml-preco-bloco { margin: 0 0 6px; }
  .ml-preco-original { display: inline; margin-right: 5px; }
  .ml-preco-atual { display: inline; font-size: 25px; }
  .ml-disponibilidade { display: none; }
  .ml-compra-ajuda { display: none; }

  .ml-botoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 9px 0 0;
  }

  .ml-botoes .btn-carrinho,
  .ml-botoes .btn-whats,
  .ml-botoes .btn-ml {
    width: 100%;
    min-height: 36px;
    padding: 7px 6px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.15;
  }

  .ml-botoes .btn-carrinho { grid-column: 1 / -1; }
}

.carrossel-pausar {
  border: 1px solid #3b4553;
  border-radius: 12px;
  padding: 3px 10px;
  color: #eef0ee;
  background: #1c222a;
  cursor: pointer;
}

/* Catálogo compacto na tela do celular: mantém mais peças visíveis sem cartões altos. */
@media (max-width: 700px) {
  .carrossel-destaques {
    margin-bottom: 24px;
  }

  .carrossel-destaques-cabecalho {
    margin-bottom: 12px;
  }

  .carrossel-destaques-stage {
    gap: 5px;
  }

  .carrossel-destaques-grid {
    gap: 10px;
  }

  .carrossel-destaques-grid .card img {
    height: 112px;
  }

  .carrossel-destaques-grid .card-body {
    padding: 9px;
  }

  .carrossel-destaques-grid .card .categoria {
    font-size: 9px;
  }

  .carrossel-destaques-grid .card h3 {
    margin: 4px 0;
    font-size: 12px;
    -webkit-line-clamp: 1;
  }

  .carrossel-destaques-grid .card .preco-antigo {
    margin: 2px 0 0;
    font-size: 10px;
  }

  .carrossel-destaques-grid .card .preco {
    margin: 3px 0;
    font-size: 14px;
  }

  .carrossel-destaques-grid .card .condicao-card {
    display: none;
  }

  .carrossel-destaques-grid .card .estoque {
    margin: 0;
    font-size: 10px;
  }

  .carrossel-destaques-stage .carrossel-seta {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .pagina-inicial .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pagina-inicial .grid .card img {
    height: 120px;
  }

}

/* A troca automática do carrossel permanece visível no catálogo mobile. */
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .carrossel-destaques-grid {
    animation: carrossel-entrada-proxima 320ms ease-out both;
  }

  .carrossel-destaques-grid.carrossel-pagina-anterior {
    animation-name: carrossel-entrada-anterior;
  }
}

@media (min-width: 761px) {
  /* Remove o recuo legado para alinhar o botão do carrinho à direita do cabeçalho. */
  .barra-carrinho {
    margin-right: 0;
  }
}


/* Source: copy-overrides.css */
/* Apenas estados que no Next.js são controlados pela renderização React. */
.busca-header-mobile { display: none; }
.busca-header-mobile.aberta { display: flex; }
.pagina-peca { background: #13161b; }
.logo-principal { image-rendering: auto; }
.input-fotos-oculto { width: 1px !important; max-width: 1px !important; }
.pagina-inicial .card-selo { background: #c8282d; color: #fff; }
.pagina-inicial .carrossel-sobrelinha-rodape { margin: 15px 0 0; text-align: center; }

@media (max-width: 760px) {
  .busca-header-mobile { display: none; }
  .busca-header-mobile.aberta { display: flex; }
}
.admin-form-compat .field input:not([type="checkbox"]),
.admin-form-compat .field textarea,
.admin-form-compat .field select { width: 100%; padding: 10px 12px; border: 1px solid #2d3542; border-radius: 4px; background: #232a34; color: #eef0ee; font: inherit; }

/* Painel administrativo escolhido: resumo gerencial no desktop e cartões no mobile. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.admin-tabela-cabecalho,.item-peca { display: grid; grid-template-columns: 76px minmax(160px,1.45fr) minmax(105px,.75fr) minmax(100px,.72fr) 116px 196px; gap: 12px; align-items: center; }
.item-peca-foto-link { display: block; width: 62px; height: 62px; overflow: hidden; border: 1px solid transparent; border-radius: 6px; }
.item-peca-foto-link:hover { border-color: #f2a71b; }
.item-peca-foto-link:focus-visible { outline: 2px solid #f2a71b; outline-offset: 2px; }
.item-peca-preco { margin-top: 4px; color: #aeb9c8; font-size: 13px; }
.item-peca-precos { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
.item-peca-preco-botao:focus-visible { outline: 2px solid #f2a71b; outline-offset: 2px; }
.item-peca-categoria { width: max-content; max-width: 100%; padding: 5px 10px; overflow: hidden; border: 1px solid #34465e; border-radius: 14px; background: #202c3b; color: #cbd5e1; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.item-peca-codigo,.item-peca-estoque { color: #c5ceda; font-size: 13px; overflow-wrap: anywhere; }
.item-peca-estoque.sem-estoque { color: #ed5c62; font-weight: 700; }
.item-peca-estoque-controle { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; }
.estoque-ajuste { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; padding: 0; border: 1px solid #52637a; border-radius: 5px; background: #17202a; color: #f2a71b; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
.estoque-ajuste:hover:not(:disabled) { border-color: #f2a71b; background: rgba(242,167,27,.10); }
.estoque-ajuste:focus-visible { outline: 2px solid #f2a71b; outline-offset: 2px; }
.estoque-ajuste:disabled { opacity: .35; cursor: not-allowed; }
.admin-shell-dashboard .item-peca .estoque-ajuste.estoque-mais:hover:not(:disabled) { border-color: #3ed47f; background: #3ed47f; color: #06130b; }
.admin-shell-dashboard .item-peca .estoque-ajuste.estoque-menos:hover:not(:disabled) { border-color: #ff4d54; background: #ff4d54; color: #160305; }
.item-peca-estoque-controle .item-peca-estoque { white-space: nowrap; }
.item-peca-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.status-reservado { border-color: #2479d7; background: #1359a5; color: #fff; }
.status-aguardando_estoque,.status-pronto_avisar { border-color: #e29a11; background: rgba(226,154,17,.18); color: #ffc247; }
.status-pronto_avisar { border-color: #28b568; background: rgba(40,181,104,.16); color: #4adc8b; }
.status-em_separacao { border-color: #a66ce0; background: rgba(130,72,190,.20); color: #d1a8fa; }
.status-despachado,.status-entregue { border-color: #28b568; background: #157542; color: #fff; }
.status-cancelado { border-color: #ed3038; background: rgba(237,48,56,.18); color: #ff676e; }
.admin-pedidos-paginacao button:hover:not(:disabled),.admin-pedidos-paginacao button.ativo { border-color: #f2a71b; background: #f2a71b; color: #11151a; font-weight: 800; }
.admin-overview-card header > div > span:not(.admin-overview-bolt) { display: grid; gap: 3px; min-width: 0; }.admin-executive-bottom .admin-overview-card header>div>span:not(.admin-overview-bolt){display:grid;gap:3px}
.exec-header-icon{display:grid;place-items:center;width:22px;height:22px;color:#ed3038}.exec-header-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.admin-modal-acoes:has(> :only-child) { grid-template-columns: 1fr; }

@media (max-width: 1250px) and (min-width: 761px) {
  .admin-tabela-cabecalho,.item-peca { grid-template-columns: 62px minmax(110px,1fr) 82px 74px 100px 150px; gap: 7px; }
}

@media (max-width: 1400px) and (min-width: 1101px) {
  .admin-tabela-cabecalho,.item-peca { grid-template-columns: 68px minmax(120px,1fr) 82px 82px 104px 160px; gap: 8px; }
}

@media (max-width: 760px) {
  .item-peca-preco { font-size: 11px; }
  .item-peca-precos { gap: 6px; margin-top: 4px; }
  .item-peca-categoria { display: none; }
  .item-peca-codigo { display: none; }
  .item-peca-estoque-controle { grid-column: 2; grid-row: 2; justify-self: start; gap: 6px; }
  .item-peca-estoque { color: #f3f6fa; font-size: 13px; font-weight: 700; }
  .item-peca-acoes { grid-column: 3; grid-row: 1 / 3; grid-template-columns: minmax(78px,1fr) 58px; align-self: center; }
}

@media (max-width: 370px) {
  .item-peca-acoes { grid-template-columns: 72px 42px; gap: 4px; }
}
.admin-secao-cabecalho>button:not(.botao-principal){border:1px solid #3a4b5e;border-radius:5px;background:#182331;color:#eaf1f8;padding:10px 16px;cursor:pointer}
.admin-etiqueta-paginacao button:hover:not(:disabled),.admin-etiqueta-paginacao button.ativa{border-color:#f2a71b;background:#f2a71b;color:#17130a}
.campo input[readonly]{border-style:dashed;background:#171f29;color:#9eacbd;cursor:not-allowed}

/* Etapa 3 do ERP: localizações físicas das peças. */
.item-peca-codigo{display:flex;flex-direction:column;gap:4px}.item-peca-localizacao{color:#f2a71b;font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-peca-origem{color:#69aee9;font-size:9px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.item-peca-localizacao{display:none}}.item-peca-origem{white-space:normal;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:760px){.item-peca-origem{display:none}}
.gallery-photo { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; align-items: center; gap: 6px; }
.gallery-photo > img { grid-column: 2; grid-row: 1; width: 100%; height: min(40dvh,350px); object-fit: contain; background: #10171f; }
.gallery-photo > button { height: 48px; font-size: 30px; }
.gallery-photo > button:last-child { grid-column: 3; grid-row: 1; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; }
.gallery-thumbs button { flex: 0 0 58px; height: 58px; padding: 2px; }
.gallery-thumbs button[aria-pressed="true"] { border: 2px solid #ffb31c; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.gallery-info { overflow-wrap: anywhere; line-height: 1.5; }
.gallery-info > strong { color: #ffb31c; font-size: 25px; }
.gallery-info p { margin: 10px 0; white-space: pre-line; }
.gallery-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; gap: 12px; padding: 20px; background: #192532; border-bottom: 1px solid #314252; }
.gallery-header > div { flex: 1; min-width: 0; }
.gallery-header small { color: #92a8bf; font-size: 10px; letter-spacing: 1px; }
.gallery-body { padding: 18px; }
.gallery-photo { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #e8eaec; }
.gallery-photo > img { display: block; width: 100%; height: min(42dvh,380px); background: #e8eaec; }
.gallery-photo > button { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 44px; background: #14202bde; border-color: #ffffff33; border-radius: 10px; }
.gallery-photo > button:last-child { left: auto; right: 8px; }
.gallery-thumbs { justify-content: center; padding-bottom: 18px; }
.gallery-thumbs button { border-radius: 9px; overflow: hidden; }
.gallery-price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid #304252; }
.gallery-price-row > div { display: grid; }
.gallery-price-row s { color: #91a4b8; font-size: 12px; }
.gallery-price-row strong { font-size: 29px; color: #ffb31c; line-height: 1.3; }
.gallery-stock { padding: 6px 9px; border-radius: 7px; background: #1baf6520; color: #56dfa0; font-size: 11px; font-weight: 700; }
.gallery-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.gallery-tags span { padding: 4px 9px; border-radius: 20px; background: #243344; color: #b8cadd; font-size: 11px; }
.gallery-variations { margin: 0 0 12px; padding: 14px; border: 1px solid #304252; border-radius: 12px; background: #1a2633; }
.gallery-variations h3 { margin: 0 0 10px; }
.gallery-variations ul { margin: 0; padding: 0; list-style: none; }
.gallery-variations li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #304252; font-size: 12px; }
.gallery-variations li span { color: #dce7f3; overflow-wrap: anywhere; }
.gallery-variations li strong { color: #56dfa0; text-align: right; white-space: nowrap; }
.gallery-variations p { margin: 0; color: #91a4b8; font-size: 12px; }
@media (max-width: 480px) { .gallery-variations li { flex-wrap: wrap; gap: 4px; } .gallery-variations li strong { white-space: normal; } }
.gallery-location > span:nth-child(2) { display: grid; flex: 1; min-width: 0; gap: 3px; }
.gallery-location small,.gallery-origin small { color: #93a9bd; font-size: 10px; letter-spacing: .7px; }
.gallery-location b,.gallery-origin b { font-size: 14px; }
.gallery-location span span,.gallery-origin > span { color: #acbdd0; font-size: 12px; }
.gallery-location em { color: #ffbf46; font-size: 11px; font-style: normal; }
.gallery-detail-icon { font-size: 26px; color: #ffbf46; }
.gallery-origin { display: grid; gap: 3px; padding: 14px; margin: 10px 0 18px; border: 1px solid #304252; border-radius: 12px; background: #1a2633; }
.gallery-info h3 { margin: 0 0 8px; font-size: 14px; }
.gallery-description p { font-size: 13px; color: #b5c5d5; }
.gallery-specs { margin-top: 20px; }
.gallery-specs dl { margin: 0; }
.gallery-specs dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #2d3e50; font-size: 12px; }
.gallery-specs dt { color: #dce7f3; font-weight: 700; }.gallery-specs dd { margin: 0; text-align: center; font-weight: 700; }
@media(max-width:480px){.gallery-header{padding:16px}.gallery-body{padding:14px}}
.location-popup-photo { overflow: hidden; border-radius: 12px; background: #101821; }
.location-popup-photo { margin: 0; }
.location-popup-photo img { display: block; width: 100%; max-height: 40dvh; object-fit: contain; }
.location-popup-photo figcaption { padding: 9px 12px; color: #a9bed2; font-size: 11px; }
.location-popup-gallery { display: grid; gap: 10px; }
.location-popup-slide[hidden] { display: none; }
.location-popup-slide-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 11px 13px; border: 1px solid #40536a; border-radius: 9px; background: #1d2b39; }
.location-popup-slide-head span { padding: 5px 8px; border-radius: 6px; background: #f5aa20; color: #14212d; font-size: 11px; font-weight: 800; }
.location-popup-slide-head strong { min-width: 0; flex: 1 1 150px; overflow-wrap: anywhere; }
.location-popup-slide-head small { color: #b8ccde; white-space: nowrap; }
.location-popup-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.location-popup-gallery-controls button { padding: 9px 12px; border: 1px solid #60809e; border-radius: 7px; background: #213548; color: #fff; cursor: pointer; }
.location-popup-gallery-controls button:disabled { opacity: .45; cursor: not-allowed; }
.location-popup-gallery-controls span { color: #a9bed2; font-size: 11px; text-align: center; }
.location-popup-path { display: grid; gap: 5px; margin-top: 16px; padding: 13px; border: 1px solid #ad7b2d; border-radius: 8px; background: #e9a6220b; }
.location-popup-path small { color: #ffbf46; font-size: 10px; letter-spacing: .08em; }
.location-popup-path strong { overflow-wrap: anywhere; font-size: 15px; }
.location-popup-other-pieces { margin-top: 22px; }
.location-popup-other-pieces h3 { margin: 0 0 10px; font-size: 15px; }
.location-popup-other-pieces article { display: grid; grid-template-columns: 54px minmax(0,1fr); align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid #334456; }
.location-popup-other-pieces article img { width: 54px; height: 54px; object-fit: contain; border-radius: 6px; background: #e6e9ed; }
.location-popup-other-pieces article div { display: grid; gap: 4px; min-width: 0; }
.location-popup-other-pieces article strong { overflow-wrap: anywhere; font-size: 13px; }
.location-popup-other-pieces article small,.location-popup-other-pieces p { color: #a9bed2; font-size: 11px; }
.location-popup-empty { display: grid; justify-items: center; gap: 12px; padding: 30px 20px; text-align: center; color: #91a8be; border: 1px dashed #40536a; border-radius: 12px; font-size: 13px; }
.location-popup-empty > span { font-size: 36px; color: #ffb31c; }
.location-popup-status { display: inline-block; margin: 16px 0; padding: 6px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.location-popup-status.active { color: #64e7a1; background: #22b56e20; }
.location-popup-status.inactive { color: #ffb56e; background: #f7a53820; }
.location-popup-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.location-popup-metrics > div { display: grid; gap: 5px; padding: 14px; background: #1d2b39; border: 1px solid #34465a; border-radius: 10px; }
.location-popup-metrics strong { color: #ffbf46; font-size: 25px; }
.location-popup-metrics span { font-size: 11px; color: #a8bed3; }
.location-popup-fields,.location-popup-notes { margin-top: 22px; }
.location-popup-fields dl { margin: 0; }
.location-popup-fields dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #2e4052; font-size: 13px; }
.location-popup-fields dt { color: #95aac0; }.location-popup-fields dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.location-popup-notes p { margin: 0; color: #b2c5d8; font-size: 13px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.password-input-wrap { position: relative; display: block; width: 100%; }
.password-input-wrap > input { display: block; width: 100%; padding-right: 48px !important; }
.password-toggle { position: absolute; top: 50%; right: 5px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 4px; background: transparent; color: #aebed0; cursor: pointer; }
.password-toggle:hover { background: #344354; color: #fff; }
.password-toggle:focus-visible { outline: 2px solid #ffb31c; outline-offset: 1px; }
.password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-vendas-vendas .admin-venda-acoes > button:nth-child(3):not(:last-child) { grid-column: 2; grid-row: 2; }
.customer-popup-contact{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #354b60;border-radius:9px;background:#182837}
.customer-popup-contact>div{display:grid;gap:4px;min-width:0}
.customer-popup-contact small,.customer-popup-summary small{color:#9bb5ce;font-size:11px;text-transform:uppercase}
.customer-popup-contact strong{overflow-wrap:anywhere}
.customer-popup-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-popup-summary>div{display:grid;gap:6px;padding:14px;border:1px solid #354b60;border-radius:8px;background:#182331}
.customer-popup-summary strong{font-size:19px;color:#fff}
.customer-popup-details,.customer-popup-notes{padding:15px;border:1px solid #354b60;border-radius:8px;background:#172330}
.customer-popup-details h3,.customer-popup-notes h3{margin:0 0 12px;font-size:15px}
.customer-popup-details dl{display:grid;gap:0;margin:0}
.customer-popup-details dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid #304357}
.customer-popup-details dt{color:#a9bfd5;font-size:12px}
.customer-popup-details dd{margin:0;font-size:13px;font-weight:700;overflow-wrap:anywhere;white-space:pre-line}
.customer-popup-notes p{margin:0;color:#d6e1ed;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:480px){.customer-popup-details dl>div{grid-template-columns:1fr;gap:4px}}
.admin-pecas-paginacao button:hover:not(:disabled),.admin-pecas-paginacao button.ativa { border-color: #f2a71b; background: #f2a71b; color: #11151a; font-weight: 800; }
@media (max-width: 1499px) {
  body:has(.admin-pecas-editor.ativo) { overflow: hidden; }
}
.location-tree-child { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 1px solid #40536a; border-radius: 6px; background: #17222f; color: #fff; text-align: left; cursor: pointer; }
.location-tree-child strong { min-width: 0; overflow-wrap: anywhere; }
.location-tree-child>span:last-child { margin-left: auto; white-space: nowrap; }
.location-tree-thumb { display: grid; flex: 0 0 52px; place-items: center; width: 52px; height: 52px; object-fit: cover; border: 1px solid #40536a; border-radius: 6px; }
.location-tree-thumb-empty { background: #233446; font-size: 26px; }
.location-tree-child span { color: #abc2d8; }
.location-tree-detail { padding: 18px; border: 1px solid #40536a; border-radius: 8px; background: #17222f; }
.location-tree-detail h2,.location-tree-detail h3 { margin: 16px 0; }
.location-tree-detail small { display: block; color: #abc2d8; overflow-wrap: anywhere; }
.location-tree-photo,.location-tree-photo-preview { display: block; box-sizing: border-box; width: 100%; max-height: 280px; margin: 12px 0; object-fit: contain; border: 1px solid #40536a; border-radius: 8px; background: #101923; }
.location-tree-photo-preview[hidden] { display: none; }
.location-tree-no-photo { padding: 16px; border: 1px dashed #40536a; border-radius: 6px; color: #a9bed2; }
.location-tree-photo-form { margin: 18px 0; padding: 14px; border: 1px solid #40536a; border-radius: 8px; }
.location-tree-photo-form h3 { margin: 0; }
.location-tree-photo-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.location-tree-photo-actions>button { min-width: 0; padding: 10px; }
@media(max-width:480px){.location-tree-photo-actions { grid-template-columns: 1fr; }}
.location-tree-children,.location-tree-parts { display: grid; gap: 10px; margin: 16px 0; }
.location-tree-parts article { display: grid; grid-template-columns: 54px minmax(0,1fr); align-items: center; gap: 12px; padding: 12px; border: 1px solid #40536a; border-radius: 6px; }
.location-tree-parts img { width: 54px; height: 54px; object-fit: contain; }
.location-tree-detail form { display: grid; gap: 12px; }
.location-tree-detail label { display: grid; gap: 6px; min-width: 0; }
.location-tree-detail input,.location-tree-detail select { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px; background: #111923; color: #fff; border: 1px solid #40536a; border-radius: 5px; }
.location-tree-page{max-width:1440px;padding:clamp(18px,3vw,34px);background:linear-gradient(145deg,#162332,#111b26);box-shadow:0 24px 60px rgba(0,0,0,.13)}
.location-tree-page .admin-secao-cabecalho small,.location-tree-welcome>small,.location-tree-editor-head small{color:#f5aa20;font-size:11px;font-weight:800;letter-spacing:.12em}
.location-tree-flow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px;padding:12px 15px;border:1px solid #34495f;border-radius:10px;background:#111b27}
.location-tree-flow button{padding:8px 12px;border:1px solid #35516d;border-radius:999px;background:#203348;color:#e7f3ff;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.location-tree-flow button:hover,.location-tree-flow button:focus-visible{border-color:#f5aa20;background:#2a4054}.location-tree-flow button.ativa{border-color:#f5aa20;background:#f5aa20;color:#14212d}
.location-tree-flow b{color:#f5aa20;font-size:17px}
.location-tree-sidebar-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 10px 15px;border-bottom:1px solid #314255}
.location-tree-sidebar-title strong{color:#fff}.location-tree-sidebar-title small{color:#9eb6cb;font-size:11px}
.location-tree-page .location-tree-child{min-height:64px;border-radius:9px;background:#1b2b3b;transition:border-color .15s,background .15s,transform .15s}
.location-tree-page .location-tree-child:hover,.location-tree-page .location-tree-child:focus-visible{border-color:#f5aa20;background:#22374b;transform:translateY(-1px)}
.location-tree-main{min-width:0}.location-tree-welcome,.location-tree-editor,.location-tree-page .location-tree-detail{min-height:320px;box-sizing:border-box;border:1px solid #34495f;border-radius:11px;background:#172534;padding:clamp(18px,3vw,28px)}
.location-tree-welcome{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}.location-tree-welcome h2{max-width:650px;margin:0;font-size:clamp(22px,3vw,32px);line-height:1.18}.location-tree-welcome p{max-width:650px;margin:0;color:#aec3d8}.location-tree-welcome-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;background:#30445a;color:#ffb128;font-size:30px}.location-tree-steps{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.location-tree-steps span{padding:8px 10px;border:1px solid #40536a;border-radius:7px;color:#d6e7f5;font-size:12px}
.location-tree-empty{display:grid;gap:8px;padding:22px 12px;text-align:center;color:#a9bed2}.location-tree-empty>span{font-size:28px;color:#f5aa20}.location-tree-empty strong{color:#fff}.location-tree-empty p{margin:0;font-size:12px}
.location-tree-detail-head,.location-tree-sublevel,.location-tree-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.location-tree-detail-head h2,.location-tree-editor-head h2{margin:5px 0}.location-tree-level{display:inline-block;padding:5px 9px;border-radius:999px;background:#31445a;color:#ffd072;font-size:11px;font-weight:800}.location-tree-rename{padding:9px 12px;border:1px solid #6384a3;border-radius:7px;background:#21354a;color:#fff;cursor:pointer;white-space:nowrap}.location-tree-rename:hover{border-color:#f5aa20}.location-tree-sublevel{align-items:center;margin:24px 0 8px}.location-tree-sublevel h3{margin:0 0 4px}.location-tree-sublevel p{margin:0;color:#a9bed2;font-size:12px}.location-tree-editor-head p{color:#aac1d7;overflow-wrap:anywhere}.location-tree-editor-head>button{border:1px solid #496078;border-radius:7px;background:#213144;color:#fff;font-size:20px;cursor:pointer}.location-tree-editor input{box-sizing:border-box}.location-tree-editor-actions{display:flex;justify-content:flex-end;gap:8px}.location-tree-editor-actions>button{padding:10px 16px;border:1px solid #4a6077;border-radius:6px;background:#213144;color:#fff;cursor:pointer}.location-tree-editor-actions>.botao-principal{background:#f5aa20;color:#111}
.location-tree-name-list{display:grid;gap:10px}.location-tree-name-list label{display:grid;gap:5px;color:#aac0d8;font-size:12px;font-weight:700}.location-tree-extra-name{grid-template-columns:minmax(0,1fr) auto;align-items:end}.location-tree-extra-name input{grid-column:1}.location-tree-extra-name button{grid-column:2;grid-row:2;min-height:42px;padding:0 12px;border:1px solid #b34753;border-radius:5px;background:#2c242c;color:#ff919a;cursor:pointer}.location-tree-add-name{align-self:flex-start;padding:10px 13px;border:1px dashed #f5aa20;border-radius:6px;background:#263542;color:#ffd072;font-weight:700;cursor:pointer}.location-tree-batch-hint{color:#9eb6cb}.location-tree-create-photo[hidden]{display:none}
.location-tree-editor select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #3c5065;border-radius:5px;background:#222d39;color:#fff;font:inherit}.location-tree-editor label>small{color:#9eb6cb;font-weight:400}
.location-tree-stage-panel{min-height:320px;box-sizing:border-box;padding:clamp(18px,3vw,28px);border:1px solid #34495f;border-radius:11px;background:#172534}.location-tree-stage-panel>small{color:#f5aa20;font-size:11px;font-weight:800;letter-spacing:.12em}.location-tree-stage-panel h2{margin:7px 0}.location-tree-stage-panel>p{color:#aac1d7}.location-tree-stage-list{display:grid;gap:10px;margin:20px 0}.location-tree-stage-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #3c5168;border-radius:9px;background:#1b2b3b}.location-tree-stage-item>div:first-child{display:grid;gap:4px;min-width:0}.location-tree-stage-item strong{overflow-wrap:anywhere}.location-tree-stage-item small{color:#9db6cb;overflow-wrap:anywhere}.location-tree-stage-item span{color:#bed0df;font-size:12px}.location-tree-stage-actions{display:flex;flex-wrap:wrap;gap:7px}.location-tree-stage-actions button{padding:8px 11px;border:1px solid #6182a1;border-radius:6px;background:#23384b;color:#fff;cursor:pointer}.location-tree-stage-actions button:last-child{border-color:#f5aa20;color:#ffd072}.location-tree-stage-actions button:hover{filter:brightness(1.15)}
.location-tree-stage-create{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0;padding:15px;border:1px solid #3c5168;border-radius:9px;background:#1b2b3b}.location-tree-stage-create label{display:grid;gap:6px;flex:1 1 240px;color:#b8cee1;font-size:12px;font-weight:700}.location-tree-stage-create select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #4a6077;border-radius:6px;background:#222f3e;color:#fff;font:inherit}.location-tree-stage-create p{flex-basis:100%;margin:0;color:#b8cee1;font-size:12px}.location-tree-stage-create .botao-principal:disabled{opacity:.55;cursor:not-allowed}.location-tree-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.location-tree-stage-actions .location-tree-delete,.location-tree-detail-actions .location-tree-delete{padding:9px 12px;border:1px solid #bc5963;border-radius:7px;background:#30252c;color:#ffabb2;cursor:pointer}.location-tree-stage-actions .location-tree-delete:disabled,.location-tree-detail-actions .location-tree-delete:disabled{opacity:.5;cursor:not-allowed}.location-tree-legacy-note{padding:12px 14px;border-left:3px solid #f5aa20;border-radius:5px;background:#243446;color:#d9e9f5}
.location-tree-stage-actions button:nth-child(2){border-color:#f5aa20;color:#ffd072}.location-tree-stage-actions button:last-child{border-color:#bc5963;color:#ffabb2}
@media(max-width:850px){.location-tree-flow{gap:5px}.location-tree-flow button{font-size:11px;padding:6px 8px}}
@media(max-width:550px){.location-tree-page .admin-secao-cabecalho,.location-tree-detail-head,.location-tree-sublevel,.location-tree-stage-item{flex-direction:column;align-items:stretch}.location-tree-flow{overflow-x:auto;flex-wrap:nowrap}.location-tree-flow button,.location-tree-flow b{flex:0 0 auto}.location-tree-steps span{font-size:11px}.location-tree-editor-actions{flex-direction:column}}
@media (max-width: 1499px) {
  body:has(.admin-responsive-open) { overflow: hidden; }
}
.catalogo-paginacao { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:24px 12px; }
.catalogo-paginacao a,.catalogo-paginacao>span { display:grid; place-items:center; min-width:38px; min-height:42px; padding:6px; }
.catalogo-paginacao a { border:1px solid #526c85; border-radius:5px; color:#fff; text-decoration:none; }
.catalogo-paginacao a[aria-current="page"] { background:#f2a71b; color:#111; font-weight:bold; }.admin-ml-form-area .admin-ml-vincular>label:has(textarea){grid-column:1/-1}
@media(max-width:760px){.admin-ml-form-area .admin-ml-vincular>div:first-child,.admin-ml-form-area .admin-ml-vincular>p,.admin-ml-form-area .admin-ml-vincular>fieldset,.admin-ml-form-area .admin-ml-vincular>button,.admin-ml-form-area .admin-ml-vincular>#mlRequiredAttributes,.admin-ml-form-area .admin-ml-vincular>#mlSaleTerms,.admin-ml-form-area .admin-ml-vincular>#adminMlMessage,.admin-ml-form-area .admin-ml-vincular>#mlPublishMessage,.admin-ml-form-area .admin-ml-vincular>label:has(textarea){grid-column:1}}
.admin-ml-category-suggestions:not([hidden]){display:grid;grid-column:1/-1;gap:7px}.admin-ml-wizard-panel>.admin-ml-wizard-title,.admin-ml-wizard-panel>#mlPartSummary,.admin-ml-wizard-panel>#mlCategorySuggestions,.admin-ml-wizard-panel>#mlCategoryInfo,.admin-ml-wizard-panel>#mlRequiredAttributes,.admin-ml-wizard-panel>#mlSaleTerms,.admin-ml-wizard-panel>.admin-ml-fotos,.admin-ml-wizard-panel>.admin-ml-shipping,.admin-ml-wizard-panel>.admin-ml-wizard-actions,.admin-ml-wizard-panel>#mlPublishMessage,.admin-ml-wizard-panel>label:has(textarea){grid-column:1/-1}
@media(max-width:760px){.admin-ml-wizard-panel>.admin-ml-wizard-title,.admin-ml-wizard-panel>#mlPartSummary,.admin-ml-wizard-panel>#mlCategorySuggestions,.admin-ml-wizard-panel>#mlCategoryInfo,.admin-ml-wizard-panel>#mlRequiredAttributes,.admin-ml-wizard-panel>#mlSaleTerms,.admin-ml-wizard-panel>.admin-ml-fotos,.admin-ml-wizard-panel>.admin-ml-shipping,.admin-ml-wizard-panel>.admin-ml-wizard-actions,.admin-ml-wizard-panel>#mlPublishMessage,.admin-ml-wizard-panel>label:has(textarea){grid-column:1}}
#mlCostPreview,#mlShippingPreview{display:grid;gap:5px;padding:12px;border-radius:6px;background:#1b2b3a;color:#dce8f4;font-size:13px}
#mlCostPreview strong,#mlShippingPreview strong{font-size:16px;color:#ffd166}
#mlCostPreview small,#mlShippingPreview small{color:#a9bdd2;font-size:11px}
.admin-ml-wizard .admin-ml-shipping label:has(input:checked){border-color:#f5aa17;background:#242718}
.admin-form-secao > .campo:has(> #adminSpecs){margin-top:24px;padding-top:18px;border-top:1px solid #344050}

/* Sobre nós: imagem e história, com o conteúdo completo em blocos legíveis. */
.sobre-pagina-container{width:min(1200px,calc(100% - 48px));margin:0 auto 64px}
.sobre-breadcrumb{display:flex;align-items:center;gap:10px;padding-top:30px;color:#a9bdd2;font-size:13px}
.sobre-breadcrumb a{color:#a9bdd2;text-decoration:none}.sobre-breadcrumb a:hover{color:#f2a71b}
.pagina-sobre .sobre-nos{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;max-width:none;margin:0;padding:38px 0 0;border:0;background:transparent}
.sobre-intro{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(24px,4vw,54px);align-items:center;min-width:0}
.sobre-imagem{height:100%;min-height:360px;overflow:hidden;border:1px solid #344050;border-radius:12px;background:#10151d}
.sobre-imagem img{display:block;width:100%;height:100%;object-fit:cover;object-position:65% center}
.sobre-intro .sobre-texto{min-width:0}
.sobre-intro .sobre-texto h2{margin:4px 0 20px;font-size:clamp(29px,3.7vw,46px);line-height:1.12;color:#fff}
.sobre-nos .sobrelinha{margin:0;color:#f2a71b;font-size:12px;font-weight:800;letter-spacing:.12em}
.sobre-nos p,.sobre-nos li{color:#c9cfd6;line-height:1.7}
.sobre-nos h3{margin:0 0 12px;color:#fff;font-size:21px}
.sobre-pilares,.sobre-detalhes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sobre-pilares article,.sobre-detalhes>div{padding:25px;border:1px solid #344050;border-radius:10px;background:#1b222c}
.sobre-pilares p{margin:0}
.sobre-detalhes ul{display:grid;gap:13px;margin:0;padding-left:20px}
.sobre-detalhes li::marker{color:#f2a71b}
.sobre-detalhes strong{color:#fff}
.sobre-convite{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:25px 28px;border:1px solid #625021;border-radius:10px;background:#27251f}
.sobre-convite p{max-width:760px;margin:0}
.sobre-convite .botao-contato{flex:none}
@media(max-width:760px){.sobre-pagina-container{width:calc(100% - 28px);margin-bottom:42px}.sobre-breadcrumb{padding-top:20px}.pagina-sobre .sobre-nos{padding-top:26px}.sobre-intro,.sobre-pilares,.sobre-detalhes{grid-template-columns:1fr}.sobre-imagem{min-height:240px;max-height:360px}.sobre-pilares article,.sobre-detalhes>div{padding:20px}.sobre-convite{display:grid;padding:20px}.sobre-convite .botao-contato{justify-self:start}}

/* Página de ofertas: todos os destaques, sem alterar o carrossel da home. */
.ofertas-pagina-container{width:min(1200px,calc(100% - 48px));margin:0 auto 64px}
.ofertas-pagina-cabecalho{padding:32px 0 26px}
.ofertas-pagina-cabecalho h1{margin:6px 0 10px;color:#fff;font-size:clamp(30px,4vw,46px)}
.ofertas-pagina-cabecalho>p:last-child{margin:0;color:#a9bdd2;line-height:1.5}
.ofertas-pagina-grid{padding-bottom:10px}
@media(max-width:760px){.ofertas-pagina-container{width:calc(100% - 28px);margin-bottom:42px}.ofertas-pagina-cabecalho{padding:25px 0 20px}}

/* Destaque do menu acompanha a rota atual. */
.nav-bar > a:first-child:not(.ativo){color:#8c96a3;font-weight:600}
.nav-bar > a:first-child:not(.ativo)::after{content:none}
.nav-bar > a.ativo,.nav-bar .nav-cat-btn.ativo{position:relative;color:#e2393d;font-weight:700}
.nav-bar > a.ativo::after,.nav-bar .nav-cat-btn.ativo::after{content:'';position:absolute;right:0;bottom:-14px;left:0;height:3px;background:#d93236}
.dropdown-categorias a.ativo,.menu-lateral a.ativo,.menu-lateral .menu-lateral-titulo.ativo{color:#e2393d;font-weight:700}
@media(max-width:760px){.nav-bar > a.ativo::after,.nav-bar .nav-cat-btn.ativo::after{bottom:-12px}}

/* Rodapé: versículo, contatos, catálogo e mapa nas posições indicadas. */
.site-footer{grid-template-columns:minmax(220px,1fr) minmax(160px,210px) minmax(155px,210px) 220px;gap:32px}
.footer-logo-col,.footer-contatos-col,.footer-links-col,.footer-mapa-col{min-width:0}
.footer-logo-col{max-width:350px}
.footer-versiculo{margin:18px 0 0;padding:0 0 0 13px;border-left:3px solid #d93236}
.site-footer .footer-versiculo p{margin:0 0 7px;color:#d5dae0;line-height:1.55}
.footer-versiculo cite{color:#f2a71b;font-size:12px;font-style:normal;font-weight:700}
.footer-contatos-col .footer-whats{display:block!important;width:fit-content;overflow-wrap:anywhere}
@media(max-width:980px){.site-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.footer-logo-col{grid-column:1/-1}.footer-contatos-col{grid-column:1}.footer-links-col{grid-column:2}.footer-mapa-col{grid-column:1/-1;justify-self:start}}
@media(max-width:560px){.site-footer{grid-template-columns:1fr;gap:26px}.footer-logo-col,.footer-contatos-col,.footer-links-col,.footer-mapa-col{grid-column:1}}

/* Convite para o canal do WhatsApp na página inicial. */
.pagina-inicial > .canal-whatsapp-card{margin-bottom:48px;border-radius:14px;overflow:hidden}
.canal-whatsapp-card .botao-contato{background:#25d366;color:#10251a}
.canal-whatsapp-card .botao-contato:hover{background:#36e477}
.canal-whatsapp-card .canal-whatsapp-em-breve{margin:10px 0 0;color:#a9bdd2;font-size:12px}
@media(max-width:760px){.pagina-inicial > .canal-whatsapp-card{margin-bottom:32px;border-radius:12px}}

/* Encerra a página inicial junto ao rodapé, sem faixa vazia abaixo. */
.pagina-inicial{padding-bottom:0}
.site-footer .logo-rodape{width:150px;margin:0 0 10px}
.site-footer .footer-logo-col>p{font-size:15px;line-height:1.55}
.site-footer .footer-versiculo p{font-size:14.5px;line-height:1.65}
.site-footer .footer-versiculo cite{font-size:13px}
.admin-ml-edit-section:has(>.admin-ml-vehicles[hidden])>button[onclick*="adminMlVehicleSaveEdit"]{display:none}
.admin-ml-editar .admin-ml-edit-section:has(>.admin-ml-vehicles[hidden]){display:none}
@media(min-width:761px){
  .admin-ml-results-horizontal:not([hidden]){display:grid;gap:5px;margin-top:8px;color:#aac0d6;font-size:11px}
}

/* Mantém a galeria da peça estável ao alternar fotos no celular. */
@media(max-width:760px){
  .pagina-peca .galeria-principal{height:clamp(280px,68vw,440px);min-height:0;max-height:none;overflow:hidden}
  .pagina-peca .foto-principal-ml{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}
}
/* Contato público e atendimento por e-mail */
.contato-pagina{padding-top:clamp(32px,5vw,72px);padding-bottom:80px}
.contato-intro{max-width:700px;margin-bottom:30px}.contato-intro h1{font-size:clamp(30px,4vw,50px);margin:8px 0 12px}.contato-intro p:last-child{color:#9eb2c7;line-height:1.6}
.contato-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.7fr);gap:24px;align-items:start}
.contato-form,.contato-canais{background:#172331;border:1px solid #344a60;border-radius:14px;padding:clamp(20px,3vw,34px)}
.contato-form h2,.contato-canais h2{margin:0 0 24px}.contato-form label{display:flex;flex-direction:column;gap:8px;color:#c8d8e8;font-weight:600;font-size:14px;margin-bottom:18px}.contato-form input,.contato-form select,.contato-form textarea,.email-admin input,.email-admin textarea{width:100%;min-width:0;background:#202e3d;border:1px solid #496078;color:#fff;border-radius:6px;padding:12px;font:inherit}.contato-form textarea,.email-admin textarea{resize:vertical}.contato-form input:focus,.contato-form select:focus,.contato-form textarea:focus,.email-admin input:focus,.email-admin textarea:focus{outline:2px solid #f3a714;outline-offset:1px}.contato-duas-colunas{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contato-armadilha{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.contato-privacidade{font-size:13px;color:#a2b7ca}.contato-form .botao-principal{min-width:180px}.contato-canais p{color:#aac0d3;line-height:1.5}.contato-canais a{display:block;color:#ffc347;padding:12px 0;overflow-wrap:anywhere}
.email-admin{max-width:1500px}.email-workspace{display:grid;grid-template-columns:minmax(260px,350px) minmax(0,1fr);gap:18px;align-items:start}.email-list,.email-detail,.email-settings{background:#142130;border:1px solid #37506a;border-radius:10px}.email-list{max-height:70vh;overflow-y:auto}.email-list h3{margin:0;padding:13px 16px;background:#1d3042;border-bottom:1px solid #37506a;font-size:14px}.email-list h3 span{float:right;color:#f3ae18}.email-item{display:flex;flex-direction:column;width:100%;text-align:left;gap:6px;padding:13px 16px;border:0;border-bottom:1px solid #31465c;background:transparent;color:#e5eff9;cursor:pointer;overflow-wrap:anywhere}.email-item:hover,.email-item.ativo{background:#24394d}.email-item-top{display:flex;justify-content:space-between;gap:10px}.email-item-top small{white-space:nowrap}.email-item small,.email-detail-head small{color:#a6bfd5}.email-detail{min-height:420px;padding:clamp(16px,2.5vw,28px)}.email-detail-head{border-bottom:1px solid #37506a;padding-bottom:14px}.email-detail-head h2{font-size:22px;margin:8px 0}.email-detail-head p{margin:0;color:#b2c6d8;overflow-wrap:anywhere}.email-body{padding:24px 0;line-height:1.65;white-space:normal;overflow-wrap:anywhere}.email-previous-reply{border-top:1px solid #37506a;padding:16px 0;white-space:pre-wrap}.email-reply{border-top:1px solid #37506a;padding-top:20px}.email-reply h3{font-size:16px}.email-reply textarea{margin-bottom:12px}.email-empty{color:#a3b9cb;padding:12px 16px}.email-detail-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.email-settings{margin-top:18px;padding:18px}.email-settings summary{cursor:pointer;font-weight:700}.email-settings form{display:grid;gap:14px;max-width:560px;margin-top:16px}.email-settings label{display:grid;gap:6px}.email-settings .botao-principal{justify-self:start}
@media(max-width:900px){.contato-layout,.email-workspace{grid-template-columns:1fr}}
@media(min-width:701px) and (max-width:1100px){.site-header,.topo-header,.nav-bar{max-width:100%;min-width:0}.nav-bar{overflow-x:auto;justify-content:flex-start}.topo-header{overflow:hidden}}
.site-header,.topo-header,.nav-bar{max-width:100%;box-sizing:border-box}
@media(max-width:760px){.contato-duas-colunas{grid-template-columns:1fr}.contato-pagina{padding-bottom:40px}.email-list{max-height:360px}.email-detail{min-height:300px}.email-item-top{flex-wrap:wrap}}
@media(min-width:761px){
  .pagina-inicial .site-header{width:calc(100% + 2 * clamp(16px,3vw,32px));max-width:none;margin-bottom:0}
  .pagina-inicial .hero{margin-left:calc(clamp(16px,3vw,32px) * -1);margin-right:calc(clamp(16px,3vw,32px) * -1);border-left:0;border-right:0;border-radius:0}
}
/* Mantém logo, busca e ações da página da peça na mesma linha em notebooks. */
@media(min-width:761px) and (max-width:1500px){
  .pagina-peca .topo-header{flex-wrap:nowrap;justify-content:space-between;gap:18px}
  .pagina-peca .logo-area{flex:0 1 365px;min-width:0}
  .pagina-peca .logo-principal{width:clamp(126px,11vw,155px);margin-left:0;flex:none}
  .pagina-peca .logo-frase{margin-left:16px;padding-left:16px;font-size:clamp(12px,1vw,14px);line-height:1.55}
  .pagina-peca .busca-header:not(.busca-header-mobile){flex:1 1 330px;max-width:460px;min-width:190px;margin:0}
  .pagina-peca .header-acoes{flex:0 0 auto;gap:12px;font-size:15px}
  .pagina-peca .barra-carrinho{margin-right:0;padding:12px 16px;font-size:15px}
}
@media(min-width:761px) and (max-width:1100px){
  .pagina-peca .logo-area{flex:0 0 auto}
  .pagina-peca .logo-frase{display:none}
}
/* Cabeçalho compacto em todas as páginas públicas e banner menos alto. */
@media(min-width:761px){
  .pagina-inicial .topo-header,.pagina-peca .topo-header,.shell .topo-header{padding-top:8px;padding-bottom:8px}
  .pagina-inicial .logo-principal,.pagina-peca .logo-principal,.shell .logo-principal{width:clamp(108px,10.5vw,145px);height:auto;margin-left:0}
  .pagina-inicial .logo-frase,.pagina-peca .logo-frase,.shell .logo-frase{margin-left:14px;padding-left:14px;font-size:clamp(11px,.92vw,13px);line-height:1.4}
  .pagina-inicial .logo-area,.shell .logo-area{flex:0 1 auto;min-width:0}
  .pagina-inicial .header-acoes,.pagina-peca .header-acoes,.shell .header-acoes{gap:10px}
  .pagina-inicial .barra-carrinho,.pagina-peca .barra-carrinho,.shell .barra-carrinho{margin-right:0;padding:9px 14px;font-size:14px}
  .pagina-inicial .nav-bar,.pagina-peca .nav-bar,.shell .nav-bar{padding-top:12px;padding-bottom:12px}
  .pagina-inicial .hero{min-height:clamp(390px,30vw,460px);padding-top:40px;padding-bottom:40px}
  .pagina-inicial .hero > *{transform:translateY(-10px)}
}
/* Chamada da vitrine menor e mais próxima do topo do banner. */
@media(min-width:761px){
  .pagina-inicial .hero{justify-content:flex-start;padding-top:clamp(34px,3.5vw,48px)}
  .pagina-inicial .hero > *{transform:none}
  .pagina-inicial .hero-sobrelinha{font-size:clamp(10px,.75vw,11px);letter-spacing:.12em}
  .pagina-inicial .hero h1{font-size:clamp(18px,2.15vw,29px);line-height:1.12;max-width:660px}
}
@media(max-width:760px){
  .pagina-inicial .hero-sobrelinha{font-size:10px}
  .pagina-inicial .hero h1{font-size:clamp(18px,5vw,20px)}
}
/* Menu reto e banner sem a faixa vazia no rodapé. */
@media(min-width:761px){
  .pagina-inicial .site-header,.pagina-inicial .nav-bar{border-radius:0}
  .pagina-inicial .hero{min-height:clamp(320px,25vw,390px)}
}
/* A página da peça usa o mesmo cabeçalho de ponta a ponta da vitrine. */
@media(min-width:761px){
  .pagina-peca .site-header{width:calc(100% + 2 * clamp(16px,3vw,32px));max-width:none;border-radius:0}
  .pagina-peca .nav-bar{border-radius:0}
}
/* Contato tem um contêiner diferente; remove o recuo herdado do cabeçalho. */
@media(min-width:761px){
  .shell .site-header{width:100%;max-width:none;margin:0;border-radius:0}
  .shell .nav-bar{border-radius:0}
}
/* Busca de peças em Ofertas, Sobre nós e Contato, como na ficha da peça. */
@media(min-width:761px){
  .pagina-ofertas .topo-header,.pagina-sobre .topo-header,.shell .topo-header{flex-wrap:nowrap;justify-content:space-between;gap:18px}
  .pagina-ofertas .logo-area,.pagina-sobre .logo-area,.shell .logo-area{flex:0 1 365px;min-width:0}
  .pagina-ofertas .busca-header:not(.busca-header-mobile),.pagina-sobre .busca-header:not(.busca-header-mobile),.shell .busca-header:not(.busca-header-mobile){flex:1 1 330px;max-width:460px;min-width:190px;margin:0}
  .pagina-ofertas .header-acoes,.pagina-sobre .header-acoes,.shell .header-acoes{flex:0 0 auto}
}
@media(min-width:761px) and (max-width:1100px){
  .pagina-ofertas .logo-area,.pagina-sobre .logo-area,.shell .logo-area{flex:0 0 auto}
  .pagina-ofertas .logo-frase,.pagina-sobre .logo-frase,.shell .logo-frase{display:none}
}
/* Uma medida única para a busca de todos os cabeçalhos do catálogo. */
@media(min-width:761px){
  .topo-header{position:relative}
  .topo-header > .busca-header:not(.busca-header-mobile){position:absolute;top:50%;left:50%;width:min(460px,calc(100% - 330px));min-width:0;max-width:460px;flex:none;margin:0;transform:translate(-50%,-50%)}
}

/* Rodapé de ponta a ponta e redes sociais configuráveis. */
html:has(.site-footer){scrollbar-width:none}
html:has(.site-footer)::-webkit-scrollbar{display:none}
.site-footer{grid-template-columns:minmax(215px,1.35fr) minmax(135px,.72fr) minmax(150px,.8fr) minmax(145px,.72fr) 220px;gap:clamp(18px,2vw,32px)}
.footer-sociais-col{min-width:0}
.footer-sociais-lista{display:flex;flex-wrap:wrap;align-items:flex-start;gap:15px 18px}
.site-footer .footer-social{display:inline-flex;width:max-content;min-width:max-content;flex:0 0 auto;flex-direction:column;align-items:center;gap:7px;margin:0;color:#e3373d;text-align:center;line-height:1.2;overflow-wrap:normal}
.site-footer .footer-social:hover{color:#ff575c}
.footer-social svg{display:block;flex:none;color:inherit}
.footer-social span{font-size:12px;white-space:nowrap}
.footer-sociais-vazio{color:#8c96a3;font-size:13px}
.pagina-inicial>.site-footer,.pagina-peca>.site-footer,.pagina-inicial>.footer-copy,.pagina-peca>.footer-copy{width:calc(100% + 2 * clamp(16px,3vw,32px));margin-left:calc(clamp(16px,3vw,32px) * -1);margin-right:calc(clamp(16px,3vw,32px) * -1)}
@media(max-width:1100px){.site-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.footer-logo-col,.footer-sociais-col,.footer-contatos-col,.footer-links-col,.footer-mapa-col{grid-column:auto}.footer-mapa-col{justify-self:start}}
@media(max-width:560px){.site-footer{grid-template-columns:minmax(0,1fr);gap:24px}.footer-logo-col,.footer-sociais-col,.footer-contatos-col,.footer-links-col,.footer-mapa-col{grid-column:1}.footer-sociais-lista{gap:18px}}

/* O cabeçalho fixo não deve cobrir o título da página Contato no celular. */
@media(max-width:760px){
  .shell .contato-pagina{padding-top:96px;padding-bottom:40px}
  .shell .contato-intro{margin-bottom:22px}
  .shell .contato-intro h1{font-size:clamp(26px,7vw,32px);line-height:1.12}
  .shell .contato-form,.shell .contato-canais{padding:20px}
  .shell .contato-form h2{margin-bottom:20px}
  .shell .contato-form .contato-duas-colunas{gap:0}
  .shell .contato-form label{margin-bottom:16px}
  .shell .contato-form textarea{min-height:130px}
}

/* Sobre nós e Ofertas usam a lupa mobile da ficha da peça. */
@media(max-width:760px){
  .pagina-inicial:is(.pagina-sobre,.pagina-ofertas) .header-busca-toggle{display:inline-flex;position:absolute;top:11px;right:52px;order:3;width:34px;height:40px;padding:4px;transform:none}
  .pagina-inicial:is(.pagina-sobre,.pagina-ofertas) .barra-carrinho{position:absolute;top:11px;right:8px;order:4;width:38px;height:40px}
}

/* Sete atalhos de categorias, sem deixar "Outros" isolado na lateral. */
@media(min-width:901px){.pagina-inicial .categorias-atalhos{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:900px){.pagina-inicial .categorias-atalhos>.categoria-atalho:last-child{grid-column:2}}
/* Atualizações em segundo plano: aviso apenas quando há edição não salva. */
.garage-live-notice{position:fixed;z-index:100000;right:18px;bottom:18px;max-width:min(420px,calc(100vw - 36px));display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #f5a500;border-radius:10px;background:#172331;color:#fff;box-shadow:0 10px 32px #0008;font:600 13px/1.4 Arial,sans-serif}
.garage-live-notice button{flex:none;padding:9px 12px;border:0;border-radius:6px;background:#f5a500;color:#101820;font:700 12px Arial,sans-serif;cursor:pointer}
.garage-live-notice{padding-right:48px}
.garage-live-notice .garage-live-close{position:absolute;right:6px;top:6px;width:36px;height:36px;padding:0;background:transparent;color:#fff;font:24px/1 Arial,sans-serif}
.garage-live-notice .garage-live-close:hover{background:#ffffff18}
.garage-live-notice .garage-live-close:focus-visible{outline:2px solid #f5a500;outline-offset:1px}
@media(max-width:600px){.garage-live-notice{left:12px;right:12px;bottom:12px;max-width:none;flex-direction:column;align-items:stretch}.garage-live-notice button{width:100%}}
@media(max-width:600px){.garage-live-notice .garage-live-close{width:36px}}

/* Contato mobile: mesma composição compacta de Sobre nós e Ofertas. */
@media(max-width:760px){
  .shell:has(>.contato-pagina) .site-header{position:fixed;top:0;left:0;right:0;width:100%;height:62px;max-width:none;margin:0;border-radius:0;z-index:80}
  .shell:has(>.contato-pagina) .topo-header{height:62px;min-height:62px;position:relative;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:7px;padding:7px 12px}
  .shell:has(>.contato-pagina) .header-acoes{display:contents}
  .shell:has(>.contato-pagina) .logo-area{position:absolute;left:50%;order:2;flex:0 0 auto;width:auto;min-width:0;transform:translateX(-50%)}
  .shell:has(>.contato-pagina) .logo-principal{width:108px;height:46px;flex-basis:108px;margin:0;object-fit:contain}
  .shell:has(>.contato-pagina) .logo-frase{display:none}
  .shell:has(>.contato-pagina) .header-menu-toggle{position:absolute;top:11px;left:12px;order:1;width:38px;height:40px;padding:0;font-size:29px}
  .shell:has(>.contato-pagina) .header-busca-toggle{display:inline-flex;position:absolute;top:11px;right:52px;order:3;width:34px;height:40px;padding:4px;transform:none}
  .shell:has(>.contato-pagina) .barra-carrinho{position:absolute;top:11px;right:8px;order:4;width:38px;height:40px}
  .shell:has(>.contato-pagina) .barra-carrinho-icone{line-height:40px}
  .shell:has(>.contato-pagina) .contato-pagina{padding-top:86px}
}

/* Acessibilidade pública: contraste, foco e áreas de toque. */
.pagina-inicial .lista-vazia,.shell .lista-vazia,.footer-copy,.carrinho-vazio{color:#adb9c8}
.pagina-inicial .hero-sobrelinha,.pagina-inicial .sobrelinha,.shell .eyebrow{color:#ff777d}
.site-footer .footer-social,.site-footer .footer-social:hover{color:#ff777d}
.site-footer .footer-ver-mapa{color:#8fc9ef!important}
.site-header .nav-bar a.ativo,.site-header .nav-bar a:hover,.menu-lateral a.ativo{color:#ff777d}
.pagina-inicial .busca-hero button{background:#c8242d;color:#fff}
:is(.pagina-inicial,.pagina-peca,.shell) :is(input,textarea)::placeholder{color:#a9b9ca;opacity:1}
.site-footer a{min-height:32px;display:flex;align-items:center;padding-block:5px}
.sobre-breadcrumb a{min-height:32px;display:inline-flex;align-items:center}
.site-header .nav-bar>a,.site-header .nav-cat-btn{min-height:32px;display:inline-flex;align-items:center}
.carrinho .voltar-catalogo{min-height:44px;display:inline-flex;align-items:center}
:where(.pagina-inicial,.pagina-peca,.shell,.carrinho) :is(a,button,input,select,textarea):focus-visible{outline:3px solid #ffd166;outline-offset:3px}
@media(max-width:760px){
  :is(.pagina-inicial,.pagina-peca,.shell:has(>.contato-pagina)) .header-menu-toggle{width:48px;height:48px;top:7px;left:8px}
  :is(.pagina-inicial,.pagina-peca,.shell:has(>.contato-pagina)) .header-busca-toggle{width:48px;height:48px;top:7px;right:56px}
  :is(.pagina-inicial,.pagina-peca,.shell:has(>.contato-pagina)) .barra-carrinho{width:48px;height:48px;top:7px;right:8px}
  :is(.pagina-inicial,.pagina-peca,.shell:has(>.contato-pagina)) .barra-carrinho-icone{line-height:48px}
}
/* Smaller delivery image on phones; preserve the existing crop and overlay. */
@media (max-width:760px){
  .pagina-inicial .hero::after{background-image:url('assets/hero-oficina-mobile-opt-v1.webp')}
}

