/* Shared styles for account / order tracking / kitchen pages */

.page-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 16px 80px;
}

.page-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--cream-light);
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.page-header img.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cream-light);
  padding: 4px;
  border: 2px solid var(--gold);
}

.page-header h1 {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  flex: 1;
}

.page-header h1 small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 3px;
  margin-top: 2px;
}

.page-actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s var(--transition);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: var(--cream-light);
  box-shadow: 0 4px 12px rgba(80, 112, 56, 0.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.18);
  color: var(--cream-light);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.3); }

.btn-outline {
  background: var(--cream-light);
  color: var(--brown);
  border: 1.5px solid rgba(80, 112, 56, 0.3);
}
.btn-outline:hover { background: var(--cream); border-color: var(--green); }

.btn-danger {
  background: var(--red-accent);
  color: white;
}
.btn-danger:hover { background: #8c2828; }

/* ==================================================
   ACCOUNT - profile cards
   ================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.profile-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(80, 112, 56, 0.1);
}

.profile-card.featured {
  background: linear-gradient(135deg, var(--gold) 0%, #b8862a 100%);
  color: var(--brown);
  border: none;
  box-shadow: 0 8px 24px rgba(200, 155, 60, 0.4);
}

.profile-card .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.profile-card.featured .label { color: rgba(74, 36, 24, 0.7); }

.profile-card .value {
  font-size: 28px;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.1;
}

.profile-card.featured .value {
  color: var(--brown);
  font-size: 36px;
}

.profile-card .sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.profile-card.featured .sub { color: rgba(74, 36, 24, 0.65); }

/* User info card */
.user-info {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(80, 112, 56, 0.1);
}

.user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--cream-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}

.user-info-text { flex: 1; }
.user-info-text .name { font-size: 18px; font-weight: 900; color: var(--brown); }
.user-info-text .meta { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ==================================================
   ORDER LIST (account history)
   ================================================== */
.section-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--brown);
  margin: 24px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-row {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(80, 112, 56, 0.1);
  transition: all 0.2s var(--transition);
}

.order-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(80, 112, 56, 0.3);
}

.order-row .order-id {
  font-family: 'SF Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.order-row .order-meta { flex: 1; min-width: 0; }
.order-row .order-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.order-row .order-items { font-size: 13px; color: var(--brown); font-weight: 600; margin-top: 4px; }

.order-row .order-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--green-dark);
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(80, 112, 56, 0.15);
  color: var(--green-dark);
}

.status-badge.pending    { background: rgba(200, 155, 60, 0.2); color: #8a6a2a; }
.status-badge.confirmed  { background: rgba(80, 112, 56, 0.15); color: var(--green-dark); }
.status-badge.preparing  { background: rgba(177, 52, 52, 0.15); color: var(--red-accent); }
.status-badge.ready      { background: rgba(80, 112, 56, 0.2); color: var(--green-dark); }
.status-badge.delivered  { background: rgba(61, 87, 40, 0.15); color: var(--green-darker); }
.status-badge.cancelled  { background: rgba(122, 106, 85, 0.15); color: var(--text-muted); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: var(--cream-light);
  border-radius: var(--radius);
  border: 2px dashed rgba(80, 112, 56, 0.25);
}

.empty-state .emoji {
  font-size: 56px;
  display: block;
  margin-bottom: 12px;
}

.empty-state p { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.empty-state small { font-size: 13px; opacity: 0.7; }

/* ==================================================
   ORDER TRACKING TIMELINE
   ================================================== */
.track-wrap {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.track-status-head {
  text-align: center;
  margin-bottom: 24px;
}

.track-status-head .big-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 8px;
  animation: bounceIn 0.6s var(--transition);
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.track-status-head h2 {
  font-size: 26px;
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 4px;
}

.track-status-head .sub {
  font-size: 14px;
  color: var(--text-muted);
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 22px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: rgba(80, 112, 56, 0.15);
  border-radius: 2px;
}

.timeline li {
  position: relative;
  padding: 14px 60px 14px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline li .dot {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid rgba(80, 112, 56, 0.25);
  z-index: 1;
}

.timeline li.done .dot {
  background: var(--green);
  border-color: var(--green-dark);
}

.timeline li.current .dot {
  background: var(--gold);
  border-color: #b8862a;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 155, 60, 0.6); }
  50%      { box-shadow: 0 0 0 10px rgba(200, 155, 60, 0); }
}

.timeline .label {
  font-size: 15px;
  font-weight: 800;
  color: var(--brown);
}

.timeline li:not(.done):not(.current) .label { color: var(--text-soft); }

.timeline .time {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Order details box */
.order-details {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.order-details h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(80, 112, 56, 0.2);
}

.order-details .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}

.order-details .row .lbl { color: var(--text-muted); }
.order-details .row .val { font-weight: 700; color: var(--brown); }

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-items-list .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(80, 112, 56, 0.15);
}

.order-items-list .row:last-child { border: none; }

.order-items-list .thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cream-dark) center/cover;
  flex-shrink: 0;
}

.order-items-list .info { flex: 1; }
.order-items-list .name { font-size: 14px; font-weight: 800; color: var(--brown); }
.order-items-list .qty-x-price { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.order-items-list .sub { font-size: 14px; font-weight: 800; color: var(--green-dark); }

/* ==================================================
   KITCHEN DASHBOARD
   ================================================== */
.kitchen-body { background: #1a2614; min-height: 100vh; }

.kitchen-header {
  background: var(--green-darker);
  color: var(--cream-light);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.kitchen-header h1 {
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.kitchen-header h1 .badge-29 {
  background: var(--gold);
  color: var(--brown);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
}

.kitchen-stats {
  display: flex;
  gap: 8px;
}

.k-stat {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
}

.k-stat strong { color: var(--gold-soft); font-size: 16px; margin-right: 4px; }

.kitchen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding: 20px;
}

.k-order {
  background: var(--cream-light);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 3px solid transparent;
  transition: border-color 0.3s;
}

.k-order.status-pending    { border-color: var(--gold); animation: newPulse 1.2s ease-in-out 3; }
.k-order.status-confirmed  { border-color: var(--green); }
.k-order.status-preparing  { border-color: var(--red-accent); }
.k-order.status-ready      { border-color: var(--green-dark); background: #f0f7e8; }

@keyframes newPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
  50%      { box-shadow: 0 8px 28px rgba(200, 155, 60, 0.7); }
}

.k-order-head {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid rgba(80, 112, 56, 0.15);
}

.k-order-head .order-id-tag {
  font-family: 'SF Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  background: var(--brown);
  color: var(--cream-light);
  padding: 4px 10px;
  border-radius: 6px;
}

.k-order-head .order-time {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.k-order-body { padding: 14px 16px; flex: 1; }

.k-order .customer {
  font-size: 14px;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.k-order .meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.k-order .meta b { color: var(--green-dark); font-weight: 800; }

.k-order .type-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--green);
  color: var(--cream-light);
  margin-right: 4px;
}

.k-order .type-pill.delivery { background: var(--brown); }

.k-order .items-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  border-top: 1px dashed rgba(80, 112, 56, 0.2);
  border-bottom: 1px dashed rgba(80, 112, 56, 0.2);
}

.k-order .items-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
}

.k-order .items-list li .qty-badge {
  background: var(--green);
  color: var(--cream-light);
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 800;
  margin-left: 6px;
}

.k-order .notes {
  margin-top: 8px;
  font-size: 13px;
  background: rgba(177, 52, 52, 0.08);
  border-right: 3px solid var(--red-accent);
  padding: 6px 10px;
  color: var(--brown);
  border-radius: 6px;
}

.k-order .total-line {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  color: var(--green-dark);
}

.k-order-actions {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(80, 112, 56, 0.06);
  border-top: 1px solid rgba(80, 112, 56, 0.15);
}

.k-btn {
  flex: 1;
  background: var(--cream-light);
  border: 1.5px solid rgba(80, 112, 56, 0.3);
  color: var(--brown);
  padding: 9px 8px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.k-btn:hover { background: var(--green-bg); border-color: var(--green); }

.k-btn.primary {
  background: var(--green);
  color: var(--cream-light);
  border-color: var(--green-dark);
}
.k-btn.primary:hover { background: var(--green-dark); }

.k-btn.danger {
  background: transparent;
  color: var(--red-accent);
  border-color: rgba(177, 52, 52, 0.3);
}
.k-btn.danger:hover { background: rgba(177, 52, 52, 0.1); }

.k-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: rgba(255,255,255,0.6);
}

.k-empty .emoji { font-size: 80px; display: block; margin-bottom: 16px; }
.k-empty p { font-size: 18px; font-weight: 700; }

/* Login required state */
.login-required {
  display: grid;
  place-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 20px;
}
.login-required svg { width: 60px; height: 60px; opacity: 0.4; margin-bottom: 14px; }
.login-required h2 { font-size: 22px; font-weight: 900; color: var(--brown); margin-bottom: 8px; }
.login-required p { color: var(--text-muted); margin-bottom: 20px; }

/* === Ad detail page === */
.ad-hero {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 1200 / 450;
  max-height: 60vh;
  overflow: hidden;
  background: #1a140e;
  border-radius: 0 0 22px 22px;
}

.ad-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* image designed at 1200×450 fills cleanly */
  display: block;
}

.ad-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 24px 20px;
  color: var(--cream-light);
}

.ad-hero-overlay h1 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 4px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.ad-hero-overlay p {
  font-size: 16px;
  opacity: 0.95;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.ad-back {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  background: rgba(255,255,255,0.92);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brown);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}
.ad-back:hover { transform: scale(1.08); background: var(--cream-light); }

/* Premium offer-details card */
.ad-detail-card {
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream-soft) 100%);
  border: 1px solid rgba(200, 155, 60, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.ad-detail-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 5px; height: 100%;
  background: linear-gradient(180deg, var(--gold), #b8862a);
}
.ad-detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ad-detail-icon {
  font-size: 24px;
  background: var(--green-bg);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
}
.ad-detail-head h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--brown);
  margin: 0;
  border: none;
  padding: 0;
}
.ad-detail-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  white-space: pre-line;
  font-weight: 600;
  margin: 0;
}

.ad-item-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 12px;
}

.ad-item-image {
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-dark);
  box-shadow: var(--shadow-sm);
}

.ad-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-item-info { flex: 1; min-width: 0; }

.ad-item-info h4 {
  font-size: 20px;
  font-weight: 900;
  color: var(--brown);
  margin: 0 0 4px;
}

.ad-item-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--green-dark);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.ad-item-price small {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.ad-item-price .old-price-strike {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 700;
}

.ad-item-price .new-price {
  color: var(--red-accent);
}

.ad-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 14px;
  flex-wrap: wrap;
}

.ad-qty-label { font-weight: 800; color: var(--brown); font-size: 14px; }

.ad-qty {
  display: inline-flex;
  align-items: center;
  background: var(--cream-light);
  border: 1.5px solid rgba(80, 112, 56, 0.25);
  border-radius: 999px;
  overflow: hidden;
}
.ad-qty button {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 22px;
  font-weight: 900;
  color: var(--green-dark);
  cursor: pointer;
  font-family: inherit;
}
.ad-qty button:hover { background: rgba(80, 112, 56, 0.12); }
.ad-qty span { min-width: 34px; text-align: center; font-weight: 900; font-size: 17px; color: var(--brown); }

.ad-qty-total { margin-right: auto; font-size: 14px; color: var(--text-muted); font-weight: 700; }
.ad-qty-total b { color: var(--green-dark); font-size: 19px; font-weight: 900; }

.ad-order-btn {
  background: linear-gradient(135deg, var(--gold) 0%, #b8862a 100%);
  color: var(--brown);
  border: none;
  box-shadow: 0 4px 14px rgba(200, 155, 60, 0.4);
}
.ad-order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(200, 155, 60, 0.55); }

.ad-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .ad-hero { height: 240px; }
  .ad-hero-overlay h1 { font-size: 24px; }
  .ad-item-card { flex-direction: column; align-items: stretch; }
  .ad-item-image { width: 100%; height: 200px; }
  .ad-item-price { font-size: 22px; }
}

/* Sound toggle (kitchen) */
.sound-toggle {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cream-light);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}
.sound-toggle:hover { background: rgba(255,255,255,0.2); }
.sound-toggle.muted { opacity: 0.5; }

@media (max-width: 600px) {
  .page-header { padding: 16px 18px; flex-direction: column; align-items: flex-start; }
  .page-header h1 { font-size: 19px; }
  .kitchen-header { flex-direction: column; align-items: stretch; gap: 10px; }
  .kitchen-grid { padding: 12px; gap: 12px; }
  .order-row { flex-wrap: wrap; }
}

/* === Account: loyalty points hero === */
.points-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--cream-light);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.points-hero::before {
  content: '⭐';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 90px;
  opacity: 0.08;
}
.points-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.points-hero-label { font-size: 14px; font-weight: 700; opacity: 0.9; }
.points-hero-num { font-size: 42px; font-weight: 900; line-height: 1.1; }
.points-hero-num small { font-size: 16px; font-weight: 700; opacity: 0.85; }
.points-hero-redeem {
  background: rgba(255,255,255,0.16);
  border: 1.5px solid var(--gold-soft);
  border-radius: 14px;
  padding: 10px 16px;
  text-align: center;
}
.points-hero-redeem-num { font-size: 22px; font-weight: 900; color: var(--gold-soft); }
.points-hero-redeem-sub { font-size: 11px; opacity: 0.9; }
.points-hero-bar {
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  margin: 16px 0 10px;
  overflow: hidden;
  position: relative; z-index: 1;
}
.points-hero-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 999px;
  transition: width 0.6s var(--transition);
}
.points-hero-hint {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.95;
  position: relative; z-index: 1;
}
.points-hero-hint b { color: var(--gold-soft); }

/* === Account: order card with reorder === */
.order-card {
  background: var(--cream-light);
  border: 1px solid rgba(80, 112, 56, 0.12);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.order-card-main {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
}
.order-card-main .order-price small { font-size: 11px; color: var(--text-muted); }
.order-card-actions {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(80, 112, 56, 0.05);
  border-top: 1px solid rgba(80, 112, 56, 0.1);
}
.order-card-actions .btn-sm {
  flex: 1;
  justify-content: center;
  padding: 9px;
  font-size: 14px;
}
.reorder-btn { font-weight: 900; }
