/* WPCode 71582 — CT- Checkout styling */
/* CLASSIC TRANSFERS — CHECKOUT STYLING */

/* Checkout page background */
body.woocommerce-checkout {
    background: #f7f7f7;
}

/* Main checkout layout */
body.woocommerce-checkout .wp-block-woocommerce-checkout {
    max-width: 1350px !important;
    margin: 40px auto 70px !important;
    padding: 0 24px !important;
}

/* Main checkout sections */
body.woocommerce-checkout .wc-block-checkout__main {
    background: #fff;
    border: 1px solid #e5e9e7;
    border-radius: 12px;
    padding: 30px;
}

/* Order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar {
    background: #fff;
    border: 1px solid #e5e9e7;
    border-radius: 12px;
    padding: 24px;
    align-self: start;
}

/* Remove nested summary background */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary {
    background: transparent;
}

/* Section headings */
body.woocommerce-checkout
.wc-block-components-checkout-step__title {
    color: #202b25;
    font-weight: 700;
    font-size: 20px;
}

/* Form fields */
body.woocommerce-checkout
.wc-block-components-text-input input,
body.woocommerce-checkout
.wc-block-components-combobox-control input {
    border: 1px solid #d5ddd8;
    border-radius: 6px;
}

/* Form focus */
body.woocommerce-checkout
.wc-block-components-text-input input:focus,
body.woocommerce-checkout
.wc-block-components-combobox-control input:focus {
    border-color: #007a50;
    box-shadow: 0 0 0 1px #007a50;
    outline: none;
}

/* Place order button */
body.woocommerce-checkout
.wc-block-components-checkout-place-order-button {
    background: #007a50 !important;
    color: #fff !important;
    border-radius: 7px;
    font-weight: 700;
    padding: 17px 24px;
    transition: background .2s ease;
}

/* Place order hover */
body.woocommerce-checkout
.wc-block-components-checkout-place-order-button:hover {
    background: #005c3d !important;
}

/* Mobile layout */
@media (max-width: 781px) {
    body.woocommerce-checkout
    .wp-block-woocommerce-checkout {
        margin: 20px auto 40px !important;
        padding: 0 15px !important;
    }

    body.woocommerce-checkout
    .wc-block-checkout__main {
        padding: 20px 16px;
    }

    body.woocommerce-checkout
    .wc-block-checkout__sidebar {
        padding: 18px 16px;
    }
}

/* More space between checkout columns */
@media (min-width: 782px) {
    body.woocommerce-checkout
    .wc-block-components-sidebar-layout {
        column-gap: 35px !important;
    }

    body.woocommerce-checkout
    .wc-block-checkout__main {
        flex: 1 1 0 !important;
        min-width: 0;
    }

    body.woocommerce-checkout
    .wc-block-checkout__sidebar {
        flex: 0 0 34% !important;
        width: 34% !important;
        min-width: 0;
    }
}
/* Classic Transfers – Checkout heading alignment */

body.woocommerce-checkout .ct-checkout-title {
    max-width: 1160px;
    margin: 35px auto 25px !important;
    padding: 0 !important;
    transform: translateX(-100px);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #172b23;
}

@media (max-width: 1200px) {
    body.woocommerce-checkout .ct-checkout-title {
        transform: none;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}

/* ==========================================
   CLASSIC TRANSFERS – ORDER CONFIRMATION
   ========================================== */

/* Main content container */
.order-confirmation {
    background: #f5f6f6;
    padding: 45px 35px 75px;
    max-width: 1250px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Main heading */
.order-confirmation h1 {
    font-size: 34px;
    font-weight: 700;
    color: #102923;
    margin: 0 0 14px;
    line-height: 1.2;
}

/* Introductory text */
.order-confirmation > p,
.order-confirmation .woocommerce-thankyou-order-received {
    font-size: 16px;
    color: #56635e;
    margin-bottom: 28px;
}

/* Order summary: number, date, total, email */
.order-confirmation .woocommerce-order-overview,
.order-confirmation .wc-block-order-confirmation-summary {
    background: #ffffff;
    border: 1px solid #e3e7e5;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0 28px;
    box-sizing: border-box;
}

/* Individual summary items */
.order-confirmation .woocommerce-order-overview li {
    padding: 8px 20px 8px 0;
    line-height: 1.7;
}

/* Section headings */
.order-confirmation h2,
.order-confirmation h3 {
    color: #102923;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* Order details, downloads and addresses */
.order-confirmation .woocommerce-order-details,
.order-confirmation .woocommerce-customer-details,
.order-confirmation .woocommerce-order-downloads,
.order-confirmation .wc-block-order-confirmation-totals,
.order-confirmation .wc-block-order-confirmation-downloads,
.order-confirmation .wc-block-order-confirmation-billing-address,
.order-confirmation .wc-block-order-confirmation-shipping-address {
    background: #ffffff;
    border: 1px solid #e3e7e5;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

/* Tables */
.order-confirmation table {
    width: 100%;
    border-collapse: collapse;
}

.order-confirmation table th {
    font-size: 13px;
    font-weight: 700;
    color: #35423d;
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e3e7e5;
}

.order-confirmation table td {
    padding: 15px 14px;
    border-bottom: 1px solid #edf0ee;
    font-size: 14px;
}

.order-confirmation table tr:last-child td {
    border-bottom: none;
}

/* Product and download links */
.order-confirmation a {
    color: #007a50;
    text-decoration: none;
    font-weight: 500;
}

.order-confirmation a:hover {
    color: #005b3c;
    text-decoration: underline;
}

/* Account creation */
.order-confirmation .wc-block-order-confirmation-create-account,
.order-confirmation .wc-block-order-confirmation-create-account-form {
    background: #ffffff;
    border: 1px solid #e3e7e5;
    border-radius: 12px;
    padding: 28px;
    margin: 25px 0;
    box-sizing: border-box;
}

/* Form fields */
.order-confirmation input[type="text"],
.order-confirmation input[type="email"],
.order-confirmation input[type="password"] {
    border: 1px solid #d4ddda;
    border-radius: 7px;
    padding: 13px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Buttons */
.order-confirmation button:not(.components-button),
.order-confirmation .wp-block-button__link,
.order-confirmation .button {
    background: #007a50;
    color: #ffffff;
    border: 1px solid #007a50;
    border-radius: 8px;
    padding: 13px 22px;
    font-weight: 600;
    transition: background .2s ease;
}

.order-confirmation button:not(.components-button):hover,
.order-confirmation .wp-block-button__link:hover,
.order-confirmation .button:hover {
    background: #005d3d;
    color: #ffffff;
}

/* Mobile */
@media (max-width: 781px) {
    .order-confirmation {
        padding: 25px 15px 45px;
    }

    .order-confirmation h1 {
        font-size: 28px;
    }

    .order-confirmation h2,
    .order-confirmation h3 {
        font-size: 20px;
    }

    .order-confirmation .woocommerce-order-details,
    .order-confirmation .woocommerce-customer-details,
    .order-confirmation .woocommerce-order-downloads,
    .order-confirmation .wc-block-order-confirmation-totals,
    .order-confirmation .wc-block-order-confirmation-downloads,
    .order-confirmation .wc-block-order-confirmation-billing-address,
    .order-confirmation .wc-block-order-confirmation-shipping-address {
        padding: 18px;
    }

    .order-confirmation .woocommerce-order-overview {
        padding: 18px;
    }

    .order-confirmation table th,
    .order-confirmation table td {
        padding: 10px 8px;
        overflow-wrap: anywhere;
    }
}
