body.woocommerce-checkout {
    background: #f7f4ef;
    color: #1f1f1f;
}

body.woocommerce-checkout .woocommerce {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    border-radius: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(181, 139, 79, 0.18);
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
    background: rgba(255,255,255,.82);
}

body.woocommerce-checkout .woocommerce-info::before {
    position: static;
    margin-right: 5px;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-payment {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(183,147,90,.18);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  padding: 26px;
  margin-bottom: 22px;
}

body.woocommerce-checkout #order_review { padding: 22px !important; }

body.woocommerce-checkout .woocommerce-checkout-payment {
    padding: 18px;
    margin-top: 18px;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout #order_review_heading {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #111;
    padding: 20px !important;;
    position: relative;
    border: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #111 0%, #7a5a2a 55%, #c8a15d 100%);
}

body.woocommerce-checkout form .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #3c3c3c;
    margin-bottom: 8px;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    background: #fff;
    border: 1px solid #ddcfbb;
    border-radius: 14px;
    min-height: 50px;
    padding: 12px 16px;
    box-shadow: none;
    transition: all .22s ease;
}

body.woocommerce-checkout form .form-row textarea {
    min-height: 120px;
    resize: vertical;
}

body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row textarea:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
    border-color: #b58b4f;
    box-shadow: 0 0 0 3px rgba(181,139,79,.14);
    outline: none;
}

body.woocommerce-checkout .select2-container { width: 100% !important; }
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.2;
    padding-left: 0;
    color: #1f1f1f;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
}

body.woocommerce-checkout table.shop_table {
    border: 0;
    margin: 0;
    background: transparent;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
    border-top: 1px solid rgba(0,0,0,.06);
    padding: 14px 0;
    font-size: 14px;
}

body.woocommerce-checkout table.shop_table thead th {
    border-top: 0;
    font-weight: 700;
    color: #111;
}

body.woocommerce-checkout .cart_item td.product-name { color: #2a2a2a; }

body.woocommerce-checkout .order-total th,
body.woocommerce-checkout .order-total td {
    font-size: 18px;
    font-weight: 800;
    color: #111;
}

body.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods {
    border-bottom: 0;
    padding: 0;
    margin: 0;
}

body.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods li {
    background: #fff;
    border: 1px solid #e8dcc8;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

body.woocommerce-checkout .woocommerce-checkout-payment .payment_box {
    background: #faf6ef;
    border-radius: 14px;
    margin-top: 12px;
    padding: 14px 16px;
}

body.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #111 0%, #3a2d1c 48%, #b58b4f 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: 0 16px 34px rgba(0,0,0,.16);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.woocommerce-checkout #place_order:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(0,0,0,.20);
    filter: brightness(1.02);
}

body.woocommerce-checkout a {
    color: #b58b4f;
    text-decoration: none;
}

body.woocommerce-checkout a:hover { color: #8f6a37; }

@media (max-width: 768px) {
    body.woocommerce-checkout .woocommerce {
        padding: 0 !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout .post-9 {
        padding: 0 20px !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout #customer_details {
        padding: 0 !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields,
    body.woocommerce-checkout .woocommerce-additional-fields,
    body.woocommerce-checkout #order_review,
    body.woocommerce-checkout .woocommerce-checkout-payment {
        padding: 18px;
        border-radius: 18px;
    }

    body.woocommerce-checkout .woocommerce-billing-fields h3,
    body.woocommerce-checkout #order_review_heading { font-size: 20px; }

    body.woocommerce-checkout form .form-row input.input-text,
    body.woocommerce-checkout form .form-row textarea,
    body.woocommerce-checkout form .form-row select,
    body.woocommerce-checkout .select2-container--default .select2-selection--single {
        min-height: 46px;
        border-radius: 12px;
    }

    body.woocommerce-checkout #place_order {
        min-height: 52px;
        border-radius: 14px;
    }
}

body.woocommerce-checkout .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: 36px;
  margin-left: 15px;
}

body.woocommerce-checkout .quantity .plus,
body.woocommerce-checkout .quantity .minus {
  width: 32px;
  height: 36px;
  border: 0;
  background: #f5f5f5;
  color: #333;
  cursor: pointer;
}

body.woocommerce-checkout .quantity .plus { margin: 0; }

body.woocommerce-checkout .quantity input.qty {
  width: 44px !important;
  height: 36px;
  border: 0 !important;
  text-align: center;
  box-shadow: none !important;
  outline: none !important;
}

@media (max-width: 768px) {
    body.woocommerce-checkout .quantity {
        margin-left: 0;
        margin-top: 10px;
        margin-bottom: 5px;
    }
}