.checkout-offer-popup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999999999999;
  transition: all 1s ease-out;
}

.checkout-offer-popup-wrapper.closed {
    display: none;
}


.checkout-offer-popup {
  max-width: 800px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.offer-progress-bar .text {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
}

.offer-progress-bar .text .col {
    color: #7c9be9;
}

.offer-progress-bar .text .col:last-child {
    color: #a1a1a1;
}

.dot-lines {
    display: block;
    position: relative;
    width: 100%;
}

.lines {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dots {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: -12.5px;
}

.dot {
    width: 20px;
    height: 20px;
    background: #bacdfc;
    border-radius: 50%;
}

.line {
    background: #bacdfc;
    height: 5px;
    width: 34%;
}

div.woocommerce div.checkout-offer-popup h2,
div.checkout-offer-popup h2 {
    font-size: 38px;
    font-weight: 400;
    text-align: center;
}

div.woocommerce div.checkout-offer-popup h3,
div.checkout-offer-popup h3 {
    font-size: 24px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 15px;
}

div.offer-product-wrapper {
    border-color: gainsboro;
    border-width: 3px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;  
    position: relative;
    gap: 20px;  
}


div.offer-buttons button {
    background-color: #2271b1;
    color: white;
    padding: 10px 30px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 50%;
}


div.offer-product-wrapper.border-solid {
    border-style: solid;
}

div.offer-product-wrapper.border-dotted {
    border-style: dashed;
}

div.offer-product-wrapper .column {
    flex: 1 1 45%; /* Allow some flex shrinking/growing */
    min-width: 0; /* Allow content to shrink if needed */
}


div.offer-product-wrapper .column:first-child {
    padding-right: 10px;
}

div.offer-product-wrapper .column:last-child {
    padding-left: 10px;
}

/* Make buttons/text more balanced */
div.offer-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    margin-top: 20px;
}

div.offer-product-wrapper .offer-buttons button {
    flex: 0 0 auto; /* Don't let the button grow */
    padding: 10px 20px;
    font-size: 16px;
}

div.offer-buttons .cancel-offer {
    color: #666;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
}

div.offer-buttons .cancel-offer:hover {
    text-decoration: none;
}

div.woocommerce div.offer-product-wrapper .column h3,
div.offer-product-wrapper .column h3 {
    text-align: left;
    font-size: 38px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #010101;
}

div.offer-product-wrapper .column .price {
    display: flex;
    align-items: baseline; /* This ensures text aligns properly */
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 16px;
}

div.offer-product-wrapper .column .price .price-old {
    text-decoration: line-through;
    color: #a5a5a5;
}

div.offer-product-wrapper .column .price .price-new {
    font-weight: 500;
    order: 1; /* Show first */
}

div.offer-product-wrapper .column .offer-description,
div.offer-product-wrapper .column .offer-description ul,
div.offer-product-wrapper .column .offer-description ul li {
    font-size: 16px;
    margin: 10px 0;
}

div.offer-product-wrapper .column p.offer-description {
    font-size: 16px;
    margin: 10px 0;
    list-style: disc inside;
}


div.offer-product-wrapper .column p.cancel-offer {
    font-size: 14px;
    margin-top: 10px;
    text-decoration: underline;
    cursor: pointer;
}

div.offer-product-wrapper .column p.cancel-offer:hover {
    text-decoration: none;
}
.notice.custom-hidden-notice {
    display: none;
}
.checkout-offer-popup {
	top: 10vh !important;
	padding: 20px 20px !important;
}
.checkout-offer-popup-wrapper {
	overflow: auto !important;
}
#upsell-offer-form h2 {
	font-size: 20px !important;
	margin: 10px 0 5px 0 !important;
}
#upsell-offer-form h2 {
	font-size: 20px !important;
	margin: 10px 0 5px 0 !important;
}
#upsell-offer-form h2 {
	font-size: 18px !important;
	margin: 0 0 10px 0 !important;
}

div.offer-product-wrapper.border-solid {
	padding: 20px 20px !important;
}
@media only screen and (max-width:760px) {
      .checkout-offer-popup {
        max-width: 90%;
      }
		div.offer-product-wrapper .column:first-child {
		min-width: 50% !important;
	}
	div.offer-product-wrapper .column:last-child {
		min-width: 50% !important;
	}
	div.offer-product-wrapper .column:last-child h3 {
		font-size: 22px !important;
	}
}