/* Main Container */
.wdgs-final-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 2em;
    font-family: inherit;
    direction: rtl;
    text-align: center;
}

/* Original Price */
.wdgs-original-price {
    text-align: center;
    margin-bottom: 15px;
}
.wdgs-original-price del {
    font-size: 1.1em;
    color: #b0bec5;
}

/* Countdown Timer */
.wdgs-final-countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}
.wdgs-final-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 10px;
    color: #fff;
}
.wdgs-final-countdown-item.color-1 { background-color: #ff7675; }
.wdgs-final-countdown-item.color-2 { background-color: #fdcb6e; }
.wdgs-final-countdown-item.color-3 { background-color: #74b9ff; }
.wdgs-final-countdown-item.color-4 { background-color: #a29bfe; }
.wdgs-final-countdown-number {
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1;
}
.wdgs-final-countdown-label {
    font-size: 0.75em;
    margin-top: 2px;
}

/* Price Section */
.wdgs-final-price-wrapper {
    margin-bottom: 10px;
}
.wdgs-final-price-label {
    font-size: 0.9em;
    color: #6c757d;
}
.wdgs-final-price-value {
    display: block;
    font-size: 2.5em;
    font-weight: 800;
    color: #343a40;
    line-height: 1.2;
}
.wdgs-final-price-value .woocommerce-Price-currencySymbol {
    font-size: 0.5em;
    margin-right: 3px;
}

/* Progress Bar */
.wdgs-final-progress-bar-wrapper {
    margin: 0 auto 8px auto;
    max-width: 90%;
}
.wdgs-final-progress-bar {
    background-color: #e9ecef;
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
}
.wdgs-final-progress-bar-inner {
    background: linear-gradient(90deg, #1dd1a1, #10ac84);
    height: 100%;
    border-radius: 50px;
    transition: width 0.6s ease-in-out;
}
.wdgs-final-progress-text {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #6c757d;
}

/* Add to Cart Section */
.wdgs-final-add-to-cart-wrapper .cart {
    display: flex !important;
    justify-content: center;
    align-items: stretch; /* Make items equal height */
    gap: 10px;
}
.wdgs-final-add-to-cart-wrapper .quantity {
    flex-basis: 80px;
    flex-shrink: 0;
}
.wdgs-final-add-to-cart-wrapper .quantity input.qty {
    background-color: #fff;
    border: 2px solid #0984e3;
    border-radius: 8px;
    height: 100%;
    font-weight: bold;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.wdgs-final-add-to-cart-wrapper .single_add_to_cart_button {
    flex-grow: 1;
    background-color: #e84393 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 25px !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    box-shadow: 0 4px 6px rgba(232, 67, 147, 0.2);
    transition: all 0.3s ease;
}
.wdgs-final-add-to-cart-wrapper .single_add_to_cart_button:hover {
    background-color: #d63031 !important;
    transform: translateY(-2px);
}

/* Status & Shipping Notices */
.wdgs-final-status-notice {
    font-weight: bold;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff3cd;
    color: #856404;
}
.wdgs-final-shipping-notice {
    margin-top: 15px;
    font-size: 0.85em;
    color: #6c757d;
}