.elementor-element, .e-con-inner{
    padding: 0 !important;
}
.confirmation-page-wrapper[dir="rtl"] {
    text-align: right;
    
}
/* =========================================
   Confirmation Page Styles
   ========================================= */

/* Wrapper */
.confirmation-page-wrapper {
    line-height: 1.5;
    color: #333;
    margin: 0 auto;
    background-color: #f8f9fa;
    min-height: 100vh;
    max-width: 500px;
    box-sizing: border-box;
}
/* RTL Support */
.confirmation-page-wrapper[dir="rtl"] {
    text-align: right;
}

.confirmation-page-wrapper[dir="rtl"] .confirmation-actions {
    flex-direction: row-reverse;
}

.confirmation-page-wrapper[dir="rtl"] .summary-label {
    margin-left: 16px;
    margin-right: 0;
    font-weight: 400 !important;
    color: #494949 !important;
}

.confirmation-page-wrapper[dir="rtl"] .summary-value {
    text-align: left;
}

/* Container */
.confirmation-container {
    height: 100vh;
    background: #fff;
    overflow: auto;
    position: relative;
}

/* Header */
.confirmation-header {
        padding: 10px 40px;
    text-align: center;
}

.cart-illustration {
    display: inline-block;
    width: 200px;
}

.cart-illustration img {
    border-radius: 100% !important;
}

/* Title */
.confirmation-title-section {
    padding: 24px 24px 0;
    text-align: center;
}

.preview-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    white-space: normal;
    /* prevents wrapping */
}



.confirmation-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Content */
.confirmation-content {
    padding: 24px;
}

/* Order Summary */
.order-summary {
    border: 1px solid #e5e7eb;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.summary-row.total-row {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 10px;
}

.summary-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex: 1;
    margin-right: 16px;
}

.summary-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    line-height: 1.4;
}

.summary-value.total {
    font-size: 16px;
    font-weight: 600;
}

.summary-value.discount {
    color: red;
}

/* Agreement */
.agreement-section {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.agreement-text {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* Actions */
.confirmation-actions {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
}
/* Base button styles (yours) */
.btn-cancel,
.btn-confirm {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    outline: none;
    position: relative;
    /* for spinner positioning */
    overflow: hidden;
}
/* Cancel button spinner */
.btn-cancel.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--brand-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* Confirm button spinner */
.btn-confirm.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* Hide text & block click when loading */
.btn-cancel.loading,
.btn-confirm.loading {
    color: transparent !important;
    pointer-events: none;
}

/* Spinner animation */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
/* Cancel Button */
.btn-cancel {
    background: transparent !important;
    color: var(--brand-color) !important;
    border: 1px solid var(--brand-color) !important;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: color-mix(in srgb, var(--brand-color) 8%, transparent);
    color: color-mix(in srgb, var(--brand-color) 8%, transparent) !important;
}

.btn-cancel:active {
    transform: scale(0.97);
    background: color-mix(in srgb, var(--brand-color) 15%, transparent);
}

.btn-cancel:focus {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-color) 30%, transparent);
}

/* Confirm Button */
.btn-confirm {
    background: var(--brand-color);
    color: #fff !important;
    border: 1px solid var(--brand-color) !important;
    transition: all 0.2s ease;
}

.btn-confirm:hover {
    background: color-mix(in srgb, var(--brand-color) 90%, black);
    color: white !important;
}

.btn-confirm:active {
    transform: scale(0.97);
    background: color-mix(in srgb, var(--brand-color) 80%, black);
    color: white !important;
}

.btn-confirm:focus {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-color) 40%, transparent);
}