body.rm-page-wide {
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(16, 185, 129, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(45, 212, 191, 0.06), transparent 50%),
    #f8fafc;
}

.rm-home__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #84cc16);
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.3);
  text-decoration: none;
}

.rm-home__cta:hover {
  filter: brightness(1.05);
}

.rm-landing {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: 0;
}

@media (max-width: 900px) {
  .rm-landing {
    grid-template-columns: 1fr;
  }
  .rm-rail {
    position: static;
  }
}

.rm-rail {
  position: sticky;
  top: 5.5rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.rm-rail__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.rm-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rm-rail__list a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.rm-rail__list a:hover {
  background: rgba(76, 29, 149, 0.06);
  border-color: rgba(76, 29, 149, 0.12);
}

.rm-rail__list a.is-active {
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.12), rgba(22, 163, 74, 0.08));
  border-color: rgba(76, 29, 149, 0.2);
}

.rm-hero {
  /* Default theme = resin raw materials (emerald). Override via body.rm-theme--* */
  --rm-hero-ink: #ecfdf5;
  --rm-hero-muted: rgba(236, 253, 245, 0.72);
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 46%);
  gap: clamp(1.35rem, 4vw, 3.25rem);
  align-items: center;
  padding: clamp(1.6rem, 3.8vw, 3rem);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 70% at 90% 20%, rgba(52, 211, 153, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(45, 212, 191, 0.14), transparent 50%),
    linear-gradient(145deg, #042f2e 0%, #064e3b 42%, #0f172a 100%);
  border: 1px solid rgba(167, 243, 208, 0.18);
  margin-bottom: 2.25rem;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 28px 64px rgba(2, 44, 34, 0.45);
  animation: rmHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rm-hero--premium .rm-hero__glow {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 200deg at 70% 40%, rgba(16, 185, 129, 0.12), transparent 40%, rgba(45, 212, 191, 0.1), transparent 75%);
  pointer-events: none;
  z-index: 0;
  animation: rmHeroGlow 18s linear infinite;
}

@keyframes rmHeroGlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rmHeroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-hero,
  .rm-hero--premium .rm-hero__glow {
    animation: none;
  }
}

.rm-hero[hidden] {
  display: none !important;
  margin-bottom: 0;
}

/* Category drill-down pages are text + product results only. Keep the
   storefront hero and category-card block exclusive to the shop landing page. */
body.rm-category-results #rm-hero,
body.rm-category-results .rm-cat-hub,
body.pf-category-results #pf-hero,
body.pf-category-results .pf-landing-hero,
body.pf-category-results .rm-cat-hub__head,
body.pf-category-results #rmCategoryHub {
  display: none !important;
}

/* The Raw Materials artwork belongs only to the unfiltered shop landing.
   This selector remains stronger than any legacy visual style if an old CSS
   file is still present in a visitor's cache. */
html.storefront-category-listing body.rm-theme--materials #rm-hero,
html.storefront-category-listing body.rm-theme--materials #rm-hero[hidden] {
  display: none !important;
}

/* Detail routes use the shared PDP gallery only; the raw-material landing
   promotion is intentionally restricted to raw-material-shop.html. */
body.rm-page-wide.page-product #rm-hero,
body.rm-page-wide.page-product .rm-landing-hero {
  display: none !important;
}

@media (max-width: 820px) {
  .rm-hero {
    grid-template-columns: 1fr;
  }
}

.rm-hero__blob {
  position: absolute;
  width: min(480px, 95vw);
  height: min(480px, 95vw);
  border-radius: 46% 54% 52% 48% / 42% 45% 55% 58%;
  background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.4), rgba(16, 185, 129, 0.12) 55%, transparent 70%);
  filter: blur(4px);
  z-index: 0;
  right: -10%;
  top: -14%;
  pointer-events: none;
  animation: rmHeroBlob 12s ease-in-out infinite alternate;
}

@keyframes rmHeroBlob {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 6%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-hero__blob {
    animation: none;
  }
}

.rm-hero__inner {
  position: relative;
  z-index: 1;
}

.rm-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a7f3d0;
  margin: 0 0 0.85rem;
  font-weight: 700;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 243, 208, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rm-hero__kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
}

.rm-hero__title {
  font-family: "Syne", "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.18;
  margin: 0 0 0.75rem;
  color: var(--rm-hero-ink);
}

.rm-hero__title-stack {
  margin: 0 0 0.95rem;
  color: var(--rm-hero-ink);
}

.rm-hero__title-line1 {
  display: block;
  font-family: "Syne", "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.95rem, 4.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ecfdf5;
}

.rm-hero__title-line2 {
  display: block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.4;
  margin-top: 0.4rem;
  letter-spacing: -0.015em;
  color: rgba(167, 243, 208, 0.88);
}

.rm-hero__sub {
  margin: 0 0 1.5rem;
  color: var(--rm-hero-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
}

.rm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.9rem;
  align-items: center;
}

.rm-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #042f2e;
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 55%, #a3e635 100%);
  box-shadow:
    0 14px 34px rgba(16, 185, 129, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
  text-decoration: none;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s ease,
    box-shadow 0.25s ease;
}

.rm-hero__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(16, 185, 129, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.rm-hero__cta--ghost {
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(236, 253, 245, 0.28);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rm-hero__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  filter: none;
}

.rm-hero__visual {
  position: relative;
  z-index: 1;
  min-height: 220px;
}

.rm-hero__visual-frame {
  position: relative;
  border-radius: 22px;
  padding: 0.35rem;
  background: linear-gradient(145deg, rgba(167, 243, 208, 0.45), rgba(255, 255, 255, 0.08) 40%, rgba(52, 211, 153, 0.2));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.rm-hero__visual img,
.rm-hero__visual-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(420px, 54vh);
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.rm-hero:hover .rm-hero__visual img,
.rm-hero:hover .rm-hero__visual-frame img {
  transform: scale(1.03);
}

#rm-shop,
#rmCatHubHeading {
  scroll-margin-top: 5.5rem;
}

.rm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

@media (max-width: 720px) {
  .rm-stats {
    grid-template-columns: 1fr;
  }
}

.rm-stats__big {
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
}

.rm-stats__lead {
  font-size: clamp(0.92rem, 2.1vw, 1.08rem);
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.rm-stats__stars {
  color: #ca8a04;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.rm-stats__cap {
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.55);
  margin-top: 0.25rem;
}

/* Toolbar only (Shop by category sits below). */
#rm-shop {
  margin-bottom: 1.5rem;
}

.rm-product-panel {
  margin-top: 1.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.rm-product-panel__head {
  margin-bottom: 1rem;
}

a.rm-empty-link {
  color: var(--accent, #2563eb);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

a.rm-empty-link:hover {
  color: #1d4ed8;
}

.rm-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.rm-card-shop {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 28px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  contain: layout style;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rm-card-shop:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 44px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.rm-card-shop a.rm-card-shop__hit,
.rm-card-shop > a:not(.bulk-buy-btn) {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.rm-card-shop__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #ecfdf5, #e2e8f0);
  overflow: hidden;
}

.rm-card-shop__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.rm-card-shop__img img[data-image-fit="contain"] {
  object-fit: contain !important;
  object-position: center !important;
}

.rm-card-shop__img:has(> img[data-image-fit="contain"]) {
  background: #ffffff;
}

.rm-card-shop:hover .rm-card-shop__img img {
  transform: scale(1.05);
}

.rm-card-shop__body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rm-card-shop__brand {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
  margin-bottom: 0.25rem;
}

.rm-card-shop__title {
  font-family: "Syne", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  height: calc(1.3em * 2);
  max-height: calc(1.3em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rm-card-shop__desc {
  font-size: 0.86rem;
  color: rgba(15, 23, 42, 0.58);
  margin: 0 0 0.75rem;
  line-height: 1.45;
  height: calc(1.45em * 2);
  max-height: calc(1.45em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 0 0 auto;
}

.rm-card-shop__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.rm-card-shop__price {
  font-weight: 700;
  font-size: 1.05rem;
  color: #4c1d95;
}

.rm-card-shop__mrp {
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.38);
  text-decoration: line-through;
}

.rm-card-shop__pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

/* PDP */
.rm-pdp-promo-strip {
  position: relative;
  z-index: 30;
  text-align: center;
  font-size: 0.78rem;
  padding: 0.45rem 1rem;
  background: linear-gradient(90deg, #312e81, #4c1d95);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.04em;
}

.rm-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: clamp(0.85rem, 2.2vw, 2rem);
  margin-top: 1rem;
  align-items: start;
}

.rm-pdp > .cg-pdp__bottom,
.rm-pdp > .rm-pdp__desc-wrap--below,
.rm-pdp > .product-overview--fullwidth {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 0;
}

.rm-pdp > .cg-pdp__bottom {
  margin-top: 0.5rem;
}

.rm-pdp > .rm-pdp__desc-wrap--below {
  margin-top: 0.35rem;
}

.rm-pdp-gallery {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: clamp(0.65rem, 1.5vw, 1.15rem);
  align-items: stretch;
  min-width: 0;
}

.rm-pdp-thumb-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.rm-pdp-thumb-track {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(420px, 52vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.15rem 0;
  scrollbar-width: thin;
}

.rm-pdp-thumb-nav {
  flex-shrink: 0;
  width: 100%;
  max-width: 72px;
  padding: 0.2rem 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 0.6rem;
  line-height: 1.2;
  color: #64748b;
}

.rm-pdp-thumb-nav:hover {
  border-color: rgba(76, 29, 149, 0.35);
  color: #4c1d95;
}

@media (max-width: 960px) {
  .rm-pdp {
    grid-template-columns: 1fr;
  }

  .rm-pdp-gallery {
    grid-template-columns: 1fr;
  }

  .rm-pdp-thumb-col {
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .rm-pdp-thumb-track {
    flex-direction: row;
    flex: 1;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0.15rem;
  }

  .rm-pdp-thumb-nav {
    max-width: 40px;
    align-self: center;
  }
}

.rm-pdp__thumb {
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  background: #f8fafc;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
}

.rm-pdp__thumb:hover {
  transform: scale(1.03);
}

.rm-pdp__thumb.is-active {
  border-color: #4c1d95;
}

.rm-pdp__thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

/* View Transitions (Chromium): softer PDP swaps when innerHTML updates */
#rmPdpRoot {
  view-transition-name: rm-raw-pdp;
}

::view-transition-group(rm-raw-pdp) {
  animation-duration: 0.28s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  #rmPdpRoot {
    view-transition-name: none !important;
  }

  .rm-pdp__thumb,
  .rm-pdp__thumb img,
  .rm-pdp__hero-zoom img {
    transition: none !important;
  }
}

.rm-pdp__hero-wrap {
  position: relative;
  border-radius: 20px;
  background: #f1f5f9;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rm-pdp__hero-zoom {
  width: auto;
  max-width: 100%;
  min-height: 0;
  max-height: min(560px, 70vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
  margin: 0 auto;
}

.rm-pdp__hero-zoom img {
  width: auto;
  height: auto;
  max-width: min(100%, 520px);
  max-height: min(560px, 70vh);
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* PDP-only: shrink hero box to image — no empty side bands */
.rm-pdp--modern .rm-pdp__hero-wrap {
  min-height: 0;
}

.rm-pdp--modern .rm-pdp__hero-zoom {
  width: auto;
  max-width: 100%;
  min-height: 0;
}

.rm-pdp--modern .rm-pdp__hero-zoom img {
  width: auto;
  height: auto;
  max-width: min(100%, 520px);
  max-height: min(560px, 70vh);
  object-fit: contain;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transition: transform 0.15s ease-out;
}

.rm-pdp-zoom-hint,
.rm-pdp__zoom-hint,
.product-hero-img__zoom-hint {
  display: none !important;
}

.rm-pdp__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #4c1d95;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}

.rm-pdp__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  font-size: 1.2rem;
  color: #1e293b;
}

.rm-pdp__nav--prev {
  left: 10px;
}

.rm-pdp__nav--next {
  right: 10px;
}

.rm-pdp__detail {
  padding: 0.25rem 0.25rem 1rem;
}

.rm-pdp__brand {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
  margin: 0 0 0.35rem;
}

.rm-pdp__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  line-height: 1.3;
  color: #0f172a;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  padding-block: 0.05em;
}

.rm-pdp__stars {
  color: #ca8a04;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.rm-pdp__rating-num {
  color: rgba(15, 23, 42, 0.45);
  font-weight: 600;
}

.rm-pdp__reviews {
  color: rgba(15, 23, 42, 0.38);
  font-size: 0.82rem;
}

.rm-pdp__price-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.rm-pdp__price {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
}

.rm-pdp__mrp {
  text-decoration: line-through;
  color: rgba(15, 23, 42, 0.38);
}

.rm-pdp__save {
  font-size: 0.78rem;
  font-weight: 600;
  color: #15803d;
  background: rgba(22, 163, 74, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.rm-pdp__desc {
  color: rgba(15, 23, 42, 0.65);
  line-height: 1.55;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.rm-opt-block {
  margin-bottom: 1rem;
}

.rm-opt-block__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.5);
  margin-bottom: 0.45rem;
}

.rm-opt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.rm-opt-pill {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  cursor: pointer;
  color: #0f172a;
}

.rm-opt-pill.is-on {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.45);
  font-weight: 600;
}

.rm-opt-block--color {
  overflow: visible;
  max-width: 100%;
}

.rm-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.rm-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.15);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.rm-color-swatch.is-on {
  outline: 2px solid #4c1d95;
  outline-offset: 2px;
}

.rm-pdp__cart-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
}

.rm-pdp__wish {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: #4c1d95;
  flex-shrink: 0;
}

.rm-pdp__wish.is-on {
  background: rgba(76, 29, 149, 0.08);
  border-color: rgba(76, 29, 149, 0.35);
}

.rm-pdp__qty-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1rem 0;
}

.rm-pdp__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.rm-pdp__qty button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

.rm-pdp__qty span {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
}

.rm-pdp__add {
  flex: 1;
  min-width: 160px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #4c1d95;
}

.rm-pdp__cart-row .rm-pdp__add {
  flex: 1;
}

.rm-pdp__add:hover {
  filter: brightness(1.06);
}

.rm-trust {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.55);
}

.rm-trust span {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.rm-pdp__ship {
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.5);
  margin-top: 0.5rem;
}

.rm-pdp-accordion {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.rm-pdp-acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  color: #0f172a;
}

.rm-pdp-acc-icon {
  font-size: 1.1rem;
  color: rgba(15, 23, 42, 0.45);
}

.rm-pdp-acc-body {
  color: rgba(15, 23, 42, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 0.25rem 0 0.75rem;
}

.rm-pdp-acc-body.is-collapsed {
  display: none;
}

/* Raw material shop — category rail + filters (matches main dashboard spacing) */
.rm-shop-layout {
  display: grid;
  grid-template-columns: var(--cg-sidebar-col, minmax(13rem, 17rem)) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: 0;
}

.rm-shop-layout--pdp {
  margin-top: 0.75rem;
}

.rm-shop-layout__main {
  min-width: 0;
  width: 100%;
}

.rm-nav-tree-wrap {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  max-height: calc(100vh - 6.25rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.05rem 1.15rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 50px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  scrollbar-gutter: stable;
}

.rm-nav-tree__title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

a.rm-nav-tree__title-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.15rem 0.25rem;
  margin: -0.15rem -0.25rem 0.6rem;
  transition: color 0.2s ease, background 0.2s ease;
}

a.rm-nav-tree__title-link:hover,
a.rm-nav-tree__title-link:focus-visible {
  color: #4c1d95;
  background: rgba(76, 29, 149, 0.06);
  outline: none;
}

.rm-nav-tree__root {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rm-nav-tree__item {
  margin-bottom: 0.15rem;
}

.rm-nav-tree__row {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  border-radius: 10px;
}

.rm-nav-tree__row:hover .rm-nav-tree__link--base:not(.is-active) {
  background: rgba(76, 29, 149, 0.06);
  border-color: rgba(76, 29, 149, 0.1);
}

.rm-nav-tree__chev {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 8px;
  background: rgba(76, 29, 149, 0.06);
  cursor: pointer;
  position: relative;
}

.rm-nav-tree__chev::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin: -0.2rem 0 0 -0.2rem;
  border-right: 2px solid #4c1d95;
  border-bottom: 2px solid #4c1d95;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.rm-nav-tree__chev.is-open::after {
  transform: rotate(45deg);
  margin-top: -0.12rem;
}

.rm-nav-tree__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.rm-nav-tree__link:hover {
  background: rgba(76, 29, 149, 0.06);
  border-color: rgba(76, 29, 149, 0.1);
}

.rm-nav-tree__link.is-active {
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.12), rgba(22, 163, 74, 0.08));
  border-color: rgba(76, 29, 149, 0.2);
}

.rm-nav-tree__link--sub {
  display: block;
  font-size: 0.82rem;
  padding: 0.42rem 0.5rem 0.42rem 0.65rem;
  margin-left: 1.5rem;
  border-left: 2px solid rgba(76, 29, 149, 0.15);
}

.rm-nav-tree__subs {
  list-style: none;
  margin: 0.2rem 0 0.35rem;
  padding: 0;
  display: none;
}

.rm-nav-tree__subs.is-open {
  display: block;
}

.rm-nav-tree__subs li {
  margin: 0.05rem 0;
}

.rm-nav-tree__ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
}

.rm-nav-tree__ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rm-nav-tree__ico--ph {
  display: inline-block;
}

.rm-best-sellers {
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.rm-best-sellers__head {
  margin-bottom: 1rem;
}

.rm-best-sellers__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.rm-best-sellers__sub {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: rgba(15, 23, 42, 0.55);
}

.rm-best-sellers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
}

.rm-best-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rm-best-card:hover {
  box-shadow: 0 12px 28px rgba(76, 29, 149, 0.12);
  transform: translateY(-2px);
}

.rm-best-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.rm-best-card__img {
  aspect-ratio: 5/4;
  background: rgba(15, 23, 42, 0.04);
}

.rm-best-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rm-best-card__body {
  padding: 0.55rem 0.65rem 0.7rem;
}

.rm-best-card__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
}

.rm-best-card__price {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #15803d;
}

.rm-best-sellers__empty {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(15, 23, 42, 0.5);
}

.rm-cat-hub {
  margin: 1.75rem 0 1.5rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.78) 0%, rgba(236, 253, 245, 0.35) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.rm-cat-hub__head {
  margin-bottom: 1.25rem;
}

.rm-cat-hub__head .rm-best-sellers__title {
  font-family: "Syne", "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.rm-filter-toolbar {
  flex-wrap: wrap;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.rm-filter-toolbar .category-toolbar__label {
  color: rgba(15, 23, 42, 0.55);
}

.rm-filter-toolbar .category-toolbar__select {
  color: #0f172a;
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
}

.category-toolbar__group--grow {
  flex: 1 1 200px;
  min-width: 180px;
}

.category-toolbar__search {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 0.88rem;
  background: #fff;
}

.category-toolbar__btn {
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  background: linear-gradient(135deg, #15803d, #65a30d);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.category-toolbar__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.category-toolbar__btn--ghost {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.rm-filter-toolbar .category-toolbar__group--actions {
  flex: 0 1 auto;
  min-width: min(100%, 22rem);
}

.rm-filter-toolbar .category-toolbar__btn-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.rm-filter-toolbar .category-toolbar__btn-row .category-toolbar__btn {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.rm-cat-hub .craft-cat-card__media {
  aspect-ratio: 4 / 2.85;
}

/* Premium micro-interactions on category cards */
.rm-cat-hub .craft-cat-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.rm-cat-hub .craft-cat-card:hover {
  transform: translateY(-5px);
}

.rm-cat-hub .craft-cat-card:hover .craft-cat-card__media img {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .rm-card-shop,
  .rm-cat-hub .craft-cat-card {
    transition: none;
  }
}

@media (max-width: 900px) {
  .rm-shop-layout {
    grid-template-columns: 1fr;
  }

  .rm-nav-tree-wrap {
    position: static;
    max-height: min(42vh, 20rem);
  }
}

/* Full-width material shop + PDP (body.rm-page-wide) */
body.rm-page-wide .band-shop-inner {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

body.rm-page-wide .rm-shop-layout {
  grid-template-columns: var(--cg-sidebar-col, minmax(13rem, 17rem)) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

@media (max-width: 900px) {
  body.rm-page-wide .rm-shop-layout {
    grid-template-columns: 1fr;
  }
}

body.rm-page-wide .rm-hero {
  grid-template-columns: 1fr minmax(220px, 46%);
}

body.rm-page-wide .rm-hero__media img {
  max-height: min(78vh, 680px);
}

body.rm-page-wide .rm-grid-cards:not(.plp-grid) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.05rem;
}

@media (min-width: 720px) {
  body.rm-page-wide .rm-grid-cards:not(.plp-grid) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  body.rm-page-wide .rm-grid-cards:not(.plp-grid) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.rm-page-wide .rm-card-shop__title {
  font-size: 1.05rem;
}

body.rm-page-wide .rm-card-shop__body {
  padding: 0.85rem 0.95rem 1rem;
}

body.rm-page-wide .rm-card-shop__desc {
  font-size: 0.82rem;
  line-height: 1.42;
}

/* --------------------------------------------------------------------------
   Category shop themes
   Default / rm-theme--materials: Resin Raw Materials — emerald studio (.rm-hero).
   body.rm-theme--photo-frame: Resin Photo Frames — teal / rose marble.
   -------------------------------------------------------------------------- */

body.rm-theme--photo-frame {
  --pf-teal-deep: #0f766e;
  --pf-teal: #26a69a;
  --pf-teal-mid: #1e8e84;
  --pf-teal-soft: #7dd3c7;
  --pf-rose: #26a69a;
  --pf-rose-soft: #d8f3ef;
  --pf-rose-deep: #1e8e84;
  --pf-lavender: #7dd3c7;
  --pf-cream: #f4f9f7;
  --pf-cream-soft: #eef8f6;
  --pf-gold: #d4af37;
  --pf-gold-soft: #e8d48b;
  --pf-ink: #1a2b48;
  --pf-ink-muted: rgba(26, 43, 72, 0.62);
  --pf-glass: rgba(255, 255, 255, 0.55);
  --pf-glass-strong: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(125, 211, 199, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(38, 166, 154, 0.08), transparent 50%),
    var(--pf-cream);
  color: var(--pf-ink);
}

body.rm-theme--photo-frame .crumb,
body.rm-theme--photo-frame .crumb a {
  color: var(--pf-ink-muted);
}

body.rm-theme--photo-frame .crumb a:hover {
  color: var(--pf-teal-deep);
}

body.rm-theme--photo-frame .rm-hero {
  --rm-hero-ink: var(--pf-ink);
  --rm-hero-muted: var(--pf-ink-muted);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 55% at 6% 12%, rgba(26, 77, 97, 0.82), transparent 60%),
    radial-gradient(ellipse 42% 50% at 22% 88%, rgba(44, 95, 120, 0.4), transparent 58%),
    radial-gradient(ellipse 58% 68% at 94% 82%, rgba(242, 209, 212, 0.98), transparent 50%),
    radial-gradient(ellipse 48% 52% at 78% 22%, rgba(230, 179, 184, 0.6), transparent 55%),
    radial-gradient(ellipse 50% 45% at 42% 48%, rgba(253, 248, 246, 0.55), transparent 62%),
    radial-gradient(ellipse 40% 40% at 55% 40%, rgba(201, 184, 212, 0.28), transparent 65%),
    linear-gradient(118deg, #2a6178 0%, #5a8aa0 18%, #c5d0d8 36%, #edd0d5 58%, #f7e8ea 78%, #fdf8f6 100%);
  background-size: 120% 120%, 130% 130%, 120% 120%, 140% 140%, 110% 110%, 100% 100%, 180% 180%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 28px 64px rgba(26, 77, 97, 0.18);
  animation:
    rmThemePfHeroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both,
    rmThemePfBgDrift 22s ease-in-out infinite alternate;
}

@keyframes rmThemePfBgDrift {
  from {
    background-position: 0% 0%, 10% 20%, 100% 80%, 80% 10%, 40% 45%, 50% 50%, 0% 40%;
  }
  to {
    background-position: 10% 6%, 0% 28%, 90% 72%, 70% 18%, 48% 50%, 45% 55%, 100% 60%;
  }
}

body.rm-theme--photo-frame .rm-hero--premium .rm-hero__glow {
  background:
    conic-gradient(
      from 180deg at 60% 40%,
      rgba(230, 179, 184, 0.22),
      transparent 30%,
      rgba(44, 95, 120, 0.18),
      transparent 55%,
      rgba(212, 175, 55, 0.12),
      transparent 78%
    );
  animation: rmThemePfGlow 28s linear infinite;
  opacity: 0.75;
  mix-blend-mode: soft-light;
}

@keyframes rmThemePfGlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rmThemePfHeroIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.rm-theme--photo-frame .rm-hero__marble {
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 35% 40% at 18% 35%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 35% at 78% 70%, rgba(255, 255, 255, 0.35), transparent 68%),
    radial-gradient(ellipse 30% 30% at 48% 42%, rgba(201, 184, 212, 0.2), transparent 70%);
  filter: blur(2px);
  animation: rmThemePfMarble 16s ease-in-out infinite alternate;
}

@keyframes rmThemePfMarble {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  to {
    transform: translate(-2%, 3%) scale(1.04);
    opacity: 1;
  }
}

body.rm-theme--photo-frame .rm-hero__aurora {
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      transparent 18%,
      rgba(255, 255, 255, 0.22) 36%,
      transparent 46%,
      rgba(230, 179, 184, 0.18) 58%,
      transparent 72%,
      rgba(212, 175, 55, 0.1) 82%,
      transparent 90%
    );
  background-size: 240% 240%;
  animation: rmThemePfAurora 16s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

@keyframes rmThemePfAurora {
  0%,
  100% {
    background-position: 0% 40%;
    opacity: 0.45;
  }
  50% {
    background-position: 100% 55%;
    opacity: 0.9;
  }
}

body.rm-theme--photo-frame .rm-hero__blob,
body.rm-theme--photo-frame .pf-landing-hero__blob {
  background: radial-gradient(
    circle at 32% 28%,
    rgba(44, 95, 120, 0.55),
    rgba(111, 163, 184, 0.25) 48%,
    transparent 72%
  );
  filter: blur(10px);
  right: auto;
  left: -14%;
  top: -18%;
  animation: rmThemePfBlob 18s ease-in-out infinite alternate;
}

body.rm-theme--photo-frame .rm-hero__blob--rose {
  left: auto;
  right: -16%;
  top: auto;
  bottom: -22%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(242, 209, 212, 0.85),
    rgba(230, 179, 184, 0.4) 50%,
    transparent 72%
  );
  animation: rmThemePfBlobRose 20s ease-in-out infinite alternate;
}

@keyframes rmThemePfBlob {
  from {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  to {
    transform: translate(6%, 8%) rotate(8deg) scale(1.08);
  }
}

@keyframes rmThemePfBlobRose {
  from {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  to {
    transform: translate(-8%, -6%) rotate(-12deg) scale(1.1);
  }
}

body.rm-theme--photo-frame .rm-hero__veins {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

body.rm-theme--photo-frame .rm-hero__vein {
  stroke: var(--pf-gold);
  stroke-width: 1.25;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.45));
  stroke-dasharray: 8 14;
  animation: rmThemePfVeinShimmer 7s ease-in-out infinite;
}

body.rm-theme--photo-frame .rm-hero__vein--b {
  stroke: var(--pf-gold-soft);
  stroke-width: 0.9;
  opacity: 0.75;
  animation-delay: 1.4s;
  animation-duration: 9s;
}

body.rm-theme--photo-frame .rm-hero__vein--c {
  stroke-width: 0.8;
  opacity: 0.55;
  animation-delay: 2.6s;
  animation-duration: 8s;
}

@keyframes rmThemePfVeinShimmer {
  0%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0.35;
  }
  50% {
    stroke-dashoffset: -40;
    opacity: 0.85;
  }
}

body.rm-theme--photo-frame .rm-hero__geo {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

body.rm-theme--photo-frame .rm-hero__geo--ring {
  width: min(180px, 32vw);
  height: min(180px, 32vw);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 0 32px rgba(255, 255, 255, 0.35),
    inset 0 0 28px rgba(242, 209, 212, 0.25);
  right: 36%;
  top: 10%;
  animation: rmThemePfGeoFloat 12s ease-in-out infinite alternate;
}

body.rm-theme--photo-frame .rm-hero__geo--diamond {
  width: 56px;
  height: 56px;
  left: 48%;
  bottom: 16%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(230, 179, 184, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  border-radius: 8px;
  box-shadow: 0 0 32px rgba(230, 179, 184, 0.4);
  animation: rmThemePfDiamond 10s ease-in-out infinite alternate;
}

body.rm-theme--photo-frame .rm-hero__geo--pour {
  width: 16px;
  height: 70px;
  left: 10%;
  bottom: 20%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.55), rgba(230, 179, 184, 0.3), transparent);
  filter: blur(0.5px);
  animation: rmThemePfPour 8s ease-in-out infinite;
}

@keyframes rmThemePfGeoFloat {
  from {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  to {
    transform: translateY(12px) scale(1.05);
    opacity: 0.95;
  }
}

@keyframes rmThemePfDiamond {
  from {
    transform: rotate(45deg) translateY(0);
  }
  to {
    transform: rotate(52deg) translateY(-10px);
  }
}

@keyframes rmThemePfPour {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0) scaleY(1);
  }
  50% {
    opacity: 0.75;
    transform: translateY(6px) scaleY(1.1);
  }
}

body.rm-theme--photo-frame .rm-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

body.rm-theme--photo-frame .rm-hero__particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
  animation: rmThemePfParticle 11s linear infinite;
}

body.rm-theme--photo-frame .rm-hero__particles span:nth-child(1) {
  left: 14%;
  bottom: 8%;
  animation-duration: 12s;
}
body.rm-theme--photo-frame .rm-hero__particles span:nth-child(2) {
  left: 30%;
  bottom: 4%;
  width: 2px;
  height: 2px;
  animation-duration: 14s;
  animation-delay: 1.2s;
}
body.rm-theme--photo-frame .rm-hero__particles span:nth-child(3) {
  left: 52%;
  bottom: 10%;
  animation-duration: 10s;
  animation-delay: 0.6s;
  background: rgba(212, 175, 55, 0.85);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
}
body.rm-theme--photo-frame .rm-hero__particles span:nth-child(4) {
  left: 70%;
  bottom: 6%;
  animation-duration: 13s;
  animation-delay: 2s;
  background: rgba(230, 179, 184, 0.9);
}
body.rm-theme--photo-frame .rm-hero__particles span:nth-child(5) {
  left: 42%;
  bottom: 2%;
  width: 2px;
  height: 2px;
  animation-duration: 15s;
  animation-delay: 3s;
}
body.rm-theme--photo-frame .rm-hero__particles span:nth-child(6) {
  left: 84%;
  bottom: 14%;
  animation-duration: 11s;
  animation-delay: 1.5s;
}

@keyframes rmThemePfParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-300px) translateX(24px);
    opacity: 0;
  }
}

body.rm-theme--photo-frame .rm-hero__spark {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, #fff 0%, var(--pf-gold-soft) 50%, transparent 72%);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.65);
  animation: rmThemePfSpark 6s ease-in-out infinite;
}

body.rm-theme--photo-frame .rm-hero__spark--a {
  top: 18%;
  left: 38%;
  animation-delay: 0.4s;
}

body.rm-theme--photo-frame .rm-hero__spark--b {
  bottom: 22%;
  left: 26%;
  width: 0.35rem;
  height: 0.35rem;
  animation-delay: 1.8s;
  animation-duration: 7.5s;
}

@keyframes rmThemePfSpark {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px) scale(1.15);
  }
}

body.rm-theme--photo-frame .rm-hero__kicker {
  color: var(--pf-ink);
  background: var(--pf-glass-strong);
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 8px 24px rgba(26, 77, 97, 0.1);
}

body.rm-theme--photo-frame .rm-hero__kicker-dot {
  background: linear-gradient(135deg, var(--pf-rose), var(--pf-rose-deep));
  box-shadow: 0 0 0 4px rgba(230, 179, 184, 0.35);
}

body.rm-theme--photo-frame .rm-hero__title-line1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--pf-ink);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
}

body.rm-theme--photo-frame .rm-hero__title-script {
  display: inline-block;
  font-family: "Great Vibes", "Cormorant Garamond", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.15em;
  color: var(--pf-rose-deep);
  letter-spacing: 0.01em;
  margin-left: 0.12em;
}

body.rm-theme--photo-frame .rm-hero__title-line2 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--pf-ink-muted);
  font-weight: 500;
}

body.rm-theme--photo-frame .rm-hero__sub {
  color: var(--pf-ink-muted);
}

body.rm-theme--photo-frame .rm-hero__cta,
body.rm-theme--photo-frame .pf-landing-hero__cta {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pf-teal-deep) 0%, var(--pf-teal) 55%, #3a6f88 100%);
  box-shadow:
    0 14px 32px rgba(26, 77, 97, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  position: relative;
  overflow: hidden;
}

body.rm-theme--photo-frame .rm-hero__cta::after,
body.rm-theme--photo-frame .pf-landing-hero__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: rmThemePfShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rmThemePfShimmer {
  0%,
  60% {
    transform: translateX(-120%);
  }
  85%,
  100% {
    transform: translateX(120%);
  }
}

body.rm-theme--photo-frame .rm-hero__cta:hover,
body.rm-theme--photo-frame .pf-landing-hero__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(26, 77, 97, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

body.rm-theme--photo-frame .rm-hero__cta--ghost {
  color: var(--pf-ink);
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(29, 41, 63, 0.35);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.rm-theme--photo-frame .rm-hero__cta--ghost::after {
  display: none;
}

body.rm-theme--photo-frame .rm-hero__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--pf-teal);
  filter: none;
  transform: translateY(-2px);
}

body.rm-theme--photo-frame .rm-hero__visual-glow {
  position: absolute;
  inset: 0% -4%;
  z-index: 0;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 70% 65% at 50% 50%, rgba(242, 209, 212, 0.55), transparent 68%),
    radial-gradient(ellipse 90% 80% at 50% 55%, rgba(255, 255, 255, 0.35), transparent 72%);
  filter: blur(18px);
  animation: rmThemePfVisualPulse 6s ease-in-out infinite alternate;
}

@keyframes rmThemePfVisualPulse {
  from {
    opacity: 0.55;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

body.rm-theme--photo-frame .rm-hero__visual-frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.85),
    rgba(242, 209, 212, 0.55) 45%,
    rgba(230, 179, 184, 0.4)
  );
  box-shadow:
    0 24px 56px rgba(26, 77, 97, 0.28),
    0 8px 24px rgba(29, 41, 63, 0.12),
    0 0 40px rgba(230, 179, 184, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.65);
  animation: rmThemePfFrameFloat 8s ease-in-out infinite alternate;
}

@keyframes rmThemePfFrameFloat {
  from {
    transform: translateY(0) rotate(-0.4deg);
  }
  to {
    transform: translateY(-7px) rotate(0.5deg);
  }
}

body.rm-theme--photo-frame .rm-hero__visual img,
body.rm-theme--photo-frame .rm-hero__visual-frame img {
  border: 1px solid rgba(255, 255, 255, 0.75);
  filter: contrast(1.05) brightness(0.98) saturate(1.03);
  box-shadow:
    0 10px 28px rgba(26, 77, 97, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

body.rm-theme--photo-frame .rm-hero:hover .rm-hero__visual-frame img {
  transform: scale(1.03);
}

body.rm-theme--photo-frame .rm-nav-tree-wrap {
  background: var(--pf-glass-strong);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 48px rgba(26, 77, 97, 0.1);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  color: var(--pf-ink);
}

body.rm-theme--photo-frame .rm-nav-tree__title,
body.rm-theme--photo-frame a.rm-nav-tree__title-link {
  color: var(--pf-teal-deep);
}

body.rm-theme--photo-frame .rm-nav-tree__link {
  color: var(--pf-ink);
}

body.rm-theme--photo-frame .rm-nav-tree__link:hover {
  background: rgba(230, 179, 184, 0.22);
  border-color: rgba(230, 179, 184, 0.35);
  color: var(--pf-ink);
}

body.rm-theme--photo-frame .rm-nav-tree__link.is-active {
  background: linear-gradient(135deg, rgba(230, 179, 184, 0.4), rgba(242, 209, 212, 0.35));
  border-color: rgba(216, 167, 177, 0.55);
  color: var(--pf-ink);
}

body.rm-theme--photo-frame .rm-nav-tree__link--sub {
  border-left-color: rgba(44, 95, 120, 0.25);
}

body.rm-theme--photo-frame .rm-nav-tree__chev::after {
  border-color: var(--pf-teal);
}

body.rm-theme--photo-frame .category-toolbar.rm-filter-toolbar,
body.rm-theme--photo-frame #rm-toolbar {
  background: var(--pf-glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 36px rgba(26, 77, 97, 0.08);
}

body.rm-theme--photo-frame .category-toolbar__label {
  color: var(--pf-ink-muted);
}

body.rm-theme--photo-frame .category-toolbar__select,
body.rm-theme--photo-frame .category-toolbar__search {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(44, 95, 120, 0.18);
  color: var(--pf-ink);
}

body.rm-theme--photo-frame .category-toolbar__btn {
  background: linear-gradient(135deg, var(--pf-teal-deep), var(--pf-teal));
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 77, 97, 0.25);
}

body.rm-theme--photo-frame .category-toolbar__btn:hover {
  filter: brightness(1.05);
}

body.rm-theme--photo-frame .category-toolbar__btn--ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--pf-ink);
  box-shadow: none;
  border: 1px solid rgba(44, 95, 120, 0.2);
}

body.rm-theme--photo-frame .rm-cat-hub__head .rm-best-sellers__sub {
  color: var(--pf-ink-muted);
}

body.rm-theme--photo-frame .rm-cat-hub .craft-cat-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.rm-theme--photo-frame .rm-cat-hub .craft-cat-card:hover {
  transform: translateY(-5px);
}

body.rm-theme--photo-frame .rm-cat-hub .craft-cat-card__name {
  color: var(--pf-ink);
}

body.rm-theme--photo-frame .rm-cat-hub .craft-cat-card__count {
  color: var(--pf-ink-muted);
}

body.rm-theme--photo-frame .rm-cat-hub .craft-cat-card__cta {
  color: var(--pf-teal-deep);
}

body.rm-theme--photo-frame .rm-cat-hub .craft-cat-card__cta:hover,
body.rm-theme--photo-frame .rm-cat-hub .craft-cat-card:hover .craft-cat-card__cta {
  color: var(--pf-teal);
}

body.rm-theme--photo-frame .band-shop {
  background: linear-gradient(175deg, #ffffff 0%, var(--pf-cream) 45%, var(--pf-cream-soft) 100%);
  color: var(--pf-ink);
  box-shadow: 0 -10px 48px rgba(26, 77, 97, 0.05);
}

body.rm-theme--photo-frame .mesh-gradient,
body.rm-theme--photo-frame .tone-shift {
  opacity: 0.22;
}

body.rm-theme--photo-frame .animated-backdrop .orb {
  opacity: 0.08;
  filter: none;
}

body.rm-theme--photo-frame .grid-lines {
  opacity: 0.035;
}

body.rm-theme--photo-frame .rm-card-shop,
body.rm-theme--photo-frame .rm-grid-cards .rm-card-shop {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(44, 95, 120, 0.1);
  color: var(--pf-ink);
  box-shadow: 0 14px 36px rgba(26, 77, 97, 0.08);
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.rm-theme--photo-frame .rm-card-shop__title {
  color: var(--pf-ink);
}

body.rm-theme--photo-frame .rm-card-shop__desc,
body.rm-theme--photo-frame .rm-card-shop__meta {
  color: var(--pf-ink-muted);
}

body.rm-theme--photo-frame .rm-card-shop:hover {
  border-color: rgba(230, 179, 184, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(26, 77, 97, 0.12);
}

@media (max-width: 820px) {
  body.rm-theme--photo-frame .rm-hero__veins,
  body.rm-theme--photo-frame .rm-hero__geo--pour {
    opacity: 0.35;
  }

  body.rm-theme--photo-frame .rm-hero__title-script {
    display: block;
    margin: 0.15rem 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.rm-theme--photo-frame .rm-hero,
  body.rm-theme--photo-frame .rm-hero--premium .rm-hero__glow,
  body.rm-theme--photo-frame .rm-hero__marble,
  body.rm-theme--photo-frame .rm-hero__aurora,
  body.rm-theme--photo-frame .rm-hero__blob,
  body.rm-theme--photo-frame .pf-landing-hero__blob,
  body.rm-theme--photo-frame .rm-hero__vein,
  body.rm-theme--photo-frame .rm-hero__geo,
  body.rm-theme--photo-frame .rm-hero__particles span,
  body.rm-theme--photo-frame .rm-hero__spark,
  body.rm-theme--photo-frame .rm-hero__visual-frame,
  body.rm-theme--photo-frame .rm-hero__visual-glow,
  body.rm-theme--photo-frame .rm-hero__cta::after,
  body.rm-theme--photo-frame .pf-landing-hero__cta::after {
    animation: none;
  }
}
