.popup-cta-icon {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 25px;
}
.coupon-cta-position-left .cta-icon-box-wrap {
    right: auto !important;
    left: 16px;
}
.coupon-cta-shape-circle .popup-cta-icon, .coupon-cta-shape-circle .popup-cta-icon.has_image .has-image-container, .coupon-cta-shape-circle .popup-cta-icon.has_image .has-image-container img {
    border-radius: 50%;
}
.coupon-cta-shape-leaf .popup-cta-icon, .coupon-cta-shape-leaf .popup-cta-icon.has_image .has-image-container, .coupon-cta-shape-leaf .popup-cta-icon.has_image .has-image-container img {
    border-radius: 2px 50%;
}
.coupon-cta-shape-square .popup-cta-icon, .coupon-cta-shape-square .popup-cta-icon.has_image .has-image-container, .coupon-cta-shape-square .popup-cta-icon.has_image .has-image-container img {
    border-radius: 0;
}
.coupon-cta-shape-diamond .popup-cta-icon {
    clip-path: polygon(
            50% 0%,
            100% 50%,
            50% 100%,
            0% 50%
    );
}
.coupon-cta-shape-hexagon .popup-cta-icon {
    clip-path: polygon(
            50% 0%,
            93% 25%,
            93% 75%,
            50% 100%,
            7% 75%,
            7% 25%
    );
}
.popup-cta-icon,
.popup-cta-icon.has_image,
.popup-cta-icon.has_image img {
    overflow: hidden;
}
.discount-popup-box{
    z-index: 9999999;
    position: fixed;
} 
.discount-popup-box.popup-layout-slide_in .discount-screen-box {
    opacity: 0;
    visibility: hidden;
    bottom: 0;
    transition: all ease-in-out .4s;
}
.discount-popup-box.popup-layout-slide_in.active .discount-screen-box {
    opacity: 1;
    visibility: visible;
    bottom: var(--bottomSpacing);
    /* z-index: 111111; */
}
.discount-popup-box.popup-layout-lightbox .discount-screen-box {
    display: none;
}
.discount-popup-box.popup-layout-lightbox.active .discount-screen-box {
    display: block;
}
.discount-popup-box.popup-layout-floating_bar .discount-screen-box {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all ease-in-out .2s;
}
.discount-popup-box.popup-layout-floating_bar.active .discount-screen-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.discount-popup-box.popup-layout-slide_in .discount-popup-screen-outer-box {
    position: fixed;
    right: 16px;
    bottom: 16px;
}
.discount-popup-box.popup-layout-slide_in.coupon-cta-position-left .discount-popup-screen-outer-box {
    left: 16px;
    right: auto !important;
}
.discount-popup-box.popup-layout-lightbox .discount-popup-screen-outer-box {
    /* position: absolute; */
    position: fixed;
    height: max-content;
    width: max-content;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.discount-popup-box.popup-layout-floating_bar .discount-popup-screen-outer-box {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}
.discount-popup-box.popup-layout-floating_bar .discount-screen-box {
    max-width: 100%;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    box-sizing: border-box;
}
.discount-popup-box.popup-layout-floating_bar .discount-screen-box .floating-bar-box {
    display: flex;
    align-items: center;
    gap: 20px;
}
.discount-popup-box.popup-layout-floating_bar .discount-screen-box .floating-bar-box .left-section {
    flex: 1;
}
.discount-popup-box.popup-layout-floating_bar .discount-screen-box .floating-bar-box .right-section {
    flex: 1;
}
.discount-popup-box.popup-layout-floating_bar .sub-header-section {
    margin-bottom: 0;
}
.discount-popup-box.active .close-icon {
    opacity: 1;
    visibility: visible;
}
.discount-popup-box .close-icon span {
    transition: transform ease-in-out .3s;
}
.discount-popup-box.active .close-icon span {
    transform: rotate(180deg);
}
.discount-popup-box .close-icon {
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out .3s;
}
.discount-popup-box.active .main-icon {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.discount-popup-box.popup-layout-floating_bar .cta-icon-box-wrap, .discount-popup-box .cta-icon-box-wrap .cta-tooltip
{
    opacity: 1;
    visibility: visible;
    transition: all ease-in-out .8s;
}
.discount-popup-box.popup-layout-floating_bar.active .cta-icon-box-wrap, .discount-popup-box.active .cta-icon-box-wrap .cta-tooltip {
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out .4s;
}
.discount-popup-box.popup-layout-floating_bar.active .discount-popup-screen-outer-box {
    z-index: 1;
}
.discount-popup-box.popup-layout-lightbox.active .discount-popup-screen-outer-box {
    z-index: 1111;
}


/* CTA tooltip */
.cta-tooltip {
    position: absolute;
    z-index: 10;
    bottom: calc(100% + 4px);
    visibility: visible;
    opacity: 1;
    left: 50%;
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
    text-decoration: none;
    min-width: 50px;
    max-width: 210px;
    width: max-content;
    background-color: #000;
    text-align: center;
    transform: translate(-50%, -5px);
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(52, 52, 52, .15);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    padding: 12px;
    font-weight: 600;
    transition: all .1s ease-in-out;
}
.discount-popup-box .cta-tooltip .cta-tooltip-text {
    display: block;
    white-space: pre-wrap;
    line-height: 18px;
}
.cta-tooltip p {
    white-space: nowrap;
}
.cta-tooltip p + p {
    padding-top: 5px !important;
}
.cta-tooltip:after {
    bottom: calc(100% + 5px);
    content: '';
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: #000 transparent transparent;
    transform-origin: top;
    transform: translate(-50%, -25px);
    text-decoration: none;
    position: absolute;
    transition: all .1s ease-in-out;
}
[data-tooltip-dir=left] .cta-tooltip:after {
    left: calc(100% + 4px);
    bottom: 50%;
}
[data-tooltip-dir=left] .cta-tooltip {
    right: calc(100% + 5px);
}
[data-tooltip-dir=left] .cta-tooltip {
    left: auto;
    bottom: 50%
}

[data-tooltip-dir=left] .cta-tooltip {
    transform: translate(-10px, 50%)
}

[data-tooltip-dir=left] .cta-tooltip:after {
    border-width: 5px 0px 5px 11px;
    border-color: transparent transparent transparent var(--tooltip-arrow-color) !important;
    transform-origin: left;
    transform: translate(-4px, 50%)
}

[data-tooltip-dir=right] .cta-tooltip {
    left: calc(100% + 5px);
    bottom: 50%
}
[data-tooltip-dir=right] .cta-tooltip:after {
    right: calc(100% + 4px);
    bottom: 50%;
}
[data-tooltip-dir=right] .cta-tooltip {
    transform: translate(10px, 50%)
}
[data-tooltip-dir=right] .cta-tooltip:after {
    border-width: 5px 11px 5px 0px;
    border-color: transparent var(--tooltip-arrow-color) transparent transparent;
    transform-origin: right;
    transform: translate(4px, 50%)
}

/* Attention */
.attention-gelatine {
    animation: qdp-gelatine 0.5s infinite;
}
@keyframes qdp-gelatine {
    from, to { transform: scale(1, 1); }
    25% { transform: scale(0.9, 1.1); }
    50% { transform: scale(1.1, 0.9); }
    75% { transform: scale(0.95, 1.05); }
}

.attention-spin {
    animation: 3s infinite qdp-elastic-spin;
}
@keyframes qdp-elastic-spin {
    0% {
        transform: rotate(0)
    }
    100%, 25% {
        transform: rotate(720deg)
    }
}

.attention-pulse {
    animation: qdp-pulse 1s infinite ease-in-out alternate;
}
@keyframes qdp-pulse {
    from { transform: scale(0.8); }
    to { transform: scale(1.2); }
}

.attention-flash {
    animation: qdp-flash 500ms ease infinite alternate;
}
@keyframes qdp-flash {
    from { opacity: 1; }
    to { opacity: 0; }
}

.attention-bounce {
    animation: qdp-bounce 2s ease infinite;
}
@keyframes qdp-bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

.attention-swing {
    transform-origin: top center;
    animation: qdp-swing 2s ease infinite;
}
@keyframes qdp-swing {
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.attention-shake {
    animation: qdp-shake 3s infinite;
}
@keyframes qdp-shake {
    20%, 80% {transform: translateX(0);}
    30%, 50% {transform: translateX(-10px);}
    40%, 60% {transform: translateX(10px);}
}

.attention-shockwave {
    animation: qdp-shockwave 3s infinite ease-in-out;
}
@keyframes qdp-shockwave {
    30%, 50% { transform: rotate(-20deg) scale(1.2); }
    40% { transform: rotate(20deg) scale(1.2); }
    40%, 60% { transform: rotate(0deg) scale(1.2); }
    20%, 80% { transform: scale(1); }
}

.discount-popup-box.popup-layout-lightbox.active .lightbox-overlay {
    display: flex;
}
.copy-msg-tooltip.active {
    opacity: 100 !important;
}
.lightbox-overlay {
    /* position: absolute; */
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1111;
    padding: 16px;
}
.discount-screen-box {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    padding: 28px;
    max-width: 450px;
    width: 100%;
    border: 1px solid #e5e7eb;
    position: relative;
    box-sizing: border-box;
}
.discount-screen-box .close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 20px;
    width: 20px;
}
.discount-screen-box .close-btn button {
    cursor: pointer;
    height: 100%;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    line-height: 30px;
}
/* .discount-screen-box .close-btn:hover {
    background-color: #cdd4d4;
    border-radius: 50%;
} */
.discount-screen-box .close-btn button svg {
   display: inline-block;
}
.discount-screen-box .popup-header {
    text-align: center;
    margin-bottom: 16px;
    color: #111827;
    font-weight: normal;
    text-decoration: none;
    font-size: 20px;
}
.discount-screen-box .popup-sub-header {
    text-align: center;
    margin-bottom: 24px;
    color: #4b5563;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
}
.discount-screen-box.email-screen .floating-bar-box .right-section {
    margin-bottom: 16px;
}
.discount-screen-box.email-screen .floating-bar-box .right-section > * + * {
    margin-top: 12px;
}
.qdp-input-field {
    width: 100%;
    display: block;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}
.qdp-input-field:focus {
    outline: none;
    box-shadow: 0 0 0 1px #3b82f6;
    border-color: #3b82f6 !important;
}
.error-msg {
    font-size: 12px;
    color: #ef4444;
    display: block;
    margin-top: 2px ;
}
/* .discount-screen-box.email-screen {
    max-height: calc(100vh - var(--bottomSpacing) - 20px);
    overflow-y: auto;
} */
/* .discount-screen-box .consent-checkbox-box {
    margin-bottom: 16px;
} */
 input:focus-visible{
    outline: none;
 }
.discount-screen-box .consent-checkbox-box label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: fit-content;
}
.discount-screen-box .consent-checkbox-box label > div {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex: 0 0 18px;
}
.discount-screen-box .consent-checkbox-box label input:checked + div {
    background-color: #3b82f6;
    border-color: #3b82f6;
}
.discount-screen-box .consent-checkbox-box label input:disabled + div {
    cursor: not-allowed;
    background-color: #d1d5db;
    border-color: #d1d5db;
}
.discount-screen-box .consent-checkbox-box label span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}
.discount-popup-box button:focus-visible {
    outline: none;
}
.discount-screen-box .primary-btn {
    width: 100%;
    padding: 12px 16px;
    background-color: #2563eb;
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
    transition-property: color, background-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.discount-popup-box.popup-layout-lightbox .discount-screen-box {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.discount-screen-box .primary-btn:hover {
    background-color: #1d4ed8;
}
.discount-screen-box .popup-footer-text {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}
.discount-screen-box.coupon-screen .coupon-code-box {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 4px 4px 4px 8px;
    border: 2px dashed #d1d5db;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.discount-screen-box.coupon-screen .coupon-code-box .coupon-text {
    font-size: 16px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.05em;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.discount-screen-box.coupon-screen .coupon-code-box .coupon-screen-btn {
    position: relative;
    padding: 8px 16px;
    margin-bottom: 1px;
    width: max-content;
    height: 100%;
}
.discount-popup-box .copy-msg-tooltip {
    position: absolute;
    bottom: 46px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #111827;
    color: white;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    white-space: normal;
    max-width: 150px;
    width: -moz-max-content;
    width: max-content;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.copy-msg-tooltip-arrow {
    position: absolute;
    top: 98%;
    left: 50%;
    transform: translatex(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #111827;
    display: block !important;
}
.discount-screen-box.coupon-screen .popup-footer-text, .discount-screen-box.announcement-screen .popup-footer-text {
    margin-top: 16px;
}
.discount-screen-box.announcement-screen .right-section {
    text-align: center;
}
.discount-screen-box.announcement-screen .primary-btn {
    width: max-content;
}
.cta-icon-box-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    position: fixed;
    bottom: 25px;
    right: 25px;
}
.popup-cta-icon {
    position: relative;
    width: 56px;
    height: 56px;
    transition: all 300ms ease;
}
.discount-popup-box .main-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.discount-popup-box .has-image-container{
  width: 100%;
  height: 100%;
  z-index: 1;
}

.discount-popup-box .main-icon span img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.discount-popup-box .main-icon span{
    z-index: 1;
}
.discount-popup-box .close-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.discount-popup-box .close-icon span{
    z-index: 1;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
p{
    margin: 0;
    padding: 0;
}
.discount-popup-box.popup-layout-floating_bar .discount-screen-box{
    border-radius: 0;
    border-left: none;
    border-right: none;
}
.qdp-spin {
  animation: qdp-spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 6px;
}

@keyframes qdp-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.primary-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media only screen and (max-width: 480px) {
    .discount-popup-box.popup-layout-floating_bar .discount-screen-box .floating-bar-box {
        display: block;
    }
}

.consent-checkbox-box input:checked + div svg {
    display: block !important;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Countdown Timer Styles
   ========================================================================== */
.timer-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}
.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  justify-content: center;
}
.klaxon-flip-box {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.klaxon-flip-box span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.colon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  height: 44px;
  flex-shrink: 0;
  padding-bottom: 2px;
}
.time-box label {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}
.klaxon-timer-tick-enter-active {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  animation: klaxonTimerSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.klaxon-timer-tick-leave-active {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  animation: klaxonTimerSlideOut 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes klaxonTimerSlideIn {
  from {
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes klaxonTimerSlideOut {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(50%) scale(0.9);
    opacity: 0;
  }
}

/* Force hide widget (including CTA icon launcher) when timer has expired */
.discount-popup-box[data-timer-expired="true"] {
  display: none !important;
}