/* ==========================================================================
   WooCommerce — restyled to match Rental Products design system
   (Roboto + Ubuntu Sans, accent #6cbf3b)
   ========================================================================== */

.woocommerce, .woocommerce-page,
.woocommerce input, .woocommerce select, .woocommerce textarea,
.woocommerce button, .woocommerce .button {
    font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
.woocommerce h1, .woocommerce h2, .woocommerce h3,
.woocommerce-checkout h3, .woocommerce-cart h2 {
    font-family: 'Ubuntu Sans', 'Roboto', sans-serif !important;
    font-weight: 800 !important;
    color: #111;
}

/* Page width */
.woocommerce, .woocommerce-page {
    max-width: 1100px;
    margin: 0 auto;
    color: #444;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #place_order {
    background: #6cbf3b !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 4px !important;
    padding: 13px 30px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none !important;
    transition: background .15s, transform .1s;
    text-shadow: none !important;
    line-height: 1.2 !important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #place_order:hover {
    background: #5aa82d !important;
    transform: translateY(-1px);
}
.woocommerce #place_order {
    width: 100%;
    padding: 16px 30px !important;
    font-size: 16px !important;
}

/* Secondary / update buttons */
.woocommerce button[name="update_cart"],
.woocommerce .button.wc-backward {
    background: #1d1d1d !important;
}
.woocommerce button[name="update_cart"]:hover,
.woocommerce .button.wc-backward:hover {
    background: #000 !important;
}

/* --------------------------------------------------------------------------
   Form fields
   -------------------------------------------------------------------------- */
.woocommerce form .form-row label,
.woocommerce-checkout label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .select2-container .select2-selection,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.select2-container--default .select2-selection--single {
    border: 1px solid #d8d8d8 !important;
    border-radius: 4px !important;
    padding: 11px 14px !important;
    font-size: 15px !important;
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
    min-height: 46px;
    box-sizing: border-box;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px !important;
    padding: 0 !important;
    color: #222;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    outline: 0 !important;
    border-color: #6cbf3b !important;
    box-shadow: 0 0 0 3px rgba(108,191,59,0.15) !important;
}
.woocommerce form .form-row.woocommerce-invalid input.input-text {
    border-color: #d9534f !important;
}
.woocommerce form .form-row.woocommerce-validated input.input-text {
    border-color: #6cbf3b !important;
}
.required { color: #6cbf3b !important; }

/* --------------------------------------------------------------------------
   Cart table
   -------------------------------------------------------------------------- */
.woocommerce table.shop_table {
    border: 1px solid #ececec !important;
    border-radius: 6px !important;
    border-collapse: separate !important;
    overflow: hidden;
}
.woocommerce table.shop_table thead th {
    background: #fafafa;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-bottom: 2px solid #6cbf3b !important;
    padding: 14px 12px;
}
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
    padding: 16px 12px;
    vertical-align: middle;
}
.woocommerce table.shop_table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #f0f0f0;
}
.woocommerce table.shop_table img {
    width: 70px !important;
    height: 70px;
    object-fit: contain;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 3px;
}
.woocommerce a.remove {
    color: #d9534f !important;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 22px;
    font-weight: 700;
}
.woocommerce a.remove:hover {
    background: #d9534f !important;
    color: #fff !important;
}
.woocommerce .product-name a {
    color: #111;
    font-weight: 700;
    font-family: 'Ubuntu Sans', 'Roboto', sans-serif;
    text-decoration: none;
}
.woocommerce .product-name a:hover { color: #6cbf3b; }
.woocommerce .quantity .qty {
    border: 1px solid #d8d8d8 !important;
    border-radius: 4px;
    padding: 9px 8px;
    width: 70px;
    text-align: center;
}
.woocommerce .product-price,
.woocommerce .product-subtotal,
.woocommerce .amount {
    color: #111;
    font-weight: 600;
}
.woocommerce-cart .cart-collaterals .cart_totals .amount,
.woocommerce-checkout .amount { color: #6cbf3b; font-weight: 800; }

/* --------------------------------------------------------------------------
   Cart totals / order review
   -------------------------------------------------------------------------- */
.woocommerce .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .col-1 h3,
.woocommerce-checkout .col-2 h3,
.woocommerce-checkout h3#order_review_heading {
    font-size: 18px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6cbf3b;
    margin-bottom: 18px !important;
}
.woocommerce-checkout #payment {
    background: #fafafa !important;
    border: 1px solid #ececec;
    border-radius: 6px;
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #e6e6e6;
}
.woocommerce-checkout #payment div.payment_box {
    background: #fff !important;
    color: #555;
}
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #fff !important;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    border-top-color: #6cbf3b !important;
    border-radius: 4px;
    background: #f7faf3;
}
.woocommerce-info::before,
.woocommerce-message::before { color: #6cbf3b !important; }
.woocommerce-error { border-top-color: #d9534f !important; background: #fdf3f3; }
.woocommerce-error::before { color: #d9534f !important; }

/* Checkout two-column layout polish */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    background: #fafafa;
    border: 1px solid #ececec;
    border-top: 3px solid #6cbf3b;
    border-radius: 6px;
    padding: 24px;
    box-sizing: border-box;
}
@media (min-width: 769px) {
    .woocommerce-checkout .col2-set { display: flex; gap: 24px; }
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 { width: 50%; float: none; }
}
.woocommerce-checkout #order_review {
    background: #fafafa;
    border: 1px solid #ececec;
    border-top: 3px solid #6cbf3b;
    border-radius: 6px;
    padding: 24px;
    margin-top: 24px;
}

/* Coupon */
.woocommerce-cart .actions .coupon .input-text {
    min-height: 46px;
}

/* Breadcrumb / notices spacing */
.woocommerce-breadcrumb {
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}
.woocommerce-breadcrumb a { color: #6cbf3b; text-decoration: none; }
