/**
 * File: css/distraction-free-checkout.css
 *
 * Description: Styles for the distraction-free checkout experience
 * Version: 1.2.14
 * Last Modified: 2025-11-13
 */

/* ===========================================
 * Table of Contents:
 * ===========================================
 * 1. General Checkout Styles
 *    - Hide Site Elements
 *    - Hide WooCommerce Store Notice
 *    - Main Container Styling
 *    - Prevent Horizontal Scrolling
 *    - Hide banner on order received page
 *    - Container Width Fixes
 *
 * 2. Header & Steps
 *    - Checkout Header Styling
 *    - Checkout Progress Steps
 *    - Step Circle Styling
 *    - Step Label Styling
 *    - Reservation Timer Styling
 *
 * 3. Layout Structure
 *    - Two Column Layout
 *    - Left Column (Customer Details)
 *    - Right Column (Order Review)
 *    - Column Stacking & Field Widths
 *
 * 4. Form Elements
 *    - Billing Fields Styling
 *    - Form Fields Styling
 *    - Input Fields
 *    - Field Labels
 *    - Required Fields
 *
 * 5. Checkout Components
 *    - Login Form Styling
 *    - Coupon Form Styling
 *    - Order Review Styling
 *    - Terms and Conditions
 *    - Payment Methods
 *    - Place Order Button
 *    - Create Account Styling
 *    - Ship to Different Address
 *
 * 6. Responsive Design
 *    - Desktop Specific Adjustments
 *    - Tablet View (768px)
 *    - Small Tablet/Large Mobile (600px)
 *    - Mobile View (480px)
 *    - Small Mobile View (380px)
 *
 * 7. Cart Return Modal
 *    - Modal Container
 *    - Modal Content Box
 *    - Modal Buttons
 *    - Modal Responsive Adjustments
 */

/**
 * ===========================================
 * 1. General Checkout Styles
 * ===========================================
 */

/**
 * Hide Site Elements
 * Elements we don't want to display on checkout
 */

body.distraction-free-checkout .site-header,
body.distraction-free-checkout .site-footer,
body.distraction-free-checkout .nav-float-right,
body.distraction-free-checkout #secondary-navigation,
body.distraction-free-checkout .woocommerce-breadcrumb,
body.distraction-free-checkout .sidebar,
body.distraction-free-checkout #site-navigation,
body.distraction-free-checkout #mobile-header,
body.distraction-free-checkout .entry-header {
    display: none !important;
}

/**
 * Hide WooCommerce Store Notice
 */

body.distraction-free-checkout .woocommerce-store-notice,
body.distraction-free-checkout p.demo_store {
    display: none !important;
}
body.distraction-free-checkout .entry-content:not(:first-child){	
    margin-top: 0 !important;
}

/**
 * Main Container Styling
 */
 
body.distraction-free-checkout {
    background-color: #f7f7f7;
    padding-top: 0;
}

body.distraction-free-checkout .site-content {
    margin-top: 0;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.distraction-free-checkout .site-main {
    margin: 0;
}

.checkout-container {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 0px; /* Reduced from 20px */
}


/**
 * Prevent Horizontal Scrolling
 */

/* First level fix - Apply to all elements including HTML and body */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100vw;
}

/* Strong force on main elements */
body.distraction-free-checkout {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
}

/**
 * Container Width Fixes
 */

body.distraction-free-checkout .checkout-container,
body.distraction-free-checkout .site-content,
body.distraction-free-checkout .site-main,
body.distraction-free-checkout .woocommerce,
body.distraction-free-checkout .woocommerce-checkout,
body.distraction-free-checkout form.checkout {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/**
 * Hide banner on order received page
 * Prevents banner from showing on the order received page
 */
 body.woocommerce-order-received .order-rcvd {
    display: none !important;
}

body.woocommerce-order-received header.entry-header {
    padding-top: 2em !important;
    padding-left: 1em;
}

.distraction-free-checkout .inside-article {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

body.distraction-free-checkout div#page {
    max-width: 100%;
}

#payment .payment_methods>.wc_payment_method>label {
    width: 100%;
}

/* ===========================================
 * 2. Header & Steps
 * =========================================== */

/**
 * Checkout Header Styling
 */

.checkout-header {
    text-align: center;
    padding: 20px 15px; /* Reduced from 30px 0 | Adjusted from 15px 0*/
    margin-bottom: 10px; /* Reduced from 20px */
    display: flex;
    align-items: center;
    background: #000000;
    justify-content: space-between;
}

.checkout-logo {
    max-width: 300px !important;
    height: auto;
}

.checkout-title {
    font-size: 28px;
    color: #ffffff; /* Changed from #333 to white for better contrast */
    margin: 0;
}

/**
 * Checkout Progress Steps
 */

.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 60px;
    position: relative;
    max-width: 100%;
    width: 92%;
    padding: 0;
}

/* Position the steps with consistent spacing */
.checkout-steps .checkout-step:nth-child(1) {
    margin-right: 33%;
}

.checkout-steps .checkout-step:nth-child(3) {
    margin-left: 33%;
}

/* Base connecting line (gray for incomplete steps) */
.checkout-steps:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0;
}

/* Active progress line (blue for completed steps) */
.checkout-steps:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background-color: #2e88c9;
    z-index: 0;
    width: 0; /* Default width, will be modified by body classes */
}

/* Width for different steps */
body.checkout-step-1 .checkout-steps:after {
    width: 0;
}

body.checkout-step-2 .checkout-steps:after {
    width: 50%;
}

body.checkout-step-3 .checkout-steps:after {
    width: 100%;
}

/* Default - when no body class is set, assume step 2 */
body .checkout-steps:after {
    width: 50%;
}

/**
 * Step Circle Styling
 */

.checkout-step {
    background-color: #f7f7f7;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-weight: bold;
    color: #555;
}

.checkout-step.active {
    border-color: #2e88c9;
    background-color: #2e88c9;
    color: white;
}

.checkout-step-label {
    position: absolute;
    text-align: center;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    min-width: 140px;
    font-weight: 500;
    color: #333;
}

/* Active step styling */
body.checkout-step-1 .checkout-step:nth-child(1),
body.checkout-step-2 .checkout-step:nth-child(2),
body.checkout-step-3 .checkout-step:nth-child(3) {
    border-color: #2e88c9;
    background-color: #2e88c9;
    color: white;
}

/* Default - step 2 is active when no body class is set */
body .checkout-step:nth-child(2) {
    border-color: #2e88c9;
    background-color: #2e88c9;
    color: white;
}

/* 
* Active step label styling 
*/
body.checkout-step-1 .checkout-step:nth-child(1) .checkout-step-label,
body.checkout-step-2 .checkout-step:nth-child(2) .checkout-step-label,
body.checkout-step-3 .checkout-step:nth-child(3) .checkout-step-label,
body .checkout-step:nth-child(2) .checkout-step-label {
    font-weight: 700;
    color: #2e88c9;
}

/**
 * Reservation Timer Styling
 */

.checkout-reservation {
    background-color: #FEFCBF;
    color: #744210;
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body.distraction-free-checkout .woocommerce-message,
body.distraction-free-checkout .woocommerce-error{
    margin-top: 2em;
}

/* Error text display changed from blue to white */
.woocommerce-error li a {
    color: #ffffff;
}

/* ===========================================
 * 3. Layout Structure
 * =========================================== */

/**
 * Two Column Layout
 */

body.distraction-free-checkout .woocommerce-checkout {
    overflow: hidden; /* Clear floats */
}

/**
 * Left Column (Customer Details)
 */

body.distraction-free-checkout .woocommerce-checkout .col2-set {
    float: left;
    width: 52%;
    margin-right: 4%;
    clear: left;
}

/**
 * Right Column (Order Review)
 */

body.distraction-free-checkout .woocommerce-checkout #order_review_heading,
body.distraction-free-checkout .woocommerce-checkout #order_review {
    float: right;
    width: 44%;
    clear: right;
}

/**
 * Column Stacking & Field Widths
 */

body.distraction-free-checkout .woocommerce-checkout .col2-set .col-1,
body.distraction-free-checkout .woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
}

/* Make sure the form fields are full width within their containers */
body.distraction-free-checkout .woocommerce form .form-row input.input-text,
body.distraction-free-checkout .woocommerce form .form-row textarea,
body.distraction-free-checkout .woocommerce form .form-row select {
    width: 100%;
    box-sizing: border-box;
}

/* ===========================================
 * 4. Form Elements
 * =========================================== */

/**
 * Billing Fields Styling
 */

body.distraction-free-checkout .woocommerce-billing-fields h3,
body.distraction-free-checkout .woocommerce-shipping-fields h3,
body.distraction-free-checkout #order_review_heading {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/**
 * Form Fields Styling
 */

body.distraction-free-checkout .woocommerce form .form-row {
    margin-bottom: 1em;
    padding: 0 !important;
    display: block;
}

body.distraction-free-checkout .woocommerce form .form-row.form-row-first,
body.distraction-free-checkout .woocommerce form .form-row.form-row-last {
    width: 48% !important;
    float: left !important;
}

body.distraction-free-checkout .woocommerce form .form-row.form-row-last {
    float: right !important;
}

body.distraction-free-checkout .woocommerce form .form-row.form-row-wide {
    width: 100% !important;
    clear: both;
}

/**
 * Input Fields
 */

body.distraction-free-checkout .woocommerce form .form-row input.input-text,
body.distraction-free-checkout .woocommerce form .form-row textarea,
body.distraction-free-checkout .woocommerce form .form-row select {
    padding: 14px;
    border-radius: 4px;
    border: 1px solid #dedee5;
    background-color: #fff;
    font-size: 15px;
    height: auto;
    line-height: 1.5;
    width: 100% !important;
    box-sizing: border-box;
}

body.distraction-free-checkout .woocommerce form .form-row input.input-text:focus,
body.distraction-free-checkout .woocommerce form .form-row textarea:focus,
body.distraction-free-checkout .woocommerce form .form-row select:focus {
    outline: none;
    border-color: #5B9BD5;
    box-shadow: 0 0 5px rgba(91, 155, 213, 0.2);
}

/**
 * Field Labels
 */
 body.distraction-free-checkout .woocommerce form .form-row label.hidden {
    display: none;
}

body.distraction-free-checkout .woocommerce form .form-row label:not(.checkbox):not([for="terms"]):not([for^="createaccount"]):not(.woocommerce-form__label-for-checkbox) {
    display: none;
}

/* Floating label styles - for Material Design like behavior */
body.distraction-free-checkout .woocommerce form .form-row .woocommerce-input-wrapper.has-float-label {
    position: relative;
    display: block;
}

/* Initial state - label is hidden */
body.distraction-free-checkout .woocommerce form .form-row .woocommerce-input-wrapper.has-float-label::before {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    background-color: transparent;
    padding: 0 5px;
    font-size: 15px;
    color: #888;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

/* When input is focused or has value, label floats to the border */
body.distraction-free-checkout .woocommerce form .form-row .woocommerce-input-wrapper.has-float-label.is-active::before,
body.distraction-free-checkout .woocommerce form .form-row .woocommerce-input-wrapper.has-float-label.has-content::before {
    top: 0;
    transform: translateY(-50%);
    font-size: 13px;
    color: #5B9BD5;
    background-color: white;
    opacity: 1;
    border-radius: 5px;
}
body.distraction-free-checkout .woocommerce form .form-row .woocommerce-input-wrapper.has-float-label.has-content.is-active::before {
   color: #5B9BD5;
}
body.distraction-free-checkout .woocommerce form .form-row .woocommerce-input-wrapper.has-float-label.has-content::before {
    color: #666;
}

/* Keep normal placeholder behavior initially and hide placeholder when field is focused */
body.distraction-free-checkout .woocommerce form .form-row .has-float-label input::placeholder,
body.distraction-free-checkout .woocommerce form .form-row .has-float-label textarea::placeholder {
    color: #888;
    transition: opacity 0.2s ease-out;
    transition-timing-function: cubic-bezier(0, 0, 0.58, 1);
}

body.distraction-free-checkout .woocommerce form .form-row .has-float-label.is-active input::placeholder,
body.distraction-free-checkout .woocommerce form .form-row .has-float-label.is-active textarea::placeholder,
body.distraction-free-checkout .woocommerce form .form-row .has-float-label.has-content input::placeholder,
body.distraction-free-checkout .woocommerce form .form-row .has-float-label.has-content textarea::placeholder {
    opacity: 0;
}

/**
 * Required Fields
 */

body.distraction-free-checkout .woocommerce form .form-row .required {
    visibility: hidden;
    position: relative;
}

body.distraction-free-checkout .woocommerce form .form-row .required::after {
    visibility: visible;
    position: absolute;
    content: "*";
    right: -12px;
    top: -5px;
}

/* ===========================================
 * 5. Checkout Components
 * =========================================== */

/**
 * Login Form Styling
 */

.woocommerce-form-login-toggle {
    margin-bottom: 20px;
}

.woocommerce-form-login-toggle .woocommerce-info {
    background-color: #5B9BD5;
    color: white;
    padding: 12px 15px;
    border-radius: 4px;
    text-align: left;
    font-size: 14px;
    border: none;
}

.woocommerce-form-login-toggle .woocommerce-info a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.woocommerce-form-login-toggle .woocommerce-info::before {
    content: none !important;
}

/**
 * Coupon Form Styling
 */

body.distraction-free-checkout .woocommerce-form-coupon-toggle {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    clear: both !important;
}

body.distraction-free-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: #f7f7f7 !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 15px !important;
    margin: 0 !important;
    color: #333 !important;
    font-size: 14px !important;
    border-radius: 4px;
}

body.distraction-free-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
    content: "\f145" !important;
    font-family: dashicons !important;
    color: #5B9BD5 !important;
    margin-right: 8px !important;
}

body.distraction-free-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #5B9BD5 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

body.distraction-free-checkout .woocommerce-form-coupon-toggle .woocommerce-info a:hover {
    color: #2471a3 !important;
    text-decoration: none !important;
}

body.distraction-free-checkout .checkout_coupon {
    margin: 15px 0 30px;
    background: transparent !important;
    /* border: 1px solid #dedee5; */
    padding: 20px;
    border-radius: 4px;
    width: 100%;
    clear: both;
}

/**
 * Order Review Styling
 */

body.distraction-free-checkout .woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 20px;
}

/**
 * Terms and Conditions - Aggressive Fix
 * Forcefully prevents asterisk from wrapping
 * Version: 1.2.7
 * Last Modified: 2025-05-10
 */

/**
 * Terms and Conditions
 */

/* Trade-in Contact Checkbox Styling */
body.distraction-free-checkout .tradein-contact-checkbox-container {
    margin: 0 0 15px;
}

body.distraction-free-checkout .tradein-contact-checkbox-container label {
    display: flex;
    align-items: flex-start;
}

body.distraction-free-checkout .tradein-contact-checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}
.tradein-contact-checkbox-container.form-row {
    margin-bottom: 0 !important;
    margin-top: 15px !important;
}

.woocommerce-terms-and-conditions-wrapper {
    padding: 15px 0; /* Padding for top and bottom */
}

/**
 * Remove Borders and Background for Place Order Section
 */
.woocommerce-checkout .form-row.place-order {
    background: none !important; /* Remove background */
    border: none !important; /* Remove borders */
    padding: 0; /* Remove extra padding */
}

/**
 * Styling for hook-custom-checkout-layout.php
 */

 /* Style for the custom payment method titles */
 .custom-payment-title {
     font-size: 18px;
     font-weight: 500;
     margin-bottom: 10px;
 }

 /* Style for the horizontal line divider between payment groups */
 .payment-divider {
     margin: 20px 0;
     border: 0;
     height: 1px;
     background-color: #ddd;
 }

 /**
  * Remove the privacy policy text shown on your WooCommerce checkout page
  */
  div.woocommerce-privacy-policy-text {
     display: none !important;
  }

/**
 * Payment Methods
 */

body.distraction-free-checkout .wc_payment_methods li.wc_payment_method {
    margin-bottom: 0 !important;
    padding: 4px 8px !important;
    line-height: 1.2 !important;
}

body.distraction-free-checkout .wc_payment_methods li.wc_payment_method label {
    padding: 3px 8px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}

body.distraction-free-checkout .wc_payment_methods li.wc_payment_method label img {
    max-height: 20px !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
}

body.distraction-free-checkout .wc_payment_methods.payment_methods.methods {
    padding: 10px !important;
    line-height: 1 !important;
}

body.distraction-free-checkout #payment h3 {
    margin-bottom: 8px !important;
    margin-top: 15px !important;
}

/**
 * Place Order Button
 */

body.distraction-free-checkout #place_order {
    width: 100%;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
}

/**
 * Create Account Styling
 */

body.distraction-free-checkout .woocommerce-account-fields {
    margin-top: 20px;
    margin-bottom: 20px;
}

body.distraction-free-checkout .woocommerce-account-fields label {
    display: inline-block !important;
    cursor: pointer;
    margin-left: 8px;
}

body.distraction-free-checkout .woocommerce-account-fields input[type="checkbox"] {
    width: auto !important;
    margin-right: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

/**
 * Ship to Different Address
 */

body.distraction-free-checkout .woocommerce-shipping-fields {
    margin-top: 20px;
}

body.distraction-free-checkout .woocommerce-shipping-fields h3 label {
    display: inline-block !important;
    cursor: pointer;
    margin-left: 8px;
    font-weight: normal !important;
    font-size: 16px !important;
}

body.distraction-free-checkout .woocommerce-shipping-fields h3 input[type="checkbox"] {
    width: auto !important;
    margin-right: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

body.distraction-free-checkout .shipping_address {
    margin-top: 20px;
}

/* ===========================================
 * 6. Responsive Design
 * =========================================== */

/**
 * Desktop Specific Adjustments
 */

@media (min-width: 1025px) {
    .checkout-steps {
        margin: 60px auto 90px !important; /* Increased from 30px auto 60px */
    }

    /* Position the steps with consistent spacing */
    .checkout-steps .checkout-step:nth-child(1) {
        margin-right: 33%;
    }

    .checkout-steps .checkout-step:nth-child(3) {
        margin-left: 33%;
    }

    /* Keep lines full width */
    .checkout-steps:before {
        left: 0;
        right: 0;
    }

    .checkout-steps:after {
        left: 0;
    }
}

/**
 * Tablet View (768px)
 */

@media (max-width: 768px) {
    /* Layout adjustments */
    body.distraction-free-checkout .woocommerce-checkout > form.checkout {
        display: block !important;
    }

    body.distraction-free-checkout .woocommerce-checkout .col2-set,
    body.distraction-free-checkout .woocommerce-checkout #order_review_heading,
    body.distraction-free-checkout .woocommerce-checkout #order_review {
        width: 100% !important;
        float: none !important;
        flex: none !important;
        margin-right: 0;
    }

    /* Step indicators */
    .checkout-steps {
        margin: 20px auto 40px;
        width: 92%;
    }

    /* Position the steps with consistent spacing */
    .checkout-steps .checkout-step:nth-child(1) {
        margin-right: 30%;
    }

    .checkout-steps .checkout-step:nth-child(3) {
        margin-left: 30%;
    }

    /* Keep lines full width */
    .checkout-steps:before {
        left: 0;
        right: 0;
    }

    .checkout-steps:after {
        left: 0;
    }

    .checkout-step {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .checkout-step-label {
        font-size: 12px;
        top: 38px;
        min-width: auto;
    }

    /* Header adjustments */
    .checkout-header {
        flex-direction: column;
    }

    .checkout-logo {
        margin-bottom: 15px;
    }

    /* Form field adjustments */
    body.distraction-free-checkout .woocommerce form .form-row.form-row-first,
    body.distraction-free-checkout .woocommerce form .form-row.form-row-last {
        width: 100% !important;
        float: none !important;
    }
}

/**
 * Small Tablet/Large Mobile (600px)
 */

@media (max-width: 600px) {
    .checkout-steps {
        margin: 15px auto 45px;
    }

    /* Position the steps with consistent spacing */
    .checkout-steps .checkout-step:nth-child(1) {
        margin-right: 25%;
    }

    .checkout-steps .checkout-step:nth-child(3) {
        margin-left: 25%;
    }

    /* Keep lines full width */
    .checkout-steps:before {
        left: 0;
        right: 0;
    }

    .checkout-steps:after {
        left: 0;
    }

    .checkout-step {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .checkout-step-label {
        font-size: 10px;
        font-weight: 500;
        white-space: nowrap;
    }
	
	body.distraction-free-checkout .woocommerce .form-row.place-order {
    padding: 0 5px !important;
	}
}

/**
 * Mobile View (480px)
 */

@media (max-width: 480px) {
    /* Step indicators */
    .checkout-steps {
        margin: 15px auto 30px;
        width: 95%;
    }

    /* Position the steps with consistent spacing */
    .checkout-steps .checkout-step:nth-child(1) {
        margin-right: 20%;
    }

    .checkout-steps .checkout-step:nth-child(3) {
        margin-left: 20%;
    }

    /* Keep lines full width on mobile */
    .checkout-steps:before {
        left: 0;
        right: 0;
        height: 2px; /* Maintain 2px line on mobile */
    }

    .checkout-steps:after {
        left: 0;
    }

    .checkout-step {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    /* Hide step labels on mobile screens to prevent overlap */
    .checkout-step-label {
        display: none;
    }


}

/**
 * Small Mobile View (380px)
 */

@media (max-width: 380px) {
    .checkout-steps {
        margin: 10px auto 30px;
    }

    /* Position the steps with consistent spacing */
    .checkout-steps .checkout-step:nth-child(1) {
        margin-right: 15%;
    }

    .checkout-steps .checkout-step:nth-child(3) {
        margin-left: 15%;
    }

    /* Keep lines full width on small mobile */
    .checkout-steps:before {
        left: 0;
        right: 0;
    }

    .checkout-steps:after {
        left: 0;
    }

    .checkout-step {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    /* Labels already hidden from previous breakpoint */
}

/* ===========================================
 * 7. Cart Return Modal
 * =========================================== */

/**
 * Modal Container
 */

.cart-return-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/**
 * Modal Content Box
 */

.cart-return-modal .modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.cart-return-modal p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #333;
    white-space: nowrap;
}

/**
 * Modal Buttons
 */

.cart-return-modal .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cart-return-modal .button {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
  min-width: 140px;
}

.cart-return-modal .button.alt {
    background-color: #2e88c9;
    color: #fff;
}

.cart-return-modal .button.alt:hover {
    background-color: #2471a3;
}

.cart-return-modal .button:not(.alt) {
    background-color: #f7f7f7;
    color: #333;
    border: 1px solid #dedee5;
}

.cart-return-modal .button:not(.alt):hover {
    background-color: #e9e9e9;
}

/**
 * Modal Responsive Adjustments
 */

@media (max-width: 550px) {
    .cart-return-modal p {
        white-space: normal;
    }

    .cart-return-modal .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cart-return-modal .button {
        width: 100%;
    }
}
