/* =========================================================
   JM Papelaria — folha de estilos
   Paleta inspirada em maneroatacadista.com.br

   Breakpoints (desktop first):
     ≤1279px  notebook      ≤1023px  tablet
     ≤767px   celular       ≤479px   celular pequeno
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --orange: #F06135;
  --orange-dark: #D94E24;
  --orange-soft: #FFF1EC;
  --brown: #802B11;
  --ink: #151515;
  --ink-2: #282828;
  --gray-600: #6B6B6B;
  --gray-400: #A5A5A5;
  --gray-300: #D7D7D7;
  --gray-200: #EAEAEA;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --green: #6AC768;
  --green-dark: #55B053;
  --yellow: #D9BE24;
  --whats: #2AA647;

  --font: "Montserrat", Arial, sans-serif;
  --container: 1280px;
  --gutter: 32px;
  --radius: 8px;
  --radius-lg: 20px;
  --section-y: 48px;
  --panel-pad: 32px 36px 28px;
  --header-h: 140px;

  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-title: clamp(20px, 1.1rem + .8vw, 26px);

  --stripes: repeating-linear-gradient(-55deg, transparent 0 60px, rgba(255,255,255,.07) 60px 120px);
}
@media (max-width: 1023px) { :root { --gutter: 24px; --section-y: 40px; --panel-pad: 26px 24px 22px; --header-h: 120px; } }
@media (max-width: 767px)  { :root { --gutter: 24px; --section-y: 32px; --panel-pad: 20px 14px 18px; --radius-lg: 16px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--white); font-size: var(--fs-base); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.2; }
p { margin: 0; }
svg { flex: none; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- 3. Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: var(--radius); font-weight: 700; font-size: 13px; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-white { background: var(--white); color: var(--orange); }
.btn-white:hover { background: var(--ink); color: var(--white); }
.btn-whats { background: var(--whats); color: var(--white); }
.btn-whats:hover { background: #22913c; }
.btn-block { width: 100%; }
.btn.added { background: var(--ink); }

/* ---------- 4. Barra de aviso ---------- */
.announce { background: var(--ink); color: var(--white); font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.announce .container { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; padding-block: 4px; }
.announce .sep { opacity: .55; }
.announce-wa { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; background: var(--whats); color: var(--white); padding: 5px 12px; border-radius: 4px; font-size: var(--fs-xs); white-space: nowrap; transition: background .2s; }
.announce-wa svg { width: 14px; height: 14px; }
.announce-wa:hover { background: #22913c; }

/* ---------- 5. Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--gray-200); }
.header.scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.header-main .container { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.menu-toggle { display: none; background: none; border: 0; padding: 6px; margin-left: -6px; cursor: pointer; color: var(--orange); }
.menu-toggle svg { width: 28px; height: 28px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 46px; height: 46px; border-radius: 10px; background: var(--orange); color: var(--white); display: grid; place-items: center; font-weight: 900; font-size: 19px; letter-spacing: -.05em; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.logo-text b span { color: var(--orange); }
.logo-text small { font-size: var(--fs-xs); color: var(--gray-600); margin-top: 4px; white-space: nowrap; }

.search-form { flex: 1; max-width: 520px; position: relative; }
.search-form input { width: 100%; height: 48px; padding: 0 56px 0 22px; border: 1px solid var(--gray-300); border-radius: 999px; background: var(--white); font-size: var(--fs-base); transition: border-color .2s, box-shadow .2s; }
.search-form input::placeholder { color: var(--gray-600); }
.search-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 97, 53, .15); }
.search-form button[type="submit"] { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--orange); cursor: pointer; display: grid; place-items: center; }
.search-form button[type="submit"] svg { width: 20px; height: 20px; }

.header-actions { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.h-action { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); background: none; border: 0; cursor: pointer; padding: 0; position: relative; white-space: nowrap; }
.h-action svg { width: 26px; height: 26px; color: var(--orange); }
.h-action:hover { color: var(--orange); }
.cart-btn .badge { position: absolute; top: -6px; left: 16px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: var(--fs-xs); font-weight: 700; display: grid; place-items: center; border: 2px solid var(--white); }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 14px); right: -20px; width: 270px; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 5; }
.dropdown-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 6px; }
.dropdown-menu a:hover { background: var(--orange-soft); }
.dropdown-menu svg { width: 22px; height: 22px; color: var(--orange); }
.dropdown-menu small { display: block; color: var(--gray-600); font-size: var(--fs-xs); }
.dropdown-menu b { font-size: 13px; }

.catnav { border-top: 1px solid var(--gray-200); }
.catnav .container { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 46px; }
.catnav a, .catnav button { font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 12px 2px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; background: none; border: 0; cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.catnav a:hover, .catnav a.active, .catnav button:hover { color: var(--orange); border-bottom-color: var(--orange); }
.catnav svg { width: 14px; height: 14px; }
.catnav .all { font-weight: 700; }
.catnav .all svg { width: 18px; height: 18px; color: var(--orange); }
.catnav .dropdown-menu { left: 0; right: auto; width: 300px; top: 100%; }

/* Sugestões da busca */
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70; background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.14); padding: 6px; max-height: min(70vh, 520px); overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.search-results a:hover, .search-results a.active { background: var(--orange-soft); }
.search-results img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--white); flex: none; }
.search-results span { min-width: 0; }
.search-results b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-results b mark { background: none; color: var(--orange); }
.search-results small { font-size: var(--fs-xs); color: var(--gray-600); }
.search-results .sr-all { justify-content: center; font-weight: 700; color: var(--orange); font-size: 13px; border-top: 1px solid var(--gray-200); border-radius: 0 0 10px 10px; margin-top: 4px; }
.search-results .sr-empty { padding: 16px; text-align: center; color: var(--gray-600); font-size: 13px; }

/* ---------- 6. Gavetas (menu mobile / orçamento) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(90vw, 380px); background: var(--white); display: flex; flex-direction: column; transition: transform .3s ease; }
.drawer-left .drawer-panel { left: 0; transform: translateX(-100%); }
.drawer-right .drawer-panel { right: 0; transform: translateX(100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--orange); color: var(--white); }
.drawer-head h3 { color: var(--white); font-size: 16px; display: flex; align-items: center; gap: 10px; }
.drawer-head h3 svg { width: 22px; height: 22px; }
.drawer-close { background: none; border: 0; color: var(--white); cursor: pointer; padding: 4px; }
.drawer-close svg { width: 24px; height: 24px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 0; }
.drawer-body > a { display: flex; align-items: center; gap: 12px; padding: 13px 20px; font-weight: 600; border-bottom: 1px solid var(--gray-100); }
.drawer-body > a svg { width: 20px; height: 20px; color: var(--orange); }
.drawer-body > a:hover { background: var(--orange-soft); color: var(--orange); }
.drawer-label { padding: 18px 20px 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .08em; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--gray-200); display: grid; gap: 10px; }

.quote-empty { padding: 48px 24px; text-align: center; color: var(--gray-600); }
.quote-empty svg { width: 56px; height: 56px; color: var(--gray-300); margin: 0 auto 12px; }
.quote-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--gray-100); }
.quote-item img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--gray-200); border-radius: 6px; padding: 4px; }
.quote-item b { font-size: 13px; font-weight: 600; display: block; line-height: 1.3; }
.quote-item small { color: var(--gray-600); font-size: var(--fs-xs); }
.quote-remove { background: none; border: 0; cursor: pointer; color: var(--gray-400); padding: 4px; }
.quote-remove:hover { color: var(--orange); }
.quote-remove svg { width: 18px; height: 18px; }

/* Campo de quantidade (orçamento, cards e página de produto) */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--gray-300); border-radius: 6px; margin-top: 6px; background: var(--white); }
.qty button { width: 26px; height: 26px; border: 0; background: none; cursor: pointer; font-weight: 700; color: var(--orange); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: 13px; }
.qty input { border: 0; border-inline: 1px solid var(--gray-300); text-align: center; font-weight: 700; background: var(--white); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 2px solid var(--orange); outline-offset: -1px; }

/* ---------- 7. Banner principal ---------- */
.banner { position: relative; overflow: hidden; background: var(--gray-100); }
.banner-track { display: flex; transition: transform .6s ease; }
.slide { min-width: 100%; position: relative; }
.slide-custom { min-height: clamp(340px, 28.5vw, 480px); background: var(--orange); color: var(--white); display: flex; align-items: center; overflow: hidden; padding-block: 40px; }
.slide-brown { background: var(--brown); }
.slide-ink { background: var(--ink-2); }
.slide-custom::before { content: ""; position: absolute; inset: 0; background: var(--stripes); }
.slide-custom .container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.slide-custom h2 { color: var(--white); font-size: clamp(26px, 1rem + 2.6vw, 54px); font-weight: 900; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; }
.slide-custom h2 span { display: inline-block; background: var(--ink); padding: 2px 14px; margin-top: 6px; border-radius: 6px; }
.slide-ink h2 span { background: var(--orange); }
.slide-custom p { margin: 16px 0 24px; font-size: clamp(14px, .7rem + .5vw, 18px); font-weight: 500; max-width: 520px; }
.slide-img { display: flex; justify-content: center; align-items: center; }
.slide-img img { width: 100%; max-width: 520px; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 20px 44px rgba(0,0,0,.28); }
.banner-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--orange); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.15); z-index: 2; }
.banner-arrow svg { width: 22px; height: 22px; }
.banner-arrow.prev { left: 16px; } .banner-arrow.next { right: 16px; }
.dots { display: flex; justify-content: center; gap: 6px; }
.banner .dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; }
.dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(0,0,0,.25); cursor: pointer; transition: width .25s, background .25s; }
.banner .dots button { background: rgba(255,255,255,.6); }
.dots button.active { width: 22px; background: var(--orange); }

/* ---------- 8. Benefícios ---------- */
.benefits { border-bottom: 1px solid var(--gray-200); }
.benefits .container { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 22px; }
.benefit { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 16px; min-width: 0; }
.benefit + .benefit { border-left: 1px solid var(--gray-300); }
.benefit svg { width: 46px; height: 46px; color: var(--orange); stroke-width: 1.4; }
.benefit b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.benefit span { font-size: var(--fs-sm); color: var(--gray-600); }

/* ---------- 9. Banners promocionais ---------- */
.promo-banners { padding-top: var(--section-y); }
.promo-banners .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.promo-banner { position: relative; overflow: hidden; border-radius: 16px; background: var(--orange); color: var(--white); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 20px; padding: 28px 32px; min-height: 260px; transition: transform .25s, box-shadow .25s; }
.promo-banner::before { content: ""; position: absolute; inset: 0; background: var(--stripes); pointer-events: none; }
.promo-banner > * { position: relative; }
.promo-banner:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(21,21,21,.18); }
.promo-ink { background: var(--ink); }
.promo-brown { background: var(--brown); }
.promo-text h3 { color: var(--white); font-size: clamp(20px, .9rem + 1.1vw, 30px); font-weight: 900; text-transform: uppercase; line-height: 1.05; }
.promo-text h3 span { display: table; margin-top: 6px; padding: 2px 10px; border-radius: 6px; background: var(--ink); font-size: .62em; }
.promo-ink .promo-text h3 span { background: var(--orange); }
.promo-text p { margin: 12px 0 18px; font-size: 13px; opacity: .92; max-width: 300px; }
.promo-text .btn { padding: 10px 18px; font-size: var(--fs-sm); text-transform: uppercase; }
.promo-banner:hover .promo-text .btn { background: var(--ink); color: var(--white); }
.promo-ink:hover .promo-text .btn { background: var(--orange); }
.promo-pic { display: flex; align-items: center; justify-content: center; }
.promo-pic img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--white); box-shadow: 0 14px 30px rgba(0,0,0,.25); }

/* ---------- 10. Seções e painéis ---------- */
.section { padding-block: var(--section-y); }
.section:has(> .hl-panel), .section:has(> .ol-panel) { padding-block: calc(var(--section-y) / 2); }
.section-title { font-size: var(--fs-title); font-weight: 700; margin-bottom: 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head .section-title { margin-bottom: 0; min-width: 0; }
.see-all { display: inline-flex; align-items: center; gap: 4px; color: var(--orange); font-weight: 700; font-size: var(--fs-base); white-space: nowrap; flex: none; }
.see-all svg { width: 16px; height: 16px; transition: transform .2s; }
.see-all:hover { color: var(--orange-dark); text-decoration: underline; }
.see-all:hover svg { transform: translateX(3px); }

.hl-panel, .ol-panel { border-radius: var(--radius-lg); padding: var(--panel-pad); position: relative; }
.hl-panel { background: var(--orange); }
.hl-panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--stripes); pointer-events: none; }
.hl-panel > * { position: relative; }
.hl-panel .section-title, .hl-panel .see-all, .hl-panel .see-all:hover { color: var(--white); }
.hl-panel .product { border-color: transparent; }
.hl-panel .product:hover { box-shadow: 0 12px 28px rgba(128, 43, 17, .35); }
.hl-panel .dots button { background: rgba(255,255,255,.5); }
.hl-panel .dots button.active { background: var(--white); }
.ol-panel { background: var(--white); border: 1.5px solid var(--orange); }

/* Categorias em círculo */
.cat-circles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 16px; }
.cat-circle { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 0; }
.cat-circle .circle { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; transition: transform .25s, background .25s; }
.cat-circle .circle svg { width: 36px; height: 36px; stroke-width: 1.4; }
.cat-circle:hover .circle { transform: scale(1.06); background: var(--brown); }
.cat-circle span:last-child { font-size: 13px; font-weight: 500; white-space: nowrap; }
.cat-circle:hover span:last-child { color: var(--orange); }

/* ---------- 11. Vitrines (carrossel) ---------- */
.shelf { position: relative; --cols: 5; --gap: 20px; }
.shelf-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track > * { scroll-snap-align: start; }
.shelf-arrow { position: absolute; top: 40%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--orange); box-shadow: 0 3px 12px rgba(0,0,0,.15); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.shelf-arrow svg { width: 20px; height: 20px; }
.shelf-arrow.prev { left: -20px; } .shelf-arrow.next { right: -20px; }
.shelf-arrow:hover { background: var(--orange); color: var(--white); }
.shelf .dots { margin-top: 18px; }

/* ---------- 12. Card de produto ---------- */
.product { container-type: inline-size; min-width: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; text-align: center; transition: box-shadow .25s, border-color .25s; }
.product:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); border-color: transparent; }
.product-img { position: relative; display: block; width: 100%; aspect-ratio: 1; margin-bottom: 10px; }
.product-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product:hover .product-img img { transform: scale(1.05); }
.product-tag { display: inline-block; background: var(--yellow); color: var(--white); font-size: var(--fs-xs); font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.product-img .product-tag { position: absolute; top: 0; left: 0; z-index: 1; }
.product h4 { font-size: 13px; font-weight: 500; color: var(--ink-2); line-height: 1.35; margin: 4px 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product h4 a:hover { color: var(--orange); }
.card-qty { display: flex; align-items: center; justify-content: center; gap: 8px; margin: auto 0 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--gray-600); }
.card-qty .qty { margin-top: 0; border-radius: 8px; }
.card-qty .qty button { width: 30px; height: 32px; font-size: 16px; }
.card-qty .qty input { width: 40px; height: 32px; font-size: 13px; }
.product .btn { width: 100%; font-size: var(--fs-sm); padding: 11px 8px; gap: 6px; }
.product .btn svg { width: 15px; height: 15px; }
.product .l-short { display: none; }
.product .wa-link { margin-top: 8px; font-size: var(--fs-sm); color: var(--gray-600); text-decoration: underline; }
.product .wa-link:hover { color: var(--whats); }
/* Cards estreitos: textos mais curtos para nada sair do botão */
@container (max-width: 205px) {
  .product .l-long { display: none; }
  .product .l-short { display: inline; }
  .card-qty > span { display: none; }
}
@container (max-width: 160px) {
  .product .btn svg { display: none; }
}

/* ---------- 13. Páginas internas ---------- */
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--gray-600); padding-block: 18px; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--ink); font-weight: 600; }
.page-title { font-size: clamp(22px, 1rem + 1vw, 28px); font-weight: 700; margin-bottom: 6px; }
.page-desc { color: var(--gray-600); margin-bottom: 26px; }

.cat-banner { background: var(--orange); color: var(--white); border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; gap: 22px; margin-bottom: 28px; position: relative; overflow: hidden; }
.cat-banner::before { content: ""; position: absolute; inset: 0; background: var(--stripes); }
.cat-banner .circle { position: relative; width: 74px; height: 74px; border-radius: 50%; background: var(--white); color: var(--orange); display: grid; place-items: center; flex: none; }
.cat-banner .circle svg { width: 36px; height: 36px; stroke-width: 1.5; }
.cat-banner > div { position: relative; min-width: 0; }
.cat-banner h1 { color: var(--white); font-size: clamp(19px, .9rem + 1vw, 26px); font-weight: 800; text-transform: uppercase; }
.cat-banner p { margin-top: 4px; opacity: .92; }

.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 56px; }
.shop > * { min-width: 0; }
.sidebar { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 16px); }
.sidebar h4 { background: var(--ink); color: var(--white); font-size: 13px; text-transform: uppercase; padding: 14px 16px; }
.sidebar a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--gray-200); font-size: 13px; transition: background .2s, color .2s; }
.sidebar a:last-child { border-bottom: 0; }
.sidebar a:hover { color: var(--orange); background: var(--orange-soft); }
.sidebar a.active { color: var(--orange); font-weight: 700; background: var(--orange-soft); box-shadow: inset 3px 0 0 var(--orange); }
.sidebar .count { color: var(--gray-400); font-size: var(--fs-sm); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 20px; flex-wrap: wrap; }
.toolbar p { color: var(--gray-600); }
.toolbar b { color: var(--ink); }
.toolbar label { flex: 0 1 300px; min-width: 0; }
.toolbar input { height: 40px; width: 100%; border: 1px solid var(--gray-300); border-radius: 999px; padding: 0 16px; }
.toolbar input:focus { outline: none; border-color: var(--orange); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.empty { display: none; text-align: center; padding: 48px 16px; color: var(--gray-600); }
.empty.show { display: block; }
.cat-chips { display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; padding-bottom: 2px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips a { flex: none; padding: 8px 14px; border: 1px solid var(--gray-300); border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.cat-chips a.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* Página de produto */
.pdp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; padding-bottom: 24px; }
.pdp-img { width: min(100%, 440px, calc(100vh - 260px)); min-width: 260px; justify-self: center; aspect-ratio: 1; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; background: var(--white); display: grid; place-items: center; position: sticky; top: calc(var(--header-h) + 16px); }
.pdp-img img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info { min-width: 0; }
.pdp-info .product-tag { margin-bottom: 12px; }
.pdp-info h1 { font-size: clamp(22px, 1rem + 1.4vw, 34px); font-weight: 800; letter-spacing: -.01em; }
.pdp-price { color: var(--orange); font-weight: 800; font-size: clamp(20px, 1rem + .6vw, 24px); margin: 14px 0 18px; }
.pdp-price small { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--gray-600); }
.pdp-desc { font-size: var(--fs-md); line-height: 1.7; color: var(--gray-600); padding-bottom: 22px; border-bottom: 1px solid var(--gray-200); margin-bottom: 22px; }
.pdp-buy { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qty-label { font-weight: 700; font-size: 13px; }
.qty-lg { margin-top: 0; border-radius: 10px; }
.qty-lg button { width: 42px; height: 46px; font-size: 18px; }
.qty-lg input { width: 64px; height: 46px; font-size: 16px; }
.pdp-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pdp-actions .btn { padding: 15px 16px; font-size: var(--fs-base); }
.pdp-perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.pdp-perks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.pdp-perks svg { width: 20px; height: 20px; color: var(--orange); }
.related-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Sobre / contato / política */
.about-strip .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.about-strip h2 { font-size: clamp(22px, 1rem + 1vw, 28px); margin-bottom: 14px; }
.about-strip h2 span { color: var(--orange); }
.about-strip p { color: var(--gray-600); margin-bottom: 12px; font-size: var(--fs-md); }
.about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-imgs div { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); aspect-ratio: 1; padding: 18px; }
.about-imgs div:first-child { background: var(--orange); border: 0; }
.about-imgs img { width: 100%; height: 100%; object-fit: contain; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); background: var(--white); }
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 24px; }
.company div { background: var(--gray-100); border-radius: var(--radius); padding: 12px 14px; }
.company small { display: block; font-size: var(--fs-xs); color: var(--gray-600); text-transform: uppercase; }
.company b { font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; padding-bottom: 40px; }
.contact-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { font-size: 18px; margin-bottom: 18px; }
.contact-card .f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-card .f-contact b { color: var(--ink); word-break: break-word; }
.contact-card .f-contact small { color: var(--gray-600); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field input, .field textarea { border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 12px 14px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,97,53,.12); }
.contact-card form .btn { margin-top: 16px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); height: 340px; margin-bottom: 16px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.prose { max-width: 860px; color: var(--gray-600); padding-bottom: 40px; font-size: var(--fs-md); }
.prose h3 { color: var(--ink); margin: 28px 0 10px; font-size: 18px; }
.prose p { margin-bottom: 12px; }
.prose a { color: var(--orange); text-decoration: underline; word-break: break-word; }

/* ---------- 14. Rodapé ---------- */
.footer { background: var(--ink); color: #cfcfcf; margin-top: 48px; padding-top: 48px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid > div { min-width: 0; }
.footer .logo-text b { color: var(--white); }
.footer .logo-text small, .footer p { color: #a9a9a9; }
.footer p { margin-top: 16px; max-width: 340px; }
.footer h4 { color: var(--orange); font-size: 13px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: #cfcfcf; }
.footer ul a:hover { color: var(--orange); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }
.f-contact small { display: block; color: #cfcfcf; font-size: var(--fs-sm); }
.f-contact b { font-size: var(--fs-base); color: var(--white); overflow-wrap: anywhere; }
.f-contact a:hover b { color: var(--orange); }
.footer .f-contact { gap: 12px; }
.footer .f-contact svg { width: 20px; height: 20px; }
.footer .f-contact small { font-size: var(--fs-xs); }
.footer .f-contact b { font-size: 13px; font-weight: 600; }
.f-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 7px 14px; border: 1px solid var(--orange); border-radius: 999px; color: var(--orange) !important; font-weight: 700; font-size: var(--fs-sm); transition: background .2s, color .2s; }
.f-more svg { width: 14px; height: 14px; }
.f-more:hover { background: var(--orange); color: var(--white) !important; }
.pay-title { margin: 22px 0 12px !important; }
.footer ul.pay-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-list li { width: 40px; height: 26px; flex: none; }
.pay-list img { width: 40px; height: 26px; border-radius: 4px; }
.footer-bottom { border-top: 1px solid #2c2c2c; padding-block: 18px; font-size: var(--fs-sm); color: #8d8d8d; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }

/* ---------- 15. WhatsApp flutuante e aviso ---------- */
.whats-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--whats); color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .2s; }
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 32px; height: 32px; }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; max-width: calc(100% - 32px); background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: var(--radius); font-weight: 600; font-size: 13px; z-index: 120; opacity: 0; transition: .3s; pointer-events: none; display: flex; gap: 10px; align-items: center; }
.toast svg { width: 18px; height: 18px; color: var(--green); }
.toast.show { opacity: 1; translate: -50% 0; }

/* =========================================================
   16. Responsivo
   ========================================================= */

/* ---- Notebook (≤1279px) ---- */
@media (max-width: 1279px) {
  .header-main .container { gap: 24px; }
  .header-actions { gap: 20px; }
  .header-actions .h-label { display: none; }
  .catnav .container { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; gap: 22px; }
  .catnav .container::-webkit-scrollbar { display: none; }
  .catnav .dropdown-menu { display: none; }
  .benefit { padding: 6px 10px; gap: 10px; }
  .benefit svg { width: 38px; height: 38px; }
  .promo-text p { display: none; }
  .shelf { --cols: 4; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .related-grid > :nth-child(n+5) { display: none; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
  .footer-grid > div:last-child { grid-column: 2 / 3; }
}

/* ---- Tablet (≤1023px) ---- */
@media (max-width: 1023px) {
  .announce .hide-sm { display: none; }
  /* menu à esquerda, logo no centro, orçamento à direita e a busca embaixo */
  .header-main .container { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "menu logo actions" "search search search"; gap: 12px 16px; min-height: 0; padding-block: 12px; }
  .menu-toggle { display: block; grid-area: menu; justify-self: start; }
  .logo { grid-area: logo; justify-self: center; }
  .header-actions { grid-area: actions; justify-self: end; margin-left: 0; }
  .header-actions .hide-md { display: none; }
  .search-form { grid-area: search; max-width: none; }
  .search-form input { height: 44px; }
  .catnav { display: none; }

  .banner-arrow { display: none; }
  .slide-custom { padding-block: 36px 48px; }
  .slide-custom .container { gap: 28px; }

  .benefits .container { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 16px; }
  .benefits .container::-webkit-scrollbar { display: none; }
  .benefit { flex: 0 0 auto; justify-content: flex-start; padding: 6px 20px; scroll-snap-align: start; }
  .benefit:first-child { padding-left: 0; }

  .promo-banners .container { gap: 16px; }
  .promo-banner { padding: 22px; gap: 14px; min-height: 220px; }
  .promo-pic img { max-width: 160px; }

  .cat-circles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 20px; padding-bottom: 4px; }
  .cat-circles::-webkit-scrollbar { display: none; }
  .cat-circle { flex: 0 0 auto; width: 88px; scroll-snap-align: start; }
  .cat-circle .circle { width: 76px; height: 76px; }
  .cat-circle .circle svg { width: 32px; height: 32px; }

  .shelf { --cols: 3; --gap: 16px; }
  .shelf-arrow { display: none; }

  .shop { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .cat-chips { display: flex; }

  .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pdp-img { position: static; width: min(100%, 360px); min-width: 0; }
  .related-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-grid > * { scroll-snap-align: start; }
  .related-grid > :nth-child(n+5) { display: flex; }

  .about-strip .container, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:last-child { grid-column: auto; }
}

/* ---- Celular (≤767px) ---- */
@media (max-width: 767px) {
  .announce .container { gap: 8px; font-size: var(--fs-xs); }
  .announce-wa { margin-left: 0; }

  .logo-mark { width: 40px; height: 40px; font-size: 16px; }
  .logo-text b { font-size: 18px; }
  .logo-text small { display: none; }
  .header-actions { gap: 4px; }

  .slide-custom { align-items: flex-start; padding-block: 24px 44px; }
  .slide-custom .container { grid-template-columns: minmax(0, 1fr); gap: 20px; text-align: center; }
  .slide-img { order: -1; }
  .slide-custom p { margin: 12px auto 18px; }
  .slide-img img { max-width: 440px; }

  .benefit svg { width: 34px; height: 34px; }
  .benefit { padding: 4px 16px; }

  .promo-banners .container { grid-template-columns: minmax(0, 1fr); }
  .promo-banner { min-height: 0; }
  .promo-text p { display: block; font-size: var(--fs-sm); margin: 8px 0 14px; }
  .promo-pic img { max-width: 150px; }

  .cat-circle { width: 76px; }
  .cat-circle .circle { width: 64px; height: 64px; }
  .cat-circle .circle svg { width: 28px; height: 28px; }
  .cat-circle span:last-child { font-size: var(--fs-sm); }

  .shelf { --cols: 2.25; --gap: 12px; }
  .section-head { margin-bottom: 18px; }
  .see-all { font-size: 13px; }

  .product { padding: 10px; }
  .product h4 { font-size: var(--fs-sm); margin-bottom: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .related-grid { grid-template-columns: none; grid-auto-columns: 44%; gap: 12px; }

  .toolbar { padding: 10px 12px; }
  .toolbar label { flex: 1 1 100%; }

  .cat-banner { padding: 18px; gap: 14px; }
  .cat-banner .circle { width: 54px; height: 54px; }
  .cat-banner .circle svg { width: 26px; height: 26px; }

  .pdp-buy { justify-content: space-between; }
  .pdp-price { font-size: 17px; margin: 10px 0 14px; }
  .pdp-price small { font-size: var(--fs-xs); }
  .qty-lg { border-radius: 8px; }
  .qty-lg button { width: 34px; height: 36px; font-size: 15px; }
  .qty-lg input { width: 46px; height: 36px; font-size: 14px; }
  .pdp-actions .btn { padding: 14px 12px; }

  .contact-card { padding: 20px; }
  .form-grid, .company { grid-template-columns: 1fr; }
  .map { height: 260px; }

  .footer { margin-top: 32px; padding-top: 36px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom .container { flex-direction: column; }

  .whats-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .whats-float svg { width: 28px; height: 28px; }
}

/* ---- Celular pequeno (≤479px) ---- */
@media (max-width: 479px) {
  .hide-xs { display: none; }
  .announce .container > span { white-space: nowrap; }
  .announce-wa { padding: 5px 10px; }
  .shelf { --cols: 1.6; }
  .pdp-actions { grid-template-columns: minmax(0, 1fr); }
  .promo-banner { grid-template-columns: minmax(0, 1fr) 96px; padding: 18px 16px; gap: 12px; }
  .promo-pic img { max-width: 96px; }
  .promo-text h3 { font-size: 18px; }
  .promo-text .btn { padding: 9px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
