/* ============================================================
   Catálogo NOVO design — base "Atelier" (Claude Design handoff)
   Arquivo PARALELO: não substitui catalog.css. Usado só pelo
   layout themes/shop/default_novo.php.
   ============================================================ */
:root {
  --ink: #17160F;
  --ink-soft: #2A2820;
  --graphite: #45433C;
  --muted: #8C897E;
  --faint: #B6B3A8;
  --line: rgba(20,18,12,.12);
  --line-soft: rgba(20,18,12,.07);
  --paper: #FBFAF6;
  --paper-2: #F4F3EF;
  --surface: #ffffff;
  --tile: #ECEAE3;
  --tile-2: #E4E2DA;
  --ok: #2F6B4F;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,18,12,.05);
  --shadow-md: 0 14px 34px rgba(20,18,12,.10);
  --shadow-lg: 0 24px 60px rgba(20,18,12,.16);
  --maxw: 1280px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
.serif { font-family: "Newsreader", serif; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; }

/* ===== Placeholder tiles ===== */
.card .pic > div, .gallery .main-img > div, .gallery .thumb > div,
.cart-item .thumb > div, .promo-banner .i > div, .item .main-img > div { display: contents; }
.ph { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
      background: var(--tile); overflow: hidden; }
.ph svg { width: 36%; height: 36%; max-width: 130px; stroke: rgba(20,18,12,.32); stroke-width: 1.1; fill: none; }
.ph .mono { position: absolute; right: 12px; bottom: 8px; font-family: "JetBrains Mono", monospace;
            font-size: 10px; letter-spacing: .05em; color: rgba(20,18,12,.28); }
.ph-grad { background: linear-gradient(140deg, #EFEDE6 0%, #E2E0D7 100%); }
.ph-dark { background: linear-gradient(140deg, #2A2820 0%, #1B1A14 100%); }
.ph-dark svg { stroke: rgba(255,255,255,.30); }

/* ===== Top utility bar ===== */
.util { background: var(--ink); color: #EFEDE6; font-size: 12.5px; font-weight: 500; letter-spacing: .01em; }
.util .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; height: 38px; text-align: center; }
.util svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* ===== Header ===== */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(251,250,246,.86); backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line-soft); }
.hd-main { display: flex; align-items: center; gap: 26px; height: 78px; }
.logo { font-size: 23px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap;
        display: inline-block; max-width: clamp(140px, 26vw, 300px); overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.logo .d { color: var(--muted); }
.logo img { max-height: 70px; width: auto; max-width: 300px; object-fit: contain; display: block; }
.search { flex: 1; display: flex; align-items: center; gap: 12px; background: var(--surface);
          border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 12px 20px; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,18,12,.06); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14.5px; color: var(--ink); }
.search input::placeholder { color: var(--faint); }
.search svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 1.7; flex: 0 0 auto; }
.search button.s-go { border: 0; background: transparent; padding: 0; display: flex; }
.hd-acts { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line);
            display: flex; align-items: center; justify-content: center; position: relative; transition: .15s; }
.icon-btn:hover { background: var(--ink); border-color: var(--ink); }
.icon-btn:hover svg { stroke: #fff; }
.icon-btn svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; transition: stroke .15s; }
.icon-btn .badge { position: absolute; top: -2px; right: -2px; min-width: 21px; height: 21px; padding: 0 5px; background: var(--ink); color: #fff;
                   font-size: 11px; font-weight: 800; border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center;
                   border: 2px solid var(--paper); }
.icon-btn .badge.is-zero { display: none; }
.hd-nav { display: flex; align-items: center; gap: 4px; height: 52px; border-top: 1px solid var(--line-soft); }
.hd-nav a { font-size: 13.5px; font-weight: 600; color: var(--graphite); padding: 9px 16px; border-radius: var(--radius-pill); transition: .15s; }
.hd-nav a:hover { background: var(--paper-2); color: var(--ink); }
.hd-nav a.active { background: var(--ink); color: #fff; }
.hd-nav .spacer { flex: 1; }
.hd-nav .pin { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--graphite); font-weight: 500; }
.hd-nav .pin svg { width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 1.7; }
.hamburger { display: none; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent;
       border-radius: var(--radius-pill); font-weight: 700; font-size: 14.5px; padding: 14px 26px; transition: .16s var(--ease); white-space: nowrap; }
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-remove { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-remove:hover { border-color: #b3261e; color: #b3261e; background: var(--surface); transform: translateY(-1px); }

/* Popup de confirmação genérico */
.app-confirm { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20,18,12,.45); backdrop-filter: blur(2px); }
.app-confirm.show { display: flex; animation: ac-fade .15s var(--ease, ease); }
.app-confirm-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 22px; max-width: 380px; width: 100%; box-shadow: 0 24px 70px rgba(20,18,12,.28); }
.app-confirm .ac-title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.app-confirm .ac-msg { font-size: 14px; color: var(--graphite); line-height: 1.55; margin-bottom: 22px; }
.app-confirm .ac-actions { display: flex; gap: 10px; justify-content: flex-end; }
.app-confirm .ac-actions .btn { padding: 11px 22px; font-size: 14px; }

/* ===== Popup de captura (1º item no carrinho) — reusa overlay .app-confirm e campos .ffield/.fgrid ===== */
.cap-box { position: relative; max-width: 520px; text-align: left; }
.cap-x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; line-height: 1; padding: 4px; }
.cap-x:hover { color: var(--ink); }
.cap-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; padding-right: 28px; }
.cap-sub { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-bottom: 18px; }
.cap-box .fgrid { gap: 12px; }
.cap-box .ffield { margin-bottom: 12px; }
.cap-err { color: #B3261E; font-size: 13px; min-height: 18px; margin: 2px 0 8px; }
/* telefone com DDI via intl-tel-input (popup de captura e finalizar pedido) */
.iti { width: 100%; }
/* dropdown acima do modal do popup (.app-confirm = 3000); !important porque o CSS
   da lib é lazy-loaded DEPOIS deste arquivo e o z-index 1060 dela venceria */
.iti--container { z-index: 3100 !important; }
.iti__country-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); font-size: 13.5px; }
.iti__country { padding: 8px 12px; }
.iti__country.iti__highlight { background: var(--paper-2); }
.iti__selected-flag { border-radius: 12px 0 0 12px; }
.iti--separate-dial-code .iti__selected-flag { background: var(--paper-2); border-right: 1px solid var(--line-soft); }
.cap-actions { display: flex; justify-content: flex-end; gap: 10px; }
@media (max-width: 480px) { .cap-box .fgrid { grid-template-columns: 1fr; } }
@keyframes ac-fade { from { opacity: 0; } to { opacity: 1; } }

/* Cupom aplicado (checkout/finalização) */
.coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper-2); border: 1px solid var(--ok); border-radius: var(--radius); padding: 12px 14px; }
.coupon-applied .ca-left { display: flex; align-items: flex-start; gap: 10px; }
.coupon-applied .ca-left > svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.coupon-applied .ca-code { font-size: 13.5px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.coupon-applied .ca-badge { background: var(--ok); color: #fff; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: var(--radius-pill); }
.coupon-applied .ca-saved { font-size: 12px; color: var(--graphite); margin-top: 3px; }
.coupon-applied .ca-remove { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--radius-pill); padding: 7px 13px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: .15s; white-space: nowrap; }
.coupon-applied .ca-remove:hover { border-color: #b3261e; color: #b3261e; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 15.5px; }
.btn:disabled { opacity: .4; pointer-events: none; }

/* ===== Section headers ===== */
.sec { padding: 56px 0 8px; }
.sec-first { padding-top: 36px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 20px; }
.sec-head .kick { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sec-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; }
.sec-head .link { font-size: 13.5px; font-weight: 700; color: var(--graphite); display: inline-flex; align-items: center; gap: 7px; transition: .15s; }
.sec-head .link:hover { color: var(--ink); gap: 11px; }
.sec-head .link svg { width: 15px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1.9; }

/* ===== Product card ===== */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden;
        transition: .2s var(--ease); cursor: pointer; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.card .pic { aspect-ratio: 1/1; position: relative; background: #fff; }
.card .pic .ph svg { width: 42%; }
.tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px;
       font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 6px 11px; border-radius: var(--radius-pill); }
.tag-off { background: var(--ink); color: #fff; }
.tag-new { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.tag-qty { left: auto; right: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card .cat { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.card .nm { font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.28; margin-bottom: 14px; text-wrap: pretty; }
.card .foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; gap: 2px; }
.price .now { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.price .now small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .was { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.card .add { width: 44px; height: 44px; flex: 0 0 auto; border-radius: var(--radius-pill); border: 0; background: var(--ink);
             display: flex; align-items: center; justify-content: center; transition: .15s; }
.card .add:hover { background: var(--ink-soft); transform: scale(1.06); }
.card .add svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 2; }
.card .add.done { background: var(--ok); }

/* ===== Footer ===== */
.ft { margin-top: 72px; background: var(--ink); color: #D9D6CC; }
.ft .wrap { padding-top: 60px; padding-bottom: 32px; }
.ft-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
/* colunas 1fr têm min-width:auto — conteúdo longo (e-mail/endereço) estoura a tela no mobile */
.ft-top > div { min-width: 0; }
.ft h4 { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.ft p { font-size: 14px; line-height: 1.6; color: #9C998E; max-width: 280px; }
.ft-cnpj { margin-top: 10px; font-size: 12.5px; color: #79766D; }
.ft h5 { color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.ft ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ft ul a { font-size: 14px; color: #B6B3A8; transition: .15s; overflow-wrap: anywhere; }
.ft ul a:hover { color: #fff; }
.ft-bot { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 12.5px; color: #79766D; gap: 16px; flex-wrap: wrap; }
.ft-bot a { color: #B6B3A8; transition: .15s; }
.ft-bot a:hover { color: #fff; }
.ft-soc { display: flex; gap: 10px; }
.ft-soc a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-pill);
            display: flex; align-items: center; justify-content: center; transition: .15s; }
.ft-soc a:hover { background: #fff; border-color: #fff; }
.ft-soc a:hover svg { stroke: var(--ink); }
.ft-soc svg { width: 17px; height: 17px; stroke: #D9D6CC; fill: none; stroke-width: 1.6; }

/* ===== WhatsApp float ===== */
.wa { position: fixed; right: 26px; bottom: 26px; z-index: 90; display: flex; align-items: center; gap: 0;
      background: #25D366; color: #fff; border: 0; border-radius: var(--radius-pill); height: 60px; padding: 0 19px;
      box-shadow: var(--shadow-lg); overflow: hidden; transition: .2s var(--ease); }
.wa svg { width: 26px; height: 26px; fill: #fff; flex: 0 0 auto; }
.wa .lbl { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 700; font-size: 14.5px; transition: .25s var(--ease); }
.wa:hover { padding-left: 22px; background: #1ebe5d; }
.wa:hover .lbl { max-width: 160px; opacity: 1; margin-left: 12px; }

/* ===== Toast ===== */
.app-toast { position: fixed; left: 50%; top: 20px; transform: translateX(-50%); z-index: 1200;
         max-width: min(620px, 92vw); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--ink);
         border-radius: 14px; box-shadow: var(--shadow-lg); padding: 15px 42px 15px 18px; font-size: 14px; font-weight: 500; line-height: 1.5;
         text-align: left; max-height: 72vh; overflow-y: auto; display: none; }
.app-toast.show { display: block; animation: toast-in .3s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translateX(-50%); } }
.app-toast.is-success { border-left-color: var(--ok); }
.app-toast.is-danger { border-left-color: #c0392b; }
.app-toast .text-muted { color: var(--muted); }
.app-toast small { font-size: 12.5px; }
.app-toast .toast-close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.app-toast .toast-close:hover { color: var(--ink); }

/* ===== Mobile drawer ===== */
.scrim { position: fixed; inset: 0; background: rgba(20,18,12,.42); backdrop-filter: blur(2px); z-index: 100; opacity: 0; pointer-events: none; transition: .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 86vw; background: var(--paper); z-index: 101;
          transform: translateX(-100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; overflow: hidden; }
.drawer.show { transform: translateX(0); }
.drawer .dh { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer .dh { gap: 12px; }
.drawer .dh .logo { font-size: 20px; max-width: 200px; }
.drawer .close { width: 40px; height: 40px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface);
                 display: flex; align-items: center; justify-content: center; }
.drawer .close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; }
.drawer .dbody { padding: 14px; overflow-y: auto; flex: 1; }
.drawer .dsec-t { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 16px 12px 8px; font-weight: 700; }
.drawer .ditem { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--ink); }
.drawer .ditem:hover, .drawer .ditem.active { background: var(--surface); }
.drawer .ditem .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--tile); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.drawer .ditem .ic svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.drawer .ditem .cnt { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }

/* ===== Page intro / breadcrumb ===== */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.crumb a:hover { color: var(--ink); }
.crumb svg { width: 13px; height: 13px; stroke: var(--faint); fill: none; stroke-width: 2; }
.crumb .cur { color: var(--ink); font-weight: 600; }

/* ===== Generic fade-in ===== */
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
.rise { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .45s var(--ease) both; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .util .wrap { font-size: 11.5px; }
  .util .hide-sm { display: none; }
  .hd-main { flex-wrap: wrap; height: auto; padding: 11px 0 13px; gap: 12px; justify-content: space-between; }
  /* nome trunca com … na mesma linha dos actions: reserva ☰(46) + 🛒(48) + 2 gaps(24) = 118px */
  .logo { font-size: 20px; order: 1; flex: 0 1 auto; min-width: 0; max-width: calc(100% - 118px); }
  .logo img { max-height: 52px; }
  .hamburger { order: 0; }
  .hd-acts { order: 2; }
  .search { order: 3; flex: 1 1 100%; width: 100%; padding: 12px 18px; }
  .hd-acts .acct { display: none; }
  .hd-nav { display: none; }
  .hamburger { display: flex; width: 46px; height: 46px; border-radius: var(--radius-pill); background: var(--surface);
               border: 1px solid var(--line); align-items: center; justify-content: center; flex: 0 0 auto; }
  .hamburger svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.8; fill: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sec { padding: 36px 0 4px; }
  .sec-head h2 { font-size: 23px; }
  .card .body { padding: 13px 14px 16px; }
  .card .nm { font-size: 14.5px; }
  .price .now { font-size: 17px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .wa { right: 16px; bottom: 16px; height: 54px; }
  .wa .lbl { display: none; }
}
@media (max-width: 420px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ============================================================
   SHOP — listagem (grade de produtos)
   ============================================================ */
.card .pic img.pic-img { width: 100%; height: 100%; object-fit: cover; display: block; font-size: 0; color: transparent; }
.shop { display: grid; grid-template-columns: 264px 1fr; gap: 36px; align-items: start; padding-top: 26px; }
.shop--no-side { grid-template-columns: 1fr; }
.shop--no-side .side { display: none; }
.side { position: sticky; top: 185px; max-height: calc(100vh - 205px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.side::-webkit-scrollbar { width: 8px; }
.side::-webkit-scrollbar-thumb { background: var(--line); border-radius: var(--radius-pill); }
.side::-webkit-scrollbar-track { background: transparent; }
.side-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 8px; margin-bottom: 16px; }
.side-card .t { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 12px 12px 8px; }
.side-cat { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; font-size: 14px; font-weight: 600;
            color: var(--graphite); cursor: pointer; transition: .14s; text-decoration: none; }
.side-cat:hover { background: var(--paper-2); color: var(--ink); }
.side-cat.active { background: var(--ink); color: #fff; }
.side-cat .cnt { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }
.side-cat.active .cnt { color: rgba(255,255,255,.6); }

.shop-main .toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 14px; flex-wrap: wrap; }
.shop-main .toolbar > div:first-child { flex: 1 1 240px; min-width: 0; }
.shop-main h1 { font-size: 28px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.shop-main .sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.sortbox { display: flex; align-items: center; gap: 10px; }
.sortbox select { -webkit-appearance: none; -moz-appearance: none; appearance: none;
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 11px 42px 11px 18px;
  font-size: 13.5px; font-weight: 600; background-color: var(--surface); color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C897E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; }
.sortbox select:hover { border-color: var(--ink); }
.sortbox select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,18,12,.06); }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty svg { width: 48px; height: 48px; stroke: var(--faint); fill: none; stroke-width: 1.4; margin-bottom: 16px; }
.empty h3 { font-size: 20px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }

/* paginação */
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px 0 8px; }
.pager .count { text-align: center; color: var(--muted); font-size: 13.5px; padding-bottom: 16px; }
.btn.is-disabled { opacity: .4; pointer-events: none; }

/* chips de categorias — substituem a sidebar no mobile (rolagem horizontal) */
.cat-chips { display: none; }
@media (max-width: 1024px) {
  .shop { grid-template-columns: 1fr; }
  .side { display: none; }
  .cat-chips { display: flex; gap: 8px; overflow-x: auto; margin: 16px -24px 0; padding: 2px 24px 6px;
               scrollbar-width: none; -webkit-overflow-scrolling: touch;
               -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
               mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .cat-chips::-webkit-scrollbar { display: none; }
  .cat-chip { flex: 0 0 auto; padding: 9px 17px; border-radius: var(--radius-pill); border: 1px solid var(--line);
              background: var(--surface); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600;
              color: var(--graphite); white-space: nowrap; transition: .15s; }
  .cat-chip:hover { border-color: var(--ink); color: var(--ink); }
  .cat-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
}
@media (max-width: 720px) {
  .cat-chips { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
}

/* ============================================================
   PÁGINA DE PRODUTO (item)
   ============================================================ */
.item { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 22px; align-items: start; }
.gallery .main-img { aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); position: relative; background: #fff; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; display: block; font-size: 0; color: transparent; }
.gallery .main-img .tag { top: 18px; left: 18px; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 12px; }
.gallery .thumb { aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft); cursor: pointer; transition: .14s; background: #fff; }
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; font-size: 0; color: transparent; }
.gallery .thumb.active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,18,12,.08); }
.idet .cat { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: .02em; }
.idet h1 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 14px; text-wrap: balance; }
.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.mode-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill); white-space: nowrap; display: inline-block; }
.mode-tag.rent { background: var(--ink); color: #fff; }
.mode-tag.sale { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.cat-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill); white-space: nowrap; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.cat-tag svg { width: 13px; height: 13px; fill: currentColor; stroke: none; flex: 0 0 auto; }
.cat-tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }
.iprice { display: flex; align-items: baseline; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.iprice .now { font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.iprice .now small { font-size: 15px; font-weight: 600; color: var(--muted); }
.iprice .was { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.iprice .off { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: var(--radius-pill); }
.idet .lead { font-size: 15px; color: var(--graphite); line-height: 1.65; margin-bottom: 26px; }
.idet .lead p { margin: 0 0 10px; }
.idet .lead p:last-child { margin-bottom: 0; }
.idet .lead ul, .idet .lead ol { margin: 0 0 12px; padding-left: 20px; }
.idet .lead li { margin: 2px 0; }
.idet .lead a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.idet .lead img { max-width: 100%; height: auto; }
.field-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-end; flex-wrap: wrap; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--graphite); margin-bottom: 8px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 46px; height: 48px; border: 0; background: var(--surface); font-size: 20px; color: var(--ink); }
.qty button:hover { background: var(--paper-2); }
.qty span { min-width: 56px; text-align: center; font-weight: 700; font-size: 15px; }
.ibuy-row { display: flex; gap: 12px; margin-bottom: 24px; }
.unavailable { display: inline-block; background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 12px 20px; font-weight: 600; font-size: 14px; margin-bottom: 24px; }
.ispec { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); margin-bottom: 20px; }
.ispec .t { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.ispec .spec { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--graphite); padding: 5px 0; border-bottom: 1px solid var(--line-soft); }
.ispec .spec:last-child { border-bottom: 0; }
.kit-note { display: flex; align-items: flex-start; gap: 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-size: 13.5px; color: var(--graphite); line-height: 1.5; margin: 0 0 18px; }
.kit-note svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kit-note strong { color: var(--ink); font-weight: 800; }

/* Lista de itens do kit (página de produto) */
.kit-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.kit-li { display: flex; align-items: center; gap: 15px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 16px 12px 12px; transition: .15s var(--ease); }
.kit-li:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.kl-thumb { width: 62px; height: 62px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-soft); background: #fff; flex: 0 0 auto; }
.kl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kl-body { flex: 1; min-width: 0; }
.kl-nm { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kl-sub { font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: .04em; }
.kl-qty { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 11px; white-space: nowrap; }
.kl-go { width: 18px; height: 18px; flex: 0 0 auto; stroke: var(--muted); fill: none; stroke-width: 2; transition: .15s; }
.kit-li:hover .kl-go { stroke: var(--ink); transform: translateX(3px); }
@media (max-width: 1024px) {
  .item { display: block; }
  .item .gallery { margin-bottom: 30px; }
}
@media (max-width: 720px) {
  .idet h1 { font-size: 27px; }
  .iprice .now { font-size: 30px; }
}

/* ============================================================
   CARRINHO / CHECKOUT
   ============================================================ */
.cart-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; padding-top: 12px; }
.cart-head { margin-bottom: 22px; }
.cart-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.cart-head .sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.steps { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.steps .st { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--muted); }
.steps .st .n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.steps .st.on { color: var(--ink); }
.steps .st.on .n { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps .bar { flex: 1; height: 1.5px; background: var(--line); max-width: 50px; }
/* Timeline do pedido: barras esticam para ocupar a largura toda (alinha com os cards) */
.steps-timeline { width: 100%; }
.steps-timeline .bar { max-width: none; }
.cart-list { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px; border-bottom: 1px solid var(--line-soft); align-items: center; }
.cart-item:last-child { border-bottom: 0; }
.cart-item .thumb { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--tile); flex: 0 0 auto; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; font-size: 0; color: transparent; }
.cart-item .info .cat { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.cart-item .info .nm { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.cart-item .info .nm a { color: var(--ink); }
.cart-item .info .props { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cart-item .meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cart-item .rm { background: none; border: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.cart-item .rm:hover { color: var(--ink); }
.cart-item .lineprice { text-align: right; }
.cart-item .lineprice .v { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.cart-item .lineprice .u { font-size: 12px; color: var(--muted); }

/* Kit no carrinho: agrupa a linha do kit + seus itens inclusos */
.cart-kit { border-bottom: 1px solid var(--line-soft); }
.cart-kit:last-child { border-bottom: 0; }
.cart-kit .cart-item { border-bottom: 1px dashed var(--line); }
.cart-item .thumb { position: relative; }
.thumb-tag { position: absolute; left: 6px; top: 6px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 3px 7px; border-radius: var(--radius-pill); }
.kit-members { padding: 14px 20px 18px; background: var(--paper-2); }
.kit-members-head { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.kit-members-head svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.kit-members ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 7px 22px; }
.kit-member { display: flex; align-items: center; gap: 10px; }
.km-thumb { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-soft); background: #fff; flex: 0 0 auto; }
.km-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.km-nm { font-size: 12.5px; font-weight: 600; color: var(--graphite); flex: 1; line-height: 1.3; }
.km-nm a { color: var(--graphite); }
.km-nm a:hover { color: var(--ink); }
.km-qty { font-size: 11.5px; font-weight: 800; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 1px 8px; flex: 0 0 auto; }
.cart-qtysel select, .cart-qtysel input { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 9px 14px; font-weight: 700; font-size: 14px; background: var(--surface); color: var(--ink); }
.summary { position: sticky; top: 185px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px; }
.summary h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.osum-items { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.osum-item { display: flex; align-items: flex-start; gap: 10px; }
.oi-qty { flex: 0 0 auto; min-width: 27px; height: 22px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 800; color: var(--ink); }
.oi-nm { flex: 1; min-width: 0; color: var(--graphite); font-size: 13px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oi-price { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sum-row { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; margin-bottom: 13px; color: var(--graphite); }
.sum-row.tot { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; margin-bottom: 22px; }
.sum-row.tot .lbl { font-size: 16px; font-weight: 700; color: var(--ink); }
.sum-row.tot .v { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.summary .note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.5; }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty .ic { width: 86px; height: 86px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.cart-empty .ic svg { width: 38px; height: 38px; stroke: var(--muted); fill: none; stroke-width: 1.4; }
.cart-empty h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.cart-empty p { color: var(--muted); margin-bottom: 26px; }
/* detalhe do pedido */
.ostatus { display: inline-block; padding: 7px 16px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
/* Variantes por status — mesmo padrão da versão antiga, em paleta soft/elegante */
.ostatus.is-quote     { background: #edf1fb; color: #3a59ac; border-color: #d7e1f6; } /* Em Orçamento */
.ostatus.is-waiting   { background: #fdf4e4; color: #976710; border-color: #f3e3bf; } /* Aguardando Confirmação */
.ostatus.is-confirmed { background: #f1ecfb; color: #6541ad; border-color: #e2d6f5; } /* Confirmado */
.ostatus.is-pending   { background: #fdeee5; color: #b75e16; border-color: #f6ddc8; } /* Aguardando Pgto */
.ostatus.is-ok        { background: #e9f4ec; color: #2e7d4f; border-color: #cfe8d8; } /* Pago */
.ostatus.is-done      { background: #e6f2f3; color: #277b86; border-color: #cce6e9; } /* Finalizado */
.ostatus.is-debit     { background: #fdeceb; color: #c0392b; border-color: #f3c8c2; } /* Finalizado com Débito */
.ostatus.is-cancel    { background: #f1efeb; color: #6f6a61; border-color: #e3e0d8; } /* Cancelado */
.ostatus.is-expired   { background: #fdeceb; color: #c0392b; border-color: #f3c8c2; } /* Expirado */
.app-note { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; font-size: 13.5px; color: var(--graphite); line-height: 1.55; margin: 8px 0; }

/* Aviso "já está no carrinho" na página de produto */
.cart-note { display: flex; align-items: flex-start; gap: 10px; background: var(--paper-2); border: 1px solid var(--ok); border-radius: var(--radius); padding: 12px 16px; font-size: 13.5px; color: var(--graphite); line-height: 1.5; margin: 0 0 18px; }
.cart-note svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-note strong { color: var(--ink); font-weight: 800; }
.cart-note a { color: var(--ink); font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* ===== Conta (login / cadastro) ===== */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; margin: 26px 0 40px; background: var(--surface); }
.auth-side { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side .logo { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.auth-side .big { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; text-wrap: balance; }
.auth-side .sub { font-size: 15px; color: rgba(255,255,255,.66); line-height: 1.6; }
.auth-side .pts { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.auth-side .pt { display: flex; gap: 12px; align-items: center; font-size: 14px; color: rgba(255,255,255,.85); }
.auth-side .pt svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 2; flex: 0 0 auto; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 44px 40px; }
.auth-form { width: 100%; max-width: 420px; }
.auth-tabs { display: flex; gap: 6px; background: var(--paper-2); padding: 5px; border-radius: var(--radius-pill); margin-bottom: 26px; }
.auth-tabs button { flex: 1; border: 0; background: transparent; padding: 12px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14.5px; color: var(--graphite); cursor: pointer; }
.auth-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-form h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.auth-form .lead { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.fg { margin-bottom: 15px; }
.fg > label { display: block; font-size: 12.5px; font-weight: 700; color: var(--graphite); margin-bottom: 7px; }
.fg .inp { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--surface); transition: .15s; }
.fg .inp:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,18,12,.06); }
.fg .inp svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 1.7; flex: 0 0 auto; }
.fg .inp input { flex: 1; border: 0; outline: 0; background: transparent; padding: 13px 0; font-size: 14.5px; color: var(--ink); }
.fg .inp .eye { background: none; border: 0; padding: 4px; cursor: pointer; display: flex; }
.fg select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; background: var(--surface); color: var(--ink); }
.fg select:focus { outline: 0; border-color: var(--ink); }
.auth-row { display: flex; align-items: center; justify-content: flex-end; margin: 4px 0 18px; font-size: 13.5px; }
.auth-row a { color: var(--ink); font-weight: 700; }
.auth-radios { display: flex; gap: 20px; }
.auth-radios label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; cursor: pointer; }
@media (max-width: 1024px) { .auth { grid-template-columns: 1fr; min-height: 0; } .auth-side { display: none; } .auth-form-wrap { padding: 32px 22px; } }

/* ===== Conta: perfil + meus pedidos ===== */
.acct-wrap { display: grid; grid-template-columns: 264px 1fr; gap: 28px; align-items: start; padding-top: 16px; margin-bottom: 32px; }
.acct-side { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 22px; text-align: center; position: sticky; top: 185px; }
.acct-avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; background: var(--tile); border: 1px solid var(--line); }
.acct-side .nm { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.acct-side .em { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; word-break: break-word; }
.acct-nav { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.acct-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--graphite); transition: .14s; }
.acct-nav a:hover { background: var(--paper-2); color: var(--ink); }
.acct-nav a.active { background: var(--ink); color: #fff; }
.acct-nav a.danger:hover { background: #fbe9e7; color: #c0392b; }
.acct-nav a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; flex: 0 0 auto; }
.order-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.order-row:last-child { border-bottom: 0; }
.order-date { text-align: center; }
.order-date .d { font-size: 24px; font-weight: 800; line-height: 1; }
.order-date .m { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.order-mid .proto { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.order-mid .proto a { color: var(--ink); }
.order-mid .meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.order-end { text-align: right; }
.order-end .v { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 1024px) { .acct-wrap { grid-template-columns: 1fr; } .acct-side { position: static; } }
@media (max-width: 720px) { .order-row { grid-template-columns: 52px 1fr; } .order-end { grid-column: 2; text-align: left; margin-top: 4px; } }

/* ===== Mensagens/avisos (conteúdo vindo do servidor) ===== */
.text-muted { color: var(--muted); }
.msg-card { text-align: center; padding: 40px 30px; }
.msg-card .msg-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.msg-card .msg-ic svg { width: 34px; height: 34px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.msg-card h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.msg-card p { color: var(--graphite); line-height: 1.6; margin-bottom: 6px; }
.msg-rich { line-height: 1.65; color: var(--graphite); }
.msg-rich h1, .msg-rich h2, .msg-rich h3, .msg-rich h4 { color: var(--ink); letter-spacing: -.02em; margin-bottom: 10px; }
.msg-rich a { color: var(--ink); font-weight: 700; }
.msg-rich a.btn-primary { color: #fff; } /* botões não herdam a cor de link da área */
/* caixas de formulário (datas/e-mail) */
.fbox { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; }
.fbox .t { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ffield { margin-bottom: 4px; }
.ffield label { display: block; font-size: 12.5px; font-weight: 700; color: var(--graphite); margin-bottom: 7px; }
.ffield input, .ffield select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; background: var(--surface); color: var(--ink); }
.ffield input:focus, .ffield select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,18,12,.06); }

/* Chevron custom nos selects de formulário (some o nativo colado na borda) */
.ffield select, .fg select, .cart-qtysel select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C897E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
@media (max-width: 1024px) {
  .cart-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
  .fgrid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cart-item { grid-template-columns: 72px 1fr; gap: 14px; padding: 16px; }
  .cart-item .thumb { width: 72px; height: 72px; }
  .cart-item .lineprice { grid-column: 2; text-align: left; margin-top: 4px; }
  .kit-members { padding: 14px 16px 16px; }
  .kit-members ul { grid-template-columns: 1fr; }
}

/* ===== Modal (compat com Bootstrap JS, sem carregar bootstrap.css) ===== */
.modal { position: fixed; inset: 0; z-index: 1050; display: none; overflow-y: auto; padding: 20px; }
.modal.show { display: block; }
.modal-dialog { max-width: 460px; margin: 6vh auto; }
.modal-content { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-title { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.modal-body { padding: 18px 20px; font-size: 14.5px; color: var(--graphite); line-height: 1.55; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.modal .close { background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal .btn-secondary, .modal .btn-success { background: var(--ink); color: #fff; border: 0; }
.modal-backdrop { position: fixed; inset: 0; z-index: 1040; background: rgba(20,18,12,.5); }
.modal-backdrop.fade { opacity: 0; transition: opacity .15s linear; }
.modal-backdrop.show { opacity: 1; }
body.modal-open { overflow: hidden; }

/* ===== Overlay de carregamento (submits/AJAX do carrinho) ===== */
.page-loading { position: fixed; inset: 0; z-index: 2000; background: rgba(251,250,246,.72); backdrop-filter: blur(3px); display: none; }
.page-loading .loading-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.page-loading .spin { width: 46px; height: 46px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: pl-spin .7s linear infinite; }
.page-loading .lbl { font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
@keyframes pl-spin { to { transform: rotate(360deg); } }

/* ===== Datepicker (bootstrap-datepicker) no design novo (sem bootstrap.css) ===== */
.datepicker.dropdown-menu { position: absolute; z-index: 1060; }
.datepicker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 12px; width: auto; min-width: 0; }
.datepicker table { width: auto; margin: 0; }
.datepicker table tr td, .datepicker table tr th { width: 34px; height: 34px; text-align: center; border-radius: 9px; font-size: 13px; border: 0; font-weight: 600; }
.datepicker table tr th.datepicker-switch { font-weight: 800; font-size: 14px; }
.datepicker table tr th.prev, .datepicker table tr th.next { font-size: 17px; color: var(--graphite); }
.datepicker table tr td.day:hover, .datepicker table tr th:hover, .datepicker table tr td.focused { background: var(--paper-2); cursor: pointer; }
.datepicker table tr td.today { background: var(--tile) !important; color: var(--ink) !important; }
.datepicker table tr td.active, .datepicker table tr td.active:hover { background: var(--ink) !important; color: #fff !important; }
.datepicker table tr td.old, .datepicker table tr td.new, .datepicker table tr td.disabled, .datepicker table tr td.disabled:hover { color: var(--faint); cursor: default; background: transparent; }
.datepicker .dow { color: var(--muted); font-weight: 700; font-size: 11px; }
.datepicker table tr td span { display: inline-block; width: 23%; height: 54px; line-height: 54px; border-radius: 9px; }
.datepicker table tr td span:hover { background: var(--paper-2); cursor: pointer; }
.datepicker table tr td span.active { background: var(--ink); color: #fff; }
