:root {
  --accent: #0094ff;
  --link: #0094ff;
  --accent-light: #74adff;
  --accent-strong: #0079d4;
  --accent-gradient: linear-gradient(
    135deg,
    #0094ff 0%,
    #3b82f6 50%,
    #60a5fa 100%
  );
  --bs-primary: #0094ff;
}

/*
 * Theme-derived custom properties (--accent, --link, --accent-light,
 * --accent-strong, --accent-gradient, --bs-primary) are generated from
 * config.Theme and prepended in core/stylesheet.py.
 */
:root {
  --accent-weak: #eff6ff; /* blue-50 */
  --accent-dark: #1e40af; /* blue-800 */
  --accent-gradient-light: linear-gradient(135deg, #f1f5fd 0%, #f8fafc 100%);
  --text-primary: #0f172a; /* slate-900 */
  --text-secondary: #475569; /* slate-600 */
  --text-muted: #64748b; /* slate-500 */
  --bg-surface: #ffffff;
  --bg-elevated: #f8fafc; /* slate-50 */
  --border-color: #e2e8f0; /* slate-200 */
  --bs-primary-rgb: 255, 0, 60;
  --shadow-primary: rgba(37, 99, 235, 0.25);

  --container-max-width: 1120px;
}

html {
  min-height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  line-height: 1.6;
  min-height: 100%;
  padding: 0;
  margin: 0;
}

/* Reserves space for the fixed claim CTA on unclaimed product/merchant pages. */
body.has-sticky-cta,
body.has-sticky-cta main {
  padding-bottom: 100px;
}

.container {
  max-width: var(--container-max-width);
}

h1 {
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

h3 {
  font-weight: 600;
  color: var(--text-primary);
}

header {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
  color: var(--text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px var(--shadow-primary);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  padding: 0.3em 0.8em;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px var(--shadow-primary);
}

.btn-primary-sm:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  color: var(--accent);
  text-decoration: none;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-secondary-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.3em 0.8em;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-sm:hover {
  color: var(--accent);
  text-decoration: none;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary[aria-disabled="true"],
.btn-secondary-sm[aria-disabled="true"] {
  background: var(--bg-elevated);
  color: #aaa;
  border-color: #eee;
  cursor: default;
  pointer-events: none;
}

.site-header {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 0;
}

.site-header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  transition: opacity 0.2s;
}

.site-logo:hover {
  opacity: 0.8;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px var(--shadow-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header-btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-primary);
}

/* Responsive label toggle for the header CTA (replaces Bootstrap d-* utilities,
   which are absent on pages extending _base_unstyled.html). */
.site-header-btn-label-short {
  display: none;
}

@media (max-width: 575.98px) {
  .site-header-btn-label-full {
    display: none;
  }
  .site-header-btn-label-short {
    display: inline;
  }
}

.site-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
}

.site-nav-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.625rem 0;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
  }

  .site-nav-links {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    order: 3;
    width: 100%;
  }

  .site-nav-actions {
    gap: 0.5rem;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .logo-text {
    font-size: 1.0625rem;
  }

  .site-nav-link {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 0.4rem 0.5rem;
  }

  .site-nav-links {
    gap: 1.25rem;
  }

  .site-nav-link {
    font-size: 0.875rem;
  }

  .site-logo {
    gap: 0.5rem;
    white-space: nowrap;
  }

  .logo-icon {
    width: 26px;
    height: 26px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .site-nav-actions {
    gap: 0.4rem;
    flex-wrap: nowrap;
  }

  .site-header-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
    white-space: nowrap;
  }
}

.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

.site-footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-footer-container p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.site-footer-container a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer-container a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.breadcrumb-nav {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb-link {
  color: var(--link);
  text-decoration: none;
}

.breadcrumb-current {
  color: #333;
}

@media (max-width: 640px) {
  .breadcrumb-nav {
    font-size: 13px;
  }
}

.page-product main {
  padding: 24px 20px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.product-article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
}

.product-image {
  width: 180px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
  object-fit: contain;
}

.product-title {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 700;
}

.product-meta-item {
  margin: 0 0 6px 0;
  color: #444;
}

.product-sku-code {
  background: #f6f6f6;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #eee;
}

.product-price-container {
  margin: 0 0 10px 0;
  font-size: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.product-price {
  font-weight: 600;
}

.product-currency {
  color: #555;
}

.product-availability-badge {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: #fafafa;
  color: #333;
}

.product-merchant-link {
  margin-left: auto;
}

.product-description {
  margin: 12px 0 0 0;
  color: #222;
}

.product-footer {
  margin-top: 14px;
  color: #555;
  font-size: 12px;
}

.product-footer-spacer {
  margin-left: 10px;
}

.product-collapsible {
  margin-top: 14px;
  font-size: 13px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.product-collapsible summary {
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 600;
  color: #444;
  user-select: none;
}

.product-collapsible-body {
  padding: 0 12px 10px;
}

.product-specs-list {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 4px 12px;
  margin: 0;
}

.product-specs-term {
  color: #555;
}

.product-specs-definition {
  margin: 0;
  color: #222;
}

.product-variant-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-variant-list li {
  padding: 3px 0;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
}

.product-variant-list li:last-child {
  border-bottom: none;
}

.product-claim-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.product-claim-cta-hint {
  margin: 4px 0 0 0;
  font-size: 11px;
  color: #666;
}

@media (max-width: 640px) {
  .page-product .site-header {
    padding-bottom: 1.5rem;
  }
  .page-product main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .product-article {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-article .product-image {
    width: 100%;
    max-width: 160px;
    justify-self: center;
  }
  .product-title {
    font-size: 20px;
    font-weight: 700;
  }
  .product-price-container {
    font-size: 18px;
  }
  .product-merchant-link {
    margin-left: 0;
    width: 100%;
    text-align: center;
    display: block;
  }
  .product-specs-list {
    grid-template-columns: 1fr;
  }
  .product-specs-term {
    margin-top: 6px;
    font-weight: 600;
  }
  .product-specs-term:first-child {
    margin-top: 0;
  }
}

.ai-readiness-card {
  margin-top: 16px;
  padding: 14px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
}

.ai-readiness-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ai-readiness-header h3 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.ai-readiness-header p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.ai-score-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.ai-progress {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ai-progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.ai-readiness-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.ai-missing-fields {
  color: #475569;
  font-weight: 500;
}

.ai-readiness-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.ai-readiness-link:hover {
  text-decoration: underline;
}

.product-reviews {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.product-reviews h3 {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: center;
}

.reviews-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.reviews-rating-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

.reviews-rating-out {
  color: #777;
  font-size: 14px;
}

.reviews-stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 15px;
}

.reviews-count {
  color: #666;
  font-size: 13px;
}

.reviews-distribution {
  grid-column: 1 / -1;
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
  max-width: 360px;
}

.reviews-dist-row {
  display: grid;
  grid-template-columns: 28px 1fr 32px;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
  font-size: 12px;
  color: #555;
}

.reviews-dist-bar {
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.reviews-dist-fill {
  display: block;
  height: 100%;
  background: #f5a623;
  border-radius: 4px;
}

.reviews-dist-count {
  text-align: right;
}

.reviews-customers-say {
  margin-top: 16px;
}

.reviews-customers-say p {
  margin: 0;
  color: #222;
  line-height: 1.5;
}

.reviews-ai-note {
  margin-top: 4px !important;
  font-size: 11px;
  color: #888 !important;
}

.reviews-faq {
  margin-top: 16px;
}

.reviews-faq-item {
  margin-top: 6px;
}

.reviews-aspects {
  margin-top: 16px;
}

.reviews-aspect-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reviews-aspect-row {
  display: grid;
  grid-template-columns: 120px 90px 1fr;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  font-size: 12px;
  color: #555;
}

.reviews-aspect-label {
  font-weight: 600;
  color: #333;
  text-transform: capitalize;
}

.reviews-aspect-bar {
  height: 8px;
  background: #fde2e1;
  border-radius: 4px;
  overflow: hidden;
}

.reviews-aspect-fill {
  display: block;
  height: 100%;
  background: #16a34a;
  border-radius: 4px;
}

.page-merchant-list main {
  padding: 24px 0.75rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.page-header {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.page-title {
  margin: 0 0 4px 0;
  font-size: 28px;
  font-weight: 700;
}

.page-description {
  margin: 0;
  color: #555;
}

.merchant-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.merchant-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.merchant-card-content {
  min-width: 0;
}

.merchant-card-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.merchant-card-link {
  color: #111;
  text-decoration: none;
}

.empty-state {
  margin: 24px 0;
  color: #444;
  font-size: 20px;
  text-align: center;
}

.empty-state-search {
  margin: 32px 0;
  padding: 32px 24px;
  text-align: center;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.empty-state-search-title {
  margin: 0 0 16px 0;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.empty-state-search-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 20px 0 0 0;
}

.empty-state-search-secondary {
  color: var(--link);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.empty-state-search-secondary:hover {
  text-decoration: underline;
}

.empty-state-search-trust {
  margin: 16px 0 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0 0;
}

.footer-note {
  margin: 24px 0 0 0;
  color: #666;
  font-size: 12px;
}

.search-form-container {
  margin: 24px 0;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 14px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--shadow-primary);
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: inherit;
  background: transparent;
  color: var(--text-primary);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-button {
  flex-shrink: 0;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px var(--shadow-primary);
}

.search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--shadow-primary);
}

.search-clear-button {
  padding: 0 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.search-clear-button:hover {
  color: var(--text-primary);
}

.search-error {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 14px;
  line-height: 1.5;
}

.search-info {
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--accent-light);
  border: 1px solid rgba(255, 0, 60, 0.3);
  border-radius: 8px;
  font-size: 14px;
  color: var(--accent-strong);
}

.search-info strong {
  color: var(--accent);
  font-weight: 600;
}

.page-merchant main {
  padding: 24px 0.75rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.merchant-title {
  margin-top: 0;
}

.merchant-claim-cta {
  margin-top: 8px;
}

.merchant-claim-cta-hint {
  margin: 4px 0 0 0;
  font-size: 11px;
  color: #666;
}

.merchant-meta {
  font-size: 13px;
  color: #555;
}

.merchant-meta-spacer {
  margin-left: 10px;
}

.merchant-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin: 12px 0;
}

.merchant-pager-nav {
  display: flex;
  gap: 8px;
}

.merchant-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.merchant-product-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merchant-product-image-link {
  display: block;
}

.merchant-product-image {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
}

.merchant-product-title {
  margin: 0 0 6px 0;
  font-size: 18px;
  line-height: 1.3;
}

.merchant-product-link {
  color: #111;
  text-decoration: none;
}

.merchant-product-brand {
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
}

.merchant-product-sku {
  font-size: 12px;
  color: #666;
}

.merchant-product-price-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.merchant-product-price {
  font-size: 16px;
  font-weight: 600;
}

.merchant-product-currency {
  font-size: 13px;
  color: #555;
}

.merchant-product-availability {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: #fafafa;
  color: #333;
  font-size: 12px;
}

.merchant-product-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.merchant-product-updated {
  font-size: 12px;
  color: #666;
}

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

.merchant-empty {
  margin: 24px 0;
  color: #444;
}

.merchant-page-indicator {
  padding: 8px 12px;
  color: #555;
}

.merchant-sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}
