
html.show-chuseok-banner .t4s-website-wrapper {
    height: 0 !important;
    overflow: hidden;
}
html body.klaviyo-prevent-body-scrolling {
    overflow: auto !important;
}
html.show-chuseok-banner .t4s-website-wrapper {
    filter: blur(5px);
}
/* Default state - banner hidden */
.chuseok-banner {
  width: 100%;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 50%, #ff8a80 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  
  /* Hidden by default */
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
}

/* Show banner when body has the class */
body.show-chuseok-banner .chuseok-banner {
  max-height: 1000px; /* Large enough value to accommodate content */
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 20px;
}

/* Smooth closing animation */
body.hide-chuseok-banner .chuseok-banner {
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  margin-bottom: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.chuseok-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.3;
}

.chuseok-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 25px;
  z-index: 2;
}
/* Update these CSS rules - change from body.show-chuseok-banner to html.show-chuseok-banner */

/* Default state - banner hidden */
.chuseok-banner {
  width: 100%;
  background: url('https://cdn.shopify.com/s/files/1/0617/7062/9377/files/6r7fiyvk.jpg?v=1758807896');
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f0b83f;
}

/* Show banner when HTML has the class */
html.show-chuseok-banner .chuseok-banner {
  max-height: 100%;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 0;
  height: 100%;
}

/* Smooth closing animation */
html.hide-chuseok-banner .chuseok-banner {
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  margin-bottom: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.chuseok-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: rgb(232 22 22);
  border: none;
  color: white;
  font-size: 28px;
  line-height: 1;
  font-weight: bold;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  opacity: 1;
  z-index: 2;
}

.chuseok-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg) scale(1.1);
}

.chuseok-header {
  text-align: center;
  margin-bottom: 30px;
}

.chuseok-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: bold;
  margin: 0 0 10px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  color: #fff;
}

.chuseok-subtitle {
  font-size: clamp(16px, 2.5vw, 18px);
  margin: 0 0 25px 0;
  opacity: 0.9;
  font-weight: 500;
  color: #ffffff;
}

/* Countdown Timer Styles */
.countdown-section {
  background: rgb(14 13 13 / 15%);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
}

.countdown-label {
  font-size: clamp(18px, 3vw, 20px);
  font-weight: bold;
  margin: 0 0 15px 0;
  text-align: center;
  color: #fff;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgb(255 255 255);
  padding: clamp(8px, 2vw, 15px);
  border-radius: 12px;
  min-width: clamp(50px, 12vw, 80px);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.time-unit:hover {
  transform: scale(1.05);
}

.time-value {
  font-size: clamp(20px, 5vw, 32px);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  color: #000;
}

.time-label {
  font-size: clamp(10px, 2vw, 12px);
  text-transform: uppercase;
  opacity: 0.9;
  letter-spacing: 1px;
  font-weight: 600;
  color: #000;
}

.countdown-end-date {
  font-size: clamp(14px, 2.5vw, 16px);
  opacity: 0.9;
  font-weight: 500;
  margin: 0;
  text-align: center;
}

.chuseok-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(15px, 3vw, 25px);
}

.chuseok-section {
  background: rgb(53 107 232 / 54%);
  padding: clamp(15px, 3vw, 20px);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.chuseok-section:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.15);
}

.section-title {
  font-size: clamp(16px, 3vw, 18px);
  font-weight: bold;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.chuseok-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.chuseok-list li {
  padding: clamp(6px, 1.5vw, 8px) 0;
  padding-left: clamp(15px, 3vw, 20px);
  position: relative;
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.5;
}

.chuseok-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
  top: 4px;
  font-size: clamp(16px, 3vw, 20px);
}

.chuseok-greeting {
  background: rgb(246 182 51 / 80%) url('https://cdn.shopify.com/s/files/1/0617/7062/9377/files/98t7uyf.png?v=1758814278') repeat-x;
  padding: clamp(20px, 4vw, 25px);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.chuseok-wish {
  font-size: clamp(18px, 3.5vw, 20px);
  margin: 20px 0 5px 0;
  font-weight: bold;
  color: #000;
}

.chuseok-message {
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
  color: #000;
}

/* Responsive Breakpoints */
@media (min-width: 480px) {
  .countdown-timer {
    gap: 15px;
  }
  
  .time-unit {
    min-width: 70px;
  }
}

@media (min-width: 768px) {
  .chuseok-body {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .chuseok-greeting {
    grid-column: 1 / -1;
  }
  
  .countdown-timer {
    gap: 20px;
  }
  
  .time-unit {
    min-width: 80px;
    padding: 12px 18px;
  }
}

@media (min-width: 1024px) {
  .chuseok-body {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .chuseok-greeting {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .countdown-timer {
    gap: 25px;
  }
  
  .time-unit {
    min-width: 90px;
    padding: 15px 20px;
    border: ` solid #000;
  }
}

/* Mobile-first optimizations */
@media (max-width: 479px) {
  .chuseok-container {
    padding: 20px 15px;
  }
  
  .countdown-section {
    padding: 15px;
  }
  
  .countdown-timer {
    gap: 8px;
  }
  
  .time-unit {
    min-width: 45px;
    padding: 6px 8px;
  }
  
  .chuseok-close {
    width: 45px;
    height: 45px;
    font-size: 29px;
    top: 0;
    right: 0;
    border-radius: 0 0 0 20px;
  }
  .holiday-discount-announcement {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px;
}
  .chuseok-body {
    gap: 12px;
  }
  
  .chuseok-section {
    padding: 12px;
  }
  
  .chuseok-greeting {
    padding: 15px;
  }
  .chuseok-subtitle {
  font-size: clamp(16px, 2.5vw, 18px);
  margin: 0 0 25px 0;
  opacity: 0.9;
  font-weight: 500;
  color: #ffffff;
}
  .holiday-discount-announcement {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 25px;
}
}

/* Extra small screens */
@media (max-width: 320px) {
  .countdown-timer {
    gap: 6px;
  }
  
  .time-unit {
    min-width: 40px;
    padding: 5px 6px;
  }
}

/* Calendar Styles */
.holiday-calendar-container {
    background: rgb(255 255 255 / 60%);
    padding: clamp(15px, 3vw, 20px);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-top: 20px;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.calendar-title {
    font-size: clamp(18px, 3vw, 20px);
    font-weight: bold;
    margin: 0 0 15px 0;
    text-align: center;
}

.calendar-header, .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.calendar-header {
    margin-bottom: 10px;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
    opacity: 0.9;
}

.day-name.weekend {
    color: #ffcdd2;
}

.calendar-grid {
    gap: 1px;
}

.day-cell {
    position: relative;
    padding: clamp(8px, 2vw, 12px) 0;
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.day-cell.other-month {
    opacity: 0.4;
}

/* Highlighting using pseudo-elements */
.day-cell.shipping-start::before,
.day-cell.holiday::before {
    content: '';
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    right: 0;
    z-index: -1;
}

.day-cell.shipping-start::before {
    background-color: #4CAF50;
    border-radius: 20px 0 0 20px;
}

.day-cell.holiday.holiday-range1-start::before {
    background-color: #fa4b3e;
    left: -1px; /* Overlap to remove gap */
}

.day-cell.holiday.holiday-range1-end::before {
    background-color: #fa4b3e;
    right: -1px;
    border-radius: 0 20px 20px 0;
}

.day-cell.holiday.holiday-range2-start::before {
    background-color: #fa4b3e;
    border-radius: 20px 0 0 20px;
}

.day-cell.holiday.holiday-range2-middle::before {
    background-color: #fa4b3e;
    left: -1px;
    right: -1px;
}

.day-cell.holiday.holiday-range2-end::before {
    background-color: #fa4b3e;
    border-radius: 0 20px 20px 0;
}

.day-cell.shipping-resumes {
    position: relative;
    flex-direction: column;
}

.day-cell.shipping-resumes span {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(9px, 1.5vw, 11px);
    line-height: 1.2;
    margin-top: 4px;
    white-space: nowrap;
    font-weight: 400;
    opacity: 0.9;
}

/* Blinking Animation */
.blinking-holiday::before, .legend-color.blinking-holiday {
    animation: blink-animation 1s ease-in-out infinite;
}

@keyframes blink-animation {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
}

/* Calendar Legend */
.calendar-legend {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: clamp(12px, 2vw, 13px);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}
/* Holiday Discount Announcement */
.holiday-discount-announcement {
    background: rgb(255 214 0 / 70%);
    border: 0;
    border-radius: 12px;
    padding: 10px 10px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 95%;
    text-align: left;
    backdrop-filter: blur(15px);
}

.discount-icon {
    font-size: clamp(30px, 5vw, 100px);
    animation: wiggle 2.5s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotateZ(0); }
    15% { transform: rotateZ(-12deg); }
    20% { transform: rotateZ(8deg); }
    25% { transform: rotateZ(-8deg); }
    30% { transform: rotateZ(4deg); }
    35% { transform: rotateZ(-2deg); }
    40% { transform: rotateZ(0); }
}

.discount-text {
    display: flex;
    flex-direction: column;
}

.discount-title {
    font-size: clamp(22px, 2.5vw, 60px);
    font-weight: bold;
    color: #000000;
    margin-bottom: 4px;
}

.discount-details {
    font-size: clamp(14px, 2vw, 23px);
    line-height: 1.4;
    opacity: 0.95;
    color: #000000;
}

.discount-details strong {
    font-weight: bold;
    color: #f92222;
    font-size: clamp(18px, 2vw, 22px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* On smaller screens, stack the icon and text */
@media (max-width: 480px) {
    .holiday-discount-announcement {
        flex-direction: column;
        gap: 10px !important;
        text-align: center;
    }
}
/* Update for the combined discount and countdown div */
.holiday-discount-announcement {
    /* Existing styles */
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    padding: 20px;
}

/* New Countdown Styles */
.shipping-resume-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(255 19 19 / 70%);
    padding: 15px;
    border-radius: 10px;
    flex-grow: 1;
}

.countdown-heading {
    font-size: clamp(12px, 2vw, 17px);
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
    white-space: nowrap;
    color: #212121;
}

.timer-display-full {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.timer-unit span:first-child {
    font-size: clamp(22px, 4vw, 26px);
    font-weight: bold;
    color: #000000;
    line-height: 1;
}

.timer-label {
    font-size: clamp(10px, 1.8vw, 11px);
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
    color: #000;
}

.timer-separator {
    font-size: clamp(20px, 3.5vw, 24px);
    font-weight: bold;
    color: #000000;
    padding: 0 2px;
    line-height: 1.1;
}


/* --- Add these new styles at the end of your CSS --- */

/* Center the entire discount announcement content */
.holiday-discount-announcement {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 25px;
}

/* Ensure the discount text section is centered */
.discount-text {
    align-items: center;
}

/* Make the countdown timer container take full width */
.shipping-resume-countdown {
    flex-grow: 0;
    width: 100%;
    max-width: 450px; /* Optional: Constrain the width on very large screens */
    margin: 0 auto; /* Center the countdown block */
}

/* Increase the size of the countdown numbers */
.timer-unit span:first-child {
    font-size: clamp(32px, 17vw, 50px); /* Larger font size */
}

/* Adjust the labels for the larger numbers */
.timer-label {
    font-size: clamp(21px, 4vw, 23px);
}

/* Adjust the separator size */
.timer-separator {
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.2;
}

/* --- End of new styles --- */
