/**
 * WooCommerce Custom Styles - Cart & Checkout
 * Matches tradeline-table.css design system
 */

/* ============================================
   COLOR VARIABLES (matching tradeline-table.css)
   ============================================ */
:root {
    --primary-yellow: #E8DC4F;
    --primary-yellow-hover: #dcc940;
    --dark-text: #2c3e50;
    --light-bg: #f8f9fa;
    --white-bg: #ffffff;
    --border-color: #d0d0d0;
    --border-light: #e8e8e8;
    --success-bg: #d4edda;
    --success-text: #155724;
}

/* ============================================
   CART PAGE STYLES
   ============================================ */

/* Cart Table */
.woocommerce-cart table.cart {
    border: 1px solid var(--border-light) !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: var(--white-bg) !important;
    margin-bottom: 30px !important;
}

.woocommerce-cart table.cart thead {
    background: var(--light-bg) !important;
}

.woocommerce-cart table.cart thead th {
    padding: 16px 20px !important;
    font-weight: 600 !important;
    color: var(--dark-text) !important;
    font-size: 14px !important;
    border-bottom: 2px solid var(--border-light) !important;
    text-align: left !important;
}

.woocommerce-cart table.cart tbody tr {
    border-bottom: 1px solid var(--border-light) !important;
    transition: background-color 0.2s;
}

.woocommerce-cart table.cart tbody tr:hover {
    background: #f9f9f9 !important;
}

.woocommerce-cart table.cart tbody td {
    padding: 20px !important;
    vertical-align: middle !important;
    color: #555 !important;
    border-top: none !important;
}

/* Product Name */
.woocommerce-cart table.cart .product-name a {
    color: var(--dark-text) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    font-size: 15px !important;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: var(--primary-yellow) !important;
}

/* Product Price */
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
    font-weight: 600 !important;
    color: var(--dark-text) !important;
    font-size: 16px !important;
}

/* Product Thumbnail - HIDE for virtual products */
.woocommerce-cart table.cart .product-thumbnail,
.woocommerce-cart table.cart th.product-thumbnail {
    display: none !important;
}

/* Quantity Input */
.woocommerce-cart table.cart .quantity input.qty {
    width: 60px !important;
    height: 40px !important;
    padding: 8px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 14px !important;
    transition: all 0.2s;
}

.woocommerce-cart table.cart .quantity input.qty:focus {
    outline: none !important;
    border-color: var(--primary-yellow) !important;
    box-shadow: 0 0 0 2px rgba(232, 220, 79, 0.2) !important;
}

/* Remove Button */
.woocommerce-cart table.cart .product-remove a.remove {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-radius: 4px !important;
    width: 28px !important;
    height: 28px !important;
    line-height: 26px !important;
    font-size: 18px !important;
    transition: all 0.2s !important;
}

.woocommerce-cart table.cart .product-remove a.remove:hover {
    background: #f5c6cb !important;
    transform: scale(1.1) !important;
}

/* Update Cart Button */
.woocommerce-cart table.cart .actions .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.woocommerce-cart table.cart .actions .coupon input.input-text {
    height: 40px !important;
    padding: 8px 12px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    flex: 1;
    min-width: 150px;
}

.woocommerce-cart table.cart .actions .coupon input.input-text:focus {
    outline: none !important;
    border-color: var(--primary-yellow) !important;
    box-shadow: 0 0 0 2px rgba(232, 220, 79, 0.2) !important;
}

/* Cart Collaterals - Cart Totals */
.cart-collaterals {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.cart-collaterals .cart_totals {
    background: var(--light-bg) !important;
    padding: 30px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-light) !important;
}

.cart-collaterals .cart_totals h2 {
    color: var(--dark-text);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart-collaterals .cart_totals table {
    border: none !important;
}

.cart-collaterals .cart_totals table th,
.cart-collaterals .cart_totals table td {
    padding: 12px !important;
    border: none !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.cart-collaterals .cart_totals table tr.order-total th,
.cart-collaterals .cart_totals table tr.order-total td {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    border-bottom: none !important;
    padding-top: 16px !important;
}

/* Shipping Calculator */
.woocommerce-shipping-calculator {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.woocommerce-shipping-calculator .form-row input,
.woocommerce-shipping-calculator .form-row select {
    height: 40px !important;
    padding: 8px 12px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */

/* Hide product images in checkout order summary */
.wc-block-components-order-summary-item__image,
.woocommerce-checkout-review-order-table .product-thumbnail {
    display: none !important;
}

/* Hide specific billing address input fields - leave wrappers for validation */
.wc-block-components-address-form__first_name input,
.wc-block-components-address-form__last_name input,
.wc-block-components-address-form__address_1 input,
.wc-block-components-address-form__address_2 input,
.wc-block-components-address-form__city input,
.wc-block-components-address-form__state select,
.wc-block-components-address-form__postcode input,
.wc-block-components-address-form__country select,
.wc-block-components-address-form__company input,
.wc-block-components-address-form__first_name label,
.wc-block-components-address-form__last_name label,
.wc-block-components-address-form__address_1 label,
.wc-block-components-address-form__address_2 label,
.wc-block-components-address-form__city label,
.wc-block-components-address-form__state label,
.wc-block-components-address-form__postcode label,
.wc-block-components-address-form__country label,
.wc-block-components-address-form__company label {
    display: none !important;
}

/* Hide the wrapper divs too */
.wc-block-components-address-form__first_name,
.wc-block-components-address-form__last_name,
.wc-block-components-address-form__address_1,
.wc-block-components-address-form__address_2,
.wc-block-components-address-form__city,
.wc-block-components-address-form__state,
.wc-block-components-address-form__postcode,
.wc-block-components-address-form__country,
.wc-block-components-address-form__company {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* But keep email and phone visible with important override */
.wc-block-components-address-form__email,
.wc-block-components-address-form__phone {
    display: block !important;
    height: auto !important;
}

/* Hide entire billing fields section title/wrapper and description */
.wc-block-checkout__billing-fields .wc-block-components-checkout-step__heading {
    display: none !important;
}

.wc-block-checkout__billing-fields .wc-block-components-checkout-step__description {
    display: none !important;
}

/* Keep email and phone visible - ALL possible selectors */
.wc-block-components-address-form__email,
.wc-block-components-address-form__phone,
#contact-fields,
#contact,
.wc-block-components-text-input.wc-block-components-address-form__email,
.wc-block-components-text-input.wc-block-components-address-form__phone,
input[type="email"],
input[type="tel"],
#billing-phone,
#shipping-phone,
.wc-block-components-address-form .wc-block-components-text-input {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    position: relative !important;
}

/* Hide payment method section completely */
#payment-method,
.wc-block-checkout__payment-method,
fieldset#payment-method {
    display: none !important;
}

/* Checkout container styling - simplified, no backgrounds */
.wc-block-components-sidebar-layout {
    background: transparent !important;
}

.wc-block-components-main {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.wc-block-components-sidebar {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Order details sidebar - no extra containers */
.wc-block-components-sidebar.wc-block-checkout__sidebar {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

/* Order summary block container */
.wp-block-woocommerce-checkout-order-summary-block {
    background: #fff !important;
    border-radius: 8px !important;
    border: 1px solid #e8e8e8 !important;
    padding: 20px !important;
}

/* Remove any nested borders */
.wc-block-components-checkout-order-summary__content {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Clean checkout layout with gap between columns */
.wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 50px !important;
    align-items: flex-start !important;
}

/* Main checkout fields column */
.wc-block-components-main.wc-block-checkout__main {
    flex: 0 1 50% !important;
    min-width: 0 !important;
}

/* Order summary sidebar column */
.wc-block-components-sidebar.wc-block-checkout__sidebar.is-large {
    flex: 0 1 50% !important;
    min-width: 0 !important;
}

/* Checkout Step Headers */
.wc-block-components-checkout-step__heading {
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid var(--primary-yellow) !important;
}

.wc-block-components-checkout-step__title {
    color: var(--dark-text) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.wc-block-components-checkout-step__description {
    color: #666 !important;
    font-size: 14px !important;
    margin: 15px 0 0 0 !important;
    line-height: 1.6 !important;
}

/* Contact Information - no background */
#contact-fields {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
}

fieldset#contact-fields {
    margin-bottom: 0 !important;
}

.wc-block-components-checkout-step {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Input Fields Styling - clean design */
.wc-block-components-text-input {
    position: relative;
    margin-bottom: 0 !important;
}

.wc-block-components-text-input input {
    width: 100% !important;
    height: 52px !important;
    padding: 12px 15px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    background: #fff !important;
    color: var(--dark-text) !important;
    transition: border-color 0.2s !important;
}

.wc-block-components-text-input input:focus {
    outline: none !important;
    border-color: var(--primary-yellow) !important;
    box-shadow: none !important;
}

.wc-block-components-text-input label {
    position: absolute;
    top: -8px;
    left: 10px;
    color: var(--primary-yellow) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: none !important;
    pointer-events: none;
    background: #fff;
    padding: 0 5px;
}

/* Contact fields container spacing */
#contact .wc-block-components-text-input {
    margin-bottom: 20px !important;
}

#contact .wc-block-components-text-input:last-child {
    margin-bottom: 0 !important;
}

/* Make phone field match email field styling */
.wc-block-components-address-form__phone {
    position: relative;
    margin-bottom: 20px !important;
}

.wc-block-components-address-form__phone label {
    font-size: 0 !important;
    position: absolute !important;
    top: -8px !important;
    left: 10px !important;
    color: var(--primary-yellow) !important;
    font-weight: 600 !important;
    background: #fff !important;
    padding: 0 5px !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transform: translateY(15px) scale(.75) !important;
}

.wc-block-components-address-form__phone label::before {
    content: "Телефон" !important;
    font-size: 12px !important;
}

.wc-block-components-address-form__phone input {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 12px 15px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    background: #fff !important;
    color: var(--dark-text) !important;
    transition: border-color 0.2s !important;
}

.wc-block-components-address-form__phone input:focus {
    outline: none !important;
    border-color: var(--primary-yellow) !important;
    box-shadow: none !important;
}

/* Order Summary Sidebar - clean design */
.wc-block-components-checkout-order-summary__title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 15px 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border-bottom: 2px solid var(--primary-yellow) !important;
    cursor: default !important;
    margin-bottom: 25px !important;
}

.wc-block-components-checkout-order-summary__title-text {
    color: var(--dark-text) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.wc-block-components-checkout-order-summary__title-price {
    color: var(--dark-text) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

/* Hide the expand arrow */
.wc-block-components-checkout-order-summary__title-icon {
    display: none !important;
}

/* Order Summary Items - compact design */
.wc-block-components-order-summary-item {
    display: flex !important;
    align-items: flex-start !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.wc-block-components-order-summary-item:first-child {
    padding-top: 0 !important;
}

.wc-block-components-order-summary-item:last-child {
    border-bottom: none !important;
}

.wc-block-components-order-summary-item__description {
    flex: 1 !important;
}

.wc-block-components-product-name {
    color: var(--dark-text) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.4 !important;
}

.wc-block-components-order-summary-item__individual-prices {
    color: #666 !important;
    font-size: 13px !important;
    display: block !important;
    margin-bottom: 4px !important;
}

.wc-block-components-order-summary-item__total-price {
    font-weight: 700 !important;
    color: var(--dark-text) !important;
    font-size: 16px !important;
    margin-left: 15px !important;
}

.wc-block-components-product-metadata {
    color: #999 !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    line-height: 1.5 !important;
}

.wc-block-components-product-metadata__description p {
    margin: 0 !important;
}

.wc-block-components-product-low-stock-badge {
    display: inline-block;
    background: #fff3cd !important;
    color: #856404 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
}

/* Totals Section - compact */
.wc-block-components-totals-wrapper {
    margin-top: 20px !important;
}

.wc-block-components-totals-item {
    display: flex !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.wc-block-components-totals-item__label {
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.wc-block-components-totals-item__value {
    color: var(--dark-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.wc-block-components-totals-footer-item {
    border-top: 2px solid var(--primary-yellow) !important;
    border-bottom: none !important;
    padding: 15px 0 0 0 !important;
    margin-top: 10px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    color: var(--dark-text) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--dark-text) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Payment Method - hidden anyway */

/* Coupon Panel - simplified */
.wc-block-components-totals-coupon {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    border: none !important;
}

.wc-block-components-panel__button {
    color: var(--dark-text) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.wc-block-components-panel__button:hover {
    color: var(--primary-yellow) !important;
}

/* Checkout Actions */
.wc-block-checkout__actions_row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-top: 25px !important;
}

.wc-block-components-checkout-return-to-cart-button {
    color: #666 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s !important;
}

.wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--dark-text) !important;
}

.wc-block-components-checkout-place-order-button {
    background: var(--primary-yellow) !important;
    color: var(--dark-text) !important;
    padding: 16px 50px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 2px 8px rgba(232, 220, 79, 0.3) !important;
}

.wc-block-components-checkout-place-order-button:hover {
    background: var(--primary-yellow-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(232, 220, 79, 0.5) !important;
}

.wc-block-components-checkout-place-order-button:disabled {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Terms and Conditions - simplified */
.wc-block-checkout__terms {
    padding: 15px 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 20px 0 !important;
    border: none !important;
}

.wc-block-checkout__terms .wc-block-components-checkbox__label {
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.wc-block-checkout__terms a {
    color: var(--primary-yellow) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.wc-block-checkout__terms a:hover {
    text-decoration: underline !important;
}

/* Checkbox Styling */
.wc-block-components-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.wc-block-components-checkbox__input {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid var(--border-color) !important;
    border-radius: 4px !important;
    accent-color: var(--primary-yellow) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.wc-block-components-checkbox__mark {
    width: 18px !important;
    height: 18px !important;
    fill: var(--primary-yellow) !important;
}

.wc-block-components-checkbox__label {
    font-size: 14px !important;
    color: var(--dark-text) !important;
    line-height: 1.5 !important;
}

/* Order Notes - simplified */
.wc-block-checkout__order-notes {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 20px 0 !important;
    border: none !important;
}

.wc-block-checkout__add-note {
    margin-bottom: 15px !important;
}

/* Hide duplicate order summary on desktop - show only in sidebar */
.wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper {
    display: none !important;
}

/* Show order summary in actions only on mobile */
@media (max-width: 782px) {
    /* Hide sidebar order summary on mobile */
    .wc-block-components-sidebar.wc-block-checkout__sidebar {
        display: none !important;
    }

    /* Show order summary in actions on mobile */
    .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper {
        display: block !important;
        margin-bottom: 20px !important;
    }

    /* Make actions section full width on mobile */
    .wc-block-checkout__actions {
        width: 100% !important;
    }
}

/* Responsive for Checkout Blocks */
@media (max-width: 1024px) {
    .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .wc-block-components-main.wc-block-checkout__main,
    .wc-block-components-sidebar.wc-block-checkout__sidebar.is-large {
        flex: 0 1 100% !important;
    }
}

@media (max-width: 768px) {
    .wc-block-components-sidebar-layout.wc-block-checkout {
        padding: 20px 15px !important;
        gap: 20px !important;
    }

    .wc-block-checkout__actions_row {
        flex-direction: column-reverse !important;
        gap: 15px !important;
    }

    .wc-block-components-checkout-return-to-cart-button,
    .wc-block-components-checkout-place-order-button {
        width: 100% !important;
        justify-content: center !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block {
        padding: 15px !important;
    }

    /* Better mobile spacing for checkout steps */
    .wc-block-components-checkout-step {
        margin-bottom: 20px !important;
        padding-top: 0 !important;
    }

    .wc-block-components-checkout-step__heading {
        margin-bottom: 15px !important;
        padding-bottom: 15px !important;
    }

    .wc-block-components-checkout-step__title {
        font-size: 18px !important;
    }

    /* Mobile input fields - remove ALL horizontal lines */
    .wc-block-components-text-input,
    .wc-block-components-address-form__phone {
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
    }

    .wc-block-components-text-input::before,
    .wc-block-components-text-input::after,
    .wc-block-components-address-form__phone::before,
    .wc-block-components-address-form__phone::after {
        content: none !important;
        display: none !important;
        border: none !important;
    }

    .wc-block-components-text-input input,
    .wc-block-components-address-form__phone input {
        font-size: 16px !important; /* Prevents zoom on iOS */
        border: 1px solid #d0d0d0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    /* Remove ALL horizontal lines in contact section */
    #contact,
    #contact-fields,
    #contact .wc-block-components-text-input,
    fieldset#contact-fields,
    .wc-block-checkout__contact-fields,
    .wc-block-checkout__contact-fields fieldset,
    #contact > *,
    #contact-fields > * {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
        margin-bottom: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .wc-block-components-checkout-step__content,
    .wc-block-components-checkout-step__container,
    .wc-block-components-checkout-step__content > *,
    .wc-block-components-checkout-step__container > * {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        padding-top: 0 !important;
        box-shadow: none !important;
    }

    /* Force remove ALL borders everywhere in contact section */
    .wc-block-checkout__contact-fields *,
    #contact *,
    #contact-fields * {
        border-top: none !important;
        border-bottom: none !important;
    }

    /* Keep only input borders */
    .wc-block-components-text-input input,
    .wc-block-components-address-form__phone input {
        border: 1px solid #d0d0d0 !important;
        border-top: 1px solid #d0d0d0 !important;
        border-bottom: 1px solid #d0d0d0 !important;
    }

    /* Remove any pseudo-element borders */
    .wc-block-components-text-input::before,
    .wc-block-components-text-input::after,
    #contact::before,
    #contact::after,
    #contact-fields::before,
    #contact-fields::after,
    .wc-block-checkout__contact-fields::before,
    .wc-block-checkout__contact-fields::after {
        content: none !important;
        display: none !important;
        border: none !important;
        height: 0 !important;
    }

    /* Mobile order summary - compact layout */
    .wc-block-components-order-summary-item {
        padding: 10px 0 !important;
        margin-bottom: 8px !important;
        background: transparent !important;
        border-radius: 0 !important;
        border-bottom: none !important;
        display: block !important;
    }

    .wp-block-woocommerce-checkout-order-summary-cart-items-block {
        padding: 0 !important;
    }

    .wc-block-components-order-summary__content {
        padding: 0 !important;
    }

    .wc-block-components-order-summary-item__image {
        display: none !important; /* Hide images on mobile for cleaner look */
    }

    .wc-block-components-order-summary-item__description {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    .wc-block-components-product-name {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        display: block !important;
    }

    .wc-block-components-order-summary-item__individual-prices {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        display: block !important;
    }

    .wc-block-components-product-metadata {
        font-size: 11px !important;
        color: #777 !important;
        margin-top: 4px !important;
    }

    .wc-block-components-order-summary-item__total-price {
        margin-top: 6px !important;
        padding-top: 6px !important;
        border-top: 1px solid #e0e0e0 !important;
        text-align: right !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .wc-block-components-product-badge {
        margin-top: 4px !important;
        display: inline-block !important;
        font-size: 10px !important;
        padding: 2px 6px !important;
    }

    /* Order summary title on mobile */
    .wc-block-components-checkout-order-summary__title-text {
        font-size: 18px !important;
    }

    .wc-block-components-checkout-order-summary__title-price {
        font-size: 16px !important;
    }

    /* Coupon and totals section on mobile - add padding */
    .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
    .wp-block-woocommerce-checkout-order-summary-totals-block,
    .wc-block-components-totals-wrapper {
        padding: 0 15px !important;
    }

    .wc-block-components-totals-coupon {
        padding: 12px 0 !important;
        margin-bottom: 15px !important;
    }

    /* Totals section on mobile */
    .wc-block-components-totals-item {
        padding: 10px 0 !important;
        font-size: 14px !important;
    }

    .wc-block-components-totals-footer-item {
        padding: 12px 15px 12px 15px !important;
    }

    .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
        font-size: 15px !important;
    }

    .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
        font-size: 18px !important;
    }

    /* Add padding to order summary container on mobile */
    .wp-block-woocommerce-checkout-order-summary-block {
        padding: 15px !important;
    }

    .checkout-order-summary-block-fill {
        padding: 0 !important;
    }

    /* Fix order summary item spacing */
    .wc-block-components-order-summary {
        padding: 0 !important;
    }

    .wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
        margin-left: 0 !important;
    }

    .wc-block-components-order-summary .wc-block-components-order-summary-item__description {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Remove horizontal line after checkout step */
    .wc-block-components-form .wc-block-components-checkout-step::after,
    .wc-block-components-form .wc-block-components-checkout-step::before {
        content: none !important;
        display: none !important;
        border: none !important;
        height: 0 !important;
    }
}

/* ============================================
   CLASSIC CHECKOUT STYLES
   ============================================ */

/* Hide unnecessary billing fields - keep only email, phone, and order notes */
.woocommerce-billing-fields #billing_first_name_field,
.woocommerce-billing-fields #billing_last_name_field,
.woocommerce-billing-fields #billing_company_field,
.woocommerce-billing-fields #billing_address_1_field,
.woocommerce-billing-fields #billing_address_2_field,
.woocommerce-billing-fields #billing_city_field,
.woocommerce-billing-fields #billing_state_field,
.woocommerce-billing-fields #billing_postcode_field,
.woocommerce-billing-fields #billing_country_field {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Keep email, phone and order notes visible */
.woocommerce-billing-fields #billing_email_field,
.woocommerce-billing-fields #billing_phone_field,
.woocommerce-additional-fields #order_comments_field {
    display: block !important;
    visibility: visible !important;
}

/* Clean checkout container */
.woocommerce-checkout {
    padding: 0 !important;
}

/* Fix alignwide class breaking layout */
.woocommerce-checkout .alignwide,
.woocommerce-cart .alignwide,
.woocommerce .alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline: 0 !important;
}

/* Style the coupon banner */
.woocommerce-form-coupon-toggle {
    background: linear-gradient(135deg, #E8DC4F 0%, #dcc940 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 2px 8px rgba(232, 220, 79, 0.3) !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: transparent !important;
    color: var(--dark-text) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    color: var(--dark-text) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon:hover {
    text-decoration: none !important;
}

/* Style the coupon form when expanded */
.checkout_coupon {
    background: #fff !important;
    border: 2px solid var(--primary-yellow) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
}

.checkout_coupon p {
    margin-bottom: 15px !important;
}

.checkout_coupon .form-row {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-end !important;
}

.checkout_coupon input.input-text {
    flex: 1 !important;
    height: 45px !important;
    padding: 10px 15px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
}

.checkout_coupon input.input-text:focus {
    outline: none !important;
    border-color: var(--primary-yellow) !important;
    box-shadow: 0 0 0 2px rgba(232, 220, 79, 0.2) !important;
}

.checkout_coupon button.button {
    height: 45px !important;
    padding: 10px 25px !important;
    background: var(--primary-yellow) !important;
    color: var(--dark-text) !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.checkout_coupon button.button:hover {
    background: var(--primary-yellow-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(232, 220, 79, 0.4) !important;
}

/* Style "Согласовать с менеджером" section */
.woocommerce-checkout .woocommerce-additional-fields {
    background: #fff !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #e8e8e8 !important;
    margin-bottom: 20px !important;
}

/* Order comments field - will be overridden below for specific styling */

/* Style privacy policy text */
.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper p {
    background: #fff !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #555 !important;
}

.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a {
    color: var(--primary-yellow) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.woocommerce-privacy-policy-text a:hover,
.woocommerce-terms-and-conditions-wrapper a:hover {
    color: var(--primary-yellow-hover) !important;
    text-decoration: none !important;
}

/* ============================================
   BUTTONS - UNIFIED YELLOW THEME
   ============================================ */

/* All WooCommerce Buttons */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
.woocommerce-page button.button,
.woocommerce-page a.button,
.woocommerce-page input.button,
.woocommerce-page #respond input#submit {
    background: var(--primary-yellow) !important;
    background-color: var(--primary-yellow) !important;
    color: var(--dark-text) !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: none !important;
    line-height: normal !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page input.button:hover,
.woocommerce-page #respond input#submit:hover {
    background: var(--primary-yellow-hover) !important;
    background-color: var(--primary-yellow-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(232, 220, 79, 0.4) !important;
    text-decoration: none !important;
    color: var(--dark-text) !important;
}

.woocommerce button.button:active,
.woocommerce a.button:active,
.woocommerce input.button:active {
    transform: translateY(0) !important;
}

/* Alt Buttons (Primary Action) - Also Yellow */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page button.button.alt,
.woocommerce-page a.button.alt,
.woocommerce-page input.button.alt {
    background: var(--primary-yellow) !important;
    background-color: var(--primary-yellow) !important;
    color: var(--dark-text) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 40px !important;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
    background: var(--primary-yellow-hover) !important;
    background-color: var(--primary-yellow-hover) !important;
    color: var(--dark-text) !important;
}

/* Disabled Buttons */
.woocommerce button.button:disabled,
.woocommerce button.button:disabled:hover,
.woocommerce button.button.disabled,
.woocommerce button.button.disabled:hover {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout a.checkout-button {
    background: var(--primary-yellow) !important;
    background-color: var(--primary-yellow) !important;
    color: var(--dark-text) !important;
    padding: 16px 40px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-align: center !important;
    transition: all 0.3s !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--primary-yellow-hover) !important;
    background-color: var(--primary-yellow-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(232, 220, 79, 0.4) !important;
    color: var(--dark-text) !important;
}

/* ============================================
   NOTICES & MESSAGES
   ============================================ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--white-bg) !important;
    border-left: 4px solid var(--primary-yellow) !important;
    border-radius: 6px !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.woocommerce-message {
    border-left-color: var(--success-text) !important;
    background: var(--success-bg) !important;
}

.woocommerce-message::before {
    color: var(--success-text) !important;
}

.woocommerce-error {
    border-left-color: #dc3545 !important;
    background: #f8d7da !important;
}

.woocommerce-error::before {
    color: #dc3545 !important;
}

.woocommerce-info {
    border-left-color: #1e85be !important;
    background: #d1ecf1 !important;
}

.woocommerce-info::before {
    color: #1e85be !important;
}

/* ============================================
   PRODUCT POPUP IN CART
   ============================================ */

/* Product Popup Container */
.cart-product-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-product-popup.active {
    display: flex;
}

/* Popup Overlay */
.cart-product-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Popup Content Box */
.cart-product-popup-content {
    position: relative;
    background: var(--white-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-product-popup.active .cart-product-popup-content {
    transform: scale(1);
    opacity: 1;
}

/* Close Button */
.cart-product-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-product-popup-close:hover {
    color: #333;
    background: #f0f0f0;
    transform: rotate(90deg);
}

/* Product Info in Popup */
.cart-product-popup-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-yellow);
}

.cart-product-popup-header h2 {
    color: var(--dark-text);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.cart-product-popup-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-yellow);
    margin: 15px 0;
}

.cart-product-popup-description {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cart-product-popup-description h3 {
    color: var(--dark-text);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.cart-product-popup-description p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.cart-product-popup-description ul {
    margin: 10px 0;
    padding-left: 20px;
    color: #555;
}

.cart-product-popup-description li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Product Meta */
.cart-product-popup-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.cart-product-meta-item {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 6px;
}

.cart-product-meta-item strong {
    display: block;
    color: var(--dark-text);
    font-size: 13px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.cart-product-meta-item span {
    color: #555;
    font-size: 16px;
}

/* Popup Actions */
.cart-product-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.cart-product-popup-button {
    background: var(--primary-yellow) !important;
    color: var(--dark-text) !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
}

.cart-product-popup-button:hover {
    background: var(--primary-yellow-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(232, 220, 79, 0.4) !important;
}

.cart-product-popup-button.secondary {
    background: transparent !important;
    border: 2px solid var(--border-color) !important;
    color: #666 !important;
}

.cart-product-popup-button.secondary:hover {
    background: var(--light-bg) !important;
    border-color: var(--dark-text) !important;
    color: var(--dark-text) !important;
}

/* Loading State */
.cart-product-popup-loading {
    text-align: center;
    padding: 60px 20px;
}

.cart-product-popup-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-yellow);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Make product name clickable but change cursor */
.woocommerce-cart table.cart .product-name a {
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-product-popup-content {
        width: 95%;
        padding: 30px 20px;
    }

    .cart-product-popup-close {
        top: 10px;
        right: 10px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }

    .cart-product-popup-header h2 {
        font-size: 20px;
    }

    .cart-product-popup-price {
        font-size: 24px;
    }

    .cart-product-popup-meta {
        grid-template-columns: 1fr;
    }

    .cart-product-popup-actions {
        flex-direction: column;
    }

    .cart-product-popup-button {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Cart responsive */
    .woocommerce-cart table.cart thead {
        display: none;
    }

    .woocommerce-cart table.cart tbody tr {
        display: block;
        margin-bottom: 20px;
        border: none !important;
        border-radius: 8px;
        padding: 15px;
    }

    .woocommerce-cart table.cart tbody td {
        display: block;
        text-align: left !important;
        padding: 8px 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .woocommerce-cart table.cart tbody td::before {
        content: attr(data-title) ": ";
        font-weight: 600;
        color: var(--dark-text);
    }

    .woocommerce-cart table.cart .product-thumbnail {
        text-align: center;
    }

    /* Remove alternating row background in responsive tables */
    .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
    .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
        background: transparent !important;
    }

    .cart-collaterals {
        margin-top: 20px;
    }

    /* Checkout mobile responsive */
    .woocommerce-checkout {
        padding: 0 !important;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100% !important;
        float: none !important;
        padding: 0 15px !important;
    }

    /* Checkout form fields on mobile */
    .woocommerce-checkout .form-row {
        margin-bottom: 15px !important;
    }

    .woocommerce-checkout .form-row input.input-text,
    .woocommerce-checkout .form-row textarea,
    .woocommerce-checkout .form-row select {
        font-size: 16px !important; /* Prevents iOS auto-zoom */
        padding: 12px 15px !important;
        height: 48px !important;
    }

    .woocommerce-checkout .form-row textarea {
        height: auto !important;
        min-height: 80px !important;
    }

    /* Checkout section headers on mobile */
    .woocommerce-checkout h3 {
        font-size: 18px !important;
        padding: 0 15px !important;
    }

    /* Coupon banner on mobile */
    .woocommerce-form-coupon-toggle {
        margin: 0 15px 20px 15px !important;
        padding: 12px 15px !important;
    }

    .woocommerce-form-coupon-toggle .woocommerce-info {
        font-size: 14px !important;
    }

    /* Coupon form on mobile */
    .checkout_coupon {
        margin: 0 15px 20px 15px !important;
        padding: 15px !important;
    }

    .checkout_coupon .form-row {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .checkout_coupon input.input-text,
    .checkout_coupon button.button {
        width: 100% !important;
    }

    /* Order review on mobile */
    #order_review,
    #order_review_heading {
        padding: 0 15px !important;
    }

    .woocommerce-checkout-review-order {
        margin: 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    /* Order review table on mobile */
    .woocommerce-checkout-review-order-table {
        font-size: 14px !important;
    }

    .woocommerce-checkout-review-order-table .product-name {
        font-size: 14px !important;
    }

    .woocommerce-checkout-review-order-table .product-total {
        font-size: 15px !important;
    }

    /* Payment section on mobile */
    #payment {
        padding: 0 15px !important;
    }

    /* Place order button on mobile */
    #place_order {
        width: 100% !important;
        padding: 14px 30px !important;
        font-size: 15px !important;
    }

    /* Additional fields (order notes) on mobile */
    .woocommerce-additional-fields {
        padding: 0 15px !important;
    }

    /* All buttons full width on mobile */
    .woocommerce button.button,
    .woocommerce a.button,
    .woocommerce input.button {
        width: 100% !important;
        text-align: center !important;
    }

    /* Terms and conditions on mobile */
    .woocommerce-terms-and-conditions-wrapper {
        padding: 0 15px !important;
    }

    .woocommerce-privacy-policy-text {
        padding: 0 15px !important;
        font-size: 12px !important;
    }
}

/* ============================================
   READ MORE BUTTONS (HOMEPAGE)
   ============================================ */

/* Read More Buttons - Yellow Theme */
.read-more-btn {
    background: var(--primary-yellow) !important;
    background-color: var(--primary-yellow) !important;
    color: var(--dark-text) !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

/* Hide btn-icon in read more buttons */
.read-more-btn .btn-icon {
    display: none !important;
}

.read-more-btn:hover,
.read-more-btn:focus {
    background: var(--primary-yellow-hover) !important;
    background-color: var(--primary-yellow-hover) !important;
    color: var(--dark-text) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(232, 220, 79, 0.4) !important;
    text-decoration: none !important;
}

.read-more-btn:active {
    transform: translateY(0) !important;
}

/* ============================================
   ADDITIONAL ENHANCEMENTS
   ============================================ */

/* Coupon Code Success */
.woocommerce-message .button {
    background: var(--primary-yellow) !important;
    color: var(--dark-text) !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    float: right;
    margin-top: -2px;
}

/* Loading State */
.woocommerce .blockUI.blockOverlay {
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px;
}

/* Select2 Dropdowns */
.woocommerce .select2-container--default .select2-selection--single {
    border: 1px solid var(--border-color) !important;
    border-radius: 4px !important;
    height: 40px !important;
    padding: 6px 12px !important;
}

.woocommerce .select2-container--default .select2-selection--single:focus,
.woocommerce .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary-yellow) !important;
    box-shadow: 0 0 0 2px rgba(232, 220, 79, 0.2) !important;
}

/* Quantity Buttons (if using plus/minus buttons) */
.woocommerce .quantity .qty-button {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.woocommerce .quantity .qty-button:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

/* ============================================
   CHECKOUT PAGE ADDITIONAL FIXES
   ============================================ */

/* Remove box-shadow from info element on checkout page */
.woocommerce-checkout .woocommerce-info {
    box-shadow: none !important;
}

/* Remove border and padding from order comments field - more specific selector */
.woocommerce-checkout .woocommerce-additional-fields #order_comments_field,
.woocommerce-checkout #order_comments_field {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

/* Make payment section background white */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: #fff !important;
}

/* Hide payment methods list (except on order-pay page where user needs to pay) */
body:not(.woocommerce-order-pay) .wc_payment_methods.payment_methods.methods {
    display: none !important;
}

/* Remove float from place order button */
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    float: none !important;
}

/* ============================================
   STRIPE PAYMENT FIELDS CUSTOM STYLING
   Yellow theme with dark gray (#152334)

   TO REMOVE: Delete this entire section
   ============================================ */

/* Stripe payment method container */
.payment_method_stripe .payment_box {
    background: #ffffff !important;
    border: 2px solid #E8DC4F !important;
    border-radius: 8px !important;
    padding: 25px !important;
    margin-top: 15px !important;
}

/* Stripe UPE form container */
#wc-stripe-upe-form,
#wc-stripe_klarna-upe-form {
    background: transparent !important;
}

/* Stripe Elements container - remove gray background */
.wc-stripe-upe-element {
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 12px !important;
    transition: all 0.3s ease !important;
}

/* Stripe Elements on focus - yellow border */
.wc-stripe-upe-element.StripeElement--focus {
    border-color: #E8DC4F !important;
    box-shadow: 0 0 0 2px rgba(232, 220, 79, 0.2) !important;
}

/* Stripe Elements on error */
.wc-stripe-upe-element.StripeElement--invalid {
    border-color: #dc3545 !important;
}

/* Payment method label styling */
.payment_method_stripe label,
.payment_method_stripe_klarna label {
    color: #152334 !important;
    font-weight: 600 !important;
}

/* Radio button selected state - yellow accent */
#payment_method_stripe:checked + label::before,
#payment_method_stripe_klarna:checked + label::before {
    background-color: #E8DC4F !important;
    border-color: #E8DC4F !important;
}

/* Save payment method checkbox */
#wc-stripe-new-payment-method {
    accent-color: #E8DC4F !important;
}

/* Error messages styling */
#wc-stripe-upe-errors,
#wc-stripe_klarna-upe-errors {
    color: #dc3545 !important;
    font-size: 14px !important;
    margin-top: 10px !important;
}

/* Remove default purple/gray background from Stripe iframe */
.wc-stripe-upe-element iframe {
    background: transparent !important;
}

/* END STRIPE CUSTOM STYLING */

/* ============================================
   ORDER RECEIVED PAGE (Thank You Page)
   ============================================ */

/* Hide customer details section */
.woocommerce-customer-details {
    display: none !important;
}

/* Order details table - make product links black and non-clickable */
.woocommerce-order-details .woocommerce-table--order-details .product-name a,
.woocommerce-order-details .woocommerce-table--order-details td.product-name a {
    color: #000 !important;
    color: var(--dark-text) !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: default !important;
}

.woocommerce-order-details .woocommerce-table--order-details .product-name a:hover,
.woocommerce-order-details .woocommerce-table--order-details td.product-name a:hover {
    color: #000 !important;
    color: var(--dark-text) !important;
    text-decoration: none !important;
}
