/* Root Variables */
:root {
  --gradient: linear-gradient(90deg, #000000 8.91%, #000000 100%);
}

/* Shared Utility Classes */
.d_flex_center {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Banner A – Black Friday / Promo Banner */
.b_f_container {
  display: none;
  background-color: #0f0f0f;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  align-items: center;
  justify-content: center;
  padding: 15px 0 10px;
  gap: 20px;
}
.b_f_container p {
  margin: 0;
}
.b_f_container .b_f_title_header {
  font-weight: 900;
  font-size: clamp(1.288rem, -0.874rem + 5.763vw, 4.313rem);
  font-style: italic;
  margin: 0;
}
.b_f_container.hide_desktop {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 12px;
  gap: 8px;
}

.b_f_title {
  color: #acf4a1;
}

/* Promo Content */
.sale_b_f_container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 clamp(0.406rem, -1.35rem + 3.305vw, 1.625rem);
  background: var(--gradient);
  line-height: 120%;
}
.b_f_sale {
  font-weight: 700;
  font-size: clamp(1.313rem, -0.398rem + 3.22vw, 2.5rem);
}
.b_f_promo {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  text-align: center;
}
.b_f_promo_text {
  color: #e51f1f;
  font-size: clamp(0.75rem, 0.21rem + 1.017vw, 1.125rem);
  font-style: italic;
  font-weight: 600;
}
.b_f_promo_price {
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.5rem, -0.381rem + 5.424vw, 4.5rem);
  color: #e51f1f;
  line-height: clamp(2.5rem, -0.381rem + 5.424vw, 4.5rem);
}
.b_f_promo_code {
  background-color: #acf4a1;
  border-radius: 5px;
  padding: 4px clamp(0.094rem, -0.401rem + 0.932vw, 0.438rem);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #000;
}

#stopwatch {
  color: #E44613;
}

/* Timer Block inside Banner A */
.b_f_timer {
  text-align: center;
}
.b_f_timer p {
  font-size: clamp(0.75rem, 0.21rem + 1.017vw, 1.125rem);
  font-weight: 600;
}
.b_f_timer ul {
  display: flex;
  list-style: none;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  max-width: 200px;
  margin: 3px auto;
}
.b_f_timer ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.188rem, -0.083rem + 0.508vw, 0.375rem);
}
.b_f_timer ul li span {
  text-align: center;
  width: clamp(1.875rem, 0.074rem + 3.39vw, 3.125rem);
  background: var(--gradient);
  font-size: clamp(0.938rem, -0.053rem + 1.864vw, 1.625rem);
  font-weight: 700;
  padding: clamp(0.125rem, -0.235rem + 0.678vw, 0.375rem)
           clamp(0.25rem, -0.11rem + 0.678vw, 0.5rem);
}
.b_f_timer ul li p {
  font-size: clamp(0.625rem, 0.445rem + 0.339vw, 0.75rem);
  font-weight: 700;
}

/* Banner B – General Timer / Promo Header */
.banner {
  text-align: center;
  color: white;
  padding: 0 !important;
  font-family: "Poppins", sans-serif;
}
.banner .top-bar {
  background-color: #000;
  padding: 15px 0;
}
.banner .top-bar p {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}
.banner .bottom-bar {
  background-color: #acf4a1;
  padding: 14px 8px;
}
.banner .order-text {
  color: black;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
.banner .code {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 3px 27px 2px 27px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  margin: 0 8px;
}
.banner .timer {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin: 0 10px;
}
.timer div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.timer .box {
  background-color: black;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  width: 32px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.timer .label {
  font-size: 12px;
  color: black;
  font-weight: 700;
  line-height: 20px;
}

/* Banner B Layout Variants */
.desktop-banner .bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.desktop-banner .timer {
  margin-left: 10px;
}
.mobile-banner {
  display: none;
}

/* Timer Wrapper Utility */
.timer-wrapper {
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  padding: 0 !important;
}

/* Container Blocks */
.timer-container {
  display: flex;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 0 10px;
}
.timer-container p {
  margin: 0;
}
.black-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #000;
  color: #fff;
  width: 145px;
  padding: 3px 0;
}
.green-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #acf4a1;
  color: #000;
  flex-grow: 1;
  padding: 0 4px;
}
.b_f_m_left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left !important;
}
.b_f_m_right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .hide_mobile {
    display: none !important;
  }

  .green-container {
    width: calc(100% - 100px);
    padding: 3px 10px;
    text-align: center;
  }

  .banner .top-bar p {
    font-size: 16px;
  }

  .banner .code {
    font-size: 18px;
    padding: 4px 28px 3px 28px;
  }

  .mobile-banner {
    display: block;
  }

  .desktop-banner {
    display: none;
  }

  .banner .bottom-bar {
    display: block;
    text-align: center;
    padding: 10px 8px 14px 8px;
  }

  p.b_f_title_header {
    font-size: 27px !important;
    line-height: 30px;
  }

  span.b_f_sale {
    font-size: 18px !important;
  }

  .b_f_promo {
    text-align: center;
  }

  .b_f_promo_code {
    font-size: 14;
    padding: 4px 8px;
  }

  .b_f_timer p {
    margin-top: 10px;
    font-size: 12px !important;
  }

  .b_f_timer ul li {
    font-size: 15px !important;
  }

  .b_f_timer ul li p {
    font-size: 12px !important;
  }

  .d_flex_center {
    margin-bottom: 5px;
    gap: 10px;
  }

  .timer-container {
    line-height: 16px;
  }
}

@media (max-width: 391px) {

  .banner .code {
    font-size: 16px;
    margin: 0 5px;
  }

  .banner .order-text {
    font-size: 18px;
  }
}

@media (max-width: 320px) {
  .banner .code {
    font-size: 14px;
  }

  .banner .order-text {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
  }
}
