.websync-checkout-wrapper .woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
    display:none!important;
}

/* Two Column Checkout Layout */
.websync-checkout-wrapper.websync-checkout-two-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Coupon/Notice - Full width at top */
.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-form-coupon-toggle {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

/* Left Column - Forms (Customer Details) */
.websync-checkout-wrapper.websync-checkout-two-columns #customer_details {
    grid-column: 1;
    background: #ffffff;
    border-radius: 3px;
    padding: 30px;
    margin: 0 0 24px 0;
    border-style: solid;
    border-color: #D5D8DC;
    border-width: 1px;
    display: block;
}

/* Right Column - Order Review Container */
.websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-self: start;
    background: #ffffff;
    border-radius: 3px;
    padding: 30px;
    margin: 0 0 24px 0;
    border-style: solid;
    border-color: #D5D8DC;
    border-width: 1px;

}

.wbsych-sticky-right-yes .websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container {
    position: sticky;
    top: 20px;
}

/* Order Review Heading */

.websync-checkout-wrapper h3#order_review_heading,
.websync-checkout-wrapper h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

#ship-to-different-address span {
    font-size: 19px;
    margin-left: 10px;
}

/* Order Review Content */
.websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container #order_review {
    background: #fff;
    padding: 0;
    border-radius: 0 0 8px 8px;
    flex-grow: 1;
    overflow-y: auto;
    margin: 0;
}

/* Fix the main form layout */
.websync-checkout-wrapper.websync-checkout-two-columns form.checkout {
    display: contents;
}

.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce {
    display: contents;
}

/* Ensure proper column structure */
.websync-checkout-wrapper.websync-checkout-two-columns .col2-set {
    display: block !important;
}

.websync-checkout-wrapper.websync-checkout-two-columns #customer_details .col-1,
.websync-checkout-wrapper.websync-checkout-two-columns #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 30px;
}

/* Style form elements */
.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-billing-fields,
.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-shipping-fields,
.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-additional-fields {
    margin-bottom: 30px;
}

/* Style the order table */
.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: collapse;
}

.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-checkout-review-order-table th,
.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-checkout-review-order-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-checkout-review-order-table th {
    font-weight: 600;
    background: #f9f9f9;
}

.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-checkout-review-order-table tfoot th {
    background: transparent;
}

/* Payment section styling */
.websync-checkout-wrapper.websync-checkout-two-columns #payment {
    background: transparent;
    border-radius: 0;
}

.websync-checkout-wrapper.websync-checkout-two-columns #payment .payment_methods {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.websync-checkout-wrapper.websync-checkout-two-columns #payment .place-order {
    padding: 20px 0 0;
    margin-top: 20px;
}

/* Form field styling */
.websync-checkout-wrapper.websync-checkout-two-columns .form-row {
    margin-bottom: 10px;
}

.websync-checkout-wrapper.websync-checkout-two-columns .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    line-height: 1.2;
}

.websync-checkout-wrapper .woocommerce ul#shipping_method li {
    margin: 0 0 .5em;
    line-height: 1.5em;
    list-style: none outside;
    display: flex;
    align-items: center;
    gap: 0px;
}

.websync-checkout-wrapper .woocommerce .form-row input[type='text'],
.websync-checkout-wrapper .woocommerce .form-row input[type='email'],
.websync-checkout-wrapper .woocommerce .form-row input[type='number'],
.websync-checkout-wrapper .woocommerce .form-row input[type='tel'],
.websync-checkout-wrapper .woocommerce .form-row select,
.websync-checkout-wrapper .woocommerce .form-row textarea {
    width: 100%;
    padding: .5em;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    height: 40px;
}

.websync-checkout-wrapper .woocommerce .select2-container .select2-dropdown,
.websync-checkout-wrapper .woocommerce .select2-container .select2-selection {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}


.websync-checkout-wrapper .woocommerce .form-row textarea#order_comments {
    height: 80px;
    border: 1px solid #ddd;
}

.websync-checkout-wrapper .woocommerce .form-row input:focus,
.websync-checkout-wrapper .woocommerce .form-row select:focus,
.websync-checkout-wrapper .woocommerce .form-row textarea:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 1px #007cba;
}

/* Coupon form styling */
.websync-checkout-wrapper .woocommerce-form-coupon {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
    margin-top: 10px;
}

.websync-checkout-wrapper.websync-checkout-two-columns .woocommerce-form-coupon .form-row {
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .websync-checkout-wrapper.websync-checkout-two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .websync-checkout-wrapper.websync-checkout-two-columns #customer_details {
        grid-column: 1;
        padding: 20px;
    }

    .websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container {
        grid-column: 1;
        position: static;
        max-height: none;
    }

    .websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container #order_review {
        overflow-y: visible;
    }
}

/* Fix for form row layouts */
.websync-checkout-wrapper.websync-checkout-two-columns .form-row-first,
.websync-checkout-wrapper.websync-checkout-two-columns .form-row-last {
    width: 48%;
    float: left;
}

.websync-checkout-wrapper.websync-checkout-two-columns .form-row-first {
    margin-right: 4%;
}

.websync-checkout-wrapper.websync-checkout-two-columns .form-row-wide {
    width: 100%;
    clear: both;
}

/* Clear floats */
.websync-checkout-wrapper.websync-checkout-two-columns .clear {
    clear: both;
}

/* Scrollbar styling for order review */
.websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container #order_review::-webkit-scrollbar {
    width: 6px;
}

.websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container #order_review::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container #order_review::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.websync-checkout-wrapper.websync-checkout-two-columns .websync-checkout-order-review-container #order_review::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* One Column Layout */
.websync-checkout-wrapper.websync-checkout-one-column {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Ensure proper stacking in 1-column layout */
.websync-checkout-wrapper.websync-checkout-one-column #customer_details .col2-set {
    display: block !important;
}

.websync-checkout-wrapper.websync-checkout-one-column #customer_details .col-1,
.websync-checkout-wrapper.websync-checkout-one-column #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 30px;
}

/* Style the form sections in 1-column */
.websync-checkout-wrapper.websync-checkout-one-column #customer_details {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.websync-checkout-wrapper.websync-checkout-one-column .websync-checkout-order-review-container {
    background: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Order Review Heading in 1-column */
.websync-checkout-wrapper.websync-checkout-one-column .websync-checkout-order-review-container #order_review_heading {
    padding: 25px 30px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #007cba;
}

/* Order Review Content in 1-column */
.websync-checkout-wrapper.websync-checkout-one-column .websync-checkout-order-review-container #order_review {
    padding: 30px;
    border-radius: 0 0 8px 8px;
    margin: 0;
}

/* Coupon in 1-column */
.websync-checkout-wrapper.websync-checkout-one-column .woocommerce-form-coupon-toggle {
    margin-bottom: 20px;
}


/* Empty Cart Message Styles */
.websync-checkout-wrapper.websync-empty-cart-message {
    padding: 40px 20px;
    text-align: center;
}

.websync-empty-cart-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.websync-empty-cart-icon {
    margin-bottom: 25px;
    color: #6c757d;
}

.websync-empty-cart-icon svg {
    stroke: #adb5bd;
}

.websync-empty-cart-container h3 {
    color: #343a40;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.websync-empty-cart-container p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.websync-empty-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.websync-empty-cart-actions .button {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 160px;
}

.websync-button-primary {
    background-color: #2271b1;
    color: white !important;
}

.websync-button-primary:hover {
    background-color: #135e96;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2);
}

.websync-button-secondary {
    background-color: #f8f9fa;
    color: #495057 !important;
    border: 1px solid #dee2e6 !important;
}

.websync-button-secondary:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.websync-empty-cart-notice {
    padding-top: 20px;
    border-top: 1px dashed #dee2e6;
    margin-top: 20px;
}

.websync-empty-cart-notice p {
    color: #868e96;
    font-size: 14px;
    margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .websync-empty-cart-container {
        padding: 30px 20px;
    }

    .websync-empty-cart-actions {
        flex-direction: column;
        align-items: center;
    }

    .websync-empty-cart-actions .button {
        width: 100%;
        max-width: 250px;
    }
}

/* Make sure the layout classes still work */
.websync-checkout-two-columns.websync-empty-cart-message {
    grid-template-columns: 1fr;
}

.websync-checkout-one-column.websync-empty-cart-message {
    display: block;
}

/* Controls styles */
.elementor-widget-websync_checkout .woocommerce .woocommerce-additional-fields {
    display: var(--additional-information-display, none);
}