/* Notification Banner Styles */
.notification-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('https://cdn.shopify.com/s/files/1/0617/7062/9377/files/chinese_new_year_email_header.png?v=1771201576');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #D32F2F;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  overflow-x: hidden;
  animation: slideDown 0.5s ease-out;
  z-index: 9999;
  -webkit-overflow-scrolling: touch;
  display: none; /* Hidden by default */
}

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

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.notification-banner.closing {
  animation: slideUp 0.5s ease-out forwards;
}

.notification-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.71rem;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid #FFD700;
  color: #D32F2F;
  font-size: 2.57rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
  line-height: 1;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: rotate(90deg);
}

.notification-content {
  text-align: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1.43rem;
  padding: 2.14rem 1.86rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 215, 0, 0.6);
}

.notification-title {
  font-size: 2.57rem;
  font-weight: bold;
  margin: 0 0 1rem;
  line-height: 1.3;
  color: #D32F2F;
  text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.notification-message {
  margin-bottom: 1.86rem;
}

.notification-message p {
  font-size: 1.71rem;
  margin: 0 0 0.71rem;
  line-height: 1.5;
  color: #333;
}

.notification-message p strong {
  color: #D32F2F;
}

.notification-message p:last-child {
  margin-bottom: 0;
}

.resume-notice {
  color: #D32F2F;
  background: rgba(255, 215, 0, 0.2);
  border: 2px solid #FFD700;
  padding: 0.86rem 1.29rem;
  border-radius: 0.71rem;
  display: inline-block;
  margin-top: 0.86rem;
  font-size: 1.71rem;
}

.resume-notice strong {
  color: #D32F2F;
}

/* Calendar Styles */
.calendar-wrapper {
  background: rgba(255, 248, 220, 0.9);
  border-radius: 0.86rem;
  padding: 1.57rem;
  margin: 1.86rem auto;
  max-width: 700px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 3px solid #FFD700;
}

.calendar-header {
  margin-bottom: 1.43rem;
}

.month-label {
  font-size: 1.86rem;
  font-weight: bold;
  color: #D32F2F;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.57rem;
  margin-bottom: 1.43rem;
}

.calendar-day-header {
  font-size: 1.21rem;
  font-weight: bold;
  color: #C62828;
  text-align: center;
  padding: 0.71rem;
}

.calendar-day {
  background: #FFF;
  color: #333;
  padding: 0.86rem;
  text-align: center;
  border-radius: 0.36rem;
  font-size: 1.36rem;
  font-weight: 500;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FFE5B4;
}

.calendar-day.delayed-day {
  background: #D32F2F;
  color: #FFD700;
  font-weight: bold;
  animation: blink 1.5s ease-in-out infinite;
  position: relative;
  border: 2px solid #FFD700;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.calendar-day.resume-day {
  background: #FFD700;
  color: #D32F2F;
  font-weight: bold;
  border: 2px solid #D32F2F;
}

/* Calendar Legend */
.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 1.86rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.71rem;
  font-size: 1.29rem;
  color: #333;
}

.legend-indicator {
  width: 1.57rem;
  height: 1.57rem;
  border-radius: 0.29rem;
  display: inline-block;
}

.legend-indicator.delayed {
  background: #D32F2F;
  border: 2px solid #FFD700;
}

.legend-indicator.resume {
  background: #FFD700;
  border: 2px solid #D32F2F;
}

/* Discount Section */
.discount-section {
  margin-top: 1.86rem;
  padding-top: 1.86rem;
  border-top: 3px solid #FFD700;
}

.discount-title {
  font-size: 1.86rem;
  font-weight: bold;
  margin: 0 0 0.71rem;
  color: #D32F2F;
  text-shadow: 1px 1px 2px rgba(255, 215, 0, 0.3);
}

.discount-subtitle {
  font-size: 1.36rem;
  margin: 0 0 1.57rem;
  opacity: 0.85;
  font-style: italic;
  color: #666;
}

.discount-tiers {
  display: flex;
  justify-content: center;
  gap: 1.57rem;
  flex-wrap: wrap;
  margin-bottom: 1.71rem;
}

.discount-tier {
  background: rgba(255, 215, 0, 0.15);
  border: 3px solid #FFD700;
  border-radius: 0.71rem;
  padding: 1.29rem 1.57rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 180px;
  transition: all 0.3s ease;
  position: relative;
}

.discount-tier:hover {
  background: rgba(255, 215, 0, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.discount-tier-best {
  border-color: #FFD700;
  border-width: 4px;
  background: rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.best-value-badge {
  position: absolute;
  top: -1.8rem;
  background: #FFD700;
  color: #D32F2F;
  font-size: 0.93rem;
  font-weight: bold;
  padding: 0.29rem 0.71rem;
  border-radius: 0.36rem;
  letter-spacing: 0.05rem;
  border: 2px solid #D32F2F;
}

.discount-percentage {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
  color: #D32F2F;
}

.discount-threshold {
  font-size: 1.29rem;
  opacity: 0.9;
  color: #333;
}

.discount-gift {
  font-size: 1.21rem;
  font-weight: bold;
  color: #D32F2F;
  margin-top: 0.36rem;
}

/* CTA Button */
.cta-wrapper {
  margin-top: 1.71rem;
}

.cta-button-v {
  display: inline-block;
  background: #FFD700;
  color: #D32F2F;
  font-size: 1.71rem;
  font-weight: bold;
  padding: 1.21rem 2.57rem;
  border-radius: 0.71rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
  border: 3px solid #D32F2F;
}

.cta-button-v:hover {
  background: #FFED4E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  color: #D32F2F;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .notification-container {
    padding: 5rem 1rem 2rem;
    min-height: auto;
    display: block;
  }

  .notification-content {
    padding: 1.71rem 1.29rem;
    border-radius: 1.14rem;
    border-width: 2px;
  }

  .close-btn {
    position: fixed;
    top: 0.71rem;
    right: 0.71rem;
    width: 2.57rem;
    height: 2.57rem;
    font-size: 2.14rem;
  }

  .notification-title {
    font-size: 2rem;
  }

  .notification-message p {
    font-size: 1.43rem;
  }

  .resume-notice {
    font-size: 1.43rem;
    padding: 0.71rem 1rem;
  }

  .calendar-wrapper {
    padding: 1.29rem;
    margin: 1.57rem auto;
    border-width: 2px;
  }

  .month-label {
    font-size: 1.57rem;
  }

  .calendar-day-header {
    font-size: 1rem;
    padding: 0.57rem;
  }

  .calendar-day {
    padding: 0.64rem;
    font-size: 1.14rem;
    min-height: 2.57rem;
  }

  .legend-item {
    font-size: 1.14rem;
  }

  .discount-title {
    font-size: 1.57rem;
  }

  .discount-subtitle {
    font-size: 1.21rem;
  }

  .discount-tiers {
    gap: 1rem;
  }

  .discount-tier {
    padding: 1.07rem 1.29rem;
    min-width: 160px;
    border-width: 2px;
  }

  .discount-tier-best {
    border-width: 3px;
  }

  .discount-percentage {
    font-size: 1.71rem;
  }

  .discount-threshold {
    font-size: 1.14rem;
  }

  .discount-gift {
    font-size: 1.07rem;
  }

  .best-value-badge {
    font-size: 0.86rem;
  }

  .cta-button {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .notification-container {
    padding: 4.5rem 0.71rem 1.5rem;
  }

  .notification-content {
    padding: 1.43rem 1rem;
    border-radius: 0.86rem;
  }

  .notification-title {
    font-size: 1.71rem;
  }

  .notification-message p {
    font-size: 1.29rem;
  }

  .resume-notice {
    font-size: 1.21rem;
    padding: 0.64rem 0.86rem;
  }

  .calendar-wrapper {
    padding: 1rem;
  }

  .calendar-grid {
    gap: 0.36rem;
  }

  .calendar-day {
    font-size: 1.07rem;
    min-height: 2.36rem;
    padding: 0.5rem;
  }

  .calendar-day-header {
    font-size: 0.93rem;
  }

  .legend-item {
    font-size: 1rem;
  }

  .discount-title {
    font-size: 1.43rem;
  }

  .discount-subtitle {
    font-size: 1.07rem;
  }

  .discount-tiers {
    flex-direction: column;
    align-items: stretch;
    gap: 1.14rem;
  }

  .discount-tier {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .discount-percentage {
    font-size: 1.57rem;
  }

  .discount-threshold {
    font-size: 1rem;
  }

  .discount-gift {
    font-size: 0.93rem;
  }

  .best-value-badge {
    font-size: 0.79rem;
    padding: 0.21rem 0.5rem;
  }

  .cta-button {
    font-size: 1.36rem;
    padding: 0.93rem 1.71rem;
    width: 100%;
    max-width: 340px;
  }
}
/* Cart Notification Strip */
.cart-notification-strip {
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url('https://cdn.shopify.com/s/files/1/0617/7062/9377/files/chinese_new_year_email_header.png?v=1771201576');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #D32F2F;
  overflow: hidden;
  margin-bottom: 2rem;
}

.cart-strip-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-strip-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 0.86rem;
  padding: 1.43rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 215, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  height: 160px;
}

.cart-strip-left {
  flex: 1;
  text-align: left;
}

.cart-strip-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 0.71rem;
  color: #D32F2F;
  line-height: 1.2;
}

.cart-strip-message {
  font-size: 1.57rem;
  margin: 0;
  color: #333;
  line-height: 1.4;
}

.cart-strip-message strong {
  color: #D32F2F;
}

.cart-strip-divider {
  width: 2px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #FFD700, transparent);
  flex-shrink: 0;
}

.cart-strip-right {
  flex: 1.5;
  text-align: center;
}

.cart-strip-discount-title {
  font-size: 1.71rem;
  font-weight: bold;
  margin: 0 0 0.86rem;
  color: #D32F2F;
}

.cart-strip-discounts {
  display: flex;
  justify-content: center;
  gap: 1.14rem;
  margin-bottom: 0.71rem;
}

.cart-strip-discount-item {
  background: rgba(255, 215, 0, 0.15);
  border: 2px solid #FFD700;
  border-radius: 0.57rem;
  padding: 0.86rem 1.14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.36rem;
  min-width: 110px;
  transition: all 0.3s ease;
}

.cart-strip-discount-item:hover {
  background: rgba(255, 215, 0, 0.25);
  transform: translateY(-2px);
}

.cart-best-deal {
  border-width: 3px;
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.cart-discount-percent {
  font-size: 1.71rem;
  font-weight: bold;
  color: #D32F2F;
  line-height: 1;
}

.cart-discount-min {
  font-size: 1.21rem;
  color: #333;
  font-weight: 500;
}

.cart-discount-gift {
  font-size: 1.07rem;
  font-weight: bold;
  color: #D32F2F;
}

.cart-strip-auto {
  font-size: 1.21rem;
  font-style: italic;
  color: #666;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .cart-notification-strip {
    height: auto;
    min-height: 200px;
  }

  .cart-strip-container {
    padding: 1rem;
  }

  .cart-strip-content {
    flex-direction: column;
    padding: 1.43rem 1.57rem;
    gap: 1.43rem;
    height: auto;
  }

  .cart-strip-left {
    text-align: center;
  }

  .cart-strip-title {
    font-size: 1.71rem;
  }

  .cart-strip-message {
    font-size: 1.36rem;
  }

  .cart-strip-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
  }

  .cart-strip-discount-title {
    font-size: 1.5rem;
  }

  .cart-strip-discounts {
    gap: 0.86rem;
  }

  .cart-strip-discount-item {
    min-width: 100px;
    padding: 0.71rem 1rem;
  }

  .cart-discount-percent {
    font-size: 1.5rem;
  }

  .cart-discount-min {
    font-size: 1.07rem;
  }

  .cart-discount-gift {
    font-size: 1rem;
  }

  .cart-strip-auto {
    font-size: 1.07rem;
  }
}

@media (max-width: 640px) {
  .cart-strip-container {
    padding: 0.86rem;
  }

  .cart-strip-content {
    padding: 1.14rem;
    border-width: 2px;
  }

  .cart-strip-title {
    font-size: 1.5rem;
  }

  .cart-strip-message {
    font-size: 1.21rem;
  }

  .cart-strip-discount-title {
    font-size: 1.36rem;
  }

  .cart-strip-discounts {
    flex-direction: column;
    gap: 0.71rem;
    align-items: stretch;
  }

  .cart-strip-discount-item {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }

  .cart-discount-percent {
    font-size: 1.36rem;
  }

  .cart-discount-min {
    font-size: 1rem;
  }

  .cart-discount-gift {
    font-size: 0.93rem;
  }

  .cart-strip-auto {
    font-size: 1rem;
  }
}
