/* Storefront Next — neutral, tenant-aware, mobile-first public catalog. */
:root {
  --store-bg: #f7f8fa;
  --store-surface: #fff;
  --store-ink: #111827;
  --store-muted: #667085;
  --store-line: #e6e9ef;
  --store-action: color-mix(in srgb, var(--brand-primary, #1b6bff) 68%, #101828);
  --store-action-soft: color-mix(in srgb, var(--brand-primary, #1b6bff) 9%, #fff);
  --store-focus: color-mix(in srgb, var(--brand-accent, #1b6bff) 72%, #2563eb);
  --store-danger: #b42318;
  --store-danger-soft: color-mix(in srgb, #b42318 12%, #fff);
  --store-radius: 18px;
  --store-container: min(1480px, calc(100% - 32px));
  --wevex-footer-bg: #f4f5f7;
  --wevex-footer-text: #111827;
  --wevex-brand-primary: #1a6dff;
  --wevex-brand-secondary: #2ee6c8;
  --wevex-brand-accent: #00d9a5;
  --wevex-brand-glow: rgba(26, 109, 255, 0.14);
  --wevex-brand-surface: #f8fbff;
  --wevex-brand-ink: #0b1733;
  --wevex-brand-muted: #48556f;
  --wevex-brand-line: #dbe8ff;
}

body.wx-public {
  color: var(--store-ink) !important;
  background: var(--store-bg) !important;
  font-family: var(--menu-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  -webkit-font-smoothing: antialiased;
}

body.wx-public * { box-sizing: border-box; }
body.wx-public img { max-width: 100%; }

body.wx-public :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--store-focus) 36%, transparent) !important;
  outline-offset: 2px;
}

body.wx-public .wx-nav.wx-nav-utility {
  min-height: 48px;
  padding: 2px max(16px, calc((100vw - 1480px) / 2)) !important;
  color: var(--store-muted);
  border-bottom: 1px solid color-mix(in srgb, var(--store-line) 78%, transparent) !important;
  background: color-mix(in srgb, #fff 92%, transparent) !important;
  box-shadow: none !important;
}

body.wx-public .wx-brand-text,
body.wx-public .wx-brand-text strong { color: var(--store-muted) !important; }

body.wx-public .club-nav-button {
  min-height: 38px;
  color: var(--store-action) !important;
  border-color: color-mix(in srgb, var(--store-action) 18%, var(--store-line)) !important;
  background: var(--store-action-soft) !important;
}

/* Establishment identity: compact and independent from campaign artwork. */
body.wx-public .menu-hero.store-profile {
  width: var(--store-container);
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 24px 0 16px !important;
  color: var(--store-ink) !important;
  overflow: visible;
  align-items: center;
  background: transparent !important;
}

body.wx-public .menu-hero-inner { max-width: none; gap: 16px; }
body.wx-public .menu-hero-brand { gap: 14px; }

body.wx-public .menu-hero-logo,
body.wx-public .menu-hero-logo-fallback {
  width: 72px;
  height: 72px;
  border: 2px solid color-mix(in srgb, var(--brand-primary) 48%, var(--store-line));
  border-radius: 18px;
  object-fit: cover;
  color: #fff;
  background: var(--store-action);
  box-shadow: 0 8px 24px rgba(16, 24, 40, .08);
}

.store-profile-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--store-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.wx-public .menu-hero h1 {
  margin: 0;
  color: var(--store-ink) !important;
  font-size: clamp(22px, 4.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-shadow: none !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

body.wx-public .menu-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  padding: 0;
  color: var(--store-muted) !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 650;
}

body.wx-public .menu-hero-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: #98a2b3;
}

body.wx-public .menu-hero-status.is-open::before { background: #16a34a; }
body.wx-public .menu-hero-status.is-closed::before { background: #dc2626; }

body.wx-public .menu-hero-desc {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--store-muted) !important;
  font-size: 13px;
  line-height: 1.5;
  text-shadow: none !important;
}

body.wx-public .menu-hero-note {
  color: var(--store-action) !important;
  border-color: var(--store-line) !important;
  background: var(--store-action-soft) !important;
}

.store-search-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--store-ink);
  border: 1px solid var(--store-line);
  border-radius: 13px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.store-search-jump svg,
.menu-search svg,
.product-card .add-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

body.wx-public .menu-store-meta {
  width: var(--store-container);
  margin: 0 auto 16px !important;
  padding: 12px 14px !important;
  gap: 8px 18px;
  color: var(--store-muted) !important;
  border: 1px solid var(--store-line) !important;
  border-radius: 14px !important;
  background: var(--store-surface) !important;
  box-shadow: none !important;
}

body.wx-public .menu-store-meta span { color: inherit !important; }

.store-campaign {
  width: var(--store-container);
  max-height: min(220px, 28vw);
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: var(--store-radius);
  background: #eef1f5;
}

.store-campaign:not(:has(img)) {
  display: none;
}

.store-campaign img {
  display: block;
  width: 100%;
  height: clamp(110px, 18vw, 220px);
  max-height: 220px;
  object-fit: var(--banner-fit, cover);
  object-position: var(--banner-focal-x, 50%) var(--banner-focal-y, 50%);
}

/* Highlights are optional and collapse completely when absent. */
body.wx-public .menu-rail {
  width: var(--store-container);
  margin: 0 auto 24px !important;
  padding: 0 !important;
  background: transparent !important;
}

body.wx-public .menu-rail-head h2,
body.wx-public .product-section h2 {
  color: var(--store-ink) !important;
  letter-spacing: -.025em;
}

body.wx-public .menu-rail-track {
  gap: 12px;
  padding: 2px 0 8px;
  scroll-padding-inline: 16px;
}

body.wx-public .menu-rail .product-card .product-media {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: var(--wx-product-media-ratio, 16 / 9) !important;
}

body.wx-public .menu-rail .product-card .product-body {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}

body.wx-public .menu-layout {
  display: block !important;
  width: var(--store-container);
  margin: 0 auto;
  padding: 0 0 84px !important;
}

body.wx-public .menu-sidebar {
  position: sticky !important;
  top: 48px !important;
  z-index: 35;
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 10px !important;
  padding: 6px 0 !important;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none;
  box-shadow: none !important;
}

body.wx-public .menu-sidebar::-webkit-scrollbar { height: 4px; }
body.wx-public .menu-sidebar .eyebrow { display: none; }

body.wx-public .menu-sidebar a {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px !important;
  display: inline-flex;
  align-items: center;
  color: var(--store-muted) !important;
  white-space: nowrap;
  border: 1px solid var(--brand-border, var(--store-line)) !important;
  border-radius: 999px !important;
  background: var(--store-surface, #fff) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.wx-public .menu-sidebar a[data-cat-link="active"],
body.wx-public .menu-sidebar a:hover {
  color: var(--brand-on-primary, var(--brand-accent-text)) !important;
  border-color: var(--brand-primary, var(--brand-accent)) !important;
  background: var(--brand-primary, var(--brand-accent)) !important;
}

body.wx-public .menu-main { min-width: 0; }

body.wx-public .menu-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 12px;
}

body.wx-public .menu-search > svg {
  position: absolute;
  left: 15px;
  z-index: 1;
  color: var(--store-muted);
  pointer-events: none;
}

body.wx-public .menu-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 84px 0 46px !important;
  color: var(--store-ink) !important;
  border: 1px solid var(--store-line) !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03) !important;
}

body.wx-public .menu-search-clear {
  right: 8px;
  min-height: 38px;
  color: var(--store-action) !important;
  border: 0 !important;
  background: transparent !important;
}

body.wx-public .menu-empty-search,
body.wx-public .cat-card {
  color: var(--store-muted) !important;
  border: 1px dashed #cfd5df !important;
  background: #fff !important;
}

body.wx-public .product-section { margin: 0 0 34px; scroll-margin-top: 112px; }

.product-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.product-section-heading h2 { margin: 0 !important; font-size: 21px !important; }
.product-section-heading > span { color: var(--store-muted); font-size: 12px; }

body.wx-public .product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)) !important;
  gap: 10px !important;
}

body.wx-public .product-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100% !important;
  overflow: hidden;
  color: var(--store-ink) !important;
  border: 1px solid var(--store-line) !important;
  border-radius: var(--store-radius) !important;
  background: var(--store-surface, #fff) !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03) !important;
  transform: none !important;
}

body.wx-public .product-card:hover {
  border-color: color-mix(in srgb, var(--brand-accent) 42%, var(--store-line)) !important;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .08) !important;
}

body.wx-public .product-card.is-unavailable { opacity: .62; filter: grayscale(.12); }

body.wx-public .product-card .product-media {
  position: relative;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  max-height: var(--wx-product-media-max, 8rem) !important;
  aspect-ratio: var(--wx-product-media-ratio, 16 / 9) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #eef1f5 !important;
  overflow: hidden;
}

body.wx-public .product-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 1;
  transition: opacity 180ms ease;
}

body.wx-public .product-media-img.is-loading {
  opacity: 0;
}

body.wx-public .product-media-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #eef1f5, #f7f8fa, #eef1f5);
  background-size: 200% 100%;
  animation: wx-product-skel 1.1s ease-in-out infinite;
}

@keyframes wx-product-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

body.wx-public .product-media:has(.product-media-img:not(.is-loading)) .product-media-skeleton,
body.wx-public .product-media-img:not(.is-loading) ~ .product-media-skeleton {
  display: none;
}

body.wx-public .product-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 4px;
  color: color-mix(in srgb, var(--store-action) 70%, #667085) !important;
  background: linear-gradient(145deg, var(--store-action-soft), #f2f4f7) !important;
}

body.wx-public .product-media-placeholder-mark { font-size: 28px; opacity: .72; }
body.wx-public .product-media-placeholder-label { color: var(--store-muted); font-size: 10px; }

body.wx-public .product-body {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
  min-width: 0;
  min-height: 4.5rem;
  height: auto !important;
  padding: 10px 12px !important;
}

body.wx-public .product-copy {
  min-height: 0;
}

body.wx-public .product-card h3 {
  margin: 0 0 5px;
  color: var(--store-ink) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.wx-public .product-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--store-muted) !important;
  font-size: 12px !important;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 0;
}

body.wx-public .product-meta,
body.wx-public .price-row { align-items: center; gap: 8px; }

body.wx-public .product-meta {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

body.wx-public .price-pill {
  padding: 0 !important;
  color: var(--store-ink) !important;
  border: 0 !important;
  background: transparent !important;
}

body.wx-public .price-pill small { color: var(--store-muted) !important; font-size: 9px; }
body.wx-public .price-pill b { color: var(--store-ink) !important; font-size: 14px; }

body.wx-public .product-card .add-btn {
  width: 42px !important;
  min-width: 42px;
  min-height: 42px !important;
  padding: 0 !important;
  display: inline-grid;
  place-items: center;
  color: var(--brand-on-primary, #fff) !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--brand-primary, var(--store-action)) !important;
  box-shadow: none !important;
}

body.wx-public .product-card .add-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
body.wx-public .product-card .add-btn svg { display: block; }
body.wx-public .product-card .add-btn:disabled,
body.wx-public .product-card .add-btn.is-soldout {
  width: auto !important;
  padding: 0 10px !important;
  color: #667085 !important;
  background: #eef1f5 !important;
}
body.wx-public .product-card .add-btn:disabled > span,
body.wx-public .product-card .add-btn.is-soldout > span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
body.wx-public .product-card .badge {
  top: 8px;
  left: 8px;
  color: var(--brand-on-primary, #fff) !important;
  border: 0 !important;
  background: var(--brand-primary) !important;
}

body.wx-public .product-section-heading h2::after {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--brand-primary);
  content: "";
}

/* Cart CTA remains obvious without covering content. */
body.wx-public .cartbar {
  right: 12px !important;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  left: 12px !important;
  width: auto !important;
  max-width: 560px;
  min-height: 62px;
  margin: 0 auto;
  padding: 7px 7px 7px 15px !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 17px !important;
  background: #111827 !important;
  box-shadow: 0 18px 42px rgba(16, 24, 40, .25) !important;
  transform: none !important;
}

body.wx-public .cartbar-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff !important;
}
body.wx-public .cartbar-copy span { color: #fff !important; opacity: .72; }

body.wx-public .cartbar-main-action {
  min-height: 48px;
  padding: 0 18px !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--store-action) !important;
}

/* Sheets and checkout — tokens Fase 2A (sem CSS custom por tenant). */
body.wx-public .drawer {
  background: color-mix(in srgb, var(--store-ink) 55%, transparent) !important;
  backdrop-filter: blur(3px);
}

body.wx-public .drawer-panel,
body.wx-public .cart-panel,
body.wx-public .checkout-panel {
  color: var(--store-ink) !important;
  border-color: var(--store-line) !important;
  background: var(--store-surface) !important;
  font-family: var(--menu-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  box-shadow: -20px 0 60px color-mix(in srgb, var(--store-ink) 16%, transparent) !important;
}

body.wx-public .drawer-head {
  color: var(--store-ink) !important;
  border-color: var(--store-line) !important;
  background: color-mix(in srgb, var(--store-surface) 94%, transparent) !important;
}

body.wx-public .drawer-head h3,
body.wx-public .drawer-kicker,
body.wx-public .summary strong { color: var(--store-ink) !important; }

body.wx-public .drawer-head .x {
  width: 44px;
  height: 44px;
  color: var(--store-ink) !important;
  border: 1px solid var(--store-line) !important;
  background: var(--store-surface) !important;
}

body.wx-public .drawer-desc,
body.wx-public .form-row small,
body.wx-public .checkout-safe { color: var(--store-muted) !important; }

body.wx-public .checkout-safe {
  display: block;
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--store-muted) !important;
}

body.wx-public .checkout-powered {
  display: none !important;
}

body.wx-public .form-row > label,
body.wx-public .product-drawer-unit-price {
  color: var(--store-ink) !important;
}

body.wx-public .sticky-action,
body.wx-public .cart-drawer-foot,
body.wx-public .drawer-footer {
  border-top: 1px solid var(--store-line) !important;
  background: var(--store-surface) !important;
  box-shadow: none !important;
}

body.wx-public .drawer-panel :where(input, select, textarea) {
  color: var(--store-ink) !important;
  border: 1px solid var(--store-line) !important;
  background: var(--store-surface) !important;
  font-family: inherit !important;
}

body.wx-public .drawer-panel :where(input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--store-focus) 36%, transparent) !important;
  outline-offset: 2px;
  border-color: var(--store-focus) !important;
}

body.wx-public .drawer-panel :where(input, select, textarea):disabled,
body.wx-public .drawer-panel :where(input, select, textarea)[aria-disabled="true"] {
  color: var(--store-muted) !important;
  background: color-mix(in srgb, var(--store-bg) 88%, var(--store-line)) !important;
  opacity: 0.72;
  cursor: not-allowed;
}

body.wx-public .drawer-panel :where(input, select, textarea).is-error,
body.wx-public .drawer-panel :where(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--store-danger) !important;
  background: var(--store-danger-soft) !important;
}

body.wx-public .drawer-panel .choice,
body.wx-public .checkout-section,
body.wx-public .summary,
body.wx-public .cart-item {
  color: var(--store-ink) !important;
  border-color: var(--store-line) !important;
  background: color-mix(in srgb, var(--store-bg) 72%, var(--store-surface)) !important;
}

body.wx-public .drawer-panel .choice span,
body.wx-public .cart-item strong { color: var(--store-ink) !important; }

body.wx-public .drawer-panel .add-btn,
body.wx-public .checkout-panel .add-btn {
  min-height: 50px;
  color: #fff !important;
  border: 0 !important;
  background: var(--store-action) !important;
}

body.wx-public .drawer-panel .add-btn:disabled,
body.wx-public .checkout-panel .add-btn:disabled,
body.wx-public .drawer-panel .add-btn.is-loading,
body.wx-public .checkout-panel .add-btn.is-loading {
  color: var(--store-muted) !important;
  background: color-mix(in srgb, var(--store-bg) 70%, var(--store-line)) !important;
  opacity: 0.78;
  cursor: wait;
}

body.wx-public .drawer-panel .add-btn.is-error,
body.wx-public .checkout-panel .add-btn.is-error {
  background: var(--store-danger) !important;
  color: #fff !important;
}

body.wx-public .drawer-quantity button {
  color: var(--store-action) !important;
  border-color: var(--store-line) !important;
  background: var(--store-surface) !important;
}

body.wx-public .checkout-steps span {
  color: var(--store-muted);
  background: color-mix(in srgb, var(--store-bg) 80%, var(--store-line));
}
body.wx-public .checkout-steps span.active {
  color: #fff;
  background: var(--store-action);
}
body.wx-public .checkout-section-title > b {
  color: #fff;
  background: var(--store-action);
}
body.wx-public .checkout-section-title strong { color: var(--store-ink); }
body.wx-public .checkout-section-title small { color: var(--store-muted); }

body.wx-public .checkout-msg,
body.wx-public [data-checkout-msg].is-error {
  color: var(--store-danger) !important;
}

body.wx-public .public-footer {
  color: var(--store-muted) !important;
  border-top: 1px solid var(--store-line) !important;
  background: var(--store-surface) !important;
}

body.wx-public .public-footer strong,
body.wx-public .public-social-link { color: var(--store-ink) !important; }

/* —— Assinatura premium WEVEX (todos os cardápios) —— */
body.wx-public .public-footer-wevex {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0.35rem 0 0 !important;
  padding: 1.75rem 0 0.35rem !important;
  border-top: 1px solid color-mix(in srgb, var(--store-line, #e5e7eb) 88%, transparent) !important;
  background: var(--wevex-footer-bg, #f4f5f7) !important;
  border-radius: 14px;
  padding-inline: 0.75rem !important;
}

body.wx-public .wevex-signature {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  width: 100%;
  padding: 0.35rem 0 0.15rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--wevex-footer-text, var(--store-muted, #6b7280)) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform 250ms ease, opacity 250ms ease;
}

body.wx-public .wevex-signature-main {
  display: grid;
  gap: 0.55rem;
  min-width: min(100%, 18rem);
  max-width: 100%;
}

body.wx-public .wevex-signature-brand {
  display: inline-flex;
  align-items: center;
}

/* Enquadramento da logo oficial — contain (sem crop). */
body.wx-public .wevex-mark-frame {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #050a18;
  box-shadow: 0 0 0 1px color-mix(in srgb, #1a6dff 22%, transparent);
  aspect-ratio: 1 / 1;
}

body.wx-public .wevex-mark-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  transform-origin: center;
  border-radius: 0;
  transition: filter 250ms ease, opacity 250ms ease;
}

body.wx-public .wevex-signature-tagline {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--store-muted, #6b7280) !important;
  max-width: 22rem;
}

body.wx-public .wevex-signature-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  padding: 0.65rem 1rem;
  border: 1px solid color-mix(in srgb, var(--store-line, #e5e7eb) 100%, transparent);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--store-ink, #111827) !important;
  background: color-mix(in srgb, var(--store-ink, #111827) 3%, transparent);
  transition: border-color 250ms ease, background 250ms ease, color 250ms ease;
  white-space: nowrap;
  max-width: 100%;
}

body.wx-public .wevex-signature-arrow {
  display: inline-block;
  transition: transform 250ms ease;
}

body.wx-public .wevex-signature:hover {
  transform: scale(1.03);
  opacity: 1;
}

body.wx-public .wevex-signature:hover .wevex-mark-img {
  filter: drop-shadow(0 0 10px rgba(46, 230, 200, 0.45))
          drop-shadow(0 0 18px rgba(26, 109, 255, 0.28));
}

body.wx-public .wevex-signature:hover .wevex-signature-cta {
  border-color: color-mix(in srgb, var(--store-ink, #111827) 22%, var(--store-line, #e5e7eb));
  background: color-mix(in srgb, var(--store-ink, #111827) 6%, transparent);
}

body.wx-public .wevex-signature:hover .wevex-signature-arrow {
  transform: translateX(4px);
}

body.wx-public .wevex-signature:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--store-action, #1a6dff) 70%, transparent);
  outline-offset: 4px;
}

body.wx-public .wevex-signature--compact {
  gap: 0.85rem 1.25rem;
  padding: 0.15rem 0 !important;
}

body.wx-public .wevex-signature--compact .wevex-mark-frame {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

body.wx-public .wevex-signature--compact .wevex-signature-tagline {
  font-size: 0.78rem;
}

body.wx-public .wevex-signature--compact .wevex-signature-cta {
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  body.wx-public .public-footer-wevex {
    padding-top: 1.35rem !important;
    padding-inline: 0.5rem !important;
  }

  body.wx-public .wevex-signature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    max-width: 100%;
  }

  body.wx-public .wevex-signature-main {
    justify-items: center;
    min-width: 0;
    width: 100%;
  }

  body.wx-public .wevex-signature-brand {
    justify-content: center;
  }

  body.wx-public .wevex-mark-frame {
    width: 52px;
    height: 52px;
  }

  body.wx-public .wevex-signature-tagline {
    max-width: 18rem;
    margin-inline: auto;
  }

  body.wx-public .wevex-signature-cta {
    margin-left: 0;
    width: auto;
    max-width: calc(100% - 0.5rem);
  }
}

/* Footer premium: contatos do tenant e assinatura tecnológica Wevex. */
body.wx-public .public-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.65rem 1.5rem !important;
  width: var(--store-container) !important;
  max-width: none !important;
  margin: -52px auto 0 !important;
  padding: 0.7rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid color-mix(in srgb, var(--store-line) 72%, transparent) !important;
  background: transparent !important;
}

body.wx-public:has([data-cartbar]:not([hidden])) .public-footer {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)) !important;
}

body.wx-public .public-footer-contacts {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.55rem;
  min-height: 44px;
}
body.wx-public .public-footer-contacts:empty { min-height: 0; }
body.wx-public .public-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.72rem !important;
  color: var(--store-ink) !important;
  border: 1px solid color-mix(in srgb, var(--store-line) 78%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--store-surface) 62%, transparent);
  text-decoration: none !important;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
body.wx-public .public-social-link:hover {
  border-color: color-mix(in srgb, var(--store-action) 35%, var(--store-line));
  background: var(--store-action-soft) !important;
  box-shadow: 0 5px 16px color-mix(in srgb, var(--store-action) 10%, transparent);
}
body.wx-public .public-social-link svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.wx-public .public-social-link span {
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

body.wx-public .public-footer-wevex {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  justify-self: end;
}
body.wx-public .wevex-signature,
body.wx-public .wevex-signature--compact {
  display: inline-flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  gap: 0.85rem;
  width: auto;
  max-width: 286px;
  min-height: 64px;
  padding: 0.25rem 0 !important;
  color: var(--wevex-brand-muted) !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  transform: none !important;
  transition: border-color 200ms ease, box-shadow 200ms ease !important;
}
body.wx-public .wevex-signature::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--wevex-brand-primary), var(--wevex-brand-secondary), transparent);
  opacity: 0.62;
}
body.wx-public .wevex-signature:hover {
  box-shadow: none !important;
}
body.wx-public .wevex-signature:hover .wevex-powered-mark {
  filter: drop-shadow(0 0 11px color-mix(in srgb, var(--wevex-brand-secondary) 34%, transparent));
}
body.wx-public .wevex-signature .wevex-powered-mark {
  display: block;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px !important;
  max-height: 44px !important;
  flex: 0 0 44px;
  object-fit: contain;
  border-radius: 11px;
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--wevex-brand-secondary) 28%, transparent));
  transition: filter 200ms ease;
}
body.wx-public .wevex-powered-copy {
  display: grid;
  gap: 0.05rem;
  line-height: 1.05;
  text-align: left;
}
body.wx-public .wevex-powered-copy small {
  color: var(--wevex-brand-muted);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}
body.wx-public .wevex-powered-copy strong {
  color: var(--wevex-brand-ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
body.wx-public .wevex-powered-copy::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  margin-top: 0.15rem;
  background: linear-gradient(90deg, var(--wevex-brand-secondary), var(--wevex-brand-primary), transparent);
  opacity: 0.55;
}
body.wx-public .wevex-powered-tagline {
  max-width: 13rem;
  white-space: nowrap;
}
body.wx-public .wevex-powered-cta {
  margin-top: 0.28rem;
  color: var(--wevex-brand-primary);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}
body.wx-public .wevex-signature:focus-visible {
  outline-color: var(--wevex-brand-primary);
}

@media (max-width: 820px) {
  body.wx-public .public-footer {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  body.wx-public .public-footer-wevex { grid-column: 2; grid-row: 1; }
}

@media (max-width: 560px) {
  body.wx-public .public-footer {
    grid-template-columns: 1fr !important;
    justify-items: center;
    text-align: center;
    gap: 0.42rem !important;
    width: calc(100% - 24px) !important;
    margin-top: -38px !important;
    padding-block: 0.65rem calc(0.7rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.wx-public .public-footer-contacts {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    max-width: 100%;
  }
  body.wx-public .public-footer-wevex {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: center;
    width: auto !important;
    max-width: 90%;
  }
  body.wx-public .wevex-signature,
  body.wx-public .wevex-signature--compact {
    flex-direction: column;
    justify-content: center;
    gap: 0.32rem;
    width: auto;
    max-width: 90%;
    min-height: 0;
    padding: 0.55rem 0.7rem !important;
  }
  body.wx-public .wevex-powered-copy {
    justify-items: center;
    text-align: center;
  }
  body.wx-public .wevex-signature .wevex-powered-mark {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    min-height: 42px;
    max-width: 42px !important;
    max-height: 42px !important;
    flex-basis: 42px;
  }
  body.wx-public .wevex-powered-cta { margin-top: 0.18rem; }
  body.wx-public .wevex-signature::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wx-public .wevex-signature,
  body.wx-public .wevex-powered-mark,
  body.wx-public .public-social-link,
  body.wx-public .wevex-mark-img,
  body.wx-public .wevex-signature-arrow,
  body.wx-public .wevex-signature-cta {
    transition: none;
  }

  body.wx-public .wevex-signature:hover {
    transform: none;
  }

  body.wx-public .wevex-signature:hover .wevex-mark-img,
  body.wx-public .wevex-signature:hover .wevex-signature-arrow {
    transform: none;
  }
}

@media (min-width: 768px) {
  body.wx-public .menu-rail-track {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    width: 100%;
    overflow: visible !important;
  }
  body.wx-public .menu-rail .product-card {
    display: flex !important;
    flex-direction: column;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  body.wx-public .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) !important; gap: 10px !important; }
}

@media (min-width: 900px) {
  :root {
    --wx-product-media-max: 7.25rem;
    --wx-product-media-max-lg: 7.25rem;
    --store-container: min(1600px, calc(100% - 40px));
  }
  body.wx-public .menu-rail { margin-bottom: 12px !important; }
  body.wx-public .menu-hero.store-profile { padding-top: 16px !important; padding-bottom: 10px !important; }
  body.wx-public .menu-hero-logo,
  body.wx-public .menu-hero-logo-fallback { width: 72px; height: 72px; border-radius: 18px; }
  body.wx-public .menu-store-meta { padding: 10px 14px !important; }
  body.wx-public .menu-layout { padding-bottom: 88px !important; }
  body.wx-public .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)) !important; gap: 10px !important; }
  body.wx-public .menu-rail-track { grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)) !important; }
  body.wx-public .product-card .product-media { aspect-ratio: var(--wx-product-media-ratio, 16 / 9) !important; max-height: var(--wx-product-media-max) !important; }
  body.wx-public .product-body { min-height: 0; padding: 8px 10px !important; gap: 6px; }
  body.wx-public .product-card h3 { font-size: 14px !important; }
  body.wx-public .cartbar { right: 24px !important; left: auto !important; width: 360px !important; margin: 0; }
}

@media (min-width: 1200px) {
  body.wx-public .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)) !important; gap: 10px !important; }
  body.wx-public .menu-rail-track { grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)) !important; }
}

@media (min-width: 1440px) {
  body.wx-public .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)) !important; gap: 12px !important; }
  body.wx-public .menu-rail-track { grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)) !important; }
}

@media (min-width: 1600px) {
  :root { --store-container: min(1760px, calc(100% - 48px)); }
}

@media (max-width: 599px) {
  :root { --store-container: calc(100% - 24px); }
  body.wx-public .wx-nav.wx-nav-utility { padding-inline: 12px !important; }
  body.wx-public .menu-hero.store-profile { padding-top: 18px !important; }
  body.wx-public .menu-hero-inner { align-items: flex-start; }
  body.wx-public .menu-hero-brand { align-items: flex-start; }
  body.wx-public .menu-hero-logo,
  body.wx-public .menu-hero-logo-fallback { width: 64px; height: 64px; border-radius: 16px; }
  body.wx-public .menu-hero-desc { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .store-search-jump { width: 44px; padding: 0; }
  .store-search-jump span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  body.wx-public .menu-store-meta { display: flex; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
  .store-campaign { border-radius: 14px; }
  body.wx-public .menu-sidebar { margin-inline: -12px !important; width: calc(100% + 24px) !important; padding-inline: 12px !important; }
  body.wx-public .menu-search { margin-bottom: 22px; }
  body.wx-public .drawer,
  body.wx-public .cart-drawer,
  body.wx-public .checkout-modal { align-items: flex-end !important; }
  body.wx-public .drawer-panel,
  body.wx-public .cart-panel,
  body.wx-public .checkout-panel {
    width: 100% !important;
    max-height: calc(100dvh - 16px) !important;
    border: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -20px 60px rgba(16, 24, 40, .2) !important;
  }
  body.wx-public .drawer-head { top: -15px !important; }
  body.wx-public .checkout-steps { top: 54px; background: var(--store-surface) !important; }
}

@media (max-width: 390px) {
  :root { --store-container: calc(100% - 20px); }
  body.wx-public .product-grid { grid-template-columns: 1fr !important; }
  body.wx-public .menu-hero-logo,
  body.wx-public .menu-hero-logo-fallback { width: 56px; height: 56px; }
  body.wx-public .menu-hero h1 { font-size: 20px; }
  body.wx-public .product-body { padding: 12px !important; }
  body.wx-public .product-card .add-btn { width: 40px !important; min-width: 40px; min-height: 40px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.wx-public *,
  body.wx-public *::before,
  body.wx-public *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
