/* ============================================================
   donation_products_css.css
   Matches homepage dark-gold theme (var(--primary-color) = #FFC107)
   ============================================================ */

/* ── Impact Banner ─────────────────────────────────────────── */
.impact-banner {
  background: linear-gradient(135deg, #0d0d20 0%, var(--dark-bg) 100%);
  border-bottom: 1px solid rgba(255, 193, 7, 0.15);
  padding: 30px 0;
}

.impact-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.impact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 50px;
  position: relative;
}

.impact-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 193, 7, 0.25);
}

.impact-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.impact-prefix,
.impact-suffix {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  display: inline;
}

.impact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ── How It Works ──────────────────────────────────────────── */
.how-it-works-section {
  padding: 90px 0;
  background: var(--darker-bg, #0a0a18);
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
  flex-wrap: wrap;
}

.step-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  width: 200px;
  position: relative;
  transition: all 0.35s ease;
}

.step-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 193, 7, 0.15);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--dark-bg);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.step-icon {
  font-size: 44px;
  margin-bottom: 15px;
}

.step-item h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

.step-arrow {
  font-size: 28px;
  color: rgba(255, 193, 7, 0.4);
  padding: 0 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ── Category Filter ───────────────────────────────────────── */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 10px;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 193, 7, 0.3);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.cat-count {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
}

.category-btn.active .cat-count,
.category-btn:hover .cat-count {
  background: rgba(0, 0, 0, 0.2);
}

/* ── Donation Products Grid ────────────────────────────────── */
.donation-products-section {
  padding: 80px 0 100px;
  background: var(--dark-bg);
}

.dp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.dp-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 22px;
  overflow: hidden;
  /* opacity + transform drive the filter animation; the rest stays */
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  /* cards start visible */
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hidden state — applied by JS when a card doesn't match the active category */
.dp-card--hidden {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  /* collapse the card out of grid flow */
  position: absolute;
  visibility: hidden;
}

.dp-card:not(.dp-card--hidden):hover {
  transform: translateY(-10px);
  border-color: rgba(255, 193, 7, 0.5);
  box-shadow: 0 20px 60px rgba(255, 193, 7, 0.15);
}

.dp-badge-featured {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  background: linear-gradient(135deg, var(--primary-color), #ffaa00);
  color: var(--dark-bg);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dp-image-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 193, 7, 0.05);
}

.dp-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dp-card:hover .dp-image-wrap img {
  transform: scale(1.08);
}

.dp-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background: rgba(255, 193, 7, 0.05);
}

.dp-body {
  padding: 25px 25px 15px;
  flex: 1;
}

.dp-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  background: rgba(255, 193, 7, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.dp-body h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.dp-body p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.dp-beneficiary {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
}

.dp-beneficiary strong {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Card Footer ───────────────────────────────────────────── */
.dp-footer {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 25px 22px;
  border-top: none;
}

/* ── Fulfillment Progress Block ────────────────────────────── */
.dp-progress-wrap {
  padding: 16px 0 14px;
  border-top: 1px solid rgba(255, 193, 7, 0.1);
  margin-bottom: 2px;
}

/* Donor count numbers row */
.dp-progress-counts {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px;
  gap: 8px;
}

.dp-progress-donated {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dp-progress-donated-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}

.dp-progress-donated-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.dp-progress-needed {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.dp-progress-needed-num {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}

.dp-progress-needed-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Progress bar */
.dp-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 7px;
}

.dp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffc107, #ffaa00);
  border-radius: 10px;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Animated shimmer on the fill */
/* .dp-progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: dp-shimmer 2.2s infinite;
}

@keyframes dp-shimmer {
  0% {
    left: -60%;
  }
  100% {
    left: 120%;
  }
} */

.dp-progress-fill.dp-progress-full {
  background: linear-gradient(90deg, #43e97b, #38f9d7);
}

.dp-progress-fill.dp-progress-full::after {
  display: none;
}

/* Percent + remaining label row */
.dp-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.dp-progress-pct {
  color: var(--primary-color);
}

.dp-progress-pct.full {
  color: #43e97b;
}

.dp-progress-remaining {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

/* ── Price + Donate Row ─────────────────────────────────────── */
.dp-price-donate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 193, 7, 0.1);
}

.dp-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

.price-currency {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.price-amount {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}

.dp-donate-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ffaa00 100%);
  color: var(--dark-bg);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 18px rgba(255, 193, 7, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.dp-donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.45);
}

.dp-donate-btn--full {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #1a1a2e;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 50px;
  font-weight: 800;
  cursor: default;
  pointer-events: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 5px 18px rgba(67, 233, 123, 0.25);
}

.dp-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.6);
}

.dp-empty h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin: 15px 0 10px;
}

/* ── Activity Feed ─────────────────────────────────────────── */
.activity-section {
  padding: 80px 0;
  background: var(--darker-bg, #0a0a18);
}

.activity-feed {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.12);
  border-radius: 15px;
  padding: 18px 25px;
  transition: border-color 0.3s ease;
}

.activity-item:hover {
  border-color: rgba(255, 193, 7, 0.3);
}

.activity-avatar {
  font-size: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-info {
  flex: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.activity-info strong {
  color: #fff;
}

.activity-qty {
  color: var(--primary-color);
  font-weight: 700;
}

.activity-product {
  color: var(--primary-color);
  font-weight: 600;
}

.activity-time {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

/* ── Track CTA ─────────────────────────────────────────────── */
.track-cta-section {
  padding: 60px 0;
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 193, 7, 0.1);
}

.track-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.track-cta-text h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.track-cta-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT GALLERY + ZOOM + LIGHTBOX
   ═══════════════════════════════════════════════════════════ */

/* Gallery wrapper */
.pd-gallery {
  position: relative;
  margin-bottom: 25px;
}

/* Main image container */
.pd-main-image-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 400px;
  background: rgba(255, 193, 7, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.15);
  cursor: crosshair;
  user-select: none;
}

.pd-main-img {
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.25s ease;
}

.pd-main-img.switching {
  opacity: 0;
}

/* Category ribbon (unchanged position) */
.pd-main-image-wrap .pd-category-ribbon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 5;
}

/* Magnify button */
.pd-magnify-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  backdrop-filter: blur(4px);
}

.pd-magnify-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
  transform: scale(1.1);
}

/* Zoom lens overlay on the image */
.pd-zoom-lens {
  position: absolute;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: none;
  pointer-events: none;
  z-index: 8;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
}

/* Zoom result panel */
.pd-zoom-result {
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% + 16px);
  width: 340px;
  height: 400px;
  border-radius: 22px;
  border: 1px solid rgba(255, 193, 7, 0.3);
  background-repeat: no-repeat;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 20;
  overflow: hidden;
}

/* Show zoom on hover */
.pd-main-image-wrap:hover .pd-zoom-lens {
  display: block;
}
.pd-gallery:hover .pd-zoom-result {
  display: block;
}

/* Thumbnails strip */
.pd-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 193, 7, 0.2);
  cursor: pointer;
  transition:
    border-color 0.25s,
    transform 0.25s;
  flex-shrink: 0;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.pd-thumb:hover {
  border-color: rgba(255, 193, 7, 0.6);
  transform: translateY(-2px);
}

.pd-thumb:hover img {
  transform: scale(1.08);
}

.pd-thumb.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

/* ── Lightbox ──────────────────────────────────────────────── */
.pd-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.pd-lightbox.open {
  display: flex;
}

.pd-lb-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-lb-img-wrap img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease;
}

.pd-lb-close,
.pd-lb-prev,
.pd-lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.pd-lb-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.pd-lb-prev,
.pd-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 28px;
  font-weight: 300;
}

.pd-lb-prev {
  left: 20px;
}
.pd-lb-next {
  right: 20px;
}

.pd-lb-close:hover,
.pd-lb-prev:hover,
.pd-lb-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
}

.pd-lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Responsive: hide zoom pane, use lightbox instead */
@media (max-width: 1200px) {
  .pd-zoom-result {
    display: none !important;
  }
  .pd-zoom-lens {
    display: none !important;
  }
  .pd-main-image-wrap {
    cursor: pointer;
  }
}

/* ── CTA Buttons (reused) ──────────────────────────────────── */
.cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ffaa00 100%);
  color: var(--dark-bg);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.cta-button.secondary:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT DETAILS PAGE
   ═══════════════════════════════════════════════════════════ */
.pd-section {
  padding: 80px 0 100px;
  background: var(--dark-bg);
}

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.pd-image-wrap {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  height: 380px;
  background: rgba(255, 193, 7, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.15);
}

.pd-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}

.pd-category-ribbon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--primary-color);
  color: var(--dark-bg);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pd-details-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 22px;
  padding: 35px;
  margin-top: 25px;
}

.pd-details-card h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 15px;
}

.pd-description {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 25px;
}

.pd-meta-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.pd-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pd-meta-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pd-meta-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3px;
}

.pd-meta-value {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
}

.availability-available {
  color: #4caf50 !important;
}
.availability-out_of_stock {
  color: #f44336 !important;
}

.pd-price-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 14px;
  padding: 18px 22px;
}

.pd-price-display span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pd-price-display strong {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-color);
}

/* ── Fulfillment Progress (detail page) ────────────────────── */
.pd-fulfillment {
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.pd-fulfillment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pd-fulfillment-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pd-fulfillment-pct {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-color);
}

.pd-fulfillment-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.pd-fulfillment-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffc107, #ffaa00);
  border-radius: 10px;
  transition: width 1s ease;
}

.pd-fulfillment-fill.full {
  background: linear-gradient(90deg, #43e97b, #38f9d7);
}

.pd-fulfillment-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
}

.pd-fulfillment-stats strong {
  color: #fff;
}

.pd-fulfillment-done {
  color: #43e97b !important;
  font-weight: 700;
}

/* Payment info card */
.payment-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 22px;
  padding: 30px;
  margin-top: 25px;
}

.payment-info-card h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.payment-numbers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pay-num-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.pay-method-label {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  min-width: 60px;
  text-align: center;
}

.bkash-label {
  background: #e2136e22;
  color: #e2136e;
  border: 1px solid #e2136e44;
}
.nagad-label {
  background: #f05a2822;
  color: #f05a28;
  border: 1px solid #f05a2844;
}
.rocket-label {
  background: #8b1eb322;
  color: #8b1eb3;
  border: 1px solid #8b1eb344;
}

.pay-num {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex: 1;
}

.pay-type {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.payment-note {
  background: rgba(255, 193, 7, 0.08);
  border-left: 3px solid var(--primary-color);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ── Order Form ─────────────────────────────────────────────── */
.order-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 25px;
  padding: 40px;
  position: sticky;
  top: 100px;
}

.order-form-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 193, 7, 0.15);
}

.order-form-icon {
  font-size: 50px;
  width: 70px;
  height: 70px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-form-header h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 5px;
}

.order-form-header p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

/* Quantity control */
.qty-total-row {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-end;
}

.qty-control,
.total-display {
  flex: 1;
}

.qty-control label,
.total-display label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.qty-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.qty-btn {
  width: 44px;
  height: 50px;
  background: rgba(255, 193, 7, 0.1);
  border: none;
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.qty-btn:hover {
  background: rgba(255, 193, 7, 0.25);
}

.qty-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  outline: none;
  padding: 0;
  height: 50px;
}

.total-amount-box {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 193, 7, 0.1);
  border: 1.5px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 900;
  padding: 0 20px;
  gap: 3px;
}

/* Form fields */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.req {
  color: var(--primary-color);
}
.optional {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 193, 7, 0.2);
  border-radius: 12px;
  padding: 13px 18px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Payment method radios */
.payment-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pm-option {
  cursor: pointer;
}
.pm-option input {
  display: none;
}

.pm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.pm-btn:hover,
.pm-btn.selected {
  border-color: var(--primary-color);
  background: rgba(255, 193, 7, 0.1);
  color: #fff;
}

/* Order summary box */
.order-summary-box {
  background: rgba(255, 193, 7, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row span:last-child {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.total-row {
  margin-top: 5px;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 193, 7, 0.2) !important;
}

.total-row span {
  color: var(--primary-color) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

/* Submit button */
.submit-order-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ffaa00 100%);
  color: var(--dark-bg);
  border: none;
  padding: 17px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35);
  letter-spacing: 0.5px;
}

.submit-order-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
}

.submit-order-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.out-of-stock-msg {
  text-align: center;
  color: #f44336;
  font-size: 13px;
  margin-top: 12px;
}

/* Trust signals */
.trust-signals {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
}

/* Related products */
.related-products-section {
  padding: 80px 0;
  background: var(--darker-bg, #0a0a18);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

/* ═══════════════════════════════════════════════════════════
   CONFIRMATION PAGE
   ═══════════════════════════════════════════════════════════ */
.confirmation-section {
  padding: 80px 0 120px;
  background: var(--dark-bg);
  min-height: 70vh;
}

.confirmation-wrapper {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* Success animation */
.confirm-success-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-success-icon span {
  font-size: 56px;
  animation: bounceIn 0.6s ease;
  position: relative;
  z-index: 1;
}

.success-ring {
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirm-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.confirm-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  margin-bottom: 40px;
}

/* Order code hero */
.order-code-hero {
  background: rgba(255, 193, 7, 0.08);
  border: 2px dashed rgba(255, 193, 7, 0.4);
  border-radius: 22px;
  padding: 35px;
  margin-bottom: 35px;
}

.order-code-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.order-code-value {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 4px;
  margin-bottom: 18px;
  font-family: monospace;
}

.copy-code-btn {
  background: var(--primary-color);
  color: var(--dark-bg);
  border: none;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.copy-code-btn:hover {
  transform: scale(1.05);
}

.copy-success {
  display: none;
  color: #4caf50;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
}

/* Confirm summary */
.confirm-summary-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
}

.confirm-summary-card h4,
.payment-instructions-card h4,
.status-timeline h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.confirm-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.confirm-row:last-child {
  border-bottom: none;
}
.confirm-row span:first-child {
  color: rgba(255, 255, 255, 0.55);
}
.confirm-row span:last-child {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.total-confirm-row span {
  color: var(--primary-color) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

/* Payment instructions */
.payment-instructions-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
}

.payment-step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.pay-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

.pay-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--dark-bg);
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pay-number-highlight {
  color: var(--primary-color);
  font-size: 17px;
  font-family: monospace;
}

.order-code-inline {
  background: rgba(255, 193, 7, 0.12);
  color: var(--primary-color);
  padding: 2px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 15px;
  font-weight: 800;
}

.payment-warning {
  background: rgba(255, 193, 7, 0.08);
  border-left: 4px solid var(--primary-color);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Status timeline (confirmation page) */
.status-timeline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 35px;
  text-align: left;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline-steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 193, 7, 0.15);
}

.tl-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 15px 0;
  position: relative;
}

.tl-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 193, 7, 0.25);
  background: var(--dark-bg);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-step.active .tl-dot {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.2);
}

.tl-content strong {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 3px;
}

.tl-step.active .tl-content strong {
  color: #fff;
}

.tl-content small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.confirm-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   TRACK PAGE
   ═══════════════════════════════════════════════════════════ */
.track-section {
  padding: 80px 0;
  background: var(--dark-bg);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.track-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 25px;
  padding: 60px 50px;
}

.track-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.track-card h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.track-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.track-form {
  margin-bottom: 20px;
}

.track-input-group {
  display: flex;
  gap: 0;
  border: 2px solid rgba(255, 193, 7, 0.3);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.track-input-group:focus-within {
  border-color: var(--primary-color);
}

.track-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 20px;
  color: #fff;
  font-size: 16px;
  outline: none;
  font-family: monospace;
}

.track-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.track-input-group button {
  background: var(--primary-color);
  color: var(--dark-bg);
  border: none;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.track-input-group button:hover {
  background: #ffaa00;
}

.track-help {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.track-help a {
  color: var(--primary-color);
}

.alert-error {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  border-radius: 10px;
  padding: 12px 18px;
  color: #f44336;
  font-size: 14px;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════
   STATUS PAGE
   ═══════════════════════════════════════════════════════════ */
.status-section {
  padding: 80px 0 120px;
  background: var(--dark-bg);
}

.status-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.status-hero {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px 35px;
  border-radius: 22px;
  margin-bottom: 40px;
  border: 1px solid;
}

.status-pending {
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.3);
}
.status-verified {
  background: rgba(76, 175, 80, 0.08);
  border-color: rgba(76, 175, 80, 0.3);
}
.status-completed {
  background: rgba(33, 150, 243, 0.08);
  border-color: rgba(33, 150, 243, 0.3);
}
.status-cancelled {
  background: rgba(244, 67, 54, 0.08);
  border-color: rgba(244, 67, 54, 0.3);
}

.status-hero-icon {
  font-size: 50px;
}

.status-hero-text h2 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}

.status-hero-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}

.status-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.status-details-card,
.progress-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 20px;
  padding: 30px;
}

.status-details-card h4,
.progress-card h4,
.delivery-proof-card h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.status-rows {
  display: flex;
  flex-direction: column;
}

.status-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 15px;
}

.status-row:last-child {
  border-bottom: none;
}
.status-row span:first-child {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.status-row span:last-child {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: right;
}

/* Progress timeline */
.progress-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.progress-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 193, 7, 0.1);
}

.progress-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  position: relative;
  opacity: 0.4;
}

.progress-step.done,
.progress-step.current {
  opacity: 1;
}

.progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.08);
  border: 2px solid rgba(255, 193, 7, 0.2);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.progress-step.done .progress-dot {
  background: #4caf50;
  border-color: #4caf50;
  color: #fff;
}

.progress-step.current .progress-dot {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
  box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.2);
}

.progress-content strong {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 3px;
}

.progress-step.current .progress-content strong {
  color: #fff;
}

.progress-content small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

/* Delivery proof */
.delivery-proof-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
}

.delivery-proof-layout {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.delivery-photo {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

.delivery-details {
  flex: 1;
}

.delivery-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
}

.delivery-notes {
  margin-top: 15px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.7;
}

.pending-reminder {
  background: rgba(255, 193, 7, 0.07);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.pending-reminder h4 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 12px;
}

.pending-reminder p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }
  .order-form-card {
    position: static;
  }
  .pd-order-col {
    order: -1;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .status-layout {
    grid-template-columns: 1fr;
  }
  .delivery-proof-layout {
    flex-direction: column;
  }
  .delivery-photo {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .impact-banner-inner {
    gap: 0;
  }
  .impact-stat {
    padding: 15px 25px;
  }
  .impact-divider {
    display: none;
  }
  .impact-number {
    font-size: 30px;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
  }
  .step-arrow {
    transform: rotate(90deg);
    padding: 5px 0;
  }
  .step-item {
    width: 100%;
    max-width: 300px;
  }

  .dp-grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .payment-method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-form-card {
    padding: 25px 20px;
  }

  .confirm-title {
    font-size: 30px;
  }
  .order-code-value {
    font-size: 26px;
    letter-spacing: 2px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .track-card {
    padding: 40px 25px;
  }
  .track-input-group {
    flex-direction: column;
  }
  .track-input-group button {
    padding: 14px;
  }

  .status-row {
    flex-direction: column;
  }

  .status-row span:last-child {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .status-section {
    padding: 20px 0px;
  }
  .pd-section {
    padding: 20px 0px;
  }

  .qty-total-row {
    flex-direction: column;
    align-items: normal;
  }

  .pay-num-item {
    flex-direction: column;
  }

  .pd-details-card,
  .payment-info-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .category-filter {
    gap: 8px;
  }
  .category-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .confirm-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
  .status-hero {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .track-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Card footer on very small screens */
  .dp-footer {
    padding: 0 18px 18px;
  }

  .dp-progress-donated-num {
    font-size: 22px;
  }
  .dp-progress-needed-num {
    font-size: 15px;
  }

  .dp-price-donate-row {
    gap: 8px;
  }
  .price-amount {
    font-size: 22px;
  }
  .dp-donate-btn {
    padding: 9px 14px;
    font-size: 13px;
  }
  .dp-donate-btn--full {
    font-size: 11px;
    padding: 9px 11px;
  }
}
