/* =========================================
   WooCommerce Cart & Checkout – Complete Redesign
   Akülü Sandalyeci Theme
   Targets: WC Blocks + Classic Shortcode output
   ========================================= */

/* ─── PAGE WRAPPER ─── */
.woocommerce-cart .page-content,
.woocommerce-checkout .page-content,
.woocommerce-cart .page-content__inner,
.woocommerce-checkout .page-content__inner {
    background: #f1f5f9 !important;
    padding: 2rem 0 4rem !important;
    max-width: 100% !important;
    border: none !important;
    box-shadow: none !important;
}

.woocommerce-cart .page-hero,
.woocommerce-checkout .page-hero {
    background: linear-gradient(135deg, #1B4D8E 0%, #0f2d52 100%) !important;
    padding: 2rem 0 !important;
}

.woocommerce-cart .page-hero h1,
.woocommerce-checkout .page-hero h1 {
    color: #fff !important;
    font-size: 1.75rem !important;
}

.woocommerce-cart .breadcrumb,
.woocommerce-checkout .breadcrumb {
    color: rgba(255,255,255,0.7) !important;
}

.woocommerce-cart .breadcrumb a,
.woocommerce-checkout .breadcrumb a {
    color: rgba(255,255,255,0.85) !important;
}

/* ─── WC NOTICES ─── */
.woocommerce-notices-wrapper {
    margin-bottom: 1.5rem !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 1rem 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    font-size: 0.925rem !important;
    margin-bottom: 1rem !important;
}

.woocommerce-message {
    border-left: 4px solid #10b981 !important;
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
    border-left: 4px solid #ef4444 !important;
}

.woocommerce-info,
.wc-block-components-notice-banner.is-info {
    border-left: 4px solid #1B4D8E !important;
}

/* ─── EMPTY CART ─── */
.cart-empty-message,
.wc-block-cart__empty-cart__title,
.cart-empty.woocommerce-info {
    text-align: center !important;
    padding: 4rem 2.5rem !important;
    background: #fff !important;
    border-radius: 20px !important;
    border: 2px dashed #cbd5e1 !important;
    max-width: 520px !important;
    margin: 2rem auto !important;
    font-size: 1.1rem !important;
    color: #475569 !important;
    box-shadow: none !important;
}

.return-to-shop,
.wc-block-cart__empty-cart__actions {
    text-align: center !important;
    margin-top: 0 !important;
}

.return-to-shop .button,
.return-to-shop .wc-backward,
.wc-block-cart__empty-cart__actions .wc-block-components-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.9rem 2rem !important;
    background: linear-gradient(135deg, #1B4D8E 0%, #153d6f 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(27,77,142,0.3) !important;
    margin-top: 1rem !important;
}

.return-to-shop .button:hover,
.return-to-shop .wc-backward:hover {
    background: linear-gradient(135deg, #153d6f 0%, #0f2d52 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(27,77,142,0.4) !important;
}

/* =========================================
   WC BLOCK CART
   ========================================= */

.wp-block-woocommerce-cart,
.wc-block-cart {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Cart layout grid */
.wc-block-cart .wc-block-cart__main,
.wp-block-woocommerce-filled-cart-block {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 2rem !important;
    align-items: start !important;
}

/* Cart items area */
.wc-block-cart__items,
.wp-block-woocommerce-cart-items-block {
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Cart items table */
.wc-block-cart-items {
    border: none !important;
}

.wc-block-cart-items thead {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.wc-block-cart-items thead th {
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #64748b !important;
    padding: 1rem 1.25rem !important;
}

.wc-block-cart-items .wc-block-cart-items__row {
    border-bottom: 1px solid #f1f5f9 !important;
    transition: background 0.2s ease !important;
}

.wc-block-cart-items .wc-block-cart-items__row:hover {
    background: #fafbfd !important;
}

.wc-block-cart-items .wc-block-cart-items__row td {
    padding: 1.25rem !important;
    vertical-align: middle !important;
}

/* Product image in cart */
.wc-block-cart-item__image img,
.wc-block-cart-items .wc-block-components-product-image img {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
}

/* Product name */
.wc-block-cart-item__product .wc-block-components-product-name,
.wc-block-components-product-name {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.wc-block-components-product-name:hover {
    color: #1B4D8E !important;
}

/* Product metadata */
.wc-block-components-product-metadata {
    font-size: 0.8rem !important;
    color: #94a3b8 !important;
    margin-top: 0.25rem !important;
}

/* Quantity selector */
.wc-block-components-quantity-selector {
    display: inline-flex !important;
    align-items: center !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    transition: border-color 0.2s !important;
}

.wc-block-components-quantity-selector:hover,
.wc-block-components-quantity-selector:focus-within {
    border-color: #1B4D8E !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    width: 38px !important;
    height: 38px !important;
    border: none !important;
    background: #f8fafc !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
    background: #e2e8f0 !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    width: 48px !important;
    height: 38px !important;
    border: none !important;
    border-left: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    background: #fff !important;
    -moz-appearance: textfield !important;
    padding: 0 !important;
    outline: none !important;
}

.wc-block-components-quantity-selector input::-webkit-outer-spin-button,
.wc-block-components-quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Remove button */
.wc-block-cart-item__remove-link,
.wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    font-size: 0.8rem !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0.35rem 0.75rem !important;
    transition: all 0.25s ease !important;
    background: #fff !important;
    display: inline-block !important;
    margin-top: 0.5rem !important;
}

.wc-block-cart-item__remove-link:hover {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
}

/* Price in cart items */
.wc-block-cart-item__prices .wc-block-components-product-price,
.wc-block-cart-items .wc-block-components-product-price__value {
    font-weight: 800 !important;
    font-size: 1rem !important;
    color: #1B4D8E !important;
}

.wc-block-components-product-price .wc-block-components-product-price__regular {
    text-decoration: line-through !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
}

/* ─── Cart Sidebar / Totals ─── */
.wc-block-cart__totals-title,
.wp-block-woocommerce-cart-order-summary-heading-block {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin-bottom: 1rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

.wc-block-cart__sidebar,
.wp-block-woocommerce-cart-totals-block {
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.02) !important;
    padding: 1.75rem !important;
    position: sticky !important;
    top: 100px !important;
}

/* Totals rows */
.wc-block-components-totals-wrapper,
.wc-block-components-totals-item {
    border-color: #f1f5f9 !important;
}

.wc-block-components-totals-item .wc-block-components-totals-item__label {
    font-size: 0.925rem !important;
    color: #475569 !important;
}

.wc-block-components-totals-item .wc-block-components-totals-item__value {
    font-weight: 700 !important;
    color: #1e293b !important;
}

/* Grand total */
.wc-block-components-totals-footer-item {
    border-top: 2px solid #1e293b !important;
    margin-top: 0.5rem !important;
    padding-top: 1rem !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #1B4D8E !important;
}

/* Coupon form in cart */
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon-link {
    color: #1B4D8E !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
}

.wc-block-components-totals-coupon__content input {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    transition: border-color 0.2s !important;
}

.wc-block-components-totals-coupon__content input:focus {
    border-color: #1B4D8E !important;
    box-shadow: 0 0 0 3px rgba(27,77,142,0.1) !important;
    outline: none !important;
}

.wc-block-components-totals-coupon__content button {
    background: #1B4D8E !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.wc-block-components-totals-coupon__content button:hover {
    background: #153d6f !important;
}

/* Proceed to Checkout button */
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 1.05rem 1.5rem !important;
    background: linear-gradient(135deg, #1B4D8E 0%, #153d6f 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(27,77,142,0.3) !important;
    letter-spacing: 0.3px !important;
    text-decoration: none !important;
    margin-top: 1rem !important;
}

.wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover {
    background: linear-gradient(135deg, #153d6f 0%, #0f2d52 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(27,77,142,0.4) !important;
}

/* Free shipping note */
.wc-block-components-totals-shipping .wc-block-components-totals-shipping__via,
.wc-block-components-shipping-rates-control {
    color: #10b981 !important;
    font-weight: 600 !important;
}

/* =========================================
   WC BLOCK CHECKOUT
   ========================================= */

.wp-block-woocommerce-checkout,
.wc-block-checkout {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Checkout grid layout */
.wc-block-checkout .wc-block-checkout__main,
.wp-block-woocommerce-checkout-fields-block {
    display: contents !important;
}

.wc-block-checkout__form {
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    padding: 2rem !important;
}

/* Checkout sections */
.wc-block-checkout__contact-fields,
.wc-block-checkout__billing-fields,
.wc-block-checkout__shipping-fields,
.wc-block-checkout__shipping-option,
.wc-block-checkout__payment-method {
    margin-bottom: 2rem !important;
    padding-bottom: 2rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.wc-block-checkout__payment-method {
    border-bottom: none !important;
}

/* Section titles in checkout */
.wc-block-checkout__contact-fields legend,
.wc-block-checkout__billing-fields legend,
.wc-block-checkout__shipping-fields legend,
.wc-block-checkout .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__title,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
}

/* Checkout step numbers */
.wc-block-components-checkout-step__heading-counter {
    width: 28px !important;
    height: 28px !important;
    background: #1B4D8E !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
}

/* Form fields */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"],
.wc-block-checkout input[type="password"],
.wc-block-checkout input[type="number"],
.wc-block-checkout select,
.wc-block-checkout textarea,
.wc-block-components-combobox .components-combobox-control input {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.925rem !important;
    color: #1e293b !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-checkout input:focus,
.wc-block-checkout select:focus,
.wc-block-checkout textarea:focus {
    border-color: #1B4D8E !important;
    box-shadow: 0 0 0 4px rgba(27,77,142,0.1) !important;
}

/* Floating labels */
.wc-block-components-text-input label {
    font-size: 0.825rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
}

.wc-block-components-text-input.is-active label {
    color: #1B4D8E !important;
}

/* Select/combobox */
.wc-block-components-combobox .components-combobox-control {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: border-color 0.2s !important;
}

.wc-block-components-combobox .components-combobox-control:focus-within {
    border-color: #1B4D8E !important;
    box-shadow: 0 0 0 4px rgba(27,77,142,0.1) !important;
}

/* Validation */
.wc-block-components-text-input.has-error input,
.wc-block-components-text-input.has-error textarea {
    border-color: #ef4444 !important;
}

.wc-block-components-validation-error {
    color: #ef4444 !important;
    font-size: 0.78rem !important;
    margin-top: 0.35rem !important;
}

/* ─── Payment Methods ─── */
.wc-block-components-radio-control .wc-block-components-radio-control__option,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option {
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 0.75rem !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control .wc-block-components-radio-control__option:has(input:checked) {
    border-color: #1B4D8E !important;
    background: rgba(27,77,142,0.02) !important;
    box-shadow: 0 0 0 3px rgba(27,77,142,0.08) !important;
}

.wc-block-components-radio-control__label {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
}

.wc-block-components-radio-control__description {
    font-size: 0.82rem !important;
    color: #64748b !important;
}

/* Radio indicator */
.wc-block-components-radio-control__input {
    border-color: #cbd5e1 !important;
}

.wc-block-components-radio-control__input:checked {
    border-color: #1B4D8E !important;
    background: #1B4D8E !important;
}

/* Shipping methods */
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 0.5rem !important;
}

/* ─── Checkout Sidebar / Order Summary ─── */
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-order-summary-block {
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.02) !important;
    padding: 1.75rem !important;
    position: sticky !important;
    top: 100px !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary .wc-block-components-order-summary__button-text,
.wc-block-components-order-summary .wc-block-components-order-summary__button-text {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
}

/* Order summary items */
.wc-block-components-order-summary-item {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1rem 0 !important;
}

.wc-block-components-order-summary-item__image img {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

.wc-block-components-order-summary-item__quantity {
    background: #1B4D8E !important;
    color: #fff !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
    box-shadow: 0 1px 4px rgba(27,77,142,0.3) !important;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: #1e293b !important;
}

.wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
    font-weight: 800 !important;
    color: #1B4D8E !important;
}

/* ─── Place Order Button ─── */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions_row .wc-block-components-button,
.wc-block-components-button.wc-block-components-checkout-place-order-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 1.1rem 1.5rem !important;
    background: linear-gradient(135deg, #1B4D8E 0%, #153d6f 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(27,77,142,0.3) !important;
    letter-spacing: 0.3px !important;
}

.wc-block-components-checkout-place-order-button:hover {
    background: linear-gradient(135deg, #153d6f 0%, #0f2d52 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(27,77,142,0.4) !important;
}

/* Terms & Privacy */
.wc-block-checkout__terms,
.wc-block-components-checkout-policies {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
}

.wc-block-checkout__terms a,
.wc-block-components-checkout-policies a {
    color: #1B4D8E !important;
}

/* Checkbox style */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
    border: 2px solid #cbd5e1 !important;
    border-radius: 6px !important;
    width: 20px !important;
    height: 20px !important;
    transition: all 0.2s !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
    background: #1B4D8E !important;
    border-color: #1B4D8E !important;
}

/* =========================================
   CLASSIC SHORTCODE CART STYLES 
   ========================================= */

/* Cart section wrapper */
.cart-section {
    padding: 2.5rem 0 4rem !important;
    background: #f1f5f9 !important;
    min-height: 60vh !important;
}

.cart-layout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 2rem !important;
    align-items: start !important;
}

.cart-items {
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    overflow: hidden !important;
}

.cart-table-header {
    display: grid !important;
    grid-template-columns: 2.5fr 1fr 130px 1fr 48px !important;
    gap: 1rem !important;
    padding: 0.875rem 1.5rem !important;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

.cart-item {
    display: grid !important;
    grid-template-columns: 2.5fr 1fr 130px 1fr 48px !important;
    gap: 1rem !important;
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    align-items: center !important;
    transition: background 0.2s !important;
}

.cart-item:hover {
    background: #fafbfd !important;
}

/* Cart summary sidebar */
.cart-summary__inner {
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.02) !important;
    padding: 1.75rem !important;
}

.cart-checkout-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 1.05rem 1.5rem !important;
    background: linear-gradient(135deg, #1B4D8E, #153d6f) !important;
    color: #fff !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(27,77,142,0.3) !important;
    transition: all 0.3s !important;
    margin-top: 1.25rem !important;
}

.cart-checkout-btn:hover {
    background: linear-gradient(135deg, #153d6f, #0f2d52) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(27,77,142,0.4) !important;
    color: #fff !important;
}

/* =========================================
   CLASSIC SHORTCODE CHECKOUT
   ========================================= */
.checkout-steps {
    background: #fff !important;
    padding: 1.25rem 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
}

.checkout-card {
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    overflow: hidden !important;
    margin-bottom: 1.5rem !important;
}

.checkout-card__header {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1.125rem 1.5rem !important;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.checkout-card__header h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.checkout-card__body {
    padding: 1.5rem !important;
}

/* Standard WooCommerce form-row styles */
.woocommerce-cart .woocommerce form,
.woocommerce-checkout .woocommerce form {
    max-width: 100% !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
#billing_email, #billing_phone, #billing_first_name, #billing_last_name,
#billing_address_1, #billing_city, #billing_postcode,
#shipping_first_name, #shipping_last_name, #shipping_address_1,
.woocommerce-checkout #order_comments {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.925rem !important;
    color: #1e293b !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #1B4D8E !important;
    box-shadow: 0 0 0 4px rgba(27,77,142,0.1) !important;
}

.woocommerce form .form-row label {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 0.4rem !important;
}

/* Standard WooCommerce cart table */
.woocommerce table.shop_table {
    border: none !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.woocommerce table.shop_table thead {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
}

.woocommerce table.shop_table thead th {
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #64748b !important;
    padding: 1rem 1.25rem !important;
    border: none !important;
}

.woocommerce table.shop_table td {
    padding: 1.25rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle !important;
}

.woocommerce table.shop_table tbody tr:hover {
    background: #fafbfd !important;
}

.woocommerce table.shop_table img {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Standard WooCommerce cart totals */
.woocommerce .cart_totals,
.woocommerce-checkout .cart_totals {
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    padding: 1.75rem !important;
}

.woocommerce .cart_totals h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
}

/* WooCommerce button styles */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
    background: linear-gradient(135deg, #1B4D8E, #153d6f) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.85rem 1.75rem !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(27,77,142,0.25) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background: linear-gradient(135deg, #153d6f, #0f2d52) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(27,77,142,0.4) !important;
    color: #fff !important;
}

.woocommerce .button.alt,
.woocommerce button.button.alt {
    background: linear-gradient(135deg, #1B4D8E, #153d6f) !important;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
    background: linear-gradient(135deg, #153d6f, #0f2d52) !important;
}

/* Update cart button - secondary */
.woocommerce .cart .button[name="update_cart"],
.woocommerce button[name="update_cart"] {
    background: #fff !important;
    color: #475569 !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.woocommerce .cart .button[name="update_cart"]:hover {
    border-color: #1B4D8E !important;
    color: #1B4D8E !important;
    background: rgba(27,77,142,0.04) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Standard WooCommerce coupon */
.woocommerce .coupon {
    display: flex !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
}

.woocommerce .coupon input.input-text {
    flex: 1 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
}

.woocommerce .coupon .button {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.85rem !important;
}

/* WooCommerce price */
.woocommerce .amount,
.woocommerce .woocommerce-Price-amount {
    font-weight: 700 !important;
}

/* Order total */
.woocommerce table.shop_table .order-total .woocommerce-Price-amount {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #1B4D8E !important;
}

/* ─── #payment section (Classic Checkout) ─── */
#payment {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
}

#payment .payment_methods {
    padding: 0 !important;
    border: none !important;
    list-style: none !important;
    margin: 0 !important;
}

#payment .payment_methods li {
    margin-bottom: 0.75rem !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: border-color 0.2s !important;
}

#payment .payment_methods li.wc_payment_method input:checked ~ label,
#payment .payment_methods li:has(input:checked) {
    border-color: #1B4D8E !important;
    box-shadow: 0 0 0 3px rgba(27,77,142,0.08) !important;
}

#payment .payment_methods li label {
    padding: 1rem 1.25rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

#payment .payment_box {
    background: #f8fafc !important;
    padding: 1rem 1.25rem !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 0.85rem !important;
    color: #64748b !important;
}

#payment .payment_box::before {
    display: none !important;
}

#payment #place_order {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.1rem 1.5rem !important;
    background: linear-gradient(135deg, #1B4D8E, #153d6f) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(27,77,142,0.3) !important;
    margin-top: 1rem !important;
}

#payment #place_order:hover {
    background: linear-gradient(135deg, #153d6f, #0f2d52) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(27,77,142,0.4) !important;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1023px) {
    .wc-block-cart .wc-block-cart__main,
    .wp-block-woocommerce-filled-cart-block {
        grid-template-columns: 1fr !important;
    }

    .cart-layout {
        grid-template-columns: 1fr !important;
    }

    .wc-block-cart__sidebar,
    .wp-block-woocommerce-cart-totals-block,
    .wc-block-checkout__sidebar,
    .wp-block-woocommerce-checkout-order-summary-block {
        position: static !important;
    }
}

@media (max-width: 767px) {
    .woocommerce-cart .page-content__inner,
    .woocommerce-checkout .page-content__inner {
        padding: 1.25rem 0 2.5rem !important;
    }

    .wc-block-cart-items thead {
        display: none !important;
    }

    .cart-table-header {
        display: none !important;
    }

    .cart-item {
        grid-template-columns: 1fr !important;
        gap: 0.625rem !important;
        padding: 1.25rem !important;
    }

    .wc-block-checkout__form {
        padding: 1.25rem !important;
    }

    .wc-block-cart__sidebar,
    .wp-block-woocommerce-cart-totals-block,
    .wc-block-checkout__sidebar,
    .wp-block-woocommerce-checkout-order-summary-block {
        padding: 1.25rem !important;
    }
}
/* =========================================
   CHECKOUT TEMPLATE – Layout & Polish Fixes
   Appended to wc-styles.css
   ========================================= */

/* ─── HIDE CHECKOUT STEPS BAR ─── */
.checkout-steps {
    display: none !important;
}

/* ─── CHECKOUT SECTION BACKGROUND ─── */
.checkout-section {
    padding: 2rem 0 3rem !important;
}

/* ─── CHECKOUT GRID LAYOUT ─── */
.checkout__grid {
    display: grid !important;
    grid-template-columns: 1fr 420px !important;
    gap: 2rem !important;
    align-items: start !important;
}

.checkout__form {
    min-width: 0 !important;
}

.checkout__summary {
    position: sticky !important;
    top: 120px !important;
}

/* ─── CHECKOUT CARD REFINEMENTS ─── */
.checkout-card__header svg {
    color: #1B4D8E !important;
    flex-shrink: 0 !important;
}

.checkout-card__body .checkout-fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
}

.checkout-card__body .checkout-fields .form-row-wide,
.checkout-card__body .checkout-fields .form-row:only-child {
    grid-column: 1 / -1 !important;
}

.checkout-card__body .checkout-fields .form-row-first {
    grid-column: 1 !important;
}

.checkout-card__body .checkout-fields .form-row-last {
    grid-column: 2 !important;
}

/* WC form-row label & input tweaks */
.checkout-card .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

.checkout-card .form-row label {
    display: block !important;
    font-size: 0.825rem !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin-bottom: 0.35rem !important;
    letter-spacing: 0.01em !important;
}

.checkout-card .form-row label .required {
    color: #ef4444 !important;
}

.checkout-card .form-row .woocommerce-input-wrapper {
    display: block !important;
}

.checkout-card .form-row .select2-container {
    width: 100% !important;
}

.checkout-card .form-row .select2-container .select2-selection--single {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 46px !important;
    padding: 0 1rem !important;
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    transition: border-color 0.2s !important;
}

.checkout-card .form-row .select2-container--open .select2-selection--single {
    border-color: #1B4D8E !important;
    box-shadow: 0 0 0 4px rgba(27,77,142,0.1) !important;
}

.checkout-card .form-row .select2-container .select2-selection__rendered {
    line-height: 42px !important;
    padding-left: 0 !important;
    font-size: 0.925rem !important;
    color: #1e293b !important;
}

.checkout-card .form-row .select2-container .select2-selection__arrow {
    height: 44px !important;
    right: 8px !important;
}

/* Textarea (order note) */
.checkout-card textarea.input-text {
    min-height: 100px !important;
    resize: vertical !important;
}

/* ─── ORDER SUMMARY SIDEBAR ─── */
.checkout-summary__count {
    margin-left: auto !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #e2e8f0 !important;
    padding: 0.2rem 0.65rem !important;
    border-radius: 20px !important;
}

.checkout-summary__items {
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 1rem !important;
}

.checkout-summary__item {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    padding: 0.65rem 0 !important;
}

.checkout-summary__item + .checkout-summary__item {
    border-top: 1px solid #f8fafc !important;
}

.checkout-summary__item-img {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 56px !important;
    height: 56px !important;
}

.checkout-summary__item-img img {
    width: 56px !important;
    height: 56px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
}

.checkout-summary__item-qty {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #1B4D8E !important;
    color: #fff !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.checkout-summary__item-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.checkout-summary__item-name {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.checkout-summary__item-price {
    font-weight: 700 !important;
    color: #1B4D8E !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
}

/* ─── COUPON SECTION (COMPACT) ─── */
.coupon-section--compact {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 0.85rem !important;
    margin-bottom: 1rem !important;
}

.coupon-toggle {
    background: none !important;
    border: none !important;
    color: #1B4D8E !important;
    font-size: 0.825rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 0.25rem 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
}

.coupon-toggle:hover {
    text-decoration: underline !important;
}

.coupon-form {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 0.65rem !important;
}

.coupon-form input.input-text {
    flex: 1 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.85rem !important;
    outline: none !important;
}

.coupon-form input.input-text:focus {
    border-color: #1B4D8E !important;
}

.coupon-form .btn--sm {
    padding: 0.55rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    background: #1B4D8E !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

/* ─── TOTALS ─── */
.checkout-summary__totals {
    padding-top: 0.25rem !important;
}

.checkout-summary__row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.45rem 0 !important;
    font-size: 0.875rem !important;
    color: #475569 !important;
}

.checkout-summary__row--total {
    border-top: 2px solid #1B4D8E !important;
    margin-top: 0.65rem !important;
    padding-top: 0.85rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
}

.checkout-summary__row--total span:last-child {
    color: #1B4D8E !important;
    font-size: 1.2rem !important;
}

.checkout-summary__row--coupon span:last-child {
    color: #10b981 !important;
    font-weight: 700 !important;
}

.text-accent {
    color: #10b981 !important;
    font-weight: 700 !important;
}

/* ─── SEPARATOR BEFORE TRUST BADGES ─── */
.checkout-summary__trust {
    border-top: 1px solid #e2e8f0 !important;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
}

.checkout-summary__trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.8rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.checkout-summary__trust-item svg {
    color: #10b981 !important;
    flex-shrink: 0 !important;
}

/* ─── PAYMENT ICONS ─── */
.checkout-summary__payments {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #f1f5f9 !important;
    justify-content: center !important;
}

.payment-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0.3rem 0.85rem !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    color: #475569 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* ─── WHATSAPP HELP ─── */
.checkout-summary__help {
    margin-top: 1rem !important;
    text-align: center !important;
}

.checkout-summary__help-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #25D366 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}

.checkout-summary__help-link:hover {
    opacity: 0.8 !important;
}

/* ─── #payment INSIDE CHECKOUT CARD ─── */
.checkout-card #payment {
    padding: 0 !important;
    margin: 0 !important;
}

.checkout-card #payment .payment_methods {
    margin: 0 !important;
}

.checkout-card .woocommerce-checkout-payment .woocommerce-info,
.checkout-card .woocommerce-no-js {
    border-radius: 12px !important;
    margin-bottom: 0 !important;
}

/* Privacy policy text */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text {
    font-size: 0.8rem !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
    margin-top: 1rem !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: #1B4D8E !important;
    text-decoration: underline !important;
}

/* Place order button in checkout-card */
.checkout-card #place_order {
    margin-top: 0.75rem !important;
}

/* ─── RESPONSIVE: CLASSIC CHECKOUT ─── */
@media (max-width: 1023px) {
    .checkout__grid {
        grid-template-columns: 1fr !important;
    }

    .checkout__summary {
        position: static !important;
        order: -1 !important;
    }
}

@media (max-width: 767px) {
    .checkout-card__body .checkout-fields {
        grid-template-columns: 1fr !important;
    }

    .checkout-card__body .checkout-fields .form-row-first,
    .checkout-card__body .checkout-fields .form-row-last {
        grid-column: 1 !important;
    }

    .checkout-card__header {
        padding: 0.85rem 1.15rem !important;
    }

    .checkout-card__body {
        padding: 1.15rem !important;
    }
}

/* ─── Ad/Soyad alt alta (full width) ─── */
.checkout-card__body .checkout-fields #billing_first_name_field,
.checkout-card__body .checkout-fields #billing_last_name_field,
.checkout-card__body .checkout-fields #shipping_first_name_field,
.checkout-card__body .checkout-fields #shipping_last_name_field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* ─── Sokak adresi 2. satir hizalama ─── */
.checkout-card__body .checkout-fields #billing_address_2_field,
.checkout-card__body .checkout-fields #shipping_address_2_field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    padding-left: 0 !important;
}

/* Adres alanlari label+input duzeni */
#billing_address_1_field,
#billing_address_2_field,
#shipping_address_1_field,
#shipping_address_2_field {
    grid-column: 1 / -1 !important;
}

#billing_address_2_field .woocommerce-input-wrapper,
#shipping_address_2_field .woocommerce-input-wrapper {
    width: 100% !important;
}

#billing_address_2_field input.input-text,
#shipping_address_2_field input.input-text {
    width: 100% !important;
}

/* ─── Sokak adresi 2. satir - tam genislik ve hizalama ─── */
#billing_address_2_field,
#shipping_address_2_field,
.checkout-card__body .checkout-fields #billing_address_2_field,
.checkout-card__body .checkout-fields #shipping_address_2_field,
p#billing_address_2_field,
p#shipping_address_2_field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    float: none !important;
    clear: both !important;
    display: flex !important;
    flex-direction: column !important;
}

#billing_address_2_field label,
#shipping_address_2_field label {
    display: none !important;
}

#billing_address_2_field .woocommerce-input-wrapper,
#shipping_address_2_field .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

#billing_address_2_field input.input-text,
#billing_address_2_field input[type="text"],
#billing_address_2,
#shipping_address_2_field input.input-text,
#shipping_address_2_field input[type="text"],
#shipping_address_2 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.925rem !important;
}

/* ─── Payment card in sidebar ─── */
.checkout-card--payment {
    margin-top: 1.5rem !important;
}

.checkout-card--payment .checkout-card__body {
    padding: 1.25rem !important;
}

.checkout-card--payment #payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.checkout-card--payment #payment .payment_methods {
    padding: 0 !important;
    border: none !important;
    list-style: none !important;
    margin: 0 0 1rem 0 !important;
}

.checkout-card--payment #payment .payment_methods li {
    margin-bottom: 0.65rem !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: border-color 0.2s !important;
}

.checkout-card--payment #payment .payment_methods li:has(input:checked),
.checkout-card--payment #payment .payment_methods li input:checked ~ label {
    border-color: #1B4D8E !important;
    box-shadow: 0 0 0 3px rgba(27,77,142,0.08) !important;
}

.checkout-card--payment #payment .payment_methods li label {
    padding: 0.85rem 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    font-size: 0.9rem !important;
}

.checkout-card--payment #payment .payment_box {
    background: #f8fafc !important;
    padding: 0.85rem 1rem !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 0.825rem !important;
    color: #64748b !important;
}

.checkout-card--payment #payment .payment_box::before {
    display: none !important;
}

.checkout-card--payment #place_order {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 1.25rem !important;
    background: linear-gradient(135deg, #1B4D8E, #153d6f) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(27,77,142,0.3) !important;
    margin-top: 0.75rem !important;
}

.checkout-card--payment #place_order:hover {
    background: linear-gradient(135deg, #153d6f, #0f2d52) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(27,77,142,0.4) !important;
}

.checkout-card--payment .woocommerce-privacy-policy-text {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
    margin-top: 0.75rem !important;
    text-align: center !important;
}

/* =========================================
   CART PAGE – Comprehensive Polish
   Consistent with Checkout design language
   ========================================= */

/* ─── Cart Item Product Info ─── */
.cart-item__product {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    min-width: 0 !important;
}

.cart-item__image {
    flex-shrink: 0 !important;
    display: block !important;
}

.cart-item__image img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.cart-item__info {
    min-width: 0 !important;
}

.cart-item__info h3 {
    margin: 0 0 0.25rem 0 !important;
    font-size: 0.925rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.cart-item__info h3 a {
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.cart-item__info h3 a:hover {
    color: #1B4D8E !important;
}

.cart-item__cargo {
    display: inline-block !important;
    font-size: 0.75rem !important;
    color: #10b981 !important;
    font-weight: 600 !important;
    margin-top: 0.15rem !important;
}

/* ─── Price Column ─── */
.cart-item__price,
.cart-item__total {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    white-space: nowrap !important;
}

.cart-item__price-label,
.cart-item__qty-label,
.cart-item__total-label {
    display: none !important;
}

.cart-item__total .woocommerce-Price-amount {
    color: #1B4D8E !important;
    font-weight: 800 !important;
}

/* ─── Quantity Input ─── */
.cart-item__qty {
    display: flex !important;
    align-items: center !important;
}

.cart-item__qty .quantity {
    display: flex !important;
    align-items: center !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    height: 42px !important;
}

.cart-item__qty .quantity input.qty,
.cart-item__qty .quantity input[type="number"] {
    width: 48px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-size: 0.925rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    outline: none !important;
    height: 100% !important;
}

.cart-item__qty .quantity input::-webkit-inner-spin-button,
.cart-item__qty .quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.cart-item__qty .quantity .qty-btn,
.cart-item__qty .quantity button {
    width: 36px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border: none !important;
    cursor: pointer !important;
    color: #475569 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    transition: all 0.15s !important;
    padding: 0 !important;
}

.cart-item__qty .quantity .qty-btn:hover,
.cart-item__qty .quantity button:hover {
    background: #e2e8f0 !important;
    color: #1B4D8E !important;
}

/* ─── Remove Button ─── */
.cart-item__remove-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cart-item__remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    color: #94a3b8 !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
}

.cart-item__remove:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

/* ─── Cart Actions (bottom buttons) ─── */
.cart-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    border-top: 1px solid #e2e8f0 !important;
    gap: 1rem !important;
}

.cart-actions .btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.7rem 1.25rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.cart-actions .btn--outline {
    background: #fff !important;
    color: #475569 !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.cart-actions .btn--outline:hover {
    border-color: #1B4D8E !important;
    color: #1B4D8E !important;
    background: rgba(27,77,142,0.04) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ─── Cart Summary Title ─── */
.cart-summary__title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 0 1.25rem 0 !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

/* ─── Coupon in Cart Summary ─── */
.cart-summary .coupon-section {
    margin-bottom: 1.25rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.cart-summary .coupon-toggle {
    background: none !important;
    border: none !important;
    color: #1B4D8E !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 0.25rem 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
}

.cart-summary .coupon-toggle:hover {
    text-decoration: underline !important;
}

.cart-summary .coupon-form {
    margin-top: 0.65rem !important;
}

.cart-summary .coupon-form form {
    display: flex !important;
    gap: 0.5rem !important;
}

.cart-summary .coupon-form input.input-text {
    flex: 1 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0.6rem 0.85rem !important;
    font-size: 0.875rem !important;
    outline: none !important;
    width: auto !important;
    max-width: none !important;
}

.cart-summary .coupon-form input.input-text:focus {
    border-color: #1B4D8E !important;
    box-shadow: 0 0 0 3px rgba(27,77,142,0.1) !important;
}

.cart-summary .coupon-form .btn--sm {
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    background: #1B4D8E !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transition: background 0.2s !important;
}

.cart-summary .coupon-form .btn--sm:hover {
    background: #153d6f !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ─── Totals Rows ─── */
.cart-summary__totals {
    margin-bottom: 0.5rem !important;
}

.cart-summary__row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.55rem 0 !important;
    font-size: 0.9rem !important;
    color: #475569 !important;
}

.cart-summary__row--total {
    border-top: 2px solid #1B4D8E !important;
    margin-top: 0.65rem !important;
    padding-top: 0.85rem !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
}

.cart-summary__row--total span:last-child {
    color: #1B4D8E !important;
    font-size: 1.25rem !important;
}

.cart-summary__row--coupon span:last-child {
    color: #10b981 !important;
    font-weight: 700 !important;
}

/* ─── Installment Info ─── */
.cart-summary__installment {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.85rem 1rem !important;
    background: #f0f4ff !important;
    border: 1px solid #dbe5f5 !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
    color: #1B4D8E !important;
    margin-top: 1rem !important;
}

.cart-summary__installment svg {
    flex-shrink: 0 !important;
    color: #1B4D8E !important;
}

.cart-summary__installment strong {
    font-weight: 800 !important;
}

/* ─── Trust Badges ─── */
.cart-summary__trust {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid #e2e8f0 !important;
}

.cart-summary__trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.8rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.cart-summary__trust-item svg {
    color: #10b981 !important;
    flex-shrink: 0 !important;
}

/* ─── Payment Icons ─── */
.cart-summary__payments {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #f1f5f9 !important;
    justify-content: center !important;
}

/* ─── Cart Summary sticky ─── */
.cart-summary {
    position: sticky !important;
    top: 120px !important;
}

/* ─── Responsive Cart ─── */
@media (max-width: 1023px) {
    .cart-layout {
        grid-template-columns: 1fr !important;
    }
    .cart-summary {
        position: static !important;
    }
}

@media (max-width: 767px) {
    .cart-table-header {
        display: none !important;
    }

    .cart-item {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 1.25rem !important;
    }

    .cart-item__price-label,
    .cart-item__qty-label,
    .cart-item__total-label {
        display: inline-block !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #64748b !important;
        margin-right: 0.5rem !important;
        text-transform: uppercase !important;
    }

    .cart-item__remove-wrap {
        justify-content: flex-end !important;
    }

    .cart-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
    }

    .cart-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .cart-summary__inner {
        padding: 1.25rem !important;
    }
}
