:root {
  --brand-blue: #031f4f;
  --brand-blue-dark: #021331;
  --brand-blue-soft: #d9e8ff;
  --page-bg: #f7f9fc;
  --card-bg: #ffffff;
  --ink: #071a3f;
  --muted: #5d6b8c;
  --line: #dce3ee;
  --gold: #c44a00;
  --green: #12a85d;
  --danger: #c92828;
  --shadow: 0 10px 24px rgba(3, 31, 79, 0.08);
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
}

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

.site-header {
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 4px 16px rgba(4, 18, 64, 0.18);
}

.header-service-bar {
  background: #021331;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-bar-content {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #d8e7ff;
  font-size: 12px;
}

.service-bar-content a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.service-bar-content .icon {
  width: 16px;
  height: 16px;
}

.header-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 118px;
  height: 86px;
  object-fit: contain;
  margin: -10px 0 -14px;
}

.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.icon {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  background: #fff;
  border-radius: 8px;
  height: 46px;
  overflow: hidden;
  border: 2px solid transparent;
}

.search-form:focus-within {
  border-color: var(--gold);
}

.search-form input {
  border: 0;
  padding: 0 18px;
  color: var(--ink);
  min-width: 0;
}

.search-form input:focus {
  outline: none;
}

.search-form .icon-button {
  color: var(--brand-blue);
}

.account-link,
.cart-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.cart-link {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 0 14px;
  position: relative;
}

.cart-link > span:not(.cart-count) {
  font-weight: 700;
  white-space: nowrap;
}

.account-link strong {
  display: block;
  font-size: 14px;
}

.coin-balance {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 0 12px;
  display: grid;
  align-content: center;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}

.coin-balance strong {
  color: #ffd24a;
  font-size: 18px;
}

.coin-balance span {
  font-size: 12px;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  position: absolute;
  right: -9px;
  top: -9px;
  margin: 0;
}

.whatsapp-button {
  min-height: 44px;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  padding: 0 18px;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  white-space: nowrap;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #12a85d;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(18, 168, 93, 0.35);
  animation: whatsappPulse 1.8s infinite;
}

.floating-whatsapp .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.65;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 168, 93, 0.42), 0 14px 34px rgba(18, 168, 93, 0.35);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(18, 168, 93, 0), 0 14px 34px rgba(18, 168, 93, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 168, 93, 0), 0 14px 34px rgba(18, 168, 93, 0.35);
  }
}

.location-row {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8e7ff;
  font-size: 14px;
}

.nav-strip {
  background: var(--brand-blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 46px;
  align-items: center;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-scroll a {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  padding: 14px 0;
}

.nav-scroll a.active {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.mobile-bottom-nav {
  display: none;
}

.campaign-strip {
  background: var(--brand-blue-dark);
  display: none;
}

.campaign-strip picture,
.hero-frame picture {
  display: block;
}

.campaign-strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.hero-stage {
  padding: 24px 0 28px;
}

.hero-frame {
  position: relative;
}

.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 560;
  overflow: hidden;
  background: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 0;
  background: #fff;
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 3;
}

.slider-arrow.prev {
  left: 32px;
}

.slider-arrow.next {
  right: 32px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(3, 31, 79, 0.28);
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active {
  width: 26px;
  background: var(--gold);
}

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

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  margin: 0;
  color: var(--brand-blue);
  font-size: 26px;
  line-height: 1.15;
}

.section-kicker {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.link-button {
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  background: #fff;
  border-radius: 8px;
  padding: 11px 22px;
  font-weight: 700;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  text-align: center;
}

.link-button:hover {
  background: #edf4ff;
}

.primary-button,
.secondary-button,
.ghost-button {
  border-radius: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  text-align: center;
}

.primary-button {
  background: var(--brand-blue);
  color: #fff;
}

.secondary-button {
  background: var(--gold);
  color: #fff;
}

.whatsapp-action {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.whatsapp-action .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.65;
}

.whatsapp-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.quote-document-status {
  color: #41536d;
  font-size: 13px;
  line-height: 1.4;
  margin: 8px 0 0;
  min-height: 36px;
  text-align: center;
}

.ghost-button {
  background: #fff;
  color: var(--brand-blue);
  border-color: var(--line);
}

.category-rail,
.product-rail {
  display: grid;
  gap: 10px;
  padding: 4px 0 10px;
  scrollbar-width: none;
}

.category-rail {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  overflow: visible;
}

.product-rail {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  overflow: visible;
  gap: 16px;
}

.category-rail::-webkit-scrollbar,
.product-rail::-webkit-scrollbar {
  display: none;
}

.category-card {
  scroll-snap-align: start;
  min-height: 136px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-rows: 58px auto;
  justify-items: center;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  color: var(--brand-blue);
  box-shadow: 0 3px 10px rgba(12, 33, 81, 0.04);
}

.category-card .category-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  align-self: end;
  margin-bottom: 6px;
  overflow: visible;
}

.category-card svg {
  width: 52px;
  height: 52px;
  stroke-width: 1.55;
  overflow: visible;
}

.category-card .icon-droplet svg {
  transform: translateX(-1px);
}

.category-card strong {
  font-size: 14px;
  line-height: 1.2;
  color: var(--brand-blue);
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.category-card strong.long-label {
  font-size: 12px;
  line-height: 1.15;
}

.product-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
}

.product-media {
  position: relative;
  background: #fff;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-image-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.product-image-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-pending .product-image-link img {
  width: 64%;
  height: 64%;
  opacity: 0.2;
}

.image-pending-label {
  position: absolute;
  inset: auto 8px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.detail-image-label {
  inset: auto 16px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 7px 10px;
}

.discount-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #ffe7d6;
  color: #9d3600;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
}

.favorite-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 0;
  color: var(--brand-blue);
  background: #fff;
  box-shadow: 0 8px 18px rgba(12, 33, 81, 0.14);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.favorite-button.active {
  color: #fff;
  background: var(--gold);
}

.favorite-button.active .icon {
  fill: currentColor;
}

.product-info {
  padding: 12px 14px 18px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.product-department {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-title {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
  min-height: 38px;
}

.rating {
  color: #ff9d00;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating-stars {
  color: #ff9d00;
  letter-spacing: 0;
}

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

.price {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
}

.installment {
  color: var(--muted);
  font-size: 13px;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.compact-button {
  min-height: 42px;
  width: 100%;
  padding: 0 12px;
}

.product-detail-link {
  border: 1px solid var(--line);
  color: var(--brand-blue);
}

.view-more-row {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.wide-button {
  width: min(340px, 100%);
}

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

.promo-tile {
  min-height: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 124px;
  align-items: center;
}

.promo-copy {
  padding: 20px;
}

.promo-copy strong {
  display: block;
  color: var(--brand-blue);
  font-size: 20px;
  margin-bottom: 6px;
}

.promo-copy span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.promo-art {
  height: 100%;
  display: grid;
  place-items: center;
  background: #edf5ff;
}

.promo-art img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.department-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  padding: 18px 0 12px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--brand-blue);
}

.department-banner img {
  width: 100%;
  aspect-ratio: 1920 / 360;
  object-fit: cover;
}

.subcategory-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 0 0;
  scrollbar-width: none;
}

.subcategory-row::-webkit-scrollbar {
  display: none;
}

.subcategory-pill {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-blue);
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: start;
}

.filter-panel,
.summary-panel,
.account-panel,
.policy-panel,
.checkout-panel,
.delivery-card,
.benefits-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.filter-panel h3,
.summary-panel h3,
.account-panel h3,
.policy-panel h3,
.checkout-panel h3 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--ink);
}

.filter-group {
  border-top: 1px solid #e5efff;
  padding-top: 14px;
  margin-top: 14px;
}

.filter-group strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-blue);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: var(--muted);
  font-size: 14px;
}

.filter-links {
  display: grid;
  gap: 6px;
}

.filter-links a {
  border-radius: 6px;
  color: var(--muted);
  padding: 9px 10px;
}

.filter-links a:hover,
.filter-links a.active {
  background: #edf5ff;
  color: var(--brand-blue);
  font-weight: 700;
}

.filter-favorite-link {
  min-height: 42px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.filter-favorite-link .icon {
  width: 20px;
  height: 20px;
}

.catalog-toolbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.catalog-controls {
  display: flex;
  align-items: end;
  gap: 10px;
}

.catalog-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.catalog-toolbar select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-copy {
  margin-top: 24px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 24px;
  border-radius: 8px;
}

.seo-copy h2,
.seo-copy h3 {
  color: var(--brand-blue);
}

.seo-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.product-detail > *,
.catalog-layout > *,
.cart-layout > *,
.checkout-layout > *,
.account-layout > *,
.content-layout > * {
  min-width: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.thumbnail-list {
  display: grid;
  gap: 10px;
}

.thumbnail {
  width: 82px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.main-image {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 540px;
  display: grid;
  place-items: center;
  padding: 24px;
}

.main-image img {
  max-height: 500px;
  object-fit: contain;
}

.buy-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.buy-box > *,
.delivery-card > *,
.benefits-card > * {
  min-width: 0;
  max-width: 100%;
}

.product-heading h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

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

.price-stack .price {
  font-size: 32px;
  color: var(--gold);
}

.price-stack .discount-badge {
  position: static;
  display: inline-grid;
  width: max-content;
  margin-bottom: 6px;
}

.quantity-row {
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px;
  align-items: center;
  justify-content: start;
}

.qty-control {
  display: grid;
  grid-template-columns: 42px 46px 42px;
  width: 130px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qty-control button {
  border: 0;
  background: #edf5ff;
  color: var(--brand-blue);
  font-weight: 700;
}

.qty-control span {
  display: grid;
  place-items: center;
}

.promo-note {
  border: 1px solid #f5d981;
  background: #fff8df;
  color: #6f4d00;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}

.buy-actions {
  display: grid;
  gap: 10px;
}

.delivery-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.delivery-grid > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.cep-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.cep-form input {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.tabs {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.tab-list {
  display: flex;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  max-width: 100%;
}

.tab-list button {
  border: 0;
  background: #fff;
  color: var(--brand-blue);
  font-weight: 700;
  padding: 16px 18px;
  white-space: nowrap;
}

.tab-list button.active {
  background: #edf5ff;
  color: var(--ink);
}

.tab-content {
  display: none;
  padding: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.tab-content.active {
  display: block;
}

.cart-layout,
.checkout-layout,
.account-layout,
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.cart-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 16px;
  align-items: center;
}

.cart-item img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.cart-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  margin: 10px 0;
}

.summary-line.total {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}

.step.active {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.field input {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.account-menu {
  display: grid;
  gap: 10px;
}

.account-register-container {
  max-width: 860px;
}

.account-register-form,
.admin-login-form {
  display: grid;
  gap: 16px;
}

.account-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.account-data-list {
  display: grid;
  gap: 6px;
  color: var(--muted);
  margin-bottom: 18px;
}

.account-data-list p {
  margin: 0;
}

.account-empty-orders,
.customer-points-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  display: grid;
  gap: 8px;
}

.account-empty-orders p,
.customer-points-card p {
  margin: 0;
  color: var(--muted);
}

.customer-points-card span {
  color: var(--brand-blue);
  font-size: 22px;
  font-weight: 700;
}

.customer-points-card small,
.template-note,
.cep-status {
  color: var(--muted);
  line-height: 1.45;
}

.consent-row {
  align-items: start;
}

.cep-status {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
}

.account-tile,
.policy-link {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-tile strong,
.policy-link strong {
  color: var(--brand-blue);
}

.feature-band {
  margin-top: 26px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.feature-item {
  display: grid;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  min-height: 148px;
  box-shadow: 0 8px 20px rgba(3, 31, 79, 0.05);
}

.feature-item .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff1e8;
  color: var(--gold);
  display: grid;
  place-items: center;
}

.feature-item strong {
  color: var(--brand-blue);
}

.feature-grid-cards {
  align-items: stretch;
}

.feature-band {
  background: transparent;
  border: 0;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 22px;
}

.footer-grid h3 {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.template-note {
  background: #eaf3ff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 14px;
  line-height: 1.45;
  font-size: 14px;
}

.map-list {
  display: grid;
  gap: 12px;
}

.map-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.map-item h3 {
  margin: 0 0 8px;
  color: var(--brand-blue);
}

.map-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer-logo {
  width: 128px;
  height: auto;
  margin-bottom: 10px;
}

.benefit-strip {
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue));
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 320px) auto;
  align-items: center;
  gap: 18px;
}

.benefit-strip .section-title,
.benefit-strip .section-kicker,
.benefit-strip p {
  color: #fff;
}

.benefit-strip p {
  margin: 8px 0 0;
  max-width: 720px;
  line-height: 1.5;
}

.benefit-strip-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cart-stack {
  display: grid;
  gap: 12px;
}

.quote-project-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.quote-project-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.quote-project-header h2 {
  color: var(--ink);
  font-size: 20px;
  margin: 3px 0 0;
}

.quote-new-project {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
}

.quote-new-project .icon {
  height: 18px;
  width: 18px;
}

.quote-project-selector {
  max-width: 420px;
}

.quote-project-fields .full-field {
  grid-column: 1 / -1;
  margin-top: 0;
}

.quote-checklist-field textarea {
  min-height: 112px;
}

.quote-login-gate,
.quote-account-state,
.account-login-context {
  align-items: center;
  background: #f3f7fd;
  border-left: 4px solid var(--brand-blue);
  color: var(--brand-blue);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 14px 16px;
}

.quote-login-gate > .icon,
.quote-account-state > .icon,
.account-login-context > .icon {
  height: 26px;
  width: 26px;
}

.quote-login-gate span,
.quote-account-state span,
.account-login-context span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.quote-login-gate small,
.quote-account-state small,
.account-login-context small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.quote-account-state {
  grid-template-columns: auto minmax(0, 1fr);
}

.quote-account-state.success {
  background: #effbf4;
  border-left-color: var(--green);
  color: #17683a;
}

.account-login-context {
  grid-template-columns: auto minmax(0, 1fr);
  margin-bottom: 18px;
}

.summary-panel .whatsapp-action {
  width: 100%;
}

.message-preview {
  background: #f0fff5;
  border: 1px solid #9be7b7;
  border-radius: 8px;
  padding: 14px;
  color: #175a2e;
  line-height: 1.45;
}

.message-preview p {
  margin: 8px 0 0;
}

.quote-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.quote-controls button {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
}

.quote-controls span {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.quote-controls .remove-line {
  width: auto;
  padding: 0 10px;
  color: var(--danger);
}

.field textarea,
.field select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.field textarea {
  min-height: 96px;
}

.full-field {
  margin-top: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 19, 49, 0.52);
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-card {
  width: min(100%, 460px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(2, 19, 49, 0.28);
  padding: 22px;
  position: relative;
  display: grid;
  gap: 12px;
}

.modal-card h3 {
  margin: 0;
  font-size: 22px;
  color: var(--brand-blue);
}

.modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-close .icon {
  width: 20px;
  height: 20px;
}

.spec-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.spec-list li {
  margin: 6px 0;
}

.customer-points-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 6px;
  background: #f8fbff;
}

.customer-points-card strong {
  color: var(--brand-blue);
}

.customer-points-card span {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.customer-points-card a {
  color: var(--brand-blue);
  font-weight: 700;
}

.loyalty-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.loyalty-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
}

.loyalty-layout p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 760px;
}

.loyalty-card {
  background: var(--brand-blue);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}

.loyalty-card-banner {
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.loyalty-card span {
  color: #ffd4b8;
  font-weight: 700;
}

.loyalty-card strong {
  font-size: 30px;
}

.loyalty-card p {
  margin: 0;
  color: #e7eefb;
}

.stats-grid,
.benefit-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  gap: 6px;
}

.stat-card strong {
  color: var(--gold);
  font-size: 28px;
  line-height: 1.05;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.35;
}

.customer-wallet {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  background: #f8fbff;
}

.customer-wallet strong {
  display: block;
  font-size: 30px;
  color: var(--gold);
}

.customer-wallet small,
.customer-wallet span {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.timeline span {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  color: var(--muted);
  font-size: 13px;
}

.timeline .done {
  border-color: #9be7b7;
  background: #f0fff5;
  color: #175a2e;
  font-weight: 700;
}

.referral-table {
  display: grid;
  gap: 8px;
}

.referral-table > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--muted);
}

.referral-table > div:first-child {
  color: var(--brand-blue);
}

.map-list.compact {
  margin: 14px 0;
}

.loyalty-benefit-grid,
.loyalty-client-grid,
.admin-grid {
  display: grid;
  gap: 16px;
}

.loyalty-benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.loyalty-client-grid,
.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.narrow-container {
  width: min(100% - 32px, 620px);
  margin: 0 auto;
}

.admin-login-panel {
  display: grid;
  gap: 16px;
}

.admin-login-form {
  display: grid;
  gap: 12px;
}

.admin-page-shell {
  min-height: 100vh;
  background: #f4f7fb;
}

.admin-login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.admin-login-card {
  width: min(100%, 560px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}

.admin-login-brand img {
  width: 124px;
  height: auto;
}

.admin-login-card h1 {
  margin: 0 0 8px;
  color: var(--brand-blue);
  font-size: 34px;
}

.admin-login-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-back-link {
  color: var(--brand-blue);
  font-weight: 700;
}

.admin-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--brand-blue);
  color: #fff;
  padding: 22px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 22px;
}

.admin-brand {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #fff;
  font-weight: 800;
}

.admin-brand img {
  width: 64px;
  height: auto;
}

.admin-tabs {
  display: grid;
  gap: 6px;
  align-content: start;
}

.admin-tab {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #dbe8ff;
  padding: 12px 14px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-tab:hover,
.admin-tab.active {
  background: #fff;
  color: var(--brand-blue);
  border-color: #fff;
}

.admin-sidebar-footer {
  display: grid;
  gap: 10px;
}

.admin-sidebar-footer .ghost-button {
  justify-content: center;
}

.admin-workspace {
  padding: 28px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.admin-topbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 30px;
}

.admin-eyebrow {
  margin: 0 0 4px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.admin-user-chip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 14px;
  display: grid;
  gap: 2px;
  min-width: 160px;
}

.admin-user-chip span {
  color: var(--brand-blue);
  font-weight: 800;
}

.admin-user-chip strong {
  color: var(--muted);
  font-size: 13px;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: grid;
  gap: 18px;
}

.admin-metrics,
.admin-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-card,
.admin-metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0, 34, 79, 0.04);
}

.admin-card {
  display: grid;
  gap: 16px;
}

.admin-card.wide {
  grid-column: 1 / -1;
}

.admin-card h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 22px;
}

.admin-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-metric {
  display: grid;
  gap: 6px;
  min-height: 132px;
}

.admin-metric span {
  color: var(--muted);
  font-weight: 700;
}

.admin-metric strong {
  color: var(--brand-blue);
  font-size: 30px;
  line-height: 1.05;
}

.admin-metric small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-metric.success strong {
  color: var(--success);
}

.admin-metric.warning strong {
  color: var(--gold);
}

.admin-metric.info strong {
  color: var(--brand-blue);
}

.admin-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.admin-table-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.admin-table-row:first-child {
  border-top: 0;
}

.admin-table-head {
  background: #f8fbff;
  color: var(--brand-blue);
}

.admin-table-row span,
.admin-table-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.table-action {
  min-height: 34px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  background: #fff;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.table-action:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  background: #eef4ff;
  color: var(--brand-blue);
}

.status-pill.success {
  background: #eafaf0;
  color: #11632d;
}

.status-pill.warning {
  background: #fff2e8;
  color: #a34800;
}

.status-pill.info {
  background: #eaf3ff;
  color: var(--brand-blue);
}

.status-pill.neutral {
  background: #f1f3f6;
  color: var(--muted);
}

.admin-filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(160px, 220px));
  gap: 12px;
}

.admin-upload {
  border: 1px dashed #9bb0cc;
  border-radius: 8px;
  background: #f8fbff;
  min-height: 156px;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
  color: var(--brand-blue);
  cursor: pointer;
}

.admin-upload.compact {
  min-height: 112px;
}

.admin-upload input {
  display: none;
}

.admin-upload strong {
  font-size: 18px;
}

.admin-upload small,
.form-success {
  color: var(--muted);
}

.form-success {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.admin-banner-preview {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.admin-modal-card {
  width: min(100%, 1080px);
  max-height: min(92vh, 960px);
  overflow: auto;
}

.admin-modal-form {
  display: grid;
  gap: 14px;
}

.product-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.product-editor-main,
.product-editor-side {
  display: grid;
  gap: 14px;
}

.product-editor-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.product-editor-section h4 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 17px;
}

.product-editor-section textarea {
  width: 100%;
  min-height: 96px;
}

.product-editor-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-media-upload {
  min-height: 138px;
  background: #fff;
}

.product-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  min-height: 48px;
  align-items: start;
}

.product-media-grid > span {
  color: var(--muted);
  font-size: 14px;
}

.product-media-thumb {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.product-media-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.product-media-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  background: #f6f9ff;
  color: var(--brand-blue);
}

.product-media-thumb figcaption {
  padding: 7px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.admin-modal-actions {
  position: sticky;
  bottom: -22px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.admin-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(420px, calc(100% - 32px));
  border-radius: 8px;
  background: var(--brand-blue);
  color: #fff;
  padding: 14px 16px;
  box-shadow: 0 18px 50px rgba(2, 19, 49, 0.28);
  font-weight: 800;
}

.admin-channel-list {
  display: grid;
  gap: 10px;
}

.admin-channel-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 4px;
  background: #f8fbff;
}

.admin-channel-list strong {
  color: var(--brand-blue);
}

.admin-channel-list small {
  color: var(--muted);
}

.quick-edit-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.quick-edit-box h3 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 18px;
}

.quick-edit-box p {
  margin: 4px 0 0;
}

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

.product-checklist span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: #f8fbff;
  color: var(--muted);
}

.product-checklist strong {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  display: grid;
  place-items: center;
}

.image-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.image-spec-item {
  display: grid;
  gap: 5px;
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.image-spec-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.image-spec-item strong {
  color: var(--brand-blue);
  font-size: 20px;
}

.image-spec-item small,
.image-spec-item em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.validation-list {
  display: grid;
  gap: 8px;
}

.validation-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.validation-list strong {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  background: #ecf7ef;
  color: var(--success);
}

.validation-list small {
  display: grid;
  gap: 2px;
  color: var(--muted);
  line-height: 1.3;
}

.validation-list b {
  color: var(--brand-blue);
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-weight: 700;
}

.empty-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.empty-state h2 {
  color: var(--brand-blue);
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--muted);
  margin: 0 0 18px;
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
    gap: 12px;
  }

  .account-link {
    display: none;
  }

  .brand-logo {
    width: 98px;
    height: 76px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .loyalty-layout,
  .benefit-panels,
  .loyalty-benefit-grid {
    grid-template-columns: 1fr;
  }

  .admin-app {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
    overflow-x: clip;
  }

  .container {
    width: min(100% - 20px, 1320px);
  }

  .header-service-bar {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-main {
    min-height: 58px;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 0;
  }

  .brand-lockup {
    min-height: 48px;
    justify-content: flex-start;
  }

  .brand-logo {
    width: 62px;
    height: 46px;
    margin: 0;
  }

  .search-form {
    grid-column: auto;
    height: 42px;
    margin: 0;
  }

  .search-form input {
    padding: 0 10px 0 12px;
    font-size: 14px;
  }

  .search-form .icon-button {
    width: 40px;
    height: 40px;
  }

  .account-link,
  .coin-balance,
  .cart-link,
  .nav-strip {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    box-shadow: 0 -8px 24px rgba(3, 31, 79, 0.1);
  }

  .mobile-bottom-nav a {
    min-height: 58px;
    min-width: 0;
    color: var(--muted);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    position: relative;
    font-size: 10px;
    font-weight: 700;
  }

  .mobile-bottom-nav a.active {
    color: var(--brand-blue);
    box-shadow: inset 0 3px 0 var(--gold);
  }

  .mobile-bottom-nav .icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
  }

  .mobile-bottom-nav a.active .icon {
    stroke-width: 2.2;
  }

  .mobile-bottom-nav strong {
    position: absolute;
    top: 6px;
    left: calc(50% + 7px);
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 10px;
  }

  .floating-whatsapp {
    display: none;
  }

  .whatsapp-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .location-row {
    min-height: 30px;
    font-size: 13px;
  }

  .campaign-strip img {
    height: 130px;
  }

  .hero-stage {
    padding: 12px 0 16px;
  }

  .hero-carousel {
    aspect-ratio: 780 / 720;
  }

  .slider-arrow {
    display: none;
  }

  .category-rail {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 104px;
    overflow-x: auto;
    gap: 10px;
  }

  .category-card {
    min-height: 112px;
    padding: 10px 7px;
    grid-template-rows: 42px auto;
  }

  .category-card .category-icon,
  .category-card svg {
    width: 36px;
    height: 36px;
  }

  .category-card strong {
    font-size: 12px;
  }

  .category-card strong.long-label {
    font-size: 11px;
  }

  .product-rail {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(174px, 43vw);
    overflow-x: auto;
    gap: 10px;
    padding: 1px 1px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .product-rail::-webkit-scrollbar {
    display: none;
  }

  .product-rail .product-card {
    scroll-snap-align: start;
  }

  .section-title {
    font-size: 22px;
  }

  .section {
    padding: 14px 0 16px;
  }

  .section-header {
    margin-bottom: 12px;
  }

  .section-kicker {
    font-size: 14px;
    line-height: 1.35;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .benefit-strip,
  .customer-wallet {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .benefit-panels,
  .loyalty-benefit-grid,
  .loyalty-client-grid,
  .admin-grid,
  .admin-metrics,
  .admin-section-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .admin-login-screen {
    padding: 16px;
  }

  .admin-login-card {
    padding: 20px;
  }

  .admin-app {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    padding: 16px;
  }

  .admin-tabs {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .admin-tab {
    white-space: nowrap;
  }

  .admin-sidebar-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-workspace {
    padding: 16px;
  }

  .admin-topbar,
  .admin-card-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions {
    justify-content: stretch;
  }

  .admin-actions .primary-button,
  .admin-actions .secondary-button {
    flex: 1;
  }

  .admin-filter-row {
    grid-template-columns: 1fr;
  }

  .product-editor-layout {
    grid-template-columns: 1fr;
  }

  .admin-modal-actions {
    position: static;
    flex-direction: column;
  }

  .admin-table {
    overflow-x: auto;
  }

  .admin-table-row {
    min-width: 640px;
  }

  .catalog-layout,
  .product-detail,
  .cart-layout,
  .checkout-layout,
  .account-layout,
  .content-layout,
  .loyalty-layout {
    grid-template-columns: 1fr;
  }

  .catalog-page {
    padding-top: 10px;
  }

  .catalog-page .breadcrumb,
  .catalog-page > .container > .section-header .section-kicker {
    display: none;
  }

  .catalog-page > .container > .section-header {
    margin-bottom: 8px;
  }

  .catalog-page > .container > .section-header .section-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .catalog-layout {
    gap: 8px;
  }

  .filter-panel {
    display: block;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .filter-panel h3 {
    display: none;
  }

  .filter-links {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .filter-links::-webkit-scrollbar {
    display: none;
  }

  .filter-links a {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    min-height: 34px;
    padding: 7px 10px;
    scroll-snap-align: start;
    background: #fff;
    font-size: 13px;
  }

  .filter-favorite-link {
    display: none;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    padding: 4px 0 0;
    border: 0;
    background: transparent;
  }

  .catalog-results {
    color: var(--muted);
    font-size: 13px;
  }

  .catalog-results strong {
    color: var(--ink);
  }

  .catalog-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-controls select {
    width: 100%;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }

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

  .product-title {
    font-size: 13px;
  }

  .price {
    font-size: 18px;
  }

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

  .thumbnail-list {
    grid-template-columns: repeat(5, 64px);
    overflow-x: auto;
  }

  .thumbnail {
    width: 64px;
    height: 64px;
  }

  .main-image {
    min-height: 320px;
  }

  .main-image img {
    max-height: 300px;
  }

  .product-heading h1 {
    font-size: 22px;
  }

  .cep-form {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 84px 1fr;
  }

  .cart-item > .price {
    grid-column: 2;
  }

  .stepper,
  .form-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field.full-field {
    grid-column: auto;
  }

  .field input,
  .field select {
    min-height: 46px;
  }

  .search-form input,
  .field input,
  .field select,
  .field textarea,
  .cep-form input,
  .catalog-controls select {
    font-size: 16px;
  }

  .product-card a,
  .product-card button,
  .category-card,
  .mobile-bottom-nav a {
    touch-action: manipulation;
  }

  .quote-project-panel {
    padding: 14px;
  }

  .quote-project-header {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-project-header h2 {
    font-size: 18px;
  }

  .quote-new-project,
  .quote-project-selector {
    max-width: none;
    width: 100%;
  }

  .quote-project-fields .full-field {
    grid-column: auto;
  }

  .quote-login-gate {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .quote-login-gate .primary-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .filter-panel,
  .catalog-toolbar,
  .account-panel,
  .summary-panel,
  .checkout-panel,
  .policy-panel {
    border-radius: 6px;
  }

  .catalog-page .seo-copy {
    display: none;
  }

  .footer-grid {
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .header-main {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
  }

  .brand-logo {
    width: 56px;
    height: 42px;
  }

  .catalog-layout .product-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-layout .product-card {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 132px;
  }

  .catalog-layout .product-media {
    aspect-ratio: auto;
    min-height: 132px;
    border-right: 1px solid var(--line);
  }

  .catalog-layout .product-image-link {
    padding: 12px 8px;
  }

  .catalog-layout .product-image-pending .product-image-link img {
    width: 60px;
    height: 60px;
  }

  .catalog-layout .image-pending-label {
    font-size: 10px;
  }

  .catalog-layout .favorite-button {
    top: 8px;
    right: 8px;
    bottom: auto;
    box-shadow: 0 3px 10px rgba(12, 33, 81, 0.12);
  }

  .catalog-layout .discount-badge,
  .catalog-layout .product-detail-link {
    display: none;
  }

  .product-info {
    gap: 5px;
    padding: 9px 9px 12px;
  }

  .product-department {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .catalog-layout .product-title {
    min-height: 34px;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.28;
  }

  .catalog-layout .product-info {
    padding: 9px;
  }

  .catalog-layout .product-department {
    display: none;
  }

  .catalog-layout .price {
    font-size: 18px;
  }

  .catalog-layout .product-actions {
    grid-template-columns: 1fr;
    padding-top: 2px;
  }

  .catalog-layout .compact-button {
    min-height: 38px;
  }

  .catalog-layout .rating,
  .catalog-layout .installment {
    display: none;
  }

  .rating {
    font-size: 12px;
  }

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

  .product-card .installment {
    display: none;
  }

  .price {
    font-size: 17px;
  }

  .discount-badge {
    left: 8px;
    top: 8px;
    padding: 3px 7px;
    font-size: 11px;
  }

  .favorite-button {
    right: 8px;
    bottom: 8px;
    width: 36px;
    height: 36px;
  }

  .favorite-button .icon {
    width: 21px;
    height: 21px;
  }

  .product-actions {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 6px;
  }

  .compact-button {
    min-height: 40px;
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (max-width: 350px) {
  .catalog-controls {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
