.checkout-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 40px;
}

.checkout-main {
    flex: 1;
}

.checkout-sidebar {
    width: 350px;
    flex-shrink: 0;
    order: 2;
    display: none;
}

.form-row-first, .form-row-last{
    width: 100% !important;
}

@media (max-width: 992px) {
    .checkout-content-wrapper {
        flex-direction: column;
    }
    
    .checkout-main {
        order: 2;
    }
    
    .checkout-sidebar {
        width: 100%;
        order: 1;
    }
}

.checkout-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #FAFAFC;
    border-radius: 12px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.progress-step.clickable {
    cursor: pointer;
}

.progress-step.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #E6E9EF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-number {
    font-size: 18px;
    font-weight: 600;
    color: #707070;
    font-family: 'Roboto-Bold', sans-serif;
}

.step-check {
    display: none;
    font-size: 20px;
    color: #fff;
}

.progress-step.active .step-circle {
    background: #142258;
    box-shadow: 0 4px 15px rgba(20, 34, 88, 0.3);
    transform: scale(1.1);
}

.progress-step.active .step-number {
    color: #fff;
}

.progress-step.completed .step-circle {
    background: #142258;
}

.progress-step.completed .step-number {
    display: none;
}

.progress-step.completed .step-check {
    display: block;
}

.step-label {
    margin-top: 12px;
    font-size: 14px;
    color: #707070;
    text-transform: uppercase;
    font-family: 'Roboto-Regular', sans-serif;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.progress-step.active .step-label {
    color: #142258;
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: #142258;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #E6E9EF;
    margin: 0 15px 30px;
    transition: all 0.3s ease;
    max-width: 100px;
}

.progress-line.active {
    background: #142258;
}

@media (max-width: 600px) {
    .checkout-progress-bar {
        padding: 20px 10px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
    }
    
    .step-number {
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
        text-align: center;
    }
    
    .progress-line {
        max-width: 40px;
        margin: 0 8px;
        margin-bottom: 25px;
    }
}

.checkout-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.checkout-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.checkout-step.slide-out-left {
    transform: translateX(-20px);
    opacity: 0;
}

.checkout-step.slide-out-right {
    transform: translateX(20px);
    opacity: 0;
}

.step-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.step-title {
    font-family: 'Mate-Regular', sans-serif;
    font-size: 28px;
    color: #1A2967;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E6E9EF;
}

.login-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .login-options {
        grid-template-columns: 1fr;
    }
}

.guest-option,
.login-form-wrapper {
    padding: 30px;
    background: #FAFAFC;
    border-radius: 10px;
}

.guest-option h3,
.login-form-wrapper h3 {
    font-family: 'Roboto-Bold', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    color: #161615;
}

.guest-option p {
    color: #707070;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-guest-continue {
    width: 100%;
    background: #142258 !important;
    color: #fff !important;
    padding: 16px 30px !important;
    font-size: 16px !important;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-guest-continue:hover {
    background: #1a2d6e !important;
    transform: translateY(-2px);
}

.login-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.login-divider span {
    background: #fff;
    padding: 10px 20px;
    color: #707070;
    text-transform: uppercase;
    font-size: 14px;
}

@media (max-width: 768px) {
    .login-divider {
        width: 100%;
    }
    
    .login-divider::before,
    .login-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #E6E9EF;
    }
    
    .login-divider::before {
        margin-right: 15px;
    }
    
    .login-divider::after {
        margin-left: 15px;
    }
}

.login-form-wrapper .form-row {
    margin-bottom: 20px;
}

.login-form-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #161615;
}

.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E6E9EF;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form-wrapper input:focus {
    border-color: #142258;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 34, 88, 0.1);
}

.login-form-wrapper .woocommerce-form-login__submit {
    width: 100%;
    background: #142258 !important;
    color: #fff !important;
    padding: 16px !important;
    font-size: 16px !important;
    text-transform: uppercase;
}

.lost_password {
    text-align: center;
    margin-top: 15px;
}

.lost_password a {
    color: #142258;
    text-decoration: underline;
}

.woocommerce-shipping-fields__field-wrapper,
.woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper #shipping_country_field,
.woocommerce-billing-fields__field-wrapper #billing_country_field,
.woocommerce-shipping-fields__field-wrapper #shipping_address_1_field,
.woocommerce-billing-fields__field-wrapper #billing_address_1_field {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-billing-fields__field-wrapper {
        display: block;
    }
    
    .woocommerce-shipping-fields__field-wrapper .form-row-wide,
    .woocommerce-billing-fields__field-wrapper .form-row-wide,
    .woocommerce-shipping-fields__field-wrapper #shipping_country_field,
    .woocommerce-billing-fields__field-wrapper #billing_country_field {
        grid-column: span 1;
    }
}

.woocommerce-shipping-fields .form-row label,
.woocommerce-billing-fields .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #161615;
    font-size: 14px;
}

.woocommerce-shipping-fields .form-row input,
.woocommerce-shipping-fields .form-row select,
.woocommerce-billing-fields .form-row input,
.woocommerce-billing-fields .form-row select {
    width: 100%;
    border: 1px solid #E6E9EF;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.woocommerce-shipping-fields .form-row input:focus,
.woocommerce-shipping-fields .form-row select:focus,
.woocommerce-billing-fields .form-row input:focus,
.woocommerce-billing-fields .form-row select:focus {
    border-color: #142258;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 34, 88, 0.1);
}

.form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid select {
    border-color: #e74c3c !important;
}

.form-row.woocommerce-validated input,
.form-row.woocommerce-validated select {
    border-color: #27ae60;
}

.billing-same-as-shipping {
    margin: 30px 0;
    padding: 20px;
    background: #FAFAFC;
    border-radius: 8px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
}

.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 2px solid #E6E9EF;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-wrapper:hover .checkmark {
    border-color: #142258;
}

.checkbox-wrapper input:checked ~ .checkmark {
    background-color: #142258;
    border-color: #142258;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper input:checked ~ .checkmark:after {
    display: block;
}

.label-text {
    font-size: 15px;
    color: #161615;
}

.billing-fields-wrapper {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E6E9EF;
    animation: slideDown 0.3s ease;
}

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

.billing-fields-wrapper h3 {
    font-family: 'Mate-Regular', sans-serif;
    font-size: 22px;
    color: #1A2967;
    margin-bottom: 25px;
}

.shipping-methods-wrapper {
    padding: 10px 0;
}

.shipping-methods-wrapper table {
    width: 100%;
    border: none;
}

.shipping-methods-wrapper table th,
.shipping-methods-wrapper table td {
    padding: 0;
    border: none;
}

.shipping-methods-wrapper .woocommerce-shipping-methods,
.shipping-methods-wrapper #shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.shipping-methods-wrapper .woocommerce-shipping-methods li,
.shipping-methods-wrapper #shipping_method li {
    padding: 20px !important;
    margin-bottom: 15px !important;
    background: #FAFAFC !important;
    border: 2px solid transparent !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.shipping-methods-wrapper .woocommerce-shipping-methods li label,
.shipping-methods-wrapper #shipping_method li label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    cursor: pointer !important;
    font-size: 15px !important;
    margin: 0 !important;
    gap: 15px !important;
}

.shipping-methods-wrapper label > span:first-child,
.shipping-methods-wrapper label .shipping-method-name {
    flex: 1;
    color: #161615;
}

.shipping-methods-wrapper .woocommerce-Price-amount {
    font-weight: 600 !important;
    color: #142258 !important;
    white-space: nowrap !important;
}

.shipping-methods-wrapper label {
    word-break: break-word;
}

.shipping-methods-wrapper table.woocommerce-shipping-totals {
    width: 100%;
    border: none !important;
}

.shipping-methods-wrapper table.woocommerce-shipping-totals th,
.shipping-methods-wrapper table.woocommerce-shipping-totals td {
    padding: 0 !important;
    border: none !important;
    vertical-align: top;
}

.shipping-methods-wrapper table.woocommerce-shipping-totals th {
    display: none;
}

.shipping-methods-wrapper table.woocommerce-shipping-totals td[data-title] {
    width: 100%;
}

.shipping-methods-wrapper .woocommerce-shipping-destination {
    display: block !important;
    margin-top: 20px;
    padding: 15px 20px;
    background: #142258;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
}

.shipping-methods-wrapper .woocommerce-shipping-destination strong {
    color: #fff;
}

.shipping-methods-wrapper .woocommerce-shipping-methods li:hover,
.shipping-methods-wrapper #shipping_method li:hover {
    border-color: #E6E9EF !important;
}

.shipping-methods-wrapper .woocommerce-shipping-methods li:has(input:checked),
.shipping-methods-wrapper #shipping_method li:has(input:checked) {
    border-color: #142258 !important;
    background: #f0f2f8 !important;
}

.shipping-methods-wrapper input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 15px !important;
    accent-color: #142258;
    flex-shrink: 0;
}

.woocommerce-shipping-calculator {
    display: none !important;
}

#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}

.wc_payment_methods .wc_payment_method {
    padding: 20px !important;
    margin-bottom: 15px !important;
    background: #FAFAFC !important;
    border: 2px solid transparent !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

.wc_payment_methods .wc_payment_method:has(input:checked) {
    border-color: #142258 !important;
    background: #f0f2f8 !important;
}

.wc_payment_methods .wc_payment_method > label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.wc_payment_methods input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 15px !important;
    accent-color: #142258 !important;
}

.payment_box {
    margin-top: 15px !important;
    padding: 15px !important;
    background: #fff !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #707070 !important;
}

.payment_box::before {
    display: none !important;
}

#place_order {
    width: 100%;
    background: #142258 !important;
    color: #fff !important;
    padding: 18px 30px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}

#place_order:hover {
    background: #1a2d6e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(20, 34, 88, 0.3) !important;
}

.woocommerce-terms-and-conditions-wrapper {
    margin: 20px 0;
}

.woocommerce-privacy-policy-text {
    font-size: 13px;
    color: #707070;
    line-height: 1.6;
}

.form-row.place-order {
    padding: 0 !important;
    margin: 0 !important;
}

.checkout-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E6E9EF;
    gap: 20px;
}

.btn-prev,
.btn-next {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto-Regular', sans-serif;
}

.btn-prev {
    background: #E6E9EF;
    color: #142258;
}

.btn-prev:hover {
    background: #d9dee6;
}

.btn-next {
    background: #142258;
    color: #fff;
    margin-left: auto;
}

.btn-next:hover {
    background: #1a2d6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(20, 34, 88, 0.3);
}

.btn-next:disabled,
.btn-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-prev.hidden,
.btn-next.hidden {
    display: none !important;
}

.ct-woocommerce-checkout{
    grid-template-columns: unset !important;
}

@media (max-width: 480px) {
    .checkout-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-prev,
    .btn-next {
        width: 100%;
        justify-content: center;
    }
    
    .btn-next {
        margin-left: 0;
    }
}

.order-summary-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    position: sticky;
    top: 120px;
}

.summary-title {
    font-family: 'Mate-Regular', sans-serif;
    font-size: 22px;
    color: #1A2967;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E6E9EF;
}

.summary-products {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.summary-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.product-thumbnail {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.product-details {
    flex: 1;
    min-width: 0;
}

.product-name {
    display: block;
    font-size: 14px;
    color: #161615;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: #142258;
}

.summary-totals {
    padding-top: 15px;
    border-top: 1px solid #E6E9EF;
}

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

.summary-row .label {
    color: #707070;
}

.summary-row .value {
    font-weight: 500;
    color: #161615;
}

.summary-row.total {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #E6E9EF;
    font-size: 18px;
}

.summary-row.total .label {
    color: #161615;
    font-weight: 600;
}

.summary-row.total .value {
    color: #142258;
    font-weight: 700;
    font-size: 20px;
}

.coupon-message {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-message.woocommerce-error,
.coupon-message:has(.woocommerce-error) {
    background: #ffe6e6;
    color: #c00;
    border: 1px solid #c00;
}

.coupon-message.woocommerce-message,
.coupon-message:has(.woocommerce-message) {
    background: #e6ffe6;
    color: #080;
    border: 1px solid #080;
}

.coupon-form-wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E6E9EF;
}

.coupon-toggle {
    cursor: pointer;
    color: #142258;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.coupon-toggle:hover {
    text-decoration: underline;
}

.coupon-toggle::after {
    content: '+';
    font-size: 18px;
}

.coupon-form-wrapper.open .coupon-toggle::after {
    content: '−';
}

.coupon-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.coupon-form input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #E6E9EF;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-form input:focus {
    border-color: #142258;
    outline: none;
}

.apply-coupon-btn {
    padding: 12px 20px !important;
    background: #142258 !important;
    color: #fff !important;
    border: none !important;
    font-size: 14px !important;
    min-height: auto !important;
    max-height: 45px !important;
}

.coupon-message-wrapper{
    margin-top: 15px;
}

@media (max-width: 992px) {
    .order-summary-box {
        position: static;
    }
    
    .summary-products {
        max-height: 200px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-step.active .step-content {
    animation: fadeInUp 0.4s ease;
}

.checkout-step.loading {
    position: relative;
    pointer-events: none;
}

.checkout-step.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}


.woocommerce-checkout .blockUI.blockOverlay {
    background: rgba(255, 255, 255, 0.8) !important;
}

.woocommerce-checkout .woocommerce-NoticeGroup {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid #E6E9EF;
    border-radius: 6px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding-left: 16px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

.woocommerce-form-coupon-toggle,
.woocommerce-form-login-toggle {
    display: none !important;
}

.checkout-final-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .checkout-final-step {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.order-summary-column,
.payment-column {
    background: #FAFAFC;
    padding: 10px;
    border-radius: 10px;
}

.payment-column #payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.payment-column .wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.payment-column .wc_payment_method {
    padding: 15px !important;
    margin-bottom: 10px !important;
    background: #fff !important;
    border: 2px solid #E6E9EF !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.payment-column .wc_payment_method:has(input:checked) {
    border-color: #142258 !important;
    background: #f0f2f8 !important;
}

.payment-column .payment_box {
    margin-top: 12px !important;
    padding: 12px !important;
    background: #fff !important;
    border-radius: 6px !important;
    border: 1px solid #E6E9EF !important;
    font-size: 13px !important;
    color: #707070 !important;
}

.payment-column .payment_box::before {
    display: none !important;
}

.payment-column #place_order {
    width: 100%;
    background: #142258 !important;
    color: #fff !important;
    padding: 16px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
}

.payment-column #place_order:hover {
    background: #1a2d6e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(20, 34, 88, 0.3) !important;
}

.payment-column .woocommerce-terms-and-conditions-wrapper {
    margin: 15px 0;
    font-size: 13px;
}

.payment-column .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: #707070;
    line-height: 1.5;
}

.section-subtitle {
    font-family: 'Roboto-Bold', sans-serif;
    font-size: 18px;
    color: #1A2967;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E6E9EF;
}

.coupon-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E6E9EF;
}

.coupon-section label {
    display: block;
    font-size: 14px;
    color: #707070;
    margin-bottom: 10px;
}

.coupon-input-wrapper {
    display: flex;
    gap: 10px;
}

.coupon-input-wrapper input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #E6E9EF;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-input-wrapper input:focus {
    border-color: #142258;
    outline: none;
}

.coupon-input-wrapper button {
    padding: 12px 20px;
    background: #142258 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-input-wrapper button:hover {
    background: #1a2d6e !important;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table {
    display: table !important;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table thead {
    display: none;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody tr:not(:last-child){
    border-bottom: 1px solid #E6E9EF;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td {
    padding: 0;
    border: none;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td.product-name {
    font-size: 14px;
    color: #161615;
    flex: 1;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td.product-total {
    font-weight: 600;
    color: #142258;
    font-size: 14px;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #E6E9EF;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal {
    border-top: 1px solid #E6E9EF;
    margin-top: 10px;
    padding-top: 15px;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.order-total {
    border-top: 2px solid #142258;
    margin-top: 10px;
    padding-top: 15px;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot th {
    font-weight: 500;
    color: #707070;
    font-size: 14px;
    text-align: left;
    padding: 0;
    border: none;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot td {
    font-weight: 600;
    color: #142258;
    font-size: 14px;
    text-align: right;
    padding: 0;
    border: none;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-size: 18px;
    font-weight: 700;
    color: #142258;
}

.checkout-step:not([data-step="4"]) .woocommerce-checkout-review-order-table {
    display: none !important;
}

.checkout-step:not([data-step="4"]) #order_review .cart-subtotal,
.checkout-step:not([data-step="4"]) #order_review .order-total,
.checkout-step:not([data-step="4"]) #order_review .woocommerce-shipping-totals {
    display: none !important;
}

.woocommerce-notices-wrapper {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
}

.woocommerce-notices-wrapper .woocommerce-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background: #FAFAFC;
    border-radius: 12px;
    border-left: none;
    font-size: 18px;
    color: #161615;
}

.woocommerce-notices-wrapper .woocommerce-info::before {
    display: none;
}

.woocommerce-notices-wrapper .button {
    background: #142258 !important;
    color: #fff !important;
    padding: 16px 40px !important;
    font-size: 16px !important;
    text-transform: uppercase;
    border-radius: 8px;
}

.woocommerce-notices-wrapper .button:hover {
    background: #1a2d6e !important;
}

.ct-checkbox, .comment-form input[type=checkbox], #ship-to-different-address-checkbox, .woocommerce-form__input[type=checkbox], .woocommerce-form__label-for-checkbox input[type=checkbox], .woocommerce-input-wrapper input[type=checkbox], #payment .payment_box input[type=checkbox], .forminator-ui[data-design=none] .forminator-checkbox input[type=checkbox], .wpforms-container:not(.wpforms-container-full) input[type=checkbox], .ff-inherit-theme-style input[type=checkbox], .wc_payment_method>input[type=radio], .woocommerce-shipping-methods input[type=radio], .payment_box input[type=radio], .mp-ticket-payments input[type=radio], .forminator-ui[data-design=none] .forminator-radio input[type=radio], .wpforms-container:not(.wpforms-container-full) input[type=radio], .ff-inherit-theme-style input[type=radio]{
    border-color: #142258 !important;
    top: 0 !important;
    vertical-align: middle !important;
}

#payment ul.payment_methods>li.wc_payment_method>label:before{
    border-color: #142258 !important;
}

.checkout-validation-message {
    background: #fff2f2 !important;
    border: 1px solid #e74c3c !important;
    border-left: 4px solid #e74c3c !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 6px !important;
}

.checkout-validation-message ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.checkout-validation-message li {
    color: #c00 !important;
    font-size: 14px !important;
    margin-bottom: 5px !important;
}

.checkout-validation-message li:last-child {
    margin-bottom: 0 !important;
}

.form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid select,
.form-row.woocommerce-invalid-required-field input,
.form-row.woocommerce-invalid-required-field select {
    border-color: #e74c3c !important;
    background-color: #fff9f9 !important;
}

.woocommerce-info:before, .woocommerce-error:before, .woocommerce-message:before, .woocommerce-thankyou-order-received:before{
    display: none;
}

.ct-order-review, .sticky-summary .entry-summary, .sticky-gallery .woocommerce-product-gallery{
    position: static !important;
}

.shipping-address-row th {
    font-weight: 600 !important;
    color: #1A2967 !important;
    font-size: 14px !important;
}

.shipping-address-row td {
    color: #161615 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.shipping-address-row td br {
    display: block;
    margin-bottom: 2px;
}

#shipping-method-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    transition: opacity 0.3s ease;
}

#shipping-method-wrapper.loading {
    position: relative;
    min-height: 100px;
}

.shipping-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: #666;
    font-size: 14px;
}

.loader-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e5e5e5;
    border-top-color: #142258;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

#shipping-method-wrapper .retry-shipping {
    color: #142258;
    text-decoration: underline;
    cursor: pointer;
}

#shipping-method-wrapper .retry-shipping:hover {
    color: #1a2d6e;
}

#shipping-method-wrapper .error {
    color: #c00;
    text-align: center;
    padding: 20px;
}

.woocommerce-shipping-destination {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.woocommerce-shipping-destination strong {
    color: #333;
}

#shipping-method-wrapper .woocommerce-shipping-methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#shipping-method-wrapper .woocommerce-shipping-methods li {
    padding: 15px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

#shipping-method-wrapper .woocommerce-shipping-methods li:hover {
    background: #f0f4ff;
    border-color: #142258;
}

#shipping-method-wrapper .woocommerce-shipping-methods li:last-child {
    margin-bottom: 0;
}

#shipping-method-wrapper .woocommerce-shipping-methods input[type="radio"] {
    margin-right: 10px;
}

.ct-order-review{
    padding: 0 !important;
}

#shipping-method-wrapper .woocommerce-shipping-methods label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

#shipping-method-wrapper .woocommerce-shipping-methods li:has(input:checked) {
    background: #f0f4ff;
    border-color: #142258;
}

#shipping-method-wrapper table.shop_table {
    width: 100%;
    border: none;
}

#shipping-method-wrapper table.shop_table th,
#shipping-method-wrapper table.shop_table td {
    padding: 10px;
    border: none;
}

.coupon-section {
    position: relative;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E6E9EF;
}

.coupon-section .checkout_coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.coupon-section .checkout_coupon p {
    margin: 0 0 10px 0;
    width: 100%;
}

.coupon-section .checkout_coupon .form-row-first {
    flex: 1;
    min-width: 200px;
    padding: 0;
    margin: 0;
}

.coupon-section .checkout_coupon .form-row-last {
    padding: 0;
    margin: 0;
}

.coupon-section .checkout_coupon input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #E6E9EF;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-section .checkout_coupon input[type="text"]:focus {
    border-color: #142258;
    outline: none;
}

.coupon-section .checkout_coupon button[type="submit"] {
    padding: 12px 24px !important;
    background: #142258 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: auto !important;
}

.coupon-section .checkout_coupon button[type="submit"]:hover {
    background: #1a2d6e !important;
}

.cart-discount {
    color: #155724 !important;
}

.cart-discount th,
.cart-discount td {
    color: #155724 !important;
}

.cart-discount .woocommerce-remove-coupon {
    color: #721c24 !important;
    font-size: 12px;
    margin-left: 8px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.cart-discount .woocommerce-remove-coupon:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 350px){
    .step-content{
        padding: 10px;
    }
}

.checkout-step[data-step="4"] .woocommerce-shipping-totals {
    display: none !important;
}

.checkout-step[data-step="4"] .shipping-custom-row{
    border-top: 1px solid #E6E9EF;
}

#billing_vat_country_field .optional, #billing_nip_field .optional{
    display: none !important;
}

/* Quantity controls & remove button in checkout review */
.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td.product-qty-control {
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td.product-remove {
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.checkout-qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.checkout-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #142258;
    border-radius: 4px;
    background: transparent;
    color: #142258;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-qty-btn:hover {
    background: #142258;
    color: #fff;
}

.checkout-qty-display {
    min-width: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #161615;
}

.checkout-remove-item {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.checkout-remove-item:hover {
    color: #c0392b;
    background: #fff0ee;
}

tr.checkout-item-updating .checkout-qty-btn,
tr.checkout-item-updating .checkout-remove-item {
    pointer-events: none;
    opacity: 0.4;
}

tr.checkout-item-updating {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.payment-column #place_order.cart-updating {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.cart-updating-notice {
    text-align: center;
    padding: 10px 16px;
    margin-top: 10px;
    background: #FAFAFC;
    color: #707070;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Roboto-Regular', sans-serif;
    border-radius: 6px;
    border: 1px solid #E6E9EF;
}

.cart-empty-notice {
    text-align: center;
    padding: 40px 20px;
}

.cart-empty-notice p {
    font-size: 16px;
    color: #707070;
    margin-bottom: 20px;
}

.cart-empty-notice .button {
    display: inline-block;
    background: #142258 !important;
    color: #fff !important;
    padding: 14px 30px !important;
    font-size: 15px !important;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cart-empty-notice .button:hover {
    background: #1a2d6e !important;
}

@media (max-width: 480px) {
    .checkout-qty-btn {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .checkout-qty-display {
        min-width: 20px;
        font-size: 13px;
    }

    .checkout-remove-item {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

@media (min-width: 601px) and (max-width: 992px) {
    .checkout-final-step {
        gap: 24px;
    }

    .order-summary-column,
    .payment-column {
        padding: 16px;
    }

    .step-content {
        padding: 24px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody tr {
        padding: 12px 0;
        gap: 8px;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td.product-name {
        font-size: 13px;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr {
        padding: 10px 0;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal {
        padding-top: 12px;
        margin-top: 8px;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.order-total {
        padding-top: 12px;
        margin-top: 8px;
    }

    .coupon-section {
        margin-top: 16px;
        padding-top: 16px;
    }

    .payment-column #place_order {
        padding: 14px 24px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 600px) {
    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody tr {
        flex-wrap: wrap;
        gap: 8px 0;
        align-items: flex-start;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td.product-name {
        flex-basis: 100%;
        white-space: normal;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td.product-qty-control {
        flex: 1;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tbody td.product-total {
        text-align: right;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals {
        flex-wrap: wrap;
        gap: 4px 0;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th,
    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {
        flex-basis: 100%;
        text-align: left;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.order-total{
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr{
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot td{
        text-align: left !important;
    }

    .checkout-step[data-step="4"] .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal{
        flex-direction: column;
        align-items: flex-start;
    }
}