/* ==========================================================================
   Nooraani — Light silver theme (NO BLACK)
   Primary: #8382a2 · Page: soft silver · Cards: white · Text: dark readable
   Load LAST after rivrun-dark / rivrun-pages.
   ========================================================================== */

:root {
  --nj-primary: #8382a2;
  --nj-primary-rgb: 131, 130, 162;
  --nj-page: #e9e9ef;
  --nj-soft: #f4f4f8;
  --nj-card: #ffffff;
  --nj-ink: #5c5b75;
  --nj-mute: #7a7994;
  --nj-line: #d0d0dc;

  --primary-color: #8382a2 !important;
  --primary-color-rgb: 131, 130, 162 !important;

  --rv-bg: var(--nj-page) !important;
  --rv-surface: var(--nj-card) !important;
  --rv-card: var(--nj-card) !important;
  --rv-card-2: var(--nj-soft) !important;
  --rv-line: var(--nj-line) !important;
  --rv-text: var(--nj-ink) !important;
  --rv-muted: var(--nj-mute) !important;
  --rv-gold: var(--nj-primary) !important;
  --rv-gold-soft: color-mix(in srgb, var(--nj-primary) 70%, #fff) !important;
  --rv-red: #e53935 !important;
  --rv-glow: rgba(131, 130, 162, 0.22) !important;

  --text-dark: var(--nj-ink) !important;
  --bg-elegant: var(--nj-page) !important;
  --gradient-bg: var(--nj-page) !important;
  --pearl-white: var(--nj-card) !important;
  --dark-purple: var(--nj-primary) !important;
  --light-purple: var(--nj-soft) !important;
  --soft-shadow: rgba(47, 47, 58, 0.1) !important;
  --theme-page-bg: #e9e9ef !important;
  --theme-card-bg: #ffffff !important;
}

/* ---------- Page canvas: light silver (never black) ---------- */
html,
body,
body.theme-rivrun,
body.app-mobile,
body.app-mobile.theme-rivrun,
main,
.main-content,
.main-wrapper,
.rr-auth-page,
.forgot-password-section,
.reset-password-section,
.verify-section,
.nj-pdp,
.rv-pdp,
.checkout-wrapper,
.checkout-section,
.cart-page,
.wishlist-page,
.orders-section,
.blog-section,
.contact-section,
.about-section,
.services-section,
.app-listing-wrap,
.products-section,
.category-section,
.shop-page,
.page-header,
.user-dashboard,
.dashboard-wrapper,
.profile-section,
.section-padding,
.py-5.bg-white,
.bg-white,
.bg-light,
.footer,
.footer.rv-footer,
.footer-bottom {
  background: var(--nj-page) !important;
  background-color: var(--nj-page) !important;
  color: var(--nj-ink) !important;
}

/* Kill leftover black fills */
body.theme-rivrun [style*="background:#000"],
body.theme-rivrun [style*="background: #000"],
body.theme-rivrun [style*="background:#000000"],
body.theme-rivrun [style*="background: #000000"],
body.theme-rivrun [style*="background:#0a0a0a"],
body.theme-rivrun [style*="background:#111"],
body.theme-rivrun [style*="background:#1a1a1a"],
body.theme-rivrun [style*="background:#121212"],
body.theme-rivrun .bg-dark,
body.theme-rivrun .bg-black {
  background: var(--nj-page) !important;
  background-color: var(--nj-page) !important;
  color: var(--nj-ink) !important;
}

/* ---------- Readable text everywhere ---------- */
body.theme-rivrun,
body.theme-rivrun p,
body.theme-rivrun span,
body.theme-rivrun li,
body.theme-rivrun td,
body.theme-rivrun th,
body.theme-rivrun label,
body.theme-rivrun .form-check-label,
body.theme-rivrun .card-text,
body.theme-rivrun .text-dark,
body.theme-rivrun .text-black {
  color: var(--nj-ink) !important;
}

body.theme-rivrun h1,
body.theme-rivrun h2,
body.theme-rivrun h3,
body.theme-rivrun h4,
body.theme-rivrun h5,
body.theme-rivrun h6,
body.theme-rivrun .section-title,
body.theme-rivrun .page-title,
body.theme-rivrun .browse-sale-title,
body.theme-rivrun .shop-by-category-title,
body.theme-rivrun .product-title,
body.theme-rivrun .product-title-modern,
body.theme-rivrun .nj-product-card__title,
body.theme-rivrun .nj-product-card__title a,
body.theme-rivrun .related-products-title,
body.theme-rivrun .rv-pdp__title,
body.theme-rivrun .rr-auth-card__title {
  color: var(--nj-ink) !important;
  -webkit-text-fill-color: var(--nj-ink) !important;
}

body.theme-rivrun .text-muted,
body.theme-rivrun .section-subtitle,
body.theme-rivrun .nj-product-card__muted,
body.theme-rivrun .rv-muted,
body.theme-rivrun .original-price-modern,
body.theme-rivrun .rr-auth-card__sub {
  color: var(--nj-mute) !important;
}

body.theme-rivrun a:not(.btn):not(.rv-nav a):not(.rv-icon-btn):not(.main-header a):not(.nav-link.active):not(.rv-hero-content__btn):not(.rv-pdp__act):not(.rv-pdp__act--msg):not(.rv-sticky-bar__atc) {
  color: var(--nj-primary) !important;
}

body.theme-rivrun .text-primary,
body.theme-rivrun .nj-product-card__price,
body.theme-rivrun .nj-product-card__price-now,
body.theme-rivrun .current-price-modern,
body.theme-rivrun .rv-pdp__price-now {
  color: var(--nj-primary) !important;
  -webkit-text-fill-color: var(--nj-primary) !important;
}

body.theme-rivrun .rv-pdp__save,
body.theme-rivrun span.rv-pdp__save {
  background: #8382a2 !important;
  background-color: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .nj-product-card__price-was,
body.theme-rivrun .nj-product-card.has-offer .nj-product-card__price-was {
  color: var(--nj-mute) !important;
  -webkit-text-fill-color: var(--nj-mute) !important;
  opacity: 1 !important;
}

/* ---------- Cards / panels / forms (white, not black) ---------- */
body.theme-rivrun .card,
body.theme-rivrun .nj-product-card,
body.theme-rivrun .product-card,
body.theme-rivrun .product-card.nj-product-card,
body.theme-rivrun.app-mobile .nj-product-card,
body.theme-rivrun.app-mobile .product-card.nj-product-card,
body.theme-rivrun .nj-product-card__body,
body.theme-rivrun .nj-product-card__media,
body.theme-rivrun .nj-product-card__action,
body.theme-rivrun .filters-sidebar,
body.theme-rivrun .products-toolbar,
body.theme-rivrun .modal-content,
body.theme-rivrun .dropdown-menu,
body.theme-rivrun .offcanvas,
body.theme-rivrun #mobileMenu,
body.theme-rivrun .list-group-item,
body.theme-rivrun .accordion-item,
body.theme-rivrun .accordion-button,
body.theme-rivrun .rr-auth-card,
body.theme-rivrun .checkout-summary,
body.theme-rivrun .order-item,
body.theme-rivrun .success-card,
body.theme-rivrun .verify-card,
body.theme-rivrun .pdp-sticky-bar,
body.theme-rivrun .description-content,
body.theme-rivrun .rv-pdp__reviews-box,
body.theme-rivrun .app-filter-section,
body.theme-rivrun .app-page-toolbar,
body.theme-rivrun .mobile-app-tabbar {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--nj-ink) !important;
  border-color: var(--nj-line) !important;
}

body.theme-rivrun .nj-product-card,
body.theme-rivrun .product-card.nj-product-card,
body.theme-rivrun.app-mobile .nj-product-card,
body.theme-rivrun.app-mobile .product-card.nj-product-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid var(--nj-line) !important;
  box-shadow: 0 8px 24px rgba(131, 130, 162, 0.1) !important;
}

body.theme-rivrun .nj-product-card:hover,
body.theme-rivrun .nj-product-card.is-sparkle,
body.theme-rivrun .product-card.nj-product-card:hover {
  background: #ffffff !important;
  border-color: color-mix(in srgb, var(--nj-primary) 45%, var(--nj-line)) !important;
}

body.theme-rivrun .card-header,
body.theme-rivrun .modal-header,
body.theme-rivrun .offcanvas-header {
  background: var(--nj-soft) !important;
  color: var(--nj-ink) !important;
  border-color: var(--nj-line) !important;
}

body.theme-rivrun .form-control,
body.theme-rivrun .form-select,
body.theme-rivrun input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.theme-rivrun textarea,
body.theme-rivrun select,
body.theme-rivrun .rr-auth-field__input {
  background: var(--nj-card) !important;
  color: var(--nj-ink) !important;
  border: 1px solid var(--nj-line) !important;
}

body.theme-rivrun .form-control::placeholder,
body.theme-rivrun input::placeholder,
body.theme-rivrun textarea::placeholder {
  color: var(--nj-mute) !important;
  opacity: 1 !important;
}

body.theme-rivrun .form-control:focus,
body.theme-rivrun .form-select:focus {
  border-color: var(--nj-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--nj-primary-rgb), 0.18) !important;
  color: var(--nj-ink) !important;
}

/* ---------- Header / nav: primary fill, white icons/text ---------- */
body.theme-rivrun .main-header,
body.theme-rivrun .rv-header,
body.theme-rivrun .rv-header .main-header,
body.theme-rivrun .rv-header-bar {
  background: var(--nj-primary) !important;
  background-color: var(--nj-primary) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* Announce strip — fixed slim height, text centered (no jump on scroll) */
body.theme-rivrun .rv-announce {
  --rv-announce-h: 28px;
  background: #75749a !important;
  background-color: #75749a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.12) !important;
  text-align: center !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 !important;
  margin: 0 !important;
  height: var(--rv-announce-h) !important;
  min-height: var(--rv-announce-h) !important;
  max-height: var(--rv-announce-h) !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.theme-rivrun .rv-announce .container,
body.theme-rivrun .rv-announce .rv-header__container {
  max-width: inherit;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .rv-nav a,
body.theme-rivrun .main-header a,
body.theme-rivrun .rv-icon-btn,
body.theme-rivrun .rv-icon-btn i,
body.theme-rivrun .mobile-menu-btn,
body.theme-rivrun .rv-search-toggle,
body.theme-rivrun .rv-lang {
  position: relative !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

body.theme-rivrun .rv-lang::after {
  content: "" !important;
  position: absolute !important;
  top: 22% !important;
  bottom: 22% !important;
  left: 50% !important;
  width: 1.5px !important;
  background: #ffffff !important;
  border-radius: 2px !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transform: translateX(-50%) !important;
}

body.theme-rivrun .rv-lang a {
  color: #fff !important;
  position: relative !important;
  z-index: 1 !important;
}

body.theme-rivrun .rv-lang a + a {
  border-left: 0 !important;
}

body.theme-rivrun .rv-lang a.active {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* Card sparkle stars → primary purple */
body.theme-rivrun .nj-card-star__path {
  fill: var(--nj-primary, #8382a2) !important;
}

body.theme-rivrun .nj-card-star {
  filter: drop-shadow(0 0 0 rgba(131, 130, 162, 0.9)) !important;
}

body.theme-rivrun .nj-product-card:hover .nj-card-star,
body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star {
  filter: drop-shadow(0 0 10px rgba(131, 130, 162, 0.9)) !important;
}

body.theme-rivrun .nj-atc-beam__ring {
  filter: drop-shadow(0 0 6px rgba(131, 130, 162, 0.65)) !important;
}

body.theme-rivrun .rv-search-bar {
  background: rgba(255, 255, 255, 0.18) !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.theme-rivrun .rv-search-input,
body.theme-rivrun .rv-search-bar input,
body.theme-rivrun .rv-search-bar .form-control,
body.theme-rivrun .rv-search-bar .live-search-input {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

body.theme-rivrun .rv-search-input::placeholder,
body.theme-rivrun .rv-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
  opacity: 1 !important;
}

/* Kill browser autofill white background */
body.theme-rivrun .rv-search-input:-webkit-autofill,
body.theme-rivrun .rv-search-input:-webkit-autofill:hover,
body.theme-rivrun .rv-search-input:-webkit-autofill:focus,
body.theme-rivrun .rv-search-bar input:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0 1000px #8382a2 inset !important;
  box-shadow: 0 0 0 1000px #8382a2 inset !important;
  transition: background-color 99999s ease-in-out 0s !important;
  caret-color: #ffffff !important;
}

body.theme-rivrun .rv-search-submit {
  background: rgba(255, 255, 255, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
}

body.theme-rivrun .live-search-dropdown,
body.theme-rivrun .rv-search-bar .live-search-dropdown,
body.theme-rivrun .app-search-results {
  background: var(--nj-card) !important;
  color: var(--nj-ink) !important;
  border-color: var(--nj-line) !important;
}

body.theme-rivrun .live-search-empty,
body.theme-rivrun .live-search-loading,
body.theme-rivrun .live-search-item,
body.theme-rivrun .live-search-item-meta strong {
  color: var(--nj-ink) !important;
  -webkit-text-fill-color: var(--nj-ink) !important;
}

body.theme-rivrun .cart-count,
body.theme-rivrun .cart-count.badge,
body.theme-rivrun .mobile-app-tabbar .tab-badge {
  background: #e53935 !important;
  color: #fff !important;
}

/* ---------- Buttons ---------- */
body.theme-rivrun .btn-primary,
body.theme-rivrun .btn-primary:focus,
body.theme-rivrun .product-add-to-cart,
body.theme-rivrun .nj-atc-beam,
body.theme-rivrun .nj-atc-beam__inner,
body.theme-rivrun #checkout-btn,
body.theme-rivrun #place-order-btn {
  background: var(--nj-primary) !important;
  background-color: var(--nj-primary) !important;
  border-color: var(--nj-primary) !important;
  color: #fff !important;
}

body.theme-rivrun .btn-primary:hover,
body.theme-rivrun .product-add-to-cart:hover {
  background: color-mix(in srgb, var(--nj-primary) 82%, #2f2f3a) !important;
  border-color: color-mix(in srgb, var(--nj-primary) 82%, #2f2f3a) !important;
  color: #fff !important;
}

body.theme-rivrun .btn-outline-primary,
body.theme-rivrun .btn-outline-secondary,
body.theme-rivrun .btn-light {
  background: var(--nj-card) !important;
  border: 1px solid var(--nj-primary) !important;
  color: var(--nj-primary) !important;
}

body.theme-rivrun .btn-outline-primary:hover,
body.theme-rivrun .btn-light:hover {
  background: var(--nj-primary) !important;
  color: #fff !important;
}

body.theme-rivrun .btn-secondary {
  background: var(--nj-soft) !important;
  border-color: var(--nj-line) !important;
  color: var(--nj-ink) !important;
}

/* ---------- Product cards ---------- */
body.theme-rivrun .nj-product-card__tag {
  color: var(--nj-ink) !important;
  background: color-mix(in srgb, var(--nj-primary) 14%, #fff) !important;
  border: 1px solid color-mix(in srgb, var(--nj-primary) 40%, var(--nj-line)) !important;
  font-weight: 600 !important;
}

body.theme-rivrun .nj-product-card__badge {
  background: var(--nj-primary) !important;
  color: #fff !important;
  border-color: var(--nj-primary) !important;
}

body.theme-rivrun .nj-product-card__badge--stock-out {
  background: #c62828 !important;
  color: #fff !important;
}

/* ---------- Customer dashboard / account / orders / profile ---------- */
body.theme-rivrun .container.py-5,
body.theme-rivrun .user-dashboard,
body.theme-rivrun .dashboard-wrapper,
body.theme-rivrun .profile-section,
body.theme-rivrun .orders-section,
body.theme-rivrun .wishlist-page {
  background: transparent !important;
  color: var(--nj-ink) !important;
}

body.theme-rivrun .nav-pills .nav-link {
  color: var(--nj-ink) !important;
  background: transparent !important;
}

body.theme-rivrun .nav-pills .nav-link i {
  color: var(--nj-primary) !important;
}

body.theme-rivrun .nav-pills .nav-link.active,
body.theme-rivrun .nav-pills .show > .nav-link,
body.theme-rivrun .nav.nav-pills .nav-link.active {
  background: #8382a2 !important;
  background-color: #8382a2 !important;
  color: #fff !important;
}

body.theme-rivrun .nav-pills .nav-link.active i,
body.theme-rivrun .nav.nav-pills .nav-link.active i {
  color: #fff !important;
}

body.theme-rivrun .card.bg-primary,
body.theme-rivrun .bg-primary {
  background: var(--nj-primary) !important;
  background-color: var(--nj-primary) !important;
  color: #fff !important;
}

body.theme-rivrun .card.bg-primary h1,
body.theme-rivrun .card.bg-primary h2,
body.theme-rivrun .card.bg-primary h3,
body.theme-rivrun .card.bg-primary h4,
body.theme-rivrun .card.bg-primary h5,
body.theme-rivrun .card.bg-primary p,
body.theme-rivrun .card.bg-primary .card-title,
body.theme-rivrun .card.bg-primary .card-text,
body.theme-rivrun .bg-primary,
body.theme-rivrun .text-white {
  color: #fff !important;
}

body.theme-rivrun .avatar-title.bg-primary,
body.theme-rivrun .badge.bg-primary {
  background: var(--nj-primary) !important;
  color: #fff !important;
}

body.theme-rivrun .table,
body.theme-rivrun .table td,
body.theme-rivrun .table th {
  color: var(--nj-ink) !important;
  border-color: var(--nj-line) !important;
}

body.theme-rivrun .table thead th {
  background: var(--nj-soft) !important;
  color: var(--nj-ink) !important;
}

body.theme-rivrun .table-striped > tbody > tr:nth-of-type(odd) > * {
  background: color-mix(in srgb, var(--nj-primary) 6%, #fff) !important;
  color: var(--nj-ink) !important;
}

/* ---------- Auth pages ---------- */
body.theme-rivrun .rr-auth-page,
body.theme-rivrun .rr-auth-card,
body.theme-rivrun .rr-auth-field__label,
body.theme-rivrun .rr-auth-page .form-check-label {
  color: var(--nj-ink) !important;
}

body.theme-rivrun .rr-auth-link,
body.theme-rivrun .rr-auth-card__switch-link {
  color: var(--nj-primary) !important;
}

/* ---------- Footer ---------- */
body.theme-rivrun .footer,
body.theme-rivrun .footer.rv-footer,
body.theme-rivrun .footer-bottom,
body.theme-rivrun .rv-footer h3,
body.theme-rivrun .rv-footer h5,
body.theme-rivrun .rv-footer h6,
body.theme-rivrun .footer a,
body.theme-rivrun .footer p {
  background: var(--nj-page) !important;
  color: var(--nj-ink) !important;
}

body.theme-rivrun .footer a:hover {
  color: var(--nj-primary) !important;
}

/* ---------- Hero / video overlays keep light CTA ---------- */
body.theme-rivrun .rv-hero-content__title {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(47, 47, 58, 0.35);
}

body.theme-rivrun .rv-hero-content__sub {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Shop Now — primary at 60% opacity, white label */
body.theme-rivrun a.rv-hero-content__btn,
body.theme-rivrun .rv-hero-content__btn {
  background: rgba(131, 130, 162, 0.6) !important;
  background-color: rgba(131, 130, 162, 0.6) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(28, 26, 40, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 10px 28px rgba(47, 47, 58, 0.28) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  min-height: 54px !important;
  padding: 0.9rem 2.4rem !important;
  opacity: 1 !important;
  filter: none !important;
  animation: none !important;
  z-index: 6;
}

body.theme-rivrun a.rv-hero-content__btn:hover,
body.theme-rivrun a.rv-hero-content__btn:focus,
body.theme-rivrun .rv-hero-content__btn:hover,
body.theme-rivrun .rv-hero-content__btn:focus {
  background: rgba(131, 130, 162, 0.85) !important;
  background-color: rgba(131, 130, 162, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Keep label above shine overlays; disable sparkle wash that hides text */
body.theme-rivrun .rv-hero-content__btn > *,
body.theme-rivrun a.rv-hero-content__btn {
  position: relative;
  z-index: 2;
}

body.theme-rivrun .rv-hero-content__btn::before,
body.theme-rivrun .rv-hero-content__btn::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

/* ---------- Mobile menu / sheets ---------- */
body.theme-rivrun #mobileMenu,
body.theme-rivrun #mobileMenu.app-mobile-menu,
body.theme-rivrun #mobileMenu .app-menu-body,
body.theme-rivrun .app-mobile-menu {
  background: #e9e9ef !important;
  background-color: #e9e9ef !important;
  color: #5c5b75 !important;
}

body.theme-rivrun #mobileMenu .app-menu-user,
body.theme-rivrun #mobileMenu .app-menu-list,
body.theme-rivrun #mobileMenu .app-menu-search input,
body.theme-rivrun .app-sheet .offcanvas-body,
body.theme-rivrun .app-search-sheet .form-control {
  background: #ffffff !important;
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
  border-color: #d0d0dc !important;
}

body.theme-rivrun #mobileMenu .app-menu-item,
body.theme-rivrun #mobileMenu .app-menu-text,
body.theme-rivrun #mobileMenu .app-menu-user-meta strong,
body.theme-rivrun #mobileMenu a.app-menu-item {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun #mobileMenu .app-menu-item {
  min-height: 58px !important;
  padding: 12px 16px !important;
  gap: 14px !important;
  border-bottom-color: #e9e9ef !important;
}

body.theme-rivrun #mobileMenu .app-menu-section {
  margin-bottom: 20px !important;
}

body.theme-rivrun #mobileMenu .app-menu-icon {
  background: #8382a2 !important;
  color: #ffffff !important;
}

body.theme-rivrun .mobile-app-tabbar a,
body.theme-rivrun .mobile-app-tabbar button {
  color: var(--nj-mute) !important;
}

body.theme-rivrun .mobile-app-tabbar a.active,
body.theme-rivrun .mobile-app-tabbar button.active {
  color: var(--nj-primary) !important;
}

/* ---------- Pagination / misc ---------- */
body.theme-rivrun .nr-pagination,
body.theme-rivrun .nr-page-btn,
body.theme-rivrun .page-link {
  background: var(--nj-card) !important;
  color: var(--nj-ink) !important;
  border-color: var(--nj-line) !important;
}

body.theme-rivrun .page-item.active .page-link,
body.theme-rivrun .nr-page-btn.active {
  background: var(--nj-primary) !important;
  border-color: var(--nj-primary) !important;
  color: #fff !important;
}


/* ---------- Hard overrides for cart / checkout / dashboard cards ---------- */
body.theme-rivrun .container .card:not(.bg-primary),
body.theme-rivrun #cart-items .card,
body.theme-rivrun .cart-page .card,
body.theme-rivrun .checkout-wrapper .card,
body.theme-rivrun .order-summary,
body.theme-rivrun .cart-summary,
body.theme-rivrun .related-products-card,
body.theme-rivrun .you-might-like,
body.theme-rivrun .empty-cart,
body.theme-rivrun .empty-state {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #5c5b75 !important;
  border: 1px solid #d0d0dc !important;
}

body.theme-rivrun .card:not(.bg-primary) .card-header,
body.theme-rivrun .card:not(.bg-primary) .card-body,
body.theme-rivrun .card:not(.bg-primary) .card-footer,
body.theme-rivrun .card:not(.bg-primary) h1,
body.theme-rivrun .card:not(.bg-primary) h2,
body.theme-rivrun .card:not(.bg-primary) h3,
body.theme-rivrun .card:not(.bg-primary) h4,
body.theme-rivrun .card:not(.bg-primary) h5,
body.theme-rivrun .card:not(.bg-primary) h6,
body.theme-rivrun .card:not(.bg-primary) p,
body.theme-rivrun .card:not(.bg-primary) span,
body.theme-rivrun .card:not(.bg-primary) label {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .card.bg-primary,
body.theme-rivrun .card.bg-primary .card-body,
body.theme-rivrun .card.bg-primary h1,
body.theme-rivrun .card.bg-primary h2,
body.theme-rivrun .card.bg-primary h3,
body.theme-rivrun .card.bg-primary h4,
body.theme-rivrun .card.bg-primary h5,
body.theme-rivrun .card.bg-primary h6,
body.theme-rivrun .card.bg-primary p,
body.theme-rivrun .card.bg-primary .card-title,
body.theme-rivrun .card.bg-primary .card-text,
body.theme-rivrun .card.bg-primary span {
  background: #8382a2 !important;
  background-color: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: transparent !important;
}

body.theme-rivrun .card .text-muted,
body.theme-rivrun .card .text-secondary {
  color: #6b6b83 !important;
  -webkit-text-fill-color: #6b6b83 !important;
}

body.theme-rivrun .btn-primary,
body.theme-rivrun .btn.btn-primary,
body.theme-rivrun a.btn-primary,
body.theme-rivrun button.btn-primary,
body.theme-rivrun .app-sheet-actions .btn-primary,
body.theme-rivrun .nj-pdp .btn-primary {
  background: #8382a2 !important;
  border-color: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .btn-primary *,
body.theme-rivrun .product-add-to-cart * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .list-group-item,
body.theme-rivrun .sidebar .nav-link:not(.active),
body.theme-rivrun .dashboard-nav .nav-link:not(.active),
body.theme-rivrun .nav-pills .nav-link:not(.active) {
  background: transparent !important;
  color: #5c5b75 !important;
}

body.theme-rivrun .sidebar .nav-link.active,
body.theme-rivrun .dashboard-nav .nav-link.active,
body.theme-rivrun .nav-pills .nav-link.active {
  background: #8382a2 !important;
  background-color: #8382a2 !important;
  color: #ffffff !important;
}


/* Dashboard icons / outline buttons use primary (no black) */
body.theme-rivrun .dashboard-stat i,
body.theme-rivrun .card .bi,
body.theme-rivrun .card .fa,
body.theme-rivrun .card .fas,
body.theme-rivrun .card .far,
body.theme-rivrun .list-group-item i,
body.theme-rivrun .nav-link i,
body.theme-rivrun .sidebar i {
  color: #8382a2 !important;
}

body.theme-rivrun .btn-outline-dark,
body.theme-rivrun .btn-dark {
  background: #ffffff !important;
  border-color: #8382a2 !important;
  color: #8382a2 !important;
}

body.theme-rivrun .btn-outline-dark:hover,
body.theme-rivrun .btn-dark:hover {
  background: #8382a2 !important;
  color: #ffffff !important;
}

body.theme-rivrun .nav-link.active i,
body.theme-rivrun .list-group-item.active i,
body.theme-rivrun .btn-primary i {
  color: #ffffff !important;
}


/* ===== Customer account area (dashboard/profile/orders/wishlist) ===== */
body.theme-rivrun .container.py-5 .card:not(.bg-primary),
body.theme-rivrun .container.py-5 .card:not(.bg-primary) .card-body {
  background: #ffffff !important;
  color: #5c5b75 !important;
  border-color: #d5d4e0 !important;
}

body.theme-rivrun .container.py-5 .card:not(.bg-primary) h1,
body.theme-rivrun .container.py-5 .card:not(.bg-primary) h2,
body.theme-rivrun .container.py-5 .card:not(.bg-primary) h3,
body.theme-rivrun .container.py-5 .card:not(.bg-primary) h4,
body.theme-rivrun .container.py-5 .card:not(.bg-primary) h5,
body.theme-rivrun .container.py-5 .card:not(.bg-primary) h6,
body.theme-rivrun .container.py-5 .card:not(.bg-primary) p,
body.theme-rivrun .container.py-5 .card:not(.bg-primary) label,
body.theme-rivrun .container.py-5 .card:not(.bg-primary) span:not(.badge):not(.btn *) {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .container.py-5 .text-muted {
  color: #7a7994 !important;
  -webkit-text-fill-color: #7a7994 !important;
}

body.theme-rivrun .container.py-5 .nav-pills .nav-link {
  color: #5c5b75 !important;
  background: transparent !important;
}

body.theme-rivrun .container.py-5 .nav-pills .nav-link i {
  color: #8382a2 !important;
  -webkit-text-fill-color: #8382a2 !important;
}

body.theme-rivrun .container.py-5 .nav-pills .nav-link.active {
  background: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .container.py-5 .nav-pills .nav-link.active i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .container.py-5 .fas,
body.theme-rivrun .container.py-5 .far,
body.theme-rivrun .container.py-5 .fa,
body.theme-rivrun .container.py-5 .bi {
  color: #8382a2 !important;
}

body.theme-rivrun .container.py-5 .nav-pills .nav-link.active .fas,
body.theme-rivrun .container.py-5 .nav-pills .nav-link.active .far,
body.theme-rivrun .container.py-5 .nav-pills .nav-link.active .fa,
body.theme-rivrun .container.py-5 .btn-primary .fas,
body.theme-rivrun .container.py-5 .btn-primary .fa {
  color: #ffffff !important;
}

body.theme-rivrun .container.py-5 .btn-outline-primary,
body.theme-rivrun .container.py-5 .btn-outline-secondary,
body.theme-rivrun .container.py-5 .btn-outline-dark,
body.theme-rivrun .container.py-5 .btn-outline-success,
body.theme-rivrun .container.py-5 .btn-outline-danger {
  background: #ffffff !important;
  border-color: #8382a2 !important;
  color: #8382a2 !important;
  -webkit-text-fill-color: #8382a2 !important;
}

body.theme-rivrun .container.py-5 .btn-outline-primary:hover,
body.theme-rivrun .container.py-5 .btn-outline-dark:hover,
body.theme-rivrun .container.py-5 .btn-outline-secondary:hover {
  background: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .container.py-5 h1,
body.theme-rivrun .container.py-5 > .row > .col-lg-9 h4,
body.theme-rivrun .container.py-5 > .row > .col-lg-9 h5,
body.theme-rivrun .container.py-5 .page-title {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}


/* Unify product/section titles site-wide (same soft ink, never pure black) */
body.theme-rivrun .nj-product-card__title,
body.theme-rivrun .nj-product-card__title a,
body.theme-rivrun .product-title,
body.theme-rivrun .product-title-modern,
body.theme-rivrun .product-card h3,
body.theme-rivrun .product-card h3 a,
body.theme-rivrun .section-title,
body.theme-rivrun .browse-sale-title,
body.theme-rivrun .shop-by-category-title,
body.theme-rivrun h1, body.theme-rivrun h2, body.theme-rivrun h3,
body.theme-rivrun h4, body.theme-rivrun h5, body.theme-rivrun h6 {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .rv-header h1,
body.theme-rivrun .rv-header h2,
body.theme-rivrun .rv-header a,
body.theme-rivrun .main-header a,
body.theme-rivrun .rv-nav a,
body.theme-rivrun .rv-announce,
body.theme-rivrun .card.bg-primary,
body.theme-rivrun .card.bg-primary *,
body.theme-rivrun .btn-primary,
body.theme-rivrun .nav-pills .nav-link.active,
body.theme-rivrun .nav-pills .nav-link.active * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .rv-hero-content__title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Primary filled surfaces always keep white text */
body.theme-rivrun .card.bg-primary,
body.theme-rivrun .card.bg-primary .card-body,
body.theme-rivrun .card.bg-primary h1,
body.theme-rivrun .card.bg-primary h2,
body.theme-rivrun .card.bg-primary h3,
body.theme-rivrun .card.bg-primary h4,
body.theme-rivrun .card.bg-primary h5,
body.theme-rivrun .card.bg-primary h6,
body.theme-rivrun .card.bg-primary p,
body.theme-rivrun .card.bg-primary .card-title,
body.theme-rivrun .card.bg-primary .card-text,
body.theme-rivrun .card.bg-primary span,
body.theme-rivrun .bg-primary,
body.theme-rivrun .btn-primary,
body.theme-rivrun .btn-primary *,
body.theme-rivrun .nav-pills .nav-link.active,
body.theme-rivrun .nav-pills .nav-link.active *,
body.theme-rivrun .main-header,
body.theme-rivrun .main-header a,
body.theme-rivrun .main-header i,
body.theme-rivrun .rv-header-bar,
body.theme-rivrun .rv-header-bar a,
body.theme-rivrun .rv-header-bar i,
body.theme-rivrun .rv-nav a,
body.theme-rivrun .rv-announce {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Shared customer account sidebar avatar */
body.theme-rivrun .nj-customer-dash .avatar-lg {
  width: 4rem;
  height: 4rem;
}
body.theme-rivrun .nj-customer-dash .avatar-title {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  background: #8382a2 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.theme-rivrun .nj-customer-dash .nj-account-sidebar .nav-link {
  color: #5c5b75 !important;
}
body.theme-rivrun .nj-customer-dash .nj-account-sidebar .nav-link i {
  color: #8382a2 !important;
}
body.theme-rivrun .nj-customer-dash .nj-account-sidebar .nav-link.active {
  background: #8382a2 !important;
  color: #fff !important;
}
body.theme-rivrun .nj-customer-dash .nj-account-sidebar .nav-link.active i {
  color: #fff !important;
}


/* One shared container size — header, pages, PDP, cart, checkout, footer */
:root {
  --nj-container: 1280px;
}

@media (min-width: 1200px) {
  :root { --nj-container: 1400px; }
}

@media (min-width: 1400px) {
  :root { --nj-container: 1520px; }
}

@media (min-width: 1660px) {
  :root { --nj-container: 1600px; }
}

body.theme-rivrun .container,
body.theme-rivrun .container-sm,
body.theme-rivrun .container-md,
body.theme-rivrun .container-lg,
body.theme-rivrun .container-xl,
body.theme-rivrun .container-xxl,
body.theme-rivrun .rv-header .main-header > .container,
body.theme-rivrun .rv-header .main-header > .container-fluid,
body.theme-rivrun .rv-header .rv-header__container,
body.theme-rivrun .rv-header__container,
body.theme-rivrun .rv-announce > .container,
body.theme-rivrun .rv-announce > .container.rv-header__container,
body.theme-rivrun .footer .container,
body.theme-rivrun .rv-footer .container,
body.theme-rivrun .rv-footer__inner,
body.theme-rivrun .rv-pdp__wrap,
body.theme-rivrun .nj-pdp,
body.theme-rivrun .nj-pdp.rv-pdp,
body.theme-rivrun .product-detail-wrapper,
body.theme-rivrun .checkout-wrapper > .container,
body.theme-rivrun .cart-page > .container,
body.theme-rivrun .wishlist-page > .container,
body.theme-rivrun .app-listing-wrap > .container,
body.theme-rivrun .main-content > .container,
body.theme-rivrun .main-content > section > .container {
  width: 100% !important;
  max-width: var(--nj-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

@media (max-width: 991.98px) {
  body.theme-rivrun .container,
  body.theme-rivrun .container-sm,
  body.theme-rivrun .container-md,
  body.theme-rivrun .container-lg,
  body.theme-rivrun .container-xl,
  body.theme-rivrun .container-xxl,
  body.theme-rivrun .rv-header__container,
  body.theme-rivrun .rv-pdp__wrap,
  body.theme-rivrun .nj-pdp,
  body.theme-rivrun .rv-footer__inner {
    max-width: 100% !important;
  }
}

/* Mobile PDP: full-bleed top image, padded content + full-width buttons */
@media (max-width: 767.98px) {
  body.theme-rivrun .rv-pdp,
  body.theme-rivrun .nj-pdp,
  body.theme-rivrun .nj-pdp.rv-pdp,
  body.theme-rivrun .product-detail-wrapper {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.theme-rivrun .rv-pdp__wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.theme-rivrun .rv-pdp__hero {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.theme-rivrun .rv-pdp__gallery,
  body.theme-rivrun .product-gallery-modern {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.theme-rivrun .rv-pdp__main-frame,
  body.theme-rivrun .main-image-container {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.theme-rivrun .rv-pdp__main-frame img,
  body.theme-rivrun .main-image-container img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body.theme-rivrun .rv-pdp__thumbs {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
  }

  body.theme-rivrun .rv-pdp__info,
  body.theme-rivrun .rv-pdp__hero .nj-pdp__info,
  body.theme-rivrun .rv-pdp__hero .product-details-modern {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.theme-rivrun .rv-pdp__actions,
  body.theme-rivrun .rv-pdp .action-buttons,
  body.theme-rivrun .rv-pdp__actions--primary,
  body.theme-rivrun .rv-pdp__actions--secondary {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
    gap: 10px !important;
  }

  body.theme-rivrun .rv-pdp__actions--primary {
    margin-bottom: 10px !important;
  }

  body.theme-rivrun .rv-pdp__actions--secondary {
    margin-top: 0 !important;
  }

  body.theme-rivrun .rv-pdp__buy,
  body.theme-rivrun .rv-pdp__act,
  body.theme-rivrun .rv-pdp a.rv-pdp__act {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.theme-rivrun .rv-pdp__split,
  body.theme-rivrun .rv-pdp__section,
  body.theme-rivrun .nj-pdp__related {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
    box-sizing: border-box !important;
  }
}


/* Footer help box — readable Message Support button */
body.theme-rivrun .rv-help-box {
  background: #ffffff !important;
  border: 1px solid #d5d4e0 !important;
  box-shadow: 0 8px 24px rgba(131, 130, 162, 0.1) !important;
}

body.theme-rivrun .rv-help-box__title {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .rv-help-box__text {
  color: #7a7994 !important;
  -webkit-text-fill-color: #7a7994 !important;
}

body.theme-rivrun .rv-help-btn--solid,
body.theme-rivrun .footer .rv-help-btn.rv-help-btn--solid,
body.theme-rivrun .footer a.rv-help-btn--solid {
  background: #8382a2 !important;
  border-color: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .rv-help-btn--solid:hover,
body.theme-rivrun .footer .rv-help-btn.rv-help-btn--solid:hover,
body.theme-rivrun .footer a.rv-help-btn--solid:hover {
  background: #6f6e8f !important;
  border-color: #6f6e8f !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .rv-help-btn--ghost,
body.theme-rivrun .footer .rv-help-btn.rv-help-btn--ghost,
body.theme-rivrun .footer a.rv-help-btn--ghost {
  background: #ffffff !important;
  border: 1px solid #8382a2 !important;
  color: #8382a2 !important;
  -webkit-text-fill-color: #8382a2 !important;
}

body.theme-rivrun .rv-help-btn--ghost:hover,
body.theme-rivrun .footer .rv-help-btn.rv-help-btn--ghost:hover,
body.theme-rivrun .footer a.rv-help-btn--ghost:hover {
  background: #8382a2 !important;
  border-color: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Header/nav same container as pages */
body.theme-rivrun .rv-header .main-header > .container.rv-header__container,
body.theme-rivrun .rv-header .container.rv-header__container,
body.theme-rivrun .rv-announce > .container.rv-header__container {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.theme-rivrun .rv-nav {
  width: 100% !important;
  max-width: 100% !important;
  justify-content: space-evenly !important;
  flex-wrap: nowrap !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: 0.35rem 1.75rem !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

@media (min-width: 1200px) {
  body.theme-rivrun .rv-nav {
    gap: 0.45rem 2.5rem !important;
  }
}

@media (min-width: 1400px) {
  body.theme-rivrun .rv-nav {
    gap: 0.55rem 3.25rem !important;
  }
}

@media (min-width: 1660px) {
  body.theme-rivrun .rv-nav {
    gap: 0.65rem 4rem !important;
  }
}

body.theme-rivrun .rv-nav a {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  padding-left: 0.35rem !important;
  padding-right: 0.35rem !important;
}

body.theme-rivrun .rv-nav a:hover,
body.theme-rivrun .rv-nav a.active {
  color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

body.theme-rivrun .rv-announce,
body.theme-rivrun .rv-announce .container {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Soft announce (not near-black) + no black stripe under header */
body.theme-rivrun .main-header .rv-announce,
body.theme-rivrun .rv-announce {
  background: #75749a !important;
  background-color: #75749a !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Newsletter: no black — primary bar, white title, shorter height */
body.theme-rivrun .newsletter-section,
body.theme-rivrun section.newsletter-section {
  background: #8382a2 !important;
  background-color: #8382a2 !important;
  color: #ffffff !important;
  padding: 2.1rem 1rem !important;
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

body.theme-rivrun .newsletter-section h2,
body.theme-rivrun .newsletter-section .lead,
body.theme-rivrun .newsletter-section p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .newsletter-section h2 {
  margin-bottom: 0.55rem !important;
}

body.theme-rivrun .newsletter-form .form-control {
  background: #ffffff !important;
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  padding: 0.8rem 1rem !important;
}

body.theme-rivrun .newsletter-form .btn,
body.theme-rivrun .newsletter-form button[type="submit"] {
  background: #6f6e8f !important;
  border-color: #6f6e8f !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 0.8rem 1.25rem !important;
}

body.theme-rivrun .main-header,
body.theme-rivrun .rv-header .main-header,
body.theme-rivrun .header.rv-header {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.theme-rivrun .main-header::after,
body.theme-rivrun .rv-header::after,
body.theme-rivrun .rv-nav::after {
  display: none !important;
  content: none !important;
}

/* Hero flush under header — no fake tall free-delivery strip */
body.theme-rivrun .main-content > .video-hero-section,
body.theme-rivrun .video-hero-section {
  background: transparent !important;
  border: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: relative !important;
}

/* Removed: was making free-delivery look double-tall until scroll */
body.theme-rivrun .video-hero-section::before {
  display: none !important;
  content: none !important;
  height: 0 !important;
}

@media (max-width: 991.98px) {
  body.theme-rivrun .video-hero-section::before,
  body.theme-rivrun .main-content > .video-hero-section::before {
    display: none !important;
    content: none !important;
    height: 0 !important;
  }

  body.theme-rivrun .main-content > .video-hero-section,
  body.theme-rivrun .video-hero-section {
    margin-top: 0 !important;
    background: transparent !important;
  }
}

body.theme-rivrun .video-container {
  background: #75749a !important;
  border: 0 !important;
  margin-top: 0 !important;
}

body.theme-rivrun .hero-video {
  object-fit: cover !important;
  object-position: center 55% !important;
  background: #75749a !important;
  transform: scale(1.18);
  transform-origin: center 35%;
}

body.theme-rivrun .video-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.32) 100%
  ) !important;
}

/* Mobile: single header row — no 2nd nav/announce strip; logo visible */
@media (max-width: 991.98px) {
  body.theme-rivrun .header.rv-header,
  body.theme-rivrun header.header,
  body.theme-rivrun .main-header,
  body.theme-rivrun .rv-header .main-header,
  body.theme-rivrun .rv-header-bar,
  body.app-mobile.theme-rivrun .main-header,
  body.app-mobile .main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    inset-inline: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0 !important;
    background: #8382a2 !important;
    background-color: #8382a2 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.theme-rivrun .main-header,
  body.app-mobile .main-header {
    min-height: calc(var(--app-header-h, 70px) + env(safe-area-inset-top, 0px)) !important;
    height: calc(var(--app-header-h, 70px) + env(safe-area-inset-top, 0px)) !important;
    max-height: calc(var(--app-header-h, 70px) + env(safe-area-inset-top, 0px)) !important;
    overflow: hidden !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-bottom: 0 !important;
    box-shadow: 0 8px 22px rgba(92, 91, 117, 0.2) !important;
  }

  /* Kill empty 2nd navbar row on mobile/tablet */
  body.theme-rivrun .rv-nav,
  body.theme-rivrun nav.rv-nav,
  body.theme-rivrun .main-header .rv-nav,
  body.theme-rivrun .rv-announce,
  body.theme-rivrun .main-header .rv-announce,
  body.app-mobile .rv-nav,
  body.app-mobile .rv-announce {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  body.theme-rivrun .main-header > .container,
  body.theme-rivrun .main-header > .container.rv-header__container,
  body.theme-rivrun .rv-header__container,
  body.app-mobile .main-header > .container {
    max-width: none !important;
    width: 100% !important;
    height: var(--app-header-h, 70px) !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
  }

  body.theme-rivrun .rv-header-bar {
    width: 100% !important;
    max-width: none !important;
    height: var(--app-header-h, 70px) !important;
    min-height: var(--app-header-h, 70px) !important;
    margin: 0 !important;
    padding: 0 2px !important;
    background: #8382a2 !important;
    border: 0 !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  body.theme-rivrun .rv-icon-btn,
  body.theme-rivrun .mobile-menu-btn,
  body.theme-rivrun .rv-search-toggle {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    color: #ffffff !important;
  }

  body.theme-rivrun .rv-icon-btn i,
  body.theme-rivrun .mobile-menu-btn i,
  body.theme-rivrun .rv-search-toggle i {
    font-size: 1.2rem !important;
    color: #ffffff !important;
  }

  body.theme-rivrun .rv-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5 !important;
  }

  body.theme-rivrun .rv-logo img {
    display: block !important;
    max-height: 48px !important;
    height: 48px !important;
    width: auto !important;
    max-width: 168px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Mobile: logo image only — never show brand text when img exists */
  body.theme-rivrun .rv-logo-text,
  body.theme-rivrun .rv-logo-text--with-img {
    display: none !important;
  }

  body.theme-rivrun .rv-logo:not(:has(img)) .rv-logo-text {
    display: inline-block !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  body.theme-rivrun a.rv-hero-content__btn,
  body.theme-rivrun .rv-hero-content__btn {
    min-height: 52px !important;
    padding: 0.85rem 2.1rem !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(131, 130, 162, 0.6) !important;
    background-color: rgba(131, 130, 162, 0.6) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
    opacity: 1 !important;
    filter: none !important;
  }

  /* Mobile open search: frosted purple pill, no white box overflow */
  body.theme-rivrun .rv-search.is-open,
  body.app-mobile .rv-search.is-open {
    left: 0.55rem !important;
    right: 0.55rem !important;
    width: auto !important;
    max-width: none !important;
  }

  body.theme-rivrun .rv-search.is-open .rv-search-bar,
  body.app-mobile .rv-search.is-open .rv-search-bar,
  body.theme-rivrun .rv-header-bar .rv-search-bar {
    width: 100% !important;
    max-width: none !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0.25rem 0.35rem 0.25rem 0.95rem !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: rgba(92, 91, 117, 0.55) !important;
    background-color: rgba(92, 91, 117, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
  }

  body.theme-rivrun .rv-search.is-open .rv-search-input,
  body.theme-rivrun .rv-search.is-open .rv-search-bar input {
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.theme-rivrun .rv-search.is-open .rv-search-submit {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
  }
}


/* ---------- PDP: no black panels, readable sticky bar ---------- */
body.theme-rivrun .rv-pdp,
body.theme-rivrun .nj-pdp.rv-pdp,
body.theme-rivrun .product-detail-wrapper {
  background: #e9e9ef !important;
  color: #5c5b75 !important;
}

body.theme-rivrun .rv-pdp__accordion .accordion-item,
body.theme-rivrun .rv-pdp__accordion .accordion-button,
body.theme-rivrun .rv-pdp__accordion .accordion-body,
body.theme-rivrun .rv-pdp__richtext,
body.theme-rivrun .rv-pdp__cert,
body.theme-rivrun .rv-pdp__notes {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
  border-color: #d0d0dc !important;
}

body.theme-rivrun .rv-pdp__accordion .accordion-button:not(.collapsed) {
  background: #f4f4f8 !important;
  color: #8382a2 !important;
  -webkit-text-fill-color: #8382a2 !important;
}

body.theme-rivrun .rv-pdp__accordion .accordion-button::after {
  filter: none !important;
}

body.theme-rivrun .rv-pdp__accordion .accordion-body *,
body.theme-rivrun .rv-pdp__richtext,
body.theme-rivrun .rv-pdp__richtext p,
body.theme-rivrun .rv-pdp__richtext li,
body.theme-rivrun .rv-pdp__richtext span,
body.theme-rivrun .rv-pdp__notes li,
body.theme-rivrun .rv-pdp__cert p {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .rv-pdp__act--wish,
body.theme-rivrun .btn-wishlist {
  background: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .rv-pdp__act--msg,
body.theme-rivrun a.rv-pdp__act--msg,
body.theme-rivrun .rv-pdp__act--msg i,
body.theme-rivrun a.rv-pdp__act--msg span {
  background: #2b6cb0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .sticky-cart-footer,
body.theme-rivrun .rv-sticky-bar {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .rv-sticky-bar__shell,
body.theme-rivrun .rv-sticky-bar__inner,
body.theme-rivrun .sticky-cart-content {
  background: #ffffff !important;
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .sticky-product-name,
body.theme-rivrun .rv-sticky-bar__price,
body.theme-rivrun .sticky-product-price {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
  opacity: 1 !important;
}

body.theme-rivrun .sticky-current-price,
body.theme-rivrun .sticky-product-price .sticky-current-price {
  color: #3f3e55 !important;
  -webkit-text-fill-color: #3f3e55 !important;
  opacity: 1 !important;
}

body.theme-rivrun .rv-sticky-bar__atc-inner {
  background: #8382a2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* PDP size / color options — readable pills, primary selected */
body.theme-rivrun .rv-pdp__size,
body.theme-rivrun .rv-pdp__pill,
body.theme-rivrun label.rv-pdp__size,
body.theme-rivrun label.rv-pdp__pill,
body.theme-rivrun .variant-option-btn {
  width: auto !important;
  min-width: 3.1rem !important;
  min-height: 42px !important;
  height: auto !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: 999px !important;
  border: 1.5px solid #c8c7d6 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

body.theme-rivrun .rv-pdp__size .variant-option-text,
body.theme-rivrun .rv-pdp__pill .variant-option-text,
body.theme-rivrun .variant-option-btn .variant-option-text {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .rv-pdp__size:has(input:checked),
body.theme-rivrun .rv-pdp__size.is-active,
body.theme-rivrun .rv-pdp__pill:has(input:checked),
body.theme-rivrun .rv-pdp__pill.is-active,
body.theme-rivrun .variant-option-btn:has(input:checked),
body.theme-rivrun .variant-option-btn.is-active {
  background: #8382a2 !important;
  background-color: #8382a2 !important;
  border-color: #6f6e8f !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .rv-pdp__size:has(input:checked) .variant-option-text,
body.theme-rivrun .rv-pdp__size.is-active .variant-option-text,
body.theme-rivrun .rv-pdp__pill:has(input:checked) .variant-option-text,
body.theme-rivrun .rv-pdp__pill.is-active .variant-option-text,
body.theme-rivrun .variant-option-btn:has(input:checked) .variant-option-text,
body.theme-rivrun .variant-option-btn.is-active .variant-option-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.theme-rivrun .rv-sticky-bar__atc-inner i,
body.theme-rivrun .rv-sticky-bar__atc-inner .fas,
body.theme-rivrun .rv-sticky-bar__atc-inner span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 767.98px) {
  body.theme-rivrun .rv-sticky-bar__atc-label--full {
    display: none !important;
  }
  body.theme-rivrun .rv-sticky-bar__atc-label--short {
    display: inline !important;
  }
}

body.theme-rivrun .rv-pdp__stock {
  color: #7a7994 !important;
}

body.theme-rivrun .rv-pdp__short-desc,
body.theme-rivrun .rv-pdp__short-desc p,
body.theme-rivrun .rv-pdp__short-desc span {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .rv-pdp__section-title,
body.theme-rivrun .rv-pdp__reviews-meta,
body.theme-rivrun .rv-pdp__related-title {
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

body.theme-rivrun .rv-pdp__accordion .accordion-body p,
body.theme-rivrun .rv-pdp__accordion .accordion-body li,
body.theme-rivrun .rv-pdp__accordion .accordion-body span,
body.theme-rivrun .rv-pdp__accordion .accordion-collapse,
body.theme-rivrun .rv-pdp__accordion .accordion-collapse.show {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #5c5b75 !important;
  -webkit-text-fill-color: #5c5b75 !important;
}

/* ---------- Mobile full layout polish ---------- */
@media (max-width: 991.98px) {
  body.app-mobile.theme-rivrun,
  body.theme-rivrun.app-mobile {
    background: #ececf2 !important;
  }

  body.theme-rivrun .mobile-app-tabbar {
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid #dddce6 !important;
    box-shadow: 0 -10px 28px rgba(92, 91, 117, 0.12) !important;
  }

  body.theme-rivrun .mobile-app-tabbar a,
  body.theme-rivrun .mobile-app-tabbar button {
    gap: 4px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
  }

  body.theme-rivrun .mobile-app-tabbar a i,
  body.theme-rivrun .mobile-app-tabbar button i {
    font-size: 1.2rem !important;
  }

  body.theme-rivrun .mobile-app-tabbar a.active,
  body.theme-rivrun .mobile-app-tabbar button.active {
    color: #8382a2 !important;
  }

  body.theme-rivrun .rv-search.is-open .rv-search-bar,
  body.app-mobile .rv-search.is-open .rv-search-bar {
    min-height: 48px !important;
  }

  body.theme-rivrun .rv-header-right .dropdown.rv-push-dropdown .dropdown-menu,
  body.theme-rivrun .rv-push-menu.dropdown-menu {
    top: calc(var(--app-header-h, 70px) + env(safe-area-inset-top, 0px) + 8px) !important;
    inset: calc(var(--app-header-h, 70px) + env(safe-area-inset-top, 0px) + 8px) 0.75rem auto 0.75rem !important;
  }

  body.theme-rivrun .nj-product-card,
  body.theme-rivrun .product-card.nj-product-card {
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  body.theme-rivrun .rv-hero-content__btn,
  body.theme-rivrun a.rv-hero-content__btn {
    min-height: 54px !important;
    padding: 0.9rem 2.25rem !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 28px rgba(28, 26, 40, 0.2) !important;
  }

  body.theme-rivrun .whatsapp-chat-btn {
    bottom: calc(var(--app-tabbar-h, 72px) + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }
}
