/* Revenue Growth Batch 2: comparison clarity without changing product data. */
.rg2-choice-guide {
  padding: 48px 0;
  border-block: 1px solid rgba(23, 40, 41, 0.14);
  background: #fffdf8;
}

.rg2-choice-guide .shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 28px 56px;
  align-items: start;
}

.rg2-choice-guide__intro h2,
.rg2-choice-guide__intro p {
  margin-top: 0;
}

.rg2-choice-guide__intro > p:last-child,
.rg2-affiliate-note {
  color: #405758;
  font-size: 16px;
  line-height: 1.75;
}

.rg2-choice-guide ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: rgba(23, 40, 41, 0.16);
  list-style: none;
}

.rg2-choice-guide li {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 18px;
  background: #f7f4ed;
}

.rg2-choice-guide li b {
  color: #172829;
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.rg2-choice-guide li span {
  color: #536767;
  font-size: 16px;
  line-height: 1.6;
}

.rg2-choice-guide nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 4px;
}

.rg2-choice-guide nav a,
.rg2-product-paths a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: #176f69;
  font-size: 16px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.rg2-affiliate-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 40, 41, 0.14);
}

.rg2-choice-guide--compact {
  padding-block: 36px;
}

.rg2-search-state {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 22px;
  color: #405758;
  font-size: 16px;
  line-height: 1.6;
}

.rg1-category-search .rg2-search-state {
  grid-column: 1 / -1;
  margin: 0;
}

.rg2-search-state button,
.rg1-category-search > button,
.rg2-compare-search button,
.rg2-empty button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #176f69;
  border-radius: 2px;
  background: transparent;
  color: #176f69;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.rg2-compare-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: end;
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid rgba(23, 40, 41, 0.16);
  background: #f7f4ed;
}

.rg2-compare-search label {
  display: grid;
  gap: 8px;
  color: #294b49;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.rg2-compare-search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #607272;
  border-radius: 0;
  background: #fff;
  color: #172829;
  font: inherit;
  font-size: 16px;
}

.rg2-compare-search output {
  grid-column: 1 / -1;
  color: #405758;
  font-size: 16px;
  line-height: 1.6;
}

.rg2-empty {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.rg2-empty[hidden] {
  display: none;
}

.rg2-empty a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #176f69;
  font-size: 16px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.rg2-product-paths {
  border-block: 1px solid rgba(23, 40, 41, 0.14);
  background: #f7f4ed;
}

.rg2-product-paths .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-block: 12px;
}

.rg2-related-reason {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(23, 40, 41, 0.12);
}

.rg2-page .v154-rakuten-cta {
  min-height: 54px;
  font-size: 16px;
}

.rg2-page .v154-commerce-note,
.rg2-page .v154-product-media > span {
  font-size: 16px;
}

.rg2-page :is(.rg2-choice-guide, .rg2-search-state, .rg2-compare-search, .rg2-product-paths, .rg2-related) :focus-visible {
  outline: 3px solid #da8f25;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .rg2-choice-guide .shell,
  .rg2-choice-guide ul,
  .rg2-compare-search {
    grid-template-columns: 1fr;
  }

  .rg2-choice-guide {
    padding-block: 36px;
  }

  .rg2-choice-guide nav,
  .rg2-product-paths .shell {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rg2-choice-guide nav a,
  .rg2-product-paths a {
    min-height: 48px;
  }

  .rg2-search-state,
  .rg2-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .rg2-search-state button,
  .rg1-category-search > button,
  .rg2-compare-search button,
  .rg2-empty button,
  .rg2-empty a {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg2-page *,
  .rg2-page *::before,
  .rg2-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
