:root {
  --bg: #f3f6fb;
  --white: #ffffff;
  --dark: #07133d;
  --dark-2: #0c1f5f;
  --orange: #ff8a00;
  --text: #1f2937;
  --muted: #667085;
  --border: #dfe7f3;
  --shadow: 0 10px 30px rgba(9, 22, 60, 0.08);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

.container {
  width: min(100% - 24px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
}

.header-top {
  background: var(--dark);
  color: var(--white);
}

.header-top-content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ship-to-btn {
  border: 0;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-btn,
.account-trigger {
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.notif-btn {
  font-size: 20px;
}

.account-menu {
  position: relative;
}

.account-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #dbe7ff;
  color: var(--dark);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.account-name {
  font-weight: 700;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 260px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: none;
  z-index: 70;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 260px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: none;
  z-index: 70;
}

.account-dropdown.open {
  display: block;
}

.account-dropdown-header {
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.account-dropdown-header strong {
  display: block;
  font-size: 18px;
}

.account-dropdown-header span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.account-dropdown a,
.account-dropdown button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 12px 8px;
  border-radius: 10px;
  cursor: pointer;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  background: #f3f7ff;
}

.header-main {
  background: linear-gradient(90deg, #07133d, #0d2374);
}

.header-main-content {
  min-height: 96px;
  display: grid;
  grid-template-columns: 320px 1fr 170px;
  gap: 18px;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.site-logo {
  max-height: 120px;
  width: auto;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  flex: 1;
  height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
}

.search-form button {
  height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 16px;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 0 6px;
}

.main-nav {
  background: var(--white);
  border-bottom: 1px solid #ebf0f8;
}

.nav-list {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}

.nav-chip {
  border: 1px solid var(--border);
  background: #f8fbff;
  color: var(--dark-2);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.nav-chip.active {
  background: var(--dark-2);
  color: var(--white);
  border-color: var(--dark-2);
}

.hero-slider-section {
  padding: 20px 0 12px;
}

.hero-slider {
  position: relative;
  min-height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  padding: 42px;
  display: none;
  color: var(--white);
  overflow: hidden;
}

.hero-slide.active {
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-slide h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.1;
}

.hero-slide p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

.hero-slide-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.slider-controls button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: var(--dark-2);
  color: var(--white);
  cursor: pointer;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c5d4ee;
  cursor: pointer;
  border: 0;
}

.slider-dot.active {
  background: var(--orange);
}

.section {
  padding: 22px 0 28px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: 30px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.system-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.system-card-media {
  min-height: 220px;
  background: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.system-card-media img {
  max-height: 190px;
  object-fit: contain;
}

.system-card-body {
  padding: 16px;
}

.system-card-body h3 {
  margin: 0 0 8px;
}

.system-card-body p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.product-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image-wrap {
  min-height: 190px;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.product-image {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-code {
  font-size: 12px;
  color: var(--muted);
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 42px;
}

.product-category {
  color: var(--dark-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 24px;
  color: var(--dark-2);
  font-weight: 900;
}

.product-old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
}

.stock {
  color: #16914a;
  font-size: 12px;
  font-weight: 700;
}

.product-actions {
  display: grid;
  gap: 8px;
}

.btn-primary,
.btn-secondary,
.small-btn {
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 14px;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary,
.small-btn.primary {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary,
.small-btn.secondary {
  background: #eff5ff;
  color: var(--dark-2);
  border: 1px solid var(--border);
}

.full {
  width: 100%;
}

.custom-order-box {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.custom-order-box h2 {
  margin-top: 0;
}

.custom-order-box p {
  color: var(--muted);
}

.custom-order-box textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0 14px;
  resize: vertical;
}

.notification-panel,
.orders-panel {
  position: fixed;
  top: 64px;
  right: 16px;
  width: 340px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  z-index: 80;
  display: none;
}

.notification-panel.open,
.orders-panel.open {
  display: block;
}

.notification-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-header button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.notification-body {
  padding: 14px;
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

.notification-item {
  background: #f8fbff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border);
}

.dombot-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
}

.dombot-toggle {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--dark-2);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dombot-toggle img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 999px;
}

.dombot-panel {
  position: fixed;
  right: 18px;
  bottom: 82px;
  width: 340px;
  max-width: calc(100vw - 16px);
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  z-index: 70;
}

.dombot-panel.open {
  display: block;
}

.dombot-header {
  background: var(--dark-2);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dombot-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dombot-avatar {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.dombot-header button {
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.dombot-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.dombot-option {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fbff;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.dombot-body textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px;
  resize: vertical;
}

.login-page-body {
  background: linear-gradient(135deg, #07133d, #0d2374);
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.login-page {
  width: min(100% - 24px, 760px);
}

.login-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.login-logo {
  max-height: 76px;
  margin: 0 auto 16px;
}

.back-link {
  color: var(--dark-2);
  font-weight: 700;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.auth-tab {
  border: 1px solid var(--border);
  background: #f8fbff;
  color: var(--dark-2);
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.auth-tab.active {
  background: var(--dark-2);
  color: var(--white);
  border-color: var(--dark-2);
}

.auth-section {
  display: none;
}

.auth-section.active {
  display: block;
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.login-form input,
.checkout-card input,
.checkout-card select,
.checkout-card textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}

.checkout-card textarea {
  min-height: 120px;
  resize: vertical;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

.product-main-card,
.product-right-ads,
.checkout-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.product-main-card {
  padding: 22px;
}

.product-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 360px;
  gap: 20px;
  align-items: start;
}

.product-gallery-side {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
}

.product-thumbs {
  display: grid;
  gap: 10px;
}

.product-thumb {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  background: var(--white);
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}

.product-main-image-box {
  background: #f8fbff;
  border-radius: 20px;
  padding: 18px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-main-image-box img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  transition: transform .18s ease;
}

.product-main-image-box.zooming img {
  transform: scale(1.85);
}

.product-info-side,
.product-buy-side {
  display: grid;
  gap: 14px;
}

.product-title-page {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.product-meta-line {
  color: var(--muted);
  font-size: 14px;
}

.what-you-need-box,
.seller-box,
.trust-box,
.ad-box,
.product-description-block,
.product-specs-block,
.product-gallery-block {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.what-you-need-box h3,
.product-description-block h2,
.product-specs-block h2,
.product-gallery-block h2,
.ad-box h3 {
  margin-top: 0;
}

.what-you-need-box ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.seller-stock {
  font-size: 15px;
  color: var(--text);
}

.quantity-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.qty-value {
  min-width: 44px;
  text-align: center;
  font-weight: 700;
}

.product-right-ads {
  padding: 18px;
  display: grid;
  gap: 16px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.related-products-side {
  display: grid;
  gap: 12px;
}

.related-side-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: start;
}

.related-side-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-item {
  background: #f6f9ff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--border);
}

.spec-item strong {
  display: block;
  margin-bottom: 4px;
}

.product-large-photos {
  display: grid;
  gap: 18px;
}

.product-large-photo {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px;
}

.product-large-photo img {
  width: 100%;
  object-fit: contain;
}

.checkout-layout-modern {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.checkout-main-modern {
  display: grid;
  gap: 16px;
}

.checkout-card {
  padding: 20px;
}

.checkout-card-header h2 {
  margin: 0 0 14px;
}

.checkout-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.checkout-option-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: #fbfdff;
  display: grid;
  gap: 6px;
  cursor: pointer;
}

.checkout-option-card input {
  display: none;
}

.checkout-option-card.selected {
  border-color: var(--dark-2);
  box-shadow: 0 0 0 2px rgba(13,35,116,.08);
}

.delivery-fields-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.checkout-payment-box-modern {
  margin-top: 14px;
  background: #fbfdff;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 16px;
}

.pix-layout-modern {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: center;
}

.pix-qr-box {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 10px;
}

.pix-qr-box img {
  width: 100%;
  display: block;
}

.pix-copy-line {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}

.pix-copy-line input {
  flex: 1;
}

.checkout-summary-modern {
  position: relative;
}

.sticky-summary {
  position: sticky;
  top: 120px;
}

.checkout-item-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef3fa;
}

.checkout-item-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.checkout-summary-total-modern {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkout-summary-total-modern div {
  display: flex;
  justify-content: space-between;
}

.checkout-user-card,
.checkout-user-empty {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.empty-message {
  padding: 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .system-grid,
  .product-layout,
  .checkout-layout-modern,
  .product-top-grid,
  .pix-layout-modern {
    grid-template-columns: 1fr;
  }

  .product-right-ads,
  .sticky-summary {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .header-main-content {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .header-cart {
    justify-self: start;
  }

  .product-grid,
  .system-grid,
  .form-grid-two,
  .checkout-options-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery-side {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-slide h1 {
    font-size: 30px;
  }

  .site-logo {
    max-height: 90px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 16px, var(--container));
  }

  .header-top-content {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form button,
  .search-form input {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-slide {
    padding: 24px;
    min-height: 340px;
  }

  .hero-slide h1 {
    font-size: 26px;
  }

  .site-logo {
    max-height: 76px;
  }

  .dombot-panel,
  .notification-panel,
  .orders-panel {
    width: calc(100% - 16px);
    right: 8px;
  }
}
/* logo mais perto da busca */
.header-main-content {
  min-height: 96px;
  display: grid;
  grid-template-columns: 220px 1fr 170px;
  gap: 12px;
  align-items: center;
}

.logo-area {
  justify-content: flex-start;
}

.site-logo {
  max-height: 98px;
  width: auto;
}

/* busca puxando resultado e mobile mais arrumado */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 96%;
    max-width: 96%;
  }

  .header-top {
    padding: 6px 0;
  }

  .header-top-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 38px;
  }

  .ship-to-btn {
    font-size: 13px;
    font-weight: 700;
    padding: 0;
    background: transparent;
    color: #fff;
    border: 0;
  }

  .header-top-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .notif-btn {
    font-size: 20px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .account-trigger {
    padding: 0;
    gap: 8px;
    background: transparent;
    border: 0;
    color: #fff;
  }

  .account-avatar {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .account-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
  }

  .header-main {
    padding: 10px 0 14px;
  }

  .header-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
  }

  .logo-area {
    justify-content: center;
    display: flex;
  }

  .site-logo {
    max-height: 52px;
    width: auto;
  }

  .search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .search-form input {
    height: 46px;
    border-radius: 14px;
    font-size: 15px;
    padding: 0 16px;
  }

  .search-form button {
    height: 50px;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
  }

  .header-cart {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
  }

  .main-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 0;
  }

  .nav-list {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    width: max-content;
    padding-bottom: 2px;
  }

  .nav-chip {
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    flex: 0 0 auto;
  }

  .hero-slide {
    border-radius: 24px;
    padding: 22px 16px 80px;
  }

  .hero-slide h1,
  .hero-slide-title {
    font-size: 26px;
    line-height: 1.08;
  }

  .hero-slide p,
  .hero-slide-text {
    font-size: 14px;
    line-height: 1.4;
  }

  /* SISTEMAS */
  .system-grid,
  #systemGrid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .system-card {
    border-radius: 16px;
    overflow: hidden;
  }

  .system-card img {
    height: 86px;
    object-fit: contain;
    padding: 8px;
    background: #eef3fb;
  }

  .system-card-body {
    padding: 8px;
  }

  .system-card h3 {
    font-size: 12px;
    line-height: 1.1;
    margin-bottom: 6px;
    min-height: 28px;
  }

  .system-card p {
    display: none;
  }

  .system-card .btn-primary,
  .system-card .btn-secondary {
    width: 100%;
    padding: 8px 6px;
    font-size: 11px;
    border-radius: 12px;
  }

  /* PRODUTOS */
  .products-grid,
  #allProducts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
  }

  .product-image-wrap {
    padding: 8px;
  }

  .product-image {
    width: 100%;
    height: 86px;
    object-fit: contain;
  }

  .product-body {
    padding: 8px;
  }

  .product-code {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .product-title {
    font-size: 12px;
    line-height: 1.2;
    min-height: 30px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-category {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .product-price {
    font-size: 16px;
    line-height: 1;
  }

  .product-old-price {
    font-size: 10px;
  }

  .stock {
    font-size: 10px;
    margin: 6px 0;
    line-height: 1.2;
  }

  .product-actions {
    display: grid;
    gap: 6px;
  }

  .small-btn,
  .product-actions button {
    width: 100%;
    padding: 8px 4px;
    font-size: 11px;
    line-height: 1.15;
    border-radius: 12px;
  }

  .product-actions .secondary,
  .product-actions .small-btn.secondary {
    margin-top: 0;
  }

  .dombot-toggle,
  #domBotToggle {
    right: 14px !important;
    bottom: 14px !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    min-height: 52px;
    z-index: 999;
  }

  .dombot-toggle img,
  #domBotToggle img {
    width: 24px;
    height: 24px;
  }

  .dombot-panel,
  #domBotPanel {
    width: calc(100% - 24px) !important;
    right: 12px !important;
    left: 12px !important;
    bottom: 76px !important;
    z-index: 999;
  }

  .product-layout {
    display: block;
  }

  .product-top-grid {
    display: block;
  }

  .product-gallery-side {
    display: block !important;
  }

  .product-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 10px;
  }

  .product-thumb {
    min-width: 64px;
    height: 64px;
  }

  .product-main-image-box {
    min-height: 280px !important;
  }

  .product-zoom-float,
  .product-zoom-pane {
    display: none !important;
  }

  .product-right-ads {
    display: none;
  }

  .account-dropdown {
    right: 0;
    left: auto;
    width: 230px;
    max-width: calc(100vw - 24px);
  }
}

/* zoom com telinha do lado no computador */
.product-gallery-side {
  display: grid;
  grid-template-columns: 90px minmax(320px, 1fr);
  gap: 16px;
  align-items: start;
  position: relative;
}

.product-main-image-box {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-main-image-box img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}

.product-zoom-float {
  position: absolute;
  left: calc(100% + 18px);
  top: 0;
  width: 420px;
  height: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  z-index: 50;
}

.product-zoom-float.active {
  display: block;
}

.product-zoom-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.08s linear;
  background: #fff;
}

@media (max-width: 980px) {
  .product-gallery-side {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    order: 2;
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
  }

  .product-main-image-box {
    min-height: 340px;
  }

  .product-zoom-float {
    display: none !important;
  }
}

/* carrinho antes do checkout */
.cart-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 34px 90px 1fr 150px 120px 46px;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eef3fa;
}

.cart-check-wrap {
  display: flex;
  justify-content: center;
}

.cart-item-image img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cart-item-info p {
  color: var(--muted);
  margin: 6px 0 0;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-price {
  font-weight: 800;
  color: var(--dark-2);
}

.cart-delete-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.cart-summary-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-summary-lines div,
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-summary-total {
  padding: 14px 0 18px;
  border-top: 1px solid #eef3fa;
  font-size: 18px;
}

@media (max-width: 1100px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .cart-item-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .cart-check-wrap {
    justify-content: flex-start;
  }

  .cart-item-image img {
    width: 100px;
    height: 100px;
  }

  .cart-item-qty {
    justify-content: flex-start;
  }
}
.account-dropdown a,
.account-dropdown button {
  color: #23314d;
  text-decoration: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  background: #f4f6fb;
}
/* =========================
   MOBILE NOVO - ESTILO MAIS COMPACTO
   ========================= */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 96%;
    max-width: 96%;
  }

  /* TOPO */
  .header-top {
    padding: 6px 0;
  }

  .header-top-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 38px;
  }

  .ship-to-btn {
    font-size: 13px;
    font-weight: 700;
    padding: 0;
    background: transparent;
    color: #fff;
    border: 0;
  }

  .header-top-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .notif-btn {
    font-size: 20px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .account-trigger {
    padding: 0;
    gap: 8px;
    background: transparent;
    border: 0;
    color: #fff;
  }

  .account-avatar {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .account-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
  }

  /* CABEÇALHO PRINCIPAL */
  .header-main {
    padding: 10px 0 14px;
  }

  .header-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
  }

  .logo-area {
    justify-content: center;
    display: flex;
  }

  .site-logo {
    max-height: 52px;
    width: auto;
  }

  .search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .search-form input {
    height: 48px;
    border-radius: 14px;
    font-size: 15px;
    padding: 0 16px;
  }

  .search-form button {
    height: 52px;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
  }

  .header-cart {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    justify-content: center;
    min-height: 50px;
    border-radius: 999px;
  }

  .header-cart-text {
    font-size: 17px;
    font-weight: 800;
  }

  .cart-count {
    min-width: 28px;
    height: 28px;
    font-size: 15px;
  }

  /* MENU DE CATEGORIAS */
  .main-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 0;
  }

  .nav-list {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    width: max-content;
    padding-bottom: 2px;
  }

  .nav-chip {
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 999px;
    flex: 0 0 auto;
  }

  /* HERO */
  .hero-section,
  .hero-slider,
  .hero-slide,
  .hero-banner {
    min-height: auto;
  }

  .hero-slide {
    border-radius: 26px;
    padding: 26px 18px 90px;
  }

  .hero-slide h1,
  .hero-slide-title {
    font-size: 28px;
    line-height: 1.08;
  }

  .hero-slide p,
  .hero-slide-text {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-slide-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-slide-actions .btn-primary,
  .hero-slide-actions .btn-secondary {
    width: auto;
    min-width: 140px;
    text-align: center;
  }

  /* SISTEMAS - 3 LADO A LADO */
  .system-grid,
  #systemGrid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .system-card {
    border-radius: 18px;
    overflow: hidden;
  }

  .system-card-media,
  .system-card img {
    width: 100%;
  }

  .system-card img {
    height: 110px;
    object-fit: contain;
    padding: 10px;
    background: #eef3fb;
  }

  .system-card-body {
    padding: 12px 10px 14px;
  }

  .system-card h3 {
    font-size: 14px;
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .system-card p {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .system-card .btn-primary,
  .system-card .btn-secondary {
    width: 100%;
    padding: 10px 8px;
    font-size: 12px;
    border-radius: 14px;
  }

  /* PRODUTOS - 3 LADO A LADO */
  .products-grid,
  #allProducts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
  }

  .product-image-wrap {
    padding: 10px;
  }

  .product-image {
    width: 100%;
    height: 110px;
    object-fit: contain;
  }

  .product-body {
    padding: 10px 10px 14px;
  }

  .product-code {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .product-title {
    font-size: 14px;
    line-height: 1.2;
    min-height: 52px;
    display: block;
    margin-bottom: 6px;
  }

  .product-category {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .product-price {
    font-size: 18px;
    line-height: 1;
  }

  .product-old-price {
    font-size: 11px;
  }

  .stock {
    font-size: 11px;
    margin: 8px 0;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .small-btn,
  .product-actions .small-btn,
  .product-actions button {
    width: 100%;
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.15;
    border-radius: 14px;
  }

  /* TÍTULOS DE SEÇÃO */
  .section-title,
  #productsSectionTitle,
  #systemsSectionTitle,
  .section h2 {
    font-size: 24px;
    line-height: 1.1;
  }

  .section-subtitle,
  #productsSectionSubtitle,
  #systemsSectionSubtitle {
    font-size: 14px;
  }

  /* DOMBOT */
  .dombot-toggle,
  #domBotToggle {
    right: 14px !important;
    bottom: 14px !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    min-height: 56px;
    z-index: 80;
  }

  .dombot-toggle img,
  #domBotToggle img {
    width: 28px;
    height: 28px;
  }

  .dombot-panel,
  #domBotPanel {
    width: calc(100% - 24px) !important;
    right: 12px !important;
    left: 12px !important;
    bottom: 82px !important;
  }

  /* PRODUTO INTERNO NO CELULAR */
  .product-layout {
    display: block;
  }

  .product-top-grid {
    display: block;
  }

  .product-gallery-side {
    display: block !important;
  }

  .product-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 10px;
  }

  .product-thumb {
    min-width: 64px;
    height: 64px;
  }

  .product-main-image-box {
    min-height: 280px !important;
  }

  .product-main-image-box img {
    max-height: 260px !important;
  }

  .product-zoom-float,
  .product-zoom-pane {
    display: none !important;
  }

  .product-right-ads {
    display: none;
  }

  /* DROPDOWN DA CONTA */
  .account-dropdown {
    right: 0;
    left: auto;
    width: 230px;
    max-width: calc(100vw - 24px);
  }
}
.account-dropdown a,
.account-dropdown button,
#profileLink,
#myOrdersBtn,
#logoutBtn {
  color: #23314d !important;
  text-decoration: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.account-dropdown a:hover,
.account-dropdown button:hover,
#profileLink:hover,
#myOrdersBtn:hover,
#logoutBtn:hover {
  background: #f4f6fb;
}
/* ===== AJUSTE FINAL MOBILE FORÇADO ===== */
@media (max-width: 768px) {
  .product-grid,
  #allProducts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .product-card {
    min-height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .product-image-wrap {
    min-height: 90px !important;
    height: 90px !important;
    padding: 6px !important;
  }

  .product-image {
    height: 78px !important;
    object-fit: contain !important;
  }

  .product-body {
    padding: 8px !important;
    gap: 5px !important;
  }

  .product-code {
    font-size: 10px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .product-title {
    font-size: 11px !important;
    line-height: 1.15 !important;
    min-height: 26px !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .product-category {
    font-size: 10px !important;
    margin: 0 !important;
  }

  .price-row {
    gap: 4px !important;
    margin: 0 !important;
  }

  .product-price {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .product-old-price {
    font-size: 9px !important;
  }

  .stock {
    font-size: 9px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .product-actions {
    gap: 6px !important;
  }

  .small-btn,
  .product-actions button {
    min-height: 34px !important;
    height: 34px !important;
    padding: 4px 6px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    border-radius: 10px !important;
  }

  .system-grid,
  #systemGrid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .system-card {
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .system-card-media {
    min-height: 90px !important;
    height: 90px !important;
    padding: 6px !important;
  }

  .system-card-media img,
  .system-card img {
    max-height: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
  }

  .system-card-body {
    padding: 8px !important;
  }

  .system-card-body h3 {
    font-size: 11px !important;
    line-height: 1.1 !important;
    min-height: 24px !important;
    margin: 0 0 6px !important;
  }

  .system-card-body p {
    display: none !important;
  }

  .system-card .btn-primary,
  .system-card .btn-secondary {
    min-height: 34px !important;
    height: 34px !important;
    padding: 4px 6px !important;
    font-size: 10px !important;
    border-radius: 10px !important;
  }

  .dombot-toggle,
  #domBotToggle {
    transform: scale(0.9);
    transform-origin: bottom right;
  }
}

/* iPhone menor: 2 por linha fica melhor */
@media (max-width: 430px) {
  .product-grid,
  #allProducts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .system-grid,
  #systemGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}