/* Roar Panther homepage collection explorer — PHP SSR, no carousel dependency. */

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

/* Signature Reveal: use the supplied local background and keep it fixed to the viewport. */
.rp-home-bg-section.is-signature-reveal::before {
  background-image: var(--rp-bg);
  background-position: var(--rp-bg-position, center center);
  background-size: cover;
  filter: saturate(.94) contrast(1.02);
}

.rp-home-bg-section.is-bg-fixed::before {
  background-attachment: fixed;
}

.rp-home-bg-section.is-signature-reveal::after {
  background: rgba(8, 7, 5, var(--rp-overlay, .46));
}

.rp-home-collection,
.rp-home-collection :where(button, a, h2, h3, p, span) {
  font-family: var(--font-sans);
}

.rp-home-collection {
  --rp-collection-bg: #fcfbf8;
  --rp-collection-ink: #171512;
  --rp-collection-muted: #746d64;
  --rp-collection-line: rgba(66, 55, 43, .14);
  --rp-collection-bronze: #a98b61;
  position: relative;
  overflow: hidden;
  color: var(--rp-collection-ink);
  background:
    radial-gradient(circle at 50% 55%, rgba(220, 199, 170, .18), transparent 34%),
    linear-gradient(180deg, #fcfbf8 0%, #fcfbf8 31%, #faf6f0 58%, #fcfbf8 100%);
  border-bottom: 1px solid rgba(48, 39, 30, .08);
}

.rp-home-collection__header {
  padding-top: clamp(86px, 9vw, 138px);
  text-align: center;
}

.rp-home-collection__eyebrow {
  margin: 0 0 12px;
  color: var(--rp-collection-bronze);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.rp-home-collection__header h2 {
  margin: 0 auto;
  max-width: 980px;
  color: var(--rp-collection-ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.rp-home-collection__intro {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--rp-collection-muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.75;
  text-wrap: balance;
}

.rp-home-collection__category-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  margin-top: clamp(38px, 5vw, 70px);
  padding: 5px 2px 16px;
}

.rp-home-collection__category-scroll::-webkit-scrollbar {
  display: none;
}

.rp-home-collection__categories {
  display: flex;
  width: max-content;
  min-width: 100%;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 2.3vw, 42px);
  padding-inline: 6px;
}

.rp-home-collection__category {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 13px;
  width: clamp(90px, 7.7vw, 122px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #6d665d;
  text-align: center;
  text-decoration: none;
  transition: color 250ms ease, transform 250ms ease;
}

.rp-home-collection__category-circle {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(78px, 7vw, 112px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(83, 70, 56, .16);
  border-radius: 50%;
  background: #f6f2ec;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.rp-home-collection__category-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 250ms ease;
}

.rp-home-collection__category-label {
  font-size: clamp(9px, .72vw, 11px);
  line-height: 1.35;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rp-home-collection__category:hover,
.rp-home-collection__category:focus-visible,
.rp-home-collection__category.is-active {
  color: #2e2924;
}

.rp-home-collection__category:hover .rp-home-collection__category-circle,
.rp-home-collection__category:focus-visible .rp-home-collection__category-circle {
  transform: scale(1.03);
  border-color: rgba(83, 70, 56, .34);
}

.rp-home-collection__category:hover .rp-home-collection__category-circle img,
.rp-home-collection__category:focus-visible .rp-home-collection__category-circle img {
  transform: scale(1.03);
}

.rp-home-collection__category.is-active .rp-home-collection__category-circle {
  transform: scale(1.06);
  border-color: rgba(102, 78, 49, .42);
  box-shadow: 0 0 0 2px rgba(169, 139, 97, .68), 0 12px 30px -24px rgba(45, 35, 24, .55);
}

.rp-home-collection__category.is-active .rp-home-collection__category-label {
  color: #1d1a17;
}

.rp-home-collection__category:focus-visible,
.rp-home-coverflow:focus-visible,
.rp-home-coverflow__arrow:focus-visible,
.rp-home-coverflow__link:focus-visible,
.rp-home-collection__space:focus-visible {
  outline: 2px solid rgba(169, 139, 97, .88);
  outline-offset: 4px;
}

.rp-home-collection__view-all .rp-home-collection__category-circle {
  color: #81786e;
}

.rp-home-collection__view-all svg {
  width: 42%;
  height: 42%;
}

.rp-home-collection__showcase {
  position: relative;
  margin-top: clamp(42px, 5.6vw, 82px);
  padding: clamp(44px, 5vw, 72px) 0 clamp(40px, 4vw, 64px);
  background:
    radial-gradient(ellipse at 50% 58%, rgba(222, 201, 174, .22), transparent 48%),
    linear-gradient(180deg, rgba(250, 246, 240, .35), rgba(247, 242, 235, .58) 55%, rgba(252, 251, 248, .16));
}

.rp-home-collection__showcase-heading {
  margin: 0;
  color: #2a2622;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.35vw, 39px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-align: center;
}

.rp-home-coverflow {
  position: relative;
  width: 100%;
  min-height: clamp(530px, 49vw, 720px);
  margin-top: clamp(24px, 3vw, 44px);
  outline: none;
  touch-action: pan-y;
  user-select: none;
}

.rp-home-coverflow__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 1400px;
  cursor: grab;
}

.rp-home-coverflow.is-dragging .rp-home-coverflow__viewport {
  cursor: grabbing;
}

.rp-home-coverflow__viewport::before,
.rp-home-coverflow__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 30;
  width: clamp(36px, 8vw, 150px);
  pointer-events: none;
}

.rp-home-coverflow__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #fbf8f3 0%, rgba(251, 248, 243, .86) 28%, transparent 100%);
}

.rp-home-coverflow__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #fbf8f3 0%, rgba(251, 248, 243, .86) 28%, transparent 100%);
}

.rp-home-coverflow__cards {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.rp-home-coverflow__card {
  --rp-cover-x: 205%;
  --rp-cover-y: 30px;
  --rp-cover-scale: .64;
  --rp-cover-opacity: 0;
  --rp-cover-rotate: 0deg;
  --rp-cover-blur: 1.5px;
  --rp-cover-z: 1;
  position: absolute;
  left: 50%;
  top: 45%;
  z-index: var(--rp-cover-z);
  width: clamp(255px, 24vw, 390px);
  aspect-ratio: 4 / 5;
  opacity: var(--rp-cover-opacity);
  filter: blur(var(--rp-cover-blur));
  transform:
    translate(-50%, -50%)
    translate3d(calc(var(--rp-cover-x) + var(--rp-drag-x, 0px)), var(--rp-cover-y), 0)
    rotateY(var(--rp-cover-rotate))
    scale(var(--rp-cover-scale));
  transform-origin: center center;
  will-change: transform, opacity, filter;
  transition:
    transform 680ms cubic-bezier(.22, 1, .36, 1),
    opacity 680ms cubic-bezier(.22, 1, .36, 1),
    filter 680ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}

.rp-home-coverflow.is-dragging .rp-home-coverflow__card {
  transition: none;
}

.rp-home-coverflow__card.is-active,
.rp-home-coverflow__card.is-side {
  pointer-events: auto;
}

.rp-home-coverflow__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(69, 56, 44, .13);
  border-radius: clamp(14px, 1.25vw, 18px);
  background: #eee8df;
  box-shadow: 0 22px 60px -52px rgba(32, 23, 15, .62);
  transition: box-shadow 680ms cubic-bezier(.22, 1, .36, 1), border-color 300ms ease;
}

.rp-home-coverflow__card.is-active .rp-home-coverflow__link {
  border-color: rgba(72, 57, 42, .22);
  box-shadow: 0 38px 78px -48px rgba(32, 23, 15, .5);
}

.rp-home-coverflow__media,
.rp-home-coverflow__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.rp-home-coverflow__media {
  overflow: hidden;
}

.rp-home-coverflow__media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 920ms cubic-bezier(.22, 1, .36, 1);
}

.rp-home-coverflow__card.is-active:not(.is-settled) .rp-home-coverflow__media img {
  transform: translateY(4px) scale(1.035);
}

.rp-home-coverflow__card.is-active.is-settled .rp-home-coverflow__media img {
  transform: translateY(0) scale(1);
}

.rp-home-coverflow__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 31%;
  padding: 42px 18px 20px;
  color: #24201c;
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.25;
  letter-spacing: .015em;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(250, 246, 240, .22) 32%, rgba(250, 246, 240, .93) 100%);
}

.rp-home-coverflow__arrow {
  position: absolute;
  top: 45%;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(79, 66, 52, .16);
  border-radius: 50%;
  background: rgba(255, 253, 249, .94);
  color: #665f57;
  box-shadow: 0 16px 38px -26px rgba(38, 29, 20, .58);
  transform: translateY(-50%);
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, opacity 220ms ease;
}

.rp-home-coverflow__arrow.is-prev { left: clamp(18px, 6vw, 112px); }
.rp-home-coverflow__arrow.is-next { right: clamp(18px, 6vw, 112px); }

.rp-home-coverflow__arrow svg {
  width: 21px;
  height: 21px;
  transition: transform 220ms ease;
}

.rp-home-coverflow__arrow:hover,
.rp-home-coverflow__arrow:focus-visible {
  border-color: rgba(79, 66, 52, .34);
  color: #302b26;
  transform: translateY(-50%) scale(1.05);
}

.rp-home-coverflow__arrow.is-prev:hover svg { transform: translateX(-3px); }
.rp-home-coverflow__arrow.is-next:hover svg { transform: translateX(3px); }
.rp-home-coverflow__arrow:active { transform: translateY(-50%) scale(.94); }
.rp-home-coverflow__arrow:disabled { opacity: .5; cursor: default; }

.rp-home-coverflow__caption {
  position: absolute;
  left: 50%;
  bottom: 6px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: min(90vw, 520px);
  justify-content: center;
  transform: translate(-50%, 0);
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.rp-home-coverflow__caption:not(.is-visible) {
  opacity: 0;
  transform: translate(-50%, -9px);
}

.rp-home-coverflow__caption > span {
  color: #302a24;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rp-home-coverflow__caption a {
  color: #867052;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rp-home-coverflow__caption a span {
  display: inline-block;
  transition: transform 220ms ease;
}

.rp-home-coverflow__caption a:hover span { transform: translateX(3px); }

.rp-home-collection__spaces {
  padding-top: clamp(46px, 5vw, 78px);
  padding-bottom: clamp(78px, 8vw, 126px);
  text-align: center;
}

.rp-home-collection__spaces h3 {
  margin: 0;
  color: #2d2823;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.3vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.rp-home-collection__spaces-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-top: clamp(28px, 3vw, 42px);
  overflow-x: auto;
  scrollbar-width: none;
}

.rp-home-collection__spaces-nav::-webkit-scrollbar { display: none; }

.rp-home-collection__space {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: clamp(118px, 11vw, 170px);
  padding: 0 clamp(18px, 2.2vw, 34px);
  color: #7b7369;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color 240ms ease, transform 240ms ease;
}

.rp-home-collection__space + .rp-home-collection__space::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: rgba(81, 67, 53, .13);
}

.rp-home-collection__space-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 38px;
  color: #8d8377;
}

.rp-home-collection__space-icon svg {
  width: 100%;
  height: 100%;
}

.rp-home-collection__space:hover,
.rp-home-collection__space:focus-visible {
  color: #332e29;
  transform: translateY(-2px);
}

@media (max-width: 1080px) {
  .rp-home-collection__categories {
    justify-content: flex-start;
  }

  .rp-home-coverflow {
    min-height: 610px;
  }

  .rp-home-coverflow__card {
    width: clamp(270px, 36vw, 350px);
  }
}

@media (max-width: 720px) {
  .rp-home-collection__header {
    padding-top: 74px;
  }

  .rp-home-collection__header h2 {
    font-size: clamp(35px, 10vw, 50px);
  }

  .rp-home-collection__intro {
    max-width: 92%;
    font-size: 14px;
  }

  .rp-home-collection__category-scroll {
    width: calc(100% + 24px);
    margin-left: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .rp-home-collection__categories {
    min-width: max-content;
    gap: 18px;
  }

  .rp-home-collection__category {
    width: 88px;
  }

  .rp-home-collection__category-circle {
    width: 78px;
  }

  .rp-home-collection__showcase {
    margin-top: 36px;
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .rp-home-collection__showcase-heading {
    width: min(90%, 430px);
    margin-inline: auto;
    font-size: 27px;
  }

  .rp-home-coverflow {
    min-height: 565px;
    margin-top: 18px;
  }

  .rp-home-coverflow__card {
    top: 43%;
    width: min(82vw, 360px);
  }

  .rp-home-coverflow__viewport::before,
  .rp-home-coverflow__viewport::after {
    width: 26px;
  }

  .rp-home-coverflow__arrow {
    top: auto;
    bottom: 44px;
    width: 46px;
    height: 46px;
    transform: none;
  }

  .rp-home-coverflow__arrow.is-prev { left: calc(50% - 61px); }
  .rp-home-coverflow__arrow.is-next { right: calc(50% - 61px); }

  .rp-home-coverflow__arrow:hover,
  .rp-home-coverflow__arrow:focus-visible {
    transform: scale(1.05);
  }

  .rp-home-coverflow__arrow:active { transform: scale(.94); }

  .rp-home-coverflow__caption {
    bottom: -2px;
    display: grid;
    gap: 5px;
    min-width: 86vw;
    text-align: center;
  }

  .rp-home-coverflow__caption > span { font-size: 11px; }
  .rp-home-coverflow__caption a { font-size: 10px; }

  .rp-home-collection__spaces {
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .rp-home-collection__spaces-nav {
    justify-content: flex-start;
    width: calc(100% + 24px);
    margin-left: -12px;
    padding: 0 12px 10px;
  }

  .rp-home-collection__space {
    min-width: 122px;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-home-bg-section.is-bg-fixed::before {
    background-attachment: scroll;
  }

  .rp-home-collection *,
  .rp-home-collection *::before,
  .rp-home-collection *::after {
    scroll-behavior: auto !important;
    animation: none !important;
  }

  .rp-home-coverflow__card,
  .rp-home-coverflow__media img,
  .rp-home-coverflow__caption {
    transition-duration: 200ms !important;
  }

  .rp-home-coverflow__card {
    --rp-cover-rotate: 0deg !important;
  }
}
