﻿:root {
  --navy: #02103d;
  --navy-2: #071a59;
  --blue: #006fe8;
  --cyan: #00aaf2;
  --yellow: #ffb000;
  --yellow-2: #ffc629;
  --green: #2da94f;
  --red: #d83b4d;
  --ink: #07133f;
  --muted: #707894;
  --surface: #f4f6fa;
  --line: #e2e6ef;
  --white: #fff;
  --shadow: 0 12px 32px rgba(3, 15, 58, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: "Montserrat", Arial, sans-serif; }
body.drawer-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.utility { color: #dce4ff; background: #000a2b; font-size: 10px; }
.utility-inner { max-width: 1600px; height: 31px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner span:first-child { color: #fff; }
.header { position: relative; z-index: 10; color: #fff; background: var(--navy); }
.header-main { max-width: 1600px; min-height: 95px; margin: auto; padding: 11px 28px; display: grid; grid-template-columns: 270px minmax(280px, 1fr) auto; align-items: center; gap: 30px; }
.logo { width: 255px; height: 72px; display: flex; align-items: center; overflow: hidden; }
.logo img { width: 100%; transform: scale(1.35); }
.search { position: relative; z-index: 20; height: 47px; display: flex; border-radius: 5px; overflow: visible; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.search input { min-width: 0; flex: 1; padding: 0 18px; border: 0; color: var(--ink); outline: none; font-size: 12px; }
.search input:focus { box-shadow: inset 0 0 0 2px var(--yellow); }
.search button { width: 57px; border: 0; color: var(--navy); background: var(--yellow); }
.search svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.search input { border-radius: 5px 0 0 5px; }
.search > button { border-radius: 0 5px 5px 0; }
.search-suggestions {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 0;
  right: 57px;
  display: none;
  max-height: min(520px, 72vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #dce4f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(2,13,61,.22);
}
.search-suggestions.open {
  display: grid;
  gap: 7px;
}
.search .search-suggestion-item {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #07164a;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.search .search-suggestion-item:hover {
  border-color: #ffb000;
  background: #fff8e5;
}
.search-suggestion-image {
  width: 68px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f7fb;
}
.search-suggestion-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.search-suggestion-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.search-suggestion-info b {
  overflow: hidden;
  color: #07164a;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.search-suggestion-info small,
.search-suggestion-info em {
  overflow: hidden;
  color: #64708c;
  font-size: 9px;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggestion-empty {
  padding: 16px;
  color: #07164a;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-action { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; color: #fff; background: none; font-size: 11px; font-weight: 600; text-align: left; }
.header-action small, .header-action b { display: block; color: #aeb9de; font-size: 8px; font-weight: 500; }
.header-action b { color: var(--yellow); margin-top: 3px; }
.action-icon { font-size: 26px; font-weight: 400; }
.admin-button { height: 43px; padding: 0 15px; border: 1px solid var(--yellow); border-radius: 4px; color: var(--navy); background: var(--yellow); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-button span { font-size: 16px; vertical-align: -1px; }
.category-nav { max-width: 1600px; margin: auto; display: grid; grid-template-columns: repeat(10, 1fr); color: var(--ink); background: #fff; border-radius: 6px 6px 0 0; }
.category-button { min-height: 72px; padding: 8px 4px; border: 0; border-right: 1px solid #e8eaf0; color: var(--ink); background: #fff; font-size: 9px; font-weight: 700; }
.category-button:first-child { border-radius: 6px 0 0; }
.category-button:last-child { border-radius: 0 6px 0 0; border-right: 0; }
.category-button i { width: 29px; height: 29px; margin: 0 auto 5px; display: grid; place-items: center; border: 1.8px solid var(--navy-2); border-radius: 50%; font-style: normal; font-size: 14px; }
.category-button:hover, .category-button.active { color: #9d6200; background: #fff7df; }
.category-button:hover i, .category-button.active i { border-color: var(--yellow); background: var(--yellow); color: var(--navy); }

.hero { position: relative; min-height: 480px; overflow: hidden; color: #fff; background: radial-gradient(circle at 70% 40%, #133a83 0, #07194f 26%, #020d36 65%); }
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 54px 54px; transform: perspective(500px) rotateX(65deg) scale(1.7) translateY(145px); transform-origin: bottom; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,10,43,.98) 0%, rgba(1,10,43,.8) 42%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 1600px; margin: auto; padding: 70px 28px; }
.hero-kicker, .section-kicker, .drawer-kicker { color: var(--yellow); font-size: 9px; font-weight: 800; letter-spacing: 2px; }
.hero h1 { max-width: 740px; margin: 13px 0 14px; font-size: clamp(36px, 4.1vw, 67px); line-height: .98; letter-spacing: -2.5px; text-transform: uppercase; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-content > p { max-width: 575px; margin: 0; color: #c5cee9; font-size: 13px; line-height: 1.7; }
.hero-buttons { margin-top: 25px; display: flex; gap: 11px; }
.primary-button, .secondary-button { min-height: 43px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 9px; font-weight: 800; }
.primary-button { color: var(--navy); background: var(--yellow); }
.primary-button span { margin-left: 18px; font-size: 17px; }
.secondary-button { border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.04); }
.hero-stats { margin-top: 42px; display: flex; gap: 45px; }
.hero-stats div { padding-left: 13px; border-left: 3px solid var(--yellow); }
.hero-stats b, .hero-stats span { display: block; }
.hero-stats b { font-size: 18px; }
.hero-stats span { margin-top: 3px; color: #9ca9d0; font-size: 8px; }
.hero-visual { position: absolute; z-index: 1; right: max(2vw, 24px); top: 34px; width: 48vw; height: 420px; }
.gear { position: absolute; border-radius: 50%; border: 28px dashed rgba(255,176,0,.2); }
.gear-one { width: 290px; height: 290px; right: 90px; top: 50px; animation: spin 40s linear infinite; }
.gear-two { width: 150px; height: 150px; right: 0; top: 220px; border-width: 18px; animation: spin 24s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.part { position: absolute; filter: drop-shadow(0 28px 25px rgba(0,0,0,.45)); }
.part-disc { width: 225px; height: 225px; right: 220px; top: 108px; border-radius: 50%; background: radial-gradient(circle, #0b1637 0 12%, #8390a4 13% 20%, #222b3d 21% 29%, #c3c9d1 30% 38%, #4b5566 39% 58%, #b8bec7 59% 66%, #212939 67%); transform: rotate(-13deg); }
.part-disc::before { content: ""; position: absolute; inset: 58px; border: 9px dotted #111a2b; border-radius: 50%; }
.part-bearing { width: 150px; height: 150px; right: 70px; top: 80px; border: 30px solid #8e99aa; border-radius: 50%; box-shadow: inset 0 0 0 11px #263044, inset 0 0 0 18px #cbd0d7; transform: rotate(18deg); }
.part-filter { width: 100px; height: 190px; right: 425px; top: 185px; border-radius: 10px 10px 24px 24px; background: linear-gradient(90deg, #0d152a, #657184 30%, #11192c 65%, #8490a2); transform: rotate(17deg); }
.part-filter::after { content: ""; position: absolute; left: 8px; right: 8px; top: -17px; height: 29px; border-radius: 50%; background: #bac1cb; box-shadow: inset 0 0 0 8px #273044; }
.visual-label { position: absolute; padding: 8px 11px; border-left: 3px solid var(--yellow); color: #fff; background: rgba(2,13,61,.8); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.label-a { right: 400px; top: 90px; }.label-b { right: 10px; top: 130px; }.label-c { right: 175px; bottom: 25px; }

.benefits { position: relative; z-index: 3; max-width: 1600px; min-height: 75px; margin: -1px auto 0; display: grid; grid-template-columns: repeat(4,1fr); background: #fff; box-shadow: var(--shadow); }
.benefits article { padding: 15px 22px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); }
.benefits article:last-child { border-right: 0; }
.benefits article > span { width: 37px; height: 37px; display: grid; place-items: center; border: 1.5px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: 19px; }
.benefits b, .benefits small { display: block; }
.benefits b { font-size: 9px; }.benefits small { margin-top: 4px; color: var(--muted); font-size: 8px; }

.catalog-section { max-width: 1600px; margin: 38px auto 0; padding: 0 28px 55px; display: grid; grid-template-columns: 245px 1fr; gap: 24px; }
.filters { align-self: start; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.filter-title { min-height: 73px; padding: 15px; display: flex; align-items: center; gap: 10px; color: #fff; background: var(--navy-2); border-radius: 5px 5px 0 0; }
.filter-title > span { font-size: 26px; }.filter-title small { font-size: 7px; color: #aeb8d8; }.filter-title h2 { margin: 2px 0 0; font-size: 17px; }
.filter-title button { margin-left: auto; padding: 0; border: 0; color: var(--yellow); background: none; font-size: 8px; font-weight: 700; }
.filter-group { padding: 14px 15px; border-bottom: 1px solid var(--line); }
.filter-group-title { width: 100%; padding: 0 0 10px; display: flex; justify-content: space-between; border: 0; color: var(--ink); background: none; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.filter-options { display: grid; gap: 9px; }
.filter-options label { display: flex; align-items: center; color: #5d6680; font-size: 9px; cursor: pointer; }
.filter-options input { width: 14px; height: 14px; margin: 0 8px 0 0; accent-color: var(--blue); }
.filter-options small { margin-left: auto; color: #a3a9ba; }
.catalog-content { min-width: 0; }
.catalog-heading { min-height: 74px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.catalog-heading h2 { margin: 5px 0; font-size: 25px; text-transform: uppercase; }
.catalog-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.catalog-view { display: flex; align-items: center; gap: 7px; }
.catalog-view label { color: var(--muted); font-size: 8px; }
.catalog-view select { height: 36px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; font-size: 9px; }
.view-button { width: 36px; height: 36px; border: 1px solid var(--line); color: #788097; background: #fff; }
.view-button.active { color: #fff; border-color: var(--navy-2); background: var(--navy-2); }
.product-total-summary { margin: 16px 0 14px; color: #050505; font-size: clamp(14px, 1.1vw, 18px); font-weight: 900; letter-spacing: -.2px; }
.active-filters { min-height: 13px; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { padding: 6px 9px; border: 0; border-radius: 14px; color: var(--navy); background: #ffebaf; font-size: 8px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fff; transition: .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #cbd3e5; box-shadow: var(--shadow); }
.product-image { position: relative; height: 160px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#fff,#edf0f6); }
.product-image img { width: 88%; height: 88%; object-fit: contain; }
.product-image img.no-product-image,
.detail-main-image img.no-product-image,
.cart-item-image img.no-product-image,
.search-suggestion-image img.no-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-image .placeholder-part { width: 104px; height: 104px; position: relative; display: grid; place-items: center; border: 20px solid #5d687a; border-radius: 50%; box-shadow: inset 0 0 0 8px #c9ced7, 0 18px 18px rgba(4,15,52,.15); }
.placeholder-part::before { content: ""; width: 25px; height: 25px; border: 8px solid #1f293b; border-radius: 50%; background: #e4e7ed; }
.placeholder-part.type-1 { width: 115px; height: 75px; border: 0; border-radius: 10px; background: linear-gradient(90deg,#1b263c,#7e899a,#121b2e); }
.placeholder-part.type-1::before { width: 38px; height: 38px; border-color: #aab1bd; background: #1e293c; }
.placeholder-part.type-2 { width: 64px; height: 115px; border: 0; border-radius: 9px 9px 20px 20px; background: linear-gradient(90deg,#12203b,#8893a3,#151d2f); }
.placeholder-part.type-2::before { width: 48px; height: 11px; position: absolute; top: -6px; border: 5px solid #263045; background: #cbd0d8; }
.product-badge { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 4px 6px; border-radius: 3px; color: #fff; background: var(--green); font-size: 6px; font-weight: 800; }
.favorite { position: absolute; z-index: 2; top: 5px; right: 7px; border: 0; color: #7c849a; background: none; font-size: 20px; }
.favorite.active { color: var(--red); }
.cart-card-button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07164a;
  background: rgba(255,255,255,.86);
  font-size: 15px;
  box-shadow: 0 3px 10px rgba(2,13,61,.08);
}
.cart-card-button:hover {
  color: #07164a;
  background: #ffb000;
}
.product-body { padding: 11px; border-top: 1px solid var(--line); }
.product-meta { display: flex; justify-content: space-between; color: #848ba0; font-size: 6px; text-transform: uppercase; }
.product-body h3 { height: 31px; margin: 7px 0 4px; overflow: hidden; font-size: 10px; line-height: 1.45; }
.product-app { height: 23px; margin: 0; overflow: hidden; color: #747c91; font-size: 7px; line-height: 1.5; }
.product-footer { margin-top: 10px; display: flex; justify-content: flex-start; align-items: center; }
.details-button { padding: 7px 9px; border: 1px solid var(--navy-2); border-radius: 3px; color: var(--navy-2); background: #fff; font-size: 7px; font-weight: 800; }
.add-quote { width: 31px; height: 29px; border: 0; border-radius: 3px; color: var(--navy); background: var(--yellow); font-size: 16px; font-weight: 900; }
.edit-button { width: 28px; height: 28px; border: 0; color: #fff; background: var(--blue); font-size: 11px; }
.product-grid.list-view { display: grid; grid-template-columns: 1fr; }
.list-view .product-card { display: grid; grid-template-columns: 170px 1fr; }
.list-view .product-image { height: 135px; }.list-view .product-body h3, .list-view .product-app { height: auto; }
.pagination { margin-top: 27px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.page-button { min-width: 35px; height: 35px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; font-size: 8px; font-weight: 700; }
.page-button.active, .page-button:hover { color: #fff; border-color: var(--navy-2); background: var(--navy-2); }
.page-button:disabled { opacity: .4; cursor: default; }
.empty-state { grid-column: 1/-1; padding: 70px 20px; text-align: center; border: 1px dashed #cbd1df; background: #fff; }
.empty-state b { display: block; margin-bottom: 7px; }
.empty-state span { color: var(--muted); font-size: 10px; }

.brands { padding: 27px 5%; text-align: center; background: #fff; border-top: 1px solid var(--line); }
.brands > span { color: #8b92a5; font-size: 7px; font-weight: 700; letter-spacing: 1.4px; }
.brands div { max-width: 1400px; margin: 20px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 35px; overflow-x: auto; }
.brands b { flex: 0 0 auto; color: #19213a; font-family: Georgia,serif; font-size: 21px; }
.brands b:nth-child(2n) { color: #d42130; }.brands b:nth-child(3n) { color: #126fb0; }
footer { color: #d5dcf2; background: var(--navy); }
.footer-grid { max-width: 1500px; margin: auto; padding: 40px 30px 32px; display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 50px; }
.footer-brand img { width: 235px; margin: -23px 0 -9px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.22)); }
.footer-brand p { max-width: 280px; color: #aab5d7; font-size: 9px; line-height: 1.7; }
footer h3 { color: #fff; font-size: 10px; letter-spacing: 1px; }
footer a, footer p { display: block; margin: 10px 0; color: #aab5d7; font-size: 9px; }
.footer-bottom { padding: 15px 30px; border-top: 1px solid rgba(255,255,255,.1); color: #7c89b3; font-size: 8px; text-align: center; }

/* Rodapé institucional Autorama */
.footer-grid {
  max-width: 1500px;
  grid-template-columns: 1.25fr .85fr 1.45fr 1fr .9fr;
  gap: 28px;
  padding-top: 28px;
}
.footer-grid > div:not(:first-child) {
  padding-left: 25px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.footer-contact p {
  margin: 7px 0;
}
.footer-social {
  padding-top: 20px;
}
.footer-social a {
  margin: 0 0 20px;
  color: #fff;
  font-size: 10px;
}
.footer-developer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-developer span {
  margin-bottom: 5px;
  color: #d8dff3;
  font-size: 8px;
}
.footer-developer img {
  width: 165px;
  height: 105px;
  object-fit: contain;
}
@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid > div {
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-developer {
    align-items: flex-start;
    text-align: left;
  }
}

/* Rodapé final: compacto, alinhado e sem conflito com regras anteriores */
footer {
  width: 100%;
  color: #eef2ff;
  background: #02103d;
}
footer .footer-grid {
  width: min(100%, 1440px);
  min-width: 1050px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 25px 34px 22px;
  display: grid;
  grid-template-columns: 1.15fr .8fr 1.45fr 1fr .9fr;
  align-items: start;
  gap: 0;
}
footer .footer-grid > div {
  min-width: 0;
  min-height: 125px;
  padding: 0 22px;
}
footer .footer-grid > div:first-child {
  padding-left: 0;
}
footer .footer-grid > div:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,.2);
}
footer .footer-brand img {
  width: 185px;
  height: 56px;
  margin: 0 0 9px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}
footer .footer-brand p {
  max-width: 220px;
  margin: 0;
  color: #c2cae2;
  font-size: 8px;
  line-height: 1.65;
}
footer h3 {
  margin: 2px 0 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .7px;
}
footer a,
footer p {
  margin: 8px 0;
  color: #d3d9eb;
  font-size: 8px;
  line-height: 1.35;
}
footer .footer-contact p {
  margin: 5px 0;
  white-space: nowrap;
}
footer .footer-social {
  padding-top: 3px;
}
footer .footer-social a {
  margin: 0 0 18px;
  display: block;
  color: #fff;
  font-size: 9px;
  white-space: nowrap;
}
.footer-developer {
  padding-right: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.footer-developer span {
  margin: 2px 0 -12px;
  color: #eef2ff;
  font-size: 8px;
  font-weight: 500;
}
.footer-developer img {
  width: 220px;
  height: 128px;
  margin: 0;
  object-fit: contain;
}

/* Rodapé fiel ao layout de referência */
footer .footer-grid {
  width: min(100%, 1440px);
  min-width: 1050px;
  max-width: 1440px;
  min-height: 145px;
  margin: 0 auto;
  padding: 19px 38px 14px;
  display: grid;
  grid-template-columns: 1.18fr .88fr 1.72fr 1.25fr 1fr;
  align-items: stretch;
  gap: 0;
}
footer .footer-grid > div {
  min-width: 0;
  min-height: 112px;
  padding: 0 23px;
}
footer .footer-grid > div:first-child {
  padding-left: 0;
}
footer .footer-grid > div:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,.22);
}
footer .footer-brand img {
  width: 160px;
  height: 43px;
  margin: -2px 0 7px;
  object-fit: contain;
  object-position: left center;
}
footer .footer-brand p {
  max-width: 205px;
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}
footer h3 {
  margin: 0 0 9px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .7px;
}
footer a,
footer p {
  margin: 6px 0;
  font-size: 8px;
  line-height: 1.25;
}
footer .footer-contact p {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
footer .footer-contact p img,
footer .footer-contact .cnpj-icon {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  display: block;
  object-fit: contain;
}
footer .footer-contact .cnpj-icon {
  display: grid;
  place-items: center;
  color: #4a97ff;
  font-size: 14px;
}
footer .footer-social {
  padding-top: 4px;
}
footer .footer-social a {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
}
footer .footer-social a img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
footer .footer-social a:hover {
  color: #ffb000;
}
footer .footer-developer {
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
footer .footer-developer span {
  margin: 0 0 3px;
  font-size: 7px;
  line-height: 1;
}
footer .footer-developer img {
  width: 150px;
  height: 92px;
  margin: 0;
  object-fit: contain;
}
footer .footer-developer a {
  display: block;
  margin: 0;
}
footer .footer-bottom {
  padding: 7px 38px 9px;
  font-size: 7px;
}
footer .footer-bottom {
  padding: 10px 34px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #8994b8;
  font-size: 7px;
  text-align: left;
}

/* Rodapé: contatos sociais com logos nítidas e visíveis */
footer .footer-social {
  padding-top: 0;
  min-width: 190px;
}
footer .footer-social a {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.2;
  min-height: 24px;
}
footer .footer-social a img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}
footer .footer-social a[href*="instagram"] img {
  width: 23px;
  height: 23px;
}
footer .footer-social a[href*="buscamarcelandia"] img {
  width: 22px;
  height: 22px;
  padding: 0;
  filter: brightness(0) invert(1);
}
footer .footer-social a[href*="wa.me"] img {
  width: 27px;
  height: 27px;
  margin-left: -2px;
  margin-right: -3px;
  border-radius: 0;
  padding: 0;
}
footer .footer-social a:hover {
  color: #ffb000;
}
@media (max-width: 1050px) {
  footer {
    overflow-x: auto;
  }
  footer .footer-grid {
    margin: 0;
  }
  footer .footer-bottom {
    min-width: 1050px;
  }
}

.drawer-backdrop { position: fixed; z-index: 50; inset: 0; visibility: hidden; opacity: 0; background: rgba(0,7,31,.65); backdrop-filter: blur(3px); transition: .25s; }
.drawer-backdrop.show { visibility: visible; opacity: 1; }
.admin-drawer { position: fixed; z-index: 51; top: 0; right: 0; width: min(640px,100%); height: 100vh; padding: 0 25px; overflow-y: auto; transform: translateX(102%); color: var(--ink); background: #fff; box-shadow: -20px 0 50px rgba(0,0,0,.22); transition: transform .28s ease; }
.admin-drawer.open { transform: translateX(0); }
.cart-drawer {
  position: fixed;
  z-index: 52;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100vh;
  padding: 0 22px;
  overflow-y: auto;
  transform: translateX(102%);
  color: var(--ink);
  background: #fff;
  box-shadow: -20px 0 50px rgba(0,0,0,.22);
  transition: transform .28s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.cart-drawer-header span {
  color: #006eee;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.2px;
}
.cart-drawer-header h2 {
  margin: 4px 0 0;
  color: #07164a;
  font-size: 20px;
  text-transform: uppercase;
}
#closeCart {
  width: 37px;
  height: 37px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 25px;
}
.cart-user {
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 5px;
  color: #07164a;
  background: #f0f5ff;
  font-size: 10px;
  font-weight: 800;
}
.cart-items {
  display: grid;
  gap: 10px;
}
.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.cart-item-image {
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  background: #f4f6fa;
}
.cart-item-image img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}
.cart-item h3 {
  margin: 0 0 6px;
  color: #07164a;
  font-size: 11px;
  line-height: 1.35;
}
.cart-item p {
  margin: 3px 0;
  color: #6f7890;
  font-size: 8px;
}
.cart-qty {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cart-qty button {
  min-width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #07164a;
  background: #fff;
  font-weight: 900;
}
.cart-qty button:last-child {
  padding: 0 10px;
  color: #fff;
  border-color: #d84242;
  background: #d84242;
  font-size: 8px;
  text-transform: uppercase;
}
.cart-empty {
  padding: 34px 12px;
  color: #77819b;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 6px;
  font-size: 10px;
}
.cart-actions {
  position: sticky;
  bottom: 0;
  margin-top: 14px;
  padding: 14px 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #fff;
}
.cart-actions button,
.cart-actions a {
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.cart-actions button {
  border: 1px solid var(--line);
  color: #07164a;
  background: #fff;
}
.cart-actions a {
  color: #07164a;
  background: #ffb000;
}
.cart-actions #generateQuote {
  border-color: #ffb000;
  color: #07164a;
  background: #ffb000;
}
.customer-modal {
  position: fixed;
  z-index: 95;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 7, 31, .74);
  backdrop-filter: blur(4px);
  transition: .2s ease;
}
.customer-modal.open {
  visibility: visible;
  opacity: 1;
}
.customer-card {
  position: relative;
  width: min(720px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 34px 95px rgba(0,0,0,.42);
}
.customer-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #07164a;
  background: #ffb000;
  font-size: 24px;
  font-weight: 900;
}
.customer-head {
  padding: 28px 34px 20px;
  color: #fff;
  background: linear-gradient(135deg, #06164f, #071f72);
}
.customer-head span {
  color: #ffb000;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.customer-head h2 {
  margin: 6px 0 5px;
  font-size: 28px;
  line-height: 1;
}
.customer-head p {
  margin: 0;
  color: #dce6ff;
  font-size: 12px;
}
.customer-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid #e5ebf6;
}
.customer-tabs button {
  min-height: 48px;
  border: 0;
  border-right: 1px solid #e5ebf6;
  color: #07164a;
  background: #f7f9fd;
  font-weight: 900;
  font-size: 12px;
}
.customer-tabs button.active {
  color: #07164a;
  background: #ffb000;
}
.customer-modal:not(.logged-in) .account-tab,
.customer-modal:not(.logged-in) .account-panel,
.customer-modal.logged-in .auth-tab,
.customer-modal.logged-in [data-customer-panel="login"],
.customer-modal.logged-in [data-customer-panel="register"] {
  display: none !important;
}
.customer-panel {
  display: none;
  padding: 24px 34px 30px;
  gap: 14px;
}
.customer-panel.active {
  display: grid;
}
.customer-panel label {
  display: grid;
  gap: 6px;
  color: #07164a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.customer-panel input,
.customer-panel select {
  width: 100%;
  height: 42px;
  border: 1px solid #dbe3f2;
  border-radius: 6px;
  padding: 0 12px;
  color: #07164a;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}
.customer-panel input:focus,
.customer-panel select:focus {
  border-color: #ffb000;
  box-shadow: 0 0 0 3px rgba(255,176,0,.18);
}
.customer-two,
.customer-code-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.customer-code-row {
  align-items: end;
}
.customer-code-row button,
.customer-submit {
  height: 42px;
  border: 0;
  border-radius: 6px;
  color: #07164a;
  background: #ffb000;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.customer-submit {
  margin-top: 3px;
  background: #06164f;
  color: #ffffff;
}
.customer-logout {
  height: 42px;
  border: 1px solid #ef4255;
  border-radius: 6px;
  color: #ef4255;
  background: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.customer-logout:hover {
  color: #fff;
  background: #ef4255;
}
.forgot-password-link {
  display: none;
  justify-self: start;
  color: #0b55c8;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.forgot-password-link.show {
  display: inline-flex;
}
.customer-error {
  min-height: 18px;
  margin: -4px 0 0;
  color: #d83145;
  font-size: 12px;
  font-weight: 900;
}
.customer-error:empty {
  display: none;
}
.drawer-header { position: sticky; z-index: 2; top: 0; min-height: 88px; padding: 21px 0 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #fff; }
.drawer-header h2 { margin: 4px 0 0; font-size: 23px; text-transform: uppercase; }
.close-drawer { width: 37px; height: 37px; border: 0; border-radius: 50%; color: #fff; background: var(--navy); font-size: 25px; }
#productForm { padding: 21px 0 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid label { display: grid; gap: 7px; color: #424b65; font-size: 9px; font-weight: 700; }
.form-grid label b { color: var(--red); }
.form-grid .full { grid-column: 1/-1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 11px 12px; border: 1px solid #d9deea; border-radius: 4px; color: var(--ink); background: #fff; outline: none; font-size: 10px; font-weight: 500; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,111,232,.1); }
.form-grid textarea { min-height: 76px; resize: vertical; }
.image-upload > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box { min-height: 105px; padding: 17px; display: grid; place-items: center; gap: 4px; border: 1.5px dashed #b8c0d2; border-radius: 5px; color: var(--blue); background: #f8faff; cursor: pointer; text-align: center; }
.upload-box strong { font-size: 24px; }.upload-box b { color: var(--ink) !important; font-size: 9px; }.upload-box small { color: #8991a6; font-size: 7px; font-weight: 500; }
.image-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.image-preview { position: relative; width: 75px; height: 75px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview button { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: var(--red); }
.form-actions { position: sticky; bottom: 0; margin: 22px -25px -28px; padding: 14px 25px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); background: #fff; }
.cancel-button, .save-button { min-height: 40px; padding: 0 20px; border-radius: 4px; font-size: 9px; font-weight: 800; }
.cancel-button { border: 1px solid #cfd4df; color: #616a82; background: #fff; }
.save-button { border: 0; color: var(--navy); background: var(--yellow); }

.modal { position: fixed; z-index: 60; inset: 0; visibility: hidden; opacity: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,6,29,.72); transition: .2s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-card { position: relative; width: min(760px,100%); max-height: 90vh; overflow-y: auto; border-radius: 7px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal-close { position: absolute; z-index: 2; right: 13px; top: 13px; width: 33px; height: 33px; border: 0; border-radius: 50%; color: #fff; background: var(--navy); font-size: 21px; }
.modal-product { display: grid; grid-template-columns: 44% 1fr; }
.modal-image { min-height: 420px; display: grid; place-items: center; background: #f0f2f6; }
.modal-image img { width: 92%; max-height: 380px; object-fit: contain; }
.modal-info { padding: 45px 30px 30px; }
.modal-info h2 { margin: 8px 0 15px; font-size: 22px; }
.modal-info dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 9px; }
.modal-info dt { color: #8991a5; font-weight: 700; }.modal-info dd { margin: 0; color: var(--ink); line-height: 1.5; }
.modal-info .save-button { margin-top: 22px; }

/* Detalhe do produto no estilo página técnica */
.product-card {
  cursor: pointer;
}
.product-card button {
  cursor: pointer;
}
#productModal.modal {
  z-index: 90;
  padding: 0;
  align-items: stretch;
  background: #ffffff;
}
#productModal .modal-card {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}
#productModal .modal-close {
  position: fixed;
  right: 24px;
  top: 22px;
  background: #02103d;
}
.product-detail-page {
  width: min(1620px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 30px 28px;
  color: #07164a;
}
.detail-breadcrumb {
  margin: 0 44px 14px 2px;
  color: #071c75;
  font-size: 11px;
  font-weight: 700;
}
.detail-breadcrumb button {
  padding: 0;
  border: 0;
  color: #071c75;
  background: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.detail-breadcrumb button:hover {
  color: #ff9f00;
  text-decoration: underline;
}
.detail-breadcrumb span {
  margin: 0 8px;
  color: #9aa4bf;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 42% 34% 24%;
  gap: 24px;
  align-items: start;
}
.detail-gallery {
  min-width: 0;
}
.detail-main-image {
  height: clamp(420px, 58vh, 620px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e8f4;
  border-radius: 6px;
  background: #fff;
  padding: 10px;
}
.detail-main-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  cursor: zoom-in;
}
.detail-main-image .placeholder-part {
  transform: scale(1.35);
}
.detail-thumbs {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.detail-thumbs button {
  width: 86px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e6ebf5;
  border-radius: 6px;
  background: #fff;
}
.detail-thumbs button.active {
  border-color: #ffb000;
  box-shadow: 0 0 0 2px rgba(255,176,0,.18);
}
.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-info {
  padding-top: 2px;
}
.detail-tag {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 7px 13px;
  border-radius: 4px;
  color: #fff;
  background: #006eee;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.detail-info h2 {
  margin: 0 0 7px;
  color: #07164a;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 900;
}
.detail-subtitle {
  margin: 0 0 16px;
  color: #07164a;
  font-size: 13px;
  line-height: 1.35;
}
.detail-table {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  font-size: 11px;
}
.detail-table dt,
.detail-table dd {
  min-height: 34px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f8;
}
.detail-table dt {
  color: #07164a;
  font-weight: 900;
}
.detail-table dd {
  color: #17245c;
  line-height: 1.35;
}
.stock-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 14px;
  color: #07164a;
  background: #ffedb3;
  font-weight: 900;
}
.detail-quality {
  margin: 18px 0 0;
  color: #1232a0;
  font-size: 10px;
  font-weight: 700;
}
.detail-contact {
  padding: 20px 20px 18px;
  border: 1px solid #e4eaf5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(2,13,61,.06);
}
.detail-contact h3 {
  margin: 0 0 14px;
  color: #07164a;
  font-size: 17px;
  font-weight: 900;
}
.detail-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 13px;
  color: #07164a;
  font-size: 11px;
  line-height: 1.3;
}
.detail-contact p span {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #1130c8;
  font-size: 10px;
}
.detail-qty {
  margin: 16px 0 4px;
  padding: 12px;
  border: 1px solid #dfe7f4;
  border-radius: 6px;
  background: #f7f9fd;
}
.detail-qty > span {
  display: block;
  margin-bottom: 8px;
  color: #07164a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.detail-qty > div {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  overflow: hidden;
  border: 1px solid #cdd8ea;
  border-radius: 5px;
  background: #fff;
}
.detail-qty button,
.detail-qty input {
  height: 40px;
  border: 0;
  color: #07164a;
  background: #fff;
  font-family: inherit;
  font-weight: 900;
}
.detail-qty button {
  cursor: pointer;
  font-size: 20px;
}
.detail-qty button:first-child {
  border-right: 1px solid #dfe7f4;
}
.detail-qty button:last-child {
  border-left: 1px solid #dfe7f4;
  background: #ffb000;
}
.detail-qty input {
  width: 100%;
  text-align: center;
  font-size: 15px;
  outline: 0;
  -moz-appearance: textfield;
}
.detail-qty input::-webkit-outer-spin-button,
.detail-qty input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.detail-quote,
.detail-whatsapp {
  width: 100%;
  height: 44px;
  display: grid;
  place-items: center;
  margin-top: 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
}
.detail-quote {
  border: 0;
  color: #07164a;
  background: #ffb000;
}
.detail-whatsapp {
  border: 2px solid #12b66a;
  color: #12a35f;
  background: #fff;
}
.detail-help {
  margin-top: 15px;
  padding: 14px;
  color: #17245c;
  background: #f0f5ff;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.35;
}
.detail-related {
  margin-top: 18px;
}
.detail-related h3 {
  margin: 0 0 10px;
  color: #07164a;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}
.detail-related > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.detail-related article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e4eaf5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.detail-related article > div {
  grid-row: span 4;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.detail-related article img,
.detail-related article .placeholder-part {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-related h4 {
  margin: 0;
  color: #07164a;
  font-size: 10px;
  line-height: 1.35;
}
.detail-related span {
  color: #24305d;
  font-size: 9.5px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: .1px;
}
.detail-related span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 5px;
  vertical-align: 2px;
  border-radius: 50%;
  background: #ffb000;
}
.detail-related button {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid #e4eaf5;
  border-radius: 4px;
  color: #07164a;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
}

.image-zoom {
  position: fixed;
  z-index: 120;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 7, 31, .88);
  transition: .18s ease;
}
.image-zoom.open {
  visibility: visible;
  opacity: 1;
}
.image-zoom img {
  max-width: min(1120px, 96vw);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.image-zoom button {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #07164a;
  background: #ffb000;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}
.toast { position: fixed; z-index: 80; right: 20px; bottom: 20px; max-width: 320px; padding: 13px 17px; transform: translateY(80px); opacity: 0; border-radius: 5px; color: #fff; background: #188449; box-shadow: var(--shadow); font-size: 9px; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1200px) {
  .header-main { grid-template-columns: 220px 1fr; }.logo { width: 210px; }.header-actions { grid-column: 1/-1; justify-content: center; }
  .category-nav { grid-template-columns: repeat(5,1fr); }.hero-visual { opacity: .7; right: -120px; }.product-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 900px) {
  .utility-inner span:not(:first-child) { display: none; }.header-main { display: flex; flex-wrap: wrap; }.logo { margin: auto; }
  .search { order: 3; width: 100%; }.header-actions { width: 100%; }.category-nav { display: flex; overflow-x: auto; }.category-button { min-width: 115px; }
  .hero-content { padding-bottom: 50px; }.hero-visual { opacity: .35; }.benefits { grid-template-columns: repeat(2,1fr); }
  .catalog-section { grid-template-columns: 1fr; }.filters { display: none; }.product-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .header-main { padding: 10px 14px; }.header-action { display: none; }.admin-button { margin-left: auto; }.hero { min-height: 520px; }
  .hero-content { padding: 60px 19px 40px; }.hero h1 { font-size: 38px; }.hero-visual { right: -240px; }.hero-stats { gap: 18px; }
  .benefits { grid-template-columns: 1fr 1fr; }.benefits article { padding: 12px 10px; }.benefits article > span { display: none; }
  .catalog-section { padding: 0 9px 40px; }.catalog-heading { align-items: stretch; flex-direction: column; }.catalog-view { justify-content: space-between; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.product-image { height: 130px; }
  .footer-grid { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr; }.form-grid label, .form-grid .full { grid-column: 1; }
  .modal-product { grid-template-columns: 1fr; }.modal-image { min-height: 240px; }.modal-info { padding-top: 25px; }
}

/* Interface simplificada conforme as marcacoes do cliente */
.utility,
.category-nav,
.hero,
.benefits,
.filters,
.catalog-heading,
.brands {
  display: none !important;
}
.header-main {
  min-height: 112px;
  grid-template-columns: 290px minmax(320px, 1fr) auto;
}
.logo {
  width: 270px;
  height: 82px;
  justify-content: center;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
.catalog-section {
  max-width: 1600px;
  margin-top: 24px;
  grid-template-columns: 1fr;
}
.active-filters { margin-top: 0; }
.footer-brand img {
  width: 235px;
  height: 82px;
  margin: 0 0 10px;
  object-fit: contain;
}
@media (max-width: 1200px) {
  .header-main { grid-template-columns: 250px 1fr; }
  .logo { width: 235px; }
}
@media (max-width: 900px) {
  .header-main { display: flex; }
  .logo { width: 250px; margin: 0 auto; }
}

/* Botao de cadastro removido do cabecalho */
#openAdmin { display: none !important; }

/* Atalhos de favoritos e orcamento removidos do cabecalho */
#favoritesButton,
#quoteButton { display: none !important; }

/* Atalhos ao lado da busca: carrinho de cotação e login */
.header-actions {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
#quoteButton,
#loginButton {
  display: flex !important;
  align-items: center;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px;
  color: #ffffff;
  background: rgba(255,255,255,.04);
  white-space: nowrap;
}
#quoteButton .action-icon,
#loginButton .action-icon {
  width: 26px;
  font-size: 20px;
  line-height: 1;
}
#quoteButton:hover,
#loginButton:hover {
  border-color: var(--yellow);
  background: rgba(255,176,0,.12);
}

/* Faixa horizontal de filtros */
.category-nav {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  max-width: 1600px;
  min-height: 78px;
  overflow: visible;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 5px 18px rgba(0, 8, 40, .12);
}
.category-button {
  min-height: 78px;
  padding: 9px 8px 7px;
  border-right: 1px solid #e4e7ee;
  color: #07134a;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
}
.category-button i {
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
  border: 0;
  border-radius: 0;
  color: #07134a;
  background: transparent;
  font-size: 24px;
}
.category-button:hover,
.category-button.active {
  color: #07134a;
  background: #fff7df;
}
.category-button:hover i,
.category-button.active i {
  color: #07134a;
  background: transparent;
}
.category-button:first-child i {
  font-size: 28px;
}
@media (max-width: 900px) {
  .category-nav { display: flex !important; overflow-x: auto; overflow-y: visible; }
  .category-button { min-width: 130px; }
}

/* Categorias compactas com icones WebP fornecidos */
.category-nav {
  grid-template-columns: repeat(8, minmax(95px, 1fr));
  min-height: 58px;
  overflow: visible;
  position: relative;
  z-index: 70;
}
.category-button {
  min-height: 58px;
  padding: 5px 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 8px;
}
.category-button i {
  width: 32px;
  height: 29px;
  margin: 0;
  display: grid;
  place-items: center;
}
.category-button i img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.category-button span {
  display: block;
  line-height: 1;
}
.category-button:hover i,
.category-button.active i {
  background: transparent;
}
@media (max-width: 900px) {
  .category-button {
    min-width: 105px;
    min-height: 58px;
  }
}

/* Garante a legenda do item Filtros */
/* Correcao definitiva da legenda Filtros */
/* Filtros usa imagem com legenda incorporada */
/* Filtros: icone limpo e legenda HTML nitida */

/* Regra unica e definitiva para o item Filtros */
.category-nav .category-button[data-category="Filtros"] {
  min-height: 62px !important;
  padding: 4px 6px 5px !important;
  overflow: visible !important;
}
.category-nav .category-button[data-category="Filtros"] i {
  width: 25px !important;
  height: 25px !important;
  min-height: 25px !important;
  margin: 0 auto 3px !important;
  overflow: hidden !important;
}
.category-nav .category-button[data-category="Filtros"] i img {
  width: 25px !important;
  height: 25px !important;
  object-fit: contain !important;
}
.category-nav .category-button[data-category="Filtros"] span {
  position: static !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  color: #07134a !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 10px !important;
}
.category-nav .category-button[data-category="Filtros"]::after {
  content: none !important;
}

/* Botao de filtros gerais antes de Transmissao */
.category-nav {
  grid-template-columns: repeat(9, minmax(90px, 1fr));
}
.general-filter-icon {
  width: 27px !important;
  height: 27px !important;
  margin: 0 auto 2px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.general-filter-icon b {
  position: relative;
  width: 21px;
  height: 3px;
  margin-left: 6px;
  display: block;
  border-radius: 2px;
  background: #07134a;
  box-shadow: 0 1px 0 rgba(0,0,0,.18);
}
.general-filter-icon b::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #07134a;
  box-shadow: 0 1px 0 rgba(0,0,0,.18);
}
.category-nav .category-button[data-category="Filtros"],
.category-nav .category-button[data-category="Filtros"]:hover,
.category-nav .category-button[data-category="Filtros"].active,
.category-button[data-category="Filtros"] {
  border-left: 1px solid #e4e7ee;
  background: #ffffff !important;
  color: #07134a !important;
}
.category-nav .category-button[data-category="Filtros"] span,
.category-button[data-category="Filtros"] span {
  color: #07134a !important;
}
.category-button[data-category="Todos"] span {
  display: block !important;
  color: #07134a;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}
.top-category-item {
  position: relative;
  min-width: 0;
}
.top-category-item > .category-button {
  width: 100%;
  height: 100%;
  min-height: 64px;
}
.top-category-item:hover > .category-button,
.top-category-item.active > .category-button {
  color: #9d6200 !important;
  background: #fff1c7 !important;
}
.top-category-item:hover > .category-button i,
.top-category-item.active > .category-button i {
  border-color: var(--yellow) !important;
  background: var(--yellow) !important;
  color: var(--navy) !important;
}
.top-category-item:hover > .category-button[data-category="Filtros"],
.top-category-item.active > .category-button[data-category="Filtros"] {
  background: #fff1c7 !important;
  color: #07134a !important;
}
.top-category-group-menu {
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  z-index: 55;
  width: 220px;
  padding: 10px;
  display: none;
  transform: translateX(-50%);
  border: 1px solid #dce4f6;
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(2, 13, 61, .18);
}
.top-category-item:hover .top-category-group-menu,
.top-category-item:focus-within .top-category-group-menu {
  display: grid;
  gap: 6px;
}
.top-category-group-menu b {
  color: var(--navy-2);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.top-category-group-menu button {
  min-height: 30px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #edf1fa;
  border-radius: 5px;
  color: var(--ink);
  background: #fbfcff;
  font-size: 9px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.top-category-group-menu button:hover {
  border-color: var(--yellow);
  background: #fff6dd;
}
.top-category-group-menu small {
  color: #8b96b5;
  font-weight: 900;
}
@media (min-width: 901px) {
  .category-nav {
    overflow: visible !important;
  }
  .filter-parent-button:hover {
    color: #9d6200 !important;
    background: #fff1c7 !important;
  }
  .filter-parent-button:hover i {
    border-color: var(--yellow) !important;
    background: var(--yellow) !important;
    color: var(--navy) !important;
  }
}
@media (max-width: 900px) {
  .top-category-group-menu {
    display: none !important;
  }
}

/* Painel suspenso acionado pelo filtro pai */
.header { position: relative; }
.filter-dropdown {
  position: absolute !important;
  z-index: 30;
  top: 100%;
  left: max(14px, calc((100% - 1600px) / 2));
  width: min(290px, calc(100% - 28px));
  max-height: min(620px, calc(100vh - 150px));
  margin: 0 !important;
  overflow-y: auto;
  display: none !important;
  border-radius: 0 0 7px 7px;
  box-shadow: 0 18px 45px rgba(0, 8, 40, .28);
}
.filter-dropdown.open {
  display: block !important;
}
.filter-parent-button.active {
  color: #07134a !important;
  background: #fff1c7 !important;
}
@media (max-width: 900px) {
  .filter-dropdown {
    position: fixed !important;
    top: 145px;
    left: 10px;
    width: min(310px, calc(100% - 20px));
  }
}


/* O filtro pai exibe exclusivamente o bloco de categorias */
.filter-dropdown .filter-group {
  display: block !important;
}
.filter-dropdown .filter-group-title {
  display: flex !important;
}
.filter-dropdown #sideCategories {
  display: grid !important;
}
.filter-dropdown .side-category-item {
  position: relative;
  display: grid;
  gap: 6px;
}
.filter-dropdown .side-category-item > label {
  width: 100%;
}
.filter-dropdown .side-category-item.active > label {
  color: var(--navy-2);
  font-weight: 800;
}
.category-group-menu {
  display: none;
  margin: -2px 0 3px 22px;
  padding: 8px;
  border: 1px solid #dce4f6;
  border-radius: 7px;
  background: #f8fbff;
  box-shadow: inset 3px 0 0 var(--yellow);
}
.side-category-item:hover .category-group-menu,
.side-category-item:focus-within .category-group-menu {
  display: grid;
  gap: 5px;
}
.category-group-menu b {
  color: var(--navy-2);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.category-group-menu button {
  min-height: 27px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  font-size: 9px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.category-group-menu button:hover {
  border-color: var(--yellow);
  background: #fff6dd;
}
.category-group-menu small {
  margin-left: 8px;
  color: #8b96b5;
  font-weight: 800;
}

/* Infinite Logo Slider abaixo das categorias */
.brand-marquee {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 84px;
  overflow: hidden;
  border-top: 1px solid #e2e6ef;
  border-bottom: 1px solid #dce1eb;
  background: #fff;
  box-shadow: 0 7px 20px rgba(2, 13, 61, .08);
}
.brand-marquee-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  animation: brand-marquee-scroll 72s linear infinite;
  will-change: transform;
}
.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused;
}
.brand-logo-group {
  flex: none;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}
.brand-logo-item {
  flex: 0 0 150px;
  width: 150px;
  height: 62px;
  padding: 7px 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #edf0f5;
  border-radius: 6px;
  background: #fff;
}
.brand-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.brand-logo-texaco img,
.brand-logo-petronas img,
.brand-logo-lubrax img,
.brand-logo-ipiranga img {
  max-width: 112px;
  max-height: 42px;
  width: auto;
  height: auto;
}
.brand-marquee-fade {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
}
.brand-marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.brand-marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
}
@keyframes brand-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .search-suggestions {
    right: 0;
    max-height: 68vh;
  }
  .search .search-suggestion-item {
    grid-template-columns: 58px 1fr;
  }
  .search-suggestion-image {
    width: 58px;
    height: 52px;
  }
  .brand-marquee { height: 70px; }
  .brand-logo-item { flex-basis: 120px; width: 120px; height: 51px; padding: 5px 10px; }
  .brand-logo-group { gap: 12px; padding-right: 12px; }
  .brand-marquee-track { animation-duration: 58s; }
  .brand-marquee-fade { width: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track { animation-play-state: paused; }
}

/* Movimento continuo forcado do Infinite Logo Slider */
.brand-marquee .brand-marquee-track {
  animation-name: autorama-logo-loop !important;
  animation-duration: 38s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-play-state: running !important;
  transform: translate3d(0, 0, 0);
}
.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused !important;
}
@keyframes autorama-logo-loop {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee .brand-marquee-track {
    animation: autorama-logo-loop 38s linear infinite !important;
  }
}

/* Segundo Infinite Logo Slider próximo ao rodapé */
.dealership-marquee {
  margin-top: 8px;
  border-top: 1px solid #e4e9f4;
  border-bottom: 1px solid #e4e9f4;
  background: #ffffff;
}
.dealership-marquee .brand-logo-item {
  height: 64px;
  background: #ffffff;
}

/* Banner principal 1900 x 560 entre categorias e marcas */
.home-banner {
  width: 100%;
  padding: 14px 0;
  background: #f4f6fb;
  display: none;
}
.home-banner.has-image {
  display: block;
}
.home-banner-inner {
  position: relative;
  width: min(1900px, 100%);
  aspect-ratio: 1900 / 560;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid #e2e8f4;
  border-bottom: 1px solid #e2e8f4;
}
.home-banner-track {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform .45s ease;
}
.home-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.home-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-banner-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #07164a;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 20px rgba(2,13,61,.18);
  font-size: 34px;
  line-height: 1;
}
.home-banner-prev { left: 18px; }
.home-banner-next { right: 18px; }
.home-banner-dots {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 13px;
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: 7px;
}
.home-banner-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  box-shadow: 0 1px 5px rgba(0,0,0,.2);
}
.home-banner-dots button.active {
  width: 24px;
  border-radius: 20px;
  background: #ffb000;
}
.home-banner.single .home-banner-arrow,
.home-banner.single .home-banner-dots {
  display: none;
}

/* Imagem do produto no card: mais preenchida, centralizada e proporcional */
.product-card .product-image {
  height: 178px !important;
  padding: 5px 6px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
}
.product-card .product-image img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  object-fit: contain !important;
  object-position: center center;
  transform: translateY(4px) scale(1.02);
  transform-origin: center center;
}
.product-card-info {
  min-height: 42px;
  display: grid;
  gap: 5px;
  margin-top: 9px;
  color: #253057;
  font-size: 8.5px;
  line-height: 1.22;
  font-weight: 700;
}
.product-card-info span {
  display: block;
  opacity: .96;
}

/* Acesso ao painel administrativo ao lado do logo */
.brand-admin-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
}
.brand-admin-wrap .logo { flex: 1; }
.admin-menu-trigger {
  flex: 0 0 35px;
  width: 35px;
  height: 43px;
  padding: 0 0 7px;
  border: 1px solid #ffb000;
  border-radius: 5px;
  color: #07134a;
  background: #ffb000;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}
.admin-menu-trigger:hover,
.admin-menu-trigger.open {
  color: #07134a;
  border-color: #ffb000;
  background: #ffb000;
}
.admin-access-menu {
  position: absolute;
  z-index: 200;
  top: calc(100% + 10px);
  right: 0;
  width: 270px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-7px);
  border: 1px solid #e1e6f1;
  border-radius: 7px;
  color: #07134a;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,8,40,.25);
  transition: .18s ease;
}
.brand-admin-wrap {
  z-index: 210;
}
.admin-menu-trigger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.password-field {
  position: relative;
  display: block;
}
.customer-panel .password-field input {
  padding-right: 48px;
}
.password-field button {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #dbe3f4;
  border-radius: 50%;
  color: #07134a;
  background: #fff1c7;
  cursor: pointer;
}
.password-field button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-field button:hover {
  border-color: var(--yellow);
  background: var(--yellow);
}
.admin-access-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.admin-access-menu > span {
  display: block;
  padding: 5px 8px 9px;
  color: #8a92a8;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.admin-access-menu a {
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 5px;
  color: #07134a;
  background: #f3f7ff;
}
.admin-access-menu a:hover { background: #fff1c7; }
.admin-access-menu a > b { color: #0870e9; font-size: 23px; }
.admin-access-menu strong,
.admin-access-menu small { display: block; }
.admin-access-menu strong { font-size: 10px; }
.admin-access-menu small { margin-top: 4px; color: #77819b; font-size: 7px; line-height: 1.4; }
@media (max-width: 900px) {
  .brand-admin-wrap { margin: 0 auto; }
  .brand-admin-wrap .logo { margin: 0; }
}

/* Logo de acesso ao Admin posicionada a esquerda da Autorama */
.brand-admin-wrap {
  gap: 10px;
}
.admin-menu-trigger {
  order: -1;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
}
.admin-menu-trigger img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.admin-menu-trigger:hover img,
.admin-menu-trigger.open img {
  filter: none;
}

/* Responsividade geral: desktop, notebook, tablet e celular */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.header-main,
.category-nav,
main,
footer .footer-grid {
  max-width: 100%;
}

@media (min-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  .header-main {
    grid-template-columns: 250px minmax(300px, 1fr) auto !important;
    gap: 16px;
    padding-inline: 18px;
  }
  .brand-admin-wrap .logo,
  .logo {
    width: 230px !important;
  }
  .header-actions {
    gap: 8px;
  }
  #quoteButton,
  #loginButton {
    padding-inline: 9px;
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-detail-grid {
    grid-template-columns: 40% 34% 26%;
    gap: 16px;
  }
  footer .footer-grid {
    min-width: 0;
    grid-template-columns: 1.1fr .75fr 1.35fr .95fr .9fr;
    padding-inline: 20px;
  }
  footer .footer-grid > div {
    padding-inline: 16px;
  }
}

@media (max-width: 1050px) {
  .header-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: 12px;
    min-height: auto;
    padding-block: 12px;
  }
  .brand-admin-wrap {
    width: min(100%, 330px);
    justify-content: center;
  }
  .brand-admin-wrap .logo,
  .logo {
    width: 260px !important;
    margin: 0 !important;
  }
  .search {
    width: min(100%, 760px);
    order: initial;
  }
  .header-actions {
    width: min(100%, 760px);
    justify-content: center;
    flex-wrap: wrap;
  }
  .category-nav {
    display: flex !important;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .category-button {
    flex: 0 0 122px;
    min-width: 122px;
  }
  .catalog-section {
    display: block;
    padding-inline: 18px;
  }
  .filters {
    display: none;
  }
  .filter-dropdown.open {
    width: min(360px, calc(100vw - 24px));
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #productModal .modal-card {
    overflow-y: auto;
  }
  .product-detail-page {
    padding: 18px 16px 24px;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-main-image {
    height: clamp(360px, 56vh, 560px);
  }
  .detail-contact {
    max-width: none;
  }
  .detail-related > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  footer {
    overflow-x: hidden;
  }
  footer .footer-grid {
    width: 100%;
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
    padding: 24px 18px 20px;
  }
  footer .footer-grid > div {
    min-height: auto;
    padding: 0 14px !important;
  }
  footer .footer-bottom {
    min-width: 0 !important;
  }
}

@media (max-width: 720px) {
  .utility {
    display: none;
  }
  .header-main {
    padding-inline: 12px !important;
  }
  .brand-admin-wrap {
    width: 100%;
  }
  .admin-menu-trigger {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
  .brand-admin-wrap .logo,
  .logo {
    width: min(245px, calc(100vw - 74px)) !important;
    height: 66px;
  }
  .search {
    height: 44px;
  }
  .search input {
    padding-inline: 12px;
    font-size: 11px;
  }
  .search button {
    width: 50px;
  }
  #quoteButton,
  #loginButton {
    min-height: 40px;
    flex: 1 1 135px;
    justify-content: center;
  }
  .category-nav {
    height: auto;
  }
  .category-button {
    flex-basis: 104px;
    min-width: 104px;
    height: 64px;
    padding: 6px 4px;
  }
  .category-button img {
    width: 26px;
    height: 26px;
  }
  .category-button span {
    font-size: 7px;
  }
  .brand-marquee {
    height: 68px;
  }
  .home-banner {
    padding: 8px 0;
  }
  .home-banner-inner {
    aspect-ratio: 1900 / 560;
  }
  .home-banner-placeholder strong {
    font-size: 18px;
  }
  .brand-logo-item {
    flex-basis: 118px;
    width: 118px;
    height: 50px;
  }
  .catalog-section {
    padding-inline: 10px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-image {
    height: 128px;
  }
  .product-body {
    padding: 9px;
  }
  .product-body h3 {
    height: 30px;
    font-size: 9px;
  }
  .details-button {
    padding: 7px 8px;
  }
  .cart-drawer,
  .admin-drawer {
    width: 100%;
  }
  .detail-breadcrumb {
    margin-right: 44px;
    font-size: 9px;
    line-height: 1.5;
  }
  .detail-info h2 {
    font-size: 21px;
  }
  .detail-table {
    grid-template-columns: 1fr;
    font-size: 10px;
  }
  .detail-table dt {
    min-height: auto;
    padding-bottom: 2px;
    border-bottom: 0;
  }
  .detail-table dd {
    padding-top: 0;
  }
  .detail-thumbs {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .detail-related > div {
    grid-template-columns: 1fr;
  }
  footer .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  footer .footer-grid > div:not(:first-child) {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.18);
    padding-top: 15px !important;
  }
  footer .footer-brand img {
    width: 210px;
  }
  footer .footer-developer {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 170px;
  }
  .product-body h3 {
    height: auto;
  }
  .brand-admin-wrap .logo,
  .logo {
    width: min(220px, calc(100vw - 66px)) !important;
  }
  .admin-access-menu {
    right: auto;
    left: 0;
    width: min(270px, calc(100vw - 20px));
  }
  .cart-actions {
    grid-template-columns: 1fr;
  }
}

/* Rodapé mais legível em desktop e mobile */
footer .footer-grid {
  max-width: 1540px !important;
  min-height: 180px;
  padding-top: 26px !important;
  padding-bottom: 22px !important;
  grid-template-columns: 1.35fr .95fr 1.8fr 1.25fr 1.05fr !important;
}
footer .footer-grid > div {
  min-height: 130px;
}
footer .footer-brand img {
  width: 205px !important;
  height: 68px !important;
}
footer .footer-brand p {
  max-width: 310px !important;
  color: #eef3ff !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}
footer h3 {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
}
footer a,
footer p {
  color: #ffffff !important;
  font-size: 10.5px !important;
  line-height: 1.45 !important;
}
footer .footer-contact p {
  gap: 10px !important;
  margin: 7px 0 !important;
  white-space: normal !important;
}
footer .footer-contact p img,
footer .footer-contact .cnpj-icon {
  flex-basis: 24px !important;
  width: 24px !important;
  height: 24px !important;
}
footer .footer-social a {
  min-height: 36px !important;
  gap: 15px !important;
  margin-bottom: 13px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
footer .footer-social a img,
footer .footer-social a[href*="instagram"] img,
footer .footer-social a[href*="buscamarcelandia"] img,
footer .footer-social a[href*="wa.me"] img {
  width: 32px !important;
  height: 32px !important;
  flex-basis: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}
footer .footer-developer {
  align-items: center !important;
}
footer .footer-developer span {
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  margin-bottom: 2px !important;
}
footer .footer-developer img {
  width: 190px !important;
  height: 120px !important;
  opacity: 1 !important;
  filter: brightness(1.18) contrast(1.15) drop-shadow(0 6px 14px rgba(0,0,0,.25));
}
footer .footer-bottom {
  color: #d7def4 !important;
  font-size: 9px !important;
}

@media (max-width: 1050px) {
  footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }
}

@media (max-width: 720px) {
  footer .footer-grid {
    grid-template-columns: 1fr !important;
    padding: 24px 18px !important;
  }
  footer .footer-brand img {
    width: 230px !important;
    height: 78px !important;
  }
  footer .footer-brand p {
    max-width: 100% !important;
    font-size: 12px !important;
  }
  footer h3 {
    font-size: 14px !important;
  }
  footer a,
  footer p,
  footer .footer-social a {
    font-size: 12px !important;
  }
  footer .footer-developer {
    align-items: flex-start !important;
  }
  footer .footer-developer img {
    width: 210px !important;
    height: 135px !important;
  }
  .customer-card {
    width: 100% !important;
    max-height: 94vh !important;
  }
  .customer-head,
  .customer-panel {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .customer-tabs {
    grid-template-columns: 1fr !important;
  }
  .customer-two,
  .customer-code-row {
    grid-template-columns: 1fr !important;
  }
}

/* Correção final: permite submenu de grupos aparecer no hover das categorias em desktop/tablet */
@media (min-width: 901px) {
  .category-nav {
    display: grid !important;
    grid-template-columns: repeat(9, minmax(90px, 1fr)) !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 90 !important;
  }
  .category-nav > .top-category-item {
    min-width: 0 !important;
    overflow: visible !important;
  }
  .category-nav > .filter-parent-button,
  .top-category-item > .category-button {
    min-width: 0 !important;
  }
}

/* Correção final: menu do painel admin sempre visível acima do cabeçalho */
.brand-admin-wrap {
  overflow: visible !important;
  position: relative !important;
  z-index: 260 !important;
}
.admin-access-menu {
  left: 0 !important;
  right: auto !important;
  z-index: 300 !important;
}
