/* Banners Container - Fixed wrapper for both banners */
.banners-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease-in-out;
}

/* Black Friday Countdown Banner */
.countdown-banner {
  display: block;
  position: relative;
  background: linear-gradient(135deg, var(--light-green) 0%, #d4f0dd 100%);
  padding: var(--space-2xs) var(--space-sm);
  box-shadow: 0 2px 12px rgba(44, 74, 60, 0.1);
  border-bottom: 1px solid var(--medium-green);
  pointer-events: auto;
}

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

.countdown-banner-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  flex-wrap: wrap;
}

.countdown-banner-text {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  font-family: var(--font-main);
}

.christmas-icons {
  display: flex;
  gap: var(--space-2xs);
  color: var(--forest-green);
  align-items: center;
}

.christmas-icons svg {
  filter: drop-shadow(0 1px 2px rgba(44, 74, 60, 0.15));
}

.countdown-banner-message {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--forest-green);
  letter-spacing: 0.01em;
}

.countdown-banner-message strong {
  font-weight: 600;
}

.countdown-timer {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: var(--space-3xs) var(--space-2xs);
  border-radius: 6px;
  min-width: 42px;
  box-shadow: 0 2px 6px rgba(44, 74, 60, 0.08);
  border: 1px solid rgba(44, 74, 60, 0.12);
}

.countdown-number {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest-green);
  line-height: 1;
  font-family: var(--font-main);
}

.countdown-label {
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--text);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-3xs);
}

.countdown-separator {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest-green);
  opacity: 0.5;
  line-height: 1;
  margin: 0 -0.25rem;
}

.countdown-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--forest-green);
  color: white;
  text-decoration: none;
  padding: var(--space-2xs) var(--space-md);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(44, 74, 60, 0.15);
}

.countdown-video-cta {
  gap: var(--space-xs);
}

.video-thumbnail-mini {
  position: relative;
  width: 60px;
  height: 34px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.4);
}

.cta-text {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.countdown-cta:hover {
  background: #3d6352; /* Lighter green for better visibility and contrast */
  transform: none;
  box-shadow: 0 3px 10px rgba(44, 74, 60, 0.2);
  text-decoration: none; /* Ensure no underline appears */
  color: white; /* Ensure text stays white */
}

.countdown-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.countdown-cta:hover .countdown-arrow {
  transform: translateX(3px);
}

.countdown-cta:hover .video-thumbnail-mini {
  opacity: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Mission Banner - Red section below countdown */
.mission-banner {
  display: block;
  position: relative;
  background: linear-gradient(135deg, var(--light-red) 0%, #FFE5E0 100%);
  padding: var(--space-xs) var(--space-sm);
  box-shadow: 0 2px 8px rgba(139, 42, 42, 0.08);
  border-bottom: 1px solid var(--medium-red);
  pointer-events: auto;
}

.mission-banner-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.mission-banner-message {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-red);
  letter-spacing: 0.01em;
  line-height: 1.4;
  flex: 1;
  text-align: left;
}

.mission-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark-red);
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(139, 42, 42, 0.2);
  white-space: nowrap;
}

.mission-shop-btn:hover {
  background: #A83838;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(139, 42, 42, 0.3);
}

.mission-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.mission-shop-btn:hover .mission-arrow {
  transform: translateX(3px);
}

/* Adjust main nav when both banners are present */
body.has-countdown-banner .nav {
  top: calc(3.5rem + 3rem + 1.5rem) !important; /* Both banners + margin */
}

/* Add padding to main container to prevent overlap with fixed banners */
body.has-countdown-banner .main-container {
  padding-top: 6.5rem; /* Just enough for banners (~3.5rem + 3rem) */
}

@media (max-width: 1024px) {
  body.has-countdown-banner .main-container {
    padding-top: 6.5rem;
  }
  
  .countdown-banner {
    padding: var(--space-2xs) var(--space-sm);
  }
  
  .countdown-banner-content {
    gap: var(--gap-xs);
  }
  
  .countdown-banner-message {
    font-size: 0.875rem;
  }
  
  .christmas-icons {
    font-size: 1.125rem;
  }
  
  .mission-banner {
    padding: var(--space-2xs) var(--space-sm);
  }
  
  .mission-banner-content {
    gap: 1rem;
  }
  
  .mission-banner-message {
    font-size: 0.8rem;
  }
  
  .mission-shop-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  body.has-countdown-banner .nav {
    top: calc(3rem + 3rem + 1.5rem) !important;
  }
}

@media (max-width: 768px) {
  body.has-countdown-banner .main-container {
    padding-top: 8rem; /* More space on mobile for stacked banners */
  }
  
  .countdown-banner {
    padding: var(--space-2xs) var(--space-xs);
  }
  
  .countdown-banner-content {
    flex-direction: column;
    gap: var(--space-2xs);
  }
  
  .countdown-banner-text {
    flex-direction: column;
    gap: var(--space-3xs);
    text-align: center;
  }
  
  .countdown-banner-message {
    font-size: 0.75rem;
  }
  
  .christmas-icons svg {
    width: 16px;
    height: 16px;
  }
  
  .countdown-timer {
    gap: var(--space-3xs);
  }
  
  .countdown-unit {
    min-width: 34px;
    padding: var(--space-3xs) var(--space-3xs);
  }
  
  .countdown-number {
    font-size: 1rem;
  }
  
  .countdown-label {
    font-size: 0.5rem;
  }
  
  .countdown-cta {
    padding: var(--space-3xs) var(--space-xs);
    font-size: 0.75rem;
  }
  
  .mission-banner {
    padding: var(--space-2xs) var(--space-xs);
  }
  
  .mission-banner-content {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 0.5rem;
  }
  
  .mission-banner-message {
    font-size: 0.7rem;
    text-align: center;
  }
  
  .mission-shop-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  body.has-countdown-banner .nav {
    top: calc(8.5rem + 2.5rem) !important;
  }
}

@media (max-width: 480px) {
  body.has-countdown-banner .main-container {
    padding-top: 9rem; /* Extra space on small mobile */
  }
  
  .countdown-banner {
    padding: var(--space-2xs) var(--space-2xs);
  }
  
  .countdown-unit {
    min-width: 32px;
    padding: var(--space-3xs) var(--space-3xs);
  }
  
  .countdown-number {
    font-size: 0.9rem;
  }
  
  .mission-banner {
    padding: var(--space-2xs) var(--space-2xs);
  }
  
  .mission-banner-content {
    flex-direction: column;
    gap: 0.625rem;
    padding: 0 0.25rem;
  }
  
  .mission-banner-message {
    font-size: 0.65rem;
    text-align: center;
  }
  
  .mission-shop-btn {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }
  
  body.has-countdown-banner .nav {
    top: calc(8.5rem + 2.5rem) !important;
  }
}

