/* ============================================================   GUEST CHECKOUT – Additional Styles   Add this as assets/css/checkout-guest.css   (inherits everything from checkout.css automatically)   ============================================================ */

/* ── Promo Banner (top of page, above main) ── */

.guest-promo-banner {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 999;
  animation: bannerSlideDown 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: var(--bs-secondary);
  background: linear-gradient(180deg, var(--bs-secondary) 8%, var(--bs-primary) 49%, var(--bs-secondary) 112%);
  padding: 1rem 1rem;
  height: 200px;
  align-content: center;
}

@keyframes bannerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.guest-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.guest-promo-tag {
  background: #e9b44c;
  color: #1a1a2e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
}

.guest-promo-text {
  margin: 0;
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.guest-promo-text strong {
  color: #fff;
}

.guest-promo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.guest-promo-btn-primary {
  display: inline-block;
  background: #e9b44c;
  color: #1a1a2e;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.guest-promo-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(233, 180, 76, 0.45);
  color: #1a1a2e;
  text-decoration: none;
}

.guest-promo-btn-dismiss {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
  font-family: inherit;
}

.guest-promo-btn-dismiss:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.guest-promo-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.15s;
}

.guest-promo-close:hover {
  color: #fff;
}

/* ── Compact notice bar (below title) ── */

.guest-notice-bar {
  background: var(--bs-info-bg-subtle, #e8f4fd);
  border: 1px solid var(--bs-info-border-subtle, #b8daff);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--bs-body-color);
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.5;
}

.guest-notice-bar a {
  color: var(--bs-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Guest email block ── */

#guestEmailBlock {
  margin-bottom: 8px;
}

#guestEmailBlock h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

#guestEmail {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: var(--bs-border-radius-sm);
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-highlight-color);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

#guestEmail:focus {
  border-color: var(--bs-secondary);
  outline: none;
  background: var(--bs-light-bg-subtle);
}

.guest-email-note {
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
  margin-bottom: 20px;
  padding-left: 2px;
}

/* ── Dark-mode tweaks for promo banner ── */

[data-bs-theme="dark"] .guest-notice-bar {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

/* ── Mobile ── */

@media (max-width: 600px) {
  .guest-promo-inner {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .guest-promo-banner {
    padding: 14px 44px 14px 14px;
  }
}

@media (max-width: 600px) {
  .guest-promo-text {
    font-size: 0.85rem;
  }
}

