.promoforge-offer-badge {
  display: inline-block;
  color: white;
  top: 10px !important;
  left: 10px !important;
  z-index: 99 !important;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
  border: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.2;
}

.woocommerce-loop-product__title+.promoforge-offer-badge {
  margin-top: 5px;
  display: block;
}

.promoforge-special-offer-container {
  margin: 20px 0;
}

.special-offer-title {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.special-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.special-offer-product {
  border: 1px solid #eee;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.special-offer-product:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.special-offer-product .price {
  margin-top: 10px;
}

.special-offer-product del {
  opacity: 0.6;
  margin-right: 5px;
}

.special-offer-product ins {
  text-decoration: none;
  font-weight: bold;
  color: #00a99d;
}

.special-offer-list {
  list-style: none;
  padding: 0;
}

.special-offer-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.special-offer-list li img {
  width: 80px;
  height: auto;
  margin-right: 15px;
}

.special-offer-list li .product-info {
  flex: 1;
}

.variable-product-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.variable-product-table thead {
  background: #00a79d;
  color: #fff;
}

.variable-product-table th {
  padding: 12px;
  text-align: center;
  font-weight: bold;
}

.variable-product-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}

.variable-product-table tbody tr:hover {
  background: #f9f9f9;
}

.variable-product-table td {
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
}

.variable-product-table td:first-child {
  font-weight: bold;
  text-align: left;
}

.variable-product-table td.price {
  font-weight: bold;
  color: #00a79d;
}

.variable-product-table td.price-unit {
  font-size: 13px;
  color: #666;
}

.variable-product-table input.qty {
  width: 55px;
  text-align: center;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  margin: 0 auto;
  display: block;
}

.variable-product-table td form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.variable-product-table .single_add_to_cart_button {
  background: #00a79d;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  min-width: 100px;
  margin: 2px 0;
}

.variable-product-table .single_add_to_cart_button:hover {
  background: #00897b;
}

.variable-product-table .single_add_to_cart_button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.modal .variable-product-table-wrapper {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
}

.promoforge-display-none {
  display: none;
}

.promoforge-display-block {
  display: block;
}

.promoforge-special-offer-container {
  padding: 20px;
  position: relative;
  max-width: 100%;
  margin: 30px auto;
}

.promoforge-special-offer-container .slick-track {
  display: flex;

  padding-bottom: 20px;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product {
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #0073aa;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 4px;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product h2,
.promoforge-special-offer-container .promoforge-products .promoforge-product .woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 44px;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .price {
  font-size: 15px;
  font-weight: 700;
  color: #0073aa;
  margin-bottom: 15px;
  display: block;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .price del {
  color: #999;
  font-weight: 400;
  font-size: 13px;
  margin-right: 5px;
}

.promoforge-special-offer-actions {
  margin-top: 15px;
  width: 100%;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button:hover {
  background-color: #005177;
  color: #fff;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button.loading {
  opacity: 0.7;
  cursor: wait;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button.added::after {
  font-family: 'WooCommerce';
  content: '\e017';
  margin-left: .5em;
  vertical-align: bottom;
}

.promoforge-special-offer-container .slick-prev,
.promoforge-special-offer-container .slick-next {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.2s;
}

.promoforge-special-offer-container .slick-prev:hover,
.promoforge-special-offer-container .slick-next:hover {
  background: #0073aa;
  color: #fff;
}

.promoforge-special-offer-container .slick-prev::before,
.promoforge-special-offer-container .slick-next::before {
  color: #333;
  opacity: 1;
  font-size: 24px;
}

.promoforge-special-offer-container .slick-prev:hover::before,
.promoforge-special-offer-container .slick-next:hover::before {
  color: #fff;
}

.promoforge-special-offer-container .slick-prev {
  left: -15px;
}

.promoforge-special-offer-container .slick-next {
  right: -15px;
}

.promoforge-special-offer-container .slick-prev,
.promoforge-special-offer-container .slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 35px;
  height: 35px;
  padding: 0;
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.promoforge-special-offer-container .slick-prev:before,
.promoforge-special-offer-container .slick-next:before {
  font-family: 'Dashicons';
  font-size: 20px;
  line-height: 35px;
  opacity: 1;
  color: #444;
  -webkit-font-smoothing: antialiased;
  display: block;
  text-align: center;
}

.promoforge-special-offer-container .slick-prev:before {
  content: '\f341';
}

.promoforge-special-offer-container .slick-next:before {
  content: '\f345';
}

.promoforge-special-offer-container .slick-prev:hover,
.promoforge-special-offer-container .slick-next:hover {
  background: #00a99d;
}

.promoforge-special-offer-container .slick-prev:hover:before,
.promoforge-special-offer-container .slick-next:hover:before {
  color: #fff;
}

.promoforge-special-offer-container .slick-prev {
  left: -10px;
}

.promoforge-special-offer-container .slick-next {
  right: -10px;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product {
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  padding: 20px;
  margin: 0 10px;
  transition: all 0.3s ease;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  min-height: 420px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: transparent;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product img,
.promoforge-special-offer-container .promoforge-products .promoforge-product .woocommerce-loop-product__link img {
  height: 180px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
  mix-blend-mode: multiply;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
  line-height: 1.4;
  font-family: inherit;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .price {
  font-size: 16px;
  margin-bottom: 15px;
  display: block;
  color: #333;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .price del {
  color: #999;
  font-size: 14px;
  margin-right: 6px;
  font-weight: normal;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .price ins {
  color: #ff9800;
  font-weight: 700;
  text-decoration: none;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .button,
.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button {
  background-color: #00a99d;
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 14px;
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  text-transform: capitalize;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .button:hover,
.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button:hover {
  background-color: #008f84;
  transform: scale(1.02);
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button::before {
  content: '\f174';
  font-family: 'Dashicons';
  font-size: 16px;
  margin-right: 5px;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button.loading {
  padding-right: 25px;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .add_to_cart_button.loading::after {
  top: auto;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .promoforge-offer-badge,
.promoforge-special-offer-container .promoforge-products .promoforge-product .onsale {
  position: absolute;
  top: 45px;
  left: 10px;
  margin: 0;
  z-index: 99;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



.promoforge-special-offer-container.promoforge-offer-grid-view .promoforge-products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.promoforge-special-offer-container.promoforge-offer-grid-view .promoforge-products .promoforge-product {
  width: calc(33.333% - 20px);
  margin: 0;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .promoforge-special-offer-container.promoforge-offer-grid-view .promoforge-products .promoforge-product {
    width: calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .promoforge-special-offer-container.promoforge-offer-grid-view .promoforge-products .promoforge-product {
    width: 100%;
  }
}

.promoforge-special-offer-container.promoforge-offer-slider-enabled .promoforge-products.slick-slider .promoforge-product.slick-slide {
  margin: 15px !important;
  padding: 25px !important;
}

.promoforge-special-offer-container .slick-list {
  margin: 0 -15px;
  padding: 20px 0;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product .promoforge-offer-countdown-timer {
  position: absolute !important;
  top: 45px !important;
  left: 10px !important;
  right: auto !important;
  margin: 0 !important;
  z-index: 99 !important;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 11px;
  font-weight: 700;
  color: #e74c3c;
  border: 1px solid #eee;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product img {
  margin-top: 25px;
}

.promoforge-special-offer-container.promoforge-offer-slider-enabled .promoforge-products.slick-slider .promoforge-product {
  float: none;
  margin: 0 !important;
  flex: 0 0 auto;
}

.promoforge-special-offer-container .promoforge-products .promoforge-product {
  padding: 10px;
  box-sizing: border-box;
}

.promoforge-special-offer-container .promoforge-products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.promoforge-special-offer-container.promoforge-offer-slider-enabled .promoforge-products.slick-slider {
  display: block;
}

.promoforge-special-offer-container .promoforge-product img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 15px;
}

.promoforge-products .promoforge-special-offer-product .product {
  width: auto !important;
}

.promoforge-special-offer-container.promoforge-offer-grid-view .promoforge-products .promoforge-product {
  margin: 15px !important;
  padding: 25px !important;
  width: calc(33.333% - 30px) !important;
}

.promoforge-special-offer-container.promoforge-offer-grid-view .promoforge-products {
  justify-content: center;
}

/* ===============================
   WAO No Slider View (Fallback for <5 items)
   Match exact slider styling but in a flex row.
   =============================== */
.promoforge-special-offer-container .promoforge-products.promoforge-no-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  padding: 0;
  margin: 0 -15px;
  list-style: none;
}

.promoforge-special-offer-container .promoforge-products.promoforge-no-slider .promoforge-product {
  margin: 15px !important;
  padding: 25px !important;
  width: calc(33.333% - 30px) !important;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  height: auto;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.promoforge-special-offer-container .promoforge-products.promoforge-no-slider .promoforge-product img {
  margin-top: 25px;
}

/* Responsive for no-slider */
@media (max-width: 768px) {
  .promoforge-special-offer-container .promoforge-products.promoforge-no-slider .promoforge-product {
    width: calc(50% - 30px) !important;
  }
}

@media (max-width: 480px) {
  .promoforge-special-offer-container .promoforge-products.promoforge-no-slider .promoforge-product {
    width: calc(100% - 30px) !important;
  }
}

/* ===============================
/* ===============================
   Shop Loop Position (Top Left for Badge and Countdown)
   =============================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce .products .product,
.woocommerce .related.products .product,
.woocommerce .up-sells.products .product,
.woocommerce .cross-sells.products .product,
.products .product,
.wc-block-grid__product,
.wc-block-product {
  position: relative !important;
}

.woocommerce ul.products li.product .promoforge-offer-badge,
.woocommerce-page ul.products li.product .promoforge-offer-badge,
.woocommerce .products .product .promoforge-offer-badge,
.woocommerce .related.products .product .promoforge-offer-badge,
.woocommerce .up-sells.products .product .promoforge-offer-badge,
.products .product .promoforge-offer-badge,
.wc-block-grid__product .promoforge-offer-badge,
.wc-block-product .promoforge-offer-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 99 !important;
  margin: 0 !important;
  display: inline-block !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Product Loop Badge & Countdown Timer Styling (Shop, Category, Related, Upsells)
   ========================================================================== */
.woocommerce ul.products li.product,
.woocommerce .products .product,
.woocommerce .related.products ul.products li.product,
.woocommerce .up-sells.products ul.products li.product,
.products .product,
.wc-block-grid__product,
.wc-block-product {
  position: relative !important;
  overflow: visible !important;
}

.woocommerce ul.products li.product .promoforge-offer-badge.active,
.woocommerce .products .product .promoforge-offer-badge.active,
.woocommerce .related.products ul.products li.product .promoforge-offer-badge,
.woocommerce .up-sells.products ul.products li.product .promoforge-offer-badge,
.products .product .promoforge-offer-badge.active,
.wc-block-grid__product .promoforge-offer-badge.active,
.wc-block-product .promoforge-offer-badge.active {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 100 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: calc(100% - 20px) !important;
  line-height: 1.3 !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.woocommerce ul.products li.product .promoforge-offer-countdown-timer,
.woocommerce ul.products li.product .upcoming-offer,
.woocommerce .products .product .promoforge-offer-countdown-timer,
.woocommerce .products .product .upcoming-offer,
.woocommerce .related.products ul.products li.product .promoforge-offer-countdown-timer,
.woocommerce .up-sells.products ul.products li.product .promoforge-offer-countdown-timer,
.products .product .promoforge-offer-countdown-timer,
.products .product .upcoming-offer,
.wc-block-grid__product .promoforge-offer-countdown-timer,
.wc-block-product .promoforge-offer-countdown-timer {
  position: absolute !important;
  top: 40px !important;
  left: 10px !important;
  z-index: 99 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #e74c3c !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: calc(100% - 20px) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* Move timer to top: 10px when NO active badge is present */
.woocommerce ul.products li.product:not(:has(.promoforge-offer-badge.active)) .promoforge-offer-countdown-timer,
.woocommerce .products .product:not(:has(.promoforge-offer-badge.active)) .promoforge-offer-countdown-timer,
.woocommerce .related.products ul.products li.product:not(:has(.promoforge-offer-badge.active)) .promoforge-offer-countdown-timer,
.woocommerce .up-sells.products ul.products li.product:not(:has(.promoforge-offer-badge.active)) .promoforge-offer-countdown-timer {
  top: 10px !important;
}

/* ===============================
   Single Product Main Title Styling
   =============================== */
.woocommerce div.product .product_title {
  clear: both;
}

.woocommerce div.product .promoforge-title-badge-wrapper {
  margin-bottom: 15px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Ensure badges and timers in single product summary are inline-block and relative */
.woocommerce div.product .summary .promoforge-offer-badge,
.woocommerce div.product .summary .promoforge-offer-countdown-timer,
.woocommerce div.product .entry-summary .promoforge-offer-badge,
.woocommerce div.product .entry-summary .promoforge-offer-countdown-timer,
.woocommerce div.product .promoforge-title-badge-wrapper .promoforge-offer-badge,
.woocommerce div.product .promoforge-title-badge-wrapper .promoforge-offer-countdown-timer {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 8px 8px 0 !important;
  z-index: 1 !important;
}

.woocommerce div.product .summary .promoforge-offer-badge,
.woocommerce div.product .entry-summary .promoforge-offer-badge,
.woocommerce div.product .promoforge-title-badge-wrapper .promoforge-offer-badge {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  line-height: normal !important;
  color: #ffffff !important;
  white-space: nowrap !important;
}

.woocommerce div.product .summary .promoforge-offer-countdown-timer,
.woocommerce div.product .entry-summary .promoforge-offer-countdown-timer,
.woocommerce div.product .promoforge-title-badge-wrapper .promoforge-offer-countdown-timer {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 5px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #e74c3c !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  line-height: normal !important;
  white-space: nowrap !important;
}

/* Fix for Block-based Related/Upsell Products (Product Collection Block) */
.wp-block-woocommerce-product-collection .wc-block-product,
.wc-block-product-template .wc-block-product {
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  overflow: visible !important;
}

/* Lift the wrapper entirely out of the flow */
.wp-block-woocommerce-product-collection .wc-block-product .promoforge-title-badge-wrapper,
.wc-block-product-template .wc-block-product .promoforge-title-badge-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 20 !important;
  display: block !important;
}

/* Position items inside the lifted wrapper */
.wp-block-woocommerce-product-collection .wc-block-product .promoforge-title-badge-wrapper .promoforge-offer-badge,
.wc-block-product-template .wc-block-product .promoforge-title-badge-wrapper .promoforge-offer-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  margin: 0 !important;
  width: auto !important;
}

.wp-block-woocommerce-product-collection .wc-block-product .promoforge-title-badge-wrapper .promoforge-offer-countdown-timer,
.wc-block-product-template .wc-block-product .promoforge-title-badge-wrapper .promoforge-offer-countdown-timer {
  position: absolute !important;
  top: 55px !important;
  left: 10px !important;
  margin: 0 !important;
  width: fit-content !important;
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  color: #e74c3c !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}



.woocommerce ul.products li.product .onsale,
.woocommerce .products .product .onsale,
.woocommerce .related.products .product .onsale,
.products .product .onsale,
.wc-block-grid__product .onsale,
.wc-block-product .onsale {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  margin: 0 !important;
  position: absolute !important;
  z-index: 90 !important;
}

.wc-block-product .promoforge-title-badge-wrapper,
.wc-block-grid__product .promoforge-title-badge-wrapper {
  margin: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: visible !important;
  display: block !important;
}

/* ===============================
   Single Product Image Badge Fix
   =============================== */
.woocommerce div.product div.images,
.woocommerce-product-gallery {
  overflow: visible !important;
}

.woocommerce div.product div.images .promoforge-offer-badge {
  position: absolute !important;
  top: 20px !important;
  left: 20px !important;
  z-index: 20 !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  /* MAtch slider style */
  font-size: 13px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.woocommerce .variable-product-table .cart {
  margin-bottom: 0 !important;
}

/* Hide default sale badge when custom BOGO badge is active */
.promoforge-hide-default-sale-badge .onsale,
.promoforge-hide-default-sale-badge .wc-block-components-product-sale-badge,
.wc-block-product.promoforge-hide-default-sale-badge .wc-block-components-product-sale-badge {
  display: none !important;
}

/* Hide number spinners in BOGO table */
.variable-product-table .list-quantity input.qty::-webkit-outer-spin-button,
.variable-product-table .list-quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.variable-product-table .list-quantity input.qty {
  -moz-appearance: textfield;
  appearance: none;
  cursor: default;
  background-color: #f8f8f8 !important;
  border-color: #eee !important;
}

.woocommerce-cart-form .shop_table tbody tr td.product-name span {
  color: #3e4040ff !important;
  font-size: 12px !important;
}