/* ============================================================
   NP63 — Main Stylesheet (Warm White / Ivory Luxury Theme)
   โรงเรียนหนองไผ่ ครบรอบ 63 ปี
   Aesthetics: Clean Ivory, Elegant Gold, School Pink & Blue
   ============================================================ */

:root {
  --bg:          #f8fafc;
  --bg-warm:     #fcfbf9;
  --surface:     #ffffff;
  --surface-alt: #f1f5f9;
  --border:      #e2e8f0;
  --border-gold: rgba(217, 119, 6, 0.25);
  --border-pink: rgba(225, 29, 72, 0.25);
  
  --text:        #0f172a;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;

  --gold:        #d97706;
  --gold-light:  #f59e0b;
  --gold-dark:   #b45309;
  --gold-bg:     #fffbeb;

  --pink:        #e11d48;
  --pink-light:  #f43f5e;
  --pink-bg:     #fff1f2;

  --blue:        #0284c7;
  --blue-dark:   #1e3a8a;
  --blue-bg:     #f0f9ff;

  --success:     #16a34a;
  --success-bg:  #f0fdf4;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md:   0 6px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg:   0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 10px 25px rgba(217, 119, 6, 0.15);

  --font:        'Sarabun', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-warm);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================ HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: all 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.header-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}
.school-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-dark);
  display: block;
  letter-spacing: -0.2px;
}
.school-sub {
  font-size: 0.8rem;
  color: var(--gold-dark);
  display: block;
  font-weight: 600;
}
.header-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--text);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover {
  background: var(--surface-alt);
  color: var(--blue-dark);
}

/* ============================================================ HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 50px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, #fff7ed 0%, #fefcf8 50%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.12) 0%, rgba(225, 29, 72, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-logo-img {
  max-height: 140px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(217, 119, 6, 0.2));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-event {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(217, 119, 6, 0.3);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm);
}
.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.35);
  background: linear-gradient(135deg, #fbbf24, #d97706);
}
.btn-pink {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.25);
}
.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.35);
  background: linear-gradient(135deg, #fb7185, #e11d48);
  color: #ffffff;
}
.btn-pink-hero {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
}
.btn-pink-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(225, 29, 72, 0.45);
  background: linear-gradient(135deg, #fb7185, #e11d48);
  color: #ffffff;
}
.btn-blue-hero {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}
.btn-blue-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #ffffff;
}
.btn-outline {
  background: #ffffff;
  color: var(--blue-dark);
  border-color: #cbd5e1;
}
.btn-outline:hover {
  border-color: var(--blue-dark);
  background: var(--surface-alt);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: #94a3b8;
  background: #f8fafc;
}
.btn-lg {
  font-size: 1.08rem;
  padding: 15px 34px;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--blue-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 6px;
}
.btn-copy:hover {
  background: var(--blue-dark);
  color: #fff;
}
.w-full { width: 100%; justify-content: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 22px; }
.text-center { text-align: center; }

/* ============================================================ TOTAL BANNER / STATS GRID */
.total-banner {
  background: #ffffff;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.stat-box {
  border-radius: 20px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.09);
}
.stat-box-gold {
  background: linear-gradient(145deg, #fffdf8 0%, #fffbeb 50%, #ffffff 100%);
  border: 1.5px solid rgba(217, 119, 6, 0.3);
}
.stat-box-gold::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24);
}
.stat-box-pink {
  background: linear-gradient(145deg, #fff5f7 0%, #ffe4e9 50%, #ffffff 100%);
  border: 1.5px solid rgba(225, 29, 72, 0.28);
}
.stat-box-pink::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e11d48, #f43f5e, #fb7185);
}
.stat-box-blue {
  background: linear-gradient(145deg, #f8fcff 0%, #f0f9ff 50%, #ffffff 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.3);
}
.stat-box-blue::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #0ea5e9);
}
.stat-box-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.stat-icon-gold {
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--gold);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.16);
  flex-shrink: 0;
  border: 1px solid rgba(217, 119, 6, 0.15);
}
.stat-icon-pink {
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--pink);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.16);
  flex-shrink: 0;
  border: 1px solid rgba(225, 29, 72, 0.15);
}
.stat-icon-blue {
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.16);
  flex-shrink: 0;
  border: 1px solid rgba(2, 132, 199, 0.15);
}
.stat-texts { flex: 1; }
.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.stat-badge-gold {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.18);
}
.stat-badge-pink {
  background: linear-gradient(135deg, #ffe4e9 0%, #fecdd3 100%);
  color: #9f1239;
  border: 2px solid #f43f5e;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.18);
}
.stat-badge-blue {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
  border: 2px solid #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18);
}
.stat-heading,
.stat-heading-main {
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}
.stat-amount {
  font-size: clamp(2.3rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 10px 0 14px;
  font-feature-settings: "tnum";
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  text-align: center;
  width: 100%;
}
.stat-amount-gold,
.stat-amount-red {
  color: #b91c1c !important; /* สีแดงเข้ม เด่น ชัดเจน */
  text-shadow: 0 2px 10px rgba(185, 28, 28, 0.15);
}
.stat-amount-blue {
  color: #1e40af !important; /* สีน้ำเงินเข้ม เด่น ชัดเจน */
  text-shadow: 0 2px 10px rgba(30, 64, 175, 0.15);
}
.stat-amount .amount-unit {
  font-size: 1.45rem;
  font-weight: 700;
  color: #64748b;
  margin-left: 12px; /* เว้นวรรคเด่นชัด */
  display: inline-block;
}

/* Stat information pills */
.stat-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.stat-pill-gold {
  border-color: rgba(217, 119, 6, 0.25);
  color: #78350f;
}
.stat-pill-blue {
  border-color: rgba(2, 132, 199, 0.25);
  color: #0369a1;
}

.btn-card-gold {
  background: #ffffff;
  color: #b45309;
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}
.btn-card-gold:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.28);
  transform: translateY(-2px);
}

.btn-card-blue {
  background: #ffffff;
  color: #0284c7;
  border: 1.5px solid rgba(2, 132, 199, 0.4);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}
.btn-card-blue:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ============================================================ SECTION HEADERS */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.section-title.gold { color: var(--blue-dark); }
.section-title.pink { color: var(--pink); }
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  max-width: 800px;
}
.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.section-divider span {
  padding: 0 18px;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================ PAYMENT CARDS */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.payment-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.payment-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.payment-card-header {
  margin-bottom: 20px;
  text-align: left;
}
.payment-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge-subtitle {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}
.badge-green {
  background: var(--success-bg);
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.badge-gold {
  background: var(--gold-bg);
  color: var(--gold-dark);
  border: 1px solid #fde68a;
}
.qr-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.qr-box img {
  max-width: 270px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: inline-block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qr-box img:hover {
  transform: scale(1.02);
}
.btn-qr-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #ffffff;
  color: #0284c7;
  border: 1.5px solid #0284c7;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
  cursor: pointer;
}
.btn-qr-download:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.22);
}
.card-top-banner {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  max-height: 160px;
}
.bank-info {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}
.bank-name {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}
.acc-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-dark);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  margin: 4px 0;
}
.acc-name {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}
.payment-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px;
  margin-top: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.payment-note.warn {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fef3c7;
}

/* ============================================================ SHIRT SECTION */
.shirt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 30px;
}
.shirt-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s;
}
.shirt-card:hover { transform: translateY(-3px); }
.shirt-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 14px;
}
.shirt-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-dark);
}
.shirt-type {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.shirt-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pink);
}

.size-chart {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.size-chart h4 {
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.size-table-wrap { overflow-x: auto; }
.size-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.92rem;
  border-radius: 8px;
  overflow: hidden;
}
.size-table th, .size-table td {
  padding: 10px 8px;
  border: 1px solid var(--border);
}
.size-table th { background: #f8fafc; color: var(--text-muted); font-weight: 700; }
.size-table td { font-weight: 600; color: var(--text); }

/* แถว Size สีชมพูอ่อนทั้งแถว และ แถว อก (นิ้ว) สีฟ้าอ่อนทั้งแถว */
.size-table tr.row-size th,
.size-table tr.row-size td {
  background: #fdf2f8;
  color: #9d174d;
  font-weight: 800;
  border: 1px solid #fbcfe8;
}
.size-table tr.row-chest th,
.size-table tr.row-chest td {
  background: #f0f9ff;
  color: #0369a1;
  font-weight: 700;
  border: 1px solid #bae6fd;
}

/* ============================================================ FOOTER */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.footer-credit {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 999;
}
.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}/* Additional button pink style */
.btn-pink-hero {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.28);
}
.btn-pink-hero:hover {
  background: linear-gradient(135deg, #fb7185, #e11d48);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.38);
}

/* Big Promo Banner & Slideshow */
.promo-poster-wrap {
  max-width: 960px;
  margin: 0 auto 36px;
  text-align: center;
}
.promo-poster-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

/* ============================================================ BANNER SLIDER */
.slider-section {
  padding: 10px 0 30px;
}
.promo-slider {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  background: #ffffff;
}
.slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  overflow: hidden;
  background: #f8fafc;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active {
  opacity: 1;
  visibility: visible;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  color: var(--blue-dark);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.slider-btn:hover {
  background: #ffffff;
  color: var(--pink);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.prev-btn { left: 14px; }
.next-btn { right: 14px; }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .slider-btn { width: 36px; height: 36px; font-size: 0.85rem; }
  .prev-btn { left: 8px; }
  .next-btn { right: 8px; }
  .slider-dots { bottom: 8px; padding: 4px 8px; gap: 6px; }
  .dot { width: 8px; height: 8px; }
  .dot.active { width: 18px; }
}

/* Full Width Shirt Showcase (Row by row for maximum size) */
.shirt-showcase-row {
  max-width: 960px;
  margin: 0 auto 28px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}
.shirt-showcase-row:hover {
  box-shadow: var(--shadow-lg);
}
.shirt-huge-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 16px;
}
.shirt-row-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ============================================================ HERO PROMINENT TAX BADGE */
.hero-cta-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tax-tag-prominent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  border: 1.5px solid #f59e0b;
  border-left: 4px solid #d97706;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.14);
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tax-tag-prominent:hover {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #78350f;
  border-color: #d97706;
  border-left-color: #b45309;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.24);
  transform: translateY(-1px);
}
.tax-tag-prominent i.fa-certificate {
  color: #d97706;
  font-size: 1.1rem;
}

/* ============================================================ STAT HIGHLIGHT BANNERS */
.stat-highlight-banner {
  border-radius: 14px;
  padding: 12px 18px;
  margin: 10px 0 16px;
  text-align: center;
  transition: transform 0.2s ease;
}
.stat-highlight-banner.gold {
  background: linear-gradient(135deg, #fffdf5 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  color: #78350f;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.07);
}
.stat-highlight-banner.blue {
  background: linear-gradient(135deg, #f8fcff 0%, #e0f2fe 100%);
  border: 1.5px solid #bae6fd;
  color: #0369a1;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.07);
}
.stat-highlight-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}
.stat-highlight-number {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 4px;
  font-feature-settings: "tnum";
}
.stat-highlight-number.gold {
  color: #b45309;
}
.stat-highlight-number.blue {
  color: #0284c7;
}
.stat-highlight-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-amount-prefix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-right: 8px;
}
.stat-amount-qty {
  font-size: clamp(2.3rem, 5vw, 2.9rem);
  font-weight: 800;
  color: #0284c7;
  font-feature-settings: "tnum";
}
.stat-amount-unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-left: 8px;
}

.btn-outline-pink {
  background: #ffffff;
  color: var(--pink);
  border: 1.5px solid var(--pink);
}
.btn-outline-pink:hover {
  background: #fff1f2;
  color: #be123c;
  border-color: #be123c;
}

/* ============================================================ SMART NOTICE BOX (E-Donation Detected) */
.smart-notice-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1.5px solid #38bdf8;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.12);
  animation: slideDown 0.3s ease-out;
}
.smart-notice-content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.smart-notice-icon {
  width: 44px;
  height: 44px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.smart-notice-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 2px;
}
.smart-notice-desc {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.45;
  margin: 0;
}
.smart-notice-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  transition: color 0.2s;
}
.smart-notice-close:hover { color: #0f172a; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================ CARD SUB ACTIONS & RESPONSIVE */
.card-sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.btn-outline-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: var(--blue-dark);
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.btn-outline-sub:hover {
  background: #f8fafc;
  border-color: var(--blue-dark);
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.mobile-br { display: none; }

/* ============================================================ MOBILE RESPONSIVE ENHANCEMENTS */
@media (max-width: 640px) {
  .mobile-br { display: inline; }
  .container { padding: 0 16px; }
  .site-header { padding: 10px 0; }
  .header-inner { gap: 10px; }
  .header-logo img { height: 44px; }
  .school-name { font-size: 1.05rem; }
  .school-sub { font-size: 0.75rem; }
  .header-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .nav-link {
    justify-content: center;
    padding: 7px 8px;
    font-size: 0.82rem;
    white-space: nowrap;
    border: 1px solid var(--border);
    background: #ffffff;
  }

  .hero { padding: 36px 0 32px; }
  .hero-logo-img { max-height: 110px; }
  .hero-title { font-size: 1.95rem; margin-bottom: 8px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 14px; padding: 0 6px; word-break: keep-all; }
  .hero-event {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 22px;
    display: flex;
    text-align: left;
    align-items: flex-start;
  }
  .hero-event i { margin-top: 3px; flex-shrink: 0; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group { width: 100%; align-items: stretch; }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 18px;
    font-size: 1rem;
    box-sizing: border-box;
  }
  .tax-tag-prominent {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.95rem;
    padding: 8px 16px;
  }

  .section { padding: 40px 0; }
  .section-header { margin-bottom: 24px; }
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: 0.92rem; padding: 0 8px; }

  .stat-box { padding: 18px 16px; border-radius: 16px; }
  .stat-heading, .stat-heading-main { font-size: 1.15rem; }
  .stat-amount { font-size: 1.85rem; margin: 4px 0 8px; }
  .stat-amount-prefix, .stat-amount-unit { font-size: 1.1rem; }
  .stat-amount-qty { font-size: 2.15rem; }
  .stat-highlight-banner { padding: 10px 12px; margin: 8px 0 14px; border-radius: 12px; }
  .stat-highlight-main { font-size: 1.02rem; }
  .stat-highlight-number { font-size: 1.35rem; }
  .stat-pills-wrap { gap: 6px; margin-bottom: 14px; }
  .stat-pill { font-size: 0.82rem; padding: 4px 10px; }

  .payment-card { padding: 20px 16px; border-radius: 16px; }
  .payment-card-title { font-size: 1.15rem; }
  .acc-number { font-size: 1.45rem; }
  .card-sub-actions { gap: 8px; }
  .btn-outline-sub { font-size: 0.84rem; padding: 9px 6px; border-radius: 10px; }

  .shirt-showcase-row { padding: 16px 12px; border-radius: 16px; margin-bottom: 20px; }
  .shirt-row-footer { flex-direction: column; text-align: center; gap: 8px; }
}

/* QR LIGHTBOX MODAL */
.qr-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.qr-modal-backdrop.active {
  display: flex !important;
  animation: fadeIn 0.2s ease-out;
}
.qr-modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.qr-modal-card img {
  max-width: 100%;
  max-height: 70vh;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.qr-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.qr-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 14px;
  padding-right: 32px;
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}


