/* Links de ações em "Meus pedidos" */
.link-pedido-detalhe {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
}

.link-pedido-detalhe:hover {
    text-decoration: underline;
}

.link-pedido-rastreio {
    color: #16a34a;
    text-decoration: none;
    font-weight: 500;
}

.link-pedido-rastreio:hover {
    text-decoration: underline;
}

.acoes-separador {
    margin: 0 4px;
    color: #6b7280;
}

:root{
  --brand:#f7931a;
  --brand-700:#c56a00;
  --ink:#111;
  --muted:#666;
  --line:#e7e7e7;
  --bg:#fff;
  --bg-soft:#f5f7fb;
  --price:#dd6b20;
  --radius:12px;
  --container:1280px;
  --danger:#e53935;
}

/* RESET / BASE */
*{box-sizing:border-box;margin:0;padding:0}
body{
  background:var(--bg-soft);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.4;
}
html{
  scroll-behavior:smooth;
}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font-family:inherit}
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}

/* ====== BARRA PRETA SUPERIOR ====== */
.top-note{
  background:#020308;
  color:#fff;
  font-size:13px;
  font-weight:500;
}
.note-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 0;
  text-align:center;
}
.note-inner b{color:var(--brand);}
.note-inner .dot{color:#888;font-weight:400;}

/* ====== HEADER GERAL ====== */
.site-header{
  background:#fff;
  border-bottom:1px solid #e5e5e5;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
  position:sticky;
  top:0;
  z-index:50;
}
.site-header .container{
  padding:12px 16px;
}

/* LOGO EM TEXTO */
.logo-text{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  text-decoration:none;
  color:#111;
  line-height:1.1;
}
.logo-main{
  font-family:'Luckiest Guy',cursive;
  font-size:1.9rem;
  background:linear-gradient(45deg,#f7c948,#e9b12a,#f7931a);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  letter-spacing:1px;
}
.logo-sub{
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:0.9rem;
  color:#444;
  text-transform:uppercase;
  margin-top:-3px;
  letter-spacing:0.5px;
}

/* LINHA 1: logo | busca | login/carrinho */
.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  flex-wrap:wrap;
}
.header-left{
  flex-shrink:0;
  display:flex;
  align-items:center;
  gap:10px;
}
.header-center{
  flex:1;
  min-width:230px;
  display:flex;
  justify-content:center;
}
.header-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  font-size:12px;
}

/* CENTRO: BUSCA */
.search-box{
  display:flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  background:#f5f5f7;
  padding:10px 14px;
  width:100%;
  max-width:560px;
  font-size:14px;
  border:1px solid #e1e4ee;
  box-shadow:0 1px 3px rgba(15,23,42,.04);
}
.search-box input{
  border:none;
  background:transparent;
  outline:none;
  flex:1;
  font-size:14px;
  color:#111;
}
.search-ico{
  font-size:15px;
  font-weight:600;
  color:var(--brand);
}

/* DIREITA: LOGIN + CARRINHO */
.login-area{
  display:flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
}
.login-icon{
  font-size:18px;
  line-height:1;
  color:#21c4d8;
}
.login-text{
  font-size:12px;
  color:#555;
}
.login-text strong{
  font-weight:700;
  color:#111;
}

.cart-area{
  display:flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
}
.cart-icon-mini{
  font-size:18px;
  line-height:1;
  color:#21c4d8;
}
.cart-badge-mini{
  width:22px;
  height:22px;
  border-radius:999px;
  border:2px solid #21c4d8;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:700;
  color:#21c4d8;
  background:#fff;
  box-shadow:0 4px 10px rgba(33,196,216,.25);
}

/* LINHA 2: MENU + categorias */
.header-bottom{
  display:flex;
  align-items:center;
  gap:12px 16px;
  border-top:1px solid #efefef;
  padding:10px 0 6px;
  margin-top:10px;
}

/* Botão MENU (hamburguer) */
.menu-btn-inline{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:600;
  color:#111;
  cursor:pointer;
  white-space:nowrap;
  margin-right:auto;
}
.burger-inline{
  width:22px;
  height:2px;
  background:#111;
  position:relative;
  border-radius:2px;
}
.burger-inline::before,
.burger-inline::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:#111;
  border-radius:2px;
}
.burger-inline::before{top:-6px;}
.burger-inline::after{top:6px;}

/* ====== CATEGORIAS (PILLS) ====== */
.cats-row-inline{
  display:flex;
  justify-content:center;
  gap:0.75rem;
  flex-wrap:wrap;
  margin:1.1rem auto 1.8rem;
  width:100%;
}
.cat-pill{
  border-radius:999px;
  border:1px solid var(--brand);
  padding:0.45rem 1.2rem;
  background:#fff;
  color:var(--ink);
  font-weight:500;
  font-size:0.95rem;
  cursor:pointer;
  transition:all 0.2s ease;
  text-decoration:none;
  white-space:nowrap;
}
.cat-pill:hover{
  background:var(--brand);
  color:#fff;
  box-shadow:0 0 0 1px var(--brand-700),0 8px 18px rgba(247,147,26,.35);
}
.cat-pill.is-active,
.cat-pill.cat-pill-active{
  background:var(--brand);
  color:#fff;
  box-shadow:0 0 0 1px var(--brand-700),0 8px 18px rgba(247,147,26,.35);
}

/* ====== HERO / BANNER PRINCIPAL ====== */
.hero{
  padding:18px 0 10px;
}
.hero-banner{
  position:relative;
  width:100%;
  min-height:320px;
  border-radius:18px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at top left,#302f4d,#050612);
  box-shadow:0 18px 45px rgba(15,23,42,.45);
}
.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  aspect-ratio:16/4;
}
@media(max-width:600px){
  .hero-banner{
    min-height:240px;
    border-radius:16px;
  }
}
.hero-content{
  position:absolute;
  left:6%;
  top:50%;
  transform:translateY(-50%);
  max-width:420px;
  color:#fff;
  text-shadow:0 6px 20px rgba(0,0,0,.6);
}
.hero-content h1{
  font-size:2rem;
  font-weight:800;
  margin-bottom:10px;
}
.hero-content p{
  font-size:0.95rem;
  margin-bottom:14px;
}
.hero-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 20px;
  border-radius:999px;
  background:#f7931a;
  color:#fff;
  font-weight:600;
  font-size:0.95rem;
  box-shadow:0 10px 26px rgba(247,147,26,.5);
}
.hero-cta:hover{
  background:#c56a00;
}

/* mobile */
@media(max-width:768px){
  .hero-content{
    left:8%;
    right:8%;
    bottom:16px;
    top:auto;
    transform:none;
  }
  .hero-content h1{
    font-size:1.4rem;
  }
}

/* ====== BENEFITS ====== */
.benefits{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
  margin:10px 0 24px;
}
.benefit{
  background:linear-gradient(135deg,rgba(255,255,255,0.96),rgba(255,255,255,0.9));
  border-radius:16px;
  padding:12px 14px;
  display:flex;
  gap:10px;
  align-items:center;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
  border:1px solid rgba(226,232,240,.7);
  backdrop-filter:blur(8px);
}
.benefit .ic{
  font-size:22px;
}
.benefit b{
  display:block;
  font-size:14px;
}
.benefit span{
  color:var(--muted);
  font-size:12px;
}

/* ====== GRID DE PRODUTOS ====== */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.6rem;
  margin:6px 0 64px;
}

/* ====== CARD DE PRODUTO ====== */
.card{
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow:0 10px 30px rgba(15,23,42,.12);
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(15,23,42,.18);
}
.card .title,
.card .box-fit img{
  cursor:pointer;
}

/* imagem do card */
.fig{
  position:relative;
  background:#fff;
  overflow:hidden;
}
.disc{
  position:absolute;
  top:10px;
  right:10px;
  background:#fff;
  border-radius:999px;
  font-size:12px;
  padding:4px 10px;
  font-weight:700;
  line-height:1;
  color:#000;
  box-shadow:0 10px 25px rgba(15,23,42,.18);
}
.box-fit{
  display:grid;
  place-items:center;
  padding:20px 22px 18px;
}
.box-fit img{
  width:100%;
  height:220px;
  object-fit:contain;
  background:#f9fafb;
}

/* info do card */
.info{
  padding:14px 16px 14px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.title{
  font-weight:600;
  text-transform:uppercase;
  font-size:0.95rem;
  line-height:1.35;
}
.code{
  font-size:12px;
  color:var(--muted);
  font-weight:600;
}
.stars{
  font-size:12px;
  color:#ffb400;
}
.price-wrap{
  margin-top:4px;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.old{
  font-size:0.85rem;
  color:var(--muted);
  text-decoration:line-through;
}
.price{
  font-size:1.08rem;
  font-weight:800;
  color:var(--brand-700);
  line-height:1.1;
}
.bulk-line{
  font-size:0.8rem;
  color:var(--muted);
  line-height:1.3;
}
.price-highlight{
  margin-top:4px;
  font-size:0.86rem;
  color:#065f46;
  font-weight:600;
}

.ft{
  font-size:11px;
  text-transform:uppercase;
  color:#444;
  font-weight:700;
  margin-top:6px;
}

/* ====== AÇÕES DO CARD ====== */
.card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.btn-cart,
.btn-more{
  border:none;
  border-radius:999px;
  padding:10px 12px;
  font-weight:600;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  transition:all .16s ease;
}

/* botão principal: adicionar ao carrinho */
.btn-cart{
  flex:1;
  background:var(--brand);
  color:#fff;
  font-size:14px;
  box-shadow:0 10px 28px rgba(247,147,26,.45);
}
.btn-cart:hover{
  background:var(--brand-700);
  box-shadow:0 12px 30px rgba(197,106,0,.6);
  transform:translateY(-1px);
}

/* botão secundário: ver detalhes */
.btn-more{
  flex:1;
  background:#f3f4f6;
  color:var(--ink);
  font-size:13px;
}
.btn-more:hover{
  background:#e5e7eb;
}

/* ====== PÁGINAS INTERNAS (sobre, políticas, fale) ====== */
.page-content{
  padding:32px 0 40px;
}
.page-content h1{
  font-size:28px;
  margin-bottom:12px;
}
.page-content h2{
  font-size:20px;
  margin-top:24px;
  margin-bottom:8px;
}
.page-content p{
  margin-top:10px;
  color:#444;
}
.page-content ul{
  margin-top:10px;
  padding-left:18px;
  color:#444;
}
.page-content li{
  margin-bottom:6px;
}

/* Botão WhatsApp página Fale Conosco */
.btn-whatsapp{
  display:inline-block;
  background:#25d366;
  color:#fff;
  font-weight:700;
  padding:12px 20px;
  border-radius:999px;
  margin-top:10px;
  transition:all .2s ease;
}
.btn-whatsapp:hover{
  background:#20b958;
  box-shadow:0 10px 26px rgba(32,185,88,.35);
}

/* ====== WHATSAPP FLOAT ====== */
.wa{
  position:fixed;
  right:16px;
  bottom:16px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  border:2px solid #fff;
  display:grid;
  place-items:center;
  font-size:28px;
  box-shadow:0 14px 25px rgba(0,0,0,.18);
  z-index:60;
}

/* ====== FOOTER ====== */
footer{
  background:#0f1115;
  color:#fff;
  margin-top:32px;
}
.foot{
  padding:28px 0 20px;
  font-size:13px;
}
.brand{
  font-weight:800;
  color:var(--brand);
  margin-bottom:6px;
}
.foot small{
  color:#aaa;
}

/* ====== FOOTER AVANÇADO ====== */
.foot-top{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  justify-content:space-between;
  align-items:flex-start;
  font-size:13px;
  color:#ddd;
}
.foot-brand-block{
  max-width:320px;
}
.foot-brand-block p{
  margin-top:4px;
  color:#ddd;
  font-size:13px;
}
.foot-links,
.foot-contact{
  min-width:170px;
}
.foot-links h4,
.foot-contact h4{
  font-size:13px;
  font-weight:700;
  margin-bottom:8px;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.foot-links a{
  display:block;
  color:#ddd;
  font-size:13px;
  margin-bottom:4px;
}
.foot-links a:hover{
  text-decoration:underline;
}
.foot-contact p{
  margin-bottom:4px;
  font-size:13px;
  color:#ddd;
}
.foot-coming-soon{
  margin-top:6px;
  font-size:12px;
  color:#f6c865;
}
.foot-bottom{
  margin-top:18px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#aaa;
}
.foot-bottom-extra{
  opacity:.9;
}

/* Responsivo footer */
@media (max-width: 700px){
  .foot-top{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ====== RESPONSIVO HEADER / GRID ====== */
@media(max-width:780px){
  .header-top{
    flex-wrap:wrap;
    align-items:flex-start;
  }
  .header-left{
    width:100%;
  }
  .header-center{
    width:100%;
    order:3;
  }
  .header-right{
    order:2;
    margin-left:auto;
  }
  .cats-row-inline{
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
    width:100%;
  }
  .cats-row-inline::-webkit-scrollbar{display:none;}
}
@media (max-width: 768px){
  .cat-pill{
    padding:0.4rem 1rem;
    font-size:0.9rem;
  }
  .box-fit img{
    height:190px;
  }
}

/* =======================================================
   PÁGINA DE PRODUTO (produto.php)
   ======================================================= */
.produto-page{
  padding:2rem 0 3rem;
}
.produto-layout{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:2.5rem;
  align-items:start;
}
.produto-media{
  display:flex;
  justify-content:center;
  align-items:center;
}
.produto-main-img{
  width:100%;
  border-radius:18px;
  background:#f9fafb;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(15,23,42,.12);
}
.produto-main-img img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

/* INFORMAÇÕES */
.produto-info{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.produto-title{
  font-size:1.6rem;
  font-weight:700;
  color:var(--ink);
  line-height:1.3;
}
.produto-code{
  font-size:0.9rem;
  color:var(--muted);
}
.produto-stars{
  font-size:1.1rem;
  color:#ffc107;
}

/* Caixa de preço da página de produto */
.produto-preco-box{
  max-width:320px;
  background:#f8f8f8;
  padding:16px 18px;
  border-radius:14px;
  margin:10px 0 12px;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}
.produto-preco-box .preco-antigo{
  display:block;
  font-size:0.9rem;
  color:#999;
  text-decoration:line-through;
}
.produto-preco-box .preco-atual{
  display:block;
  font-size:1.5rem;
  font-weight:700;
  color:#f7931a;
}
.produto-preco-box .produto-estoque{
  margin:4px 0 8px;
  font-size:0.95rem;
  color:#333;
}
.produto-preco-box .produto-qtd-wrapper{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:0.95rem;
}
.produto-preco-box .input-qtd{
  width:70px;
  padding:4px 6px;
}

.produto-short{
  font-size:1rem;
  line-height:1.5;
  color:var(--ink);
  margin-top:0.5rem;
}

/* BOTÕES PRODUTO */
.produto-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:1rem;
}
.produto-actions .btn-cart,
.produto-actions .btn-more{
  flex:1;
}

/* DESCRIÇÃO DETALHADA */
.produto-descricao{
  margin-top:3rem;
  background:var(--bg-soft);
  padding:2rem 0;
}
.produto-descricao h2{
  font-size:1.4rem;
  color:var(--brand-700);
  margin-bottom:0.8rem;
}
.produto-descricao p{
  line-height:1.6;
  margin-bottom:1rem;
  color:var(--ink);
}
.produto-descricao h3{
  margin-top:1.5rem;
  margin-bottom:0.5rem;
  font-size:1.1rem;
  color:var(--brand);
}
.produto-descricao ul{
  list-style:disc;
  padding-left:1.5rem;
  color:var(--ink);
}
.produto-descricao li{
  margin-bottom:0.4rem;
}

/* RESPONSIVO PRODUTO */
@media (max-width: 992px){
  .produto-layout{
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  .produto-title{
    font-size:1.3rem;
  }
  .produto-preco-box .preco-atual{
    font-size:1.35rem;
  }
}

/* =======================================================
   CARRINHO
   ======================================================= */
.cart-title{
  font-size:22px;
  font-weight:700;
  margin:24px 0 12px;
}
.cart-empty{
  background:#fff;
  border-radius:18px;
  padding:32px 24px;
  box-shadow:0 10px 28px rgba(15,23,42,.1);
  display:inline-flex;
  flex-direction:column;
  gap:12px;
}
.cart-table-simple{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(15,23,42,.1);
}
.cart-table-simple thead{
  background:#f9fafb;
}
.cart-table-simple th,
.cart-table-simple td{
  padding:10px 14px;
  font-size:14px;
  border-bottom:1px solid #f0f0f0;
}
.cart-table-simple th{
  text-align:left;
  font-weight:600;
  font-size:13px;
}
.cart-table-simple tbody tr:last-child td{
  border-bottom:none;
}
.cart-prod-cell{
  display:flex;
  align-items:center;
  gap:10px;
}
.cart-thumb-sm{
  width:60px;
  height:60px;
  object-fit:cover;
  border-radius:8px;
  border:1px solid #eee;
}
.cart-prod-text{
  display:flex;
  flex-direction:column;
}
.cart-prod-name{
  font-weight:500;
}
.cart-prod-cat{
  font-size:12px;
  color:#777;
}
.cart-td-center{
  text-align:center;
}
.cart-remove-link{
  color:#c0392b;
  font-size:16px;
  text-decoration:none;
}

/* resumo do pedido */
.cart-simple-summary{
  margin-top:18px;
  max-width:380px;
  margin-left:auto;
  background:#fff;
  border-radius:18px;
  padding:14px 16px;
  box-shadow:0 10px 28px rgba(15,23,42,.1);
}
.cart-summary-line{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  margin-bottom:6px;
}
.cart-summary-total{
  font-weight:700;
  border-top:1px solid #eee;
  padding-top:6px;
  margin-top:4px;
}
.cart-summary-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

/* quantidade editável */
.cart-qtd-form{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.cart-qtd-input{
  width:56px;
  padding:4px 6px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:13px;
  text-align:center;
}
.cart-qtd-btn{
  border:none;
  background:#f3f3f3;
  border-radius:6px;
  padding:4px 6px;
  font-size:12px;
  cursor:pointer;
}
.cart-qtd-btn:hover{
  background:#e4e4e4;
}

/* RESPONSIVO CARRINHO */
@media (max-width:768px){
  .cart-table-simple th:nth-child(3),
  .cart-table-simple td:nth-child(3){
    display:none;
  }
  .cart-table-simple th,
  .cart-table-simple td{
    padding:8px 10px;
  }
  .cart-simple-summary{
    max-width:100%;
  }
}

/* =======================================================
   CHECKOUT
   ======================================================= */
.checkout-page{
  padding:32px 0 40px;
}
.checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1.3fr);
  gap:24px;
  align-items:flex-start;
  margin-top:18px;
}
.checkout-card{
  background:#fff;
  border-radius:18px;
  padding:18px 18px 20px;
  box-shadow:0 10px 28px rgba(15,23,42,.1);
  margin-top:8px;
}
.checkout-card h2{
  font-size:18px;
  margin-bottom:10px;
}
.checkout-form{
  margin-top:8px;
}
.checkout-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 16px;
}
.checkout-form-grid .full-row{
  grid-column:1 / -1;
}
.checkout-label{
  font-size:13px;
  font-weight:600;
  margin-bottom:4px;
  display:block;
}
.checkout-input,
.checkout-textarea{
  width:100%;
  border:1px solid #ddd;
  border-radius:8px;
  padding:8px 10px;
  font-size:14px;
  outline:none;
}
.checkout-input:focus,
.checkout-textarea:focus{
  border-color:var(--brand);
}
.checkout-summary-list{
  list-style:none;
  margin:10px 0 0;
  padding:0;
}
.checkout-summary-item{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid #f0f0f0;
  font-size:14px;
}
.checkout-item-name{
  font-weight:500;
}
.checkout-item-meta{
  font-size:12px;
  color:#777;
  margin-top:2px;
}
.checkout-item-price{
  font-weight:600;
}
.checkout-summary-lines{
  margin-top:10px;
  font-size:14px;
}
.checkout-summary-line{
  display:flex;
  justify-content:space-between;
  margin-bottom:4px;
}
.checkout-summary-total{
  font-weight:700;
  border-top:1px solid #eee;
  padding-top:6px;
  margin-top:4px;
}
.checkout-note{
  margin-top:10px;
  font-size:12px;
  color:#777;
}

/* responsivo checkout */
@media (max-width: 900px){
  .checkout-layout{
    grid-template-columns:1fr;
  }
}

/* =======================================================
   FORMULÁRIOS GERAIS
   ======================================================= */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea{
  -webkit-appearance:none;
  appearance:none;
  border-radius:8px;
  border:1px solid #d0d7e2;
  padding:10px 12px;
  font-size:0.95rem;
  width:100%;
  box-sizing:border-box;
  background-color:#fff;
}
input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:#ff9f1c;
  box-shadow:0 0 0 2px rgba(255,159,28,0.25);
}
button,
.auth-submit,
.btn-cart,
.btn-more{
  -webkit-appearance:none;
  appearance:none;
}

/* =======================================================
   TELAS DE LOGIN / CADASTRO
   ======================================================= */
.auth-page{
  background:var(--bg-soft);
  padding:40px 0 60px;
}
.auth-container{
  max-width:420px;
  margin:0 auto;
  padding:0 16px;
}
.auth-card{
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 14px 35px rgba(15,23,42,0.08);
  padding:28px 26px 26px;
}
.auth-title{
  font-size:1.6rem;
  font-weight:700;
  margin-bottom:20px;
  color:#111;
}
.auth-form label{
  display:block;
  font-size:0.9rem;
  font-weight:600;
  margin-bottom:4px;
  color:#333;
}
.auth-form input{
  width:100%;
  padding:10px 11px;
  border-radius:8px;
  border:1px solid #d3d6de;
  font-size:0.95rem;
  margin-bottom:14px;
  outline:none;
  transition:border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-form input:focus{
  border-color:#f7931a;
  box-shadow:0 0 0 2px rgba(247,147,26,0.25);
}
.auth-submit{
  width:100%;
  border:none;
  border-radius:999px;
  padding:11px 16px;
  font-size:0.95rem;
  font-weight:600;
  background:#f7931a;
  color:#fff;
  cursor:pointer;
  margin-top:6px;
  transition:background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.auth-submit:hover{
  background:#e07f05;
  box-shadow:0 6px 18px rgba(247,147,26,0.35);
  transform:translateY(-1px);
}
.auth-submit:active{
  transform:translateY(1px);
  box-shadow:0 3px 10px rgba(247,147,26,0.4);
}
.auth-bottom-text{
  margin-top:14px;
  font-size:0.9rem;
  text-align:center;
}
.auth-bottom-text a{
  font-weight:600;
  color:#f7931a;
}

/* =======================================================
   ALERTAS GERAIS
   ======================================================= */
.alert{
  padding:10px 14px;
  border-radius:8px;
  margin-bottom:12px;
  font-size:0.9rem;
}
.alert-error{
  background:#ffe5e5;
  color:#a30000;
  border:1px solid #ffb3b3;
}
.alert-success{
  background:#e6ffed;
  color:#075b2c;
  border:1px solid #9ae6b4;
}
.alert-info{
  background:#e6f4ff;
  color:#084c8c;
  border:1px solid #90cdf4;
}

/* =======================================================
   ÁREA LOGADA (Minha conta / Meus pedidos)
   ======================================================= */
.account-page{
  background:#f5f7fb;
  padding:40px 0 60px;
}
.account-layout{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:24px;
}

/* Sidebar */
.account-sidebar,
.account-menu-card{
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 14px 35px rgba(15,23,42,0.08);
  padding:20px 18px 18px;
}
.account-sidebar-title,
.account-menu-title{
  font-size:1rem;
  font-weight:700;
  margin-bottom:14px;
}
.account-menu,
.account-menu-list{
  display:flex;
  flex-direction:column;
  gap:6px;
  list-style:none;
  padding:0;
  margin:0;
}
.account-menu a,
.account-menu-link{
  font-size:0.92rem;
  padding:8px 10px;
  border-radius:999px;
  text-decoration:none;
  color:#333;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:background 0.15s ease, color 0.15s ease, transform 0.05s ease;
}
.account-menu a:hover,
.account-menu-link:hover{
  background:#f5f5f5;
  transform:translateX(2px);
}
.account-menu a.is-active,
.account-menu-link.is-active{
  background:#fff4e4;
  color:#111;
  font-weight:600;
}
.account-link-logout{
  color:#c62828;
}

/* Conteúdo */
.account-content,
.account-main-card{
  min-width:0;
}
.account-box,
.account-main-card{
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 14px 35px rgba(15,23,42,0.08);
  padding:20px 20px 18px;
}
.account-header h1,
.account-main-title{
  font-size:1.6rem;
  font-weight:700;
  margin-bottom:4px;
}
.account-header p,
.account-main-sub{
  font-size:0.95rem;
  color:#444;
  margin-bottom:18px;
}
.account-box-footer{
  margin-top:14px;
  font-size:0.92rem;
}
.account-box-footer a{
  font-weight:600;
  color:#f7931a;
}

/* Formulários da área logada */
.account-form,
.account-form-grid{
  margin-top:5px;
}
.account-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 20px;
}
.account-form-field,
.account-form-full{
  display:flex;
  flex-direction:column;
}
.account-form-field.full,
.account-form-full{
  grid-column:1 / -1;
}
.account-form-field label{
  font-size:0.9rem;
  font-weight:600;
  margin-bottom:4px;
}
.account-save-btn{
  margin-top:1.2rem;
  background:#ff9f1c;
  color:#fff;
  border:none;
  padding:0.85rem 1.6rem;
  border-radius:999px;
  font-weight:700;
  font-size:0.95rem;
  cursor:pointer;
}
.account-empty-box{
  background:#e6f2ff;
  border-radius:10px;
  padding:0.9rem 1rem;
  border:1px solid #b7d4ff;
  font-size:0.9rem;
}

/* Responsivo área logada */
@media (max-width: 900px){
  .account-layout{
    grid-template-columns:1fr;
  }
  .account-menu-card,
  .account-sidebar{
    padding:1.2rem 1.1rem;
    border-radius:14px;
  }
  .account-box,
  .account-main-card{
    margin-top:0.5rem;
    padding:1.5rem 1.2rem 1.4rem;
    border-radius:14px;
  }
  .account-main-title{
    font-size:1.4rem;
  }
  .account-form-grid{
    grid-template-columns:1fr;
  }
}

/* =======================================================
   PÁGINA 404
   ======================================================= */
.page-404{
  display:flex;
  justify-content:center;
}
.page-404-card{
  max-width:520px;
  text-align:center;
  background:#fff;
  padding:32px 24px;
  border-radius:18px;
  box-shadow:0 14px 35px rgba(15,23,42,0.08);
}
.page-404-code{
  font-size:40px;
  font-weight:800;
  color:var(--brand);
  margin-bottom:4px;
}
.page-404-card h1{
  font-size:22px;
  margin-bottom:8px;
}
.page-404-card p{
  color:#555;
  margin-bottom:18px;
}
.page-404-btn{
  max-width:280px;
  margin:0 auto;
}

/* =======================================================
   MENU MOBILE (OFFCANVAS)
   ======================================================= */
.mobile-menu-toggle{
  display:none;
  border:none;
  background:transparent;
  font-size:1.4rem;
  margin-right:8px;
  cursor:pointer;
}

/* aparece só no mobile */
@media(max-width:768px){
  .mobile-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
}

/* backdrop escuro atrás do menu */
.mobile-menu-backdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.45);
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease;
  z-index:80;
}
.mobile-menu-backdrop.is-open{
  opacity:1;
  visibility:visible;
}

/* painel lateral */
.mobile-menu{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:78%;
  max-width:320px;
  background:#fff;
  box-shadow:8px 0 25px rgba(15,23,42,.32);
  transform:translateX(-100%);
  transition:transform .2s ease-out;
  z-index:90;
  display:flex;
  flex-direction:column;
  padding:16px 16px 20px;
}
.mobile-menu.is-open{
  transform:translateX(0);
}

.mobile-menu-close{
  align-self:flex-end;
  border:none;
  background:transparent;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
  margin-bottom:8px;
}

.mobile-menu-inner{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:0.95rem;
}
.mobile-menu-inner a{
  padding:8px 6px;
  border-radius:8px;
}
.mobile-menu-inner a:hover{
  background:#f5f7fb;
}
.mobile-menu-inner hr{
  border:none;
  border-top:1px solid #e5e7eb;
  margin:8px 0;
}

/* ====== FAIXA PROMOÇÃO (HOME) ====== */
.promo{
  background:linear-gradient(90deg,#f7931a,#c56a00);
  color:#fff;
  padding:10px 18px;
  font-weight:700;
  text-align:center;
  border-radius:8px;
  box-shadow:0 4px 20px rgba(247,147,26,.3);
  font-size:1.1rem;
  letter-spacing:0.5px;
}

/* ================================
   SEÇÃO PROMOÇÃO ESPECIAL
   ================================ */

/* ================================
   SEÇÃO PROMOÇÃO ESPECIAL
   ================================ */

.promo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  width: 100%;
  border-radius: 10px;
  margin: 20px auto;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #f7931a, #d97706);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.promo-title span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.promo-title span::before {
  content: "🎉";
  font-size: 1.2rem;
}

/* ===========================
   Área administrativa - layout geral
   =========================== */
.admin-body {
  background: #020617;
  color: #f9fafb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.admin-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.admin-subtitle {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

.admin-nav a {
  margin-left: 16px;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.admin-nav a:hover {
  color: #f97316; /* laranja Malta */
}

.admin-nav-active {
  font-weight: 600;
  color: #f97316;
}

/* ------- Pedido (admin) ------- */

.admin-order-card {
  padding: 24px 28px;
}

.admin-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-order-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.admin-order-subtitle {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

.admin-order-status {
  text-align: right;
  font-size: 13px;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-order-status .status-badge {
  align-self: flex-end;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 16px 0;
}

.admin-order-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.admin-order-section p {
  margin: 3px 0;
  font-size: 14px;
}

.admin-order-items {
  margin-top: 8px;
}

.admin-order-actions {
  margin-top: 24px;
}

/* se já não tiverem estes estilos de badge no arquivo, pode usar: */
.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge--pending {
  background: #facc15;
  color: #111827;
}

.status-badge--success {
  background: #22c55e;
  color: #022c22;
}

.status-badge--info {
  background: #38bdf8;
  color: #0f172a;
}

.status-badge--danger {
  background: #f97373;
  color: #7f1d1d;
}

/* ===========================
   Cards e conteúdo
   =========================== */
.admin-main {
  display: block;
}

.admin-card {
  background: #020617;
  border-radius: 18px;
  padding: 20px 22px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.admin-card-full {
  width: 100%;
}

.admin-card-header h2 {
  margin: 0 0 4px;
  font-size: 1.3rem;
}

.admin-card-subtitle {
  margin: 0 0 18px;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* ===========================
   Filtros
   =========================== */
.admin-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.admin-filtro-campo {
  display: flex;
  flex-direction: column;
  min-width: 220px;
}

.admin-filtro-campo label {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 4px;
}

.admin-filtro-campo input,
.admin-filtro-campo select {
  background: #020617;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 8px 10px;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.admin-filtro-campo input::placeholder {
  color: #4b5563;
}

.admin-filtro-acao button {
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  color: #111827;
}

.admin-filtro-acao button:hover {
  filter: brightness(1.05);
}

/* ===========================
   Tabela de pedidos
   =========================== */
.admin-table-wrapper {
  margin-top: 10px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table thead {
  background: #020617;
}

.admin-table th,
.admin-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #1f2933;
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  font-weight: 600;
  color: #9ca3af;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.admin-table tbody tr:hover {
  background: rgba(15, 23, 42, 0.9);
}

.admin-link {
  color: #f97316;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
}

.admin-link:hover {
  text-decoration: underline;
}

/* ===========================
   Estado vazio
   =========================== */
.admin-empty-state {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #9ca3af;
}

.admin-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.admin-pill {
  font-size: 0.75rem;
  color: #fbbf24;
  margin-left: 6px;
}

.admin-link-disabled {
  opacity: 0.5;
  cursor: default;
}

/* ==========================================================
   PÁGINA DE SUCESSO DO PEDIDO — Malta Distribuidora
   ========================================================== */

.pedido-sucesso-page {
  background: #f3f4f6;
  padding: 40px 0 60px;
}

.pedido-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.pedido-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.pedido-card h1 {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 700;
  color: #111827;
}

.pedido-subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 20px;
}

.pedido-info p {
  font-size: 14px;
  margin: 3px 0;
  color: #111827;
}

.pedido-itens {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.pedido-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.pedido-item:last-child {
  border-bottom: none;
}

.pedido-item-nome {
  font-weight: 600;
  color: #111827;
}

.pedido-item-meta {
  font-size: 13px;
  color: #6b7280;
}

.pedido-item-total {
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.pedido-totais {
  margin-top: 15px;
  font-size: 14px;
}

.pedido-totais div {
  display: flex;
  justify-content: space-between;
  margin: 3px 0;
}

.pedido-total-final {
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  border-top: 1px solid #e5e7eb;
  padding-top: 5px;
}

.btn-laranja {
  display: inline-block;
  background: #f97316;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-laranja:hover {
  background: #ea580c;
}

.pedido-acoes {
  margin-top: 25px;
}

.pedido-note {
  margin-top: 15px;
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 640px) {
  .pedido-card {
    padding: 22px 18px;
  }
  .pedido-card h1 {
    font-size: 22px;
  }
}

/* ============================================
   TABELA DE "MEUS PEDIDOS" (área do cliente)
   ============================================ */

.account-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 10px;
}

.account-table.account-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* Cabeçalho */
.account-orders-table thead {
  background: rgba(15, 23, 42, 0.9);
}

.account-orders-table th,
.account-orders-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
  color: #e5e7eb;
}

/* Estilo dos títulos */
.account-orders-table th {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Zebra nas linhas do corpo */
.account-orders-table tbody tr:nth-child(odd) {
  background: rgba(15, 23, 42, 0.6);
}

.account-orders-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.4);
}

/* Alinhamento das colunas */
.account-orders-table th:nth-child(1),
.account-orders-table td:nth-child(1) {
  text-align: center;           /* # */
  width: 50px;
}

.account-orders-table th:nth-child(2),
.account-orders-table td:nth-child(2) {
  text-align: left;             /* Data */
}

.account-orders-table th:nth-child(3),
.account-orders-table td:nth-child(3) {
  text-align: right;            /* Total */
  white-space: nowrap;
}

.account-orders-table th:nth-child(4),
.account-orders-table td:nth-child(4) {
  text-align: center;           /* Status */
}

.account-orders-table th:nth-child(5),
.account-orders-table td:nth-child(5) {
  text-align: center;           /* Ações */
  white-space: nowrap;
}

/* Link "Ver detalhes" */
.account-order-link {
  color: #f97316;
  font-weight: 500;
  text-decoration: none;
}

.account-order-link:hover {
  text-decoration: underline;
}

/* ============================================
   BADGES DE STATUS DE PEDIDO
   ============================================ */
.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

/* aguardando_pagamento */
.badge-status.status-aguardando {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.6);
  color: #facc15;
}

/* pago */
.badge-status.status-pago {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.7);
  color: #4ade80;
}

/* em separação */
.badge-status.status-em-separacao {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.7);
  color: #38bdf8;
}

/* enviado */
.badge-status.status-enviado {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.7);
  color: #60a5fa;
}

/* entregue */
.badge-status.status-entregue {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.7);
  color: #34d399;
}

/* cancelado */
.badge-status.status-cancelado {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.7);
  color: #fca5a5;
}

/* link discreto dentro dos cards do admin */
.admin-link-inline {
    font-size: 13px;
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
}

.admin-link-inline:hover {
    text-decoration: underline;
}

/* filtros em linha para relatórios / dashboards */
.admin-filtros-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.admin-filtros-inline label {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #e5e7eb;
}

.admin-filtros-inline input[type="date"],
.admin-filtros-inline select {
    margin-top: 4px;
}

/* gridzinho de resumo */
.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.admin-summary-pill {
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 13px;
}

.admin-summary-pill span {
    display: block;
    opacity: .8;
}

.admin-summary-pill strong {
    display: block;
    margin-top: 2px;
}

/* título interno de seção no card */
.admin-section-title {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 15px;
}

/* estado vazio bonitinho */
.admin-empty-state {
    margin-top: 16px;
    font-size: 14px;
    color: #9ca3af;
}

/* nota de rodapé */
.admin-note {
    margin-top: 16px;
    font-size: 12px;
    color: #9ca3af;
}

/* tabela mais compacta para o relatório */
.admin-table-compact td,
.admin-table-compact th {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Botão laranja padrão (reaproveitável em todo o painel) */
.btn-laranja {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #f97316;
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-laranja:hover {
  background: #fb923c;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.45);
}

.btn-laranja:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.6);
}

/* Layout do relatório */

.relatorio-card {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: 18px;
  padding: 24px 24px 26px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.55);
  max-width: 1100px;
  margin: 32px auto 40px;
}

.relatorio-title {
  font-size: 22px;
  margin: 0 0 4px;
}

.relatorio-subtitle {
  margin: 0 0 18px;
  font-size: 14px;
  color: #e5e7eb;
}

.relatorio-form {
  margin-bottom: 18px;
}

.relatorio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}

.relatorio-field {
  font-size: 14px;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
}

.relatorio-field input[type="date"],
.relatorio-select {
  margin-top: 4px;
  background: #020617;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 8px 12px;
  color: #f9fafb;
  font-size: 14px;
}

.relatorio-field-full {
  grid-column: 1 / -1;
}

.relatorio-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.relatorio-link-voltar {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: none;
}

.relatorio-link-voltar:hover {
  color: #e5e7eb;
}

.relatorio-resultados p {
  margin: 4px 0;
  font-size: 14px;
}

.relatorio-info {
  margin-top: 10px;
  font-size: 14px;
  color: #e5e7eb;
}

.relatorio-rodape {
  margin-top: 14px;
  font-size: 13px;
  color: #9ca3af;
}

/* responsivo */
@media (max-width: 768px) {
  .relatorio-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Relatório de faturamento --- */

.faturamento-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.faturamento-filtros label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #e5e7eb;
}

.faturamento-filtros input[type="date"],
.faturamento-filtros select {
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
  color: #f9fafb;
  font-size: 13px;
}

/* botão laranja reaproveitável */
.btn-laranja {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: #f97316;
  color: #f9fafb;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
  transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-laranja:hover {
  background: #fb923c;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.45);
}

.btn-laranja:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.6);
}

.link-voltar-dashboard {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: none;
}

.link-voltar-dashboard:hover {
  color: #e5e7eb;
}

.fat-resumo p {
  margin: 4px 0;
  font-size: 14px;
}

.fat-sem-registro {
  margin-top: 8px;
  font-size: 14px;
  color: #e5e7eb;
}

.fat-observacao {
  margin-top: 10px;
  font-size: 13px;
  color: #9ca3af;
}

/* ===== Relatório de faturamento (admin/relatorio-faturamento.php) ===== */

.relatorio-card,
.relatorio-card-lista {
    background: #050816;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    margin-bottom: 32px;
}

.relatorio-titulo {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.relatorio-subtitulo {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

.relatorio-filtros-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.relatorio-filtros-grid .campo-form {
    flex: 1 1 180px;
}

.relatorio-filtros-grid .campo-form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.relatorio-filtros-grid .campo-form input[type="date"],
.relatorio-filtros-grid .campo-form select {
    width: 100%;
}

.campo-form-botao {
    flex: 0 0 auto;
}

.relatorio-resumo {
    margin-top: 24px;
    font-size: 0.95rem;
}

.relatorio-resumo p {
    margin: 3px 0;
}

.relatorio-total-geral {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 8px;
}

.relatorio-nota {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 6px;
}

.relatorio-status-grid {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.relatorio-status-item {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.relatorio-status-label {
    color: #9ca3af;
}

.relatorio-status-valor {
    font-weight: 600;
    color: #f9fafb;
}

.relatorio-export {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.relatorio-export-hint {
    font-size: 0.8rem;
    color: #9ca3af;
}

.tabela-wrapper {
    margin-top: 16px;
    overflow-x: auto;
}

.tabela-padrao {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tabela-padrao th,
.tabela-padrao td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.tabela-padrao thead th {
    text-align: left;
    font-weight: 500;
    color: #e5e7eb;
}

.tabela-padrao tbody tr:hover {
    background: rgba(15, 23, 42, 0.7);
}

.tabela-acao-link {
    font-size: 0.8rem;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, 0.7);
    color: #f97316;
    display: inline-block;
}

.tabela-acao-link:hover {
    background: rgba(249, 115, 22, 0.12);
}

.link-voltar {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .relatorio-card,
    .relatorio-card-lista {
        padding: 20px;
        border-radius: 18px;
    }

    .relatorio-status-grid {
        flex-direction: column;
    }
}

/* ===== Detalhes do pedido (admin/pedido-detalhe.php) ===== */

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(22, 163, 74, 0.8);
    color: #bbf7d0;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.8);
    color: #fecaca;
}

.pedido-resumo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 12px;
}

.pedido-resumo-bloco {
    flex: 1 1 220px;
    font-size: 0.95rem;
}

.pedido-resumo-bloco p {
    margin-bottom: 6px;
}

.pedido-rastreio-resumo {
    margin-top: 8px;
    font-size: 0.9rem;
}

.btn-rastreio-link {
    display: inline-block;
    margin-top: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.8);
    font-size: 0.8rem;
    text-decoration: none;
    color: #bfdbfe;
}

.btn-rastreio-link:hover {
    background: rgba(37, 99, 235, 0.25);
}

.form-pedido-detalhe {
    margin-top: 16px;
}

.form-pedido-detalhe .form-grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.form-pedido-detalhe .campo-form {
    flex: 1 1 220px;
}

.form-pedido-detalhe .campo-form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.form-pedido-detalhe .campo-form input,
.form-pedido-detalhe .campo-form select {
    width: 100%;
}

@media (max-width: 768px) {
    .pedido-resumo-grid {
        flex-direction: column;
    }
}

/* ===== Botões na tabela de pedidos ===== */
.btn-link {
    color: #93c5fd;
    text-decoration: none;
}

.btn-link:hover {
    color: #bfdbfe;
}

.btn-rastreio-pequeno {
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
}

.btn-rastreio-pequeno:hover {
    color: #86efac;
}

.btn-excluir {
    color: #f97316;
    text-decoration: none;
}

.btn-excluir:hover {
    color: #fb923c;
}

/* Links de ações em "Meus pedidos"  — (já definido no topo, bloco removido aqui para evitar duplicata) */

/* FRETE / MELHOR ENVIO */
.frete-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 15px 0 20px;
}

/* label ocupa a linha toda acima do input */
.frete-form label {
  flex-basis: 100%;
  font-size: 14px;
  margin-bottom: 2px;
}

/* input mais largo no desktop */
.frete-form input {
  flex: 0 1 280px;            /* largura mínima ~280px */
  max-width: 340px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

/* botão fica do lado no desktop */
.frete-form button {
  flex: 0 0 auto;
}

/* em telas pequenas, quebra para coluna e deixa o CEP baixinho */
@media (max-width: 600px) {
  .frete-form {
    flex-direction: column;
    align-items: stretch;
  }

  /* CEP (input ou textarea) ocupa toda a largura, mas com altura pequena */
  .frete-form input,
  .frete-form textarea {
    width: 100%;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 10px 14px;
    line-height: 1.2;
    resize: none;       /* não deixa virar caixa gigante arrastando */
  }

  .frete-form button {
    width: 100%;
  }
}


.btn-laranja {
  background: linear-gradient(180deg, #ffa733 0%, #ff8a00 100%);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.btn-laranja:hover {
  filter: brightness(1.1);
}

.frete-opcoes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.frete-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 12px 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: 0.2s;
  cursor: pointer;
}

.frete-card:hover {
  border-color: #ff8a00;
  background: #fff7f0;
}

.frete-card.selected {
  border-color: #ff8a00;
  background: #fff4e6;
  box-shadow: 0 0 0 2px rgba(255, 138, 0, 0.2);
}

.frete-info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.frete-preco {
  font-weight: 600;
  color: #ff8a00;
  font-size: 16px;
}

.frete-btn-confirmar {
  margin-top: 16px;
  align-self: flex-start;
  background: linear-gradient(180deg, #ff8a00 0%, #ff6a00 100%);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  padding: 8px 18px;
  cursor: pointer;
  transition: 0.2s;
}
.frete-btn-confirmar:hover {
  filter: brightness(1.1);
}
/* ===============================
   LISTAGEM DE PEDIDOS (ADMIN DARK)
   =============================== */

/* Container principal */
.admin-main {
  display: flex;
  justify-content: center;
  padding: 30px 20px;
}

/* Card principal */
.admin-card {
  background: #111319;
  border: 1px solid #1c1f26;
  border-radius: 12px;
  padding: 24px 28px;
  width: 100%;
  max-width: 1200px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Título e subtítulo */
.admin-card h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
}

.admin-card p {
  color: #b3b3b3;
  margin-bottom: 20px;
}

/* Filtros */
.admin-filtros {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-filtros label {
  font-size: 0.85rem;
  color: #ccc;
}

.admin-filtros input,
.admin-filtros select {
  background: #1a1c21;
  border: 1px solid #2d3037;
  border-radius: 6px;
  color: #fff;
  padding: 7px 10px;
  font-size: 14px;
}

.admin-filtros input::placeholder {
  color: #888;
}

.admin-filtros button {
  background: #ffa24b;
  color: #0d0f12;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.admin-filtros button:hover {
  background: #ffbb6c;
  transform: translateY(-1px);
}

/* TABELA PRINCIPAL */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #0f1116;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #1c1f26;
  color: #ddd;
  font-size: 14px;
  white-space: nowrap;
}

.admin-table th {
  background: #181a1f;
  color: #ffa24b;
  font-weight: 600;
  font-size: 15px;
}

.admin-table tr:hover {
  background: #1b1e24;
}

/* STATUS */
.status-badge {
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 13px;
}

.status-badge--pending {
  background: #2a200a;
  color: #f1c361;
}

.status-badge--success {
  background: #12361a;
  color: #67e37d;
}

/* BOTÕES E LINKS */
.btn-link {
  color: #ffa24b;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-rastreio-pequeno {
  background: #22252a;
  color: #82d1ff;
  border-radius: 6px;
  padding: 3px 8px;
  text-decoration: none;
  font-size: 13px;
}

.btn-rastreio-pequeno:hover {
  background: #30343a;
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
  .admin-table {
    display: block;
    overflow-x: auto;
  }
  .admin-filtros {
    flex-direction: column;
  }
}


/* RESPONSIVIDADE */
@media (max-width: 900px) {
  .admin-table {
    font-size: 13px;
    overflow-x: auto;
    display: block;
  }
  .admin-filtros {
    flex-direction: column;
  }
}
/* ===============================
   CORREÇÃO DE CORTE NA LISTAGEM DE PEDIDOS
   =============================== */

html, body {
  height: auto !important;
  overflow: visible !important;
}

.admin-body {
  background-color: #0d0f12;
  color: #fff;
  min-height: 100vh;
  overflow: visible !important; /* garante que tudo apareça */
}

.admin-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  overflow: visible !important;
}

/* área principal */
.admin-main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 80px;
  overflow: visible !important;
}

/* conteúdo principal */
.admin-wrapper {
  width: 100%;
  max-width: 1350px;
  background: #111319;
  padding: 30px 40px;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  overflow: visible !important;
}

/* tabela */
.admin-table-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: visible !important;
}

.admin-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
  background: #0f1116;
  border-radius: 10px;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #1d1f24;
  color: #ddd;
  font-size: 14px;
  white-space: nowrap;
}

.admin-table th {
  background: #181a1f;
  color: #ffa24b;
  font-weight: 600;
  font-size: 15px;
}

.admin-table tr:hover {
  background: #1b1e24;
}
.btn-more {
  background: #374151;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
}
.btn-more:hover {
  background: #4b5563;
  transform: translateY(-1px);
}
/* ==============================
   AVISO DE FRETE E BLOQUEIO DO BOTÃO
============================== */
.btn-finalizar[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  background: #ccc !important;
}

.aviso-frete {
  color: #d97706;
  font-weight: 500;
  margin-top: 8px;
  font-size: 0.9rem;
}
/* ===========================
   MENU MOBILE LATERAL
   =========================== */

/* Impede o scroll do fundo quando o menu está aberto */
body.menu-open {
  overflow: hidden;
}

/* Backdrop (fundo escuro) */
#mobileMenuBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 80;
}

#mobileMenuBackdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Painel lateral do menu */
#mobileMenu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  max-width: 80%;
  background: #020617;          /* bem escuro, estilo resto do site */
  color: #f9fafb;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 90;
  padding: 18px 18px 24px;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

/* Quando abre */
#mobileMenu.is-open {
  transform: translateX(0);
}

/* Cabeçalho do menu (X  Menu) */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.mobile-menu-header span {
  text-transform: uppercase;
  color: var(--muted, #9ca3af);
}

/* Botão de fechar (X) */
.mobile-menu-close {
  background: transparent;
  border: 0;
  color: #e5e7eb;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 999px;
}

.mobile-menu-close:hover {
  background: rgba(148, 163, 184, 0.15);
}

/* Lista de links */
#mobileMenu ul,
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobileMenu li + li {
  margin-top: 8px;
}

#mobileMenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.95rem;
  padding: 6px 0;
  border-radius: 6px;
}

#mobileMenu a:hover {
  color: #ffffff;
}

/* Bolinha do lado das opções (substitui bullet feio) */
#mobileMenu li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-right: 8px;
  background: var(--brand, #f7931a);
}

/* Garante que os emojis fiquem depois da bolinha */
#mobileMenu a > *:first-child {
  font-size: 1rem;
}

/* Só mostra esse menu no mobile, se quiser */
@media (min-width: 769px) {
  #mobileMenu,
  #mobileMenuBackdrop {
    display: none;
  }
}
/* Link "Esqueci minha senha" na tela de login */
.auth-forgot {
  margin-top: 8px;
  margin-bottom: 4px;
  text-align: center;        /* centraliza o texto dentro do card */
  font-size: 0.875rem;       /* levemente menor */
}

.auth-forgot a {
  color: #6b7280;            /* cinzinha suave (pode mudar) */
  text-decoration: none;
}

.auth-forgot a:hover {
  text-decoration: underline;
}
.secure-badge {
  background: #f5f7fb;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid #e7e7e7;
}

.secure-badge::before {
  content: " ";
}

@media (prefers-color-scheme: dark) {
  .secure-badge {
    background: #111827;
    color: #e5e7eb;
    border-top: 1px solid #374151;
  }
}




