:root {
  --rotary-orange: #F5A623;
  --rotary-orange-dark: #D4891A;
  --rotary-orange-light: #FEF3DC;
  --rotary-bg: #F5F6FA;
  --rotary-card: #FFFFFF;
  --rotary-text: #2D3748;
  --rotary-muted: #718096;
  --rotary-border: #E2E8F0;
}

body {
  font-family: 'Poppins', 'Nunito', system-ui, -apple-system, sans-serif;
  background-color: var(--rotary-bg);
  color: var(--rotary-text);
}

/* ── Navbar ───────────────────────────────────────────── */
.rotary-nav {
  background: #fff;
  border-bottom: 1px solid var(--rotary-border);
  padding: 0.75rem 0;
}

.rotary-nav .navbar-brand {
  font-weight: 700;
  color: var(--rotary-orange);
  font-size: 1.25rem;
}

.rotary-nav .nav-link {
  color: var(--rotary-text);
  font-weight: 500;
}

.rotary-nav .nav-link:hover {
  color: var(--rotary-orange);
}

.cart-badge {
  background: var(--rotary-orange);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  vertical-align: top;
  margin-left: 2px;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn-rotary {
  background: var(--rotary-orange);
  border-color: var(--rotary-orange);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s;
}

.btn-rotary:hover,
.btn-rotary:focus {
  background: var(--rotary-orange-dark);
  border-color: var(--rotary-orange-dark);
  color: #fff;
}

.btn-rotary-outline {
  background: transparent;
  border: 2px solid var(--rotary-orange);
  color: var(--rotary-orange);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
}

.btn-rotary-outline:hover {
  background: var(--rotary-orange-light);
  color: var(--rotary-orange-dark);
}

/* ── Cards ────────────────────────────────────────────── */
.product-card {
  border: 1px solid var(--rotary-border);
  border-radius: 12px;
  background: var(--rotary-card);
  transition: box-shadow 0.15s, transform 0.15s;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.15);
  transform: translateY(-2px);
}

.product-card .card-img-top {
  border-radius: 12px 12px 0 0;
  height: 200px;
  object-fit: cover;
}

.product-card .price-tag {
  color: var(--rotary-orange);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── Cart ─────────────────────────────────────────────── */
.cart-table th {
  color: var(--rotary-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  border-top: none;
}

.cart-total-row td {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 2px solid var(--rotary-border);
}

/* ── Checkout ─────────────────────────────────────────── */
.checkout-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rotary-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rotary-border);
}

.payment-method-card {
  border: 2px solid var(--rotary-border);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.payment-method-card.selected,
.payment-method-card:hover {
  border-color: var(--rotary-orange);
  background: var(--rotary-orange-light);
}

/* ── Confirmation ─────────────────────────────────────── */
.confirmation-icon {
  color: var(--rotary-orange);
  font-size: 3rem;
}

.order-summary-card {
  background: var(--rotary-orange-light);
  border-radius: 12px;
  border: 1px solid rgba(245, 166, 35, 0.3);
}

/* ── Hero / Home ──────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--rotary-orange) 0%, var(--rotary-orange-dark) 100%);
  color: #fff;
  padding: 1.5rem 0 2rem;
}

.hero-section h1 {
  font-weight: 700;
}

/* ── CTA Strip ────────────────────────────────────────── */
.cta-strip {
  display: flex;
}

.cta-tile {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.15s;
}

.cta-tile:hover {
  filter: brightness(0.92);
  text-decoration: none;
}

.cta-tile-donate {
  background: #17458F;
  color: #fff;
}

.cta-tile-member {
  background: #4A5568;
  color: #fff;
}

/* ── Status badges ────────────────────────────────────── */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.badge-processing { background: #E6F4EA; color: #2E7D32; }
.badge-pending-completion { background: #FEF3DC; color: #D4891A; }
.badge-completed { background: #EDE7F6; color: #512DA8; }
.badge-cancelled { background: #FFEBEE; color: #C62828; }

/* ── Footer ───────────────────────────────────────────── */
.rotary-footer {
  background: var(--rotary-text);
  color: #CBD5E0;
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 0.875rem;
}

.rotary-footer a {
  color: var(--rotary-orange);
}
