:root{--navy:#0b1730;--blue:#156da8;--blue-2:#0e5a8d;--ink:#111827;--muted:#64748b;--line:#e2e8f0;--soft:#f6f8fb;--white:#fff;--success:#0d9f6e;--danger:#dc2626;--shadow:0 16px 45px rgba(15,23,42,.09)}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--soft);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(21,109,168,.22);outline-offset:2px}[hidden]{display:none!important}.no-scroll{overflow:hidden}
.site-header{height:76px;padding:0 clamp(18px,4vw,58px);background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:32px;position:sticky;top:0;z-index:50;backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink)}.brand-symbol{width:48px;height:48px;object-fit:contain;display:block}.brand-text{display:flex;flex-direction:column;line-height:1}.brand-text strong{font-family:Manrope,sans-serif;font-size:1.12rem;letter-spacing:.09em;color:var(--blue)}.brand-text small{font-size:.57rem;font-weight:800;letter-spacing:.28em;color:#64748b;margin-top:5px}.main-nav{justify-self:center;display:flex;align-items:center;gap:8px}.nav-link{border:0;background:transparent;padding:10px 14px;border-radius:8px;font-weight:650;color:#475569;cursor:pointer}.nav-link:hover,.nav-link.active{background:#eef6fb;color:var(--blue)}.header-actions{display:flex;align-items:center;gap:8px}.action-btn{height:40px;border-radius:8px;padding:0 14px;border:1px solid var(--line);background:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:7px;font-size:.82rem;font-weight:700;cursor:pointer}.action-btn span{min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:#edf2f7;font-size:.7rem}.action-btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}.action-btn.primary span{background:rgba(255,255,255,.16)}.action-btn.selected{border-color:#e11d48;color:#be123c;background:#fff1f2}.menu-toggle{display:none;border:0;background:transparent;font-size:1.4rem}
.app-shell{min-height:calc(100vh - 132px)}.app-view{animation:viewIn .22s ease both}.app-view.active{display:block}@keyframes viewIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.clean-hero{min-height:520px;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f6f9fc 100%);border-bottom:1px solid var(--line);padding:54px 20px}.hero-watermark{position:absolute;width:min(480px,55vw);height:min(480px,55vw);object-fit:contain;opacity:.035;right:4%;top:50%;transform:translateY(-50%);pointer-events:none}.hero-content{position:relative;z-index:1;width:min(850px,100%);text-align:center}.eyebrow{display:block;color:var(--blue);font-size:.68rem;font-weight:800;letter-spacing:.14em}.hero-content h1{font-family:Manrope,sans-serif;font-size:clamp(2.15rem,5vw,4.2rem);line-height:1.03;letter-spacing:-.04em;margin:14px auto 16px;max-width:800px}.hero-content>p{max-width:680px;margin:0 auto;color:var(--muted);font-size:1rem}.hero-search{margin:30px auto 0;max-width:760px;height:58px;background:#fff;border:1px solid #d8e1ea;border-radius:12px;box-shadow:0 14px 38px rgba(15,23,42,.08);display:grid;grid-template-columns:48px 1fr auto;align-items:center;padding:5px}.hero-search>span{font-size:1.55rem;color:#94a3b8}.hero-search input{height:46px;border:0;outline:0;font-size:.96rem;min-width:0}.hero-search button{height:46px;border:0;border-radius:8px;background:var(--blue);color:#fff;padding:0 24px;font-weight:750;cursor:pointer}.hero-shortcuts{display:flex;justify-content:center;gap:12px;margin-top:18px}.hero-shortcuts button{border:0;background:transparent;color:var(--blue);font-size:.83rem;font-weight:700;cursor:pointer}.home-strip{width:min(1100px,calc(100% - 36px));margin:-35px auto 42px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(3,1fr);position:relative;z-index:2}.home-strip div{padding:21px 24px;display:flex;flex-direction:column;text-align:center}.home-strip div+div{border-left:1px solid var(--line)}.home-strip strong{font-family:Manrope,sans-serif;font-size:1.25rem}.home-strip span{color:var(--muted);font-size:.75rem;margin-top:3px}
#view-categorias,#view-produtos{width:min(1240px,calc(100% - 36px));margin:0 auto;padding:42px 0 62px}.page-heading,.catalog-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.page-heading h2,.catalog-heading h2{font-family:Manrope,sans-serif;font-size:1.8rem;margin:5px 0 0}.page-heading p{color:var(--muted);font-size:.88rem;margin:6px 0 0}.text-button{border:0;background:transparent;color:var(--blue);font-weight:700;cursor:pointer}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{min-height:155px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:21px;text-align:left;position:relative;cursor:pointer;transition:.18s ease}.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cbd8e5}.category-card strong,.category-card small{display:block}.category-card strong{font-size:1rem;margin-top:20px}.category-card small{color:var(--muted);margin-top:5px}.category-icon{width:38px;height:38px;border-radius:9px;background:#eaf4fa;color:var(--blue);display:grid;place-items:center;font-size:1.25rem}.category-arrow{position:absolute;right:20px;bottom:20px;color:var(--blue);font-weight:800}
.catalog-toolbar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;grid-template-columns:minmax(280px,2fr) repeat(3,minmax(150px,1fr));gap:10px;box-shadow:0 8px 24px rgba(15,23,42,.04);margin-bottom:30px}.catalog-search{height:44px;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:42px 1fr;align-items:center}.catalog-search span{text-align:center;color:#94a3b8;font-size:1.3rem}.catalog-search input,.catalog-toolbar select{height:42px;border:0;background:#fff;padding:0 12px;outline:0;min-width:0}.catalog-toolbar select{border:1px solid var(--line);border-radius:8px}.result-count{background:#eaf4fa;color:var(--blue);font-weight:750;font-size:.76rem;padding:7px 11px;border-radius:999px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:.18s ease}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-media{position:relative;display:block;width:100%;aspect-ratio:1/1;background:#f4f7fa;border:0;padding:0;cursor:pointer;overflow:hidden}.product-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.product-card:hover .product-media img:not(.image-fallback){transform:scale(1.025)}.image-fallback{object-fit:contain!important;padding:24px;background:#f4f7fa}.product-badge{position:absolute;left:12px;top:12px;background:#fff;border:1px solid #e5e7eb;padding:5px 8px;border-radius:999px;font-size:.62rem;font-weight:800;box-shadow:0 4px 12px rgba(15,23,42,.07)}.product-info{padding:15px;display:flex;flex-direction:column;flex:1}.product-meta{display:flex;justify-content:space-between;align-items:center;gap:8px}.product-meta>span{font-size:.63rem;color:var(--blue);font-weight:800;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.favorite-icon{border:0;background:transparent;font-size:1.15rem;color:#94a3b8;cursor:pointer}.favorite-icon.active{color:#e11d48}.product-info h3{font-family:Manrope,sans-serif;font-size:.92rem;line-height:1.28;margin:8px 0 4px;min-height:2.55em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-code{font-size:.71rem;color:var(--muted);margin:0 0 11px}.product-specs{list-style:none;padding:9px 10px;margin:0 0 13px;background:#f8fafc;border-radius:8px}.product-specs li{display:flex;justify-content:space-between;gap:8px;font-size:.67rem}.product-specs li+li{margin-top:4px}.product-specs span{color:var(--muted)}.product-specs strong{font-weight:650;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:58%}.product-bottom{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.consult-price{font-size:.85rem}.product-bottom>div{display:flex;gap:6px}.details-btn,.add-btn{height:35px;border-radius:7px;padding:0 10px;font-size:.7rem;font-weight:750;cursor:pointer}.details-btn{background:#fff;border:1px solid var(--line)}.add-btn{background:var(--navy);color:#fff;border:1px solid var(--navy)}.state-card{padding:40px;background:#fff;border:1px dashed #cbd5e1;border-radius:12px;text-align:center;color:var(--muted)}.state-card strong,.state-card span{display:block}.state-card strong{color:var(--ink);margin-bottom:5px}
.site-footer{min-height:56px;padding:16px clamp(18px,4vw,58px);background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.74rem}.toast{position:fixed;left:50%;top:92px;transform:translate(-50%,-14px);padding:11px 16px;border-radius:8px;background:var(--navy);color:#fff;font-size:.8rem;font-weight:650;opacity:0;pointer-events:none;z-index:100;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:var(--danger)}
.modal,.drawer{position:fixed;inset:0;z-index:80}.modal-backdrop,.drawer-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.54);backdrop-filter:blur(2px)}.modal-card{position:relative;z-index:1;width:min(900px,calc(100% - 28px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:#fff;border-radius:14px;padding:26px;box-shadow:var(--shadow)}.close-btn{border:0;background:transparent;font-size:1.55rem;line-height:1;cursor:pointer}.modal-card>.close-btn{position:absolute;right:16px;top:14px;z-index:2}.modal-product{display:grid;grid-template-columns:1.05fr 1fr;gap:26px}.modal-media{min-height:430px;background:#f4f7fa;border-radius:10px;overflow:hidden}.modal-media img{width:100%;height:100%;object-fit:cover;display:block}.modal-details{padding:18px 12px 10px 0}.modal-details h2{font-family:Manrope,sans-serif;font-size:1.7rem;line-height:1.15;margin:8px 0}.modal-code{color:var(--muted);font-size:.8rem}.modal-details>p{color:var(--muted)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0}.detail-grid div{background:#f8fafc;border-radius:8px;padding:11px}.detail-grid span,.detail-grid strong{display:block}.detail-grid span{font-size:.66rem;color:var(--muted)}.detail-grid strong{font-size:.78rem;margin-top:4px}.send-quote{width:100%;min-height:44px;border:0;border-radius:8px;background:var(--success);color:#fff;font-weight:800;cursor:pointer}.drawer-panel{position:absolute;right:0;top:0;z-index:1;width:min(430px,100%);height:100%;background:#fff;display:flex;flex-direction:column;box-shadow:-18px 0 50px rgba(2,6,23,.17)}.drawer-panel>header{height:82px;padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.drawer-panel h2{font-family:Manrope,sans-serif;margin:3px 0 0;font-size:1.25rem}.quote-items{padding:0 20px;overflow:auto;flex:1}.quote-empty{margin:auto;padding:40px;text-align:center;color:var(--muted)}.quote-item{display:grid;grid-template-columns:66px 1fr;gap:11px;padding:15px 0;border-bottom:1px solid var(--line)}.quote-item>img{width:66px;height:66px;border-radius:8px;object-fit:cover;background:#f4f7fa}.quote-item strong{font-size:.78rem;line-height:1.25;display:block}.quote-item small{color:var(--muted);font-size:.68rem}.quote-controls{display:flex;justify-content:space-between;align-items:flex-end;margin-top:8px}.quote-controls label{font-size:.65rem;color:var(--muted)}.quote-controls input{display:block;width:65px;height:30px;border:1px solid var(--line);border-radius:6px;padding:0 7px;margin-top:3px}.quote-controls button{border:0;background:transparent;color:var(--danger);font-size:.68rem;cursor:pointer}.quote-form{padding:16px 20px 20px;border-top:1px solid var(--line);background:#f8fafc}.quote-form input,.quote-form textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;margin-bottom:8px;background:#fff}.quote-form textarea{resize:vertical}
@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,1fr)}.category-grid{grid-template-columns:repeat(3,1fr)}.catalog-toolbar{grid-template-columns:1fr 1fr}.catalog-search{grid-column:1/-1}.desktop-only{display:none}}
@media(max-width:760px){.site-header{height:68px;grid-template-columns:auto auto 1fr;gap:10px;padding:0 14px}.brand-symbol{width:40px;height:40px}.brand-text strong{font-size:.92rem}.brand-text small{font-size:.5rem}.menu-toggle{display:block;grid-column:2}.main-nav{display:none;position:absolute;left:12px;right:12px;top:66px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.nav-link{text-align:left}.header-actions{justify-self:end}.header-actions .ghost{display:none}.action-btn.primary{padding:0 10px}.clean-hero{min-height:470px;padding:40px 16px}.hero-search{grid-template-columns:40px 1fr}.hero-search button{grid-column:1/-1;width:100%;margin-top:8px}.hero-search{height:auto;padding:7px}.hero-search input{height:44px}.hero-shortcuts{flex-direction:column;gap:7px}.home-strip{grid-template-columns:1fr;margin-top:-22px}.home-strip div+div{border-left:0;border-top:1px solid var(--line)}#view-categorias,#view-produtos{width:min(100% - 24px,1240px);padding-top:28px}.category-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-toolbar{grid-template-columns:1fr}.catalog-search{grid-column:auto}.page-heading,.catalog-heading{align-items:flex-start}.page-heading{flex-direction:column}.product-info{padding:11px}.product-specs{display:none}.product-bottom{align-items:stretch;flex-direction:column}.product-bottom>div{display:grid;grid-template-columns:1fr 1fr}.details-btn,.add-btn{padding:0 6px}.modal-product{grid-template-columns:1fr}.modal-media{min-height:300px}.site-footer{flex-direction:column;gap:4px;text-align:center}.modal-card{padding:18px}.detail-grid{grid-template-columns:1fr}.hero-watermark{width:80vw;height:80vw;right:-20%}}
@media(max-width:430px){.brand-text{display:none}.product-grid{grid-template-columns:1fr 1fr}.product-info h3{font-size:.82rem}.product-meta>span{font-size:.57rem}.category-grid{grid-template-columns:1fr}.header-actions .action-btn.primary{font-size:.72rem}.action-btn.primary span{display:none}}

/* ===== V3.1.5 — correções de navegação, filtros e contraste ===== */
body {
  background-color: #f1f5f9;
}

.clean-hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef4f8 100%);
}

.hero-search button,
.add-btn,
.action-btn.primary {
  background: #0b1730;
  border-color: #0b1730;
  color: #ffffff;
}

.hero-search button:hover,
.add-btn:hover,
.action-btn.primary:hover {
  background: #13264a;
  border-color: #13264a;
}

.category-grid {
  align-items: stretch;
}

.category-card {
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.category-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transition: transform 0.35s ease;
}

.category-card .image-fallback {
  padding: 36px;
  object-fit: contain !important;
}

.category-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(11, 23, 48, 0.08) 15%, rgba(11, 23, 48, 0.88) 100%);
}

.category-content {
  position: absolute;
  left: 20px;
  right: 52px;
  bottom: 19px;
  color: #ffffff;
}

.category-card strong {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.category-card small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
}

.category-card .category-arrow {
  right: 18px;
  bottom: 19px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1730;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #94a3b8;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-card:hover > img {
  transform: scale(1.045);
}

.catalog-toolbar,
.product-card,
.state-card {
  background: #ffffff;
  border-color: #cbd5e1;
}

.product-card {
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #94a3b8;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.catalog-search,
.catalog-toolbar select {
  border-color: #cbd5e1;
}

.details-btn {
  border-color: #cbd5e1;
}

.add-btn {
  min-width: 116px;
}

@media (max-width: 760px) {
  .category-card {
    min-height: 190px;
  }

  .add-btn {
    min-width: 0;
  }
}

/* ===== V3.1.6 — refinamento final de UX e profundidade visual ===== */
body {
  background-color: #f1f5f9;
}

.clean-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.clean-hero .eyebrow,
.clean-hero h1 {
  color: #ffffff;
}

.clean-hero p {
  color: #cbd5e1;
}

.clean-hero .hero-watermark {
  opacity: 0.07;
  filter: brightness(0) invert(1);
}

.hero-shortcuts button {
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero-shortcuts button:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
}

.category-card,
.product-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
              0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: #94a3b8;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10),
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.category-card > img {
  object-fit: cover;
  object-position: center center;
}

.category-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.20) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.catalog-heading-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.btn-back {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-back:hover {
  transform: translateY(-1px);
  border-color: #94a3b8;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.08);
}

.btn-back:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.22);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .catalog-heading-main {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .btn-back {
    min-height: 36px;
  }
}


/* ===== V3.1.7 — painel, alinhamento do hero e badge refinada ===== */
.clean-hero {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.clean-hero .hero-watermark {
  position: absolute;
  right: 5%;
  top: 50%;
  width: min(430px, 42vw);
  height: min(430px, 42vw);
  transform: translateY(-50%);
  object-fit: contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  filter: brightness(0) invert(1);
}

.clean-hero .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.10);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.panel-view {
  min-height: calc(100vh - 78px);
  padding: 56px 20px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #e0f2fe 0%, #f1f5f9 42%, #e8eef5 100%);
}

.panel-view[hidden] {
  display: none !important;
}

.panel-access-card {
  position: relative;
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.btn-back-login {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-back-login span {
  font-size: 1.08rem;
  line-height: 1;
}

.btn-back-login:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateX(-2px);
}

.panel-access-logo {
  width: 82px;
  height: 82px;
  margin: 28px auto 18px;
  object-fit: contain;
}

.panel-access-badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.panel-access-card h2 {
  margin: 15px 0 8px;
  font-family: Manrope, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  color: #0f172a;
}

.panel-access-card p {
  max-width: 420px;
  margin: 0 auto 24px;
  color: #64748b;
  line-height: 1.65;
}

.panel-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.panel-login-link:hover {
  transform: translateY(-2px);
  background: #1e3a8a;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
}

@media (max-width: 760px) {
  .clean-hero .hero-watermark {
    right: -18%;
    width: 78vw;
    height: 78vw;
    opacity: 0.10;
  }

  .panel-view {
    min-height: calc(100vh - 68px);
    padding: 28px 14px;
  }

  .panel-access-card {
    padding: 76px 22px 28px;
    border-radius: 14px;
  }

  .btn-back-login {
    top: 16px;
    left: 14px;
  }

  .panel-access-logo {
    margin-top: 0;
  }
}

/* ===== V3.1.8 — modal comercial e cotação avançada ===== */
.product-card[role="button"] {
  cursor: pointer;
}

.product-card[role="button"]:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.34);
  outline-offset: 3px;
}

.modal-backdrop,
.drawer-backdrop {
  background: rgba(15, 23, 42, 0.60);
  backdrop-filter: blur(4px);
}

.modal-card {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  padding: 28px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

.modal-card > .close-btn {
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.modal-card > .close-btn:hover {
  background: #f1f5f9;
}

.modal-product {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 34px;
}

.modal-media {
  min-height: 520px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.modal-media img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: contain;
  object-position: center;
}

.modal-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 18px 0;
}

.modal-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-category,
.modal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.modal-category {
  background: #e0f2fe;
  color: #0369a1;
}

.modal-badge {
  background: #0f172a;
  color: #ffffff;
}

.modal-details h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.modal-code {
  margin: 0 0 12px;
  color: #64748b;
}

.modal-description {
  margin: 0 0 20px;
  color: #475569;
  line-height: 1.65;
}

.modal-specifications {
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.modal-specifications > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
  gap: 16px;
  padding: 13px 15px;
}

.modal-specifications > div + div {
  border-top: 1px solid #e2e8f0;
}

.modal-specifications span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
}

.modal-specifications strong {
  color: #0f172a;
  font-size: 0.78rem;
  text-align: right;
}

.modal-purchase-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: end;
  gap: 12px;
}

.modal-quantity > span {
  display: block;
  margin-bottom: 7px;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
}

.quantity-stepper,
.quote-stepper {
  display: inline-grid;
  grid-template-columns: 38px 48px 38px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #ffffff;
}

.quantity-stepper button,
.quote-stepper button {
  height: 42px;
  border: 0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.quantity-stepper button:hover,
.quote-stepper button:hover {
  background: #e2e8f0;
}

.quantity-stepper input {
  width: 48px;
  height: 42px;
  border: 0;
  border-right: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  outline: 0;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  text-align: center;
  appearance: textfield;
}

.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.modal-add-button,
.send-quote {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #ffffff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.modal-add-button:hover,
.send-quote:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.22);
}

.drawer-panel {
  width: min(470px, 100%);
}

.quote-item {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 13px;
  padding: 16px 0;
}

.quote-item > img {
  width: 74px;
  height: 74px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.quote-item-content {
  min-width: 0;
}

.quote-item-content > strong {
  color: #0f172a;
  font-size: 0.82rem;
}

.quote-controls {
  align-items: center;
  margin-top: 10px;
}

.quote-stepper {
  grid-template-columns: 30px 38px 30px;
  border-radius: 7px;
}

.quote-stepper button {
  height: 30px;
  font-size: 0.9rem;
}

.quote-stepper span {
  display: grid;
  height: 30px;
  place-items: center;
  border-right: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  font-size: 0.75rem;
  font-weight: 800;
}

.quote-remove {
  color: #dc2626 !important;
  font-weight: 700;
}

.quote-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.78rem;
}

.quote-summary[hidden] {
  display: none !important;
}

.quote-summary strong {
  display: grid;
  min-width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
}

.quote-form {
  background: #f1f5f9;
}

.quote-form input,
.quote-form textarea {
  border-color: #cbd5e1;
}

@media (max-width: 760px) {
  .modal-card {
    width: min(100% - 18px, 1040px);
    max-height: calc(100vh - 18px);
    margin: 9px auto;
    padding: 18px;
    border-radius: 14px;
  }

  .modal-product {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .modal-media {
    min-height: 280px;
    max-height: 42vh;
  }

  .modal-details {
    padding: 0;
  }

  .modal-specifications > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .modal-specifications strong {
    text-align: left;
  }

  .modal-purchase-row {
    grid-template-columns: 1fr;
  }

  .quantity-stepper {
    width: 100%;
    grid-template-columns: 42px 1fr 42px;
  }

  .quantity-stepper input {
    width: 100%;
  }

  .modal-add-button {
    width: 100%;
  }
}
