/* ═══════════════════════════════════════════════════════════════
   PBU CHECKOUT DESIGN - Native WooCommerce Styling
   Golden Theme #C77A39
   ═══════════════════════════════════════════════════════════════ */

/* ---- WRAPPER ---- */
.woocommerce-checkout article {
    background: #f7f7f8;
    padding: 30px 0 50px !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.woocommerce-checkout article .woocommerce {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    font-family: 'Inter', -apple-system, sans-serif;
    box-sizing: border-box;
}

.woocommerce-checkout * {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════
   1. TOP COUPON BAR
   ═══════════════════════════════════════════════════════════════ */

.checkout-form-cols {
    margin-bottom: 25px !important;
    display: block !important;
    width: 100% !important;
}

.checkout-coupon {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: #faf3ec !important;
    border-top: 3px solid #C77A39 !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    color: #111 !important;
    font-size: 14px !important;
    margin: 0 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #C77A39 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.woocommerce-form-coupon {
    background: #fff !important;
    padding: 20px !important;
    border-radius: 10px !important;
    margin-top: 15px !important;
    border: 1px solid #eee !important;
}

.woocommerce-form-coupon input[type="text"] {
    border: 1.5px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    min-height: 48px !important;
    width: 100% !important;
}

.woocommerce-form-coupon button {
    background: #C77A39 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    border: none !important;
    font-weight: 700 !important;
    min-height: 48px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-form-coupon button:hover {
    background: #a86529 !important;
}

/* ═══════════════════════════════════════════════════════════════
   2. TWO COLUMN GRID LAYOUT
   ═══════════════════════════════════════════════════════════════ */

form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 420px !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

form.checkout.woocommerce-checkout::before,
form.checkout.woocommerce-checkout::after {
    display: none !important;
    content: none !important;
}

/* Left column - customer details */
form.checkout #customer_details.col2-set {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

form.checkout #customer_details .col-1,
form.checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 0 22px 0 !important;
}

/* Right column - order review heading */
form.checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 420px !important;
    float: none !important;
    margin: 0 !important;
}

/* Right column - order review body */
form.checkout #order_review {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 420px !important;
    float: none !important;
    margin: 0 !important;
    position: sticky !important;
    top: 20px !important;
}

/* ═══════════════════════════════════════════════════════════════
   3. BILLING / SHIPPING / NOTES - CARD STYLE
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    background: #fff !important;
    border-radius: 14px !important;
    padding: 0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
    border: 1px solid #f0f0f0 !important;
    margin-bottom: 22px !important;
    overflow: hidden !important;
    width: 100% !important;
}

/* Section headings */
.woocommerce-billing-fields > h3,
form.checkout #order_review_heading {
    background: #111 !important;
    color: #fff !important;
    padding: 20px 25px !important;
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    border-radius: 14px 14px 0 0 !important;
    display: block !important;
    line-height: 1.3 !important;
}

form.checkout #order_review_heading {
    box-shadow: 0 -2px 12px rgba(0,0,0,0.05) !important;
    border: 1px solid #f0f0f0 !important;
    border-bottom: none !important;
}

/* Ship to different address header */
h3#ship-to-different-address {
    background: #faf3ec !important;
    color: #111 !important;
    padding: 16px 22px !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 3px solid #C77A39 !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    display: block !important;
}

h3#ship-to-different-address label {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    color: #111 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 15px !important;
}

h3#ship-to-different-address input[type="checkbox"] {
    accent-color: #C77A39 !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer !important;
}

/* Additional fields - hide default h3 (order notes) */
.woocommerce-additional-fields > h3 {
    display: none !important;
}

/* Field wrappers */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    padding: 30px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   4. FORM FIELDS
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-checkout .form-row {
    margin-bottom: 20px !important;
    padding: 0 !important;
    display: block !important;
}

.woocommerce-checkout label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

.woocommerce-checkout .required {
    color: #C77A39 !important;
    text-decoration: none !important;
    margin-left: 3px !important;
    font-weight: 700 !important;
}

.woocommerce-checkout .optional {
    color: #999 !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Screen reader labels - keep hidden */
.woocommerce-checkout label.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

/* Input wrapper */
.woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
}

/* All input fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    border: 1.5px solid #e5e5e5 !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    color: #111 !important;
    transition: all 0.25s ease !important;
    height: auto !important;
    min-height: 52px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #C77A39 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(199, 122, 57, 0.15) !important;
    outline: none !important;
}

.woocommerce-checkout textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Select2 fixes */
.woocommerce-checkout .select2-container {
    width: 100% !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px !important;
    padding-left: 18px !important;
    color: #111 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 12px !important;
}

.select2-dropdown {
    border-color: #C77A39 !important;
    border-radius: 10px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #C77A39 !important;
}

/* Two-column form fields (First/Last name) */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48.5% !important;
    display: inline-block !important;
    vertical-align: top !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .form-row-first {
    margin-right: 2.5% !important;
}

.woocommerce-checkout .form-row-wide {
    width: 100% !important;
    display: block !important;
    clear: both !important;
}

/* ═══════════════════════════════════════════════════════════════
   5. ORDER REVIEW (Right Column)
   ═══════════════════════════════════════════════════════════════ */

form.checkout #order_review {
    background: #fff !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
    border: 1px solid #f0f0f0 !important;
    border-top: none !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Free shipping banner (added by JS) */
.pbu-free-shipping-banner {
    background: linear-gradient(135deg, #C77A39 0%, #d98a4b 100%);
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
    border: none !important;
    margin: 0 !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    background: transparent !important;
    padding: 20px 22px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none !important;
    padding: 12px 0 !important;
    background: transparent !important;
    vertical-align: top !important;
}

/* Table headers */
.woocommerce-checkout-review-order-table thead th {
    border-bottom: 2px solid #f0f0f0 !important;
    padding-bottom: 14px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #666 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.woocommerce-checkout-review-order-table thead th.product-name {
    text-align: left !important;
    width: auto !important;
}

.woocommerce-checkout-review-order-table thead th.product-total {
    text-align: right !important;
    width: 85px !important;
}

/* ═══════════════════════════════════════════════════════════════
   6. PRODUCT ROW - Image + Name + Variation
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-checkout-review-order-table .cart_item td {
    border-bottom: 1px solid #f5f5f5 !important;
    padding: 18px 0 !important;
    vertical-align: top !important;
}

.woocommerce-checkout-review-order-table .cart_item td.product-name {
    padding-right: 12px !important;
    position: relative !important;
    color: #111 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* Product image container */
.checkout-review-product-image {
    position: relative !important;
    display: block !important;
    float: left !important;
    width: 65px !important;
    height: 65px !important;
    margin: 0 12px 4px 0 !important;
}

.checkout-review-product-image img {
    width: 65px !important;
    height: 65px !important;
    max-width: 65px !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 8px !important;
    display: block !important;
    border: 1px solid #eaeaea !important;
    background: #f9f9f9 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.checkout-review-product-image img.woocommerce-placeholder {
    padding: 8px !important;
    opacity: 0.5 !important;
    background: #f5f5f5 !important;
}

/* Quantity badge on image */
.checkout-review-product-image .product-quantity {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #C77A39 !important;
    color: #fff !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
    border: 2px solid #fff !important;
    min-width: 20px !important;
    text-align: center !important;
    display: inline-block !important;
}

/* Product name */
.checkout-review-product-name {
    display: block !important;
    font-weight: 600 !important;
    color: #111 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding-top: 2px !important;
}

/* Product price (below name) */
.checkout-review-product-price {
    display: block !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    line-height: 1.5 !important;
}

.checkout-review-product-price del {
    color: #999 !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
    margin-right: 6px !important;
}

.checkout-review-product-price ins {
    color: #C77A39 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
}

.checkout-review-product-price .amount {
    font-size: 12px !important;
}

/* Variation (Size, Gender) */
.woocommerce-checkout-review-order-table .variation {
    display: block !important;
    clear: none !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    color: #666 !important;
    line-height: 1.7 !important;
    overflow: hidden !important;
    list-style: none !important;
}

.woocommerce-checkout-review-order-table .variation dt {
    display: inline !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 4px 0 0 !important;
    font-size: 11px !important;
    float: none !important;
    clear: none !important;
}

.woocommerce-checkout-review-order-table .variation dd {
    display: inline !important;
    font-weight: 500 !important;
    color: #666 !important;
    margin: 0 12px 0 0 !important;
    font-size: 11px !important;
    float: none !important;
    clear: none !important;
}

.woocommerce-checkout-review-order-table .variation dd p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Clear float */
.woocommerce-checkout-review-order-table .cart_item td.product-name::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
    height: 0 !important;
}

/* Product total */
.woocommerce-checkout-review-order-table .cart_item td.product-total {
    text-align: right !important;
    padding: 20px 0 18px !important;
    font-weight: 700 !important;
    color: #111 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    width: 85px !important;
    vertical-align: top !important;
}

.woocommerce-checkout-review-order-table .cart_item td.product-total .amount {
    color: #111 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* ═══════════════════════════════════════════════════════════════
   7. FOOTER TOTALS (Subtotal, Shipping, Total)
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-checkout-review-order-table tfoot th {
    text-align: left !important;
    color: #555 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 12px 10px 12px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
    color: #111 !important;
    font-weight: 700 !important;
    padding: 12px 0 !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    border-top: 1px solid #f0f0f0 !important;
}

/* Save badge */
.ecomus-price-saved {
    display: block !important;
    font-size: 11px !important;
    color: #C77A39 !important;
    font-weight: 700 !important;
    margin-top: 3px !important;
}

/* Shipping row */
.woocommerce-shipping-totals .shipping-title {
    display: none !important;
}

.woocommerce-shipping-totals #shipping_method {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: right !important;
}

.woocommerce-shipping-totals #shipping_method li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-shipping-totals #shipping_method label {
    color: #C77A39 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: default !important;
}

/* Grand Total row */
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    padding-top: 16px !important;
    padding-bottom: 8px !important;
    font-size: 15px !important;
    color: #111 !important;
    border-top: 2px solid #111 !important;
    font-weight: 700 !important;
}

.woocommerce-checkout-review-order-table .order-total .amount {
    color: #C77A39 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

/* ═══════════════════════════════════════════════════════════════
   8. PAYMENT METHODS
   ═══════════════════════════════════════════════════════════════ */

#payment.woocommerce-checkout-payment {
    background: transparent !important;
    border: none !important;
    padding: 0 22px 22px !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#payment ul.payment_methods {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    list-style: none !important;
}

/* Each payment method - clean row */
#payment ul.payment_methods li {
    background: #fff !important;
    border: 1.5px solid #e5e5e5 !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    margin: 0 0 10px 0 !important;
    list-style: none !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    cursor: pointer !important;
}

#payment ul.payment_methods li:hover {
    border-color: #C77A39 !important;
    background: #fefaf5 !important;
}

/* Selected state (JS class) */
#payment ul.payment_methods li.payment-selected {
    border-color: #C77A39 !important;
    background: #fefaf5 !important;
}

/* Radio button - custom dark circle */
#payment ul.payment_methods li > input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    margin: 0 12px 0 0 !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #ccc !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    position: relative !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    float: none !important;
    order: 1 !important;
}

#payment ul.payment_methods li > input[type="radio"]:checked {
    border-color: #111 !important;
    background: #111 !important;
}

#payment ul.payment_methods li > input[type="radio"]:checked::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 6px !important;
    height: 6px !important;
    background: #fff !important;
    border-radius: 50% !important;
}

/* Payment label */
#payment ul.payment_methods li > label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
    color: #111 !important;
    cursor: pointer !important;
    text-transform: none !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
    flex: 1 !important;
    order: 2 !important;
    width: calc(100% - 35px) !important;
}

/* Payment icons */
#payment ul.payment_methods li label img {
    max-height: 24px !important;
    width: auto !important;
    margin: 0 0 0 auto !important;
    vertical-align: middle !important;
    display: inline-block !important;
    border-radius: 4px !important;
}

/* Payment box (card form) */
#payment div.payment_box {
    order: 3 !important;
    flex-basis: 100% !important;
    width: 100% !important;
    background: #fafafa !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    margin-top: 15px !important;
    padding: 18px !important;
    color: #333 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

#payment div.payment_box::before {
    display: none !important;
}

/* HIDE "Jackets" / "JACKETS" text via CSS */
.wc-stripe-gateway-desc {
    display: none !important;
}

/* Stripe card field */
#wc-stripe-card-element {
    background: #fff !important;
    border: 1.5px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    min-height: 50px !important;
    width: 100% !important;
}

/* Hide empty saved payment methods list */
.woocommerce-SavedPaymentMethods.wc-saved-payment-methods[data-count="0"] {
    display: none !important;
}

/* Save to account row */
#payment .woocommerce-SavedPaymentMethods-saveNew {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 15px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

#payment .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"] {
    accent-color: #C77A39 !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    order: 1 !important;
}

#payment .woocommerce-SavedPaymentMethods-saveNew label {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    display: inline !important;
    order: 2 !important;
}

/* ═══════════════════════════════════════════════════════════════
   9. PRIVACY POLICY TEXT
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-terms-and-conditions-wrapper {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
}

.woocommerce-privacy-policy-text {
    background: #f7f7f8 !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    border-left: 3px solid #C77A39 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #666 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    display: block !important;
}

.woocommerce-privacy-policy-text p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #666 !important;
    display: block !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.woocommerce-privacy-policy-text a {
    color: #C77A39 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* ═══════════════════════════════════════════════════════════════
   10. PLACE ORDER BUTTON
   ═══════════════════════════════════════════════════════════════ */

form.checkout .form-row.place-order {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    width: 100% !important;
    display: block !important;
}

#place_order {
    background: linear-gradient(135deg, #C77A39 0%, #a86529 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 18px 15px !important;
    border-radius: 10px !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    box-shadow: 0 4px 12px rgba(199, 122, 57, 0.25) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: block !important;
    float: none !important;
    line-height: 1.3 !important;
    height: auto !important;
    min-height: 56px !important;
    box-sizing: border-box !important;
}

#place_order:hover {
    background: linear-gradient(135deg, #a86529 0%, #8a521f 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(199, 122, 57, 0.35) !important;
}

/* ═══════════════════════════════════════════════════════════════
   11. SSL BADGE (added by JS)
   ═══════════════════════════════════════════════════════════════ */

.pbu-ssl-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    background: #fafafa !important;
    border-radius: 8px !important;
    margin-top: 15px !important;
    color: #555 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border: 1px solid #eee !important;
}

.pbu-ssl-badge svg {
    color: #C77A39 !important;
    flex-shrink: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   12. LOADING STATE
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-checkout.processing {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.blockUI.blockOverlay::before {
    border-top-color: #C77A39 !important;
}

/* ═══════════════════════════════════════════════════════════════
   13. RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .woocommerce-checkout article .woocommerce {
        padding: 0 20px;
    }
    
    form.checkout.woocommerce-checkout {
        grid-template-columns: minmax(0, 1fr) 380px !important;
        gap: 25px !important;
    }
    
    form.checkout #order_review_heading,
    form.checkout #order_review {
        max-width: 380px !important;
    }
}

@media (max-width: 992px) {
    form.checkout.woocommerce-checkout {
        grid-template-columns: 1fr !important;
    }
    
    form.checkout #customer_details.col2-set {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    form.checkout #order_review_heading {
        grid-column: 1 !important;
        grid-row: auto !important;
        max-width: 100% !important;
    }
    
    form.checkout #order_review {
        grid-column: 1 !important;
        grid-row: auto !important;
        max-width: 100% !important;
        position: relative !important;
        top: 0 !important;
    }
}

@media (max-width: 600px) {
    .woocommerce-checkout article .woocommerce {
        padding: 0 15px;
    }
    
    .woocommerce-billing-fields > h3,
    form.checkout #order_review_heading {
        font-size: 15px !important;
        padding: 16px 20px !important;
    }
    
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-additional-fields__field-wrapper {
        padding: 22px !important;
    }
    
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    #place_order {
        font-size: 14px !important;
        padding: 16px !important;
    }
    
    #payment.woocommerce-checkout-payment {
        padding: 0 15px 15px !important;
    }
}

@media (max-width: 480px) {
    .checkout-review-product-image,
    .checkout-review-product-image img {
        width: 55px !important;
        height: 55px !important;
    }
    
    .checkout-review-product-name {
        font-size: 12px !important;
    }
    
    .woocommerce-checkout-review-order-table .variation {
        font-size: 10px !important;
    }
    
    .woocommerce-checkout-review-order-table .cart_item td.product-total {
        font-size: 13px !important;
        width: 65px !important;
    }
    
    .woocommerce-checkout-review-order-table .order-total .amount {
        font-size: 18px !important;
    }
}