/* =============================================================
   DASTARKHAN DELIGHTS — Components Library
   Buttons, Cards, Forms, Modals, Badges, Toasts, etc.
   ============================================================= */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  padding: 13px 28px;
  border-radius: var(--radius-button);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.btn:disabled,
.btn--loading {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — saffron filled */
.btn--primary {
  background: var(--saffron);
  color: white;
  border-color: var(--saffron);
}
.btn--primary:hover {
  background: var(--saffron-dark);
  border-color: var(--saffron-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-saffron);
}
.btn--primary:active { transform: translateY(0); }

/* Secondary — forest outline */
.btn--secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--secondary:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-2px);
}

/* White outline (for dark backgrounds) */
.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

/* WhatsApp */
.btn--whatsapp {
  background: var(--whatsapp);
  color: white;
  border-color: var(--whatsapp);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

/* Ghost — text link style */
.btn--ghost {
  background: transparent;
  color: var(--saffron);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover {
  color: var(--saffron-dark);
  text-decoration: underline;
}

/* Forest filled */
.btn--forest {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.btn--forest:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lifted);
}

/* Sizes */
.btn--sm { padding: 9px 18px; font-size: var(--text-sm); }
.btn--lg { padding: 16px 36px; font-size: var(--text-lg); }
.btn--xl { padding: 18px 44px; font-size: var(--text-xl); }
.btn--full { width: 100%; }
.btn--icon {
  padding: 10px;
  border-radius: var(--radius-circle);
  width: 44px;
  height: 44px;
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.btn:active::after {
  animation: ripple 0.4s ease-out;
}


/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-badge);
  line-height: 1;
  white-space: nowrap;
}

.badge--bestseller {
  background: var(--saffron);
  color: white;
}
.badge--new {
  background: var(--forest);
  color: white;
}
.badge--eid {
  background: linear-gradient(135deg, var(--forest), var(--forest-mid));
  color: var(--saffron-light);
}
.badge--halal {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid rgba(30, 107, 58, 0.2);
}
.badge--fresh {
  background: var(--forest-light);
  color: var(--forest-mid);
  border: 1px solid rgba(45, 107, 66, 0.2);
}
.badge--sale {
  background: var(--error-light);
  color: var(--error);
  border: 1px solid rgba(192, 57, 43, 0.2);
}
.badge--category {
  background: var(--forest-light);
  color: var(--forest);
  font-size: var(--text-xs);
  padding: 3px 8px;
}

/* Cart count badge */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--saffron);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  line-height: 1;
  border: 2px solid var(--warm-white);
}
.cart-badge--animate {
  animation: pulseBadge 0.4s ease;
}


/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  background: var(--warm-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lifted);
}

.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--saffron-pale);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__image {
  transform: scale(1.07);
}

.product-card__badges {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.product-card__badge-eid {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 1;
}

.product-card__quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(30,74,45,0.95) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  gap: var(--space-sm);
}
.product-card:hover .product-card__quick-add {
  transform: translateY(0);
}
.product-card__quick-add .btn {
  flex: 1;
  font-size: var(--text-sm);
  padding: 10px 14px;
}

.product-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-sm);
}

.product-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--forest-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.3;
  margin: 0;
}

.product-card__variant {
  font-size: var(--text-sm);
  color: var(--muted);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card__stars {
  display: flex;
  gap: 1px;
}
.product-card__star {
  width: 14px;
  height: 14px;
  fill: var(--saffron);
  color: var(--saffron);
}
.product-card__star--empty {
  fill: none;
  stroke: var(--saffron);
}

.product-card__review-count {
  font-size: var(--text-xs);
  color: var(--muted);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-sm);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--saffron);
}

.product-card__price-original {
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 4px;
}

.product-card__add-btn {
  width: 38px;
  height: 38px;
  background: var(--saffron);
  color: white;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-spring);
  flex-shrink: 0;
}
.product-card__add-btn:hover {
  background: var(--saffron-dark);
  transform: scale(1.15);
}
.product-card__add-btn svg { width: 18px; height: 18px; }


/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
}

.form-label--required::after {
  content: ' *';
  color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #D4C9B4;
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--charcoal);
  background: var(--warm-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--saffron);
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 150, 58, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input--error,
.form-select--error,
.form-textarea--error {
  border-color: var(--error);
}
.form-input--error:focus,
.form-select--error:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--error);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7060' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Quantity Stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #D4C9B4;
  border-radius: var(--radius-button);
  overflow: hidden;
  width: fit-content;
}

.qty-stepper__btn {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
  color: var(--forest);
  font-size: var(--text-xl);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.qty-stepper__btn:hover {
  background: var(--forest-light);
  color: var(--forest);
}

.qty-stepper__value {
  min-width: 50px;
  text-align: center;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--charcoal);
  border-left: 1.5px solid #D4C9B4;
  border-right: 1.5px solid #D4C9B4;
  padding: 0 var(--space-sm);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

/* Weight/Variant Selector */
.variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.variant-pill {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #D4C9B4;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
  background: var(--warm-white);
  cursor: pointer;
  transition: var(--transition-base);
}
.variant-pill:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}
.variant-pill--active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: white;
}

/* Coupon Input */
.coupon-wrap {
  display: flex;
  gap: var(--space-sm);
}
.coupon-wrap .form-input {
  flex: 1;
}


/* ============================================================
   ACCORDION
   ============================================================ */
.accordion__item {
  border-bottom: 1px solid rgba(212, 201, 180, 0.5);
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  transition: color 0.2s;
  gap: var(--space-md);
}
.accordion__header:hover { color: var(--saffron); }

.accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--saffron);
  transition: transform 0.3s ease;
}
.accordion__item--open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.accordion__item--open .accordion__body {
  max-height: 600px;
  padding-bottom: var(--space-md);
}

.accordion__content {
  font-size: var(--text-base);
  color: var(--charcoal);
  line-height: 1.7;
}


/* ============================================================
   STAR RATING
   ============================================================ */
.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.stars__icon {
  width: 16px;
  height: 16px;
  fill: var(--saffron);
  color: var(--saffron);
}
.stars__icon--empty { fill: none; }
.stars__count {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-left: 4px;
}


/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  animation: overlayFadeIn 0.25s ease;
}
.modal-overlay--hidden {
  display: none;
}

.modal {
  background: var(--warm-white);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-dark);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.25s ease;
  position: relative;
}

.modal__header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  border-bottom: 1px solid rgba(212, 201, 180, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--warm-white);
  z-index: 1;
}

.modal__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--forest);
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.modal__close:hover {
  background: var(--forest-light);
  color: var(--forest);
}

.modal__body {
  padding: var(--space-xl);
}

.modal__footer {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}


/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-dark);
  min-width: 280px;
  max-width: 380px;
  pointer-events: all;
  animation: toastSlideIn 0.35s ease;
  position: relative;
  overflow: hidden;
}

.toast--success {
  background: var(--forest);
  color: white;
}
.toast--error {
  background: var(--error);
  color: white;
}
.toast--info {
  background: var(--saffron);
  color: white;
}
.toast--warning {
  background: #92400e;
  color: white;
}

.toast__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.toast__text {
  flex: 1;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
}
.toast__close {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  cursor: pointer;
  flex-shrink: 0;
}
.toast__close:hover { opacity: 1; }

.toast--exiting {
  animation: toastFadeOut 0.3s ease forwards;
}

.toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,0.4);
  animation: toastProgress 3s linear forwards;
}

@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}


/* ============================================================
   MINI CART DRAWER
   ============================================================ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-drawer-overlay--active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--warm-white);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-dark);
}
.cart-drawer--active {
  transform: translateX(0);
}

.cart-drawer__header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  border-bottom: 1px solid rgba(212, 201, 180, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--forest);
}

.cart-drawer__count {
  font-size: var(--text-sm);
  color: var(--muted);
  font-family: var(--font-body);
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-drawer__item {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(212, 201, 180, 0.3);
}

.cart-drawer__item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--saffron-pale);
  flex-shrink: 0;
}

.cart-drawer__item-info { flex: 1; }
.cart-drawer__item-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.3;
}
.cart-drawer__item-variant {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 2px;
}
.cart-drawer__item-price {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--saffron);
  margin-top: var(--space-xs);
}

.cart-drawer__item-remove {
  color: var(--muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.cart-drawer__item-remove:hover {
  background: var(--error-light);
  color: var(--error);
}

.cart-drawer__footer {
  padding: var(--space-xl);
  border-top: 1px solid rgba(212, 201, 180, 0.4);
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}
.cart-drawer__subtotal-label {
  font-size: var(--text-sm);
  color: var(--muted);
}
.cart-drawer__subtotal-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--saffron);
}

.cart-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cart-drawer__empty {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  color: var(--muted);
}
.cart-drawer__empty svg {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  color: #D4C9B4;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-weight: 500;
}
.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--saffron-light);
  flex-shrink: 0;
}
.trust-item--dark { color: var(--forest-mid); }
.trust-item--dark svg { color: var(--forest-mid); }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  background: var(--warm-white);
  border: 1.5px solid #D4C9B4;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px var(--space-md);
  transition: var(--transition-base);
}
.search-bar:focus-within {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 150, 58, 0.15);
}
.search-bar__icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}
.search-bar__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: var(--text-base);
  color: var(--charcoal);
  outline: none;
}
.search-bar__input::placeholder { color: var(--muted); }
.search-bar__clear {
  color: var(--muted);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
  cursor: pointer;
}
.search-bar__clear:hover {
  background: var(--forest-light);
  color: var(--forest);
}

/* ============================================================
   ORDER SUMMARY PANEL
   ============================================================ */
.order-summary {
  background: var(--warm-white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(212, 201, 180, 0.4);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}

.order-summary__header {
  padding: var(--space-lg) var(--space-xl);
  background: var(--forest);
  color: white;
}
.order-summary__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: white;
}

.order-summary__body {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
}
.order-summary__row--label { color: var(--charcoal); }
.order-summary__row--value { font-weight: 600; color: var(--charcoal); }
.order-summary__row--free { color: var(--success); font-weight: 700; }
.order-summary__row--discount { color: var(--error); }

.order-summary__divider {
  height: 1px;
  background: rgba(212, 201, 180, 0.4);
  margin: var(--space-sm) 0;
}

.order-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
}
.order-summary__total-label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--charcoal);
}
.order-summary__total-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--saffron);
}

.order-summary__footer {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* ============================================================
   SECTION HEADING
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-heading__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: var(--space-sm);
}
.section-heading__title {
  font-family: var(--font-display);
  color: var(--forest);
  margin-bottom: var(--space-md);
}
.section-heading__title--light { color: white; }
.section-heading__sub {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
}
.section-heading__sub--light { color: rgba(255,255,255,0.75); }

/* ============================================================
   TESTIMONIAL CARD
   ============================================================ */
.testimonial-card {
  background: var(--warm-white);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
}

.testimonial-card__quote-icon {
  width: 36px;
  height: 36px;
  color: var(--saffron);
  opacity: 0.4;
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.testimonial-card__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--saffron-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--saffron);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--forest);
}
.testimonial-card__location {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ============================================================
   STEP INDICATOR
   ============================================================ */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-indicator__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
}
.step-indicator__item:last-child { flex: 0; }

.step-indicator__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #D4C9B4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--muted);
  font-family: var(--font-body);
  flex-shrink: 0;
  transition: var(--transition-base);
}
.step-indicator__item--active .step-indicator__circle {
  background: var(--saffron);
  border-color: var(--saffron);
  color: white;
}
.step-indicator__item--complete .step-indicator__circle {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-indicator__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.step-indicator__item--active .step-indicator__label { color: var(--saffron); }
.step-indicator__item--complete .step-indicator__label { color: var(--success); }

.step-indicator__line {
  flex: 1;
  height: 2px;
  background: #D4C9B4;
  margin: 0 var(--space-sm);
  transition: background 0.3s ease;
}
.step-indicator__item--complete + .step-indicator__line {
  background: var(--success);
}

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.info-box--saffron {
  background: var(--saffron-pale);
  border: 1px solid rgba(232, 150, 58, 0.2);
  color: #8B5E1A;
}
.info-box--forest {
  background: var(--forest-light);
  border: 1px solid rgba(30, 74, 45, 0.15);
  color: var(--forest);
}
.info-box--error {
  background: var(--error-light);
  border: 1px solid rgba(192, 57, 43, 0.15);
  color: var(--error);
}
.info-box__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.info-box__text {
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.5;
}

/* ============================================================
   PRICE RANGE SLIDER
   ============================================================ */
.price-slider {
  padding: var(--space-md) 0;
}
.price-slider input[type="range"] {
  width: 100%;
  accent-color: var(--saffron);
  height: 4px;
  cursor: pointer;
}
.price-slider__labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-sm);
}

/* ============================================================
   HALAL / TRUST BADGE INLINE
   ============================================================ */
.inline-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--muted);
}
.breadcrumb__sep {
  color: #D4C9B4;
  font-size: 10px;
}
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb__current { color: var(--charcoal); font-weight: 600; }
