/* BT Countdown Bar (Desktop) */
/* BT Countdown Bar (Desktop) */
.bt-countdown-bar {
    position: relative;
    width: 100%;
    background-color: #D11120;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    z-index: 100;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.bt-countdown-bar-left {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    flex: 1;
    justify-content: flex-start;
}

.bt-countdown-bar-left svg {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.bt-countdown-bar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}

.bt-countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
    font-size: 20px;
    font-family: "Barlow", sans-serif;
}

.bt-countdown-timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.bt-countdown-timer-item span:first-child {
    font-size: 22px;
    margin-bottom: 2px;
}

.bt-countdown-timer-label {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
    opacity: 0.9;
}

.bt-countdown-btn {
    background-color: #29282D;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.bt-countdown-btn:hover {
    background-color: #111;
}

.bt-countdown-btn svg {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.bt-countdown-close-desktop {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-left: 15px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.bt-countdown-close-desktop:hover {
    opacity: 0.7;
}

.bt-countdown-close-desktop svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* BT Countdown Modal (Mobile) */
.bt-countdown-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999998;
    display: none;
}

.bt-countdown-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #D11120;
    color: #fff;
    width: 95%;
    max-width: 450px;
    border-radius: 8px;
    z-index: 999999;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: "Roboto", sans-serif;
}

.bt-countdown-modal-header {
    padding: 20px 20px 15px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.bt-countdown-modal-header svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-bottom: 4px;
}

.bt-countdown-modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: #29282D;
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 0;
    z-index: 10;
}

.bt-countdown-modal-close svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin: 0;
    pointer-events: none;
}

.bt-countdown-modal-body {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.bt-modal-timer {
    gap: 15px;
}

.bt-modal-timer .bt-countdown-timer-item span:first-child {
    font-size: 28px;
    margin-bottom: 5px;
}

.bt-countdown-modal-footer {
    padding: 20px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Visibility Control based on 1024px */
@media (max-width: 1024px) {
    .bt-countdown-bar {
        display: none !important;
    }
}

@media (min-width: 1025px) {

    .bt-countdown-modal,
    .bt-countdown-modal-overlay {
        display: none !important;
    }
}

/* Whatsapp Button */
.bt-whatsapp-wrapper {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999997;
    /* Below modal box */
    display: flex;
    align-items: center;
}

.bt-whatsapp-button {
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

.bt-whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.bt-whatsapp-button svg {
    width: 32px;
    height: 32px;
}

.bt-whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #fff;
    color: #333;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
    pointer-events: none;
    line-height: 1.4;
    border: 1px solid #eee;
}

.bt-whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.bt-whatsapp-wrapper:hover .bt-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .bt-whatsapp-wrapper {
        right: 20px;
        bottom: 20px;
    }

    .bt-whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .bt-whatsapp-button svg {
        width: 26px;
        height: 26px;
    }

    .bt-whatsapp-tooltip {
        display: none;
        /* Hide tooltip on mobile to avoid overlap issues */
    }
}