/* Home page — OTC Pro inline sales (visual language aligned with otc-pro-promo popup).
   Load after otc-pro-promo-popup.css so Plus Jakarta Sans is available for the wordmark. */

.home-otc-sales {
  --home-otc-text: #0f172a;
  --home-otc-muted: #475569;
  --home-otc-accent: #0d9488;
  --home-otc-accent2: #2563eb;
  --home-otc-glow: rgba(37, 99, 235, 0.12);
  --home-otc-radius: 20px;
  --home-otc-shadow: 0 24px 80px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  --home-otc-font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
  box-sizing: border-box;
  max-width: 960px;
  margin: 0 auto 2.75rem;
  padding: 0 1rem;
  font-family: var(--home-otc-font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.home-otc-sales *,
.home-otc-sales *::before,
.home-otc-sales *::after {
  box-sizing: border-box;
}

.home-otc-sales__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-otc-radius);
  border: 1px solid rgba(120, 140, 220, 0.35);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(240, 249, 255, 0.92) 45%,
    rgba(255, 255, 255, 0.96) 100%
  );
  box-shadow: var(--home-otc-shadow);
}

.home-otc-sales__shine {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse at 30% 0%, var(--home-otc-glow), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.home-otc-sales__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px 28px;
  padding: 26px 22px 24px;
}

@media (min-width: 840px) {
  .home-otc-sales__inner {
    grid-template-columns: 1fr 1.02fr;
    padding: 30px 30px 28px;
    align-items: start;
  }

  .home-otc-sales__solo-row {
    grid-column: 1 / -1;
  }
}

.home-otc-sales__solo-row {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.home-otc-sales__col {
  min-width: 0;
}

.home-otc-sales__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.home-otc-sales__brand-favicon {
  display: block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  object-fit: contain;
  box-shadow:
    0 6px 22px rgba(5, 150, 105, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.home-otc-sales__brand-title {
  margin: 0;
  line-height: 1;
  filter: drop-shadow(0 2px 12px rgba(16, 185, 129, 0.22));
}

.home-otc-sales__brand-title-text {
  display: inline-block;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  background: linear-gradient(
    118deg,
    #064e3b 0%,
    #047857 18%,
    #10b981 42%,
    #6ee7b7 58%,
    #059669 78%,
    #14532d 100%
  );
  color: #047857;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-otc-sales__brand-title-text {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.home-otc-sales__title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--home-otc-text);
  line-height: 1.25;
}

.home-otc-sales__sub {
  margin: 0 0 14px;
  font-size: 0.98rem;
  color: var(--home-otc-muted);
  max-width: 42ch;
}

.home-otc-sales__sub strong {
  color: #0f766e;
}

.home-otc-sales__price-block {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(236, 253, 245, 0.97) 0%,
    rgba(240, 253, 250, 0.9) 45%,
    rgba(255, 255, 255, 0.94) 100%
  );
  border: 1px solid rgba(45, 212, 191, 0.38);
  box-shadow: 0 6px 26px rgba(13, 148, 136, 0.1);
}

.home-otc-sales__price-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: linear-gradient(135deg, #0d9488, #059669);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.home-otc-sales__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 18px;
}

@media (max-width: 520px) {
  .home-otc-sales__price-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.home-otc-sales__price-now {
  margin: 0;
  line-height: 1;
}

.home-otc-sales__price-now-inner {
  font-size: clamp(1.85rem, 4.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0f766e;
  font-variant-numeric: tabular-nums;
}

.home-otc-sales__price-period {
  font-size: 0.48em;
  font-weight: 700;
  color: var(--home-otc-muted);
  margin-left: 3px;
}

.home-otc-sales__price-compare {
  margin: 0;
  flex: 1;
  min-width: min(100%, 12rem);
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--home-otc-muted);
}

.home-otc-sales__price-foot {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f766e;
  line-height: 1.35;
}

.home-otc-sales__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.home-otc-sales__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-otc-sales__btn:active {
  transform: scale(0.98);
}

.home-otc-sales__btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 2px;
}

.home-otc-sales__btn--primary {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.35);
}

.home-otc-sales__btn--primary:hover {
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.45);
}

.home-otc-sales__btn--secondary {
  background: #fff;
  color: var(--home-otc-accent2);
  border: 2px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.home-otc-sales__btn--secondary:hover {
  border-color: rgba(37, 99, 235, 0.55);
  background: rgba(239, 246, 255, 0.9);
}

.home-otc-sales__nudge {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--home-otc-muted);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.home-otc-sales__solo-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--home-otc-muted);
  background: rgba(248, 250, 252, 0.95);
  border: 2px dashed rgba(148, 163, 184, 0.65);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-otc-sales__solo-btn:hover {
  color: var(--home-otc-text);
  border-color: rgba(100, 116, 139, 0.85);
  background: #fff;
}

.home-otc-sales__solo-btn[aria-expanded="true"] {
  border-style: solid;
  border-color: rgba(13, 148, 136, 0.45);
  color: #0f766e;
}

@media (prefers-reduced-motion: reduce) {
  .home-otc-sales__btn,
  .home-otc-sales__solo-btn {
    transition: none;
  }
}
