/* Delivery Time Popup — popup.css */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --dtp-bg:      #0f0e17;
  --dtp-accent:  #ff6b35;
  --dtp-glass:   rgba(255,255,255,.06);
  --dtp-border:  rgba(255,255,255,.1);
  --dtp-text:    #fffffe;
  --dtp-muted:   rgba(255,255,255,.6);
  --dtp-radius:  24px;
}

/* ── OVERLAY ── */
#dtp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: dtpFadeIn .35s ease;
}
#dtp-overlay.active { display: block; }

@keyframes dtpFadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* ── POPUP BOX ── */
#dtp-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.92);
  z-index: 999999;
  width: min(480px, 92vw);
  background: var(--dtp-bg);
  border: 1px solid var(--dtp-border);
  border-radius: var(--dtp-radius);
  box-shadow:
    0 0 0 1px rgba(255,107,53,.25),
    0 32px 80px rgba(0,0,0,.7),
    0 0 120px rgba(255,107,53,.08);
  overflow: hidden;
  font-family: 'Hind Siliguri', sans-serif;
  color: var(--dtp-text);
  opacity: 0;
  transition: opacity .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1);
}
#dtp-popup.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ── GLOW TOP BAR ── */
.dtp-glow-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--dtp-accent), #ffb347, var(--dtp-accent));
  background-size: 200%;
  animation: dtpBarShift 3s linear infinite;
}
@keyframes dtpBarShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── HEADER SECTION ── */
.dtp-header {
  position: relative;
  padding: 32px 32px 24px;
  text-align: center;
  overflow: hidden;
}
.dtp-header::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(255,107,53,.18), transparent 70%);
  pointer-events: none;
}

.dtp-pulse-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--dtp-glass);
  border: 1px solid var(--dtp-border);
  margin-bottom: 16px;
  position: relative;
}
.dtp-pulse-ring::before,
.dtp-pulse-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--dtp-accent);
  animation: dtpPulse 2.2s ease-out infinite;
}
.dtp-pulse-ring::after { animation-delay: 1.1s; }
@keyframes dtpPulse {
  0%   { opacity:.8; transform: scale(1); }
  100% { opacity:0;  transform: scale(1.6); }
}

.dtp-moto-icon { font-size: 30px; line-height:1; }

.dtp-shop-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dtp-accent);
  margin-bottom: 8px;
}

.dtp-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
}

.dtp-subtitle {
  font-size: 14px;
  color: var(--dtp-muted);
  margin: 0;
}

/* ── STATUS BADGE ── */
.dtp-status-row {
  display: flex;
  justify-content: center;
  padding: 0 32px 20px;
}
.dtp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,107,53,.12);
  border: 1px solid rgba(255,107,53,.3);
  font-size: 13px;
  font-weight: 600;
  color: var(--dtp-accent);
}
.dtp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dtp-accent);
  animation: dtpBlink 1.4s step-start infinite;
}
@keyframes dtpBlink {
  0%,100% { opacity:1; }
  50%      { opacity:.2; }
}

/* ── SCHEDULE ROW ── */
.dtp-schedule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 32px 22px;
  padding: 14px 18px;
  background: var(--dtp-glass);
  border: 1px solid var(--dtp-border);
  border-radius: 14px;
}
.dtp-schedule-icon { font-size: 22px; }
.dtp-schedule-text { font-size: 13px; color: var(--dtp-muted); line-height: 1.5; }
.dtp-schedule-time { font-size: 16px; font-weight: 700; color: var(--dtp-text); }

/* ── COUNTDOWN BLOCK ── */
.dtp-countdown-wrap {
  margin: 0 32px 24px;
  padding: 22px 18px;
  background: linear-gradient(135deg, rgba(255,107,53,.12), rgba(255,107,53,.04));
  border: 1px solid rgba(255,107,53,.25);
  border-radius: 18px;
  text-align: center;
}
.dtp-countdown-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dtp-accent);
  margin-bottom: 14px;
  font-weight: 700;
}
.dtp-timer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}
.dtp-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.dtp-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--dtp-text);
  min-width: 68px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--dtp-border);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  transition: color .25s;
}
.dtp-num.tick { color: var(--dtp-accent); }
.dtp-unit-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dtp-muted);
}
.dtp-colon {
  font-size: 36px;
  font-weight: 700;
  color: var(--dtp-muted);
  padding-bottom: 12px;
  animation: dtpColonBlink 1s step-start infinite;
}
@keyframes dtpColonBlink {
  0%,100% { opacity:1; }
  50%      { opacity:.25; }
}

/* ── NOTE ── */
.dtp-note {
  margin: 0 32px 20px;
  padding: 12px 16px;
  background: var(--dtp-glass);
  border-left: 3px solid var(--dtp-accent);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: var(--dtp-muted);
  line-height: 1.6;
}

/* ── PHONE / CTA ── */
.dtp-phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 32px 26px;
  padding: 14px;
  background: var(--dtp-glass);
  border: 1px solid var(--dtp-border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--dtp-text);
  transition: background .2s, border-color .2s;
}
.dtp-phone-row:hover {
  background: rgba(255,107,53,.1);
  border-color: rgba(255,107,53,.4);
  color: var(--dtp-text);
  text-decoration: none;
}
.dtp-phone-icon { font-size: 20px; }
.dtp-phone-num  { font-size: 15px; font-weight: 700; }

/* ── CLOSE BUTTON ── */
.dtp-footer {
  padding: 0 32px 28px;
  text-align: center;
}
.dtp-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--dtp-accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 6px 24px rgba(255,107,53,.35);
}
.dtp-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,107,53,.5);
  background: #ff8555;
}
.dtp-close-btn:active { transform: translateY(0); }

.dtp-order-hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--dtp-muted);
}

/* ── ALREADY ONLINE STATE ── */
.dtp-online-mode .dtp-pulse-ring { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.3); }
.dtp-online-mode .dtp-pulse-ring::before,
.dtp-online-mode .dtp-pulse-ring::after { border-color: #22c55e; }
.dtp-online-mode .dtp-badge { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.3); color:#22c55e; }
.dtp-online-mode .dtp-dot { background: #22c55e; }

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .dtp-header, .dtp-schedule, .dtp-countdown-wrap,
  .dtp-note, .dtp-phone-row, .dtp-footer { padding-left: 20px; padding-right: 20px; }
  .dtp-num  { font-size: 32px; min-width: 52px; }
  .dtp-title { font-size: 22px; }
}

/* ═══════════════════════════════════════════════
   ONLINE BANNER — shows when delivery is active
   ═══════════════════════════════════════════════ */
#dtp-online-banner {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147483646 !important; /* above everything including sticky header */
  width: 100% !important;
  background: linear-gradient(90deg, #0a3d1f 0%, #0f5c2e 40%, #0a3d1f 100%) !important;
  border-top: 2px solid #22c55e !important;
  box-shadow: 0 -4px 30px rgba(34,197,94,.3), 0 -1px 0 rgba(34,197,94,.15) !important;
  font-family: 'Space Grotesk', sans-serif;
  padding: 0;
  overflow: hidden;
  /* Reset any theme interference */
  margin: 0 !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  clip: auto !important;
  clip-path: none !important;
}
#dtp-online-banner.visible { display: block !important; }

/* Push sticky/fixed header below the banner */
body.dtp-banner-active .ps-header,
body.dtp-banner-active header.site-header,
body.dtp-banner-active #masthead,
body.dtp-banner-active .site-header,
body.dtp-banner-active header.vb-header {
  top: var(--dtp-banner-h, 44px) !important;
  margin-top: 0 !important;
}

/* Push page content down so nothing hides under banner+header */
body.dtp-banner-active {
  padding-top: var(--dtp-banner-h, 44px);
}

.dtp-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  flex-wrap: nowrap;
}

/* Pulse dot */
.dtp-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: dtpBannerPulse 1.6s ease-out infinite;
}
@keyframes dtpBannerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Icon */
.dtp-banner-icon {
  font-size: 15px;
  line-height: 1;
  animation: dtpBannerRide .6s ease-in-out infinite alternate;
}
@keyframes dtpBannerRide {
  from { transform: translateY(0); }
  to   { transform: translateY(-3px); }
}

/* Text */
.dtp-banner-text {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
}
.dtp-banner-text strong {
  color: #4ade80;
  font-weight: 700;
}

/* CTA pill */
.dtp-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #22c55e;
  color: #052e16;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  animation: dtpBannerGlow 2s ease-in-out infinite;
}
.dtp-banner-cta:hover {
  background: #16a34a;
  transform: scale(1.04);
}
@keyframes dtpBannerGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
  50%       { box-shadow: 0 0 12px 3px rgba(34,197,94,.45); }
}

/* Scrolling ticker for wide screens — optional shimmer line */
.dtp-banner-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,.6), transparent);
  animation: dtpShimmer 3s linear infinite;
  pointer-events: none;
}
@keyframes dtpShimmer {
  from { left: -60%; }
  to   { left: 110%; }
}

@media (max-width: 480px) {
  .dtp-banner-inner { gap: 6px; padding: 6px 10px; }
  .dtp-banner-text  { font-size: 11px; }
  .dtp-banner-cta   { font-size: 10px; padding: 3px 10px; }
  .dtp-banner-icon  { font-size: 13px; }
}
