:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text: #172033;
  --muted: #667085;
  --line: #d8e0ea;
  --line-strong: #b8c5d6;
  --brand: #09357b;
  --brand-strong: #07295d;
  --secondary: #ff7a00;
  --secondary-strong: #d86200;
  --highlight: #1f8f59;
  --danger: #c62828;
  --shadow-soft: 0 10px 24px rgba(9, 23, 48, 0.06);
  --shadow-card: 0 18px 40px rgba(9, 23, 48, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(9, 53, 123, 0.08), transparent 28%),
    linear-gradient(180deg, #f6f8fb 0%, #eef2f7 100%);
  color: var(--text);
}

body.has-cart-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.shell {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
}

.site-main {
  min-height: calc(100vh - 220px);
  padding-bottom: 48px;
}

.topbar {
  background: linear-gradient(90deg, var(--brand-strong), var(--brand));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.topbar__message {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.topbar__seals {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  opacity: 0.95;
}

.topbar__seals span::before {
  content: "•";
  margin-right: 6px;
  color: #ffd28f;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-main {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 88px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-brand__logo {
  width: auto;
  height: 58px;
  max-width: 180px;
  object-fit: contain;
}

.site-brand__copy {
  display: grid;
  gap: 2px;
}

.site-brand__copy strong {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.site-brand__copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-search {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 52px;
  border: 2px solid rgba(9, 53, 123, 0.10);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.site-search input {
  width: 100%;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
}

.site-search button {
  min-width: 132px;
  border: 0;
  background: linear-gradient(180deg, var(--secondary), var(--secondary-strong));
  color: #fff;
  font-weight: 800;
}

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

.header-account-menu {
  position: relative;
}

.header-account-link {
  gap: 8px;
}

.header-account-link__icon,
.cart-shortcut__icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(9, 53, 123, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
}

.header-links a,
.cart-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-links a:hover,
.cart-shortcut:hover,
.header-categories a:hover {
  border-color: rgba(9, 53, 123, 0.3);
  color: var(--brand);
}

.header-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 25;
}

.header-account-menu:hover .header-account-dropdown,
.header-account-menu:focus-within .header-account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-account-dropdown a {
  justify-content: flex-start;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 700;
  background: transparent;
}

.cart-shortcut {
  gap: 10px;
}

.cart-shortcut strong,
.mobile-nav span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: var(--danger);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
}

.header-links__admin {
  background: rgba(9, 53, 123, 0.06);
  color: var(--brand);
}

.header-categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 14px;
}

.header-categories a {
  white-space: nowrap;
  padding: 9px 12px;
  border: 1px solid transparent;
  color: #445266;
  font-size: 0.88rem;
  font-weight: 700;
}

.header-categories::-webkit-scrollbar {
  display: none;
}

.flash-list {
  display: grid;
  gap: 12px;
  padding-top: 16px;
}

.flash {
  padding: 14px 16px;
  border-left: 4px solid var(--secondary);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  background: linear-gradient(180deg, var(--secondary), var(--secondary-strong));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.btn:hover {
  filter: brightness(0.98);
}

.btn.is-added {
  background: linear-gradient(180deg, var(--highlight), #157246);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.btn-small {
  min-height: 40px;
  padding: 0 13px;
  font-size: 0.88rem;
}

.tag,
.tag-red-inline,
.tag-green-inline,
.catalog-page__count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #314155;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tag-red,
.tag-red-inline {
  border-color: rgba(198, 40, 40, 0.18);
  background: rgba(198, 40, 40, 0.08);
  color: var(--danger);
}

.tag-discount {
  border-color: rgba(255, 122, 0, 0.18);
  background: rgba(255, 122, 0, 0.10);
  color: var(--secondary-strong);
}

.tag-green,
.tag-green-inline {
  border-color: rgba(31, 143, 89, 0.18);
  background: rgba(31, 143, 89, 0.08);
  color: var(--highlight);
}

.tag-dark {
  border-color: rgba(9, 53, 123, 0.18);
  background: rgba(9, 53, 123, 0.08);
  color: var(--brand);
}

.tag-blue {
  border-color: rgba(9, 53, 123, 0.18);
  background: rgba(9, 53, 123, 0.08);
  color: var(--brand);
}

.tag-yellow {
  border-color: rgba(255, 170, 0, 0.18);
  background: rgba(255, 170, 0, 0.1);
  color: #9a6500;
}

.tag-orange {
  border-color: rgba(255, 122, 0, 0.18);
  background: rgba(255, 122, 0, 0.1);
  color: #bf5d00;
}

.tag-purple {
  border-color: rgba(109, 40, 217, 0.18);
  background: rgba(109, 40, 217, 0.09);
  color: #6d28d9;
}

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

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--muted);
}

.section-link {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
}

.home-hero {
  padding: 24px 0 14px;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.hero-copy {
  padding: 30px 32px;
  border: 1px solid rgba(9, 53, 123, 0.10);
  background:
    linear-gradient(135deg, rgba(9, 53, 123, 0.96), rgba(6, 31, 71, 0.96)),
    #0a2d67;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.hero-eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.10);
  color: #d5e5ff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 16px 0 10px;
  max-width: 620px;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.6;
}

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

.hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.hero-metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.hero-metric span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero-panels {
  display: grid;
  gap: 14px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: center;
  min-height: 124px;
  padding: 20px;
  border: 1px solid rgba(9, 53, 123, 0.08);
  background: var(--panel-bg, #fff);
  color: var(--panel-text, var(--text));
  box-shadow: var(--shadow-soft);
}

.hero-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-panel span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.9;
}

.hero-panel img {
  width: 100%;
  max-height: 98px;
  object-fit: contain;
  justify-self: end;
}

.home-categories,
.storefront-section,
.product-info-section,
.operation-strip,
.catalog-page,
.product-page,
.basket-page,
.checkout-page {
  margin-top: 24px;
}

.checkout-section-title {
  margin: 8px 0 -2px;
  padding-top: 8px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-provider-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(15, 60, 140, 0.12);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.checkout-provider-note strong {
  color: var(--brand);
}

.checkout-provider-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.category-tile {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.category-tile strong {
  font-size: 1rem;
}

.category-tile span {
  color: var(--muted);
  font-size: 0.84rem;
}

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

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  padding: 0 0 18px;
  border: 1px solid #dfe6f2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 51, 115, 0.08);
  overflow: hidden;
}

.store-card:hover {
  border-color: rgba(9, 53, 123, 0.24);
  box-shadow: 0 16px 36px rgba(11, 51, 115, 0.12);
  transform: translateY(-2px);
}

.favorite-chip {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d8e1f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #0f3c8c;
  font-size: 1.2rem;
  box-shadow: 0 8px 16px rgba(9, 53, 123, 0.08);
}

.favorite-chip.is-favorite {
  color: var(--danger);
  border-color: rgba(198, 40, 40, 0.24);
}

.store-card__image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 250px;
  margin: 14px 14px 0;
  padding: 24px;
  border: 1px solid #e9eef6;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  overflow: hidden;
}

.store-card__image img {
  width: auto;
  height: auto;
  max-width: 76%;
  max-height: 76%;
  object-fit: contain;
  object-position: center;
  transition: transform 160ms ease;
}

.store-card:hover .store-card__image img {
  transform: scale(1.03);
}

.store-card__badge-top {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  display: inline-flex;
}

.store-card__badge-top .tag {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.store-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 34px;
  padding: 14px 18px 0;
  align-items: flex-start;
}

.store-card__meta .tag {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
}

.store-card__content {
  display: grid;
  gap: 6px;
  min-height: 142px;
  padding: 18px 18px 0;
  align-content: start;
}

.store-card__content strong {
  font-size: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  min-height: 78px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.store-card__content span,
.store-card__variation {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
  min-height: 24px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.store-card__variation {
  padding: 0 18px;
}

.store-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-height: 68px;
  padding: 14px 18px 0;
  align-content: end;
}

.price-main {
  color: var(--danger);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price-compare {
  color: #8b98aa;
  font-size: 1rem;
  text-decoration: line-through;
}

.store-card__actions {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 10px;
  padding: 18px 18px 0;
  margin-top: auto;
  align-items: center;
}

.store-card__control-form {
  margin: 0;
}

.store-card__icon-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15, 60, 140, 0.18);
}

.store-card__icon-btn--ghost {
  background: #fff;
  color: var(--brand);
  border: 1px solid #d7e0ef;
  box-shadow: none;
}

.store-card__qty {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid #d7e0ef;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
}

.store-card .tag[data-countdown] {
  width: fit-content;
}

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

.promo-card {
  padding: 22px;
  border: 1px solid rgba(9, 53, 123, 0.10);
  background:
    linear-gradient(180deg, rgba(9, 53, 123, 0.98), rgba(8, 42, 98, 0.98)),
    #0b3373;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.promo-card__badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.10);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-card h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
}

.promo-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.promo-card__products {
  display: grid;
  gap: 10px;
}

.promo-card__products a {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
}

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

.operation-step,
.empty-panel {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.operation-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.operation-step span,
.empty-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 20px;
}

.filter-panel,
.summary-panel,
.checkout-form-panel,
.product-buybox,
.basket-items,
.product-description {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.filter-panel {
  align-self: start;
  padding: 18px;
  position: sticky;
  top: 120px;
}

.filter-panel__form,
.checkout-form {
  display: grid;
  gap: 14px;
}

.filter-panel__form label,
.checkout-field label,
.field-row label,
.variant-box__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #344054;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-panel__form input,
.filter-panel__form select,
.checkout-field input,
.checkout-field select,
.checkout-field textarea,
.field-row input,
.coupon-form input,
.basket-qty-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  outline: 0;
}

.checkout-field textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.filter-panel__form input:focus,
.filter-panel__form select:focus,
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus,
.field-row input:focus,
.coupon-form input:focus,
.basket-qty-form input:focus,
.site-search input:focus {
  border-color: rgba(9, 53, 123, 0.45);
  box-shadow: 0 0 0 4px rgba(9, 53, 123, 0.08);
}

.filter-panel__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.filter-panel__check input {
  width: 16px;
  height: 16px;
  min-height: 0;
}

.catalog-price-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
}

.product-media {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
}

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

.product-media__thumb {
  position: relative;
  display: grid;
  place-items: center;
  height: 82px;
  padding: 6px;
  border: 1px solid var(--line);
  background: #fff;
}

.product-media__thumb.is-active {
  border-color: rgba(9, 53, 123, 0.4);
}

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

.product-media__cover {
  position: absolute;
  top: 6px;
  left: 6px;
  color: var(--secondary);
  font-size: 0.82rem;
}

.product-media__main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fdfefe 0%, #f3f6fb 100%);
  box-shadow: var(--shadow-soft);
}

.product-media__image {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
}

.product-media__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand);
  font-size: 1.35rem;
}

.product-media__nav--prev {
  left: 16px;
}

.product-media__nav--next {
  right: 16px;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.catalog-pagination a,
.catalog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: #445266;
  font-weight: 800;
}

.catalog-pagination span.is-active {
  border-color: rgba(9, 53, 123, 0.18);
  background: #edf4ff;
  color: var(--brand);
}

.product-media__empty {
  display: grid;
  place-items: center;
  min-height: 440px;
  border: 1px dashed var(--line-strong);
  background: #fff;
  color: var(--muted);
}

.product-buybox {
  padding: 24px;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #6b7486;
}

.product-breadcrumb a {
  color: var(--brand);
  font-weight: 700;
}

.product-breadcrumb strong {
  color: var(--ink);
  font-weight: 800;
}

.product-buybox__tags,
.product-assurance,
.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-buybox h1 {
  margin: 16px 0 10px;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.product-buybox__subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-buybox__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-top: 18px;
}

.product-buybox__meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #445266;
  font-size: 0.92rem;
}

.product-buybox__form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.variant-box {
  display: grid;
  gap: 10px;
}

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

.variant-item {
  display: block;
}

.variant-item__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-item__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.variant-item__input:checked + .variant-item__body {
  border-color: rgba(9, 53, 123, 0.35);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(9, 53, 123, 0.12);
}

.variant-item__image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid #edf1f5;
  background: #fff;
}

.variant-item__copy {
  display: grid;
  gap: 4px;
}

.variant-item__type {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.variant-item__line {
  color: var(--muted);
  font-size: 0.84rem;
}

.variant-item__line small {
  margin-left: 6px;
  color: #8b98aa;
  text-decoration: line-through;
}

.field-row input {
  max-width: 120px;
}

.product-buybox__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-assurance {
  margin-top: 18px;
}

.product-assurance div,
.checkout-trust span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-whatsapp-btn {
  width: 100%;
}

.btn-whatsapp {
  background: #17a34a;
  border-color: #17a34a;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #12813b;
  border-color: #12813b;
  color: #fff;
}

.product-promotions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.product-reviews-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
}

.product-reviews-summary,
.product-review-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px;
}

.product-reviews-summary {
  display: grid;
  gap: 16px;
  align-content: start;
}

.product-reviews-summary__score {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.product-reviews-stars,
.product-review-card__stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 1.05rem;
}

.product-reviews-stars .is-empty,
.product-review-card__stars .is-empty {
  color: #d6dde8;
}

.product-review-form {
  display: grid;
  gap: 14px;
}

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

.product-review-form__stars ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-review-form__stars label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #445266;
}

.product-review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.product-reviews-list {
  display: grid;
  gap: 16px;
}

.product-review-card__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: #6b7486;
}

.product-review-card__head strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.product-review-card p {
  margin: 0;
  color: #445266;
  line-height: 1.7;
}

.form-error {
  color: #c62828;
  font-size: 0.88rem;
  font-weight: 700;
}

.product-promo-item {
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff8ee;
}

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

.product-description {
  padding: 24px;
  line-height: 1.75;
}

.basket-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
}

.basket-items,
.checkout-form-panel,
.summary-panel {
  padding: 20px;
}

.basket-table,
.summary-table,
.summary-actions,
.summary-panel,
.coupon-form {
  display: grid;
  gap: 14px;
}

.basket-row,
.summary-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f5;
}

.basket-row:last-child,
.summary-item:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.basket-row__media,
.summary-item__media {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  padding: 8px;
  border: 1px solid #edf1f5;
  background: var(--surface-alt);
}

.basket-row__media img,
.summary-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.basket-row__content,
.summary-item__content {
  display: grid;
  gap: 5px;
}

.basket-row__content span,
.basket-row__content small,
.summary-item__content span,
.summary-item__content small {
  color: var(--muted);
}

.basket-row__controls {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.basket-qty-form {
  display: grid;
  grid-template-columns: 44px 72px 44px auto;
  align-items: center;
  gap: 8px;
}

.basket-qty-form input {
  width: 76px;
  text-align: center;
}

.basket-remove {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 800;
}

.basket-remove--icon {
  min-width: 40px;
}

.basket-qty-btn {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(9, 53, 123, 0.14);
  background: var(--brand);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.basket-qty-btn--ghost {
  background: #fff;
  color: var(--brand);
}

.basket-row__subtotal {
  font-size: 1.1rem;
}

.basket-row.is-removing {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.basket-suggestions {
  margin-top: 28px;
}

.store-card__quick-form {
  padding: 0 18px 18px;
}

.store-card__quick-btn {
  width: 100%;
}

.summary-panel h2 {
  margin: 0;
  font-size: 1.35rem;
}

.summary-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.summary-panel [data-coupon-feedback],
.summary-panel [data-shipping-feedback] {
  min-height: 20px;
}

.free-progress {
  padding: 14px;
  border: 1px solid rgba(31, 143, 89, 0.16);
  background: rgba(31, 143, 89, 0.06);
}

.free-progress p {
  margin: 0 0 10px;
}

.free-progress__bar {
  height: 8px;
  background: rgba(31, 143, 89, 0.12);
}

.free-progress__bar span {
  display: block;
  height: 100%;
  background: var(--highlight);
}

.empty-panel__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #eef3fb;
  font-size: 2rem;
}

.summary-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #445266;
}

.summary-table__total {
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}

.summary-table__total span,
.summary-table__total strong {
  color: var(--text);
  font-size: 1.08rem;
}

.checkout-form-panel {
  padding: 22px;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.checkout-progress__step {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.checkout-progress__step strong {
  font-size: 0.98rem;
}

.checkout-progress__badge {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-weight: 800;
}

.checkout-progress__step.is-active {
  border-color: var(--brand);
  background: rgba(28, 88, 214, 0.06);
  color: var(--text);
}

.checkout-progress__step.is-active .checkout-progress__badge {
  background: var(--brand);
  color: #fff;
}

.checkout-progress__step.is-complete {
  border-color: rgba(31, 143, 89, 0.22);
  background: rgba(31, 143, 89, 0.06);
  color: var(--text);
}

.checkout-progress__step.is-complete .checkout-progress__badge {
  background: var(--highlight);
  color: #fff;
}

.checkout-flow {
  display: grid;
  gap: 18px;
}

.checkout-step {
  border: 1px solid var(--line);
  background: #fff;
}

.checkout-step__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  text-align: left;
}

.checkout-step__header span {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-step__header strong {
  font-size: 1.18rem;
}

.checkout-step__body {
  display: none;
  padding: 0 20px 22px;
}

.checkout-step.is-open .checkout-step__body {
  display: grid;
  gap: 18px;
}

.checkout-connected,
.checkout-login-callout {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.checkout-address-picker {
  display: grid;
  gap: 12px;
}

.checkout-address-picker__title {
  font-weight: 800;
}

.checkout-address-grid,
.checkout-payment-options {
  display: grid;
  gap: 12px;
}

.checkout-address-card,
.checkout-payment-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.checkout-address-card input,
.checkout-payment-card input {
  margin: 0;
}

.checkout-address-card strong,
.checkout-payment-card strong {
  color: var(--ink);
}

.checkout-address-card span,
.checkout-payment-card span,
.checkout-address-card em {
  color: var(--muted);
  font-style: normal;
}

.checkout-other-address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.checkout-payment-note {
  display: grid;
  gap: 12px;
}

.checkout-confirm-btn {
  width: 100%;
}

.checkout-identification-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
}

.checkout-address-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
}

.checkout-choice-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.checkout-choice-card--login {
  align-content: start;
  border-color: rgba(28, 88, 214, 0.18);
  background: linear-gradient(180deg, rgba(28, 88, 214, 0.04), #fff 45%);
}

.checkout-choice-card__eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-choice-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.checkout-choice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-identification-form {
  display: grid;
  gap: 16px;
}

.checkout-warning-banner {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(190, 141, 14, 0.28);
  background: rgba(255, 214, 94, 0.14);
  color: #6c5300;
}

.checkout-warning-banner a {
  font-weight: 800;
}

.checkout-address-actions {
  margin: 8px 0 0;
}

.checkout-address-card.is-selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  background: rgba(28, 88, 214, 0.04);
}

.checkout-payment-card.is-selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  background: rgba(28, 88, 214, 0.04);
}

.checkout-address-banner {
  margin-bottom: 12px;
}

.checkout-payment-options--large .checkout-payment-card {
  padding: 20px 22px;
}

.checkout-payment-panel {
  display: grid;
  gap: 14px;
}

.checkout-success-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  padding: 26px 28px;
  border: 1px solid rgba(31, 143, 89, 0.16);
  background: rgba(31, 143, 89, 0.06);
}

.checkout-success-hero h1 {
  margin: 0 0 8px;
  color: #1f8f59;
}

.checkout-success-hero p,
.checkout-success-hero span {
  margin: 0;
}

.checkout-success-hero__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #1f8f59;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  animation: checkoutPop 0.5s ease;
}

.checkout-pix-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(28, 88, 214, 0.12);
  background: #fff;
}

.payment-qr--large {
  width: min(100%, 260px);
  margin: 0 auto;
}

.checkout-pix-copy {
  display: grid;
  gap: 10px;
}

.checkout-pix-copy input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.btn-whatsapp {
  background: #1f8f59;
}

@keyframes checkoutPop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.checkout-trust {
  margin-top: 6px;
}

.mini-cart {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}

.mini-cart.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mini-cart__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(9, 16, 32, 0.08);
}

.mini-cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 42px rgba(9, 16, 32, 0.18);
  transform: translateX(100%);
  transition: transform 0.26s ease;
}

.mini-cart.is-open .mini-cart__panel {
  transform: translateX(0);
}

.mini-cart__header,
.mini-cart__footer {
  padding: 20px;
  border-bottom: 1px solid #edf1f5;
}

.mini-cart__footer {
  border-top: 1px solid #edf1f5;
  border-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-cart__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.mini-cart__header span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.mini-cart__close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.1rem;
}

.mini-cart__body {
  overflow: auto;
  padding: 20px;
}

.mini-cart-items {
  display: grid;
  gap: 14px;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1f5;
}

.mini-cart-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mini-cart-item__thumb {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
}

.mini-cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mini-cart-item__copy {
  display: grid;
  gap: 5px;
  padding-top: 4px;
}

.mini-cart-item__copy strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.mini-cart-item__copy span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.mini-cart-item__total {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.3;
  padding-top: 4px;
  text-align: right;
}

.mini-cart-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #edf1f5;
}

.mini-cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #445266;
}

.mini-cart-summary__row--total {
  padding-top: 10px;
  border-top: 1px solid #edf1f5;
}

.mini-cart-summary__row--total span,
.mini-cart-summary__row--total strong {
  color: var(--text);
  font-size: 1rem;
}

.mini-cart-empty {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.mini-cart-empty strong {
  font-size: 1rem;
}

.mini-cart-empty span {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  margin-top: 48px;
  padding: 38px 0;
  background: #0c1830;
  color: #e5ebf5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-column strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1rem;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: rgba(229, 235, 245, 0.78);
  line-height: 1.7;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  background: #22c55e;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-card);
}

.mobile-nav,
.mobile-nav-space {
  display: none;
}

.customer-shell {
  padding-top: 28px;
  padding-bottom: 28px;
  position: relative;
}

.customer-shell::before {
  content: none;
}

.customer-shell > * {
  position: relative;
  z-index: 1;
}

.customer-heading {
  margin-bottom: 20px;
  padding: 28px 30px;
  color: #fff;
}

.customer-portal-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
  padding: 8px 0 10px;
  color: #222c39;
}

.customer-portal-topbar h1 {
  margin: 6px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.05;
}

.customer-portal-topbar p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #66758a;
  line-height: 1.65;
}

.customer-portal-topbar__eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dbe2ee;
  background: #fff;
  color: #4d5c70;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.customer-portal-topbar--light h1 {
  color: #2c3138;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  font-weight: 300;
  line-height: 1.06;
}

.customer-portal-topbar__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.customer-portal-topbar__meta span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.customer-portal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.customer-portal__sidebar,
.customer-portal__content {
  min-width: 0;
}

.customer-portal-card,
.customer-side-nav__item,
.customer-auth-card,
.customer-auth-side,
.customer-order-card,
.customer-panel,
.customer-empty,
.customer-summary-card,
.customer-highlight-card,
.customer-detail-hero__main,
.customer-detail-hero__aside {
  border-radius: 18px;
}

.customer-identity-card {
  margin-bottom: 18px;
  padding: 28px 22px;
  border: 1px solid #e8ecf3;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 28, 45, 0.08);
  overflow: hidden;
  word-break: break-word;
}

.customer-identity-card--profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  align-items: center;
}

.customer-identity-card__avatar {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8dbe1 0%, #c7ccd4 100%);
  color: #8b9098;
  font-size: 2.2rem;
  font-weight: 700;
}

.customer-identity-card__copy {
  overflow: hidden;
  word-break: break-word;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.customer-identity-card__eyebrow {
  color: #7d848d;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.customer-identity-card strong {
  color: #222c39;
  font-size: 1.9rem;
  font-weight: 300;
}

.customer-identity-card__copy small {
  color: #7b8592;
  font-size: 0.95rem;
}

.customer-identity-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.customer-identity-card__status span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(9, 53, 123, 0.12);
  background: #f5f8ff;
  color: #234783;
  font-size: 0.75rem;
  font-weight: 800;
}

.customer-side-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.customer-side-summary__item {
  display: grid;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.customer-side-summary__item span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.customer-side-summary__item strong {
  color: var(--brand);
  font-size: 1.05rem;
}

.customer-side-nav {
  display: grid;
  gap: 2px;
}

.customer-side-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #16376f;
  font-weight: 800;
}

.customer-side-back__icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(11, 54, 133, 0.16);
  background: rgba(255, 255, 255, 0.8);
}

.customer-side-nav__item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 8px 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: color 0.2s ease;
}

.customer-side-nav__item:hover {
  transform: none;
}

.customer-side-nav__indicator {
  display: block;
  width: 8px;
  height: 54px;
  border-radius: 0;
  background: transparent;
}

.customer-side-nav__item strong {
  color: #5c6470;
  font-size: 1rem;
  font-weight: 500;
}

.customer-side-nav__item small {
  display: none;
}

.customer-side-nav__item.is-active {
  background: transparent;
}

.customer-side-nav__item.is-active .customer-side-nav__indicator {
  background: #0d0d0d;
}

.customer-side-nav__item.is-active strong {
  color: #222c39;
  font-weight: 800;
}

.customer-portal__content {
  display: grid;
  gap: 24px;
}

.customer-page-label {
  display: none;
}

.customer-page-label span {
  color: #17376f;
  font-size: 1rem;
  font-weight: 800;
}

.customer-page-label small {
  color: var(--muted);
  line-height: 1.5;
}

.customer-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 18px;
}

.customer-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-overview-card {
  display: grid;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.customer-overview-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.customer-overview-card strong {
  color: #193a75;
  font-size: 1.02rem;
  line-height: 1.45;
}

.customer-panel-heading-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.customer-panel-heading-inline h2 {
  margin: 0;
}

.customer-panel-heading-inline p {
  margin: 8px 0 0;
  color: var(--muted);
}

.customer-dashboard-items,
.customer-address-list,
.customer-card-list,
.customer-coupon-list {
  display: grid;
  gap: 14px;
}

.customer-dashboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #edf1f5;
}

.customer-dashboard-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.customer-quick-links {
  display: grid;
  gap: 12px;
}

.customer-quick-link {
  display: grid;
  gap: 6px;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color: #173770;
}

.customer-quick-link strong {
  font-size: 1rem;
}

.customer-quick-link span {
  color: var(--muted);
  line-height: 1.55;
}

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

.customer-health-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.customer-health-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.customer-health-card strong {
  color: #17376f;
  font-size: 1rem;
}

.customer-health-card.is-complete {
  border-color: rgba(31, 143, 89, 0.22);
  background: linear-gradient(180deg, #f8fffb 0%, #eefaf3 100%);
}

.customer-next-actions {
  display: grid;
  gap: 12px;
}

.customer-next-action {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.customer-next-action strong {
  color: #17376f;
  font-size: 1rem;
}

.customer-next-action span {
  color: var(--muted);
  line-height: 1.55;
}

.customer-next-action.is-priority {
  border-color: rgba(255, 122, 0, 0.2);
  background: linear-gradient(180deg, #fff9f2 0%, #fff4e7 100%);
}

.customer-profile-summary {
  align-self: start;
}

.customer-profile-board {
  border: 1px solid #dfe4eb;
  background: #fff;
  box-shadow: 0 8px 26px rgba(18, 28, 45, 0.05);
}

.customer-profile-board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px 0;
}

.customer-profile-board__header strong {
  color: #2b3138;
  font-size: 1.15rem;
}

.customer-profile-board__header a {
  color: #1b66d2;
  font-size: 0.96rem;
  text-decoration: underline;
}

.customer-profile-board__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 42px;
  padding: 22px 28px 30px;
}

.customer-profile-board__grid div {
  display: grid;
  gap: 8px;
}

.customer-profile-board__grid span {
  color: #2f343b;
  font-size: 1rem;
  font-weight: 500;
}

.customer-profile-board__grid strong {
  color: #99a0aa;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

.customer-panel--soft {
  border: 1px solid #e4e9f0;
  background: #fff;
  box-shadow: 0 8px 26px rgba(18, 28, 45, 0.04);
}

.customer-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.customer-profile-badges span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #526174;
  font-size: 0.78rem;
  font-weight: 800;
}

.customer-profile-badges span.is-complete {
  border-color: rgba(31, 143, 89, 0.2);
  background: #eef9f2;
  color: #12623a;
}

.customer-profile-summary__list {
  display: grid;
  gap: 12px;
}

.customer-profile-summary__list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}

.customer-profile-summary__list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.customer-profile-summary__list span {
  color: var(--muted);
}

.customer-profile-summary__list strong {
  color: #17376f;
  text-align: right;
}

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

.customer-form-field {
  display: grid;
  gap: 8px;
}

.customer-form-field label {
  color: #27426e;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.customer-form-field--checkbox {
  align-content: end;
}

.customer-form-field--checkbox label {
  order: 2;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.customer-checkbox {
  width: 18px;
  height: 18px;
}

.customer-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  padding-top: 4px;
}

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

.customer-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.customer-filter-pills a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: #445266;
  font-size: 0.85rem;
  font-weight: 800;
}

.customer-filter-pills a.is-active {
  border-color: rgba(9, 53, 123, 0.18);
  background: #edf4ff;
  color: var(--brand);
}

.customer-btn-danger {
  border: 1px solid rgba(201, 44, 31, 0.16);
  background: #fff3f1;
  color: #b12519;
}

.customer-address-card,
.customer-coupon-card,
.customer-saved-card,
.customer-rebuy-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-soft);
}

.customer-address-card,
.customer-coupon-card,
.customer-saved-card {
  padding: 18px 20px;
}

.customer-address-card__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.customer-address-card p,
.customer-coupon-card p,
.customer-saved-card span {
  color: var(--muted);
  line-height: 1.6;
}

.customer-address-card p {
  margin: 0;
}

.customer-address-stack {
  display: grid;
  gap: 14px;
}

.customer-address-card--account {
  display: grid;
  gap: 14px;
}

.customer-address-card__heading {
  display: grid;
  gap: 6px;
}

.customer-address-card__heading span {
  color: var(--muted);
  line-height: 1.65;
}

.customer-address-delete-confirm {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 44, 31, 0.16);
  background: #fff8f7;
}

.customer-address-delete-confirm span {
  color: var(--muted);
  line-height: 1.6;
}

.customer-address-edit {
  padding-top: 4px;
  border-top: 1px solid #edf1f5;
}

.customer-form-grid--address {
  gap: 16px;
}

.customer-cep-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.customer-cep-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(9, 53, 123, 0.15);
  border-top-color: var(--brand);
  border-radius: 999px;
  animation: customer-spin 0.8s linear infinite;
}

.customer-cep-spinner.is-visible {
  display: inline-block;
}

@keyframes customer-spin {
  to {
    transform: rotate(360deg);
  }
}

.customer-saved-card {
  display: grid;
  gap: 8px;
}

.customer-saved-card__brand {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.customer-rebuy-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.customer-rebuy-card__media {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 14px;
  border: 1px solid #edf1f5;
  background: linear-gradient(180deg, #fcfdff 0%, #f3f6fb 100%);
}

.customer-rebuy-card__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.customer-rebuy-card__body {
  display: grid;
  gap: 6px;
  align-content: start;
}

.customer-rebuy-card__body strong:last-child {
  margin-top: 6px;
  color: var(--brand);
  font-size: 1.15rem;
}

.customer-rebuy-card__body span {
  color: var(--muted);
}

.customer-rebuy-card__actions {
  grid-column: 1 / -1;
}

.customer-offer-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-offer-product {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-soft);
}

.customer-offer-product__media {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 16px;
  border: 1px solid #edf1f5;
  background: linear-gradient(180deg, #fcfdff 0%, #f3f6fb 100%);
}

.customer-offer-product__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.customer-offer-product strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 64px;
  color: #17376f;
  font-size: 1rem;
  line-height: 1.35;
}

.customer-offer-product span {
  color: var(--muted);
}

.customer-offer-product__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-height: 42px;
}

.customer-offer-product__price strong {
  color: var(--brand);
  font-size: 1.12rem;
}

.customer-offer-product__price span {
  text-decoration: line-through;
}

.customer-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-list-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.customer-list-card strong {
  color: #17376f;
  font-size: 1.05rem;
}

.customer-list-card span,
.customer-list-card p {
  color: var(--muted);
  line-height: 1.55;
}

.customer-privacy-table {
  display: grid;
  gap: 12px;
}

.customer-privacy-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf1f5;
}

.customer-privacy-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.customer-privacy-row span {
  color: var(--muted);
}

.customer-privacy-row strong {
  color: #17376f;
}

.customer-portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 24px 26px;
  border: 1px solid rgba(10, 48, 110, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 48%, #edf4ff 100%);
  box-shadow: var(--shadow-soft);
}

.customer-portal-hero strong {
  display: block;
  margin-top: 12px;
  color: #183973;
  font-size: 1.55rem;
}

.payment-state-page {
  padding: 24px 0 40px;
}

.payment-state-card {
  display: grid;
  gap: 10px;
}

.customer-portal-hero p {
  max-width: 700px;
  margin: 10px 0 0;
  color: #5c6e89;
  line-height: 1.7;
}

.customer-portal-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.customer-portal-hero__badges span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(11, 54, 133, 0.12);
  background: #fff;
  color: #234783;
  font-size: 0.84rem;
  font-weight: 800;
}

.customer-heading--split {
  display: grid;
  gap: 10px;
}

.customer-heading p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.customer-muted {
  color: var(--muted);
}

.customer-connected-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(9, 53, 123, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 100%);
  box-shadow: var(--shadow-soft);
}

.customer-connected-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.customer-connected-banner span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.customer-connected-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-access-grid,
.customer-auth-grid,
.customer-order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  gap: 20px;
}

.customer-access-grid--portal {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
}

.customer-highlights,
.customer-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

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

.customer-highlights--portal,
.customer-summary-grid--portal {
  margin-bottom: 0;
}

.customer-highlight-card,
.customer-summary-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
}

.customer-highlight-card strong,
.customer-summary-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.customer-highlight-card span,
.customer-summary-card span {
  color: var(--muted);
  line-height: 1.55;
}

.customer-summary-card strong {
  margin: 0;
  font-size: 1.8rem;
  color: var(--brand);
}

.customer-auth-card,
.customer-auth-side,
.customer-order-card,
.customer-panel,
.customer-empty {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.customer-auth-card,
.customer-auth-side,
.customer-panel,
.customer-empty {
  padding: 26px;
}

.customer-panel-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f5;
}

.customer-panel-head strong {
  font-size: 1.1rem;
}

.customer-panel-head span {
  color: var(--muted);
  line-height: 1.6;
}

.customer-auth-card h1,
.customer-auth-side strong,
.customer-panel h2 {
  margin-top: 14px;
}

.customer-auth-form,
.customer-login-actions {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.customer-auth-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #344054;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.customer-auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  outline: 0;
}

.customer-auth-form input:focus {
  border-color: rgba(9, 53, 123, 0.45);
  box-shadow: 0 0 0 4px rgba(9, 53, 123, 0.08);
}

.customer-auth-divider {
  position: relative;
  margin: 18px 0;
  text-align: center;
}

.customer-auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
}

.customer-auth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-google {
  width: 100%;
}

.customer-auth-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.customer-auth-note span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  color: #445266;
  font-size: 0.8rem;
  font-weight: 700;
}

.customer-inline-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.customer-inline-link a {
  color: var(--brand);
  font-weight: 800;
}

.account-entry-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 540px);
  gap: 28px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.account-entry-layout--customer {
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  max-width: 1180px;
  align-items: start;
}

.account-entry-aside,
.account-entry-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.account-entry-aside {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px 34px 36px;
  background:
    radial-gradient(circle at top right, rgba(255, 176, 0, 0.18), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.account-entry-aside h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.account-entry-aside p {
  margin: 0;
  color: #5f6e83;
  line-height: 1.75;
}

.account-entry-points {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.account-entry-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(9, 53, 123, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: #233246;
  font-size: 0.94rem;
  font-weight: 700;
}

.account-entry-points span::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-radius: 999px;
}

.account-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.account-entry-links a {
  color: var(--brand);
  font-weight: 800;
}

.account-entry-card {
  padding: 34px;
  align-self: center;
}

.account-entry-stack {
  display: grid;
  gap: 20px;
}

.customer-login-simple {
  display: grid;
  gap: 18px;
  max-width: 560px;
  margin: 0 auto;
}

.customer-login-plain {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.customer-login-card {
  padding: 52px 60px 40px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.customer-login-card h1 {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
}

.customer-login-card__form {
  display: grid;
  gap: 18px;
}

.customer-login-card__form label {
  display: block;
  margin-bottom: 8px;
  color: #223146;
  font-size: 0.95rem;
  font-weight: 800;
}

.customer-login-card__form input {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid #d8dfe8;
  background: #fff;
  font-size: 1rem;
  outline: 0;
}

.customer-login-card__form input:focus {
  border-color: rgba(9, 53, 123, 0.45);
  box-shadow: 0 0 0 4px rgba(9, 53, 123, 0.08);
}

.customer-login-card__form .btn {
  min-height: 56px;
  margin-top: 6px;
}

.customer-login-card__form--secondary {
  margin-top: 2px;
}

.btn-dark {
  background: #111111;
  color: #fff;
}

.customer-login-card__links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.customer-login-card__links a {
  color: #1f6fe5;
  font-weight: 700;
}

.customer-login-card__support {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #6d7a8d;
}

.customer-login-card__support a {
  color: var(--brand);
  font-weight: 700;
}

.account-manage-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.account-manage-sidebar {
  display: grid;
  gap: 16px;
}

.account-manage-sidebar__card {
  display: grid;
  gap: 10px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
}

.account-manage-sidebar__card strong {
  font-size: 1.15rem;
}

.account-manage-sidebar__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.account-manage-sidebar__eyebrow {
  color: #445266;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-manage-nav {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.account-manage-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #445266;
  font-weight: 700;
}

.account-manage-nav a.is-active {
  background: #edf4ff;
  color: var(--brand);
}

.account-manage-content {
  min-width: 0;
}

.account-manage-panel {
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.account-manage-panel__head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.04;
}

.account-manage-panel__head p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.account-profile-summary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.account-profile-summary__avatar {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8dbe1 0%, #c7ccd4 100%);
  color: #8b9098;
  font-size: 2.4rem;
  font-weight: 700;
  overflow: hidden;
}

.account-profile-summary__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-profile-summary--editable {
  align-items: center;
}

.account-profile-summary__avatar-wrap {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.account-profile-summary__avatar--large {
  width: 100px;
  height: 100px;
  font-size: 2rem;
}

.account-photo-trigger {
  min-height: 42px;
}

.account-profile-summary__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.account-profile-summary__grid div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.account-profile-summary__grid span {
  color: #5b687b;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-profile-summary__grid strong {
  color: #223146;
  font-size: 1rem;
  line-height: 1.5;
}

.customer-form-grid--account {
  gap: 18px;
}

.customer-form-field--hidden {
  display: none;
}

.account-manage-divider {
  height: 1px;
  background: #edf1f5;
}

.account-email-list {
  display: grid;
  gap: 14px;
}

.account-email-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.account-email-item input {
  margin-top: 4px;
}

.account-email-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.account-email-item span {
  color: var(--muted);
  line-height: 1.55;
}

.customer-access-grid--entry {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.customer-auth-card--entry,
.customer-auth-side--entry {
  padding: 28px;
}

.customer-auth-card--entry .customer-login-actions {
  grid-template-columns: 1fr 1fr;
}

.customer-auth-card--entry .customer-google {
  order: -1;
}

.customer-auth-side--entry {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.customer-auth-card--simple {
  padding: 30px;
}

.customer-panel-head--center {
  text-align: center;
}

.customer-panel-head--center strong {
  font-size: 1.9rem;
}

.customer-panel-head--compact {
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}

.customer-login-actions--stack {
  grid-template-columns: 1fr;
}

.customer-auth-form--compact {
  margin-top: 0;
}

.customer-login-actions--entry,
.customer-auth-form--entry {
  margin-top: 0;
}

.customer-auth-form--entry .btn,
.customer-login-actions--entry .btn {
  min-height: 54px;
}

.customer-inline-link--spread {
  justify-content: space-between;
  gap: 14px 20px;
}

.customer-benefit-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.customer-benefit-list li + li {
  margin-top: 8px;
}

.customer-order-list {
  display: grid;
  gap: 16px;
}

.customer-order-card {
  padding: 24px;
}

.customer-order-card__top,
.customer-order-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-order-card__top strong {
  font-size: 1.05rem;
}

.customer-order-card__meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf1f5;
  color: #445266;
  font-size: 0.9rem;
}

.customer-order-card__items {
  display: grid;
  gap: 6px;
  margin: 16px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.customer-order-card__progress {
  margin-top: 14px;
}

.customer-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
}

.customer-detail-hero__main,
.customer-detail-hero__aside {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
}

.customer-detail-hero__main {
  display: grid;
  gap: 10px;
}

.customer-detail-hero__main strong {
  font-size: 1.1rem;
}

.customer-detail-hero__main span:last-child,
.customer-detail-hero__aside span {
  color: var(--muted);
  line-height: 1.6;
}

.customer-pix-panel {
  display: grid;
  gap: 18px;
  border-color: rgba(255, 122, 0, 0.18);
  background: linear-gradient(180deg, #fffdfa 0%, #fff7ef 100%);
}

.customer-pix-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.customer-pix-grid__qr {
  display: grid;
  place-items: center;
}

.payment-qr--large {
  width: min(260px, 100%);
  margin: 0;
}

.customer-pix-grid__content {
  display: grid;
  gap: 14px;
}

.customer-copy-label {
  color: #223146;
  font-size: 0.9rem;
  font-weight: 800;
}

.customer-copy-box {
  display: grid;
  gap: 12px;
}

.coupon-code-box--field {
  min-height: 110px;
  resize: none;
}

.customer-pix-note,
.customer-pix-expiration {
  color: #526174;
  line-height: 1.65;
}

.customer-pix-expiration strong {
  color: #223146;
}

.order-timeline {
  display: grid;
  gap: 12px;
}

.order-timeline__step {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: #445266;
}

.customer-panel--spaced {
  margin-top: 2px;
}

.order-timeline__step.is-active {
  border-color: rgba(9, 53, 123, 0.16);
  background: rgba(9, 53, 123, 0.05);
}

.order-timeline__step.is-current {
  border-color: rgba(255, 122, 0, 0.22);
  background: rgba(255, 122, 0, 0.08);
}

.order-timeline__dot {
  width: 12px;
  height: 12px;
  background: #c9d4e2;
}

.order-timeline__step.is-active .order-timeline__dot {
  background: var(--brand);
}

.order-timeline__step.is-current .order-timeline__dot {
  background: var(--secondary);
}

.order-timeline--rich .order-timeline__step {
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 16px 18px;
}

.order-timeline__rail {
  position: absolute;
  top: 26px;
  left: 21px;
  bottom: -17px;
  width: 2px;
  background: #d7dfeb;
}

.order-timeline__step:last-child .order-timeline__rail {
  display: none;
}

.order-timeline__content {
  display: grid;
  gap: 6px;
}

.order-timeline__content span,
.order-timeline__content small {
  color: var(--muted);
  line-height: 1.55;
}

.order-timeline__step.is-active .order-timeline__rail {
  background: rgba(9, 53, 123, 0.35);
}

.order-timeline__step.is-canceled {
  border-color: rgba(217, 45, 32, 0.22);
  background: rgba(217, 45, 32, 0.06);
}

.order-timeline__step.is-canceled .order-timeline__dot,
.order-timeline__step.is-canceled .order-timeline__rail {
  background: #d92d20;
}

.totals {
  display: grid;
  gap: 12px;
}

.totals .row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  color: #445266;
}

.totals .row.total {
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}

.order-summary-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #edf1f5;
}

.order-summary-item:first-of-type {
  border-top: 0;
  padding-top: 6px;
}

.order-summary-item--detailed {
  grid-template-columns: 72px minmax(0, 1fr) 120px 120px;
  align-items: center;
}

.customer-order-item__link {
  color: #1b2430;
}

.customer-order-item__link:hover {
  color: var(--brand);
}

.customer-order-item__price {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.customer-order-item__price span {
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 8px;
  border: 1px solid #edf1f5;
  background: var(--surface-alt);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-thumb--sm {
  width: 60px;
  height: 60px;
}

.payment-qr {
  width: min(260px, 100%);
  margin: 6px 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.coupon-code-box {
  padding: 16px 18px;
  border: 1px dashed rgba(9, 53, 123, 0.2);
  background: #f8fbff;
  color: #17376f;
  font-size: 0.95rem;
  line-height: 1.7;
  word-break: break-all;
}

.customer-order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.customer-info-list {
  display: grid;
  gap: 14px;
}

.customer-info-list div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #edf1f5;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.customer-info-list span {
  color: #5b687b;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.customer-info-list strong {
  color: #223146;
  line-height: 1.6;
}

.customer-info-list__full {
  grid-column: 1 / -1;
}

.customer-address-card--detail {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #edf1f5;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.customer-address-card--detail span,
.customer-address-card--detail small {
  color: var(--muted);
  line-height: 1.6;
}

.customer-inline-actions--wrap {
  flex-wrap: wrap;
}

.btn-danger-outline {
  border-color: rgba(217, 45, 32, 0.22);
  color: #b42318;
  background: #fff;
}

.btn-danger-outline:hover {
  background: rgba(217, 45, 32, 0.06);
}

.customer-favorites-grid {
  align-items: stretch;
}

.customer-favorite-card {
  position: relative;
}

.customer-favorite-purchase-form {
  display: grid;
  gap: 12px;
  padding: 18px 18px 0;
}

.customer-favorite-qty {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
}

.customer-favorite-qty input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d7e0ef;
  border-radius: 14px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
}

.customer-favorite-add {
  width: 100%;
}

.customer-favorite-remove-form {
  display: flex;
  justify-content: flex-end;
  padding: 14px 18px 0;
}

.customer-favorite-remove {
  min-width: 48px;
}

.customer-favorite-card.is-removing {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.customer-cep-button {
  width: fit-content;
}

.customer-password-rules {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.customer-password-rules span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #66758a;
  font-size: 0.9rem;
}

.customer-password-rules span.is-valid {
  border-color: rgba(31, 143, 89, 0.18);
  background: rgba(31, 143, 89, 0.08);
  color: #157246;
}

.customer-password-rules span.is-invalid {
  border-color: rgba(198, 40, 40, 0.14);
  background: rgba(198, 40, 40, 0.06);
  color: #9f241a;
}

.customer-password-input {
  position: relative;
}

.customer-password-input .form-control {
  padding-right: 54px;
}

.customer-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #5f6e83;
  font-size: 1rem;
  cursor: pointer;
}

.customer-password-strength {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}

.customer-password-strength__bar {
  width: 100%;
  height: 10px;
  background: #edf1f5;
  border-radius: 999px;
  overflow: hidden;
}

.customer-password-strength__bar span {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.customer-password-strength__bar span.is-weak {
  background: #d92d20;
}

.customer-password-strength__bar span.is-medium {
  background: #f59e0b;
}

.customer-password-strength__bar span.is-strong {
  background: #15803d;
}

@media (max-width: 1400px) {
  .header-main,
  .home-hero__grid,
  .catalog-layout,
  .product-layout,
  .basket-layout,
  .checkout-layout,
  .account-manage-layout,
  .customer-portal-layout,
  .footer-grid,
  .customer-detail-hero,
  .customer-access-grid,
  .customer-auth-grid,
  .customer-order-detail-grid {
    grid-template-columns: 1fr;
  }

  .account-entry-layout {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .account-entry-layout--customer,
  .customer-access-grid--entry {
    grid-template-columns: 1fr;
  }

  .customer-pix-grid,
  .customer-order-info-grid {
    grid-template-columns: 1fr;
  }

  .account-entry-card {
    align-self: stretch;
  }

  .header-main {
    padding: 18px 0;
  }

  .header-links {
    flex-wrap: wrap;
  }

  .hero-metrics,
  .customer-highlights,
  .customer-overview-grid,
  .customer-rebuy-grid,
  .customer-offer-products,
  .category-grid,
  .store-grid,
  .promo-grid,
  .operation-grid,
  .product-reviews-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-account-grid,
  .customer-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-health-grid,
  .customer-side-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    position: static;
  }

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

  .product-media__thumbs {
    grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100%, calc(100% - 24px));
  }

  .topbar__inner,
  .header-main,
  .section-heading,
  .catalog-toolbar,
  .summary-coupon,
  .customer-connected-banner,
  .customer-portal-topbar,
  .customer-portal-hero {
    gap: 12px;
  }

  .topbar__inner,
  .section-heading,
  .catalog-toolbar,
  .customer-connected-banner,
  .customer-portal-topbar,
  .customer-portal-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-brand__copy span,
  .topbar__seals {
    display: none;
  }

  .site-search,
  .hero-metrics,
  .customer-highlights,
  .customer-overview-grid,
  .customer-summary-grid,
  .category-grid,
  .store-grid,
  .promo-grid,
  .operation-grid,
  .product-buybox__actions,
  .store-card__actions,
  .mini-cart__footer,
  .product-reviews-layout {
    grid-template-columns: 1fr;
  }

  .customer-account-grid,
  .customer-form-grid,
  .checkout-progress,
  .checkout-identification-layout,
  .checkout-address-layout,
  .customer-rebuy-grid,
  .customer-offer-products {
    grid-template-columns: 1fr;
  }

  .order-summary-item--detailed {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .customer-order-item__price {
    justify-items: start;
    text-align: left;
  }

  .customer-health-grid,
  .customer-side-summary {
    grid-template-columns: 1fr;
  }

  .account-entry-layout {
    gap: 18px;
  }

  .account-entry-aside,
  .account-entry-card {
    padding: 24px 20px;
  }

  .customer-auth-card--entry,
  .customer-auth-side--entry {
    padding: 22px 20px;
  }

  .customer-auth-card--simple {
    padding: 24px 20px;
  }

  .customer-login-card {
    padding: 34px 24px 28px;
  }

  .customer-login-card__links,
  .customer-login-card__support {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-entry-points span {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .customer-inline-link--spread {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-manage-panel {
    padding: 26px 22px;
  }

  .account-profile-summary {
    grid-template-columns: 1fr;
  }

  .account-profile-summary__avatar {
    width: 96px;
    height: 96px;
  }

  .account-profile-summary__grid {
    grid-template-columns: 1fr;
  }

  .product-review-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .customer-auth-card--entry .customer-login-actions {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 24px 20px;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 12px;
  }

  .hero-panel img {
    justify-self: start;
    max-height: 82px;
  }

  .customer-shell::before {
    height: 180px;
  }

  .customer-portal-topbar {
    grid-template-columns: 1fr;
  }

  .customer-portal-topbar__meta,
  .customer-portal-hero__badges {
    justify-content: flex-start;
  }

  .customer-portal-hero {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .header-account-dropdown {
    left: auto;
    right: 0;
  }

  .customer-identity-card,
  .customer-side-nav__item {
    padding-left: 16px;
    padding-right: 16px;
  }

  .customer-identity-card--profile {
    grid-template-columns: 1fr;
  }

  .customer-profile-board__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .customer-rebuy-card {
    grid-template-columns: 1fr;
  }

  .customer-heading {
    padding: 22px 20px;
  }

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

  .store-card {
    border-radius: 22px;
    padding-bottom: 16px;
  }

  .store-card__image {
    min-height: 180px;
    margin: 12px 12px 0;
    padding: 18px;
    border-radius: 18px;
  }

  .store-card__image img {
    max-width: 72%;
    max-height: 72%;
  }

  .store-card__badge-top {
    top: 14px;
    left: 14px;
  }

  .store-card__badge-top .tag {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .store-card__meta {
    padding: 12px 16px 0;
    min-height: 32px;
  }

  .favorite-chip {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 1.08rem;
  }

  .store-card__content {
    min-height: 128px;
    padding: 16px 16px 0;
  }

  .store-card__content strong {
    min-height: 66px;
    font-size: 0.92rem;
  }

  .store-card__content span,
  .store-card__variation {
    font-size: 0.86rem;
  }

  .store-card__variation,
  .store-card__price,
  .store-card__actions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .store-card__price {
    min-height: 58px;
    padding-top: 10px;
  }

  .price-main {
    font-size: 1.55rem;
  }

  .price-compare {
    font-size: 0.92rem;
  }

  .store-card__actions {
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
    padding-top: 14px;
  }

  .store-card__icon-btn,
  .store-card__qty {
    min-height: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .store-card__icon-btn {
    width: 42px;
    font-size: 1.35rem;
  }

  .product-media__main {
    min-height: 360px;
    padding: 20px;
  }

  .basket-row,
  .summary-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .basket-row__controls {
    justify-items: start;
  }

  .basket-qty-form {
    grid-template-columns: 44px 72px 44px auto;
  }

  .mini-cart-item,
  .order-summary-item {
    grid-template-columns: 1fr;
  }

  .mini-cart-item__thumb {
    width: 100%;
    max-width: 116px;
    height: 116px;
  }

  .mini-cart-item__total {
    text-align: left;
  }

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }

  .mobile-nav a {
    display: grid;
    place-items: center;
    min-height: 60px;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #445266;
  }

  .mobile-nav-space {
    display: block;
    height: 68px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 78px;
  }
}

/* Header novo - Mercado Descomplicado */
@keyframes marquee {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.md-announcement {
  background: #1E3A5F;
  color: #fff;
  overflow: hidden;
  font-size: 14px;
}

.md-announcement__track {
  overflow: hidden;
  white-space: nowrap;
}

.md-announcement__marquee {
  display: inline-block;
  padding: 9px 0;
  min-width: 100%;
  font-weight: 700;
  animation: marquee 20s linear infinite;
}

.md-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.md-header__main {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 4px 0;
}

.md-logo img {
  height: 100px;
  max-width: 250px;
  object-fit: contain;
}

.md-search {
  position: relative;
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
}

.md-search__icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  color: #9ca3af;
}

.md-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 104px 0 44px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  outline: none;
}

.md-search input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}

.md-search button {
  position: absolute;
  right: 5px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  background: #1E3A5F;
  color: #fff;
  box-shadow: none;
}

.md-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.md-icon-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: transparent !important;
  color: #374151 !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 4px !important;
  min-height: auto !important;
  font-weight: 700;
}

.md-icon-button:hover {
  color: #2563eb !important;
  transform: none !important;
}

.md-icon-button span {
  font-size: 12px;
}

.md-cart-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.md-categories {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding-bottom: 10px;
  font-size: 14px;
}

.md-categories a {
  color: #374151;
  font-weight: 700;
}

.md-categories a:hover {
  color: #2563eb;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .md-header__main {
    gap: 12px;
  }

  .md-search,
  .md-categories {
    display: none !important;
  }

  .md-logo img {
    height: 100px;
    max-width: 250px;
  }

  .md-actions {
    gap: 12px;
  }
}

/* Correção de proporção do header */
.md-header__main {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  min-height: 86px !important;
  padding: 16px 0 !important;
  gap: 42px !important;
}

.md-logo {
  width: 260px !important;
  flex: 0 0 260px !important;
}

.md-logo img {
  height: 100px !important;
  max-width: 250px !important;
  object-fit: contain !important;
}

.md-search {
  max-width: 560px !important;
  flex: 1 1 560px !important;
}

.md-search input {
  min-height: 54px !important;
  font-size: 18px !important;
  border-radius: 10px !important;
}

.md-search button {
  min-height: 44px !important;
  padding: 0 24px !important;
  font-size: 17px !important;
  border-radius: 8px !important;
}

.md-actions {
  gap: 34px !important;
}

.md-icon-button {
  font-size: 28px !important;
}

.md-icon-button span {
  font-size: 14px !important;
  font-weight: 800 !important;
}

.md-categories {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding: 14px 0 18px !important;
  gap: 22px !important;
  font-size: 17px !important;
}

.md-categories a {
  font-weight: 800 !important;
}

.md-announcement__marquee {
  padding: 12px 0 !important;
  font-size: 16px !important;
}

@media (max-width: 768px) {
  .md-header__main {
    width: min(100% - 24px, 100%) !important;
    min-height: 70px !important;
    gap: 14px !important;
  }

  .md-logo {
    width: 260px !important;
    flex: 0 0 260px !important;
  }

  .md-logo img {
    height: 100px !important;
    max-width: 250px !important;
  }

  .md-actions {
    gap: 14px !important;
  }
}

/* Footer completo Mercado Descomplicado */
.md-footer {
  background: #1A202C;
  color: #ffffff;
  padding: 48px 0 0;
  margin-top: 48px;
}

.md-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 42px;
}

.md-footer__col {
  border: 0;
}

.md-footer__col summary {
  list-style: none;
  cursor: default;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.md-footer__col summary::-webkit-details-marker {
  display: none;
}

.md-footer__content {
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.6;
}

.md-footer__logo {
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.md-footer__brand {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.md-footer__content p {
  margin: 0 0 16px;
}

.md-footer__content ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.md-footer__content a {
  color: #cbd5e1;
  text-decoration: none;
}

.md-footer__content a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.md-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-weight: 900;
}

.md-footer__bottom {
  background: #111827;
  color: #cbd5e1;
  text-align: center;
  padding: 16px;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .md-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .md-footer {
    padding-top: 28px;
  }

  .md-footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .md-footer__col {
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 14px 0;
  }

  .md-footer__col:not([open]) .md-footer__content {
    display: none;
  }

  .md-footer__col summary {
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .md-footer__col summary::after {
    content: "+";
    font-size: 1.2rem;
  }

  .md-footer__col[open] summary {
    margin-bottom: 12px;
  }

  .md-footer__col[open] summary::after {
    content: "−";
  }
}

/* Ajuste de proporção: header e footer */

/* Logo do cabeçalho maior */
.md-logo img {
  height: 88px !important;
  max-width: 260px !important;
}

/* Header ajustado para não cortar lateral */
.md-header__main {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  min-height: 110px !important;
}

/* Footer sem cortar lateral */
.md-footer .page-shell,
.md-footer__grid {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Footer mais compacto e proporcional */
.md-footer {
  padding-top: 36px !important;
}

.md-footer__grid {
  gap: 24px !important;
  padding-bottom: 32px !important;
}

.md-footer__col {
  min-width: 0 !important;
}

.md-footer__logo {
  height: 70px !important;
  max-width: 260px !important;
}

/* Mobile */
@media (max-width: 720px) {
  .md-header__main {
    width: min(100% - 24px, 100%) !important;
    min-height: 82px !important;
  }

  .md-logo img {
    height: 62px !important;
    max-width: 190px !important;
  }

  .md-footer .page-shell,
  .md-footer__grid {
    width: min(100% - 24px, 100%) !important;
  }
}

/* HOME NOVA — Mercado Descomplicado */
.md-home-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #312e81 100%);
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 34px;
}

.md-home-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
  padding: 44px 0;
}

.md-home-hero__badge {
  display: inline-flex;
  width: fit-content;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 900;
  margin-bottom: 16px;
}

.md-home-hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.md-home-hero p {
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255,255,255,.86);
}

.md-home-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.md-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 900;
}

.md-home-btn--primary {
  background: #fff;
  color: #1e3a8a;
}

.md-home-btn--primary:hover {
  background: #eff6ff;
}

.md-home-btn--outline {
  border: 2px solid #fff;
  color: #fff;
}

.md-home-btn--outline:hover {
  background: #fff;
  color: #1e3a8a;
}

.md-home-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.md-home-hero__visual img {
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,.25));
}

.md-home-section {
  margin-top: 34px;
}

.md-home-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.md-home-title h2 {
  margin: 0;
  color: #111827;
  font-size: 1.55rem;
}

.md-home-title p {
  margin: 4px 0 0;
  color: #6b7280;
}

.md-home-title a {
  color: #1d4ed8;
  font-weight: 900;
}

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

.md-category-card {
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
  padding: 18px;
  min-height: 128px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.md-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15,23,42,.10);
}

.md-category-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  font-size: 1.4rem;
}

.md-category-card--1 { background: #ffedd5; color: #9a3412; }
.md-category-card--2 { background: #dbeafe; color: #1e40af; }
.md-category-card--3 { background: #dcfce7; color: #166534; }
.md-category-card--4 { background: #f3e8ff; color: #6b21a8; }
.md-category-card--5 { background: #e0e7ff; color: #3730a3; }
.md-category-card--6 { background: #cffafe; color: #155e75; }
.md-category-card--7 { background: #fef9c3; color: #854d0e; }
.md-category-card--8 { background: #f1f5f9; color: #334155; }

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

.md-product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15,23,42,.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}

.md-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15,23,42,.10);
}

.md-product-card__image {
  position: relative;
  display: block;
  height: 190px;
  background: #f9fafb;
  padding: 12px;
}

.md-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.md-discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  padding: 5px 8px;
  border-radius: 999px;
}

.md-favorite-btn {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  box-shadow: 0 6px 14px rgba(15,23,42,.12);
}

.md-product-card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.md-product-category {
  color: #9ca3af;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.md-product-name {
  color: #1f2937;
  font-size: .92rem;
  line-height: 1.35;
  min-height: 2.5em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.md-low-stock {
  color: #f97316;
  font-size: .78rem;
  font-weight: 800;
}

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

.md-price {
  font-size: 1.16rem;
  font-weight: 950;
  color: #111827;
}

.md-old-price {
  font-size: .78rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.md-add-btn {
  width: 100%;
  min-height: 38px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  box-shadow: none;
}

.md-add-btn:hover {
  background: #1d4ed8;
}

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

.md-promo-card,
.md-how-card,
.md-empty-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(15,23,42,.05);
}

.md-promo-card span {
  color: #ef4444;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.md-how-card {
  text-align: center;
}

.md-how-card span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 950;
}

.md-how-card h3 {
  margin: 0 0 6px;
  color: #111827;
}

.md-how-card p {
  margin: 0;
  color: #6b7280;
  font-size: .9rem;
}

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

@media (max-width: 980px) {
  .md-home-hero__grid {
    grid-template-columns: 1fr;
  }

  .md-category-grid,
  .md-promo-grid,
  .md-how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .md-home-hero__grid {
    padding: 30px 0;
  }

  .md-home-title {
    align-items: start;
    flex-direction: column;
  }

  .md-category-grid,
  .md-promo-grid,
  .md-how-grid {
    grid-template-columns: 1fr;
  }

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

  .md-product-card__image {
    height: 150px;
  }
}

/* =========================
   CONTAINER GLOBAL PADRÃO
========================= */
.page-shell {
  width: 100%;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Remove QUALQUER coisa estourando largura */
body {
  overflow-x: hidden;
}

/* HERO alinhado */
.md-home-hero {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.md-home-hero__grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER alinhado */
.md-header__main {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* CATEGORIAS alinhadas */
.md-categories {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* FOOTER alinhado */
.md-footer__grid {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* REMOVE exagero lateral */
.md-home-section,
.md-home-hero,
.md-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* Catálogo novo */
.md-catalog-page {
  padding-top: 28px;
  padding-bottom: 44px;
}

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

.md-catalog-header h1 {
  margin: 0;
  color: #111827;
  font-size: 2rem;
}

.md-catalog-header p {
  margin: 6px 0 0;
  color: #6b7280;
}

.md-catalog-header span {
  font-weight: 900;
  color: #1d4ed8;
}

.md-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(15,23,42,.05);
}

.md-catalog-filters > div {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.md-catalog-filters label {
  font-size: .82rem;
  font-weight: 900;
  color: #374151;
}

.md-catalog-filters input,
.md-catalog-filters select {
  min-height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.md-catalog-filters input:focus,
.md-catalog-filters select:focus {
  outline: 0;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.16);
}

.md-catalog-checkbox {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  cursor: pointer;
}

.md-catalog-checkbox input {
  min-height: auto;
  width: 16px;
  height: 16px;
}

.md-catalog-search-btn {
  min-height: 42px;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 900;
  padding: 0 18px;
}

.md-catalog-active-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-weight: 800;
}

.md-catalog-active-filter a {
  color: #1d4ed8;
  text-decoration: underline;
}

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

.md-best-badge {
  position: absolute;
  top: 44px;
  left: 10px;
  background: #1d4ed8;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  padding: 5px 8px;
  border-radius: 999px;
}

.md-product-variant {
  color: #6b7280;
  font-size: .78rem;
  font-weight: 700;
}

.md-catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.md-catalog-empty div {
  font-size: 4rem;
  margin-bottom: 12px;
}

.md-catalog-empty h3 {
  margin: 0;
  color: #374151;
  font-size: 1.35rem;
}

.md-catalog-empty p {
  color: #6b7280;
  margin: 8px 0 20px;
}

.md-catalog-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .md-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md-catalog-header {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .md-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md-catalog-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .md-catalog-filters > div {
    min-width: 0;
  }
}

/* PRODUCT PAGE */
.md-product-page {
  padding: 24px 0 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.md-breadcrumb {
  font-size: .85rem;
  color: #6b7280;
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
}

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

.md-product-main-img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #f9fafb;
  border-radius: 12px;
}

.md-product-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #111827;
}

.md-product-price {
  margin: 16px 0;
}

.md-price-current {
  font-size: 2rem;
  font-weight: 900;
}

.md-price-old {
  text-decoration: line-through;
  color: #9ca3af;
  margin-left: 10px;
}

.md-price-badge {
  background: #ef4444;
  color: #fff;
  font-size: .75rem;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

.md-economy {
  color: #16a34a;
  font-size: .9rem;
}

.md-stock-warning {
  color: #ea580c;
  font-weight: 700;
  margin-bottom: 12px;
}

.md-product-actions {
  margin-top: 12px;
}

.md-btn-primary {
  width: 100%;
  height: 52px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 900;
  border-radius: 12px;
  margin-bottom: 10px;
}

.md-btn-secondary {
  width: 100%;
  height: 52px;
  border: 2px solid #1d4ed8;
  color: #1d4ed8;
  font-weight: 800;
  border-radius: 12px;
}

.md-product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.md-product-trust div {
  text-align: center;
  font-size: .75rem;
}

.md-product-trust svg {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
}

.md-product-description {
  margin-top: 20px;
}

.md-product-description h3 {
  margin-bottom: 6px;
}

.md-related {
  margin-top: 40px;
}

.md-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.md-related-card {
  display: block;
  background: #fff;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-align: center;
}

.md-related-card img {
  height: 100px;
  object-fit: contain;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .md-product-layout {
    grid-template-columns: 1fr;
  }

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


/* Carrinho profissional */
.md-cart-page {
  padding-top: 30px;
  padding-bottom: 50px;
}

.md-cart-page__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.md-cart-page__header h1 {
  margin: 0;
  color: #111827;
  font-size: 2rem;
}

.md-cart-page__header p {
  margin: 6px 0 0;
  color: #6b7280;
}

.md-cart-page__header span {
  color: #1d4ed8;
  font-weight: 900;
}

.md-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.md-cart-items {
  display: grid;
  gap: 14px;
}

.md-cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(15,23,42,.05);
}

.md-cart-item__image {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 8px;
  display: grid;
  place-items: center;
}

.md-cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.md-cart-item__info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.md-cart-item__name {
  color: #1f2937;
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.35;
}

.md-cart-item__name:hover {
  color: #2563eb;
}

.md-cart-item__variant,
.md-cart-item__unit {
  color: #6b7280;
  font-size: .86rem;
}

.md-cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.md-cart-qty button {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 0;
  padding: 0;
  background: #fff;
  color: #374151;
  box-shadow: none;
  font-size: 1.25rem;
  font-weight: 900;
}

.md-cart-qty button:hover {
  background: #f3f4f6;
  transform: none;
}

.md-cart-qty span {
  min-width: 42px;
  text-align: center;
  font-weight: 900;
  color: #111827;
}

.md-cart-item__total {
  text-align: right;
  min-width: 92px;
}

.md-cart-item__total strong {
  color: #111827;
  font-size: 1rem;
}

.md-cart-item__total button {
  margin-top: 6px;
  background: transparent;
  color: #ef4444;
  box-shadow: none;
  padding: 0;
  min-height: auto;
  font-size: .78rem;
  font-weight: 800;
}

.md-cart-summary {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.md-cart-summary h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 1.25rem;
}

.md-cart-box {
  margin-bottom: 18px;
}

.md-cart-box label {
  display: block;
  margin-bottom: 7px;
  color: #374151;
  font-size: .9rem;
  font-weight: 900;
}

.md-cart-inline-form {
  display: flex;
  gap: 8px;
}

.md-cart-inline-form input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.md-cart-inline-form button {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  background: #2563eb;
  color: #fff;
  box-shadow: none;
  font-weight: 900;
}

.md-cart-remove-coupon {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: #16a34a;
  font-size: .85rem;
}

.md-cart-remove-coupon button {
  background: transparent;
  color: #ef4444;
  padding: 0;
  min-height: auto;
  box-shadow: none;
  font-size: .78rem;
}

.md-cart-frete-msg {
  margin: 8px 0 0;
  font-size: .82rem;
}

.md-cart-frete-msg.is-error {
  color: #ef4444;
}

.md-cart-frete-msg.is-ok {
  color: #16a34a;
}

.md-cart-totals {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e5e7eb;
  padding-top: 14px;
}

.md-cart-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
  font-size: .95rem;
}

.md-cart-discount {
  color: #16a34a !important;
}

.md-cart-total {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  color: #111827 !important;
  font-size: 1.15rem !important;
  font-weight: 900;
}

.md-cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-weight: 950;
}

.md-cart-checkout:hover {
  background: #1d4ed8;
}

.md-cart-continue {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #6b7280;
  font-size: .9rem;
  font-weight: 800;
}

.md-cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.md-cart-empty__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  color: #d1d5db;
}

.md-cart-empty__icon svg {
  width: 100%;
  height: 100%;
}

.md-cart-empty h2 {
  margin: 0;
  color: #374151;
  font-size: 1.7rem;
}

.md-cart-empty p {
  margin: 8px 0 22px;
  color: #9ca3af;
}

.md-cart-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
}

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

  .md-cart-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .md-cart-page__header {
    align-items: start;
    flex-direction: column;
  }

  .md-cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .md-cart-qty,
  .md-cart-item__total {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
}

/* Login profissional */
.md-login-body {
  margin: 0;
  background: #f8fafc;
  color: #111827;
}

.md-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

.md-login-wrap {
  width: 100%;
  max-width: 440px;
}

.md-login-brand {
  text-align: center;
  margin-bottom: 28px;
}

.md-login-brand img {
  height: 72px;
  max-width: 220px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.md-login-brand h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 950;
  color: #1f2937;
}

.md-login-brand p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: .94rem;
}

.md-login-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.md-login-form {
  display: grid;
  gap: 16px;
}

.md-login-field {
  display: grid;
  gap: 7px;
}

.md-login-field label,
.md-login-label-row label {
  color: #374151;
  font-size: .9rem;
  font-weight: 900;
}

.md-login-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.md-login-label-row a {
  color: #2563eb;
  font-size: .78rem;
  font-weight: 800;
}

.md-login-input-wrap {
  position: relative;
}

.md-login-input-wrap input,
.md-login-input-wrap select,
.md-login-input-wrap textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0 14px 0 42px;
  background: #fff;
  outline: none;
}

.md-login-input-wrap input:focus,
.md-login-input-wrap select:focus,
.md-login-input-wrap textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.16);
}

.md-login-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  z-index: 2;
}

.md-login-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #9ca3af;
  border: 0;
  padding: 0;
  min-height: auto;
  box-shadow: none;
}

.md-login-primary {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-weight: 950;
  margin-top: 6px;
  box-shadow: none;
}

.md-login-primary:hover {
  background: #1d4ed8;
}

.md-login-primary:disabled {
  opacity: .7;
  cursor: wait;
}

.md-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}

.md-login-divider span {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.md-login-divider strong {
  color: #9ca3af;
  font-size: .78rem;
  font-weight: 900;
}

.md-login-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 48px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  color: #374151;
  font-weight: 900;
  background: #fff;
}

.md-login-google:hover {
  background: #f9fafb;
}

.md-login-google img {
  width: 20px;
  height: 20px;
}

.md-login-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.md-login-links a,
.md-login-create a {
  color: #2563eb;
  font-weight: 900;
}

.md-login-create {
  text-align: center;
  color: #6b7280;
  font-size: .9rem;
  margin: 20px 0 0;
}

.md-login-back {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: #9ca3af;
  font-size: .82rem;
  font-weight: 800;
}

.md-login-back:hover {
  color: #4b5563;
}

.md-login-error {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 800;
}

@media (max-width: 520px) {
  .md-login-card {
    padding: 22px;
  }

  .md-login-brand img {
    height: 60px;
  }
}

/* Área do cliente */
.md-client-area {
  min-height: 100vh;
  background: #f8fafc;
  padding-bottom: 80px;
}

.md-client-shell {
  padding-top: 32px;
  padding-bottom: 48px;
}

.md-client-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.md-client-sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.md-client-sidebar-head {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #1d4ed8;
  color: #fff;
  padding: 20px;
}

.md-client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #3b82f6;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 950;
}

.md-client-sidebar-head strong {
  display: block;
  font-weight: 950;
  line-height: 1.2;
}

.md-client-sidebar-head span {
  display: block;
  margin-top: 3px;
  color: #bfdbfe;
  font-size: .78rem;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-client-menu {
  display: grid;
  padding: 10px;
}

.md-client-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #374151;
  font-size: .92rem;
  font-weight: 850;
  transition: background .18s ease, color .18s ease;
}

.md-client-menu a:hover {
  background: #f9fafb;
  color: #1d4ed8;
}

.md-client-menu a.is-active {
  background: #eff6ff;
  color: #1d4ed8;
}

.md-client-menu a.is-danger {
  color: #ef4444;
}

.md-client-menu a.is-danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

.md-client-menu-separator {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

.md-client-content {
  min-width: 0;
}

.md-client-content-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.md-client-page-title {
  margin-bottom: 18px;
}

.md-client-page-title h1 {
  margin: 0;
  color: #111827;
  font-size: 1.8rem;
}

.md-client-page-title p {
  margin: 6px 0 0;
  color: #6b7280;
}

.md-client-mobile-nav {
  display: none;
}

@media (max-width: 980px) {
  .md-client-layout {
    grid-template-columns: 1fr;
  }

  .md-client-sidebar {
    display: none;
  }

  .md-client-mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -8px 20px rgba(15,23,42,.08);
  }

  .md-client-mobile-nav a {
    flex: 1;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 9px 4px 10px;
    color: #374151;
    font-size: .72rem;
    font-weight: 800;
  }

  .md-client-mobile-nav span {
    font-size: 1.15rem;
  }
}

/* Barra de progresso checkout */
.md-checkout-progress {
  margin-bottom: 30px;
}

.md-checkout-progress__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.md-checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.md-checkout-step__circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  background: #fff;
  color: #9ca3af;
  transition: all .2s ease;
}

.md-checkout-step__circle.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.md-checkout-step__circle.is-done {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.md-checkout-step__label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 700;
  text-align: center;
}

.md-checkout-step__label.is-active {
  color: #2563eb;
}

.md-checkout-step__line {
  width: 60px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 8px;
}

.md-checkout-step__line.is-done {
  background: #4ade80;
}

@media (min-width: 640px) {
  .md-checkout-step__line {
    width: 100px;
  }
}

/* Ajuste header: logo maior e carrinho correto */
.header-logo img,
.logo img,
.site-logo img,
.brand-logo img,
.topbar-logo img,
.main-header img[src*="logo"],
header img[src*="logo"]{
  width: auto !important;
  height: 150px !important;
  max-height: 150px !important;
  object-fit: contain !important;
}

/* Carrinho moderno */
.cart-btn-modern{
  border:0 !important;
  background:transparent !important;
  color:#334155 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  cursor:pointer !important;
  padding:0 !important;
  min-width:92px !important;
  text-decoration:none !important;
}

.cart-btn-modern .cart-icon-wrap{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.cart-btn-modern .cart-icon-svg{
  width:74px !important;
  height:74px !important;
  stroke:#334155 !important;
}

.cart-btn-modern strong{
  font-size:17px !important;
  font-weight:900 !important;
  line-height:1 !important;
  color:#334155 !important;
}

#badge-carrinho,
.cart-btn-modern [data-cart-count]{
  position:absolute !important;
  top:-10px !important;
  right:-12px !important;
  min-width:28px !important;
  height:28px !important;
  padding:0 8px !important;
  border-radius:999px !important;
  background:#ef4444 !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:900 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:900px){
  .header-logo img,
  .logo img,
  .site-logo img,
  .brand-logo img,
  .topbar-logo img,
  .main-header img[src*="logo"],
  header img[src*="logo"]{
    height:95px !important;
    max-height:95px !important;
  }

  .cart-btn-modern .cart-icon-svg{
    width:52px !important;
    height:52px !important;
  }
}

/* HEADER AJUSTE FINAL - LOGO E CARRINHO */
header img[src*="logo"],
.header-logo img,
.logo img,
.site-logo img,
.brand-logo img{
  width:auto !important;
  height:150px !important;
  max-height:150px !important;
  object-fit:contain !important;
}

.cart-btn-modern{
  border:0 !important;
  background:transparent !important;
  color:#334155 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  cursor:pointer !important;
  padding:0 !important;
  min-width:92px !important;
}

.cart-btn-modern .cart-icon-wrap{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.cart-btn-modern .cart-icon-svg{
  width:74px !important;
  height:74px !important;
  stroke:#334155 !important;
}

.cart-btn-modern strong{
  font-size:17px !important;
  font-weight:900 !important;
  color:#334155 !important;
}

.cart-btn-modern [data-cart-count]{
  position:absolute !important;
  top:-10px !important;
  right:-12px !important;
  min-width:28px !important;
  height:28px !important;
  border-radius:999px !important;
  background:#ef4444 !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:900 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

@media(max-width:900px){
  header img[src*="logo"],
  .header-logo img,
  .logo img,
  .site-logo img,
  .brand-logo img{
    height:95px !important;
    max-height:95px !important;
  }

  .cart-btn-modern .cart-icon-svg{
    width:52px !important;
    height:52px !important;
  }
}

/* CORREÇÃO FINAL DO HEADER */
.cart-btn-final{
  border:0 !important;
  background:transparent !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  color:#334155 !important;
  cursor:pointer !important;
  padding:0 !important;
  min-width:110px !important;
}

.cart-final-icon-wrap{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:86px !important;
  height:72px !important;
}

.cart-final-svg{
  width:78px !important;
  height:78px !important;
  stroke:#334155 !important;
}

.cart-final-badge{
  position:absolute !important;
  top:-8px !important;
  right:-2px !important;
  min-width:30px !important;
  height:30px !important;
  border-radius:999px !important;
  background:#ef4444 !important;
  color:white !important;
  font-size:16px !important;
  font-weight:900 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.cart-final-label{
  font-size:18px !important;
  font-weight:900 !important;
  color:#334155 !important;
  line-height:1 !important;
}

header img[style*="150px"]{
  height:150px !important;
  max-height:150px !important;
  width:auto !important;
}

@media(max-width:900px){
  header img[style*="150px"]{
    height:100px !important;
    max-height:100px !important;
  }

  .cart-final-svg{
    width:56px !important;
    height:56px !important;
  }

  .cart-final-label{
    font-size:13px !important;
  }
}

/* PADRONIZAÇÃO HEADER (Conta, Ofertas, Carrinho iguais) */
.header-actions,
.top-icons,
.header-icons{
  display:flex !important;
  align-items:center !important;
  gap:32px !important;
}

/* BOTÃO PADRÃO */
.cart-btn-final,
.header-actions a,
.header-icons a{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-width:70px !important;
  text-decoration:none !important;
}

/* TAMANHO PADRÃO DOS ÍCONES */
.cart-final-svg,
.header-icons svg,
.header-actions svg{
  width:34px !important;
  height:34px !important;
  stroke:#374151 !important;
}

/* TEXTO PADRÃO */
.cart-final-label,
.header-actions span,
.header-icons span{
  font-size:14px !important;
  font-weight:600 !important;
  color:#374151 !important;
}

/* BADGE MENOR E POSICIONADO CERTO */
.cart-final-badge{
  top:-6px !important;
  right:-8px !important;
  min-width:20px !important;
  height:20px !important;
  font-size:11px !important;
}

/* AJUSTE MOBILE */
@media(max-width:900px){
  .cart-final-svg,
  .header-icons svg{
    width:28px !important;
    height:28px !important;
  }

  .cart-final-label{
    font-size:12px !important;
  }
}

/* ===== ALINHAMENTO PERFEITO HEADER ===== */

/* container dos ícones */
.header-actions,
.header-icons,
.top-icons{
  display:flex !important;
  align-items:flex-start !important;
  gap:36px !important;
}

/* cada item (Conta, Ofertas, Carrinho) */
.header-actions a,
.header-icons a,
.cart-btn-final{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:6px !important;
  width:70px !important;
  text-align:center !important;
}

/* ícones TODOS iguais */
.header-actions svg,
.header-icons svg,
.cart-final-svg{
  width:34px !important;
  height:34px !important;
  stroke:#374151 !important;
}

/* texto alinhado */
.header-actions span,
.header-icons span,
.cart-final-label{
  font-size:14px !important;
  font-weight:600 !important;
  color:#374151 !important;
  line-height:1.2 !important;
}

/* container do carrinho */
.cart-final-icon-wrap{
  height:34px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
}

/* badge ajustado */
.cart-final-badge{
  position:absolute !important;
  top:-6px !important;
  right:-10px !important;
  min-width:20px !important;
  height:20px !important;
  font-size:11px !important;
  border-radius:999px !important;
  background:#ef4444 !important;
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}


/* CORREÇÃO FINAL: carrinho como link, sem caixa azul */
.cart-link-final,
.cart-link-final:visited,
.cart-link-final:hover,
.cart-link-final:focus,
.cart-link-final:active{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  text-decoration:none !important;
  color:#374151 !important;
}

.cart-link-final{
  width:70px !important;
  min-width:70px !important;
  height:auto !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:6px !important;
  text-align:center !important;
}

.cart-link-final .cart-final-icon-wrap{
  width:42px !important;
  height:42px !important;
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.cart-link-final .cart-final-svg{
  width:38px !important;
  height:38px !important;
  stroke:#374151 !important;
}

.cart-link-final .cart-final-label{
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.15 !important;
  color:#374151 !important;
}

.cart-link-final .cart-final-badge{
  top:-9px !important;
  right:-13px !important;
  min-width:22px !important;
  height:22px !important;
  font-size:12px !important;
  border-radius:999px !important;
  background:#ef4444 !important;
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:900 !important;
}

.customer-portal-layout--guest {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 860px;
  margin: 0 auto;
}

/* Slider */
.md-slider { position: relative; overflow: hidden; background: #000; }
.md-slider__track { display: flex; transition: transform 0.5s ease; }
.md-slider__slide { flex: 0 0 100%; position: relative; display: block; }
.md-slider__slide img { width: 100%; height: 480px; object-fit: cover; display: block; }
.md-slider__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 32px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; }
.md-slider__caption strong { display: block; font-size: 1.5rem; margin-bottom: 4px; }
.md-slider__caption span { font-size: 1rem; opacity: 0.9; }
.md-slider__btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.85); border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 24px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.md-slider__btn--prev { left: 16px; }
.md-slider__btn--next { right: 16px; }
.md-slider__btn:hover { background: #fff; }
.md-slider__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.md-slider__dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; }
.md-slider__dot.is-active { background: #fff; }
@media (max-width: 768px) { .md-slider__slide img { height: 220px; } }

/* ── Botão Adicionar largo ───────────────────────────────── */
.store-card__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15,60,140,0.18);
  transition: background 120ms;
}
.store-card__add-btn:hover { background: #0a2e7a; }
.store-card__qty.is-hidden { display: none; }
.favorite-chip { cursor: pointer; transition: transform 120ms; }
.favorite-chip:hover { transform: scale(1.15); }

/* ── Controles +/- home e catálogo ─────────────────────── */
.md-card-actions { width: 100%; margin-top: 8px; }
.md-add-form { width: 100%; }
.md-qty-controls {
    display: flex; align-items: center;
    gap: 8px; width: 100%;
}
.md-qty-btn {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px; flex-shrink: 0;
    border: 1px solid #d7e0ef; border-radius: 14px;
    background: #fff; color: var(--brand);
    font-size: 1.6rem; font-weight: 800; cursor: pointer;
    box-shadow: none;
}
.md-qty-btn--plus {
    background: var(--button, #ff5a1f);
    color: #fff;
    border-color: var(--button, #ff5a1f);
    box-shadow: 0 6px 16px rgba(255,90,31,0.25);
}
.md-qty-display {
    flex: 1; text-align: center;
    font-size: 1.2rem; font-weight: 700;
    border: 1px solid #d7e0ef; border-radius: 14px;
    padding: 10px 0; background: #fff;
}

/* Botão Adicionar home igual ao catálogo */
.md-add-btn {
    background: var(--button, #ff5a1f) !important;
    box-shadow: 0 6px 16px rgba(255,90,31,0.25) !important;
}
.md-add-btn:hover { opacity: 0.9 !important; }

/* ── Header ajustes ─────────────────────────────────────── */
.md-logo img {
    height: 100px !important;
    max-height: 100px !important;
    max-width: 200px !important;
}
.md-cart-badge {
    position: absolute !important;
    top: -6px !important; right: -8px !important;
    min-width: 20px !important; height: 20px !important;
    border-radius: 999px !important;
    background: #d92d20 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 4px !important;
}

/* === CATEGORIAS MODERNAS === */
.md-category-grid { gap: 16px !important; }
.md-category-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 24px 16px !important;
  min-height: 140px !important;
  border-radius: 20px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.md-category-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,0.15) !important;
}
.md-category-card span {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.85) !important;
  font-size: 1.6rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
  display: grid !important;
  place-items: center !important;
}
.md-category-card strong { color: #fff !important; line-height: 1.3 !important; }
.md-category-card--1 { background: linear-gradient(135deg, #ff6b35, #f7931e) !important; color: #fff !important; }
.md-category-card--2 { background: linear-gradient(135deg, #4facfe, #00c6ff) !important; color: #fff !important; }
.md-category-card--3 { background: linear-gradient(135deg, #43e97b, #38f9d7) !important; color: #fff !important; }
.md-category-card--4 { background: linear-gradient(135deg, #a855f7, #ec4899) !important; color: #fff !important; }
.md-category-card--5 { background: linear-gradient(135deg, #667eea, #764ba2) !important; color: #fff !important; }
.md-category-card--6 { background: linear-gradient(135deg, #0acffe, #495aff) !important; color: #fff !important; }
.md-category-card--7 { background: linear-gradient(135deg, #f7971e, #ffd200) !important; color: #fff !important; }
.md-category-card--8 { background: linear-gradient(135deg, #1a1a2e, #16213e) !important; color: #fff !important; }

/* === CATEGORIAS MODERNAS === */
.md-category-grid { gap: 16px !important; }
.md-category-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 24px 16px !important;
  min-height: 140px !important;
  border-radius: 20px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.md-category-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,0.15) !important;
}
.md-category-card span {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.85) !important;
  font-size: 1.6rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
  display: grid !important;
  place-items: center !important;
}
.md-category-card strong { color: #fff !important; line-height: 1.3 !important; }
.md-category-card--1 { background: linear-gradient(135deg, #ff6b35, #f7931e) !important; color: #fff !important; }
.md-category-card--2 { background: linear-gradient(135deg, #4facfe, #00c6ff) !important; color: #fff !important; }
.md-category-card--3 { background: linear-gradient(135deg, #43e97b, #38f9d7) !important; color: #fff !important; }
.md-category-card--4 { background: linear-gradient(135deg, #a855f7, #ec4899) !important; color: #fff !important; }
.md-category-card--5 { background: linear-gradient(135deg, #667eea, #764ba2) !important; color: #fff !important; }
.md-category-card--6 { background: linear-gradient(135deg, #0acffe, #495aff) !important; color: #fff !important; }
.md-category-card--7 { background: linear-gradient(135deg, #f7971e, #ffd200) !important; color: #fff !important; }
.md-category-card--8 { background: linear-gradient(135deg, #1a1a2e, #16213e) !important; color: #fff !important; }

/* === CATEGORIAS MODERNAS === */
.md-category-grid { gap: 16px !important; }
.md-category-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 24px 16px !important;
  min-height: 140px !important;
  border-radius: 20px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.md-category-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,0.15) !important;
}
.md-category-card span {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.85) !important;
  font-size: 1.6rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
  display: grid !important;
  place-items: center !important;
}
.md-category-card strong { color: #fff !important; line-height: 1.3 !important; }
.md-category-card--1 { background: linear-gradient(135deg, #ff6b35, #f7931e) !important; color: #fff !important; }
.md-category-card--2 { background: linear-gradient(135deg, #4facfe, #00c6ff) !important; color: #fff !important; }
.md-category-card--3 { background: linear-gradient(135deg, #43e97b, #38f9d7) !important; color: #fff !important; }
.md-category-card--4 { background: linear-gradient(135deg, #a855f7, #ec4899) !important; color: #fff !important; }
.md-category-card--5 { background: linear-gradient(135deg, #667eea, #764ba2) !important; color: #fff !important; }
.md-category-card--6 { background: linear-gradient(135deg, #0acffe, #495aff) !important; color: #fff !important; }
.md-category-card--7 { background: linear-gradient(135deg, #f7971e, #ffd200) !important; color: #fff !important; }
.md-category-card--8 { background: linear-gradient(135deg, #1a1a2e, #16213e) !important; color: #fff !important; }
