/* ==========================================================================
   Nooraani — Rivrun Dark Luxury Theme (match reference layout)
   Black canvas · charcoal cards · white type · golden accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --rv-bg: #000000;
  --rv-surface: #121212;
  --rv-card: #1a1a1a;
  --rv-card-2: #222222;
  --rv-line: #2a2a2a;
  --rv-text: #ffffff;
  --rv-muted: #a0a0a0;
  /* Accent follows admin theme_one via --primary-color (set in layout) */
  --rv-gold: var(--primary-color, #c9a84c);
  --rv-gold-soft: color-mix(in srgb, var(--primary-color, #c9a84c) 72%, #ffffff);
  --rv-red: var(--rv-gold);
  --rv-red-soft: var(--rv-gold-soft);
  --rv-glow: rgba(var(--primary-color-rgb, 201, 168, 76), 0.28);
  --rv-radius: 14px;
  --rv-font-display: "Cormorant Garamond", Georgia, serif;
  --rv-font-body: "Outfit", system-ui, sans-serif;

  --text-dark: #ffffff;
  --bg-elegant: #000000;
  --gradient-bg: #000000;
  --pearl-white: #1a1a1a;
  --dark-purple: #0a0a0a;
  --light-purple: #1a1a1a;
  --soft-shadow: rgba(0, 0, 0, 0.45);
}

body.app-mobile.theme-rivrun,
body.theme-rivrun {
  background: var(--rv-bg) !important;
  color: var(--rv-text) !important;
  font-family: var(--rv-font-body) !important;
}

body.theme-rivrun h1,
body.theme-rivrun h2,
body.theme-rivrun h3,
body.theme-rivrun .section-title,
body.theme-rivrun .page-title,
body.theme-rivrun .shop-by-category-title {
  font-family: var(--rv-font-display) !important;
  color: #fff !important;
  letter-spacing: 0.02em;
}

body.theme-rivrun .main-content {
  background: transparent;
  min-height: 50vh;
}

body.theme-rivrun .text-muted,
body.theme-rivrun .text-dark {
  color: var(--rv-muted) !important;
}

body.theme-rivrun .bg-light,
body.theme-rivrun .bg-white,
body.theme-rivrun .card,
body.theme-rivrun .filters-sidebar,
body.theme-rivrun .products-toolbar,
body.theme-rivrun .page-header {
  background: var(--rv-card) !important;
  color: #fff !important;
  border-color: var(--rv-line) !important;
}

body.theme-rivrun .card-header {
  background: #151515 !important;
  border-color: var(--rv-line) !important;
  color: #fff !important;
}

body.theme-rivrun .form-control,
body.theme-rivrun .form-select,
body.theme-rivrun input,
body.theme-rivrun textarea,
body.theme-rivrun select {
  background: #111 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
}

body.theme-rivrun .form-control:focus,
body.theme-rivrun .form-select:focus {
  border-color: var(--primary-color, #c9a84c) !important;
  box-shadow: 0 0 0 0.15rem rgba(var(--primary-color-rgb, 201, 168, 76), 0.25) !important;
}

/* Solid gold / theme primary CTAs */
body.theme-rivrun .btn-primary {
  background: var(--primary-color, #c9a84c) !important;
  border: 1px solid var(--primary-color, #c9a84c) !important;
  color: #0a0a0a !important;
  border-radius: 999px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem !important;
}

body.theme-rivrun .btn-primary:hover {
  background: var(--rv-gold-soft, #e8c872) !important;
  border-color: var(--rv-gold-soft, #e8c872) !important;
  color: #0a0a0a !important;
}

body.theme-rivrun .btn-outline-primary,
body.theme-rivrun .btn-outline-secondary,
body.theme-rivrun .btn-light {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  border-radius: 999px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

body.theme-rivrun .btn-outline-primary:hover,
body.theme-rivrun .btn-light:hover {
  background: var(--primary-color, #c9a84c) !important;
  color: #0a0a0a !important;
  border-color: var(--primary-color, #c9a84c) !important;
}

/* ---------- Header (centered logo Rivrun style) ---------- */
body.theme-rivrun .header .top-bar,
body.theme-rivrun .corano-topbar {
  display: none !important;
}

body.theme-rivrun .rv-announce {
  background: #0a0a0a;
  color: #cfcfcf;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid #1f1f1f;
}

body.theme-rivrun .main-header {
  background: #000 !important;
  border-bottom: 1px solid #1f1f1f !important;
  box-shadow: none !important;
}

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 {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  overflow: visible !important;
}

/* Site-wide: slightly narrower content width */
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 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 992px) {
  body.theme-rivrun .container,
  body.theme-rivrun .container-lg,
  body.theme-rivrun .container-md,
  body.theme-rivrun .container-sm,
  body.theme-rivrun .container-xl,
  body.theme-rivrun .container-xxl {
    max-width: 1080px !important;
  }
}

@media (min-width: 1200px) {
  body.theme-rivrun .container,
  body.theme-rivrun .container-lg,
  body.theme-rivrun .container-md,
  body.theme-rivrun .container-sm,
  body.theme-rivrun .container-xl,
  body.theme-rivrun .container-xxl {
    max-width: 1140px !important;
  }
}

@media (min-width: 1400px) {
  body.theme-rivrun .container,
  body.theme-rivrun .container-lg,
  body.theme-rivrun .container-md,
  body.theme-rivrun .container-sm,
  body.theme-rivrun .container-xl,
  body.theme-rivrun .container-xxl {
    max-width: 1200px !important;
  }
}

body.theme-rivrun .rv-header,
body.theme-rivrun .rv-header .main-header {
  overflow: visible !important;
}

body.theme-rivrun .rv-header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0 0.35rem;
  width: 100%;
  position: relative;
  z-index: 30;
}

body.theme-rivrun .rv-header-left,
body.theme-rivrun .rv-header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  position: relative;
  z-index: 2;
}

body.theme-rivrun .rv-header-right {
  justify-content: flex-end;
}

/* Inline Rivrun pill search (opens on icon click) */
body.theme-rivrun .rv-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  z-index: 40;
}

body.theme-rivrun .rv-search.is-open {
  z-index: 80;
}

body.theme-rivrun .rv-search-bar {
  display: none;
  align-items: center;
  gap: 0.45rem;
  width: min(280px, 58vw);
  max-width: 320px;
  min-height: 42px;
  padding: 0.2rem 0.28rem 0.2rem 0.95rem;
  border-radius: 999px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: none;
  position: relative;
  z-index: 81;
}

body.theme-rivrun .rv-search-bar[hidden] {
  display: none !important;
}

body.theme-rivrun .rv-search.is-open .rv-search-toggle {
  display: none !important;
}

body.theme-rivrun .rv-search.is-open .rv-search-bar {
  display: inline-flex !important;
}

body.theme-rivrun .rv-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 0.88rem;
  padding: 0.35rem 0.25rem !important;
  height: auto !important;
  min-height: 0 !important;
}

body.theme-rivrun .rv-search-input::placeholder {
  color: rgba(255,255,255,.45) !important;
}

body.theme-rivrun .rv-search-submit {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.theme-rivrun .rv-search-submit:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

body.theme-rivrun .rv-search-bar .live-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 9999 !important;
  background: #141414 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0,0,0,.55);
  max-height: 60vh;
  overflow: auto;
  pointer-events: auto;
  padding: 6px 0;
}

body.theme-rivrun .rv-search-bar .live-search-dropdown,
body.theme-rivrun .live-search-dropdown,
body.theme-rivrun .app-search-results {
  color: #fff !important;
}

body.theme-rivrun .rv-search-bar .live-search-group-title,
body.theme-rivrun .live-search-dropdown .live-search-group-title {
  color: rgba(255,255,255,.5) !important;
}

body.theme-rivrun .rv-search-bar .live-search-item,
body.theme-rivrun .live-search-dropdown .live-search-item {
  color: #fff !important;
  background: transparent !important;
}

body.theme-rivrun .rv-search-bar .live-search-item:hover,
body.theme-rivrun .rv-search-bar .live-search-item:focus,
body.theme-rivrun .live-search-dropdown .live-search-item:hover,
body.theme-rivrun .live-search-dropdown .live-search-item:focus {
  background: rgba(var(--primary-color-rgb, 201, 168, 76), 0.1) !important;
  color: #fff !important;
}

body.theme-rivrun .rv-search-bar .live-search-item-meta strong,
body.theme-rivrun .live-search-dropdown .live-search-item-meta strong,
body.theme-rivrun .live-search-item-meta strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

body.theme-rivrun .rv-search-bar .live-search-item-meta small,
body.theme-rivrun .live-search-dropdown .live-search-item-meta small,
body.theme-rivrun .live-search-item-meta small {
  color: var(--primary-color, #c9a84c) !important;
}

body.theme-rivrun .rv-search-bar .live-search-empty,
body.theme-rivrun .rv-search-bar .live-search-loading,
body.theme-rivrun .live-search-dropdown .live-search-empty,
body.theme-rivrun .live-search-dropdown .live-search-loading {
  color: rgba(255,255,255,.6) !important;
}

body.theme-rivrun .rv-search-bar .live-search-item-icon {
  background: #222 !important;
  color: var(--primary-color, #c9a84c) !important;
}

@media (max-width: 991.98px) {
  body.theme-rivrun .rv-header-bar {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0;
    position: relative;
    z-index: 40;
  }

  body.theme-rivrun .rv-header-left {
    justify-content: flex-start;
    position: static;
    gap: 0.35rem;
    z-index: 6;
  }

  body.theme-rivrun .rv-logo {
    display: block !important;
    text-align: center;
    justify-self: center;
    z-index: 1;
    transition: opacity 0.2s ease;
  }

  body.theme-rivrun .rv-logo img {
    max-height: 36px;
  }

  body.theme-rivrun .rv-logo-text {
    font-size: 1.35rem;
  }

  /* Search icon on the right — above empty right column */
  body.theme-rivrun .rv-header-left .rv-search {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    pointer-events: auto;
  }

  body.theme-rivrun .rv-header-left .rv-search .rv-search-toggle {
    pointer-events: auto;
    position: relative;
    z-index: 26;
  }

  /* Empty right slot was blocking search taps */
  body.theme-rivrun .rv-header-right {
    display: block !important;
    pointer-events: none;
    z-index: 0;
    min-height: 40px;
    overflow: visible !important;
  }

  body.theme-rivrun .rv-header-right .dropdown.rv-push-dropdown {
    pointer-events: auto;
    position: absolute;
    right: 2.15rem;
    top: 50%;
    margin-top: -20px;
    transform: none;
    z-index: 50;
  }

  body.theme-rivrun .rv-header-right .dropdown.rv-push-dropdown .dropdown-menu,
  body.theme-rivrun .rv-header-right .rv-push-menu,
  body.theme-rivrun .rv-push-menu.dropdown-menu,
  body.theme-rivrun .rv-push-menu.dropdown-menu.show {
    position: fixed !important;
    top: 3.6rem !important;
    right: 0.75rem !important;
    left: 0.75rem !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    inset: 3.6rem 0.75rem auto 0.75rem !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 4000 !important;
  }

  body.theme-rivrun .rv-search.is-open {
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    width: auto;
  }

  body.theme-rivrun .rv-search.is-open .rv-search-bar {
    width: 100%;
    max-width: none;
  }

  /* Hide logo while search bar is open */
  body.theme-rivrun .rv-header-bar:has(.rv-search.is-open) .rv-logo,
  body.theme-rivrun.rv-search-open .rv-logo {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.theme-rivrun .rv-header-bar:has(.rv-search.is-open) .mobile-menu-btn,
  body.theme-rivrun.rv-search-open .mobile-menu-btn {
    opacity: 0;
    pointer-events: none;
  }

  body.theme-rivrun .rv-nav {
    display: none;
  }

  body.theme-rivrun .rr-auth-page__brand {
    display: none !important;
  }
}

@media (min-width: 992px) {
  body.theme-rivrun .rv-search-bar {
    width: 260px;
  }
}

body.theme-rivrun .rv-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none !important;
  border: 0;
  background: transparent;
  position: relative;
  font-size: 1.05rem;
}

body.theme-rivrun .rv-icon-btn .cart-count {
  background: var(--rv-red) !important;
  font-size: 0.65rem;
}

body.theme-rivrun .rv-push-dropdown {
  position: relative;
}

body.theme-rivrun .rv-push-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  background: #c9a227;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

body.theme-rivrun .rv-push-menu.dropdown-menu,
body.theme-rivrun .rv-push-menu.dropdown-menu.show {
  display: none;
  position: absolute !important;
  inset: auto 0 auto auto !important;
  top: calc(100% + 10px) !important;
  right: 0 !important;
  left: auto !important;
  float: none !important;
  width: min(320px, calc(100vw - 1.5rem)) !important;
  min-width: 260px !important;
  max-width: calc(100vw - 1.5rem) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: #161616 !important;
  border: 1px solid #2e2e2e !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.45) !important;
  z-index: 2000 !important;
  overflow: hidden !important;
  max-height: min(70vh, 420px) !important;
}

body.theme-rivrun .rv-push-menu.dropdown-menu.show {
  display: block !important;
}

body.theme-rivrun .rv-push-head {
  padding: 0.85rem 1rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  border-bottom: 1px solid #2a2a2a;
}

body.theme-rivrun .rv-push-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 0.35rem 0;
}

body.theme-rivrun .rv-push-empty {
  padding: 1.1rem 1rem;
  color: rgba(255,255,255,.45);
  font-size: 0.9rem;
}

body.theme-rivrun .rv-push-item {
  display: block;
  padding: 0.8rem 1rem;
  text-decoration: none !important;
  color: #f3f3f3 !important;
  border-bottom: 1px solid #242424;
}

body.theme-rivrun .rv-push-item:last-child {
  border-bottom: 0;
}

body.theme-rivrun .rv-push-item:hover {
  background: #222 !important;
  color: #fff !important;
}

body.theme-rivrun .rv-push-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

body.theme-rivrun .rv-push-body {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.62);
  line-height: 1.4;
}

body.theme-rivrun .rv-push-item.is-unread .rv-push-title {
  color: #e8d48b;
}

body.theme-rivrun .rv-logo {
  text-align: center;
  text-decoration: none !important;
}

body.theme-rivrun .rv-logo img {
  max-height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

body.theme-rivrun .rv-logo-text {
  font-family: var(--rv-font-display);
  font-size: 2rem;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1;
  display: block;
}

body.theme-rivrun .rv-logo-tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-top: 0.25rem;
}

body.theme-rivrun .rv-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0.55rem 0 0.9rem;
  border-top: 1px solid transparent;
  width: auto;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

body.theme-rivrun .rv-nav a {
  color: #ececec !important;
  text-decoration: none !important;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

body.theme-rivrun .rv-nav a:hover,
body.theme-rivrun .rv-nav a.active {
  color: #fff !important;
  border-bottom-color: var(--rv-red);
}

body.theme-rivrun .rv-nav .dropdown-menu {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
}

body.theme-rivrun .rv-nav .dropdown-item {
  color: #ddd !important;
}

body.theme-rivrun .rv-nav .dropdown-item:hover {
  background: #222 !important;
  color: #fff !important;
}

body.theme-rivrun .rv-lang {
  display: inline-flex;
  border: 1px solid #333;
  border-radius: 999px;
  overflow: hidden;
}

body.theme-rivrun .rv-lang a {
  color: #aaa !important;
  text-decoration: none !important;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
}

body.theme-rivrun .rv-lang a.active {
  background: var(--primary-color, #c9a84c);
  color: #0a0a0a !important;
}

body.theme-rivrun .navbar,
body.theme-rivrun .navbar-brand,
body.theme-rivrun .navbar-nav,
body.theme-rivrun .search-section,
body.theme-rivrun .header-actions {
  /* legacy navbar hidden when rv header used; keep mobile intact */
}

@media (min-width: 992px) {
  body.theme-rivrun .main-header .navbar.legacy-nav-hidden {
    display: none !important;
  }
}

/* ---------- Hero (full viewport below header) ---------- */
body.theme-rivrun .video-hero-section {
  height: calc(100vh - var(--desktop-header-h, var(--app-header-h, 70px))) !important;
  height: calc(100dvh - var(--desktop-header-h, var(--app-header-h, 70px))) !important;
  min-height: 420px !important;
  max-height: none !important;
}

body.theme-rivrun .video-container {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

body.theme-rivrun .hero-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Mobile: fill space between header and bottom tabbar (no empty black strip) */
@media (max-width: 991.98px) {
  body.theme-rivrun .video-hero-section {
    height: calc(
      100dvh
      - var(--mobile-header-offset, calc(var(--app-header-h, 48px) + env(safe-area-inset-top, 0px)))
      - var(--app-tabbar-h, 64px)
      - env(safe-area-inset-bottom, 0px)
    ) !important;
    min-height: 380px !important;
    max-height: none !important;
  }

  body.theme-rivrun .hero-video {
    object-fit: cover !important;
    object-position: center 30% !important;
  }

  body.theme-rivrun .rv-hero-content {
    justify-content: flex-end;
    padding: 1rem 1rem 2.25rem !important;
  }
}

body.theme-rivrun .video-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%) !important;
}

body.theme-rivrun .rv-hero-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.25rem 4rem;
  pointer-events: none;
}

body.theme-rivrun .rv-hero-content__title {
  margin: 0 0 0.65rem;
  max-width: 18ch;
  font-family: var(--rv-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  animation: rvHeroTitleIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.theme-rivrun .rv-hero-content__title::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 0.85rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color, #c9a84c),
    #fff,
    var(--primary-color, #c9a84c),
    transparent
  );
  animation: rvHeroLine 1.2s ease 0.55s forwards;
}

body.theme-rivrun .rv-hero-content__sub {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  line-height: 1.45;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
  animation: rvHeroSubIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

body.theme-rivrun .rv-hero-content__btn {
  --nj-sparkle-angle: 0deg;
  pointer-events: auto;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: rvHeroBtnIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

body.theme-rivrun .rv-hero-content__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background:
    conic-gradient(
      from var(--nj-sparkle-angle, 0deg),
      transparent 0deg 220deg,
      rgba(255, 255, 255, 0.2) 260deg,
      #fff 310deg,
      rgba(255, 255, 255, 0.2) 345deg,
      transparent 360deg
    );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: njSparkleAngle 3.4s linear infinite;
  pointer-events: none;
  z-index: 0;
}

body.theme-rivrun .rv-hero-content__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: rvHeroBtnShine 3.8s ease-in-out 1.4s infinite;
  pointer-events: none;
  z-index: 0;
}

body.theme-rivrun .rv-hero-content__btn:hover {
  background: var(--primary-color, #c9a84c);
  border-color: var(--primary-color, #c9a84c);
  color: #0a0a0a !important;
  box-shadow: 0 10px 28px rgba(var(--primary-color-rgb, 201, 168, 76), 0.35);
}

@keyframes rvHeroTitleIn {
  from {
    opacity: 0;
    filter: blur(10px);
    letter-spacing: 0.22em;
  }
  to {
    opacity: 1;
    filter: blur(0);
    letter-spacing: 0.06em;
  }
}

@keyframes rvHeroSubIn {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes rvHeroBtnIn {
  from {
    opacity: 0;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes rvHeroLine {
  from { width: 0; opacity: 0.2; }
  to { width: min(7rem, 42%); opacity: 1; }
}

@keyframes rvHeroBtnShine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

@media (max-width: 575.98px) {
  body.theme-rivrun .rv-hero-content {
    padding: 1rem 1rem 3.5rem;
  }
  body.theme-rivrun .rv-hero-content__title {
    max-width: 14ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-rivrun .rv-hero-content__title,
  body.theme-rivrun .rv-hero-content__title::after,
  body.theme-rivrun .rv-hero-content__sub,
  body.theme-rivrun .rv-hero-content__btn,
  body.theme-rivrun .rv-hero-content__btn::before,
  body.theme-rivrun .rv-hero-content__btn::after {
    animation: none !important;
  }
  body.theme-rivrun .rv-hero-content__title::after {
    width: min(7rem, 42%);
  }
}

body.theme-rivrun .home-hero-slider .carousel-caption {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  text-align: center !important;
  bottom: 18% !important;
  max-width: 760px;
}

body.theme-rivrun .home-hero-slider .carousel-caption h2 {
  font-family: var(--rv-font-display) !important;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.theme-rivrun .home-hero-slider .carousel-caption .btn,
body.theme-rivrun .home-hero-slider .carousel-caption .btn-light {
  background: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  border-radius: 999px !important;
  margin-top: 0.5rem;
}

/* ---------- Sections ---------- */
body.theme-rivrun .section-padding,
body.theme-rivrun .shop-by-category-section,
body.theme-rivrun .new-arrival-products,
body.theme-rivrun .browse-sale-products,
body.theme-rivrun .flash-sale-section,
body.theme-rivrun .newsletter-section,
body.theme-rivrun .services-section {
  background: #000 !important;
  color: #fff !important;
}

body.theme-rivrun .section-subtitle,
body.theme-rivrun .browse-sale-subtitle {
  color: #9a9a9a !important;
}

body.theme-rivrun .shop-by-category-title,
body.theme-rivrun .section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}

body.theme-rivrun .section-title::after,
body.theme-rivrun .shop-by-category-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.65rem auto 0;
  background: var(--primary-color, #c9a84c);
  border-radius: 999px;
}

body.theme-rivrun .category-panel {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
}

body.theme-rivrun .category-panel-label {
  background: linear-gradient(transparent, rgba(0,0,0,.85)) !important;
  color: #fff !important;
}

body.theme-rivrun .newsletter-section {
  background: linear-gradient(180deg, #0d0d0d, #000) !important;
}

body.theme-rivrun .newsletter-section h2,
body.theme-rivrun .newsletter-section .lead {
  color: #fff !important;
}

body.theme-rivrun .newsletter-section h2 {
  font-family: var(--rv-font-display) !important;
  letter-spacing: 0.02em;
}

body.theme-rivrun .newsletter-form .form-control {
  background: #111 !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.theme-rivrun .newsletter-form .form-control::placeholder {
  color: rgba(255,255,255,.4) !important;
}

body.theme-rivrun .newsletter-form .btn,
body.theme-rivrun .newsletter-form .btn-secondary,
body.theme-rivrun .newsletter-form button[type="submit"] {
  background: var(--primary-color, #c9a84c) !important;
  border: 1px solid var(--primary-color, #c9a84c) !important;
  color: #0a0a0a !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-rivrun .newsletter-form .btn:hover,
body.theme-rivrun .newsletter-form .btn-secondary:hover,
body.theme-rivrun .newsletter-form button[type="submit"]:hover {
  background: var(--rv-gold-soft, #e8c872) !important;
  border-color: var(--rv-gold-soft, #e8c872) !important;
  color: #0a0a0a !important;
}

body.theme-rivrun .flash-sale-section {
  background: radial-gradient(600px 280px at 80% 0%, var(--rv-glow, rgba(201,168,76,0.22)), transparent 60%), #0a0a0a !important;
}

body.theme-rivrun .countdown-item {
  background: #151515;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
}

body.theme-rivrun .browse-sale-tabs {
  background: #111;
  border: 1px solid #2a2a2a;
}

body.theme-rivrun .browse-sale-tab.active {
  background: var(--primary-color, #c9a84c) !important;
  color: #0a0a0a !important;
}

/* ---------- Product cards (premium dark + dynamic gold) ---------- */
body.theme-rivrun .nj-product-card,
body.theme-rivrun .product-card.nj-product-card {
  position: relative;
  background: #121212 !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 18px !important;
  overflow: visible;
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 991.98px) {
  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.theme-rivrun .product-card.nj-product-card {
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    background: #121212 !important;
    box-shadow: none !important;
  }

  body.theme-rivrun .nj-product-card__media {
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px 12px 0 0 !important;
  }

  body.theme-rivrun .nj-product-card__body {
    padding: 0.7rem 0.75rem 0.85rem !important;
    gap: 0.35rem !important;
  }

  body.theme-rivrun .nj-product-card__title {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.theme-rivrun .nj-product-card__tags {
    display: none !important;
  }

  body.theme-rivrun .nj-product-card__price {
    margin: 0.1rem 0 0.15rem !important;
    gap: 0.35rem !important;
  }

  body.theme-rivrun .nj-product-card__price-now {
    font-size: 0.88rem !important;
  }

  body.theme-rivrun .nj-product-card__price-was {
    font-size: 0.72rem !important;
  }

  body.theme-rivrun .nj-product-card__action {
    margin-top: 0.35rem !important;
    padding-top: 0.15rem;
  }

  body.theme-rivrun .nj-product-card__action .product-add-to-cart.nj-atc-beam,
  body.theme-rivrun .nj-product-card__action .nj-atc-beam {
    min-width: 100% !important;
    min-height: 0 !important;
    margin: 0.15rem 0 0 !important;
    padding: 1.5px !important;
  }

  body.theme-rivrun .nj-atc-beam__inner {
    min-height: 28px !important;
    padding: 0.28rem 0.65rem !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.03em;
    gap: 0.3rem;
  }

  body.theme-rivrun .nj-atc-beam__inner i {
    font-size: 0.62rem !important;
  }

  body.theme-rivrun .nj-product-grid {
    --bs-gutter-x: 0.55rem;
    --bs-gutter-y: 0.7rem;
  }

  /* Lightweight sparkle on mobile — no drop-shadow / continuous ring (avoids hang) */
  body.theme-rivrun .nj-product-card,
  body.theme-rivrun .product-card.nj-product-card {
    transition: border-color 0.12s ease !important;
    will-change: auto;
  }

  body.theme-rivrun .nj-product-card:hover,
  body.theme-rivrun .nj-product-card.is-sparkle {
    transform: none !important;
    box-shadow: none !important;
  }

  body.theme-rivrun .nj-product-card__media img {
    transition: none !important;
  }

  body.theme-rivrun .nj-product-card:hover .nj-product-card__media img,
  body.theme-rivrun .nj-product-card.is-sparkle .nj-product-card__media img {
    transform: none !important;
  }

  body.theme-rivrun .nj-product-card__media::after {
    display: none !important;
  }

  /* Static gold ATC border — no spinning conic mask on every card */
  body.theme-rivrun .nj-atc-beam__ring {
    animation: none !important;
    filter: none !important;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.75),
      var(--primary-color, #c9a84c),
      rgba(255, 255, 255, 0.35)
    ) !important;
  }

  body.theme-rivrun .nj-product-card.is-sparkle .nj-atc-beam__ring {
    animation: njMobileAtcPulse 0.7s ease-out 1 !important;
  }

  body.theme-rivrun .nj-card-star {
    filter: none !important;
    transition: opacity 0.12s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
    transform: scale(0.4);
    will-change: transform, opacity;
  }

  body.theme-rivrun .nj-card-star--4,
  body.theme-rivrun .nj-card-star--5,
  body.theme-rivrun .nj-card-star--6 {
    display: none !important;
  }

  body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star {
    opacity: 1 !important;
    filter: none !important;
    z-index: 5;
  }

  body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--1 {
    top: 6% !important;
    left: 12% !important;
    width: 14px !important;
    transform: scale(1);
  }

  body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--2 {
    top: 10% !important;
    left: 72% !important;
    width: 10px !important;
    transform: scale(1);
  }

  body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--3 {
    top: 28% !important;
    left: 8% !important;
    width: 7px !important;
    transform: scale(1);
  }
}

@keyframes njMobileAtcPulse {
  0% { opacity: 0.45; }
  40% { opacity: 1; }
  100% { opacity: 0.85; }
}

body.theme-rivrun .nj-product-grid {
  overflow: visible;
}

body.theme-rivrun .nj-product-grid > [class*="col"] {
  overflow: visible;
}

body.theme-rivrun .nj-product-card:hover,
body.theme-rivrun .nj-product-card.is-sparkle {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-color-rgb, 201, 168, 76), 0.5) !important;
  box-shadow: 0 0 25px rgba(98, 98, 98, 0.55), 0 14px 30px rgba(0, 0, 0, 0.45) !important;
  z-index: 3;
}

body.theme-rivrun .nj-product-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  aspect-ratio: 4 / 3;
  background: #000 !important;
  flex: 0 0 auto;
}

body.theme-rivrun .nj-product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

body.theme-rivrun .nj-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

body.theme-rivrun .nj-product-card:hover .nj-product-card__media img,
body.theme-rivrun .nj-product-card.is-sparkle .nj-product-card__media img {
  transform: scale(1.04);
}

body.theme-rivrun .nj-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(var(--primary-color-rgb, 201, 168, 76), 0.15) !important;
  color: var(--primary-color, #c9a84c) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-color-rgb, 201, 168, 76), 0.45);
  line-height: 1.2;
}

body.theme-rivrun .nj-product-card__ribbon,
body.theme-rivrun .nj-product-card__wish,
body.theme-rivrun .nj-product-card__quick,
body.theme-rivrun .nj-product-card__pricebar {
  display: none !important;
}

body.theme-rivrun .nj-product-card__body {
  padding: 0.65rem 0.85rem 0.75rem !important;
  text-align: left !important;
  background: #121212 !important;
  flex: 0 0 auto;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0.35rem;
  border-radius: 0 0 18px 18px;
}

body.theme-rivrun .nj-product-card__title {
  font-family: var(--rv-font-body) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-align: left !important;
}

body.theme-rivrun .nj-product-card__title a {
  color: #fff !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.theme-rivrun .nj-product-card__title a:hover {
  color: var(--primary-color, #c9a84c) !important;
}

body.theme-rivrun .nj-product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

body.theme-rivrun .nj-product-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-color-rgb, 201, 168, 76), 0.3);
  background: rgba(var(--primary-color-rgb, 201, 168, 76), 0.08);
  color: var(--primary-color, #c9a84c);
  font-size: 0.68rem;
  line-height: 1.2;
  white-space: nowrap;
}

body.theme-rivrun .nj-product-card__price {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0.05rem 0 0.15rem !important;
  text-align: left !important;
}

body.theme-rivrun .nj-product-card__price-now {
  color: var(--primary-color, #c9a84c) !important;
  font-weight: 700;
  font-size: 1.15rem;
}

body.theme-rivrun .nj-product-card__price-was {
  color: rgba(255,255,255,.45) !important;
  text-decoration: line-through;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 1 !important;
}

body.theme-rivrun .nj-product-card.has-offer .nj-product-card__price-now {
  color: var(--primary-color, #c9a84c) !important;
}

body.theme-rivrun .nj-product-card.has-offer .nj-product-card__price-was {
  color: rgba(255,255,255,.4) !important;
}

body.theme-rivrun .nj-product-card__action {
  display: flex !important;
  justify-content: center;
  margin-top: 0.15rem !important;
  padding: 0.2rem 0 0 !important;
  background: transparent !important;
}

/* ---------- Rivrun card sparkle stars (hover) ---------- */
body.theme-rivrun .nj-card-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

body.theme-rivrun .nj-card-star {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 25px;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  opacity: 0;
  transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

body.theme-rivrun .nj-card-star svg {
  display: block;
  width: 100%;
  height: auto;
}

body.theme-rivrun .nj-card-star__path {
  fill: #fff;
}

body.theme-rivrun .nj-card-star--2 {
  top: 15%;
  left: 35%;
  width: 15px;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

body.theme-rivrun .nj-card-star--3 {
  top: 10%;
  left: 10%;
  width: 5px;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

body.theme-rivrun .nj-card-star--4 {
  top: 10%;
  left: 10%;
  width: 8px;
  transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

body.theme-rivrun .nj-card-star--5 {
  top: 5%;
  left: 10%;
  width: 15px;
  transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
}

body.theme-rivrun .nj-card-star--6 {
  top: 5%;
  left: 10%;
  width: 5px;
  transition: all 0.8s ease;
}

body.theme-rivrun .nj-product-card:hover .nj-card-star,
body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star {
  opacity: 1;
  filter: drop-shadow(0 0 10px #fffdef);
  z-index: 5;
}

body.theme-rivrun .nj-product-card:hover .nj-card-star--1,
body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--1 {
  top: -10%;
  left: 10%;
  width: 25px;
}

body.theme-rivrun .nj-product-card:hover .nj-card-star--2,
body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--2 {
  top: -25%;
  left: 10%;
  width: 15px;
}

body.theme-rivrun .nj-product-card:hover .nj-card-star--3,
body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--3 {
  top: 25%;
  left: 5%;
  width: 5px;
}

body.theme-rivrun .nj-product-card:hover .nj-card-star--4,
body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--4 {
  top: 30%;
  left: 80%;
  width: 8px;
}

body.theme-rivrun .nj-product-card:hover .nj-card-star--5,
body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--5 {
  top: 15%;
  left: 8%;
  width: 15px;
}

body.theme-rivrun .nj-product-card:hover .nj-card-star--6,
body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--6 {
  top: 5%;
  left: 30%;
  width: 5px;
}

/* ATC — Rivrun buy-sparkle ring (masked conic light) */
body.theme-rivrun .nj-product-card__action .product-add-to-cart.nj-atc-beam,
body.theme-rivrun .nj-product-card__action .nj-atc-beam {
  --nj-sparkle-angle: 0deg;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 72%;
  max-width: 100%;
  height: auto !important;
  min-height: 40px;
  padding: 2px !important;
  margin: 0.2rem 0 0.05rem !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #fff !important;
  overflow: visible;
  box-shadow: none !important;
  cursor: pointer;
  isolation: isolate;
}

body.theme-rivrun .nj-atc-beam__ring {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background:
    conic-gradient(
      from var(--nj-sparkle-angle, 0deg),
      transparent 0deg 236deg,
      rgba(255, 255, 255, 0.18) 272deg,
      rgba(255, 255, 255, 0.85) 306deg,
      #ffffff 322deg,
      rgba(255, 255, 255, 0.85) 338deg,
      rgba(255, 255, 255, 0.18) 352deg,
      transparent 360deg
    ),
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(var(--primary-color-rgb, 201, 168, 76), 0.55) 30%,
      rgba(255, 255, 255, 0.16) 55%,
      rgba(var(--primary-color-rgb, 201, 168, 76), 0.85) 100%
    );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.55));
  animation: njSparkleAngle 3.4s linear infinite;
}

@keyframes njSparkleAngle {
  to { --nj-sparkle-angle: 360deg; }
}

@property --nj-sparkle-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

body.theme-rivrun .nj-atc-beam__inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 100%;
  min-height: 36px;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(var(--primary-color-rgb, 201, 168, 76), 0.45);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-rivrun .nj-atc-beam__inner i {
  display: inline-block !important;
  font-size: 0.85rem;
  line-height: 1;
  margin: 0 !important;
  color: var(--primary-color, #c9a84c);
}

body.theme-rivrun .nj-product-card__action .nj-atc-beam:hover .nj-atc-beam__inner,
body.theme-rivrun .nj-product-card__action .nj-atc-beam:focus .nj-atc-beam__inner {
  background: rgba(var(--primary-color-rgb, 201, 168, 76), 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--primary-color, #c9a84c);
}

body.theme-rivrun .nj-product-card__action .nj-atc-beam:hover .nj-atc-beam__inner i,
body.theme-rivrun .nj-product-card__action .nj-atc-beam:focus .nj-atc-beam__inner i {
  color: var(--rv-gold-soft, #e8c872);
}

/* Soft light sweep across product image */
body.theme-rivrun .nj-product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255,255,255,0.1) 48%,
    rgba(255,255,255,0.22) 52%,
    transparent 65%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 2;
}

body.theme-rivrun .nj-product-card:hover .nj-product-card__media::after,
body.theme-rivrun .nj-product-card.is-sparkle .nj-product-card__media::after {
  animation: njCardShine 1.1s ease forwards;
}

@keyframes njCardShine {
  to { transform: translateX(120%); }
}

@media (max-width: 575.98px) {
  body.theme-rivrun .nj-atc-beam__inner {
    font-size: 0.7rem;
    padding: 0.48rem 0.85rem;
    min-height: 36px;
  }
  body.theme-rivrun .nj-card-star--1 { width: 18px; }
  body.theme-rivrun .nj-product-card:hover .nj-card-star--1,
  body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--1 { width: 18px; }
  body.theme-rivrun .nj-product-card:hover .nj-card-star--2,
  body.theme-rivrun .nj-product-card.is-sparkle .nj-card-star--2 { width: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-rivrun .nj-atc-beam__ring,
  body.theme-rivrun .nj-product-card:hover .nj-product-card__media::after,
  body.theme-rivrun .nj-product-card.is-sparkle .nj-product-card__media::after {
    animation: none;
  }
  body.theme-rivrun .nj-atc-beam__ring {
    filter: none;
  }
  body.theme-rivrun .nj-card-star {
    transition: none;
  }
}

/* ---------- Pagination (Rivrun circular) ---------- */
body.theme-rivrun .pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

body.theme-rivrun .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

body.theme-rivrun .pagination .page-item {
  margin: 0;
}

body.theme-rivrun .pagination .page-link {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: none !important;
}

body.theme-rivrun .pagination .page-item.active .page-link,
body.theme-rivrun .pagination .page-item.active .page-link:hover {
  background: var(--primary-color, #c9a84c) !important;
  color: #0a0a0a !important;
  border-color: var(--primary-color, #c9a84c) !important;
}

body.theme-rivrun .pagination .page-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: #fff !important;
}

body.theme-rivrun .pagination .page-item.disabled .page-link {
  opacity: 0.35;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  background: transparent !important;
}

body.theme-rivrun .pagination .page-item:first-child .page-link,
body.theme-rivrun .pagination .page-item:last-child .page-link {
  border-radius: 50% !important;
  font-size: 0.75rem;
}

/* ---------- Listing ---------- */
body.theme-rivrun .app-listing-wrap {
  background: #000;
}

body.theme-rivrun .app-page-toolbar {
  background: #111 !important;
  border-color: #222 !important;
}

body.theme-rivrun .filter-title,
body.theme-rivrun .page-title,
body.theme-rivrun .form-check-label {
  color: #ddd !important;
}

/* ---------- PDP ---------- */
body.theme-rivrun .nj-pdp,
body.theme-rivrun .product-detail-wrapper {
  color: #fff;
}

body.theme-rivrun .main-image-container,
body.theme-rivrun .nj-pdp__gallery .main-image-container {
  background: #111 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 12px;
}

body.theme-rivrun .product-title-modern,
body.theme-rivrun .current-price-modern {
  color: #fff !important;
}

body.theme-rivrun .current-price-modern {
  color: var(--rv-red) !important;
}

body.theme-rivrun .original-price-modern {
  color: #888 !important;
}

body.theme-rivrun .category-tag,
body.theme-rivrun .brand-tag {
  background: #222 !important;
  color: #ddd !important;
}

body.theme-rivrun .sticky-cart-footer {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 1rem !important;
  z-index: 1050 !important;
  background: transparent !important;
  border-top: 0 !important;
  transform: translateY(140%) !important;
  transition: transform 0.3s ease !important;
  max-height: none;
  overflow: visible !important;
}

body.theme-rivrun .sticky-cart-footer.show {
  transform: translateY(0) !important;
}

body.theme-rivrun .sticky-product-image {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover !important;
}

/* ---------- Footer Rivrun (match reference) ---------- */
body.theme-rivrun footer.footer,
body.theme-rivrun .footer.rv-footer {
  background: #000 !important;
  border-top: 1px solid #1a1a1a;
  margin-top: 0 !important;
  color: #fff;
}

body.theme-rivrun .rv-footer__inner {
  padding-top: 3.5rem;
  padding-bottom: 2.75rem;
}

body.theme-rivrun .rv-footer__top {
  margin-bottom: 2.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #1f1f1f;
}

body.theme-rivrun .rv-footer__logo img {
  max-height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

body.theme-rivrun .rv-footer__logo .rv-logo-text {
  font-family: var(--rv-font-display);
  font-size: 2rem;
  color: #fff;
  font-weight: 600;
}

body.theme-rivrun .rv-footer__brand-title {
  font-family: var(--rv-font-display) !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

body.theme-rivrun .rv-footer__brand-desc {
  max-width: 28rem;
  margin: 0;
  color: #9a9a9a !important;
  font-size: 0.92rem;
  line-height: 1.7;
}

body.theme-rivrun .rv-help-box {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 0 40px rgba(180, 40, 55, 0.07);
}

body.theme-rivrun .rv-help-box__title {
  font-family: var(--rv-font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 0.45rem;
}

body.theme-rivrun .rv-help-box__text {
  color: #9a9a9a !important;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 1.1rem;
}

body.theme-rivrun .rv-help-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.theme-rivrun .rv-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

body.theme-rivrun .rv-help-btn--solid {
  background: var(--primary-color, #c9a84c) !important;
  color: #0a0a0a !important;
  border: 1px solid var(--primary-color, #c9a84c);
}

body.theme-rivrun .rv-help-btn--solid:hover {
  background: var(--rv-gold-soft, #e8c872) !important;
  color: #0a0a0a !important;
}

body.theme-rivrun .rv-help-btn--ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

body.theme-rivrun .rv-help-btn--ghost:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff;
}

body.theme-rivrun .footer-widget h6 {
  color: var(--primary-color, #c9a84c) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--rv-font-body) !important;
  font-weight: 600 !important;
  margin: 0 0 1rem;
}

body.theme-rivrun .footer-widget ul li {
  margin-bottom: 0.65rem;
}

body.theme-rivrun .footer-widget ul li:last-child {
  margin-bottom: 0;
}

body.theme-rivrun .footer-widget a,
body.theme-rivrun .footer a {
  color: #cfcfcf !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

body.theme-rivrun .footer-widget a:hover,
body.theme-rivrun .footer a:hover {
  color: var(--primary-color, #c9a84c) !important;
}

/* Call button — solid theme gold on dark footer */
body.theme-rivrun .footer .rv-help-btn.rv-help-btn--solid,
body.theme-rivrun .footer a.rv-help-btn--solid {
  background: var(--primary-color, #c9a84c) !important;
  color: #0a0a0a !important;
  border: 1px solid var(--primary-color, #c9a84c) !important;
  font-weight: 700 !important;
  -webkit-text-fill-color: #0a0a0a;
}

body.theme-rivrun .footer .rv-help-btn.rv-help-btn--solid:hover,
body.theme-rivrun .footer a.rv-help-btn--solid:hover {
  background: var(--rv-gold-soft, #e8c872) !important;
  border-color: var(--rv-gold-soft, #e8c872) !important;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a;
}

body.theme-rivrun .footer .rv-help-btn.rv-help-btn--ghost,
body.theme-rivrun .footer a.rv-help-btn--ghost {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

body.theme-rivrun .footer .rv-help-btn.rv-help-btn--ghost:hover,
body.theme-rivrun .footer a.rv-help-btn--ghost:hover {
  background: var(--primary-color, #c9a84c) !important;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a;
}

body.theme-rivrun .footer .rv-footer__brand-desc,
body.theme-rivrun .footer .rv-help-box__text,
body.theme-rivrun .footer .rv-social__caption {
  color: #9a9a9a !important;
}

body.theme-rivrun .rv-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

body.theme-rivrun .rv-social__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.theme-rivrun .rv-social__btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  color: #fff !important;
}

body.theme-rivrun .rv-social__btn--facebook {
  background: #1877f2 !important;
}

body.theme-rivrun .rv-social__btn--instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af) !important;
}

body.theme-rivrun .rv-social__btn--youtube {
  background: #ff0000 !important;
}

body.theme-rivrun .rv-social__btn--tiktok {
  background: #111 !important;
  border: 1px solid #333;
}

body.theme-rivrun .rv-social__btn--twitter,
body.theme-rivrun .rv-social__btn--default {
  background: #333 !important;
}

body.theme-rivrun .rv-social__caption {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  max-width: 16rem;
}

body.theme-rivrun .footer-bottom {
  border-top: 1px solid #1f1f1f !important;
  background: #000;
  padding: 1rem 0;
}

body.theme-rivrun .footer-bottom p,
body.theme-rivrun .footer-bottom a {
  color: #888 !important;
  font-size: 0.8rem;
}

body.theme-rivrun .footer-bottom a {
  margin-left: 1rem;
}

body.theme-rivrun .footer-bottom a:first-child {
  margin-left: 0;
}

@media (max-width: 767.98px) {
  body.theme-rivrun .rv-footer__inner {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  body.theme-rivrun .rv-help-box__actions {
    flex-direction: column;
  }

  body.theme-rivrun .rv-help-btn {
    width: 100%;
  }

  body.theme-rivrun .footer-bottom .text-md-end a {
    margin-left: 0;
    margin-right: 1rem;
  }
}

/* ---------- Auth / account ---------- */
body.theme-rivrun .login-section,
body.theme-rivrun .login-card {
  background: transparent;
}

body.theme-rivrun .login-card {
  background: #141414 !important;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(180, 40, 55, 0.1);
}

body.theme-rivrun .login-title {
  font-family: var(--rv-font-display) !important;
  color: #fff !important;
}

body.theme-rivrun .login-subtitle,
body.theme-rivrun .form-label {
  color: #aaa !important;
}

/* Mobile sheets / tabbar */
body.theme-rivrun .mobile-app-tabbar {
  background: #0a0a0a !important;
  border-top: 1px solid #222 !important;
}

body.theme-rivrun .app-mobile-menu,
body.theme-rivrun .app-search-sheet,
body.theme-rivrun .offcanvas {
  background: #0f0f0f !important;
  color: #fff !important;
}

body.theme-rivrun .app-menu-item,
body.theme-rivrun .app-menu-text,
body.theme-rivrun .offcanvas-title {
  color: #eee !important;
}

/* Navbar search panel */
body.theme-rivrun .app-search-sheet.offcanvas-top {
  visibility: hidden;
  height: auto !important;
  max-height: min(78vh, 640px) !important;
  border: 0 !important;
  border-radius: 0 0 16px 16px !important;
  background: #121212 !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.55) !important;
  z-index: 1080 !important;
}

body.theme-rivrun .app-search-sheet.offcanvas-top.show {
  visibility: visible;
}

body.theme-rivrun .app-search-sheet .offcanvas-header {
  background: #121212 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

body.theme-rivrun .app-search-sheet .offcanvas-body {
  background: #121212 !important;
}

body.theme-rivrun .app-search-sheet .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.85;
}

body.theme-rivrun .app-search-input-wrap i {
  color: var(--primary-color, #c9a84c) !important;
}

body.theme-rivrun .app-search-input-wrap .live-search-input,
body.theme-rivrun .app-search-sheet .form-control {
  background: #1a1a1a !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
  border-radius: 12px !important;
}

body.theme-rivrun .app-search-input-wrap .live-search-input::placeholder {
  color: rgba(255,255,255,.45) !important;
}

body.theme-rivrun .app-search-input-wrap .live-search-input:focus {
  border-color: var(--primary-color, #c9a84c) !important;
  box-shadow: 0 0 0 0.15rem rgba(var(--primary-color-rgb, 201, 168, 76), 0.25) !important;
}

body.theme-rivrun .app-search-results.live-search-dropdown {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.theme-rivrun .app-search-results .live-search-item {
  background: #1a1a1a !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 10px;
  margin-bottom: 8px;
  color: #fff !important;
}

body.theme-rivrun .app-search-results .live-search-item:hover {
  border-color: var(--primary-color, #c9a84c) !important;
}

body.theme-rivrun .app-search-results .live-search-item-meta strong {
  color: #fff !important;
}

body.theme-rivrun .app-search-results .live-search-item-meta small,
body.theme-rivrun .app-search-results .live-search-empty,
body.theme-rivrun .app-search-results .live-search-loading {
  color: rgba(255,255,255,.55) !important;
}

body.theme-rivrun .rv-search-toggle[aria-expanded="true"] {
  color: var(--primary-color, #c9a84c) !important;
}

@media (max-width: 991.98px) {
  body.theme-rivrun .rv-nav {
    display: none;
  }
  body.theme-rivrun .rv-header-bar {
    padding-bottom: 0.65rem;
  }
}
