/* Checkout Section Styling */
.checkout-section {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.checkout-inner {
    text-align: center;
}

.checkout-header h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 18px;
}

.checkout-header p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.selected-products-preview {
    margin-bottom: 20px;
    text-align: left;
}

#selected-count {
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
}

.selected-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fafafa;
}

.selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
}

.selected-item:last-child {
    border-bottom: none;
}

.item-name {
    flex: 1;
    color: #333;
    font-weight: 500;
    margin-right: 10px;
    line-height: 1.3;
}

.item-price {
    color: #000000;
    font-weight: bold;
    white-space: nowrap;
}

.no-selection {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
    margin: 0;
    font-size: 13px;
}

.item-price del {
    color: #999;
    text-decoration: line-through;
    margin-right: 4px;
}

.item-price ins {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

/* Pricing Totals */
.pricing-totals {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 5px;
    font-size: 14px;
}

.final-row {
    font-weight: bold;
    font-size: 16px;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
    margin-top: 5px;
}

/* Discount Info */
.discount-info {
    margin-top: 10px;
    padding: 8px 12px;
    background: #e8f5e8;
    border-radius: 4px;
    border-left: 3px solid #28a745;
}

.discount-details {
    text-align: center;
}

.discount-details small {
    display: block;
    color: #155724;
    font-size: 12px;
    margin: 2px 0;
}

.discount-details small:first-child {
    font-weight: bold;
    color: #28a745;
}

.checkout-btn {
    width: 100%;
    text-align: center;
    color: var(--second-color) !important;
    justify-content: center;
}



@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.checkout-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
}

.checkout-info p {
    margin: 8px 0;
    font-size: 13px;
    color: #555;
}

.checkout-info p:first-child {
    font-weight: bold;
    color: #28a745;
    margin-bottom: 12px;
}

/* Loader styling */
.loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--theme-color);
    margin-bottom: 10px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert styling */
.alert {
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Progress bar enhancements */
.price-progress-wrp {
    margin-bottom: 30px;
}

.with-right {
    background: #20c997;
}