.stock-page-main {
  min-width: 0;
  padding-top: 108px;
  background: #fff;
}

.stock-content {
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 48px) 64px;
  color: #17231b;
}

.stock-heading {
  max-width: 960px;
  margin-bottom: 24px;
}

.stock-title {
  margin: 0;
  color: #147024;
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.stock-intro {
  max-width: 650px;
  margin: 16px 0 0;
  color: #5f7063;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.stock-card {
  --stock-card-background: #fff;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(22px, 2.5vw, 26px);
  border: 1px solid #dce5dc;
  border-radius: 18px;
  background: var(--stock-card-background);
}

.stock-benefit {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.stock-benefit-value {
  display: flex;
  min-width: 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.stock-price,
.stock-gift {
  color: #147024;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.065em;
}

.stock-price {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.stock-currency {
  font-size: 0.55em;
  letter-spacing: -0.03em;
}

.stock-previous-price {
  color: #829086;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration-thickness: 1px;
}

.stock-artwork {
  display: block;
  width: clamp(66px, 7vw, 100px);
  height: 72px;
  flex-shrink: 0;
  color: #7c9c80;
}

.stock-card-content {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
}

.stock-card-title {
  margin: 0;
  color: #17231b;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.stock-card-description {
  margin: 12px 0 0;
  color: #607064;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.stock-code {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 9px 13px;
  border: 1px dashed #aec3b0;
  border-radius: 8px;
  background: #f4f8f2;
  color: #617364;
  font-size: 12px;
  line-height: 1.5;
}

.stock-code code {
  color: #147024;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.stock-card-link {
  display: inline-flex;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #a4bca7;
  color: #147024;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.stock-card-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.stock-card-link .arrow-icon {
  width: 20px;
  height: 20px;
}

.stock-card-link:hover {
  border-color: #147024;
  color: #0c4917;
}

.stock-card-link:focus-visible {
  outline: 2px solid #147024;
  outline-offset: 5px;
  border-radius: 2px;
}

.stock-empty {
  margin: 0;
  padding: 28px;
  border: 1px solid #e1e8e2;
  border-radius: 18px;
  color: #526656;
  background: #f6f8f5;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .stock-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-benefit {
    min-height: 72px;
    margin-bottom: 20px;
  }
}

@media (max-width: 360px) {
  .stock-artwork {
    width: 54px;
    height: 56px;
  }

  .stock-benefit {
    gap: 10px;
  }

  .stock-gift {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stock-card-link {
    transition: none;
  }
}
