/* =========================================================================
   RustFront PayNow template (re-skin of the PayNow Obsidian base)
   ----------------------------------------------------------------------
   - Mirrors the rustfront.com design tokens (obsidian background,
     rust-orange accent, cream typography).
   - All PayNow Twig placeholders, form actions, and JS hooks
     (subscribeToProduct, addProductToCart, handlePurchase, etc.) are
     untouched in the corresponding HTML files; this file only changes
     visual styling.
   ========================================================================= */

:root {
  --rf-bg: #0a0908;
  --rf-bg-elevated: #14110d;
  --rf-surface: #1a1612;
  --rf-surface-2: #221c16;
  --rf-surface-3: #2b231b;
  --rf-surface-hover: #342b21;
  --rf-border: #38302a;
  --rf-border-strong: #4a4138;
  --rf-text: #f4ede2;
  --rf-text-strong: #ffffff;
  --rf-muted: #968d80;
  --rf-muted-soft: #5c5448;
  --rf-accent: #e0653a;
  --rf-accent-hot: #f37a4d;
  --rf-accent-soft: rgba(224, 101, 58, 0.14);
  --rf-accent-border: rgba(224, 101, 58, 0.5);
  --rf-success: #5fb87c;
  --rf-warning: #e0a93a;
  --rf-danger: #e0524a;

  --rf-radius: 6px;
  --rf-radius-lg: 10px;
  --rf-radius-pill: 999px;
  --rf-transition: 180ms ease;

  --rf-font-body: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rf-font-display: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --rf-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", ui-monospace, monospace;

  /* Override the PayNow base theme variables so existing class hooks keep
     working but render with RustFront colors. */
  --text-color: var(--rf-text);
  --header-bg: var(--rf-bg-elevated);
  --footer-bg: rgba(10, 9, 8, 0.7);
  --bg-color: var(--rf-bg);
  --panel-body: var(--rf-surface);
  --border-color: var(--rf-border);
  --border: 1px solid var(--rf-border);
  --border-top: linear-gradient(0deg, var(--rf-surface), var(--rf-surface)),
    linear-gradient(180deg, rgba(224, 101, 58, 0.12) 0%, rgba(0, 0, 0, 0) 25%);
  --shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);

  --first-color: var(--rf-border);
  --second-color: var(--rf-surface-2);
  --input: rgba(0, 0, 0, 0.4);

  --logo-height: 56px;
  --btn-pad: 0.5rem;
  --spacing-xs: 0.5rem;
  --spacing-s: 1rem;
  --spacing-m: 1.5rem;
  --transition: var(--rf-transition);
  --border-radius: var(--rf-radius);
}

/* =========================================================================
   Base
   ========================================================================= */

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

html {
  font: 15px/1.5 var(--rf-font-body);
  color: var(--rf-text);
  background-color: var(--rf-bg);
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--rf-bg);
  background:
    radial-gradient(80% 60% at 50% -10%, rgba(224, 101, 58, 0.12), transparent 60%),
    radial-gradient(50% 40% at 100% 0%, rgba(95, 184, 124, 0.04), transparent 60%),
    var(--rf-bg);
  background-attachment: fixed;
  color: var(--rf-text);
  font-family: var(--rf-font-body);
}

.body {
  background-color: transparent;
  background-image: none;
}

.container {
  position: relative;
  height: 100%;
}

@media only screen and (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1240px !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--rf-text-strong);
  text-decoration: none;
  transition: color var(--rf-transition);
}

hr {
  border-color: var(--rf-border);
}

/* =========================================================================
   Header
   ========================================================================= */

header {
  background: var(--rf-bg-elevated);
  border-bottom: 1px solid var(--rf-border);
}

.header-top {
  padding-block: 0.5rem;
}

.header-logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-logo h1,
.header-logo .rf-brand {
  font-family: var(--rf-font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  text-transform: none;
  color: var(--rf-text-strong);
}

.header-logo .rf-brand .rf-brand-accent {
  color: var(--rf-accent);
}

.header-logo .rf-brand-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rf-muted-soft);
  margin-top: 4px;
}

.header-item {
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xs);
  background: var(--rf-surface-2);
  border-radius: var(--rf-radius);
  border: 1px solid var(--rf-border);
  position: relative;
  transition: border-color var(--rf-transition);
}

.header-item:hover {
  border-color: var(--rf-accent-border);
  color: var(--rf-text-strong);
}

.header-item:first-child {
  padding: 0;
}

.header-item svg {
  height: 22px;
}

.header-cart .cart-number,
span.cart-number {
  position: absolute;
  top: -10px;
  right: -10px;
  height: 22px;
  width: 22px;
  background: var(--rf-accent);
  border-radius: var(--rf-radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

/* Social buttons in the header — subtle, not casino-bright */
.social-media {
  width: auto;
}

.header-account {
  width: auto;
}

.social-media li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--rf-radius);
  border: 1px solid var(--rf-border);
  background: var(--rf-surface-2);
  color: var(--rf-muted);
  transition: border-color var(--rf-transition), color var(--rf-transition);
}

.social-media li a:hover {
  color: var(--rf-text-strong);
  border-color: var(--rf-accent-border);
}

.social-media li a i {
  font-size: 16px;
  color: inherit;
  background: transparent;
  padding: 0;
  width: auto;
  height: auto;
}

/* Override the original brand-tinted social buttons */
.social-media li a.twitch i,
.social-media-item.discord i,
.social-media-item.youtube i,
.social-media-item.twitter i,
.social-media-item.instagram i,
.social-media-item.facebook i,
.social-media-item.tiktok i {
  background: transparent;
}

/* =========================================================================
   Nav (top + sidebar)
   ========================================================================= */

.topbar {
  background: var(--rf-surface);
  padding: 14px var(--spacing-s);
  border-radius: var(--rf-radius);
  border: 1px solid var(--rf-border);
}

li.nav-item a {
  font-family: var(--rf-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--rf-muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 6px 10px;
  border-radius: var(--rf-radius);
  transition: color var(--rf-transition), background var(--rf-transition);
}

li.nav-item a:hover {
  color: var(--rf-text-strong);
  background: rgba(255, 255, 255, 0.04);
}

li.nav-item.active a {
  color: var(--rf-accent);
}

li.nav-item a i {
  opacity: 0.6;
  font-size: 14px;
}

.menu-dropdown {
  background: var(--rf-surface-2);
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-radius);
  box-shadow: 0 18px 32px -16px rgba(0, 0, 0, 0.7);
}

.menu-dropdown a {
  color: var(--rf-muted);
}

.menu-dropdown a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--rf-text-strong);
}

/* =========================================================================
   Module cards (sidebar widgets)
   ========================================================================= */

.module,
.home-content,
.index-section {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 50%),
    var(--rf-surface);
  border-radius: var(--rf-radius-lg);
  border: 1px solid var(--rf-border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.module::before,
.home-content::before,
.index-section::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--rf-accent) 0%, transparent 65%);
  opacity: 0.9;
  z-index: 2;
}

.module-body {
  padding: var(--spacing-m);
}

.module-header {
  padding: 14px var(--spacing-m) 0;
}

h2.module-title {
  font-family: var(--rf-font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--rf-muted-soft);
  margin: 0;
  position: static;
}

.module-empty {
  color: var(--rf-muted-soft);
  font-size: 0.9rem;
  margin: 0;
}

/* Hide the noisy diagonal-stripe SVG bands the base template put on every
   panel — the corner accent already gives enough visual interest. */
.module > svg:first-of-type,
.home-content > svg:first-of-type,
.index-section > svg:first-of-type {
  display: none;
}

/* =========================================================================
   Home / landing page
   ========================================================================= */

.home-content-sec {
  padding: var(--spacing-m);
}

h1.home-content-tit {
  font-family: var(--rf-font-display);
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--rf-text-strong);
  text-transform: none;
  margin: 0 0 18px;
}

.home-content-text {
  color: var(--rf-text);
  font-size: 0.98rem;
  line-height: 1.65;
}

.home-content-text p {
  margin: 0 0 12px;
}

.home-content-text ul,
.home-content-text ol {
  margin: 8px 0 16px 20px;
  padding: 0;
}

.home-content-text strong {
  color: var(--rf-text-strong);
}

.index-section {
  margin-top: 24px;
}

.index-section > h1 {
  position: static;
  font-family: var(--rf-font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--rf-accent);
  margin: 0;
  padding: 18px var(--spacing-m) 0;
}

.index-section-body {
  padding: 14px var(--spacing-m) var(--spacing-m);
}

.index-section-body h2,
.index-section-body h3 {
  color: var(--rf-text-strong);
  font-weight: 800;
  margin: 4px 0 8px;
}

.index-section-body p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.index-section-body ul,
.index-section-body ol {
  margin: 0 0 12px 20px;
  padding: 0;
}

.index-section-body a.btn,
.index-section-body a.btn-info {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  background: var(--rf-accent);
  color: #fff;
  border-radius: var(--rf-radius);
  font-family: var(--rf-font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.index-section-body a.btn:hover {
  background: var(--rf-accent-hot);
  color: #fff;
}

/* =========================================================================
   Notification toast
   ========================================================================= */

#notification-alert {
  background: rgba(224, 82, 74, 0.95);
  border: 1px solid rgba(224, 82, 74, 0.55);
  border-radius: var(--rf-radius);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* =========================================================================
   Category / product cards
   ========================================================================= */

.category-page {
  text-align: left;
  margin-bottom: 18px;
}

h2.category-title {
  font-family: var(--rf-font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: left;
  color: var(--rf-text-strong);
  text-transform: none;
}

.category-description {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--rf-muted);
  text-align: left;
  max-width: 720px;
}

.category-packages {
  margin-top: 22px;
}

.category-package {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 50%),
    var(--rf-surface);
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--rf-transition), transform var(--rf-transition),
    box-shadow var(--rf-transition);
}

.category-package::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--rf-accent) 0%, transparent 65%);
  opacity: 0.9;
  z-index: 2;
}

.category-package:hover {
  border-color: var(--rf-accent-border);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -16px rgba(224, 101, 58, 0.35);
}

.category-package-details {
  padding: var(--spacing-m) var(--spacing-s);
}

.category-package-img {
  width: 100%;
  min-height: 140px;
  background: var(--rf-surface-2);
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-radius);
  padding: 18px;
}

.category-package-img img.package-img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

span.category-package-name {
  font-family: var(--rf-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  color: var(--rf-text-strong);
  text-transform: none;
}

.package-bott {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--spacing-s);
  border-top: 1px solid var(--rf-border);
  background: rgba(0, 0, 0, 0.2);
  border-bottom-left-radius: var(--rf-radius-lg);
  border-bottom-right-radius: var(--rf-radius-lg);
}

.category-package-price-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--rf-muted);
}

.category-package-price {
  color: var(--rf-text-strong);
  font-family: var(--rf-font-display);
  font-size: 1.15rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

span.category-package-price-disc {
  color: var(--rf-danger);
  font-size: 0.75rem;
  text-decoration: line-through;
}

.category-package-buttons {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.category-package-buttons a {
  border-radius: var(--rf-radius);
  height: 36px;
}

.category-buy-btn {
  height: 36px;
  padding: 0 14px;
}

/* =========================================================================
   Product page
   ========================================================================= */

.product-page,
.product-description {
  background: var(--rf-surface);
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.product-page::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--rf-accent) 0%, transparent 65%);
  opacity: 0.9;
  z-index: 2;
  border-radius: var(--rf-radius-lg) var(--rf-radius-lg) 0 0;
}

.product-page-image {
  padding: var(--spacing-m);
  background: var(--rf-surface-2);
  border-right: 1px solid var(--rf-border);
}

img.product-img {
  max-height: 16rem;
  width: auto;
}

.product-page-details {
  padding: var(--spacing-m);
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.product-name {
  font-family: var(--rf-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: left;
  color: var(--rf-text-strong);
  text-transform: none;
}

.product-price {
  font-family: var(--rf-font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 900;
  text-align: right;
  color: var(--rf-accent);
  font-variant-numeric: tabular-nums;
}

.product-details-top span {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--rf-muted);
}

.small-title {
  display: flex;
  align-items: center;
  margin-top: 18px;
}

.small-title span {
  font-family: var(--rf-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--rf-muted-soft);
}

.small-title svg path {
  fill: var(--rf-accent);
}

span.product-det-border {
  width: 100%;
  background: var(--rf-border);
  height: 1px;
  margin-left: var(--spacing-xs);
}

.small-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--rf-text);
  margin-top: 6px;
}

.product-description {
  padding: var(--spacing-m);
  margin-top: 16px;
}

.product-description p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.product-description ul,
.product-description ol {
  margin: 0 0 12px 20px;
  padding: 0;
}

.product-description strong {
  color: var(--rf-text-strong);
}

/* Queue-skip safety callout (rendered inside product descriptions) */
.rf-queue-callout {
  border: 1px solid var(--rf-accent-border);
  background:
    linear-gradient(120deg, rgba(224, 101, 58, 0.08), transparent 65%),
    var(--rf-surface);
  border-radius: var(--rf-radius);
  padding: 14px 16px;
  margin: 14px 0;
}

.rf-queue-callout strong {
  color: var(--rf-text-strong);
}

/* =========================================================================
   Buttons (Add to Cart, Subscribe, Gift, etc.)
   ========================================================================= */

button.add-btn,
a.add-btn,
.btn,
.btn-info,
button#purchaseFromGift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  background: var(--rf-accent);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--rf-radius);
  font-family: var(--rf-font-display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--rf-transition), color var(--rf-transition),
    border-color var(--rf-transition);
}

button.add-btn:hover,
a.add-btn:hover,
.btn:hover,
.btn-info:hover,
button#purchaseFromGift:hover {
  background: var(--rf-accent-hot);
  color: #fff;
  filter: none;
}

a.add-btn {
  width: 100%;
  border: 1px solid var(--rf-accent-border);
}

button#giftButton,
.add-gift-btn {
  background: var(--rf-surface-3);
  border: 1px solid var(--rf-border-strong);
  color: var(--rf-text);
}

button#giftButton:hover,
.add-gift-btn:hover {
  background: var(--rf-surface-hover);
  border-color: var(--rf-accent-border);
  color: var(--rf-text-strong);
}

button#closeGift,
.close-gift {
  background: transparent;
  border: 1px solid var(--rf-border-strong);
  color: var(--rf-muted);
}

button#closeGift:hover,
.close-gift:hover {
  background: rgba(224, 82, 74, 0.1);
  border-color: rgba(224, 82, 74, 0.55);
  color: var(--rf-danger);
}

.remove-btn {
  background: transparent;
  border: 1px solid rgba(224, 82, 74, 0.55);
  color: var(--rf-danger);
  padding: 8px 14px;
  border-radius: var(--rf-radius);
  font-family: var(--rf-font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.remove-btn:hover {
  background: rgba(224, 82, 74, 0.15);
  color: #fff;
}

.btn-svg {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.btn-svg span {
  color: #fff;
  font-family: var(--rf-font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================================
   Inputs
   ========================================================================= */

input,
textarea,
select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--rf-border) !important;
  border-radius: var(--rf-radius) !important;
  color: var(--rf-text);
  min-height: 42px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--rf-accent-border) !important;
  outline: 2px solid var(--rf-accent-soft);
  outline-offset: 0;
}

/* =========================================================================
   Cart table
   ========================================================================= */

span.cart-page-title {
  font-family: var(--rf-font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--rf-text-strong);
  text-transform: none;
}

.nr-item {
  font-family: var(--rf-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rf-muted);
}

table {
  max-width: 100%;
  background-color: transparent;
  width: 100%;
}

.table > thead > tr > th {
  text-transform: uppercase;
  font-family: var(--rf-font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: left;
  color: var(--rf-muted-soft);
  vertical-align: bottom;
  padding: 14px 8px;
  border-bottom: 1px solid var(--rf-border);
}

.table > tbody > tr > td,
.table > thead > tr > td,
.table > tfoot > tr > td {
  padding: 16px 10px;
  line-height: 1.45;
  vertical-align: middle;
}

tbody tr {
  background: var(--rf-surface);
  border-top: 8px solid var(--rf-bg);
}

tbody tr:first-child {
  border-top: 0;
}

table tbody td {
  vertical-align: middle;
}

td.image {
  background: var(--rf-surface-2);
  padding: 10px !important;
  width: 80px;
  text-align: center;
}

td.image img {
  height: 64px;
  width: auto;
}

td.name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}

span.product-name {
  font-family: var(--rf-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.25;
  color: var(--rf-text-strong);
}

.name-sec {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--rf-muted);
}

td.price span,
td.total span {
  font-family: var(--rf-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--rf-text-strong);
  font-variant-numeric: tabular-nums;
}

td.price span {
  color: var(--rf-muted);
}

table tbody .close a {
  color: var(--rf-muted);
  font-size: 1.1rem;
}

table tbody .close a:hover {
  color: var(--rf-danger);
}

table input {
  width: 56px;
  text-align: center;
  min-height: 36px;
}

.subtotal {
  border-top: 1px solid var(--rf-border);
  padding-top: 14px;
}

.subtotal span {
  font-family: var(--rf-font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--rf-muted);
  text-transform: uppercase;
}

.subtotal p {
  font-family: var(--rf-font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--rf-text-strong);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   Status & messages
   ========================================================================= */

.error-msg {
  background: rgba(224, 82, 74, 0.12);
  border: 1px solid rgba(224, 82, 74, 0.45);
  border-radius: var(--rf-radius);
  color: var(--rf-danger);
  font-family: var(--rf-font-body);
  font-weight: 600;
  margin: var(--spacing-s);
  margin-top: 0;
  padding: 12px 14px;
}

.success-msg {
  background: rgba(95, 184, 124, 0.12);
  border: 1px solid rgba(95, 184, 124, 0.45);
  border-radius: var(--rf-radius);
  color: var(--rf-success);
  font-family: var(--rf-font-body);
  font-weight: 600;
  margin: var(--spacing-s);
  margin-top: 0;
  padding: 12px 14px;
}

/* =========================================================================
   Payment goal module
   ========================================================================= */

.payment-goal {
  background: var(--rf-surface-2);
  border-radius: var(--rf-radius-pill);
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--rf-border);
}

.progress-bar {
  height: 100% !important;
  border-top-left-radius: var(--rf-radius-pill);
  border-bottom-left-radius: var(--rf-radius-pill);
  background: var(--rf-accent) !important;
}

.goal-current {
  font-family: var(--rf-font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--rf-text-strong);
  font-variant-numeric: tabular-nums;
}

.payment-goal-display {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--rf-muted);
  font-size: 0.86rem;
}

.payment-percentage,
.payment-max {
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   Recent payments + top customer modules
   ========================================================================= */

.recent-payments li {
  border-top: 1px solid var(--rf-border);
  padding-top: 14px;
  margin-top: 14px;
}

.recent-payments li:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.module .text-lg.text-gray-100 {
  color: var(--rf-text-strong) !important;
  font-family: var(--rf-font-display);
  font-weight: 800;
}

.customer-amount p {
  color: var(--rf-accent);
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   Footer
   ========================================================================= */

footer {
  background: rgba(10, 9, 8, 0.7);
  border-top: 1px solid var(--rf-border);
  padding: 22px 0;
  margin-top: 4rem;
}

.footer-copyright span {
  font-family: var(--rf-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rf-muted-soft);
  text-transform: none;
  letter-spacing: 0;
}

.footer-links a {
  font-family: var(--rf-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rf-muted);
  transition: color var(--rf-transition);
}

.footer-links a:hover {
  color: var(--rf-text-strong);
}

.rf-footer-meta {
  font-size: 0.82rem;
  color: var(--rf-muted-soft);
  line-height: 1.5;
  margin-top: 10px;
}

.rf-footer-meta a {
  color: var(--rf-muted);
  text-decoration: underline;
}

.rf-footer-meta a:hover {
  color: var(--rf-text-strong);
}

/* =========================================================================
   Misc
   ========================================================================= */

.product-stock-out {
  margin-bottom: 8px;
}

/* Bridge the legacy Tailwind arbitrary `font-[Rajdhani]` class used in
   account.html / module markup to our RustFront display stack so account
   pages stay typographically consistent without re-loading Rajdhani. */
.font-\[Rajdhani\] {
  font-family: var(--rf-font-display) !important;
}

@keyframes moveStripes {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
