/* ======================================================
   FAVOURITES PAGE - SCREENSHOT MATCH
   ====================================================== */

.favourites-page {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    color: #111111;
    padding: 56px 28px 70px;
}

.favourites-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.favourites-title {
    margin: 0 0 18px;
    color: #111111;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

/* Empty state */
.favourites-empty-state {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.favourites-empty-state h2 {
    margin: 0 0 5px;
    color: rgba(0, 0, 0, 1);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
}

.favourites-empty-state p {
    margin: 0 0 24px;
    color: rgba(83, 88, 98, 1);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.favourites-shop-now {
    width: 220px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #9d9d9d;
    background: #ffffff;
    color: #111111;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
}

.favourites-shop-now:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.favourite-cart-form {
    margin: 11px 0 0;
}

.favourite-add-cart-btn {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #9d9d9d;
    background: #ffffff;
    color: rgba(65, 70, 81, 1);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.favourite-add-cart-btn:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.favourite-remove-form {
    margin: 7px 0 0;
    text-align: center;
}

.favourite-remove-btn {
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(83, 88, 98, 1);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.favourite-remove-btn:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .favourites-page {
        padding: 54px 18px 60px;
    }

    .favourites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .favourites-page {
        padding: 52px 12px 50px;
    }

    .favourites-title {
      
        margin-bottom: 16px;
    }

    .favourites-empty-state {
        min-height: 310px;
    }



    .favourites-shop-now {
        width: 180px;
        height: 42px;
       
    }

}



/* ======================================Checkout css==================================== */



    .checkout-shipping-screen {
        width: 100% !important;
        min-height: 100vh !important;
        background: #ffffff !important;
        color: #111111 !important;
        padding: 48px 32px 80px !important;
        font-family: "Syne", Arial, sans-serif !important;
        margin-top: 2rem;
    }

    .checkout-back-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        color: #414651 !important;
        text-decoration: none !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
    }

    .checkout-back-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #111111 !important;
        font-size: 24px !important;
        font-weight: 300 !important;
        line-height: 1 !important;
        padding-bottom: 2px !important;
        font-family: "Syne", Arial, sans-serif !important;
    }

    .checkout-shipping-layout {
        width: 100% !important;
        max-width: 1040px !important;
        margin: 46px auto 0 !important;
        display: grid !important;
        grid-template-columns: 560px 1px 320px !important;
        column-gap: 36px !important;
        align-items: start !important;
    }

    .checkout-shipping-left {
        width: 100% !important;
    }

    .checkout-shipping-title {
        margin: 0 0 22px !important;
        color: #000000 !important;
        font-size: 20px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        letter-spacing: -0.2px !important;
    }

    .checkout-shipping-alert {
        width: 100% !important;
        margin: 0 0 14px !important;
        padding: 10px 12px !important;
        border: 1px solid #e5e7eb !important;
        color: #111111 !important;
        background: #fafafa !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .checkout-shipping-alert ul {
        margin: 6px 0 0 !important;
        padding-left: 16px !important;
    }

    .checkout-shipping-form {
        width: 100% !important;
        display: block !important;
    }

    .checkout-form-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        margin-bottom: 12px !important;
    }

    .checkout-form-full {
        margin-bottom: 12px !important;
    }

    .checkout-form-group label {
        display: block !important;
        margin: 0 0 7px !important;
        color: #535862 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
          font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

    .checkout-form-group input {
        width: 100% !important;
        height: 36px !important;
        border: 1px solid #D5D7DA !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        outline: none !important;
        padding: 0 10px !important;
        color: #111111 !important;
        font-size: 12px !important;
          font-family: PP Neue Montreal, Arial, sans-serif !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        box-shadow: none !important;
    }

    .checkout-form-group input::placeholder {
        color: #A4A7AE !important;
    }

    .checkout-field-error {
        display: block !important;
        margin-top: 4px !important;
        color: #b42318 !important;
        font-size: 10px !important;
    }

    .checkout-save-address {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 2px 0 28px !important;
        color: #535862 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    .checkout-save-address input {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        border: 1px solid #D0D5DD !important;
        border-radius: 3px !important;
        background: #ffffff !important;
        display: inline-block !important;
        position: relative !important;
          font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

    .checkout-save-address input:checked::after {
        content: "" !important;
        position: absolute !important;
        left: 4px !important;
        top: 1px !important;
        width: 4px !important;
        height: 8px !important;
        border: solid #111111 !important;
        border-width: 0 1.5px 1.5px 0 !important;
        transform: rotate(45deg) !important;
    }

    .checkout-payment-button {
        width: 100% !important;
        height: 42px !important;
        border: 1px solid #414651 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        color: #414651 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        cursor: pointer !important;
          font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

    .checkout-payment-button:hover {
        background: #111111 !important;
        border-color: #111111 !important;
        color: #ffffff !important;
    }

    .checkout-vertical-rule {
        width: 1px !important;
        height: 332px !important;
        background: #E9EAEB!important;
        margin-top: 36px !important;
    }

    .checkout-order-summary {
        width: 100% !important;
        padding-top: 35px !important;
    }

    .checkout-order-summary h2 {
        margin: 0 0 27px !important;
        color: #484848 !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        text-transform: uppercase !important;
          font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

    .checkout-order-lines {
        width: 100% !important;
    }

    .checkout-order-line {
        width: 100% !important;
        min-height: 37px !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 20px !important;
        padding-bottom: 12px !important;
        margin-bottom: 12px !important;
        border-bottom: 1px solid #ededed !important;
        color: #414651 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;

      font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

    .checkout-order-line span {
        min-width: 0 !important;
        max-width: 210px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

    .checkout-order-line strong {
        color: #757575 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        font-family: PP Neue Montreal, Arial, sans-serif !important;
        
    }

    .checkout-order-product {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.checkout-order-product-name {
    color: #000000 !important;
}

.checkout-order-product-meta {
    color: #717680 !important;
}

.checkout-order-line strong {
    color: #757575 !important;
}

    .checkout-order-total {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
        margin-top: 16px !important;
        color: #252b37 !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

    .checkout-order-total strong {
        color: #252B37 !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

   /* Hidden on desktop */
.checkout-mobile-summary-head {
    display: none !important;
}

/* =====================================================
   CHECKOUT MOBILE — MATCH REFERENCE IMAGE
   Layout and spacing only. Fonts remain unchanged.
   ===================================================== */



    @media (max-width: 900px) {
        .checkout-shipping-screen {
            padding: 28px 16px 50px !important;
        }

        .checkout-shipping-layout {
            max-width: 100% !important;
            margin-top: 32px !important;
            grid-template-columns: 1fr !important;
            row-gap: 30px !important;
        }

        .checkout-vertical-rule {
            display: none !important;
        }

        .checkout-order-summary {
            padding-top: 0 !important;
        }
    }

    @media (max-width: 560px) {
        .checkout-form-grid {
            grid-template-columns: 1fr !important;
            gap: 12px !important;
        }
    }

    .checkout-back-icon svg {
    width: 24px !important;
    height: 24px !important;
    }

/* ======================================================
   CHECKOUT MOBILE REFERENCE LAYOUT
   Mobile layout only — existing typography is unchanged.
   ====================================================== */

.checkout-mobile-summary-head {
    display: none !important;
}

.checkout-mobile-summary-content {
    display: block;
}

@media screen and (max-width: 560px) {
    .checkout-shipping-screen {
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    .checkout-shipping-screen > .checkout-back-link {
        display: none !important;
    }

    .checkout-shipping-layout {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        row-gap: 0 !important;
        
    }

    .checkout-vertical-rule {
        display: none !important;
    }

    .checkout-order-summary {
        order: 1 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        
    }

    .checkout-order-summary > h2 {
        display: none !important;
    }

    .checkout-mobile-summary-head {
        width: 100% !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 9px !important;
        border: 0 !important;
        border-bottom: 1px solid #ededed !important;
        border-radius: 0 !important;
        background: #f7f7f7 !important;
        color: #111111 !important;
        text-align: left !important;
        cursor: pointer !important;
        box-shadow: none !important;
         font-family: PP Neue Montreal, Arial, sans-serif !important;
    }

    .checkout-mobile-summary-title {
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        color: inherit !important;
         font-family: PP Neue Montreal, Arial, sans-serif !important;
         font-size: 14px;
    }

    .checkout-mobile-summary-chevron {
        width: 10px !important;
        height: 10px !important;
        flex: 0 0 10px !important;
        color: #111111 !important;
        stroke: currentColor !important;
        transition: transform 0.18s ease !important;
    }

    .checkout-mobile-summary-head strong {
        flex-shrink: 0 !important;
        color: #111111 !important;
        white-space: nowrap !important;
         font-family: PP Neue Montreal, Arial, sans-serif !important;
         font-size: 14px;
    }

    .checkout-mobile-summary-content {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .checkout-order-summary.is-collapsed .checkout-mobile-summary-content {
        display: none !important;
    }

    .checkout-order-summary.is-collapsed .checkout-mobile-summary-chevron {
        transform: rotate(180deg) !important;
    }

    .checkout-order-lines {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .checkout-order-line {
        width: 100% !important;
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 8px 9px !important;
        border-bottom: 1px solid #ededed !important;
    }

    .checkout-order-line span {
        min-width: 0 !important;
        max-width: calc(100% - 82px) !important;
    }

    .checkout-order-product {
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .checkout-order-line strong {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .checkout-order-total {
        width: 100% !important;
        min-height: 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 9px !important;
        border-bottom: 1px solid #ededed !important;
    }

    .checkout-shipping-left {
        order: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 16px 9px 44px !important;
    }

    .checkout-shipping-title {
        margin: 0 0 16px !important;
    }

    .checkout-shipping-form {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .checkout-form-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin: 0 0 10px !important;
    }

    .checkout-form-full {
        width: 100% !important;
        margin: 0 0 10px !important;
    }

    .checkout-form-group {
        width: 100% !important;
        margin: 0 !important;
    }

    .checkout-form-group label {
        margin-bottom: 6px !important;
    }

    .checkout-form-group input {
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .checkout-save-address {
        width: 100% !important;
        margin: 0 0 16px !important;
        gap: 7px !important;
    }

    .checkout-payment-button {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    
}

/* MOBILE BACK BUTTON: AFTER SUMMARY, EXTREME LEFT
   CSS-only fix. No Blade details are changed. */
@media screen and (max-width: 560px) {

    .checkout-shipping-screen {
        display: flex !important;
        flex-direction: column !important;
    }

    .checkout-shipping-screen .checkout-shipping-layout {
        display: contents !important;
    }

    /* 1. Order summary */
    .checkout-shipping-screen .checkout-order-summary {
        order: 1 !important;
        width: 100% !important;
    }

    /* 2. Back arrow and text at the far left */
    .checkout-shipping-screen > .checkout-back-link {
        order: 2 !important;
        width: max-content !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        align-self: flex-start !important;
        gap: 10px !important;
        margin: 16px 0 20px 0 !important;
        padding: 0 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    /* 3. Shipping form */
    .checkout-shipping-screen .checkout-shipping-left {
        order: 3 !important;
        width: 100% !important;
    }

    .checkout-shipping-screen .checkout-vertical-rule {
        display: none !important;
    }
}




    /* =======================checkout payment========================================= */
    
.checkout-payment-screen {
    width: 100% !important;
    min-height: 100vh !important;
    background: #ffffff !important;
    color: #111111 !important;
    padding: 48px 32px 80px !important;
    margin-top: 2rem;
   
}

.checkout-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #414651 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.checkout-back-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111111 !important;
}

.checkout-back-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.checkout-back-text {
    color: #535862 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
     font-family: PP Neue Montreal, Arial, sans-serif !important;
}

.checkout-payment-layout {
    width: 100% !important;
    max-width: 812px !important;
    margin: 43px auto 0 !important;
    display: grid !important;
    grid-template-columns: 495px 1px 250px !important;
    column-gap: 31px !important;
    align-items: start !important;
}

.checkout-payment-left {
    width: 100% !important;
}

.checkout-payment-title {
    margin: 0 0 20px !important;
    color: #000000 !important;
    font-size:2opx !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: -0.1px !important;
}

.checkout-payment-alert {
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 10px 12px !important;
    border: 1px solid #e5e7eb !important;
    background: #fafafa !important;
    color: #111111 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.checkout-payment-alert ul {
    margin: 6px 0 0 !important;
    padding-left: 16px !important;
}

.checkout-payment-form {
    width: 100% !important;
}

.checkout-payment-option {
    width: 100% !important;
    height: 38px !important;
    border: 1px solid #D5D7DA !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 10px !important;
    margin: 0 0 12px !important;
    color: #535862 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
     font-family: PP Neue Montreal, Arial, sans-serif !important;
}

.checkout-payment-option-card,
.checkout-payment-option-bank {
    margin-bottom: 0 !important;
}

.checkout-payment-option-top {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.checkout-payment-radio-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
    color: #535862 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}
.checkout-payment-radio-wrap input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #717680 !important;
    border-radius: 50% !important;
    background: #ffffff !important;

    display: inline-block !important;
    position: relative !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

.checkout-payment-radio-wrap input[type="radio"]:checked {
    border-color: #717680 !important;
}


.checkout-payment-radio-wrap input[type="radio"]:checked::after {
    content: "" !important;
    width: 10.5px !important;
    height: 10.5px !important;
    border-radius: 50% !important;
    background: #717680 !important;
    display: block !important;
    position: absolute !important;
     top: 50% !important;
    left: 50% !important;
      transform: translate(-50%, -50%) !important;
}

.checkout-card-types {
    color: #A4A7AE !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.checkout-card-panel {
    width: 100% !important;
    min-height: 110px !important;
    border: 1px solid #D5D7DA !important;
    border-top: none !important;
    background: #FAFAFA !important;
    padding: 14px 10px 11px !important;
    margin: 0 0 12px !important;
    box-sizing: border-box !important;
}

.checkout-card-field {
    width: 100% !important;
}

.checkout-card-field label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #535862 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    height: 38px;
}

.checkout-card-field input {
    width: 100% !important;
    height: 36px !important;
    border: 1px solid #D5D7DA !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    outline: none !important;
    padding: 0 10px !important;
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    font-family: PP Neue Montreal, Arial, sans-serif !important;
}

.checkout-card-field input::placeholder {
    color: #A4A7AE !important;
}

.checkout-stripe-note {
    margin: 10px 0 0 !important;
    color: #717680 !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
}

.checkout-card-field-full {
    margin-bottom: 13px !important;
}

.checkout-card-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

.checkout-bank-panel {
    width: 100% !important;
    border: 1px solid #D5D7DA !important;
    border-top: none !important;
    background: #FAFAFA !important;
    padding: 12px 10px 11px !important;
    margin: 0 0 12px !important;
    box-sizing: border-box !important;
    font-family: PP Neue Montreal, Arial, sans-serif !important;
}

.checkout-bank-title {
    margin: 0 0 10px !important;
    color: #252B37 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.checkout-bank-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-bottom: 8px !important;
}

.checkout-bank-row span {
    color: #717680 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.checkout-bank-row strong {
    color: #252B37 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

.checkout-bank-note {
    margin: 10px 0 0 !important;
    color: #A4A7AE !important;
    font-size: 8px !important;
    line-height: 1.35 !important;
}

.checkout-complete-button {
    width: 100% !important;
    height: 42px !important;
    border: 1px solid #414651 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #414651 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 14px 0 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    font-family: PP Neue Montreal, Arial, sans-serif !important;
}

.checkout-complete-button:hover {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

.checkout-payment-vertical-rule {
    width: 1px !important;
    height: 293px !important;
    background: #E9EAEB !important;
    margin-top: 31px !important;
}

.checkout-billing-summary {
    width: 100% !important;
    padding-top: 30px !important;
}

.checkout-billing-summary h2 {
    margin: 0 0 28px !important;
    color: #484848 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    font-family: PP Neue Montreal, Arial, sans-serif !important;
}

.checkout-billing-line,
.checkout-billing-total {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    font-family: PP Neue Montreal, Arial, sans-serif !important;
}

.checkout-billing-line {
    margin-bottom: 16px !important;
}

.checkout-billing-line span,
.checkout-billing-line strong {
    color: #717680 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
}

.checkout-billing-line strong {
    color: #414651 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    font-size: 14px !important;
}

.checkout-billing-total {
    margin-top: 23px !important;
}

.checkout-billing-total span,
.checkout-billing-total strong {
    color: #252B37 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

@media (max-width: 900px) {
    .checkout-payment-screen {
        padding: 28px 16px 50px !important;
    }

    .checkout-payment-layout {
        max-width: 100% !important;
        margin-top: 32px !important;
        grid-template-columns: 1fr !important;
        row-gap: 30px !important;
    }

    .checkout-payment-vertical-rule {
        display: none !important;
    }

    .checkout-billing-summary {
        padding-top: 0 !important;
    }
}

@media (max-width: 560px) {
    .checkout-card-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}
/* perfectly centered inner circle */
.checkout-payment-option input[type="radio"]:checked,
.payment-method-radio:checked,
.checkout-radio:checked {
    background-image: radial-gradient(circle at center, #717680 0 4px, transparent 4.2px) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
}

/* keep label content aligned */
.checkout-payment-label,
.payment-method-label,
.checkout-payment-method-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.checkout-payment-option-card {
    margin-bottom: 12px !important;
}

.checkout-card-panel {
    border-top: 1px solid #D5D7DA !important;
    margin-top: 0 !important;
}
.checkout-payment-option-bank {
    margin-bottom: 12px !important;
}

.checkout-bank-panel {
    border-top: 1px solid #D5D7DA !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* PAYMENT MOBILE BACK: AFTER SUMMARY, EXTREME LEFT
   CSS-only update. Existing fonts and desktop styles stay unchanged. */
.checkout-payment-back-mobile {
    display: none !important;
}

@media screen and (max-width: 560px) {

    /* Hide the original desktop Back button at the top */
    .checkout-payment-screen
    > .checkout-back-link.checkout-payment-back-desktop {
        display: none !important;
    }

    /* Mobile order: Billing Summary -> Back -> Payment */
    .checkout-payment-layout {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
    }

    /* 1. Billing summary */
    .checkout-billing-summary {
        order: 1 !important;
        width: 100% !important;
        margin: 0 0 24px !important;
        padding-top: 0 !important;
    }

    /* 2. Back arrow and Back text at the extreme left */
    .checkout-payment-back-mobile {
        order: 2 !important;
        width: max-content !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        align-self: flex-start !important;
        gap: 10px !important;
        margin: 0 0 30px 0 !important;
        padding: 0 !important;
        color: #414651 !important;
        text-decoration: none !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .checkout-payment-back-icon {
        width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #111111 !important;
    }

    .checkout-payment-back-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* 3. Payment form */
    .checkout-payment-left {
        order: 3 !important;
        width: 100% !important;
    }

    .checkout-payment-vertical-rule {
        display: none !important;
    }
}

/* FINAL MOBILE PAYMENT ORDER: SUMMARY -> BACK -> PAYMENT
   Keeps the Back arrow and text at the extreme left.
   No font or payment-detail changes. */
@media screen and (max-width: 560px) {
    html body .checkout-payment-screen
    > .checkout-back-link.checkout-payment-back-desktop {
        display: none !important;
    }

    html body .checkout-payment-screen .checkout-payment-layout {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
    }

    html body .checkout-payment-screen .checkout-billing-summary {
        order: 1 !important;
        width: 100% !important;
        margin: 0 0 24px !important;
        padding-top: 0 !important;
    }

    html body .checkout-payment-screen .checkout-payment-back-mobile {
        order: 2 !important;
        width: max-content !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        align-self: flex-start !important;
        gap: 10px !important;
        margin: 0 0 30px 0 !important;
        padding: 0 !important;
        color: #414651 !important;
        text-decoration: none !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    html body .checkout-payment-screen .checkout-payment-left {
        order: 3 !important;
        width: 100% !important;
    }

    html body .checkout-payment-screen .checkout-payment-vertical-rule {
        display: none !important;
    }
}

/* MOBILE BILLING SUMMARY MATCH
   Expanded and collapsed states from the supplied reference. */
.checkout-billing-mobile-head {
    display: none !important;
}

.checkout-billing-content {
    display: block;
}

@media screen and (max-width: 560px) {
    html body .checkout-payment-screen {
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .checkout-payment-screen .checkout-payment-layout {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html body .checkout-payment-screen .checkout-billing-summary {
        order: 1 !important;
        width: 100% !important;
        margin: 0 0 20px !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    .checkout-billing-summary > h2 {
        display: none !important;
    }

    .checkout-billing-mobile-head {
        width: 100% !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 0 !important;
        border-bottom: 1px solid #ededed !important;
        border-radius: 0 !important;
        background: #f5f5f5 !important;
        color: #111111 !important;
        text-align: left !important;
        box-shadow: none !important;
        cursor: pointer !important;
        font: inherit !important;
    }

    .checkout-billing-mobile-title {
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        color: inherit !important;
    }

    .checkout-billing-chevron {
        width: 11px !important;
        height: 11px !important;
        flex: 0 0 11px !important;
        color: #111111 !important;
        transition: transform 0.18s ease !important;
    }

    .checkout-billing-mobile-head > strong {
        flex-shrink: 0 !important;
        color: #111111 !important;
        white-space: nowrap !important;
    }

    .checkout-billing-content {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 10px 14px 0 !important;
        box-sizing: border-box !important;
    }

    .checkout-billing-summary.is-collapsed .checkout-billing-content {
        display: none !important;
    }

    .checkout-billing-summary.is-collapsed .checkout-billing-chevron {
        transform: rotate(180deg) !important;
    }

    .checkout-billing-content .checkout-billing-line {
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #ededed !important;
    }

    .checkout-billing-content .checkout-billing-total {
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .checkout-payment-screen .checkout-payment-back-mobile {
        margin: 0 0 28px 12px !important;
    }

    html body .checkout-payment-screen .checkout-payment-left {
        padding: 0 12px 50px !important;
        box-sizing: border-box !important;
    }
    .checkout-billing-mobile-head {
    min-height: 48px !important;
    font-family: PP Neue Montreal, Arial, sans-serif !important;
}
}