/* WooCommerce Modal Checkout Styles */

/* Modal Overlay */
.wc-modal-checkout-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wc-modal-checkout-overlay.active {
    display: flex;
    opacity: 1;
}

/* Modal Container - Centered */
.wc-modal-checkout-container {
    background: #f5f5f5;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wc-modal-checkout-overlay.active .wc-modal-checkout-container {
    transform: scale(1);
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .wc-modal-checkout-overlay {
        padding: 10px;
    }
    
    .wc-modal-checkout-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 12px;
    }
}

/* Modal Header */
.wc-modal-checkout-header {
    background: #fff;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.wc-modal-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.wc-modal-checkout-back {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #374151;
}

.wc-modal-checkout-back svg {
    width: 24px;
    height: 24px;
}

.wc-modal-header-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    flex: 1;
    text-align: center;
    margin: 0;
}

.wc-modal-checkout-close {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6b7280;
}

.wc-modal-checkout-close svg {
    width: 20px;
    height: 20px;
}

/* Progress Steps */
.wc-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.wc-progress-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.wc-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    flex: 1;
}

.wc-progress-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
}

.wc-progress-step.active .wc-progress-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.wc-progress-step.completed .wc-progress-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.wc-progress-step.completed .wc-progress-step-circle svg {
    width: 16px;
    height: 16px;
}

.wc-progress-step-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.wc-progress-step.active .wc-progress-step-label {
    color: #111827;
}

/* Modal Body */
.wc-modal-checkout-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    background: #f5f5f5;
}

.wc-modal-checkout-body::-webkit-scrollbar {
    width: 6px;
}

.wc-modal-checkout-body::-webkit-scrollbar-track {
    background: transparent;
}

.wc-modal-checkout-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* Card Sections */
.wc-checkout-card {
    background: #fff;
    margin: 12px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wc-checkout-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.wc-checkout-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-checkout-card-action {
    font-size: 13px;
    color: #667eea;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

/* Order Summary Section */
.wc-order-summary-section {
    background: #fff;
    margin: 12px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.wc-order-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wc-order-summary-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wc-order-summary-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.wc-order-summary-info h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.wc-order-summary-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wc-order-summary-amount {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.wc-order-summary-toggle {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.wc-order-summary-toggle.expanded {
    transform: rotate(180deg);
}

.wc-order-summary-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: none;
}

.wc-order-summary-details.visible {
    display: block;
}

.wc-order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.wc-order-item-name {
    color: #374151;
}

.wc-order-item-price {
    font-weight: 500;
    color: #111827;
}

.wc-order-totals {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.wc-order-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6b7280;
}

.wc-order-total-row.final {
    font-weight: 700;
    font-size: 16px;
    color: #111827;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

/* Coupon Section */
.wc-coupon-section {
    background: #fff;
    margin: 12px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wc-coupon-banner {
    background: #fef3c7;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 12px;
}

.wc-coupon-banner-left {
    color: #92400e;
    font-weight: 500;
}

.wc-coupon-banner-right {
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
}

.wc-coupon-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.wc-coupon-input-group {
    position: relative;
    flex: 1;
}

.wc-coupon-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.wc-coupon-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wc-coupon-apply-btn {
    padding: 12px 24px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.wc-coupon-apply-btn:hover {
    background: #5568d3;
}

.wc-coupon-apply-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wc-coupon-message {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    display: none;
}

.wc-coupon-message.success {
    background: #f0fdf4;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.wc-coupon-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

/* Loading State */
.wc-modal-checkout-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.wc-modal-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

.wc-modal-checkout-loading p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

/* Checkout Form - FORCE Single Column Layout with Maximum Specificity */
.wc-modal-checkout-body .woocommerce,
.wc-modal-checkout-body .woocommerce-checkout,
.wc-modal-checkout-body form.checkout,
.wc-modal-checkout-body form.woocommerce-checkout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.wc-modal-checkout-body .col2-set,
.wc-modal-checkout-body .col2-set .col-1,
.wc-modal-checkout-body .col2-set .col-2 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

.wc-modal-checkout-body .col-1,
.wc-modal-checkout-body .col-2 {
    width: 100% !important;
    float: none !important;
    display: block !important;
    max-width: 100% !important;
}

/* ULTRA CRITICAL: Hide order review table with maximum force */
.wc-modal-checkout-body #order_review_heading,
.wc-modal-checkout-body #order_review,
.wc-modal-checkout-body .woocommerce-checkout-review-order,
.wc-modal-checkout-body .woocommerce-checkout-review-order-table,
.wc-modal-checkout-body .shop_table,
.wc-modal-checkout-body .shop_table.woocommerce-checkout-review-order-table {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -99999px !important;
    pointer-events: none !important;
}

/* When showing payment, hide order review completely */
.wc-modal-checkout-body .checkout-sidebar.visible #order_review_heading,
.wc-modal-checkout-body .checkout-sidebar.visible #order_review,
.wc-modal-checkout-body .checkout-sidebar.visible .woocommerce-checkout-review-order-table {
    display: none !important;
}

/* Keep WooCommerce coupon visible - user wants this! */
.wc-modal-checkout-body .woocommerce-form-coupon-toggle,
.wc-modal-checkout-body .checkout_coupon {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    left: 0 !important;
    opacity: 1 !important;
    height: auto !important;
    margin: 0 12px 12px !important;
}

/* Style WooCommerce coupon form */
.wc-modal-checkout-body .woocommerce-form-coupon-toggle {
    background: #fff !important;
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.wc-modal-checkout-body .checkout_coupon {
    background: #fff !important;
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Hide our custom coupon section */
.wc-coupon-section {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
}

/* CRITICAL: Override Flatsome theme's two-column layout */
.wc-modal-checkout-body .row,
.wc-modal-checkout-body .row.pt-0 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Force Flatsome columns to full width */
.wc-modal-checkout-body .large-7,
.wc-modal-checkout-body .large-5,
.wc-modal-checkout-body .col {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* IMPORTANT: Show .large-5 */
.wc-modal-checkout-body .large-5.col {
    display: block !important;
    visibility: visible !important;
}

/* Hide checkout-sidebar wrapper initially */
.wc-modal-checkout-body .checkout-sidebar {
    display: none !important;
}

/* Show checkout-sidebar when in payment mode - but ONLY payment section */
.wc-modal-checkout-body .checkout-sidebar.visible {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force payment section to be the ONLY thing visible in checkout-sidebar */
.wc-modal-checkout-body .checkout-sidebar.visible > * {
    display: none !important;
}

.wc-modal-checkout-body .checkout-sidebar.visible #payment {
    display: block !important;
}

/* Style the form sections as cards */
.wc-modal-checkout-body .woocommerce-billing-fields,
.wc-modal-checkout-body .woocommerce-shipping-fields,
.wc-modal-checkout-body .woocommerce-additional-fields {
    background: #fff !important;
    margin: 12px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    float: none !important;
}

/* Next Button Container */
.wc-next-step-container {
    background: #fff !important;
    margin: 0 12px 12px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.wc-next-step-btn {
    width: 100% !important;
    padding: 14px 24px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

.wc-next-step-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

/* Payment section styling - MAXIMUM VISIBILITY */
.wc-modal-checkout-body #payment {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
    margin: 0 12px 12px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
}

/* Force all payment children visible */
.wc-modal-checkout-body #payment * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Style payment methods list */
.wc-modal-checkout-body #payment .wc_payment_methods {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.wc-modal-checkout-body #payment .wc_payment_method {
    display: block !important;
    background: #f9fafb !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
}

.wc-modal-checkout-body #payment .wc_payment_method label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
}

.wc-modal-checkout-body #payment .wc_payment_method input[type="radio"] {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wc-modal-checkout-body #payment .payment_box {
    display: block !important;
    margin-top: 12px !important;
    padding: 12px !important;
    background: #fff !important;
    border-radius: 6px !important;
}

/* Style place order button */
.wc-modal-checkout-body #payment .form-row.place-order {
    display: block !important;
}

.wc-modal-checkout-body #payment #place_order {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 14px 24px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

.wc-modal-checkout-body #payment #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

/* Style terms and conditions */
.wc-modal-checkout-body #payment .woocommerce-terms-and-conditions-wrapper {
    display: block !important;
    margin-bottom: 20px !important;
}

.wc-modal-checkout-body #payment .woocommerce-form__label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 14px !important;
}

.wc-modal-checkout-body #payment input[type="checkbox"] {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wc-modal-checkout-body .woocommerce-billing-fields__field-wrapper,
.wc-modal-checkout-body .woocommerce-shipping-fields__field-wrapper,
.wc-modal-checkout-body .woocommerce-additional-fields__field-wrapper {
    width: 100% !important;
    display: block !important;
    max-width: 100% !important;
}

/* Form Fields - ALL full width */
.wc-modal-checkout-body .form-row,
.wc-modal-checkout-body .form-row-first,
.wc-modal-checkout-body .form-row-last,
.wc-modal-checkout-body .form-row-wide {
    margin-bottom: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
    clear: both !important;
}

.wc-modal-checkout-body .form-row label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    font-size: 13px !important;
}

.wc-modal-checkout-body .form-row label .required {
    color: #ef4444 !important;
}

.wc-modal-checkout-body .input-text,
.wc-modal-checkout-body select,
.wc-modal-checkout-body textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
    font-family: inherit !important;
    display: block !important;
}

.wc-modal-checkout-body .input-text:focus,
.wc-modal-checkout-body select:focus,
.wc-modal-checkout-body textarea:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.wc-modal-checkout-body textarea {
    min-height: 80px !important;
    resize: vertical !important;
}

.wc-modal-checkout-body select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
}

/* Checkbox styling */
.wc-modal-checkout-body input[type="checkbox"],
.wc-modal-checkout-body input[type="radio"] {
    width: auto !important;
    margin-right: 8px !important;
}

/* Section Headings */
.wc-modal-checkout-body h3 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

/* Shipping methods */
.wc-modal-checkout-body .woocommerce-shipping-methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wc-modal-checkout-body .woocommerce-shipping-methods li {
    padding: 12px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    cursor: pointer !important;
}

.wc-modal-checkout-body .woocommerce-shipping-methods li input {
    margin-right: 8px !important;
}

/* Payment Methods */
.wc-modal-checkout-body .woocommerce-checkout-payment {
    background: #fff !important;
    margin: 0 12px 12px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
}

.wc-modal-checkout-body .wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
}

.wc-modal-checkout-body .wc_payment_method {
    margin-bottom: 8px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.wc-modal-checkout-body .wc_payment_method label {
    display: flex !important;
    align-items: center !important;
    padding: 12px !important;
    background: #fff !important;
    cursor: pointer !important;
    margin: 0 !important;
    gap: 8px !important;
}

.wc-modal-checkout-body .wc_payment_method input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
}

.wc-modal-checkout-body .wc_payment_method input[type="radio"]:checked + label {
    background: #f3f4f6 !important;
}

.wc-modal-checkout-body .payment_box {
    background: #f9fafb !important;
    padding: 12px !important;
    margin: 0 !important;
    border-top: 1px solid #e5e7eb !important;
}

/* Place Order Button */
.wc-modal-checkout-body #place_order {
    width: 100% !important;
    padding: 14px 24px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    margin-top: 16px !important;
}

.wc-modal-checkout-body #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

.wc-modal-checkout-body #place_order:active {
    transform: translateY(0) !important;
}

.wc-modal-checkout-body #place_order:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Terms & Conditions */
.wc-modal-checkout-body .woocommerce-terms-and-conditions-wrapper {
    margin: 16px 0 !important;
}

.wc-modal-checkout-body .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #6b7280 !important;
}

/* Footer Trust Badges */
.wc-trust-footer {
    background: #fff;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    color: #6b7280;
}

.wc-trust-footer-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wc-trust-footer svg {
    width: 14px;
    height: 14px;
}

.wc-trust-footer-divider {
    width: 1px;
    height: 12px;
    background: #e5e7eb;
    margin: 0 8px;
}

/* Loading State */
.wc-modal-checkout-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fff;
}

.wc-modal-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f3f4f6;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

.wc-modal-checkout-loading p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Error Messages */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 20px;
    animation: slideDown 0.3s ease;
    font-size: 14px;
}

.woocommerce-error {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.woocommerce-message {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    color: #065f46;
}

.woocommerce-info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    .wc-modal-checkout-header {
        padding: 12px 16px;
    }
    
    .wc-form-section {
        padding: 16px;
    }
    
    .wc-order-summary-section,
    .wc-coupon-section {
        padding: 16px;
    }
    
    .wc-trust-badges {
        gap: 12px;
        padding: 12px 16px;
    }
    
    .wc-modal-checkout-footer {
        padding: 12px 16px;
    }
}
