/* Floating Cart Button Styles */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color, #7fa695);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}
.floating-cart:hover {
    transform: scale(1.1);
    background-color: #6a8d7e;
    color: white;
}
.cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: #ff4d4d;
    color: white;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.package-btn.added {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/* ping animation*/
@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}
.floating-cart::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Timer Styles */
.discount-timer-container {
    background: linear-gradient(135deg, #7fa695 0%, #6a8d7e 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(127, 166, 149, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.timer-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.timer-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    direction: ltr;
}

.timer-segment {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 12px;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-value {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.timer-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 750px) {
    .discount-timer-container {
        flex-direction: column;
        gap: 20px;
    }
    .timer-segment {
        min-width: 60px;
        padding: 10px;
    }
    .timer-value {
        font-size: 1.5rem;
    }
}
