/* ─── Base ─── */
.shipdate-delivery-estimate {
  margin: 12px 0;
  transition: opacity 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ─── Loading skeleton ─── */
.shipdate-delivery-estimate.shipdate-loading .shipdate-text-placeholder {
  display: inline-block;
  width: 200px;
  height: 18px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shipdate-shimmer 1.5s infinite;
  border-radius: 4px;
}
.shipdate-delivery-estimate.shipdate-loading .shipdate-inner {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}
@keyframes shipdate-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Error ─── */
.shipdate-delivery-estimate.shipdate-error { display: none; }

/* ─── Shared ─── */
.shipdate-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.shipdate-icon svg { width: 20px; height: 20px; }
.shipdate-content { line-height: 1.5; }
.shipdate-hl { display: inline; }
[data-shipdate-counter] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  display: inline-block;
  min-width: 6.5em;
  text-align: left;
}

/* ─── 1. Minimal ─── */
.shipdate-minimal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* ─── 2. Badge ─── */
.shipdate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}

/* ─── 3. Card ─── */
.shipdate-card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.shipdate-card-accent {
  height: 4px;
  background: #4f46e5;
}
.shipdate-card-body { padding: 16px; }
.shipdate-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shipdate-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shipdate-card-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 2px;
}
.shipdate-card-countdown {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 11px;
  color: #6b7280;
}

/* ─── 4. Banner ─── */
.shipdate-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
}

/* ─── 5. Floating ─── */
.shipdate-floating {
  position: relative;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 16px;
}
.shipdate-floating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shipdate-floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shipdate-floating-label {
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  margin-bottom: 2px;
}
.shipdate-floating-countdown {
  font-size: 11px;
  color: #6b7280;
  margin-top: 8px;
  margin-left: 48px;
}
.shipdate-floating-arrow {
  position: absolute;
  bottom: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

/* ─── 6. Inline ─── */
.shipdate-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.shipdate-inline-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── 7. Compact ─── */
.shipdate-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.shipdate-compact .shipdate-icon svg { width: 14px; height: 14px; }
.shipdate-compact-countdown {
  font-size: 10px;
  color: #9ca3af;
  margin-top: 4px;
}

/* ─── 8. Elegant ─── */
.shipdate-elegant {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}
.shipdate-elegant-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}
.shipdate-elegant-stock {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.shipdate-elegant-countdown {
  padding: 8px 16px;
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6b7280;
}

/* ─── 9. Pulse — clean card with accent bar + live badge ─── */
.shipdate-pulse {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}
.shipdate-pulse-bar {
  height: 4px;
  position: relative;
}
.shipdate-pulse-bar-fill {
  height: 100%;
  border-radius: 0 99px 99px 0;
  animation: sd-bar-fill 1.5s ease-out forwards;
}
.shipdate-pulse-body {
  padding: 16px;
}
.shipdate-pulse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.shipdate-pulse-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.shipdate-pulse-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: sd-pulse-soft 2.5s ease-in-out infinite;
}
.shipdate-pulse-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.shipdate-pulse-live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(5,150,105,0.06);
}
.shipdate-pulse-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: sd-live-blink 1.5s ease-in-out infinite;
}
.shipdate-pulse-live-text {
  font-size: 9px;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.shipdate-pulse-content {
  flex: 1;
  min-width: 0;
}
.shipdate-pulse-countdown {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 11px;
  color: #6b7280;
}
@keyframes sd-bar-fill { 0% { width: 0; } 100% { width: 65%; } }
@keyframes sd-pulse-soft { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0.08); } 50% { box-shadow: 0 0 0 6px rgba(0,0,0,0); } }
@keyframes sd-live-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ─── 10. Slide-In — full-card road background, truck driving across ─── */
.shipdate-slidein {
  position: relative;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  animation: sd-slidein-enter 0.5s ease-out;
}
.shipdate-slidein-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.shipdate-slidein-bg-surface { position: absolute; inset: 0; }
.shipdate-slidein-bg-row {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.shipdate-slidein-bg-row-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.shipdate-slidein-bg-row-inner > div {
  height: 1.5px;
  width: 16px;
  margin: 0 8px;
  border-radius: 99px;
  flex-shrink: 0;
}
.shipdate-slidein-bg-truck {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  animation: sd-truck-drive 5s linear infinite;
  opacity: 0.12;
}
.shipdate-slidein-inner {
  position: relative;
  padding: 16px;
}
.shipdate-slidein-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shipdate-slidein-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  animation: sd-bounce-icon 2s ease-in-out infinite;
}
.shipdate-slidein-text { flex: 1; min-width: 0; }
.shipdate-slidein-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  animation: sd-slide-up 0.5s ease-out;
}
.shipdate-slidein-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.shipdate-slidein-shimmer {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
}
.shipdate-slidein-shimmer-bar {
  position: absolute;
  inset: 0;
  width: 30%;
  animation: sd-shimmer-line 2s ease-in-out infinite;
}
.shipdate-slidein-content-wrap {
  animation: sd-slide-up 0.5s ease-out 0.15s both;
}
.shipdate-slidein-countdown {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #f3f4f6;
  animation: sd-slide-up 0.5s ease-out 0.3s both;
}
.shipdate-slidein-countdown-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shipdate-slidein-spinner {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.shipdate-slidein-spinner svg { animation: spin 3s linear infinite; }
@keyframes sd-slidein-enter { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes sd-truck-drive { 0% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes sd-road-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-24px); } }
@keyframes sd-slide-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sd-bounce-icon { 0%, 100% { transform: translateY(0) rotate(-2deg); } 25% { transform: translateY(-3px) rotate(0deg); } 50% { transform: translateY(0) rotate(2deg); } 75% { transform: translateY(-1px) rotate(0deg); } }
@keyframes sd-shimmer-line { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ─── Shared — ripple for gradient countdown dot ─── */
@keyframes sd-ripple1 {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ─── 11. Glow — soft breathing glow, light-friendly ─── */
.shipdate-glow {
  border-radius: 16px;
  border: 1px solid;
  overflow: hidden;
  padding: 16px;
  animation: sd-glow-border 3s ease-in-out infinite;
}
.shipdate-glow-line {
  position: relative;
  height: 3px;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(0,0,0,0.04);
}
.shipdate-glow-line-dot {
  position: absolute;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  animation: sd-glow-dot-move 3s ease-in-out infinite;
}
.shipdate-glow-body {
  display: flex;
  align-items: center;
  gap: 14px;
}
.shipdate-glow-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: sd-glow-icon-ring 2s ease-in-out infinite;
}
.shipdate-glow-content {
  flex: 1;
  min-width: 0;
}
.shipdate-glow-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid;
  font-size: 11px;
  color: #6b7280;
}
.shipdate-glow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: sd-live-blink 1.5s ease-in-out infinite;
}
@keyframes sd-glow-border {
  0%, 100% { box-shadow: 0 0 8px rgba(0,0,0,0.04), 0 0 20px rgba(0,0,0,0.02); }
  50% { box-shadow: 0 0 16px rgba(0,0,0,0.08), 0 0 40px rgba(0,0,0,0.04); }
}
@keyframes sd-glow-icon-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0.08); }
  50% { box-shadow: 0 0 0 6px rgba(0,0,0,0); }
}
@keyframes sd-glow-dot-move {
  0% { left: 0%; }
  100% { left: 100%; }
}

/* ─── 12. 3D Flip — floating parallax with depth layers ─── */
.shipdate-flip3d {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: sd-card-enter 0.8s ease-out, sd-float3d 6s ease-in-out 0.8s infinite;
  box-shadow: 8px 12px 28px rgba(0,0,0,0.08), 3px 5px 10px rgba(0,0,0,0.04);
}
.shipdate-flip3d-accent {
  position: relative;
  height: 6px;
  overflow: hidden;
}
.shipdate-flip3d-accent-shimmer {
  position: absolute;
  inset: 0;
  width: 30%;
  animation: sd-depth-shimmer 3s ease-in-out infinite;
}
.shipdate-flip3d-body { padding: 20px; }
.shipdate-flip3d-row {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: sd-layer-float 4s ease-in-out infinite;
}
.shipdate-flip3d-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.shipdate-flip3d-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid;
  opacity: 0;
  animation: sd-icon-ring-expand 6s ease-in-out infinite;
}
.shipdate-flip3d-icon-shadow {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -4px;
  height: 10px;
  filter: blur(6px);
  border-radius: 16px;
  animation: sd-icon-shadow 6s ease-in-out infinite;
}
.shipdate-flip3d-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: sd-icon-cube 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.shipdate-flip3d-icon-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  animation: sd-icon-shine 6s ease-in-out infinite;
}
.shipdate-flip3d-icon-inner {
  position: relative;
  z-index: 1;
}
.shipdate-flip3d-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.shipdate-flip3d-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 11px;
  color: #6b7280;
  transform: translateZ(4px);
}
.shipdate-flip3d-progress {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #f3f4f6;
  overflow: hidden;
}
.shipdate-flip3d-progress-bar {
  height: 100%;
  border-radius: 99px;
  animation: sd-progress-fill 2s ease-out forwards;
}
@keyframes sd-card-enter { 0% { transform: perspective(800px) rotateY(-15deg) rotateX(5deg) scale(0.95); opacity: 0; } 100% { transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1); opacity: 1; } }
@keyframes sd-float3d { 0%, 100% { transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(0px); } 25% { transform: perspective(800px) rotateX(-1deg) rotateY(1deg) translateY(-4px); } 50% { transform: perspective(800px) rotateX(1deg) rotateY(2deg) translateY(-2px); } 75% { transform: perspective(800px) rotateX(-2deg) rotateY(-1deg) translateY(-5px); } }
@keyframes sd-depth-shimmer { 0% { transform: translateX(-100%) skewX(-15deg); } 100% { transform: translateX(400%) skewX(-15deg); } }
@keyframes sd-icon-cube {
  0%, 100% { transform: perspective(400px) rotateY(0deg) rotateX(0deg) translateZ(0px) scale(1); }
  15% { transform: perspective(400px) rotateY(0deg) rotateX(-15deg) translateZ(8px) scale(1.05); }
  30% { transform: perspective(400px) rotateY(180deg) rotateX(0deg) translateZ(12px) scale(1.1); }
  45% { transform: perspective(400px) rotateY(180deg) rotateX(15deg) translateZ(8px) scale(1.05); }
  60% { transform: perspective(400px) rotateY(360deg) rotateX(0deg) translateZ(4px) scale(1.02); }
  75% { transform: perspective(400px) rotateY(360deg) rotateX(-8deg) translateZ(2px) scale(1); }
  90% { transform: perspective(400px) rotateY(360deg) rotateX(0deg) translateZ(0px) scale(1); }
}
@keyframes sd-icon-shadow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
  15% { transform: translate(1px, 4px) scale(1.05); opacity: 0.1; }
  30% { transform: translate(3px, 6px) scale(0.9); opacity: 0.06; }
  45% { transform: translate(2px, 5px) scale(0.95); opacity: 0.08; }
  60% { transform: translate(1px, 3px) scale(1); opacity: 0.12; }
  90% { transform: translate(0, 0) scale(1); opacity: 0.15; }
}
@keyframes sd-icon-shine {
  0%, 30%, 100% { opacity: 0; transform: translateX(-100%) rotate(25deg); }
  35% { opacity: 0.4; }
  50% { opacity: 0; transform: translateX(200%) rotate(25deg); }
}
@keyframes sd-icon-ring-expand {
  0%, 60%, 100% { transform: scale(1); opacity: 0; }
  65% { opacity: 0.3; transform: scale(1); }
  85% { opacity: 0; transform: scale(1.5); }
}
@keyframes sd-progress-fill { 0% { width: 0; } 100% { width: 70%; } }
@keyframes sd-layer-float { 0%, 100% { transform: translateZ(0) translateY(0); } 50% { transform: translateZ(8px) translateY(-2px); } }

/* ─── 13. Gradient — animated shifting gradient, particles, glassmorphism ─── */
.shipdate-gradient {
  position: relative;
  padding: 20px;
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
  background-size: 300% 300%;
  animation: sd-grad-shift 6s ease infinite;
}
.shipdate-gradient-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.shipdate-gradient-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.shipdate-gradient-particle:nth-child(1) { top: 10%; left: 15%; width: 8px; height: 8px; animation: sd-particle1 8s ease-in-out infinite; }
.shipdate-gradient-particle:nth-child(2) { top: 60%; right: 20%; width: 6px; height: 6px; animation: sd-particle2 10s ease-in-out infinite; }
.shipdate-gradient-particle:nth-child(3) { bottom: 15%; left: 40%; width: 4px; height: 4px; animation: sd-particle3 7s ease-in-out infinite; }
.shipdate-gradient-particle:nth-child(4) { top: 5%; right: 30%; width: 10px; height: 10px; background: rgba(255,255,255,0.1); animation: sd-particle2 12s ease-in-out 2s infinite; }
.shipdate-gradient-particle:nth-child(5) { bottom: 10%; right: 15%; width: 5px; height: 5px; animation: sd-particle1 9s ease-in-out 1s infinite; }
.shipdate-gradient-shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.shipdate-gradient-shine-bar {
  position: absolute;
  inset: 0;
  width: 25%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: sd-glass-shine 4s ease-in-out infinite;
}
.shipdate-gradient-body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.shipdate-gradient-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: sd-icon-morph 6s ease-in-out infinite;
}
.shipdate-gradient-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}
.shipdate-gradient-badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(4px);
  animation: sd-badge-pop 0.6s ease-out 0.5s both;
}
.shipdate-gradient-countdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
}
.shipdate-gradient-countdown-ring {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.shipdate-gradient-countdown-ring-dot {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.shipdate-gradient-countdown-ring-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  animation: sd-ripple1 2s ease-out infinite;
}
.shipdate-gradient-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: sd-live-blink 1.5s ease-in-out infinite;
}
.shipdate-gradient .shipdate-hl { color: #fff !important; }

@keyframes sd-grad-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes sd-particle1 { 0%, 100% { transform: translate(0,0) scale(1); opacity: 0.3; } 25% { transform: translate(40px,-15px) scale(1.5); opacity: 0.6; } 50% { transform: translate(80px,5px) scale(0.8); opacity: 0.2; } 75% { transform: translate(30px,10px) scale(1.2); opacity: 0.5; } }
@keyframes sd-particle2 { 0%, 100% { transform: translate(0,0) scale(0.8); opacity: 0.2; } 33% { transform: translate(-30px,-20px) scale(1.3); opacity: 0.5; } 66% { transform: translate(20px,15px) scale(1); opacity: 0.3; } }
@keyframes sd-particle3 { 0%, 100% { transform: translate(0,0); opacity: 0.4; } 50% { transform: translate(60px,-10px); opacity: 0.1; } }
@keyframes sd-glass-shine { 0% { transform: translateX(-100%) rotate(25deg); } 100% { transform: translateX(500%) rotate(25deg); } }
@keyframes sd-icon-morph { 0%, 100% { border-radius: 12px; transform: rotate(0deg); } 25% { border-radius: 16px 8px; transform: rotate(2deg); } 50% { border-radius: 8px 16px; transform: rotate(-2deg); } 75% { border-radius: 16px 12px 8px 16px; transform: rotate(1deg); } }
@keyframes sd-badge-pop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* ─── 14. Typewriter — vintage paper with stamp ─── */
.shipdate-typewriter {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.shipdate-tw-edge { height: 4px; }
.shipdate-typewriter-body { padding: 16px; }
.shipdate-tw-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.shipdate-tw-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px dashed;
}
.shipdate-tw-header-text { flex: 1; }
.shipdate-tw-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.shipdate-tw-stamp {
  padding: 4px 8px;
  border: 2px solid;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
  animation: sd-stamp 0.6s ease-out 0.3s both;
}
.shipdate-tw-output {
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  font-family: 'Georgia', serif;
}
.shipdate-tw-perf {
  border-top: 2px dashed;
  margin-bottom: 0;
}
.shipdate-tw-countdown {
  padding: 12px 16px;
  font-size: 11px;
  color: #6b7280;
}
@keyframes sd-stamp { 0% { transform: scale(2) rotate(-8deg); opacity: 0; } 60% { transform: scale(0.95) rotate(-3deg); opacity: 1; } 100% { transform: scale(1) rotate(-3deg); opacity: 1; } }

/* ─── 15. Neon — light card with glowing accents ─── */
.shipdate-neon {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid;
  animation: sd-neon-glow 3s ease-in-out infinite;
}
.shipdate-neon-bar { position: relative; height: 6px; overflow: hidden; }
.shipdate-neon-bar-sweep { position: absolute; height: 100%; width: 40%; animation: sd-neon-sweep 3s ease-in-out infinite; }
.shipdate-neon-body { padding: 16px; }
.shipdate-neon-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.shipdate-neon-icon-wrap { position: relative; flex-shrink: 0; }
.shipdate-neon-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.shipdate-neon-dot { position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; animation: sd-neon-dot 2s ease-in-out infinite; }
.shipdate-neon-content-box { border-radius: 8px; padding: 12px; }
.shipdate-neon-content { flex: 1; min-width: 0; }
.shipdate-neon-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.shipdate-neon-countdown { padding: 12px 16px; border-top: 1px solid; font-size: 11px; color: #6b7280; display: flex; align-items: center; justify-content: space-between; }
@keyframes sd-neon-glow { 0%, 100% { box-shadow: 0 0 10px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.03); } 50% { box-shadow: 0 0 20px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.05); } }
@keyframes sd-neon-sweep { 0% { left: -40%; } 100% { left: 140%; } }
@keyframes sd-neon-dot { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.4); opacity: 1; } }

/* ─── 17. Glass — vivid glassmorphism with mesh gradient ─── */
.shipdate-glass {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 3px;
}
.shipdate-glass-blobs { position: absolute; inset: 0; overflow: hidden; }
.shipdate-glass-blob {
  position: absolute;
  border-radius: 50%;
}
.shipdate-glass-blob:nth-child(1) { width: 140px; height: 140px; top: -20%; left: -5%; filter: blur(50px); opacity: 0.5; animation: sd-gl-b1 10s ease-in-out infinite; }
.shipdate-glass-blob:nth-child(2) { width: 120px; height: 120px; bottom: -15%; right: 0%; filter: blur(45px); opacity: 0.4; background: #a855f7 !important; animation: sd-gl-b2 12s ease-in-out infinite; }
.shipdate-glass-blob:nth-child(3) { width: 100px; height: 100px; top: 20%; right: 20%; filter: blur(40px); opacity: 0.3; background: #ec4899 !important; animation: sd-gl-b3 14s ease-in-out 1s infinite; }
.shipdate-glass-blob:nth-child(4) { width: 80px; height: 80px; bottom: 10%; left: 30%; filter: blur(35px); opacity: 0.25; background: #06b6d4 !important; animation: sd-gl-b2 11s ease-in-out 3s infinite; }
.shipdate-glass-inner {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(255,255,255,0.1);
}
.shipdate-glass-shimmer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shipdate-glass-shimmer::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%); animation: sd-gl-shine 5s ease-in-out infinite; }
.shipdate-glass-body { position: relative; padding: 16px; animation: sd-gl-float 6s ease-in-out infinite; }
.shipdate-glass-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.shipdate-glass-icon-wrap { position: relative; flex-shrink: 0; }
.shipdate-glass-icon-ring { position: absolute; inset: -4px; border-radius: 16px; border: 1.5px dashed; opacity: 0.3; animation: sd-gl-ring 12s linear infinite; }
.shipdate-glass-icon {
  width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), inset 0 2px 0 rgba(255,255,255,0.5);
  animation: sd-gl-icon-float 3s ease-in-out infinite;
}
.shipdate-glass-title { font-size: 14px; font-weight: 700; color: #1f2937; }
.shipdate-glass-subtitle { font-size: 11px; color: #6b7280; }
.shipdate-glass-badge {
  padding: 6px 12px; border-radius: 12px; font-size: 10px; font-weight: 700;
  backdrop-filter: blur(8px);
}
.shipdate-glass-content {
  border-radius: 12px; padding: 14px;
  background: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.shipdate-glass-countdown { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.3); font-size: 11px; color: #6b7280; display: flex; align-items: center; justify-content: space-between; }
@keyframes sd-gl-b1 { 0%, 100% { transform: translate(0,0) scale(1); } 25% { transform: translate(30px,-20px) scale(1.2); } 50% { transform: translate(50px,10px) scale(0.9); } 75% { transform: translate(-10px,20px) scale(1.1); } }
@keyframes sd-gl-b2 { 0%, 100% { transform: translate(0,0) scale(1.1); } 33% { transform: translate(-25px,15px) scale(0.8); } 66% { transform: translate(20px,-25px) scale(1.2); } }
@keyframes sd-gl-b3 { 0%, 100% { transform: translate(0,0) scale(0.9); } 50% { transform: translate(35px,20px) scale(1.15); } }
@keyframes sd-gl-shine { 0% { transform: translateX(-120%) rotate(20deg); } 100% { transform: translateX(250%) rotate(20deg); } }
@keyframes sd-gl-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(0.5deg); } }
@keyframes sd-gl-ring { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes sd-gl-icon-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.05); } }

/* ─── Shared countdown below widget ─── */
.shipdate-delivery-estimate > .shipdate-countdown {
  font-size: 11px;
  color: #6b7280;
  margin-top: 6px;
}
