/* =========================================================
 * PACKAGE DELIVERY — PUBLIC STYLES
 * ========================================================= */
.delivery {
  padding: 4rem 0;
  background: #fdfdfb;
}

.delivery-hero-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}
.delivery-hero-img img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
}

.delivery .stag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c0392b;
  border: 1px solid #c0392b;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.delivery .sec-title {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1e2a2f;
  margin-bottom: 1rem;
}
.delivery .sec-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: #5a6b70;
  margin-bottom: 1.6rem;
}

.delivery-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.3rem;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h6 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e2a2f;
}
.step-body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #6b7b80;
}

.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 50px;
  color: #27ae60;
  font-size: 0.85rem;
  font-weight: 600;
}
.track-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27ae60;
  box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6);
  animation: trackPulse 1.6s infinite;
}
@keyframes trackPulse {
  0%   { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

@media (max-width: 991.98px) {
  .delivery-hero-img img { min-height: 340px; }
}
@media (max-width: 767.98px) {
  .delivery .sec-title { font-size: 1.7rem; }
  .delivery-hero-img img { min-height: 260px; }
}

/* =========================================================
 * ADMIN TOOLBAR
 * ========================================================= */
.mm-dl-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: #1e293b; color: #fff; padding: 10px 16px;
  border-radius: 8px; margin-bottom: 20px; font-size: 14px;
}

.mm-dl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 0; border-radius: 6px; cursor: pointer;
  font-size: 13px; font-weight: 600; transition: .15s;
}
.mm-dl-btn:hover { opacity: .85; }
.mm-dl-edit    { background: #f97316; color: #fff; }
.mm-dl-primary { background: #16a34a; color: #fff; }
.mm-dl-cancel  { background: #e2e8f0; color: #1e293b; }
.mm-dl-danger  { background: #ef4444; color: #fff; }
.mm-dl-small   { padding: 6px 10px; font-size: 12px; }
.mm-dl-add     { margin-left: auto; background: #f97316; color: #fff; }

/* =========================================================
 * ADMIN MODAL
 * ========================================================= */
.mm-dl-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: none; align-items: flex-start; justify-content: center;
  z-index: 99999; padding: 20px; overflow-y: auto;
}
.mm-dl-modal.mm-open { display: flex; }

.mm-dl-modal-box {
  background: #fff; border-radius: 10px; padding: 24px;
  max-width: 720px; width: 100%; margin: auto;
}
.mm-dl-modal-box h3 { margin: 0 0 16px; }
.mm-dl-modal-box h4.mm-dl-steps-title {
  margin: 22px 0 12px; font-size: 13px; text-transform: uppercase;
  letter-spacing: .05em; color: #334155;
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid #e2e8f0; padding-top: 18px;
}

.mm-dl-modal-box label {
  display: block; font-size: 12px; font-weight: 600;
  margin: 10px 0 4px; color: #334155;
  text-transform: uppercase; letter-spacing: .03em;
}
.mm-dl-modal-box input[type=text],
.mm-dl-modal-box textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1;
  border-radius: 6px; font-family: inherit; font-size: 14px;
  box-sizing: border-box;
}
.mm-dl-modal-box textarea { resize: vertical; font-family: monospace; font-size: 13px; }

.mm-dl-img-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.mm-dl-img-preview {
  width: 140px; height: 90px; border-radius: 6px;
  background: #f1f5f9 center/cover no-repeat;
  border: 1px dashed #cbd5e1;
}
.mm-dl-img-buttons { display: flex; flex-direction: column; gap: 6px; }

.mm-dl-step {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 10px 16px 14px; margin-bottom: 12px;
}
.mm-dl-step-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.mm-dl-step-num { font-size: 12px; font-weight: 700; color: #64748b; }

.mm-dl-modal-actions {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 22px; border-top: 1px solid #e2e8f0; padding-top: 18px;
}