:root {
  --bg: #0c0f12;
  --bg-elevated: #141a1f;
  --bg-card: #1a2229;
  --border: #2a3540;
  --text: #e8edf2;
  --text-muted: #8b9aab;
  --accent: #2ee59d;
  --accent-dim: #1fa06a;
  --danger: #ff6b6b;
  --warning-bg: rgba(255, 193, 7, 0.12);
  --warning-border: rgba(255, 193, 7, 0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  /** Search result cards — product image column */
  --search-result-thumb: 128px;
}

@media (max-width: 480px) {
  :root {
    --search-result-thumb: 152px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(46, 229, 157, 0.08), transparent),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(46, 229, 157, 0.04), transparent);
}

body.boot-splash--lock {
  overflow: hidden;
}

/* —— Redirect screen (deal resolver) —— */
.redirect-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2.25rem 1.25rem;
}

.redirect-screen__card {
  width: 100%;
  max-width: 26rem;
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 229, 157, 0.22);
  background: linear-gradient(165deg, rgba(26, 34, 41, 0.98), rgba(20, 26, 31, 0.99));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.redirect-screen__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(46, 229, 157, 0.18), transparent 60%);
  pointer-events: none;
}

.redirect-screen__mark {
  position: relative;
  margin: 0 auto 0.85rem;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bg);
  background: linear-gradient(145deg, var(--accent-dim), var(--accent));
  box-shadow: 0 0 30px rgba(46, 229, 157, 0.35);
}

.redirect-screen__eyebrow {
  position: relative;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

.redirect-screen__title {
  position: relative;
  margin: 0.2rem 0 0;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.redirect-screen__sub {
  position: relative;
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.redirect-screen__spinner {
  position: relative;
  margin: 1.05rem auto 0.9rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 3px solid rgba(139, 154, 171, 0.25);
  border-top-color: var(--accent);
  animation: spin 0.78s linear infinite;
}

.redirect-screen__hint {
  position: relative;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.redirect-screen__fallback {
  position: relative;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.redirect-screen__fallback a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.redirect-screen__fallback a:hover {
  text-decoration: underline;
}

/* —— Boot splash (“OS” intro) —— */
.boot-splash {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(ellipse 85% 70% at 50% 35%, #121920 0%, #07090c 55%, #040506 100%);
  opacity: 1;
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.boot-splash--out {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

.boot-splash__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.boot-splash__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 229, 157, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 229, 157, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 70%);
  pointer-events: none;
}

.boot-splash__content {
  position: relative;
  text-align: center;
  max-width: 22rem;
  animation: boot-splash-content-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes boot-splash-content-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.boot-splash__orbit {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boot-splash__orbit::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(46, 229, 157, 0.25);
  animation: boot-splash-orbit 2.8s linear infinite;
}

.boot-splash__orbit::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(139, 154, 171, 0.12);
  animation: boot-splash-orbit 4.2s linear infinite reverse;
}

@keyframes boot-splash-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.boot-splash__mark {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bg);
  background: linear-gradient(145deg, var(--accent-dim), var(--accent));
  box-shadow:
    0 0 28px rgba(46, 229, 157, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: boot-splash-pulse 2s ease-in-out infinite;
}

@keyframes boot-splash-pulse {
  0%,
  100% {
    box-shadow:
      0 0 28px rgba(46, 229, 157, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 0 40px rgba(46, 229, 157, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}

.boot-splash__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  animation: boot-splash-fade-up 0.7s ease 0.15s both;
}

.boot-splash__title {
  margin: 0;
  font-size: clamp(1.85rem, 6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(180deg, #f2f6fa 0%, #c5d0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: boot-splash-fade-up 0.75s ease 0.28s both;
}

.boot-splash__subtitle {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  animation: boot-splash-fade-up 0.75s ease 0.4s both;
}

.boot-splash__tier {
  margin: 1rem 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: boot-splash-fade-up 0.75s ease 0.52s both;
}

.boot-splash__os {
  color: var(--accent);
  font-weight: 600;
}

.boot-splash__track {
  margin: 1.35rem auto 0;
  max-width: 11rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(139, 154, 171, 0.2);
  overflow: hidden;
  animation: boot-splash-fade-up 0.6s ease 0.6s both;
}

.boot-splash__track-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  box-shadow: 0 0 12px rgba(46, 229, 157, 0.5);
  animation: boot-splash-bar 2.15s cubic-bezier(0.33, 1, 0.68, 1) 0.35s forwards;
}

@keyframes boot-splash-bar {
  to {
    width: 100%;
  }
}

@keyframes boot-splash-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.boot-splash__status {
  margin: 0.85rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0.75;
  animation: boot-splash-fade-up 0.6s ease 0.75s both;
}

@media (prefers-reduced-motion: reduce) {
  .boot-splash__orbit::before,
  .boot-splash__orbit::after {
    animation: none;
  }
  .boot-splash__mark {
    animation: none;
  }
  .boot-splash__content,
  .boot-splash__eyebrow,
  .boot-splash__title,
  .boot-splash__subtitle,
  .boot-splash__tier,
  .boot-splash__track,
  .boot-splash__status {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .boot-splash__track-fill {
    animation: none;
    width: 100%;
  }
  .boot-splash--out {
    transition-duration: 0.12s;
    transform: none;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  z-index: 10050;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 0.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.header__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  color: var(--bg);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.header__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.main {
  flex: 1;
}

.search-panel {
  margin-bottom: 2rem;
}

.search-form__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.search-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .search-form__row {
    flex-direction: row;
    align-items: stretch;
  }
  .search-form__input {
    flex: 1;
  }
  .search-form__submit {
    align-self: stretch;
    min-width: 7.5rem;
  }
}

.search-form__input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  resize: vertical;
  min-height: 5.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-form__input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}
.search-form__input:hover {
  border-color: #3d4d5c;
}
.search-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 229, 157, 0.2);
}

.search-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, opacity 0.12s ease;
}
.search-form__submit:hover:not(:disabled) {
  filter: brightness(1.06);
}
.search-form__submit:active:not(:disabled) {
  transform: scale(0.98);
}
.search-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.search-form__submit-spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(12, 15, 18, 0.35);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.search-form__meta {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.char-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-card__cta {
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--accent);
}

.alert {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid var(--warning-border);
  background: var(--warning-bg);
  color: #ffd666;
}
.alert--error {
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.1);
  color: #ffb4b4;
}

.results-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.results-section__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.results-section__summary {
  margin: 0;
  font-size: 0.9rem;
}

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

.results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@keyframes results-skeleton-shimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -20% 0;
  }
}

.results-skeleton-card {
  list-style: none;
  margin: 0;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.results-skeleton-card__grid {
  display: grid;
  grid-template-columns: var(--search-result-thumb) 1fr;
  gap: 1.15rem;
}

@media (max-width: 480px) {
  .results-skeleton-card__grid {
    grid-template-columns: 1fr;
  }
}

.results-skeleton-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.15rem;
}

.results-skeleton {
  border-radius: var(--radius-sm);
  background: linear-gradient(
    100deg,
    var(--bg-elevated) 0%,
    var(--bg-elevated) 42%,
    rgba(46, 229, 157, 0.09) 50%,
    var(--bg-elevated) 58%,
    var(--bg-elevated) 100%
  );
  background-size: 200% 100%;
  animation: results-skeleton-shimmer 1.35s ease-in-out infinite;
}

.results-skeleton--media {
  width: var(--search-result-thumb);
  height: var(--search-result-thumb);
}

.results-skeleton--title {
  height: 1.1rem;
  width: 88%;
  max-width: 20rem;
}

.results-skeleton--line {
  height: 0.72rem;
  width: 72%;
  max-width: 14rem;
}

.results-skeleton--short {
  width: 44%;
  max-width: 8rem;
}

@media (prefers-reduced-motion: reduce) {
  .results-skeleton {
    animation: none;
    background: var(--bg-elevated);
  }
}

.result-card {
  display: grid;
  grid-template-columns: var(--search-result-thumb) 1fr;
  gap: 1.15rem;
  padding: 1.15rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 480px) {
  .result-card {
    grid-template-columns: 1fr;
  }

  .result-card__media {
    justify-self: start;
  }
}

.result-card__media {
  width: var(--search-result-thumb);
  height: var(--search-result-thumb);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.result-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.15rem;
  opacity: 0.35;
}

.result-card__body {
  min-width: 0;
}

.result-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
}

.result-card__retailer {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-card__price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.result-card__price-now {
  color: var(--accent);
  font-weight: 600;
}
.result-card__price-was {
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-weight: 400;
}
.result-card__currency {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 0.35rem;
}

.result-card__sizes {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.result-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.result-card__link:hover {
  text-decoration: underline;
}

.result-card__raw {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.result-card__raw summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-muted);
  user-select: none;
}
.result-card__raw pre {
  margin: 0.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 8rem;
  overflow: auto;
}

.results-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.footer {
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__brand {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__meta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.3rem;
}

.footer__meta a:hover {
  text-decoration: underline;
}

.results-hint {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.result-card--selectable {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.result-card--selectable:hover {
  border-color: #3d4d5c;
}

.result-card--selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(46, 229, 157, 0.25);
}

.offers-section {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.offers-status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 1.35rem;
  max-width: min(100%, 26rem);
}

.offers-status__text {
  flex: 1;
  min-width: 0;
}

.offers-status__spinner {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid rgba(139, 154, 171, 0.35);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.72s linear infinite;
}

.offers-best-deal {
  position: relative;
  margin: 0 0 1rem;
  padding: 1px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(
    125deg,
    rgba(46, 229, 157, 0.55),
    rgba(255, 214, 102, 0.45),
    rgba(46, 229, 157, 0.4)
  );
  box-shadow: 0 0 32px rgba(46, 229, 157, 0.12);
}

.offers-best-deal__inner {
  padding: 1rem 1.15rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(26, 34, 41, 0.98), rgba(20, 26, 31, 0.99));
  border: 1px solid rgba(46, 229, 157, 0.2);
}

.offers-best-deal__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offers-best-deal__stars {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #ffd666, var(--accent), #ffd666);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(46, 229, 157, 0.35));
}

.offers-best-deal__retailer {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.offers-best-deal__price {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.offers-best-deal__stock {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.offers-best-deal__cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  padding: 0.45rem 0;
}

.offers-best-deal__cta:hover {
  text-decoration: underline;
}

.offers-best-deal__cta--muted {
  color: var(--text-muted);
  font-weight: 500;
  cursor: default;
}

.offers-best-deal__note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.offers-footnote {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.pdp-meta__product-link {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.pdp-meta__product-link a {
  color: var(--text-muted);
  font-weight: 500;
}

.pdp-meta__product-link a:hover {
  color: var(--accent);
}

.pdp-meta {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.pdp-meta__sizes {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pdp-meta__sizes-wrap {
  margin: 0.5rem 0 0;
}

.pdp-meta__sizes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 0.45rem;
}

.pdp-meta__sizes-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pdp-meta__retailer-count {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(46, 229, 157, 0.45);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.pdp-meta__retailer-count--busy {
  color: #ffd666;
  border-color: rgba(255, 214, 102, 0.5);
}

.pdp-meta__sizes-sub {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.size-chip {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.size-chip:hover:not(:disabled) {
  border-color: #3d4d5c;
  color: var(--accent);
}

.size-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 229, 157, 0.35);
}

.size-chip--active {
  border-color: var(--accent);
  background: rgba(46, 229, 157, 0.12);
  color: var(--accent);
}

.offers-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.offers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.offers-table th,
.offers-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.offers-table th {
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offers-table tr:last-child td {
  border-bottom: none;
}

.offers-table__row--best td {
  background: rgba(46, 229, 157, 0.06);
  box-shadow: inset 3px 0 0 var(--accent);
}

.offers-table .tag-sponsored {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent-dim);
  border-radius: 4px;
  vertical-align: middle;
}

.offers-table .cell-mono {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 500;
}

.offers-table a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.offers-table a:hover {
  text-decoration: underline;
}
