/*
 * GoTe UI v4
 * Loaded only when GOTE_UI_VERSION resolves to v4. Every selector is scoped so
 * the v3 fallback remains byte-for-byte functional.
 */

html[data-ui-version="v4"] {
  --g4-brand: #5b4bff;
  --g4-brand-hover: #4736e8;
  --g4-brand-soft: #f0eeff;
  --g4-blue: #2563eb;
  --g4-blue-soft: #eaf7ff;
  --g4-green: #087a55;
  --g4-green-soft: #eaf8f2;
  --g4-coral: #e84a6a;
  --g4-coral-soft: #fff0f3;
  --g4-amber: #b86200;
  --g4-amber-soft: #fff7e5;
  --g4-ink: #172033;
  --g4-copy: #515b70;
  --g4-muted: #727c91;
  --g4-line: #e4e7f0;
  --g4-surface: #ffffff;
  --g4-canvas: #f7f8fc;
  --g4-cream: #fff7f2;
  --g4-radius-sm: 12px;
  --g4-radius: 16px;
  --g4-radius-lg: 20px;
  --g4-shadow: 0 12px 34px rgba(40, 47, 78, 0.08);
  --g4-shadow-hover: 0 18px 44px rgba(40, 47, 78, 0.14);
  color: var(--g4-ink);
  background: var(--g4-canvas);
}

html[data-ui-version="v4"] body {
  color: var(--g4-ink);
  background: var(--g4-canvas);
}

html[data-ui-version="v4"] *,
html[data-ui-version="v4"] *::before,
html[data-ui-version="v4"] *::after {
  box-sizing: border-box;
}

html[data-ui-version="v4"] :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(91, 75, 255, 0.35);
  outline-offset: 3px;
}

html[data-ui-version="v4"] :where(button, input, select, textarea) {
  min-height: 44px;
}

html[data-ui-version="v4"] footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

html[data-ui-version="v4"].gote-menu-open {
  overflow: hidden;
}

html[data-ui-version="v4"] .gote-v4-container {
  width: min(100% - 32px, 1400px);
  margin-inline: auto;
}

/* Header and primary commerce navigation */
html[data-ui-version="v4"] .gote-v4-valuebar {
  color: #fff;
  background: var(--g4-brand);
  font-size: 12px;
  font-weight: 650;
}

html[data-ui-version="v4"] .gote-v4-valuebar .gote-v4-container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

html[data-ui-version="v4"] .gote-v4-valuebar a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-ui-version="v4"] .gote-v4-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  border-bottom: 1px solid var(--g4-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 20px rgba(23, 32, 51, 0.05);
  backdrop-filter: blur(14px);
}

html[data-ui-version="v4"] .gote-v4-header-main {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

html[data-ui-version="v4"] .gote-v4-logo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--g4-ink);
  font-family: Manrope, Inter, sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-decoration: none;
  white-space: nowrap;
}

html[data-ui-version="v4"] .gote-v4-logo em {
  color: var(--g4-brand);
  font-style: normal;
}

html[data-ui-version="v4"] .gote-v4-logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 12px;
  background: var(--g4-brand);
  box-shadow: 0 7px 18px rgba(91, 75, 255, 0.25);
}

html[data-ui-version="v4"] .gote-v4-search {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
}

html[data-ui-version="v4"] .gote-v4-search--desktop {
  flex: 1 1 620px;
  max-width: 720px;
}

html[data-ui-version="v4"] .gote-v4-search input {
  width: 100%;
  height: 48px;
  padding: 0 106px 0 46px;
  color: var(--g4-ink);
  border: 1px solid #cfd4e2;
  border-radius: 15px;
  background: #fff;
  box-shadow: inset 0 0 0 1px transparent;
  font-size: 14px;
  font-weight: 650;
}

html[data-ui-version="v4"] .gote-v4-search input::placeholder {
  color: #8b93a6;
}

html[data-ui-version="v4"] .gote-v4-search input:focus {
  border-color: var(--g4-brand);
  box-shadow: 0 0 0 4px rgba(91, 75, 255, 0.11);
  outline: none;
}

html[data-ui-version="v4"] .gote-v4-search-icon {
  position: absolute;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  color: #697386;
  pointer-events: none;
}

html[data-ui-version="v4"] .gote-v4-search > button {
  position: absolute;
  inset-block: 5px;
  right: 5px;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 18px;
  color: #fff;
  border: 0;
  border-radius: 11px;
  background: var(--g4-brand);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

html[data-ui-version="v4"] .gote-v4-search > button:hover {
  background: var(--g4-brand-hover);
}

html[data-ui-version="v4"] .gote-v4-search-results {
  position: absolute;
  inset: calc(100% + 8px) 0 auto;
  z-index: 90;
  max-height: min(520px, 70vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--g4-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 32, 51, 0.18);
}

html[data-ui-version="v4"] .gote-v4-search-results[hidden] {
  display: none;
}

html[data-ui-version="v4"] .gote-v4-suggestion {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 9px;
  color: var(--g4-ink);
  border-radius: 12px;
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v4-suggestion:hover,
html[data-ui-version="v4"] .gote-v4-suggestion.is-active {
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v4-suggestion img,
html[data-ui-version="v4"] .gote-v4-suggestion-fallback {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
  border: 1px solid var(--g4-line);
  border-radius: 10px;
  background: var(--g4-canvas);
}

html[data-ui-version="v4"] .gote-v4-suggestion-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--g4-brand);
  font-size: 12px;
  font-weight: 850;
}

html[data-ui-version="v4"] .gote-v4-suggestion-copy {
  min-width: 0;
  flex: 1;
}

html[data-ui-version="v4"] .gote-v4-suggestion-copy strong,
html[data-ui-version="v4"] .gote-v4-suggestion-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-ui-version="v4"] .gote-v4-suggestion-copy strong {
  font-size: 13px;
  font-weight: 750;
}

html[data-ui-version="v4"] .gote-v4-suggestion-copy small {
  margin-top: 3px;
  color: var(--g4-muted);
  font-size: 11px;
}

html[data-ui-version="v4"] .gote-v4-suggestion b {
  color: var(--g4-ink);
  font-size: 13px;
  white-space: nowrap;
}

html[data-ui-version="v4"] .gote-v4-suggestion-all {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  color: var(--g4-brand);
  border-top: 1px solid var(--g4-line);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v4-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

html[data-ui-version="v4"] .gote-v4-actions > a {
  min-width: 52px;
  min-height: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding-inline: 7px;
  color: #596277;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v4-actions > a:hover {
  color: var(--g4-brand);
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v4-actions .gote-v4-publish,
html[data-ui-version="v4"] .gote-v4-publish {
  min-width: auto;
  min-height: 44px;
  flex-direction: row;
  gap: 7px;
  padding-inline: 15px;
  color: var(--g4-brand);
  border: 1px solid rgba(91, 75, 255, 0.3);
  background: var(--g4-brand-soft);
  font-size: 12px;
}

html[data-ui-version="v4"] .gote-v4-primary-nav {
  border-top: 1px solid #f0f1f6;
  background: #fff;
}

html[data-ui-version="v4"] .gote-v4-primary-nav .gote-v4-container {
  min-height: 44px;
  display: flex;
  align-items: stretch;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

html[data-ui-version="v4"] .gote-v4-primary-nav .gote-v4-container::-webkit-scrollbar {
  display: none;
}

html[data-ui-version="v4"] .gote-v4-primary-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #596277;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

html[data-ui-version="v4"] .gote-v4-primary-nav a:hover,
html[data-ui-version="v4"] .gote-v4-primary-nav a.is-active {
  color: var(--g4-brand);
}

html[data-ui-version="v4"] .gote-v4-primary-nav a.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--g4-brand);
}

html[data-ui-version="v4"] .gote-v4-mobile-search-wrap,
html[data-ui-version="v4"] .gote-v4-menu-button {
  display: none;
}

html[data-ui-version="v4"] .gote-v4-icon-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--g4-ink);
  border: 1px solid var(--g4-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

html[data-ui-version="v4"] .gote-v4-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(23, 32, 51, 0.5);
}

html[data-ui-version="v4"] .gote-v4-menu-backdrop[hidden] {
  display: none;
}

html[data-ui-version="v4"] .gote-v4-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: min(88vw, 380px);
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: #fff;
  box-shadow: 20px 0 60px rgba(23, 32, 51, 0.2);
  transform: translateX(-105%);
  transition: transform 180ms ease;
}

html[data-ui-version="v4"] .gote-v4-drawer.is-open {
  transform: translateX(0);
}

html[data-ui-version="v4"] .gote-v4-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--g4-line);
}

html[data-ui-version="v4"] .gote-v4-drawer-head button svg {
  transform: rotate(45deg);
}

html[data-ui-version="v4"] .gote-v4-drawer-links,
html[data-ui-version="v4"] .gote-v4-drawer-secondary {
  display: grid;
  gap: 4px;
  padding-block: 14px;
}

html[data-ui-version="v4"] .gote-v4-drawer-links a,
html[data-ui-version="v4"] .gote-v4-drawer-secondary a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding-inline: 13px;
  color: var(--g4-ink);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v4-drawer-links a:hover {
  color: var(--g4-brand);
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v4-drawer-secondary {
  border-top: 1px solid var(--g4-line);
}

html[data-ui-version="v4"] .gote-v4-drawer-secondary a {
  min-height: 44px;
  color: var(--g4-copy);
}

html[data-ui-version="v4"] .gote-v4-drawer-account {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--g4-line);
}

html[data-ui-version="v4"] .gote-v4-drawer-account > a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* Product cards and dense commerce grids */
html[data-ui-version="v4"] .mock-product-card,
html[data-ui-version="v4"] .gote-bf-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius-lg);
  background: #fff;
  box-shadow: 0 7px 24px rgba(40, 47, 78, 0.06);
  transform: none;
}

html[data-ui-version="v4"] .gote-v4-product-card {
  display: flex;
  flex-direction: column;
}

html[data-ui-version="v4"] .gote-v4-card-main {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

html[data-ui-version="v4"] .mock-product-card:hover,
html[data-ui-version="v4"] .mock-product-card:focus-within,
html[data-ui-version="v4"] .gote-bf-card:hover,
html[data-ui-version="v4"] .gote-bf-card:focus-within {
  border-color: rgba(91, 75, 255, 0.42);
  box-shadow: var(--g4-shadow-hover);
  transform: translateY(-2px);
}

html[data-ui-version="v4"] .mock-product-media,
html[data-ui-version="v4"] .gote-bf-media {
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #f9faff;
}

html[data-ui-version="v4"] .mock-product-media img,
html[data-ui-version="v4"] .gote-bf-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

html[data-ui-version="v4"] .mock-product-save,
html[data-ui-version="v4"] .gote-bf-watch {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  right: 10px;
  border-radius: 999px;
  background: #fff;
  color: #626c80;
  border: 1px solid var(--g4-line);
  box-shadow: 0 5px 16px rgba(23, 32, 51, 0.08);
}

html[data-ui-version="v4"] .mock-product-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  color: #fff;
  padding: 6px 9px;
  border-radius: 9px;
  box-shadow: none;
  font-size: 10px;
  letter-spacing: 0.01em;
}

html[data-ui-version="v4"] .mock-product-badge--verified {
  background: var(--g4-coral);
}

html[data-ui-version="v4"] .mock-product-badge--compare {
  background: var(--g4-brand);
}

html[data-ui-version="v4"] .mock-product-body,
html[data-ui-version="v4"] .gote-bf-body {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 15px 10px;
}

html[data-ui-version="v4"] .mock-product-store {
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: var(--g4-muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

html[data-ui-version="v4"] .mock-product-store > span {
  background: var(--g4-blue);
}

html[data-ui-version="v4"] .mock-product-store > i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--g4-blue);
}

html[data-ui-version="v4"] .mock-product-title,
html[data-ui-version="v4"] .gote-bf-title {
  min-height: 40px;
  margin-bottom: 5px;
  color: var(--g4-ink);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
}

html[data-ui-version="v4"] .gote-v4-product-card .mock-product-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html[data-ui-version="v4"] .mock-product-observations {
  min-height: 18px;
  color: var(--g4-muted);
  font-size: 10px;
  font-weight: 650;
}

html[data-ui-version="v4"] .gote-v3-reason-chip,
html[data-ui-version="v4"] .mock-product-signal {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 5px 8px;
  overflow: hidden;
  color: var(--g4-green);
  border: 1px solid #cdeadd;
  border-radius: 8px;
  background: var(--g4-green-soft);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-ui-version="v4"] .mock-product-reference {
  display: block;
  margin-top: 2px;
  color: var(--g4-muted);
  font-size: 10px;
}

html[data-ui-version="v4"] .mock-product-price,
html[data-ui-version="v4"] .gote-bf-price {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  color: var(--g4-ink);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 850;
  letter-spacing: -0.035em;
}

html[data-ui-version="v4"] .mock-product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 3px 15px 15px;
}

html[data-ui-version="v4"] .mock-product-actions a,
html[data-ui-version="v4"] .gote-bf-out {
  min-width: 0;
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #fff;
  border: 0;
  border-radius: 11px;
  background: var(--g4-brand);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

html[data-ui-version="v4"] .mock-product-actions a:hover,
html[data-ui-version="v4"] .gote-bf-out:hover {
  color: #fff;
  background: var(--g4-brand-hover);
}

html[data-ui-version="v4"] .gote-v4-compare-add {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-inline: 11px;
  color: var(--g4-copy);
  border: 1px solid var(--g4-line);
  border-radius: 11px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

html[data-ui-version="v4"] .gote-v4-compare-add:hover,
html[data-ui-version="v4"] .gote-v4-compare-add.is-selected {
  color: var(--g4-brand);
  border-color: rgba(91, 75, 255, 0.35);
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v3-product-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 0;
}

html[data-ui-version="v4"] .mock-product-grid,
html[data-ui-version="v4"] .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px;
}

html[data-ui-version="v4"] .product-grid > *,
html[data-ui-version="v4"] .mock-product-grid > *,
html[data-ui-version="v4"] .gote-v3-product-rail > * {
  width: auto;
  min-width: 0;
}

/* Homepage: compact decision hero followed immediately by products */
html[data-ui-version="v4"] .gote-v2-hero {
  padding: 0;
  color: var(--g4-ink);
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v2-hero::before,
html[data-ui-version="v4"] .gote-v2-hero::after {
  display: none;
}

html[data-ui-version="v4"] .gote-v2-hero > div {
  min-height: 320px;
  padding-block: 26px;
}

html[data-ui-version="v4"] .gote-v2-hero > div > div {
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  gap: 38px;
}

html[data-ui-version="v4"] .gote-v2-hero h1 {
  max-width: 13ch;
  margin-bottom: 12px;
  color: var(--g4-ink);
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

html[data-ui-version="v4"] .gote-v2-hero p:first-child {
  margin-bottom: 10px;
  color: var(--g4-brand);
}

html[data-ui-version="v4"] .gote-v2-hero-copy {
  margin-bottom: 18px;
  color: var(--g4-copy);
  font-size: 15px;
  line-height: 1.6;
}

html[data-ui-version="v4"] .gote-v2-primary,
html[data-ui-version="v4"] .gote-v3-secondary {
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v2-primary {
  color: #fff;
  background: var(--g4-brand);
}

html[data-ui-version="v4"] .gote-v3-secondary {
  color: var(--g4-ink);
  border: 1px solid #cfd2e7;
  background: #fff;
}

html[data-ui-version="v4"] .gote-v2-proof-list {
  color: var(--g4-copy);
  font-size: 11px;
}

html[data-ui-version="v4"] .gote-v4-hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

html[data-ui-version="v4"] .gote-v4-hero-categories a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 12px;
  color: var(--g4-copy);
  border: 1px solid rgba(91, 75, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v2-hero-deals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
}

html[data-ui-version="v4"] .gote-v2-mini-deal {
  min-width: 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px;
  color: var(--g4-ink);
  border: 1px solid rgba(91, 75, 255, 0.14);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(58, 51, 126, 0.08);
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v2-mini-deal:hover {
  border-color: rgba(91, 75, 255, 0.42);
  box-shadow: var(--g4-shadow);
  transform: translateY(-2px);
}

html[data-ui-version="v4"] .gote-v2-mini-deal > img,
html[data-ui-version="v4"] .gote-v2-mini-deal > .product-media-fallback {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  background: #f9faff;
}

html[data-ui-version="v4"] .gote-v2-mini-deal > span {
  min-width: 0;
}

html[data-ui-version="v4"] .gote-v2-mini-deal > span:last-child {
  margin-top: auto;
}

html[data-ui-version="v4"] .gote-v2-mini-deal small {
  color: var(--g4-muted);
  font-size: 10px;
  font-weight: 700;
}

html[data-ui-version="v4"] .gote-v2-mini-deal strong {
  min-height: 38px;
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

html[data-ui-version="v4"] .gote-v2-mini-deal b {
  color: var(--g4-ink);
  font-size: 18px;
  font-weight: 850;
}

html[data-ui-version="v4"] .gote-v2-mini-verdict {
  width: fit-content;
  margin-top: 6px;
  padding: 4px 7px;
  color: var(--g4-green);
  border-radius: 7px;
  background: var(--g4-green-soft);
  font-size: 9px;
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v2-market-rail {
  padding-block: 0;
  border-block: 1px solid var(--g4-line);
  background: #fff;
}

html[data-ui-version="v4"] .gote-v2-market-grid {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
}

html[data-ui-version="v4"] .gote-v2-market-item {
  min-width: 0;
  padding: 11px 18px;
  border-right: 1px solid var(--g4-line);
}

html[data-ui-version="v4"] .gote-v2-market-item:last-child {
  border-right: 0;
}

html[data-ui-version="v4"] .gote-v2-market-item span {
  color: var(--g4-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-ui-version="v4"] .gote-v2-market-item strong {
  display: block;
  margin-top: 3px;
  color: var(--g4-ink);
  font-size: 14px;
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v2-section {
  padding-block: 30px 20px;
}

html[data-ui-version="v4"] .gote-v2-section-head {
  margin-bottom: 16px;
}

html[data-ui-version="v4"] .gote-v2-section h2,
html[data-ui-version="v4"] .gote-mockup-page section h2 {
  color: var(--g4-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}

html[data-ui-version="v4"] .gote-v2-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border: 0;
}

html[data-ui-version="v4"] .gote-v2-category-card {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--g4-line);
  border-radius: 15px;
  background: #fff;
}

html[data-ui-version="v4"] .gote-v2-category-card:nth-child(4n+1) {
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v2-category-card:nth-child(4n+2) {
  background: var(--g4-blue-soft);
}

html[data-ui-version="v4"] .gote-v2-category-card:nth-child(4n+3) {
  background: var(--g4-cream);
}

html[data-ui-version="v4"] .gote-v2-category-card:nth-child(4n+4) {
  background: var(--g4-green-soft);
}

html[data-ui-version="v4"] .gote-v4-verified-panel {
  color: var(--g4-ink);
  border: 1px solid #ffd7df;
  background: var(--g4-coral-soft);
}

html[data-ui-version="v4"] .gote-v4-verified-panel :where(h2, p) {
  color: var(--g4-ink);
}

html[data-ui-version="v4"] .gote-v4-verified-panel > div[aria-hidden] {
  display: none;
}

html[data-ui-version="v4"] #gote-categories {
  scroll-margin-top: 140px;
}

/* Search: one visible query field (the header), compact filters, products first */
html[data-ui-version="v4"] .gote-search-page > section {
  padding-top: 20px;
}

html[data-ui-version="v4"] .gote-search-command {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius-lg);
  background: #fff;
  box-shadow: none;
}

html[data-ui-version="v4"] .gote-search-command h1 {
  color: var(--g4-ink);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

html[data-ui-version="v4"] .gote-search-command > div:first-child {
  margin-bottom: 13px;
}

html[data-ui-version="v4"] .gote-search-filter-form {
  padding: 0;
  border: 0;
  background: transparent;
}

html[data-ui-version="v4"] .gote-search-filter-toggle {
  width: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 16px;
  color: var(--g4-ink);
  border: 1px solid var(--g4-line);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

html[data-ui-version="v4"] #search-filters {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--g4-line);
  border-radius: 15px;
  background: var(--g4-canvas);
}

html[data-ui-version="v4"] #search-filters.hidden {
  display: none;
}

html[data-ui-version="v4"] #search-filters:not(.hidden) {
  display: grid;
}

html[data-ui-version="v4"] #search-filters label > span {
  color: var(--g4-muted);
}

html[data-ui-version="v4"] #search-filters :where(input, select) {
  min-height: 44px;
  color: var(--g4-ink);
  border-color: #d5d9e5;
  border-radius: 11px;
  background: #fff;
}

html[data-ui-version="v4"] .gote-search-insight {
  color: var(--g4-ink);
  border: 1px solid var(--g4-line);
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-search-page .gote-search-metrics,
html[data-ui-version="v4"] .gote-search-page .gote-search-routes {
  display: none;
}

html[data-ui-version="v4"] .gote-search-page .gote-search-results-head {
  margin-bottom: 14px;
}

html[data-ui-version="v4"] .gote-search-page .gote-search-results-head h2 {
  font-size: clamp(22px, 2.5vw, 30px);
}

/* Store directory: cards are real merchandise entry points, not concatenated rows */
html[data-ui-version="v4"] .store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

html[data-ui-version="v4"] .store-card.store-index-card {
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  color: var(--g4-ink);
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius-lg);
  background: #fff;
  box-shadow: 0 8px 24px rgba(40, 47, 78, 0.06);
  text-decoration: none;
}

html[data-ui-version="v4"] .store-card.store-index-card:hover {
  border-color: rgba(91, 75, 255, 0.4);
  box-shadow: var(--g4-shadow-hover);
  transform: translateY(-2px);
}

html[data-ui-version="v4"] .store-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

html[data-ui-version="v4"] .store-card-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--g4-brand);
  border: 1px solid rgba(91, 75, 255, 0.14);
  border-radius: 15px;
  background: var(--g4-brand-soft);
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 850;
}

html[data-ui-version="v4"] .store-card-top > span:last-child {
  min-width: 0;
}

html[data-ui-version="v4"] .store-card-top strong,
html[data-ui-version="v4"] .store-card-top small {
  display: block;
}

html[data-ui-version="v4"] .store-card-top strong {
  overflow: hidden;
  font-size: 18px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-ui-version="v4"] .store-card-top strong::before {
  display: none;
}

html[data-ui-version="v4"] .store-card-top small {
  margin-top: 3px;
  color: var(--g4-muted);
  font-size: 11px;
}

html[data-ui-version="v4"] .store-card-metrics,
html[data-ui-version="v4"] .store-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

html[data-ui-version="v4"] .store-card-metrics em,
html[data-ui-version="v4"] .store-card-categories small {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding-inline: 9px;
  color: var(--g4-copy);
  border: 1px solid var(--g4-line);
  border-radius: 999px;
  background: var(--g4-canvas);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

html[data-ui-version="v4"] .store-card-metrics em:first-child {
  color: var(--g4-green);
  border-color: #cdeadd;
  background: var(--g4-green-soft);
}

html[data-ui-version="v4"] .store-card-action {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-inline: 13px;
  color: var(--g4-brand);
  border-radius: 11px;
  background: var(--g4-brand-soft);
  font-size: 12px;
  font-weight: 800;
}

/* V4 commercial store directory */
html[data-ui-version="v4"] .gote-v4-stores-directory {
  width: min(100% - 32px, 1400px);
  margin-inline: auto;
  padding: 22px 0 64px;
}

html[data-ui-version="v4"] .gote-v4-stores-breadcrumb {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--g4-muted);
  font-size: 13px;
}

html[data-ui-version="v4"] .gote-v4-stores-breadcrumb a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--g4-brand);
  font-weight: 750;
}

html[data-ui-version="v4"] .gote-v4-stores-breadcrumb strong {
  color: var(--g4-ink);
}

html[data-ui-version="v4"] .gote-v4-stores-hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 36px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid #ddd9ff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 12%, rgba(37, 99, 235, 0.13), transparent 32%),
    linear-gradient(120deg, #f0eeff 0%, #f6f5ff 52%, #eaf7ff 100%);
}

html[data-ui-version="v4"] .gote-v4-stores-eyebrow,
html[data-ui-version="v4"] .gote-v4-stores-section-head p,
html[data-ui-version="v4"] .gote-v4-stores-partner p {
  margin: 0 0 8px;
  color: var(--g4-brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-ui-version="v4"] .gote-v4-stores-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--g4-ink);
  font-family: Manrope, sans-serif;
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

html[data-ui-version="v4"] .gote-v4-stores-hero > div > p:not(.gote-v4-stores-eyebrow) {
  max-width: 670px;
  margin: 18px 0 0;
  color: var(--g4-copy);
  font-size: 16px;
  line-height: 1.7;
}

html[data-ui-version="v4"] .gote-v4-stores-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

html[data-ui-version="v4"] .gote-v4-stores-actions a,
html[data-ui-version="v4"] .gote-v4-stores-partner > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  color: #fff;
  border: 1px solid var(--g4-brand);
  border-radius: 12px;
  background: var(--g4-brand);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v4-stores-actions a + a {
  color: var(--g4-ink);
  border-color: rgba(91, 75, 255, 0.24);
  background: rgba(255, 255, 255, 0.75);
}

html[data-ui-version="v4"] .gote-v4-stores-actions a:hover,
html[data-ui-version="v4"] .gote-v4-stores-partner > a:hover {
  color: #fff;
  border-color: var(--g4-brand-hover);
  background: var(--g4-brand-hover);
}

html[data-ui-version="v4"] .gote-v4-stores-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

html[data-ui-version="v4"] .gote-v4-stores-stats > div {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 17px;
  border: 1px solid rgba(91, 75, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(52, 48, 112, 0.06);
}

html[data-ui-version="v4"] .gote-v4-stores-stats dt {
  color: var(--g4-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

html[data-ui-version="v4"] .gote-v4-stores-stats dd {
  margin: 7px 0 0;
  color: var(--g4-ink);
  font-family: Manrope, sans-serif;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 830;
  line-height: 1.12;
}

html[data-ui-version="v4"] .gote-v4-stores-stats > div:last-child dd {
  font-size: 15px;
}

html[data-ui-version="v4"] .gote-v4-stores-section {
  margin-top: 42px;
}

html[data-ui-version="v4"] .gote-v4-stores-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

html[data-ui-version="v4"] .gote-v4-stores-section-head h2 {
  margin: 0;
  color: var(--g4-ink);
  font-family: Manrope, sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 820;
  letter-spacing: -0.03em;
}

html[data-ui-version="v4"] .gote-v4-stores-section-head > span,
html[data-ui-version="v4"] .gote-v4-stores-section-head > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 12px;
  color: var(--g4-brand);
  border: 1px solid rgba(91, 75, 255, 0.18);
  border-radius: 999px;
  background: var(--g4-brand-soft);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

html[data-ui-version="v4"] .gote-v4-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

html[data-ui-version="v4"] .gote-v4-store-card {
  min-width: 0;
  min-height: 294px;
  overflow: hidden;
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius-lg);
  background: #fff;
  box-shadow: 0 8px 28px rgba(40, 47, 78, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

html[data-ui-version="v4"] .gote-v4-store-card:hover {
  border-color: rgba(91, 75, 255, 0.4);
  box-shadow: var(--g4-shadow-hover);
  transform: translateY(-2px);
}

html[data-ui-version="v4"] .gote-v4-store-card-main {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v4-store-card-head,
html[data-ui-version="v4"] .gote-v4-store-shelf > header {
  display: flex;
  align-items: center;
  gap: 13px;
}

html[data-ui-version="v4"] .gote-v4-store-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--g4-brand);
  border: 1px solid rgba(91, 75, 255, 0.16);
  border-radius: 15px;
  background: linear-gradient(145deg, #f0eeff, #eaf7ff);
  font-family: Manrope, sans-serif;
  font-size: 21px;
  font-weight: 850;
}

html[data-ui-version="v4"] .gote-v4-store-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

html[data-ui-version="v4"] .gote-v4-store-card-head > span:last-child,
html[data-ui-version="v4"] .gote-v4-store-shelf > header > span:nth-child(2) {
  min-width: 0;
}

html[data-ui-version="v4"] .gote-v4-store-card-head strong,
html[data-ui-version="v4"] .gote-v4-store-card-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-ui-version="v4"] .gote-v4-store-card-head strong {
  color: var(--g4-ink);
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 820;
}

html[data-ui-version="v4"] .gote-v4-store-card-head small {
  margin-top: 3px;
  color: var(--g4-muted);
  font-size: 11px;
}

html[data-ui-version="v4"] .gote-v4-store-product-count {
  color: var(--g4-ink);
  font-size: 15px;
  font-weight: 820;
}

html[data-ui-version="v4"] .gote-v4-store-freshness {
  width: fit-content;
  padding: 6px 9px;
  color: var(--g4-blue);
  border-radius: 999px;
  background: var(--g4-blue-soft);
  font-size: 10px;
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v4-store-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

html[data-ui-version="v4"] .gote-v4-store-taxonomy small {
  padding: 6px 8px;
  color: var(--g4-copy);
  border: 1px solid var(--g4-line);
  border-radius: 999px;
  background: var(--g4-canvas);
  font-size: 10px;
  font-weight: 750;
}

html[data-ui-version="v4"] .gote-v4-store-brands {
  overflow: hidden;
  color: var(--g4-muted);
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-ui-version="v4"] .gote-v4-store-brands b {
  color: var(--g4-copy);
}

html[data-ui-version="v4"] .gote-v4-store-card-action {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 10px 13px;
  color: var(--g4-brand);
  border-radius: 11px;
  background: var(--g4-brand-soft);
  font-size: 12px;
  font-weight: 820;
}

html[data-ui-version="v4"] .gote-v4-store-shelves {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #ebe9ff;
  border-radius: 26px;
  background: linear-gradient(180deg, #fbfaff, #f7f8fc);
}

html[data-ui-version="v4"] .gote-v4-store-shelf + .gote-v4-store-shelf {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--g4-line);
}

html[data-ui-version="v4"] .gote-v4-store-shelf > header {
  margin-bottom: 16px;
}

html[data-ui-version="v4"] .gote-v4-store-shelf > header h3 {
  margin: 1px 0 0;
  color: var(--g4-ink);
  font-family: Manrope, sans-serif;
  font-size: 21px;
  font-weight: 820;
}

html[data-ui-version="v4"] .gote-v4-store-shelf > header small {
  color: var(--g4-blue);
  font-size: 10px;
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v4-store-shelf > header > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding-inline: 13px;
  color: var(--g4-brand);
  border-radius: 11px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v4-store-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

html[data-ui-version="v4"] .gote-v4-stores-empty {
  padding: 32px;
  border: 1px dashed #cbc6ff;
  border-radius: var(--g4-radius-lg);
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v4-stores-empty strong {
  display: block;
  color: var(--g4-ink);
  font-size: 20px;
}

html[data-ui-version="v4"] .gote-v4-stores-empty p {
  color: var(--g4-copy);
}

html[data-ui-version="v4"] .gote-v4-stores-empty a {
  color: var(--g4-brand);
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v4-stores-partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  border-radius: 24px;
  background: linear-gradient(120deg, #30268f, #5b4bff 62%, #2563eb);
  box-shadow: 0 18px 44px rgba(66, 53, 190, 0.2);
}

html[data-ui-version="v4"] .gote-v4-stores-partner p {
  color: #dcd8ff;
}

html[data-ui-version="v4"] .gote-v4-stores-partner h2 {
  margin: 0;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 820;
}

html[data-ui-version="v4"] .gote-v4-stores-partner span {
  display: block;
  max-width: 700px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

html[data-ui-version="v4"] .gote-v4-stores-partner > a {
  flex: 0 0 auto;
  color: var(--g4-brand);
  border-color: #fff;
  background: #fff;
}

/* Shared page-kit surfaces, B2B and recovery pages */
html[data-ui-version="v4"] .app-shell .workspace {
  width: min(100% - 32px, 1400px);
  margin-inline: auto;
  padding: 30px 0 50px;
}

html[data-ui-version="v4"] .app-shell .seo-page-heading,
html[data-ui-version="v4"] .app-shell .hero-panel,
html[data-ui-version="v4"] .app-shell .panel {
  border-color: var(--g4-line);
  border-radius: var(--g4-radius-lg);
  background: #fff;
  box-shadow: 0 8px 28px rgba(40, 47, 78, 0.055);
}

html[data-ui-version="v4"] .app-shell .seo-page-heading {
  margin-bottom: 18px;
  padding: 20px;
}

html[data-ui-version="v4"] .app-shell .hero-panel {
  gap: 16px;
  padding: 22px;
}

html[data-ui-version="v4"] .app-shell .hero-copy {
  color: var(--g4-ink);
  border-radius: var(--g4-radius);
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .app-shell .hero-copy h2,
html[data-ui-version="v4"] .app-shell .panel h3 {
  color: var(--g4-ink);
  font-weight: 800;
  letter-spacing: -0.025em;
}

html[data-ui-version="v4"] .app-shell .metric-card,
html[data-ui-version="v4"] .app-shell .vertical-card,
html[data-ui-version="v4"] .app-shell .decision-card {
  border-color: var(--g4-line);
  border-radius: var(--g4-radius);
  background: var(--g4-canvas);
  box-shadow: none;
}

html[data-ui-version="v4"] .app-shell .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
}

html[data-ui-version="v4"] .app-shell .btn.primary {
  color: #fff;
  border-color: var(--g4-brand);
  background: var(--g4-brand);
}

html[data-ui-version="v4"] .gote-v4-not-found {
  width: min(100% - 32px, 1100px);
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 38px;
  margin: 0 auto;
  padding-block: 54px;
}

html[data-ui-version="v4"] .gote-v4-not-found-copy {
  min-width: 0;
  box-sizing: border-box;
  padding: 32px;
  border: 1px solid var(--g4-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--g4-shadow);
}

html[data-ui-version="v4"] .gote-v4-not-found-copy > span {
  color: var(--g4-brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

html[data-ui-version="v4"] .gote-v4-not-found h1 {
  margin: 10px 0 12px;
  color: var(--g4-ink);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

html[data-ui-version="v4"] .gote-v4-not-found p {
  color: var(--g4-copy);
  line-height: 1.7;
}

html[data-ui-version="v4"] .gote-v4-not-found form {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

html[data-ui-version="v4"] .gote-v4-not-found input {
  min-width: 0;
  flex: 1;
  padding-inline: 14px;
  border: 1px solid #cfd4e2;
  border-radius: 12px;
}

html[data-ui-version="v4"] .gote-v4-not-found button {
  padding-inline: 18px;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: var(--g4-brand);
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v4-recovery-links {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html[data-ui-version="v4"] .gote-v4-recovery-links a {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  color: var(--g4-ink);
  border: 1px solid var(--g4-line);
  border-radius: 15px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

html[data-ui-version="v4"] .gote-v4-recovery-links a:nth-child(1) {
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v4-recovery-links a:nth-child(2) {
  background: var(--g4-blue-soft);
}

html[data-ui-version="v4"] .gote-v4-recovery-links a:nth-child(3) {
  background: var(--g4-green-soft);
}

html[data-ui-version="v4"] .gote-v4-recovery-links a:nth-child(4) {
  background: var(--g4-cream);
}

html[data-ui-version="v4"] .gote-v4-bf-drop-layout {
  grid-template-columns: minmax(0, 1fr);
}

html[data-ui-version="v4"] .gote-v4-bf-drop-products,
html[data-ui-version="v4"] .gote-v4-bf-alert {
  min-width: 0;
}

html[data-ui-version="v4"] .gote-v4-bf-drop-products > .grid {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

html[data-ui-version="v4"] .gote-v4-bf-drop-products > .grid > a {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

html[data-ui-version="v4"] .gote-v4-bf-drop-products > .grid > a > div {
  min-width: 0;
  overflow: hidden;
}

html[data-ui-version="v4"] footer {
  margin-top: 44px;
}

@media (min-width: 640px) {
  html[data-ui-version="v4"] .gote-v4-bf-drop-products > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  html[data-ui-version="v4"] .gote-v4-bf-drop-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

@media (max-width: 1180px) {
  html[data-ui-version="v4"] .gote-v4-header-main {
    gap: 14px;
  }

  html[data-ui-version="v4"] .gote-v4-actions > a:not(.gote-v4-publish) span {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v4-actions > a {
    min-width: 44px;
  }

  html[data-ui-version="v4"] .gote-v2-hero > div > div {
    grid-template-columns: minmax(0, 0.85fr) minmax(470px, 1.15fr);
  }

  html[data-ui-version="v4"] .gote-v3-product-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  html[data-ui-version="v4"] .mock-product-grid,
  html[data-ui-version="v4"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html[data-ui-version="v4"] .gote-v4-stores-hero {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  html[data-ui-version="v4"] .gote-v4-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-ui-version="v4"] .gote-v4-store-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  html[data-ui-version="v4"] .gote-v4-valuebar,
  html[data-ui-version="v4"] .gote-v4-search--desktop,
  html[data-ui-version="v4"] .gote-v4-actions > a:not(.gote-v4-publish),
  html[data-ui-version="v4"] .gote-v4-primary-nav {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v4-header-main {
    min-height: 62px;
    justify-content: space-between;
  }

  html[data-ui-version="v4"] .gote-v4-menu-button {
    display: inline-flex;
  }

  html[data-ui-version="v4"] .gote-v4-mobile-search-wrap {
    display: block;
    padding-bottom: 10px;
  }

  html[data-ui-version="v4"] .gote-v4-search--mobile {
    width: 100%;
  }

  html[data-ui-version="v4"] .gote-v4-search--mobile input {
    height: 48px;
    padding-right: 58px;
  }

  html[data-ui-version="v4"] .gote-v4-search--mobile > button {
    width: 44px;
    min-width: 44px;
    inset-block: 2px;
    padding: 0;
  }

  html[data-ui-version="v4"] .gote-v4-publish span {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v2-hero > div > div {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  html[data-ui-version="v4"] .gote-v2-hero-deals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-ui-version="v4"] .gote-v3-product-rail,
  html[data-ui-version="v4"] .mock-product-grid,
  html[data-ui-version="v4"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html[data-ui-version="v4"] .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-ui-version="v4"] .gote-v4-stores-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  html[data-ui-version="v4"] .gote-v4-stores-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  html[data-ui-version="v4"] .gote-v4-stores-stats > div {
    min-height: 92px;
  }

  html[data-ui-version="v4"] .gote-v4-store-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html[data-ui-version="v4"] .gote-v4-container,
  html[data-ui-version="v4"] .app-shell .workspace,
  html[data-ui-version="v4"] .gote-v4-stores-directory {
    width: min(100% - 24px, 1400px);
  }

  html[data-ui-version="v4"] .gote-v4-logo {
    font-size: 22px;
  }

  html[data-ui-version="v4"] .gote-v4-logo-mark {
    width: 34px;
    height: 34px;
  }

  html[data-ui-version="v4"] .gote-v2-hero > div {
    min-height: 0;
    padding-block: 18px 20px;
  }

  html[data-ui-version="v4"] .gote-v2-hero h1 {
    max-width: 14ch;
    font-size: 31px;
  }

  html[data-ui-version="v4"] .gote-v2-hero-copy {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v2-hero .flex.flex-wrap.gap-3.mb-7 {
    margin-bottom: 10px;
  }

  html[data-ui-version="v4"] .gote-v2-proof-list {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v4-hero-categories {
    margin-top: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  html[data-ui-version="v4"] .gote-v4-hero-categories::-webkit-scrollbar {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v4-hero-categories a {
    flex: 0 0 auto;
  }

  html[data-ui-version="v4"] .gote-v2-hero-deals {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  html[data-ui-version="v4"] .gote-v2-hero-deals::-webkit-scrollbar {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v2-mini-deal {
    min-height: 178px;
    flex: 0 0 72vw;
    scroll-snap-align: start;
  }

  html[data-ui-version="v4"] .gote-v2-mini-deal > img,
  html[data-ui-version="v4"] .gote-v2-mini-deal > .product-media-fallback {
    height: 72px;
  }

  html[data-ui-version="v4"] .gote-v2-market-rail {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v2-section {
    padding-top: 22px;
  }

  html[data-ui-version="v4"] .gote-v2-section-head {
    align-items: flex-end;
  }

  html[data-ui-version="v4"] .gote-v2-section-head h2,
  html[data-ui-version="v4"] .gote-mockup-page section h2 {
    font-size: 22px;
  }

  html[data-ui-version="v4"] .gote-v3-product-rail,
  html[data-ui-version="v4"] .mock-product-grid,
  html[data-ui-version="v4"] .product-grid {
    display: grid !important;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    overflow: visible;
    padding: 0;
  }

  html[data-ui-version="v4"] .gote-v3-product-rail > .mock-product-card,
  html[data-ui-version="v4"] .gote-v3-product-rail > .gote-bf-card {
    width: auto !important;
    min-width: 0;
    flex: initial;
  }

  html[data-ui-version="v4"] .mock-product-card > a:not(.mock-product-save),
  html[data-ui-version="v4"] .gote-v3-product-rail > .mock-product-card > a:not(.mock-product-save) {
    display: flex !important;
    flex-direction: column;
  }

  html[data-ui-version="v4"] .mock-product-media,
  html[data-ui-version="v4"] .gote-v3-product-rail .mock-product-media,
  html[data-ui-version="v4"] .gote-bf-media {
    width: 100%;
    height: 142px;
    padding: 13px;
  }

  html[data-ui-version="v4"] .mock-product-body,
  html[data-ui-version="v4"] .gote-bf-body {
    padding: 11px 11px 8px;
  }

  html[data-ui-version="v4"] .mock-product-title,
  html[data-ui-version="v4"] .gote-bf-title {
    min-height: 54px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  html[data-ui-version="v4"] .mock-product-observations {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v3-reason-chip,
  html[data-ui-version="v4"] .mock-product-signal {
    max-width: 100%;
    margin-top: 5px;
  }

  html[data-ui-version="v4"] .mock-product-price {
    font-size: 18px;
  }

  html[data-ui-version="v4"] .mock-product-actions,
  html[data-ui-version="v4"] .gote-v3-product-rail .mock-product-actions {
    display: flex;
    padding: 2px 11px 11px !important;
  }

  html[data-ui-version="v4"] .mock-product-actions a {
    padding-inline: 7px;
    text-align: center;
  }

  html[data-ui-version="v4"] .gote-v4-product-card .gote-v4-compare-add {
    width: 44px;
    min-width: 44px;
    padding-inline: 0;
  }

  html[data-ui-version="v4"] .gote-v4-product-card .gote-v4-compare-add [data-gote-compare-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  html[data-ui-version="v4"] .gote-v2-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  html[data-ui-version="v4"] .gote-v2-category-card {
    min-width: 0;
    min-height: 96px;
  }

  html[data-ui-version="v4"] .gote-search-page > section {
    padding-top: 12px;
  }

  html[data-ui-version="v4"] .gote-search-command {
    padding: 15px;
  }

  html[data-ui-version="v4"] .gote-search-command h1 {
    font-size: 24px;
  }

  html[data-ui-version="v4"] .gote-search-insight {
    display: none;
  }

  html[data-ui-version="v4"] #search-filters {
    grid-template-columns: 1fr;
  }

  html[data-ui-version="v4"] .store-grid {
    grid-template-columns: 1fr;
  }

  html[data-ui-version="v4"] .store-card.store-index-card {
    min-height: 210px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-directory {
    padding-top: 12px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-hero {
    gap: 22px;
    padding: 23px 18px;
    border-radius: 20px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-hero h1 {
    font-size: 31px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-hero > div > p:not(.gote-v4-stores-eyebrow) {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.6;
  }

  html[data-ui-version="v4"] .gote-v4-stores-actions {
    margin-top: 18px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-actions a {
    flex: 1 1 150px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-ui-version="v4"] .gote-v4-stores-stats > div {
    min-height: 86px;
    padding: 13px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-stats dd {
    font-size: 19px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-section {
    margin-top: 30px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-section-head {
    align-items: flex-start;
  }

  html[data-ui-version="v4"] .gote-v4-stores-section-head h2 {
    font-size: 23px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-section-head > span {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v4-store-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  html[data-ui-version="v4"] .gote-v4-store-card {
    min-height: 270px;
  }

  html[data-ui-version="v4"] .gote-v4-store-shelves {
    padding: 17px 12px;
    border-radius: 20px;
  }

  html[data-ui-version="v4"] .gote-v4-store-shelf > header {
    align-items: center;
  }

  html[data-ui-version="v4"] .gote-v4-store-shelf > header > a {
    min-width: 44px;
    max-width: 112px;
    padding-inline: 8px;
    text-align: center;
  }

  html[data-ui-version="v4"] .gote-v4-store-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-partner {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 30px;
    padding: 24px 20px;
  }

  html[data-ui-version="v4"] .gote-v4-stores-partner > a {
    width: 100%;
  }

  html[data-ui-version="v4"] .gote-v4-not-found {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-block: 24px;
  }

  html[data-ui-version="v4"] .gote-v4-not-found-copy {
    padding: 22px;
  }
}

html[data-ui-version="v4"] .gote-v4-publish-shell {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  gap: 24px;
}

html[data-ui-version="v4"] .gote-v4-publish-shell .section-panel {
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius-lg);
  box-shadow: var(--g4-shadow);
}

html[data-ui-version="v4"] .gote-v4-publish-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 24px;
}

html[data-ui-version="v4"] .gote-v4-publish-progress button {
  min-height: 72px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--g4-line);
  border-radius: 14px;
  background: #fff;
  color: var(--g4-muted);
  text-align: left;
}

html[data-ui-version="v4"] .gote-v4-publish-progress button > span {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--g4-brand-soft);
  color: var(--g4-brand);
  font-weight: 850;
}

html[data-ui-version="v4"] .gote-v4-publish-progress button strong {
  color: var(--g4-ink);
  font-size: 13px;
}

html[data-ui-version="v4"] .gote-v4-publish-progress button small {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-ui-version="v4"] .gote-v4-publish-progress button[aria-current],
html[data-ui-version="v4"] .gote-v4-publish-progress button:hover {
  border-color: var(--g4-brand);
  background: var(--g4-brand-soft);
}

html[data-ui-version="v4"] .gote-v4-publish-progress button.is-complete > span {
  background: var(--g4-green-soft);
  color: var(--g4-green);
}

html[data-ui-version="v4"] .gote-v4-publish-step {
  scroll-margin-top: 132px;
}

html[data-ui-version="v4"] .gote-v4-publish-step-heading {
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid #dedbff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--g4-brand-soft), #f8fbff);
}

html[data-ui-version="v4"] .gote-v4-publish-step-heading > span {
  color: var(--g4-brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-ui-version="v4"] .gote-v4-publish-step-heading h3 {
  margin: 5px 0 4px;
  color: var(--g4-ink);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
}

html[data-ui-version="v4"] .gote-v4-publish-step-heading p {
  margin: 0;
  color: var(--g4-muted);
  line-height: 1.55;
}

html[data-ui-version="v4"] .gote-v4-publish-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--g4-line);
}

html[data-ui-version="v4"] .gote-v4-publish-step-actions [data-publish-next] {
  margin-left: auto;
}

html[data-ui-version="v4"] .gote-v4-publish-account {
  position: sticky;
  top: 132px;
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius-lg);
  background: #fff;
  box-shadow: var(--g4-shadow);
}

html[data-ui-version="v4"] .gote-v4-publish-account > .dashboard-list,
html[data-ui-version="v4"] .gote-v4-publish-account > .publish-checklist {
  display: none;
}

html[data-ui-version="v4"] .gote-v4-account-disclosure {
  margin-top: 16px;
  border: 1px solid var(--g4-line);
  border-radius: 14px;
  background: var(--g4-surface);
}

html[data-ui-version="v4"] .gote-v4-account-disclosure summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  color: var(--g4-brand);
  cursor: pointer;
  font-weight: 800;
}

html[data-ui-version="v4"] .gote-v4-account-disclosure form {
  padding: 0 13px 13px;
}

html[data-ui-version="v4"] [data-gote-publish-wizard] input,
html[data-ui-version="v4"] [data-gote-publish-wizard] select,
html[data-ui-version="v4"] [data-gote-publish-wizard] textarea,
html[data-ui-version="v4"] [data-gote-publish-wizard] button {
  min-height: 44px;
}

@media (max-width: 767px) {
  html[data-ui-version="v4"] .gote-v4-publish-hero {
    display: block;
    margin-bottom: 12px;
    padding: 16px;
  }

  html[data-ui-version="v4"] .gote-v4-publish-hero .hero-copy {
    padding: 0;
  }

  html[data-ui-version="v4"] .gote-v4-publish-hero .hero-copy > p:not(.eyebrow),
  html[data-ui-version="v4"] .gote-v4-publish-hero .account-panel,
  html[data-ui-version="v4"] .gote-v4-publish-hero .cta-row > a:not(:first-child) {
    display: none;
  }

  html[data-ui-version="v4"] .gote-v4-publish-hero h1 {
    margin-block: 6px 12px;
    font-size: 25px;
    line-height: 1.12;
  }

  html[data-ui-version="v4"] .gote-v4-publish-hero .cta-row {
    margin-top: 0;
  }

  html[data-ui-version="v4"] .gote-v4-publish-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  html[data-ui-version="v4"] .gote-v4-publish-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
  }

  html[data-ui-version="v4"] .gote-v4-publish-progress button {
    min-height: 62px;
  }

  html[data-ui-version="v4"] .gote-v4-publish-step-heading {
    padding: 16px;
  }

  html[data-ui-version="v4"] .gote-v4-publish-step-actions {
    position: sticky;
    bottom: 8px;
    z-index: 8;
    margin-inline: -4px;
    padding: 10px 4px 4px;
    border-top: 0;
    background: linear-gradient(to bottom, transparent, #fff 22%);
  }

  html[data-ui-version="v4"] .gote-v4-publish-step-actions .btn {
    flex: 1;
  }

  html[data-ui-version="v4"] .gote-v4-publish-account {
    position: static;
  }

  html[data-ui-version="v4"] .gote-v4-bf-summary {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  html[data-ui-version="v4"] .gote-v2-hero-deals {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    width: 100%;
    overflow: visible;
    padding: 0;
  }

  html[data-ui-version="v4"] .gote-v2-mini-deal {
    width: auto !important;
    min-width: 0;
    flex: initial;
  }

  html[data-ui-version="v4"] .gote-v3-carousel-controls {
    display: none;
  }
}

@media (max-width: 1023px) {
  html[data-ui-version="v4"].filters-open #catalog-filters {
    z-index: 140 !important;
    padding-top: max(16px, env(safe-area-inset-top)) !important;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  html[data-ui-version="v4"].filters-open [data-filter-backdrop] {
    z-index: 130 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-ui-version="v4"] *,
  html[data-ui-version="v4"] *::before,
  html[data-ui-version="v4"] *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
