/* Landing pages — scoped so normal archives stay unchanged. */
.rr-landing {
  --rr-land-gold: #c9a227;
  --rr-land-silver: #b9b9b9;
  --rr-land-bronze: #b87333;
  background: var(--rr-design-bg, #f7f4ee);
  color: var(--rr-design-text, #1c1c1c);
  padding-bottom: 48px;
}
.rr-landing__hero {
  position: relative;
  margin: 0 auto 28px;
  max-width: 1360px;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: #1b3d2f;
}
.rr-landing__hero-img,
.rr-landing__hero picture,
.rr-landing__hero img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.rr-landing__hero picture { position: absolute; inset: 0; }
.rr-landing__hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 48px 40px;
  color: #fff;
}
.rr-landing__hero-title {
  margin: 0 0 8px;
  font-family: var(--rr-design-serif, Georgia, serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}
.rr-landing__hero-sub { margin: 0 0 18px; font-size: 18px; }
.rr-landing__hero-btn {
  display: inline-block;
  background: var(--rr-land-gold, #c9a227);
  color: #1b3d2f;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
}
.rr-landing__hero.is-image-only {
  min-height: 0;
  background: transparent;
}
.rr-landing__hero.is-image-only picture,
.rr-landing__hero.is-image-only > .rr-landing__hero-img {
  position: static;
  inset: auto;
  height: auto;
  max-height: none;
}
.rr-landing__hero.is-image-only img {
  position: static;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.rr-landing__section-title {
  font-family: var(--rr-design-serif, Georgia, serif);
  margin: 0 0 16px;
}
.rr-landing__podium { max-width: 1360px; margin: 0 auto 28px; padding: 0 16px; }
.rr-landing__podium-scroller {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  align-items: end;
}
.rr-landing__podium-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(27, 61, 47, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rr-landing__podium-card[data-rank="2"] { order: 1; }
.rr-landing__podium-card[data-rank="1"] { order: 2; transform: translateY(-12px); }
.rr-landing__podium-card[data-rank="3"] { order: 3; }
.rr-landing__podium-media { position: relative; display: block; }
.rr-landing__podium-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f6f3ec; border-radius: 12px; }
.rr-landing__medal {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1b3d2f;
  background: var(--rr-land-bronze, #b87333);
}
.rr-landing__medal.is-gold { background: #e6c35c; }
.rr-landing__medal.is-silver { background: #d7d7d7; }
.rr-landing__medal.is-bronze { background: #c48a55; }
.rr-landing__oos {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #1b3d2f;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 8px;
}
.rr-landing__podium-name { margin: 0; font-size: 18px; }
.rr-landing__podium-name a,
.rr-landing__rank-name a { color: inherit; text-decoration: none; }
.rr-landing__price .rr2-price { font-weight: 700; }
.rr-landing__price .rr2-unit-price,
.rr-landing__price .rr2-legal-info { display: block; color: #6b6b6b; font-size: 12px; font-weight: 400; }
body.woocommerce a.button.rr-landing__atc,
body.woocommerce a.rr-landing__atc.add_to_cart_button,
a.rr-landing__atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  background-color: var(--rr-design-brand, #1b3d2f);
  background-image: none;
  color: #fff;
  border: 0;
  text-decoration: none;
  text-indent: 0;
  box-shadow: none;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
a.rr-landing__atc--label,
body.woocommerce a.button.rr-landing__atc--label {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
}
a.rr-landing__atc--round,
body.woocommerce a.button.rr-landing__atc--round {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  max-width: 46px;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 46px;
  position: relative;
  font-size: 0;
}
.rr-landing__atc--round .rr-landing__atc-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.rr-landing__dots { display: none; justify-content: center; gap: 8px; margin-top: 12px; }
.rr-landing__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #d5d0c6;
  padding: 0;
}
.rr-landing__dot.is-active { background: #1b3d2f; }
.rr-landing__tabs {
  position: sticky;
  top: var(--rr-land-stick, 0px);
  z-index: 40;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  margin: 0 auto 20px;
  max-width: 1360px;
  background: var(--rr-design-bg, #f7f4ee);
}
.rr-landing__tab {
  flex: 0 0 auto;
  border: 1px solid #1b3d2f;
  color: #1b3d2f;
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 650;
}
.rr-landing__tab.is-active { background: #1b3d2f; color: #fff; }
.rr-landing__rank { max-width: 1360px; margin: 0 auto 32px; padding: 0 16px; }
.rr-landing__rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rr-landing__rank-row {
  display: grid;
  grid-template-columns: 64px 84px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
}
.rr-landing__rank-num {
  font-family: var(--rr-design-serif, Georgia, serif);
  font-size: 40px;
  line-height: 1;
  color: #1b3d2f;
  text-align: center;
}
.rr-landing__rank-img { width: 84px; height: 84px; object-fit: contain; }
.rr-landing__rank-name { margin: 0 0 4px; font-size: 18px; }
.rr-landing__rank-blurb,
.rr-landing__oos-inline { margin: 0; color: #6b6b6b; font-size: 14px; }
.rr-landing__rank-buy { display: flex; align-items: center; gap: 12px; }
.rr-landing__grid { max-width: 1360px; margin: 0 auto; }
.rr-landing__pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 18px 0; }
.rr-landing__pager a { color: #1b3d2f; font-weight: 700; }
.rr-landing__empty { color: #6b6b6b; }

@media (min-width: 769px) {
  .rr-block-hide-desktop { display: none !important; }
}
@media (max-width: 768px) {
  .rr-block-hide-mobile { display: none !important; }
  .rr-landing__hero-copy { padding: 28px 20px; }
  .rr-landing__podium-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
  }
  .rr-landing__podium-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
    order: 0;
    transform: none;
  }
  .rr-landing__podium-card[data-rank="1"] { order: 0; }
  .rr-landing__dots { display: flex; }
  .rr-landing__rank-row { grid-template-columns: 42px 72px 1fr; }
  .rr-landing__rank-buy { grid-column: 1 / -1; justify-content: space-between; }
  .rr-landing .rr-archive__sidebar { display: none; }
  .rr-landing .rr-archive__filter-open { display: inline-flex; }
}
.rr2-app-webview .rr-block-hide-mobile { display: none !important; }
.rr2-app-webview .rr-landing { padding: 12px 0 32px; }
.rr2-app-webview .rr-landing__hero { border-radius: 0; margin-bottom: 16px; }
.rr2-app-webview .rr-landing .rr-archive__drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 80;
}
.rr2-app-webview .rr-landing .rr-archive__drawer.is-open { display: block; }
.rr2-app-webview .rr-landing .rr-archive__drawer-panel {
  background: #fff;
  margin: 12vh 16px;
  padding: 16px;
  border-radius: 16px;
  max-height: 76vh;
  overflow: auto;
}
.rr2-app-webview .rr-landing .rr-archive__filter-open {
  display: inline-flex;
  border: 1px solid #1b3d2f;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
}

@media (min-width: 769px) {
  .rr-landing .rr-archive__filter-open { display: none; }
}

/* Reused home blocks sit in the same column as the podium and the grid. */
.rr-landing > .rr-design-home__services,
.rr-landing > .rr-design-home__banner,
.rr-landing > .rr-design-home__hero,
.rr-landing > .rr-design-home__hero-slider,
.rr-landing > .rr-design-home__products,
.rr-landing > .rr-design-home__cats,
.rr-landing > .rr-design-home__seasonal,
.rr-landing > .rr-design-home__image-text,
.rr-landing > .rr-design-home__brands,
.rr-landing > .rr-design-home__richtext-block,
.rr-landing > .rr-design-home__spacer {
  width: min(100% - 40px, var(--rr-design-max, 1360px));
  margin-left: auto;
  margin-right: auto;
}

.rr-landing .rr-archive__price .rr2-price-wrap,
.rr-landing .rra-card__price .rr2-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.rr-landing .rr-archive__price .rr2-unit-price,
.rr-landing .rr-archive__price .rr2-unit-price .price-unit,
.rr-landing .rr-archive__price .rr2-unit-price p,
.rr-landing .rra-card__price .rr2-unit-price,
.rr-landing .rra-card__price .rr2-unit-price p {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: #6b6b6b;
  white-space: normal;
}
