/* ============================================================
   loja.css — Frontend do catálogo
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&display=swap');

:root {
  --brand:   #E07B2A;
  --dark:    #1A1A2E;
  --text:    #1c1c1c;
  --muted:   #666;
  --light:   #f7f5f2;
  --white:   #fff;
  --border:  #e5e0d8;
  --radius:  10px;
  --ok:      #1a6b3a; --ok-bg: #d6f0e0;
  --warn:    #7a5700; --warn-bg: #fef8dc;
  --fds:     #1a3a6b; --fds-bg: #d6e4f7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--light); color: var(--text); font-size: 15px; line-height: 1.65; }
a    { color: inherit; text-decoration: none; }
img  { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ── BANNER DESPACHO ── */
.banner-despacho { padding: 9px 0; font-size: 13px; font-weight: 500; text-align: center; }
.despacho-ok   { background: var(--ok-bg);   color: var(--ok); }
.despacho-tarde{ background: var(--warn-bg);  color: var(--warn); }
.despacho-fds  { background: var(--fds-bg);   color: var(--fds); }

/* ── HEADER ── */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; height: 62px; gap: 20px; }
.logo-link { flex-shrink: 0; }
.logo-img  { height: 38px; width: auto; }
.logo-txt  { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: var(--brand); }
.header-nav { display: flex; gap: 18px; align-items: center; margin-left: auto; font-size: 14px; }
.header-nav a:hover { color: var(--brand); }
.btn-pedido { background: var(--brand); color: #fff !important; padding: 8px 18px; border-radius: var(--radius); font-weight: 500; }
.menu-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; margin-left: auto; }

/* ── HERO ── */
.hero { background: var(--dark); padding: 56px 0; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hero-eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 10px; }
.hero-inner h1 { font-family: 'Syne', sans-serif; font-size: 44px; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 14px; }
.hero-inner h1 span { color: var(--brand); }
.hero-sub { font-size: 14px; color: rgba(255,255,255,.6); max-width: 480px; margin-bottom: 24px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.hbadge { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; text-align: center; }
.hbadge-val   { display: block; font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: #fff; }
.hbadge-label { display: block; font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }

/* ── BOTÕES ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: var(--radius); font-size: 14px; font-weight: 500; border: none; cursor: pointer; transition: all .15s; }
.btn-pri { background: var(--brand); color: #fff; }
.btn-pri:hover { background: #c06820; }
.btn-sec { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-sec:hover { background: rgba(255,255,255,.18); }
.btn-full { width: 100%; justify-content: center; }

/* ── SEÇÕES ── */
.sec-produtos    { padding: 44px 0; }
.sec-como        { padding: 48px 0; background: var(--dark); }
.sec-pix         { padding: 32px 0; }
.sec-header      { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.sec-header h2   { font-family: 'Syne', sans-serif; font-size: 24px; }
.sec-como h2     { font-family: 'Syne', sans-serif; font-size: 24px; color: #fff; text-align: center; margin-bottom: 28px; }
.link-ver-todos  { font-size: 13px; color: var(--brand); }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step  { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 24px; }
.step-n { font-size: 10px; font-weight: 700; color: var(--brand); letter-spacing: 1px; text-transform: uppercase; }
.step-icon { font-size: 28px; margin: 10px 0 12px; }
.step h3 { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step p  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ── PIX ── */
.pix-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pix-left strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.pix-left p { font-size: 13px; color: var(--muted); }
.pix-chave-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pix-label { font-size: 12px; color: var(--muted); }
.pix-chave { font-size: 16px; font-weight: 700; color: var(--dark); letter-spacing: .5px; }
.btn-copiar { background: var(--dark); color: #fff; border: none; border-radius: 7px; padding: 7px 14px; font-size: 12px; cursor: pointer; }

/* ── GRID PRODUTOS ── */
.prods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.prod-card  { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform .15s; }
.prod-card:hover { transform: translateY(-2px); }
.prod-card-img { height: 160px; background: var(--light); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sem-foto, .sem-foto-sm { font-size: 42px; }
.badge-dest   { position: absolute; top: 8px; left: 8px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 20px; }
.badge-estoque{ position: absolute; top: 8px; right: 8px; background: #e07b2a33; color: var(--brand); font-size: 10px; padding: 3px 8px; border-radius: 20px; }
.prod-card-body   { padding: 12px; }
.prod-card-cat    { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.prod-card-nome   { display: block; font-size: 13px; font-weight: 500; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card-footer { display: flex; align-items: center; justify-content: space-between; }
.prod-card-preco  { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--brand); }
.btn-add          { background: var(--dark); color: #fff; border: none; border-radius: 7px; padding: 6px 14px; font-size: 12px; cursor: pointer; }

/* ── PRODUTO DETALHE ── */
.breadcrumb     { padding: 14px 0; font-size: 12px; color: var(--muted); }
.breadcrumb a   { color: var(--muted); } .breadcrumb a:hover { color: var(--brand); }

/* ── PÁGINA DE PRODUTO ── */
.prod-detalhe-page { padding: 0 20px 60px; }
.produto-detalhe   { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 48px; }

/* GALERIA — maior e com miniaturas laterais */
.prod-galeria     { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 80px; }
.prod-img-main    { background: var(--white); border: 1px solid var(--border); border-radius: 16px; height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.prod-img-main img{ width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.prod-img-main:hover img { transform: scale(1.04); }
.thumbnails       { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumb            { width: 76px; height: 76px; object-fit: cover; border: 2px solid var(--border); border-radius: 10px; cursor: pointer; flex-shrink: 0; transition: all .15s; }
.thumb:hover      { border-color: var(--brand); }
.thumb.ativa      { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(224,123,42,.2); }

/* INFO */
.prod-cat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.prod-info h1   { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.prod-preco     { font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800; color: var(--brand); margin-bottom: 16px; }
.prod-desc      { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.75; }
.estoque-info   { font-size: 13px; padding: 9px 14px; border-radius: 8px; margin-bottom: 16px; font-weight: 500; }
.estoque-info.ok   { background: var(--ok-bg); color: var(--ok); }
.estoque-info.baixo{ background: var(--warn-bg); color: var(--warn); }
.estoque-info.zero { background: #fde8e8; color: #8b1a1a; }

/* VARIAÇÕES estilo Shopee */
.prod-vars          { margin-bottom: 22px; }
.var-label-topo     { font-size: 14px; color: var(--muted); display: block; margin-bottom: 12px; }
.var-label-topo strong { color: var(--text); font-size: 15px; }
.var-pills          { display: flex; gap: 10px; flex-wrap: wrap; }

.vpill              { display: flex; flex-direction: column; align-items: center; gap: 0; border: 2px solid var(--border); border-radius: 8px; padding: 0; font-size: 11px; font-weight: 500; cursor: pointer; background: var(--white); transition: all .15s; overflow: hidden; min-width: 72px; max-width: 90px; }
.vpill:hover:not(.on) { border-color: #bbb; }
.vpill.on           { border-color: var(--brand); }

/* Wrap da imagem com tick de selecionado */
.vpill-img-wrap     { position: relative; width: 100%; }
.vpill-img-wrap img { width: 100%; height: 68px; object-fit: cover; display: block; }
.vpill-check        { position: absolute; bottom: 4px; right: 4px; background: var(--brand); color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; font-weight: 700; display: none; align-items: center; justify-content: center; }
.vpill.on .vpill-check { display: flex; }

/* Nome embaixo da miniatura */
.vpill-nome         { display: block; padding: 5px 6px 6px; font-size: 11px; font-weight: 500; color: var(--text); text-align: center; line-height: 1.3; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vpill.on .vpill-nome { color: var(--brand); }

/* Variação sem foto — formato pill horizontal */
.vpill:not(:has(.vpill-img-wrap)) { flex-direction: row; padding: 8px 16px; min-width: auto; max-width: none; border-radius: 20px; gap: 0; }
.vpill:not(:has(.vpill-img-wrap)) .vpill-nome { padding: 0; font-size: 13px; white-space: nowrap; overflow: visible; }

.btn-pedido-grande { padding: 15px; font-size: 15px; margin-bottom: 14px; border-radius: 12px; }
.prod-pix-info  { background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px; padding: 14px 16px; font-size: 13px; margin-bottom: 12px; }
.prod-pix-info strong { display: block; margin-bottom: 4px; }
.despacho-badge { font-size: 13px; padding: 10px 14px; border-radius: 8px; }
.despacho-badge.despacho-ok    { background: var(--ok-bg); color: var(--ok); }
.despacho-badge.despacho-tarde { background: var(--warn-bg); color: var(--warn); }
.despacho-badge.despacho-fds   { background: var(--fds-bg); color: var(--fds); }

/* ── CATÁLOGO ── */
.catalogo-layout   { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 32px 0 48px; }
.sidebar           {}
.filtro-bloco      { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.filtro-bloco h3   { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.busca-campo       { display: flex; }
.busca-campo input { flex: 1; border: 1px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); padding: 8px 10px; font-size: 13px; background: var(--light); }
.busca-campo button{ background: var(--brand); color: #fff; border: none; border-radius: 0 var(--radius) var(--radius) 0; padding: 8px 12px; cursor: pointer; }
.cat-lista         { list-style: none; }
.cat-lista a       { display: block; padding: 6px 8px; border-radius: 6px; font-size: 13px; color: var(--muted); }
.cat-lista a:hover, .cat-lista a.on { background: #fff0e5; color: var(--brand); font-weight: 500; }
.catalogo-header h1 { font-family: 'Syne', sans-serif; font-size: 22px; margin-bottom: 4px; }
.catalogo-header p  { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* ── PEDIDO FORM ── */
.pedido-wrap    { padding: 28px 0 60px; max-width: 780px; }
.page-title     { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.pedido-form    { display: flex; flex-direction: column; gap: 0; }
.form-section   { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin-bottom: 16px; }
.form-section h2{ font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--dark); }
.form-row       { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-row label { font-size: 12px; color: var(--muted); font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; font-size: 14px;
  background: var(--light); font-family: inherit; transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--brand); }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opcional  { font-weight: 400; color: var(--muted); }
.hint      { font-size: 13px; color: var(--muted); }

.produto-preview { display: flex; gap: 12px; align-items: center; background: var(--light); border-radius: 8px; padding: 10px; margin-bottom: 14px; }
.produto-preview img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.produto-preview div { display: flex; flex-direction: column; gap: 2px; }
.produto-preview strong { font-size: 14px; }
.produto-preview span   { font-size: 12px; color: var(--muted); }

.valor-total-preview { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.valor-total-preview strong { color: var(--brand); font-family: 'Syne', sans-serif; font-size: 20px; }

.pix-instrucao     { background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.pix-instrucao strong { font-size: 14px; display: block; margin-bottom: 10px; }
.pix-chave-destaque{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.pix-chave-destaque span { font-size: 12px; color: var(--muted); }
.pix-chave-destaque strong { font-size: 16px; color: #1a5c2a; letter-spacing: .5px; }
.btn-copiar-sm  { background: #1a6b3a; color: #fff; border: none; border-radius: 6px; padding: 5px 12px; font-size: 12px; cursor: pointer; }
.pix-instrucao p { font-size: 13px; color: var(--muted); }

.upload-area    { border: 2px dashed var(--border); border-radius: 10px; padding: 18px; text-align: center; cursor: pointer; transition: border-color .15s; }
.upload-area:hover { border-color: var(--brand); }
.upload-area input { display: none; }
.upload-area label { cursor: pointer; font-size: 13px; color: var(--muted); }

.despacho-form { font-size: 13px; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.despacho-form.despacho-ok    { background: var(--ok-bg);   color: var(--ok); }
.despacho-form.despacho-tarde { background: var(--warn-bg); color: var(--warn); }
.despacho-form.despacho-fds   { background: var(--fds-bg);  color: var(--fds); }

.btn-enviar { padding: 15px; font-size: 16px; border-radius: 12px; margin-top: 4px; }
.form-obs   { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ── SUCESSO PEDIDO ── */
.pedido-ok    { text-align: center; padding: 48px 20px; max-width: 500px; margin: 0 auto; }
.ok-icon      { font-size: 64px; margin-bottom: 16px; }
.pedido-ok h2 { font-family: 'Syne', sans-serif; font-size: 28px; margin-bottom: 10px; }
.pedido-ok p  { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.btn-wpp      { display: block; background: #25D366; color: #fff; padding: 14px; border-radius: 10px; font-size: 15px; font-weight: 600; text-align: center; margin: 24px 0 16px; }
.pix-resumo   { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; }
.pix-resumo strong { display: block; margin-bottom: 8px; }
.pix-resumo p      { font-size: 14px; margin-bottom: 4px; }

/* ── ALERTAS ── */
.alerta      { padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.alerta-ok   { background: var(--ok-bg); border: 1px solid #86efac; color: var(--ok); }
.alerta-erro { background: #fde8e8; border: 1px solid #fca5a5; color: #8b1a1a; }

/* ── FOOTER ── */
.site-footer  { background: var(--dark); padding: 32px 0 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; padding-bottom: 24px; }
.footer-pix strong, .footer-info p:first-child, .footer-despacho strong { display: block; color: #fff; font-size: 13px; margin-bottom: 4px; }
.footer-pix span, .footer-info p, .footer-despacho span { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 20px; text-align: center; font-size: 11px; color: rgba(255,255,255,.3); }

.vazio { text-align: center; padding: 48px 0; color: var(--muted); }

/* ── CARRINHO HEADER ── */
.cart-icon-link   { position: relative; display: inline-flex; align-items: center; gap: 5px; }
.cart-badge       { background: var(--brand); color: #fff; border-radius: 20px; font-size: 10px; font-weight: 700; padding: 1px 7px; min-width: 18px; text-align: center; }

/* ── PÁGINA CARRINHO ── */
.carrinho-page    { padding: 28px 20px 60px; }
.page-title       { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.cart-count-title { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 400; color: var(--muted); }
.carrinho-vazio   { text-align: center; padding: 80px 20px; }
.vazio-icon       { font-size: 64px; margin-bottom: 16px; }
.carrinho-vazio h2{ font-family: 'Syne', sans-serif; font-size: 22px; margin-bottom: 8px; }
.carrinho-vazio p { color: var(--muted); margin-bottom: 22px; }
.carrinho-layout  { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.carrinho-itens   { display: flex; flex-direction: column; }

.cart-item        { display: grid; grid-template-columns: 76px 1fr auto auto 32px; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.cart-item-img    { width: 72px; height: 72px; background: var(--light); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cart-item-img img{ width: 100%; height: 100%; object-fit: cover; }
.cart-item-nome   { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.cart-item-var    { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cart-item-preco-unit { font-size: 12px; color: var(--muted); }
.cart-item-qty    { display: flex; align-items: center; gap: 6px; }
.qty-btn          { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 7px; background: var(--light); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover    { background: var(--border); }
.qty-input        { width: 48px; height: 30px; text-align: center; border: 1px solid var(--border); border-radius: 7px; font-size: 13px; font-weight: 500; }
.cart-item-subtotal{ font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--brand); white-space: nowrap; min-width: 80px; text-align: right; }
.cart-item-rm     { color: var(--muted); font-size: 14px; text-align: center; }
.cart-item-rm:hover { color: #c0392b; }
.cart-acoes       { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn-outline      { background: var(--white); color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover{ border-color: var(--brand); color: var(--brand); }

.cart-resumo      { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; height: fit-content; position: sticky; top: 80px; }
.cart-resumo h2   { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.resumo-itens     { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.resumo-linha-item{ display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); gap: 8px; }
.resumo-linha-item em { color: var(--text); font-style: normal; }
.resumo-sep       { border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.resumo-total     { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.resumo-total span:last-child { color: var(--brand); font-family: 'Syne', sans-serif; }
.pix-resumo-box   { background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px; padding: 14px; margin-bottom: 16px; font-size: 13px; }
.pix-resumo-box strong { display: block; margin-bottom: 8px; }
.pix-chave-resumo { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.pix-chave-resumo span { font-weight: 600; color: #1a5c2a; font-size: 14px; }
.btn-copiar-sm    { background: #1a6b3a; color: #fff; border: none; border-radius: 6px; padding: 4px 10px; font-size: 11px; cursor: pointer; }
.pix-resumo-box p { font-size: 12px; color: var(--muted); }
.btn-finalizar    { padding: 14px; font-size: 15px; border-radius: 12px; margin-bottom: 10px; }
.btn-limpar       { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; }
.btn-limpar:hover { color: #c0392b; }

/* PEDIDO COM CARRINHO */
.pedido-header    { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.link-voltar      { font-size: 13px; color: var(--brand); }
.pedido-layout    { display: flex; flex-direction: column; max-width: 680px; }
.resumo-itens-pedido { display: flex; flex-direction: column; gap: 10px; }
.resumo-item-linha   { display: flex; align-items: center; gap: 12px; }
.resumo-item-img     { width: 48px; height: 48px; object-fit: cover; border-radius: 7px; border: 1px solid var(--border); flex-shrink: 0; }
.resumo-item-info    { flex: 1; }
.resumo-item-info strong { display: block; font-size: 13px; }
.resumo-item-info span   { font-size: 12px; color: var(--muted); }
.resumo-item-preco   { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.resumo-total-linha  { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; font-size: 16px; }

/* BOTÕES PRODUTO */
.prod-qty-row       { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.prod-qty-row label { font-size: 13px; color: var(--muted); }
.qty-ctrl-prod      { display: flex; align-items: center; gap: 8px; }
.qty-ctrl-prod #qty-display { font-size: 15px; font-weight: 600; min-width: 24px; text-align: center; }
.estoque-disp     { font-size: 12px; color: var(--muted); }
.btn-add-cart     { margin-bottom: 10px; padding: 14px; font-size: 15px; border-radius: 12px; }
.btn-comprar-agora{ padding: 11px; font-size: 13px; border-radius: 12px; }

/* ── RESPONSIVO ── */
@media (max-width: 860px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-badges      { grid-template-columns: repeat(3,1fr); }
  .produto-detalhe  { grid-template-columns: 1fr; }
  .catalogo-layout  { grid-template-columns: 1fr; }
  .sidebar          { display: none; }
  .steps            { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; }
  .header-nav       { display: none; position: absolute; top: 62px; right: 0; background: var(--white); flex-direction: column; padding: 16px; border: 1px solid var(--border); border-radius: 0 0 10px 10px; width: 220px; }
  .header-nav.open  { display: flex; }
  .menu-toggle      { display: block; }
  .carrinho-layout  { grid-template-columns: 1fr; }
  .cart-item        { grid-template-columns: 60px 1fr auto; grid-template-rows: auto auto; }
  .cart-item-subtotal { grid-column: 3; grid-row: 1; }
  .cart-item-qty    { grid-column: 2; grid-row: 2; }
  .cart-item-rm     { grid-column: 3; grid-row: 2; }
}
