/* =========================================================
   Rivrun Product Detail Page — same-to-same
   ========================================================= */

.theme-rivrun .rv-pdp__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: visible;
}

.theme-rivrun .rv-pdp,
.theme-rivrun .nj-pdp.rv-pdp {
  background: #000 !important;
  color: #fff;
  padding: 1.5rem 0 5rem;
  overflow: visible;
}

/* ---------- Hero ---------- */
.theme-rivrun .rv-pdp__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
  overflow: visible;
}

@media (max-width: 991.98px) {
  .theme-rivrun .rv-pdp__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}

.theme-rivrun .rv-pdp__gallery {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  z-index: 1;
  min-width: 0;
}

@media (max-width: 991.98px) {
  .theme-rivrun .rv-pdp__gallery {
    position: static;
  }
}

.theme-rivrun .rv-pdp__main-frame {
  position: relative;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.theme-rivrun .rv-pdp__main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.theme-rivrun .rv-pdp__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(40, 40, 40, 0.85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}

.theme-rivrun .rv-pdp__nav--prev { left: 12px; }
.theme-rivrun .rv-pdp__nav--next { right: 12px; }

.theme-rivrun .rv-pdp__thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.85rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.theme-rivrun .rv-pdp__thumb,
.theme-rivrun .rv-pdp .thumbnail-item {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333 !important;
  background: #111;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.theme-rivrun .rv-pdp__thumb.active,
.theme-rivrun .rv-pdp .thumbnail-item.active {
  border-color: #fff !important;
}

.theme-rivrun .rv-pdp__thumb img,
.theme-rivrun .rv-pdp .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Info (no crop, no big empty gap) ---------- */
.theme-rivrun .rv-pdp__hero .product-details-modern,
.theme-rivrun .rv-pdp__hero .nj-pdp__info,
.theme-rivrun .rv-pdp__info {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.15rem 0.5rem 0 1.25rem !important;
  margin: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  position: relative;
  z-index: 3;
  transform: none !important;
  clip-path: none !important;
}

.theme-rivrun .rv-pdp__title,
.theme-rivrun .rv-pdp__hero .product-title-modern,
.theme-rivrun .rv-pdp__info .product-title-modern {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1.35 !important;
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  max-width: 100%;
  overflow: visible !important;
  text-indent: 0 !important;
  letter-spacing: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  transform: none !important;
}

.theme-rivrun .rv-pdp__short-desc {
  margin: 0 0 1.15rem !important;
  max-width: 100%;
  padding: 0 !important;
  overflow: visible !important;
}

.theme-rivrun .rv-pdp__short-desc p {
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.95rem;
  line-height: 1.65;
  overflow: visible !important;
}

.theme-rivrun .rv-pdp__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 0.85rem;
  margin: 0 0 1.35rem !important;
  padding: 0 !important;
  width: 100%;
  overflow: visible !important;
}

.theme-rivrun .rv-pdp__price-now,
.theme-rivrun .rv-pdp__price-row .currency-icon,
.theme-rivrun .rv-pdp__info .currency-icon {
  overflow: visible !important;
  clip-path: none !important;
  margin-left: 0 !important;
}

.theme-rivrun .rv-pdp__price-now {
  color: var(--primary-color, #c9a84c) !important;
  font-size: 1.45rem;
  font-weight: 700;
}

.theme-rivrun .rv-pdp__price-was {
  color: #888 !important;
  text-decoration: line-through;
  font-size: 1rem;
}

.theme-rivrun .rv-pdp__save {
  display: inline-block;
  background: var(--primary-color, #c9a84c);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
}

.theme-rivrun .rv-pdp__label {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
  text-transform: lowercase;
}

.theme-rivrun .rv-pdp__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.theme-rivrun .rv-pdp__size {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}

.theme-rivrun .rv-pdp__size input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-rivrun .rv-pdp__size:has(input:checked),
.theme-rivrun .rv-pdp__size.is-active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.theme-rivrun .rv-pdp__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.theme-rivrun .rv-pdp__pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  background: transparent;
}

.theme-rivrun .rv-pdp__pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-rivrun .rv-pdp__pill:has(input:checked),
.theme-rivrun .rv-pdp__pill.is-active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.theme-rivrun .rv-pdp__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0;
  background: #111;
}

.theme-rivrun .rv-pdp__qty button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
}

.theme-rivrun .rv-pdp__qty input {
  width: 48px;
  height: 40px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.15);
  border-right: 1px solid rgba(255,255,255,.15);
  background: #111;
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.theme-rivrun .rv-pdp .product-actions-modern {
  margin-top: 0.75rem !important;
  width: 100%;
  padding-top: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.theme-rivrun .rv-pdp .product-actions-modern .quantity-section {
  margin-bottom: 1rem;
  width: 100%;
}

.theme-rivrun .rv-pdp__buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #000;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.75rem 0;
}

.theme-rivrun .rv-pdp__buy:hover {
  background: #fff;
  color: #000 !important;
}

.theme-rivrun .rv-pdp__actions,
.theme-rivrun .rv-pdp .action-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.55rem;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
}

@media (max-width: 575.98px) {
  .theme-rivrun .rv-pdp__actions,
  .theme-rivrun .rv-pdp .action-buttons {
    grid-template-columns: 1fr;
  }
}

.theme-rivrun .rv-pdp__act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  box-sizing: border-box;
  padding: 0.55rem 0.4rem;
  white-space: nowrap;
}

.theme-rivrun .rv-pdp__act--cart {
  background: #1f9d4d !important;
}

.theme-rivrun .rv-pdp__act--msg {
  background: #2b6cb0 !important;
}

.theme-rivrun .rv-pdp__act--wish {
  background: #3a3a3a !important;
}

.theme-rivrun .rv-pdp__stock {
  color: rgba(255,255,255,.45);
  font-size: 0.78rem;
  margin-top: 0.75rem;
  width: 100%;
  text-align: left;
}

/* ---------- Reviews ---------- */
.theme-rivrun .rv-pdp__section {
  margin: 3.5rem 0;
}

.theme-rivrun .rv-pdp__section-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
  color: #fff !important;
  text-align: center;
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.theme-rivrun .rv-pdp__reviews-box {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.theme-rivrun .rv-pdp__stars {
  color: #f5c518;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.theme-rivrun .rv-pdp__reviews-meta {
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}

.theme-rivrun .rv-pdp__review-form {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
}

.theme-rivrun .rv-pdp__review-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  outline: none;
  min-height: 42px;
}

.theme-rivrun .rv-pdp__review-form a,
.theme-rivrun .rv-pdp__review-form button {
  background: #fff;
  color: #000 !important;
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.theme-rivrun .rv-pdp__review-list {
  margin-top: 1.5rem;
  text-align: left;
}

.theme-rivrun .rv-pdp__review-item {
  border-top: 1px solid #222;
  padding: 1rem 0;
}

/* ---------- Related (premium gold accents, dynamic theme) ---------- */
.theme-rivrun .nj-pdp__related {
  margin: 3rem 0 2rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid rgba(var(--primary-color-rgb, 201, 168, 76), 0.18);
}

.theme-rivrun .rv-pdp__related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.theme-rivrun .rv-pdp__related-heading {
  min-width: 0;
}

.theme-rivrun .rv-pdp__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-color, #c9a84c) !important;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.theme-rivrun .rv-pdp__related-head h3,
.theme-rivrun .related-products-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.55rem, 4vw, 2rem) !important;
  margin: 0;
  color: #fff !important;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.55rem;
}

.theme-rivrun .rv-pdp__related-head h3::after,
.theme-rivrun .related-products-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--primary-color, #c9a84c);
  border-radius: 999px;
}

.theme-rivrun .rv-pdp__related-nav {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}

.theme-rivrun .rv-pdp__related-nav button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--primary-color-rgb, 201, 168, 76), 0.55);
  border-radius: 50%;
  background: transparent;
  color: var(--primary-color, #c9a84c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-rivrun .rv-pdp__related-nav button:hover {
  background: var(--primary-color, #c9a84c);
  color: #0a0a0a;
  border-color: var(--primary-color, #c9a84c);
}

.theme-rivrun .rv-related-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.15rem 1rem;
  margin: 0 -0.15rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color, #c9a84c) #1a1a1a;
}

.theme-rivrun .rv-related-track::-webkit-scrollbar {
  height: 4px;
}

.theme-rivrun .rv-related-track::-webkit-scrollbar-thumb {
  background: var(--primary-color, #c9a84c);
  border-radius: 999px;
}

.theme-rivrun .rv-related-slide {
  flex: 0 0 calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .theme-rivrun .rv-related-slide {
    flex-basis: calc(33.333% - 0.7rem);
    max-width: calc(33.333% - 0.7rem);
  }
}

@media (min-width: 1200px) {
  .theme-rivrun .rv-related-slide {
    flex-basis: calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
  }
}

/* Related cards stay dark + gold premium accents */
.theme-rivrun .rv-pdp .nj-product-card,
.theme-rivrun .nj-pdp__related .nj-product-card {
  background: #121212 !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 14px !important;
  overflow: hidden;
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.theme-rivrun .nj-pdp__related .nj-product-card:hover {
  border-color: rgba(var(--primary-color-rgb, 201, 168, 76), 0.55) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(var(--primary-color-rgb, 201, 168, 76), 0.2);
  transform: translateY(-3px);
}

.theme-rivrun .rv-pdp .nj-product-card__body,
.theme-rivrun .nj-pdp__related .nj-product-card__body {
  background: #121212 !important;
  color: #fff !important;
  padding: 0.85rem 0.85rem 1rem !important;
}

.theme-rivrun .nj-pdp__related .nj-product-card__title a {
  color: #fff !important;
}

.theme-rivrun .nj-pdp__related .nj-product-card__title a:hover {
  color: var(--primary-color, #c9a84c) !important;
}

.theme-rivrun .nj-pdp__related .nj-product-card__tag {
  border-color: rgba(var(--primary-color-rgb, 201, 168, 76), 0.35) !important;
  color: var(--primary-color, #c9a84c) !important;
  background: rgba(var(--primary-color-rgb, 201, 168, 76), 0.08) !important;
}

.theme-rivrun .nj-pdp__related .nj-product-card__price-now {
  color: var(--primary-color, #c9a84c) !important;
  font-weight: 700;
}

.theme-rivrun .nj-pdp__related .nj-product-card__badge {
  background: rgba(var(--primary-color-rgb, 201, 168, 76), 0.18) !important;
  color: var(--primary-color, #c9a84c) !important;
  border-color: rgba(var(--primary-color-rgb, 201, 168, 76), 0.45) !important;
}

@media (max-width: 575.98px) {
  .theme-rivrun .nj-pdp__related {
    margin-top: 2rem;
  }
  .theme-rivrun .rv-pdp__related-nav button {
    width: 34px;
    height: 34px;
  }
  .theme-rivrun .nj-pdp__related .nj-product-card__body {
    padding: 0.7rem 0.65rem 0.85rem !important;
  }
  .theme-rivrun .nj-pdp__related .nj-atc-beam__inner {
    font-size: 0.65rem;
    padding: 0.42rem 0.7rem;
    min-height: 34px;
  }
}

/* ---------- Description / Specs split ---------- */
.theme-rivrun .rv-pdp__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin: 3.5rem 0;
  align-items: start;
}

@media (max-width: 991.98px) {
  .theme-rivrun .rv-pdp__split {
    grid-template-columns: 1fr;
  }
}

.theme-rivrun .rv-pdp__accordion .accordion-item {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 8px !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
  color: #fff !important;
}

.theme-rivrun .rv-pdp__accordion .accordion-button {
  background: #141414 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.theme-rivrun .rv-pdp__accordion .accordion-button:not(.collapsed) {
  background: #111 !important;
}

.theme-rivrun .rv-pdp__accordion .accordion-button::after {
  filter: invert(1);
}

.theme-rivrun .rv-pdp__accordion .accordion-body {
  background: #101010 !important;
  color: rgba(255,255,255,.78) !important;
}

.theme-rivrun .rv-pdp__accordion .accordion-body ul {
  padding-left: 1.1rem;
  margin-bottom: 0.75rem;
}

.theme-rivrun .rv-pdp__side-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  background: #111;
  min-height: 280px;
}

.theme-rivrun .rv-pdp__side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.theme-rivrun .rv-pdp__cert {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.theme-rivrun .rv-pdp__cert h4,
.theme-rivrun .rv-pdp__notes h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #fff;
  margin-bottom: 0.75rem;
}

.theme-rivrun .rv-pdp__notes {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  color: rgba(255,255,255,.75);
}

.theme-rivrun .rv-pdp__notes ul {
  padding-left: 1.1rem;
  margin: 0;
}

.theme-rivrun .rv-pdp__show-more {
  display: inline-block;
  margin-top: 0.85rem;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Sticky bar + light border animation ---------- */
.theme-rivrun .sticky-cart-footer,
body.theme-rivrun .sticky-cart-footer,
.theme-rivrun .rv-sticky-bar {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 1rem !important;
  z-index: 1050 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  padding: 0 1rem !important;
  transform: translateY(140%) !important;
  transition: transform 0.3s ease !important;
  max-height: none;
  overflow: visible !important;
  pointer-events: none;
}

.theme-rivrun .sticky-cart-footer.show,
body.theme-rivrun .sticky-cart-footer.show,
.theme-rivrun .rv-sticky-bar.show {
  transform: translateY(0) !important;
  pointer-events: auto;
}

.theme-rivrun .rv-sticky-bar__shell {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 999px;
  padding: 1.5px;
  overflow: hidden;
  pointer-events: auto;
}

.theme-rivrun .rv-sticky-bar__glow {
  position: absolute;
  inset: -60%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 55%,
    rgba(255,255,255,0.15) 62%,
    rgba(255,255,255,0.95) 70%,
    rgba(255,255,255,0.25) 78%,
    transparent 88%,
    transparent 100%
  );
  animation: rvStickyBeam 3.2s linear infinite;
  z-index: 0;
}

@keyframes rvStickyBeam {
  to { transform: rotate(360deg); }
}

.theme-rivrun .rv-sticky-bar__inner,
.theme-rivrun .rv-sticky-bar .sticky-cart-content {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.55rem 0.65rem 0.55rem 0.75rem !important;
  border-radius: 999px;
  background: #0a0a0a !important;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.theme-rivrun .sticky-product-info {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem;
  min-width: 0;
  flex: 1 1 auto;
}

.theme-rivrun .sticky-product-image {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.theme-rivrun .sticky-product-details {
  min-width: 0;
}

.theme-rivrun .sticky-product-name {
  color: #fff !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.theme-rivrun .rv-sticky-bar__price,
.theme-rivrun .sticky-product-price {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin: 0 !important;
}

.theme-rivrun .sticky-current-price {
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
}

.theme-rivrun .sticky-original-price {
  color: #888 !important;
  text-decoration: line-through;
  font-size: 0.82rem;
  margin-left: 0 !important;
}

.theme-rivrun .rv-sticky-bar__off {
  display: inline-flex;
  align-items: center;
  background: var(--primary-color, #c9a84c);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.theme-rivrun .sticky-cart-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem;
  flex-shrink: 0;
}

.theme-rivrun .sticky-quantity-controls {
  display: none !important;
}

.theme-rivrun .rv-sticky-bar__atc,
.theme-rivrun .sticky-btn-add-cart.rv-sticky-bar__atc {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 1.5px !important;
  background: transparent !important;
  color: #fff !important;
  overflow: hidden;
  min-height: 42px;
  cursor: pointer;
  box-shadow: none !important;
}

.theme-rivrun .rv-sticky-bar__atc-glow {
  position: absolute;
  inset: -70%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 50%,
    rgba(var(--primary-color-rgb, 201, 168, 76), 0.35) 60%,
    var(--primary-color, #c9a84c) 70%,
    rgba(var(--primary-color-rgb, 201, 168, 76), 0.35) 80%,
    transparent 90%,
    transparent 100%
  );
  animation: rvStickyBeam 2.8s linear infinite;
  z-index: 0;
}

.theme-rivrun .rv-sticky-bar__atc-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 100%;
  min-height: 40px;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--primary-color, #c9a84c);
}

.theme-rivrun .rv-sticky-bar__atc:hover .rv-sticky-bar__atc-inner {
  background: transparent;
  color: var(--primary-color, #c9a84c);
  box-shadow: inset 0 0 0 1px var(--rv-gold-soft, #e8c872);
}

.theme-rivrun .rv-sticky-bar__buy,
.theme-rivrun .sticky-btn-buy-now {
  display: none !important;
}

body.sticky-footer-active {
  padding-bottom: 100px !important;
}

@media (prefers-reduced-motion: reduce) {
  .theme-rivrun .rv-sticky-bar__glow,
  .theme-rivrun .rv-sticky-bar__atc-glow {
    animation: none;
    background: rgba(255,255,255,0.35);
    inset: 0;
  }
}

@media (max-width: 767.98px) {
  .theme-rivrun .rv-sticky-bar {
    bottom: 0.65rem !important;
    padding: 0 0.65rem !important;
  }
  .theme-rivrun .sticky-product-name {
    max-width: 110px;
    font-size: 0.78rem !important;
  }
  .theme-rivrun .rv-sticky-bar__off {
    display: none;
  }
  .theme-rivrun .sticky-original-price {
    display: none;
  }
  .theme-rivrun .rv-sticky-bar__atc-inner span {
    display: none;
  }
  .theme-rivrun .rv-sticky-bar__atc-inner {
    padding: 0.55rem 0.75rem;
  }
}

/* Description HTML images must not explode layout */
.theme-rivrun .rv-pdp__richtext img,
.theme-rivrun .rv-pdp__accordion .accordion-body img,
.theme-rivrun .rv-pdp__accordion .accordion-body iframe,
.theme-rivrun .rv-pdp__accordion .accordion-body video,
.theme-rivrun .rv-pdp__accordion .accordion-body table {
  max-width: 100% !important;
  height: auto !important;
}

.theme-rivrun .rv-pdp__richtext {
  overflow: hidden;
  word-break: break-word;
}

.theme-rivrun .rv-pdp__richtext * {
  max-width: 100%;
}

.theme-rivrun .rv-pdp__side-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  background: #111;
  max-height: 420px;
}

.theme-rivrun .rv-pdp__side-image img {
  width: 100%;
  height: 420px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* Related cards stay dark on PDP — styles moved above */
