/* AWA B2B cart/checkout premium layer (post-ThemeOption final override) */

body.checkout-cart-index,
body.checkout-index-index,
body.rokanthemes-onepagecheckout {
    --awa-cc-surface-1: #fff;
    --awa-cc-surface-2: #f8fafc;
    --awa-cc-surface-3: #eef2f7;
    --awa-cc-border: #e2e8f0;
    --awa-cc-border-strong: #cbd5e1;
    --awa-cc-text-1: #1f2937;
    --awa-cc-text-2: #475569;
    --awa-cc-text-3: #64748b;
    --awa-cc-focus: rgb(183 51 55 / 28%);
    --awa-cc-shadow-1: 0 6px 22px rgb(15 23 42 / 5%);
    --awa-cc-shadow-2: 0 12px 32px rgb(15 23 42 / 9%);
    --awa-cc-transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.checkout-cart-index .page-wrapper .page-main,
body.checkout-index-index .page-wrapper .page-main,
body.rokanthemes-onepagecheckout .page-wrapper .page-main {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 280px) !important;
}

body.checkout-cart-index .page-wrapper .page-title-wrapper .page-title .base,
body.checkout-index-index .page-wrapper .page-title-wrapper .page-title .base,
body.rokanthemes-onepagecheckout .page-wrapper .page-title-wrapper .page-title .base {
    color: var(--awa-cc-text-1) !important;
    letter-spacing: -0.02em;
}

body.checkout-cart-index .cart-container,
body.checkout-index-index .checkout-container,
body.rokanthemes-onepagecheckout .checkout-container {
    gap: 24px;
}

body.checkout-cart-index .cart.table-wrapper,
body.checkout-cart-index .cart-container .form-cart,
body.checkout-index-index .opc-wrapper,
body.rokanthemes-onepagecheckout .opc-wrapper {
    background: var(--awa-cc-surface-1);
    border: 1px solid var(--awa-cc-border);
    border-radius: 16px;
    box-shadow: var(--awa-cc-shadow-1);
}

body.checkout-cart-index .cart.table-wrapper {
    overflow: hidden;
}

body.checkout-cart-index .cart.table-wrapper .item-info td,
body.checkout-cart-index .cart.table-wrapper .item-actions td {
    border-color: var(--awa-cc-border) !important;
    vertical-align: top;
}

body.checkout-cart-index .cart.table-wrapper .product-item-name,
body.checkout-cart-index .cart.table-wrapper .product-item-name a {
    color: var(--awa-cc-text-1) !important;
    font-weight: 600;
    line-height: 1.35;
}

body.checkout-cart-index .cart.table-wrapper .item-options,
body.checkout-cart-index .cart.table-wrapper .col.price,
body.checkout-cart-index .cart.table-wrapper .col.subtotal,
body.checkout-cart-index .cart.table-wrapper .col.qty .label {
    color: var(--awa-cc-text-2) !important;
}

body.checkout-cart-index .cart.table-wrapper .price,
body.checkout-cart-index .cart.table-wrapper .cart-price .price {
    color: var(--primary-color, #b73337) !important;
    font-weight: 700;
}

body.checkout-cart-index .cart.table-wrapper input.qty {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid var(--awa-cc-border-strong) !important;
    color: var(--awa-cc-text-1) !important;
    background: #fff !important;
    transition: border-color var(--awa-cc-transition), box-shadow var(--awa-cc-transition);
}

body.checkout-cart-index .cart.table-wrapper input.qty:focus,
body.checkout-cart-index .cart.table-wrapper input.qty:focus-visible {
    border-color: var(--primary-color, #b73337) !important;
    box-shadow: 0 0 0 3px var(--awa-cc-focus) !important;
    outline: none !important;
}

body.checkout-cart-index .cart.table-wrapper .action-delete,
body.checkout-cart-index .cart.table-wrapper .action-edit,
body.checkout-cart-index .cart.table-wrapper .action-towishlist,
body.checkout-cart-index .cart.table-wrapper .action-tocompare {
    color: var(--awa-cc-text-2) !important;
}

body.checkout-cart-index .cart.table-wrapper .action-delete:hover,
body.checkout-cart-index .cart.table-wrapper .action-delete:focus-visible,
body.checkout-cart-index .cart.table-wrapper .action-edit:hover,
body.checkout-cart-index .cart.table-wrapper .action-edit:focus-visible {
    color: var(--primary-color, #b73337) !important;
}

body.checkout-cart-index .cart-summary,
body.checkout-index-index .opc-block-summary,
body.rokanthemes-onepagecheckout #opc-sidebar,
body.rokanthemes-onepagecheckout .opc-block-summary {
    background: var(--awa-cc-surface-1) !important;
    border: 1px solid var(--awa-cc-border) !important;
    border-radius: 16px !important;
    box-shadow: var(--awa-cc-shadow-1) !important;
}

body.checkout-cart-index .cart-summary > .title,
body.checkout-index-index .opc-block-summary > .title,
body.rokanthemes-onepagecheckout .opc-block-summary > .title,
body.rokanthemes-onepagecheckout #opc-sidebar .title {
    color: var(--awa-cc-text-1) !important;
    font-weight: 700 !important;
    border-bottom: 1px solid var(--awa-cc-border) !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
}

body.checkout-cart-index .cart-summary .block > .title,
body.checkout-cart-index .cart-summary .discount.coupon > .title,
body.checkout-index-index .checkout-payment-method .discount-code .title,
body.rokanthemes-onepagecheckout .discount-code .title {
    color: var(--awa-cc-text-1) !important;
    font-weight: 600 !important;
}

body.checkout-cart-index .cart-summary .discount.coupon,
body.checkout-cart-index .cart-container .fieldset.coupon,
body.checkout-index-index .opc-wrapper .payment-option,
body.rokanthemes-onepagecheckout .opc-wrapper .payment-option,
body.rokanthemes-onepagecheckout .discount-code {
    background: var(--awa-cc-surface-2) !important;
    border: 1px solid var(--awa-cc-border) !important;
    border-radius: 14px !important;
    padding: 12px !important;
}

body.checkout-cart-index .cart-summary input[type='text'],
body.checkout-cart-index .cart-summary input.input-text,
body.checkout-index-index .opc-wrapper input[type='text'],
body.checkout-index-index .opc-wrapper input[type='email'],
body.checkout-index-index .opc-wrapper input[type='tel'],
body.checkout-index-index .opc-wrapper select,
body.checkout-index-index .opc-wrapper textarea,
body.rokanthemes-onepagecheckout .opc-wrapper input[type='text'],
body.rokanthemes-onepagecheckout .opc-wrapper input[type='email'],
body.rokanthemes-onepagecheckout .opc-wrapper input[type='tel'],
body.rokanthemes-onepagecheckout .opc-wrapper select,
body.rokanthemes-onepagecheckout .opc-wrapper textarea,
body.rokanthemes-onepagecheckout #opc-sidebar input,
body.rokanthemes-onepagecheckout #opc-sidebar textarea {
    min-height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid var(--awa-cc-border-strong) !important;
    background: #fff !important;
    color: var(--awa-cc-text-1) !important;
    box-shadow: none !important;
    transition: border-color var(--awa-cc-transition), box-shadow var(--awa-cc-transition);
}

body.checkout-cart-index .cart-summary textarea,
body.checkout-index-index .opc-wrapper textarea,
body.rokanthemes-onepagecheckout .opc-wrapper textarea,
body.rokanthemes-onepagecheckout #opc-sidebar textarea {
    min-height: 92px !important;
}

body.checkout-cart-index .cart-summary input:focus,
body.checkout-cart-index .cart-summary textarea:focus,
body.checkout-index-index .opc-wrapper input:focus,
body.checkout-index-index .opc-wrapper select:focus,
body.checkout-index-index .opc-wrapper textarea:focus,
body.rokanthemes-onepagecheckout .opc-wrapper input:focus,
body.rokanthemes-onepagecheckout .opc-wrapper select:focus,
body.rokanthemes-onepagecheckout .opc-wrapper textarea:focus,
body.rokanthemes-onepagecheckout #opc-sidebar input:focus,
body.rokanthemes-onepagecheckout #opc-sidebar textarea:focus {
    border-color: var(--primary-color, #b73337) !important;
    box-shadow: 0 0 0 3px var(--awa-cc-focus) !important;
    outline: none !important;
}

body.checkout-index-index .opc-wrapper .field .label,
body.checkout-index-index .opc-wrapper .label,
body.rokanthemes-onepagecheckout .opc-wrapper .field .label,
body.rokanthemes-onepagecheckout .opc-wrapper .label,
body.rokanthemes-onepagecheckout #opc-sidebar .field .label {
    color: var(--awa-cc-text-2) !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

body.checkout-index-index .opc-wrapper .field .note,
body.checkout-index-index .opc-wrapper .field-note,
body.rokanthemes-onepagecheckout .opc-wrapper .field .note,
body.rokanthemes-onepagecheckout .opc-wrapper .field-note,
body.rokanthemes-onepagecheckout #opc-sidebar .field-note {
    color: var(--awa-cc-text-3) !important;
    font-size: 12px !important;
}

body.checkout-index-index .opc-wrapper .step-title,
body.rokanthemes-onepagecheckout .opc-wrapper .step-title,
body.checkout-index-index .checkout-payment-method .step-title {
    color: var(--awa-cc-text-1) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

body.checkout-index-index .opc-progress-bar-item > span,
body.rokanthemes-onepagecheckout .opc-progress-bar-item > span {
    color: var(--awa-cc-text-2) !important;
    font-weight: 600 !important;
}

body.checkout-index-index .opc-progress-bar-item._active > span,
body.rokanthemes-onepagecheckout .opc-progress-bar-item._active > span {
    color: var(--primary-color, #b73337) !important;
}

body.checkout-index-index .payment-method,
body.checkout-index-index .opc-payment .payment-method,
body.rokanthemes-onepagecheckout .payment-method {
    background: var(--awa-cc-surface-1) !important;
    border: 1px solid var(--awa-cc-border) !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    overflow: hidden;
    transition: border-color var(--awa-cc-transition), box-shadow var(--awa-cc-transition);
}

body.checkout-index-index .payment-method._active,
body.rokanthemes-onepagecheckout .payment-method._active {
    border-color: rgb(183 51 55 / 35%) !important;
    box-shadow: 0 0 0 3px rgb(183 51 55 / 8%) !important;
}

body.checkout-index-index .payment-method-title,
body.rokanthemes-onepagecheckout .payment-method-title {
    background: var(--awa-cc-surface-2) !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid var(--awa-cc-border) !important;
}

body.checkout-index-index .payment-method-title .label,
body.rokanthemes-onepagecheckout .payment-method-title .label,
body.checkout-index-index .payment-method-title label,
body.rokanthemes-onepagecheckout .payment-method-title label {
    color: var(--awa-cc-text-1) !important;
    font-weight: 600 !important;
}

body.checkout-index-index .payment-method-content,
body.rokanthemes-onepagecheckout .payment-method-content {
    padding: 14px 14px 16px !important;
}

body.checkout-index-index .payment-method .payment-method-content,
body.rokanthemes-onepagecheckout .payment-method .payment-method-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.checkout-index-index .payment-method .acombinar-info,
body.rokanthemes-onepagecheckout .payment-method .acombinar-info {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.checkout-index-index .payment-method .acombinar-message,
body.checkout-index-index .payment-method .acombinar-message p,
body.checkout-index-index .payment-method .acombinar-message li,
body.rokanthemes-onepagecheckout .payment-method .acombinar-message,
body.rokanthemes-onepagecheckout .payment-method .acombinar-message p,
body.rokanthemes-onepagecheckout .payment-method .acombinar-message li {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

body.checkout-index-index .checkout-agreements,
body.rokanthemes-onepagecheckout .checkout-agreements {
    background: var(--awa-cc-surface-2) !important;
    border: 1px solid var(--awa-cc-border) !important;
    border-radius: 14px !important;
    padding: 12px !important;
}

body.checkout-index-index .checkout-agreement.field.choice,
body.rokanthemes-onepagecheckout .checkout-agreement.field.choice {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
}

body.checkout-index-index .checkout-agreement input[type='checkbox'],
body.rokanthemes-onepagecheckout .checkout-agreement input[type='checkbox'] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color, #b73337);
}

body.checkout-cart-index .action.checkout,
body.checkout-cart-index .checkout-methods-items .action.checkout,
body.checkout-index-index .actions-toolbar .action.checkout,
body.checkout-index-index .actions-toolbar .btn-placeorder,
body.rokanthemes-onepagecheckout .actions-toolbar .action.checkout,
body.rokanthemes-onepagecheckout .actions-toolbar .btn-placeorder,
body.rokanthemes-onepagecheckout .action.primary.checkout {
    min-height: 48px !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    transition: background-color var(--awa-cc-transition), box-shadow var(--awa-cc-transition), transform var(--awa-cc-transition);
}

body.checkout-cart-index .action.checkout:hover,
body.checkout-cart-index .checkout-methods-items .action.checkout:hover,
body.checkout-index-index .actions-toolbar .action.checkout:hover,
body.rokanthemes-onepagecheckout .actions-toolbar .action.checkout:hover {
    box-shadow: 0 8px 24px rgb(183 51 55 / 18%);
    transform: translateY(-1px);
}

body.checkout-cart-index .actions-toolbar .action,
body.checkout-index-index .actions-toolbar .action,
body.rokanthemes-onepagecheckout .actions-toolbar .action,
body.checkout-index-index button.action,
body.rokanthemes-onepagecheckout button.action {
    min-height: 44px;
    border-radius: 10px;
}

body.checkout-index-index .message.error,
body.checkout-index-index .message-error,
body.rokanthemes-onepagecheckout .message.error,
body.rokanthemes-onepagecheckout .message-error,
body.checkout-cart-index .message.error,
body.checkout-cart-index .message-error {
    background: #fff1f2 !important;
    border: 1px solid #fecdd3 !important;
    border-left: 4px solid var(--primary-color, #b73337) !important;
    color: #881337 !important;
    border-radius: 10px !important;
}

body.checkout-index-index .message.success,
body.checkout-index-index .message-success,
body.rokanthemes-onepagecheckout .message.success,
body.rokanthemes-onepagecheckout .message-success,
body.checkout-cart-index .message.success,
body.checkout-cart-index .message-success {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #065f46 !important;
    border-radius: 10px !important;
}

/* B2B PO / Terms cards (override inline styles from KO templates) */
body.checkout-index-index .b2b-po-number-container.checkout-block,
body.rokanthemes-onepagecheckout .b2b-po-number-container.checkout-block {
    margin: 0 0 14px !important;
    padding: 14px !important;
    background: var(--awa-cc-surface-2) !important;
    border: 1px solid var(--awa-cc-border) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    transition: border-color var(--awa-cc-transition);
}

body.checkout-index-index .b2b-po-number-wrapper .label,
body.rokanthemes-onepagecheckout .b2b-po-number-wrapper .label {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    color: var(--awa-cc-text-1) !important;
    font-weight: 700 !important;
    gap: 4px 8px !important;
    white-space: normal !important;
    line-height: 1.35 !important;
}

body.checkout-index-index .b2b-po-number-wrapper .label .optional,
body.rokanthemes-onepagecheckout .b2b-po-number-wrapper .label .optional {
    color: var(--awa-cc-text-3) !important;
    white-space: normal !important;
}

body.checkout-index-index .b2b-po-number-wrapper .input-text,
body.rokanthemes-onepagecheckout .b2b-po-number-wrapper .input-text {
    max-width: 100% !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid var(--awa-cc-border-strong) !important;
    padding: 0 12px !important;
    background: #fff !important;
    color: var(--awa-cc-text-1) !important;
    transition: border-color var(--awa-cc-transition), box-shadow var(--awa-cc-transition);
}

body.checkout-index-index .b2b-po-number-wrapper .input-text:focus,
body.rokanthemes-onepagecheckout .b2b-po-number-wrapper .input-text:focus {
    border-color: var(--primary-color, #b73337) !important;
    box-shadow: 0 0 0 3px var(--awa-cc-focus) !important;
}

body.checkout-index-index .b2b-po-number-wrapper .note,
body.rokanthemes-onepagecheckout .b2b-po-number-wrapper .note {
    color: var(--awa-cc-text-3) !important;
}

body.checkout-index-index .b2b-terms-container.checkout-block,
body.rokanthemes-onepagecheckout .b2b-terms-container.checkout-block {
    margin: 0 0 14px !important;
    padding: 14px !important;
    background: #fff8e6 !important;
    border: 1px solid #f4d38a !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    transition: background-color var(--awa-cc-transition), border-color var(--awa-cc-transition);
}

body.checkout-index-index .b2b-terms-container.checkout-block.is-accepted,
body.rokanthemes-onepagecheckout .b2b-terms-container.checkout-block.is-accepted {
    background: #eefbf3 !important;
    border-color: #b7e4c7 !important;
}

body.checkout-index-index .b2b-terms-wrapper,
body.rokanthemes-onepagecheckout .b2b-terms-wrapper {
    align-items: flex-start !important;
    gap: 10px 14px !important;
}

body.checkout-index-index .b2b-terms-field .label,
body.rokanthemes-onepagecheckout .b2b-terms-field .label {
    color: var(--awa-cc-text-1) !important;
    line-height: 1.4 !important;
}

body.checkout-index-index .b2b-terms-field .checkbox,
body.rokanthemes-onepagecheckout .b2b-terms-field .checkbox {
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
}

body.checkout-index-index .b2b-terms-link,
body.rokanthemes-onepagecheckout .b2b-terms-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 32px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgb(183 51 55 / 8%);
    color: var(--primary-color, #b73337) !important;
    text-decoration: none !important;
}

body.checkout-index-index .b2b-terms-link:hover,
body.checkout-index-index .b2b-terms-link:focus-visible,
body.rokanthemes-onepagecheckout .b2b-terms-link:hover,
body.rokanthemes-onepagecheckout .b2b-terms-link:focus-visible {
    background: rgb(183 51 55 / 12%);
    box-shadow: 0 0 0 3px rgb(183 51 55 / 14%);
    outline: none;
}

body.checkout-index-index .b2b-terms-status,
body.rokanthemes-onepagecheckout .b2b-terms-status {
    color: #166534 !important;
    font-weight: 600 !important;
}

body.checkout-index-index .b2b-terms-modal-overlay,
body.rokanthemes-onepagecheckout .b2b-terms-modal-overlay {
    z-index: 10020 !important;
    backdrop-filter: blur(2px);
}

body.checkout-index-index .b2b-terms-modal,
body.rokanthemes-onepagecheckout .b2b-terms-modal {
    border: 1px solid var(--awa-cc-border) !important;
    box-shadow: var(--awa-cc-shadow-2) !important;
    border-radius: 14px !important;
}

body.checkout-index-index .b2b-terms-modal-header,
body.checkout-index-index .b2b-terms-modal-footer,
body.rokanthemes-onepagecheckout .b2b-terms-modal-header,
body.rokanthemes-onepagecheckout .b2b-terms-modal-footer {
    background: var(--awa-cc-surface-2) !important;
    border-color: var(--awa-cc-border) !important;
}

body.checkout-index-index .b2b-terms-modal-header h3,
body.rokanthemes-onepagecheckout .b2b-terms-modal-header h3 {
    color: var(--awa-cc-text-1) !important;
}

body.checkout-index-index .b2b-terms-modal-content,
body.rokanthemes-onepagecheckout .b2b-terms-modal-content {
    color: var(--awa-cc-text-2) !important;
}

body.checkout-index-index .b2b-terms-modal-close,
body.rokanthemes-onepagecheckout .b2b-terms-modal-close {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
}

body.checkout-index-index .b2b-terms-modal-close:focus-visible,
body.rokanthemes-onepagecheckout .b2b-terms-modal-close:focus-visible {
    box-shadow: 0 0 0 3px var(--awa-cc-focus);
    outline: none;
}

body.checkout-index-index .b2b-terms-modal-footer .action.primary,
body.rokanthemes-onepagecheckout .b2b-terms-modal-footer .action.primary,
body.checkout-index-index .b2b-terms-modal-footer .action.secondary,
body.rokanthemes-onepagecheckout .b2b-terms-modal-footer .action.secondary {
    min-height: 44px !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    transition: background-color var(--awa-cc-transition), box-shadow var(--awa-cc-transition);
}

/* B2B login-to-cart modal polish on cart/checkout context */
body.checkout-cart-index .b2b-login-modal,
body.checkout-index-index .b2b-login-modal,
body.rokanthemes-onepagecheckout .b2b-login-modal {
    border: 1px solid var(--awa-cc-border) !important;
    box-shadow: var(--awa-cc-shadow-2) !important;
}

body.checkout-cart-index .b2b-login-modal-close,
body.checkout-index-index .b2b-login-modal-close,
body.rokanthemes-onepagecheckout .b2b-login-modal-close {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
}

body.checkout-cart-index .b2b-login-option,
body.checkout-index-index .b2b-login-option,
body.rokanthemes-onepagecheckout .b2b-login-option {
    border-radius: 14px !important;
    min-height: 56px;
    transition: background-color var(--awa-cc-transition), box-shadow var(--awa-cc-transition);
}

body.checkout-cart-index .b2b-login-option:focus-visible,
body.checkout-index-index .b2b-login-option:focus-visible,
body.rokanthemes-onepagecheckout .b2b-login-option:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgb(183 51 55 / 15%) !important;
}

/* Footer and misc buttons in checkout/cart */
body.checkout-cart-index .action.action-continue,
body.checkout-cart-index .cart.main.actions .action,
body.checkout-index-index .action.action-auth-toggle,
body.rokanthemes-onepagecheckout .action.action-auth-toggle {
    min-height: 44px;
    border-radius: 10px;
}

/* Cart empty state: clearer guidance + stronger continuation cue */
body.checkout-cart-index .cart-empty {
    background: linear-gradient(180deg, #fff 0%, var(--awa-cc-surface-2) 100%);
    border: 1px solid var(--awa-cc-border);
    border-radius: 16px;
    box-shadow: var(--awa-cc-shadow-1);
    padding: clamp(24px, 3vw, 34px) clamp(16px, 3vw, 28px);
    max-width: 680px;
    margin-inline: auto;
}

body.checkout-cart-index .cart-empty::before {
    content: '';
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgb(183 51 55 / 8%);
    box-shadow: inset 0 0 0 1px rgb(183 51 55 / 16%);
}

body.checkout-cart-index .cart-empty p:first-child {
    color: var(--awa-cc-text-1);
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

body.checkout-cart-index .cart-empty p:last-child {
    color: var(--awa-cc-text-2);
    font-size: clamp(15px, 1.6vw, 18px);
}

body.checkout-cart-index .cart-empty p:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgb(183 51 55 / 10%);
    color: var(--primary-color, #b73337) !important;
    font-weight: 700;
    text-decoration: none;
}

body.checkout-cart-index .cart-empty p:last-child a:hover,
body.checkout-cart-index .cart-empty p:last-child a:focus-visible {
    background: rgb(183 51 55 / 14%);
    color: var(--primary-hover, #8e2629) !important;
    outline: none;
}

@media (width <= 991px) {
    body.checkout-cart-index .cart-container,
    body.checkout-index-index .checkout-container,
    body.rokanthemes-onepagecheckout .checkout-container {
        gap: 16px;
    }

    body.checkout-cart-index .cart.table-wrapper,
    body.checkout-index-index .opc-wrapper,
    body.rokanthemes-onepagecheckout .opc-wrapper,
    body.checkout-cart-index .cart-summary,
    body.checkout-index-index .opc-block-summary,
    body.rokanthemes-onepagecheckout #opc-sidebar,
    body.rokanthemes-onepagecheckout .opc-block-summary {
        border-radius: 14px !important;
    }
}

@media (width <= 767px) {
    body.checkout-cart-index .cart.table-wrapper,
    body.checkout-index-index .opc-wrapper,
    body.rokanthemes-onepagecheckout .opc-wrapper {
        border-radius: 12px !important;
    }

    body.checkout-cart-index .cart-summary,
    body.checkout-index-index .opc-block-summary,
    body.rokanthemes-onepagecheckout #opc-sidebar,
    body.rokanthemes-onepagecheckout .opc-block-summary {
        border-radius: 12px !important;
    }

    body.checkout-cart-index .cart.table-wrapper .item-info td,
    body.checkout-cart-index .cart.table-wrapper .item-actions td {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    body.checkout-index-index .b2b-terms-wrapper,
    body.rokanthemes-onepagecheckout .b2b-terms-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.checkout-index-index .b2b-terms-link,
    body.rokanthemes-onepagecheckout .b2b-terms-link {
        min-height: 36px;
        align-self: flex-start;
    }

    body.checkout-index-index .b2b-terms-modal-footer,
    body.rokanthemes-onepagecheckout .b2b-terms-modal-footer {
        gap: 10px !important;
    }

    body.checkout-index-index .b2b-terms-modal-footer .action,
    body.rokanthemes-onepagecheckout .b2b-terms-modal-footer .action {
        width: 100%;
    }

    /* Onepage checkout mobile: avoid clipped shipping table and cramped payment content */
    body.rokanthemes-onepagecheckout .checkout-shipping-method,
    body.checkout-index-index .checkout-shipping-method {
        display: block !important;
        overflow: visible !important;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method,
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method thead,
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method thead {
        display: none !important;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method tbody,
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method tbody {
        display: block !important;
        width: 100% !important;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method tbody tr.row,
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method tbody tr.row {
        display: grid !important;
        grid-template-columns: 20px minmax(58px, auto) minmax(0, 1fr);
        gap: 8px 10px;
        width: 100% !important;
        border-top: 1px solid var(--awa-cc-border);
        padding-top: 8px;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method tbody td,
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method tbody td {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        white-space: normal !important;
        word-break: normal;
        overflow-wrap: normal;
        padding: 0;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method tbody td.col.col-method:first-child,
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method tbody td.col.col-method:first-child {
        grid-column: 1;
        align-self: center;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method tbody td.col.col-price,
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method tbody td.col.col-price {
        grid-column: 2;
        font-weight: 700;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method tbody td.col.col-method:not(:first-child),
    body.rokanthemes-onepagecheckout .checkout-shipping-method .table-checkout-shipping-method tbody td.col.col-carrier,
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method tbody td.col.col-method:not(:first-child),
    body.checkout-index-index .checkout-shipping-method .table-checkout-shipping-method tbody td.col.col-carrier {
        grid-column: 3;
    }

    body.rokanthemes-onepagecheckout .checkout-shipping-method .message.error,
    body.checkout-index-index .checkout-shipping-method .message.error {
        width: 100% !important;
        margin: 8px 0 10px !important;
        line-height: 1.35 !important;
        box-sizing: border-box;
        padding: 10px 12px !important;
    }

    body.rokanthemes-onepagecheckout .payment-method .payment-method-content,
    body.checkout-index-index .payment-method .payment-method-content {
        padding: 12px !important;
    }

    body.rokanthemes-onepagecheckout .payment-method .acombinar-info,
    body.checkout-index-index .payment-method .acombinar-info {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.rokanthemes-onepagecheckout .payment-method .acombinar-info .acombinar-icon,
    body.checkout-index-index .payment-method .acombinar-info .acombinar-icon {
        margin-inline: auto;
    }

    body.rokanthemes-onepagecheckout .payment-method .actions-toolbar,
    body.checkout-index-index .payment-method .actions-toolbar {
        margin-top: 12px !important;
    }
}

/* AWA Round12: cart/checkout conversion lock (CTA visibility + scanability) */
body.checkout-cart-index .cart-summary {
    position: sticky;
    top: calc(88px + env(safe-area-inset-top));
}

body.checkout-cart-index .cart-summary .table.totals,
body.checkout-cart-index .cart-summary .totals {
    color: var(--awa-cc-text-2) !important;
}

body.checkout-cart-index .cart-summary .table.totals tr.grand.totals .price,
body.checkout-cart-index .cart-summary .totals tr.grand.totals .price,
body.checkout-cart-index .cart-summary .table.totals tr.grand.totals .amount .price,
body.checkout-cart-index .cart-summary .totals tr.grand.totals .amount .price {
    color: var(--primary-color, #b73337) !important;
    font-weight: 800 !important;
    font-size: clamp(20px, 2.8vw, 24px);
    letter-spacing: -0.01em;
}

body.checkout-cart-index .cart-summary .checkout-methods-items,
body.checkout-cart-index .cart-summary .checkout.methods.items {
    display: grid !important;
    gap: 10px;
    margin-top: 14px;
}

body.checkout-cart-index .cart-summary .checkout-methods-items .action.checkout,
body.checkout-cart-index .cart-summary .checkout.methods.items .action.checkout,
body.checkout-cart-index .cart-summary .checkout-methods-items .action.primary.checkout,
body.checkout-cart-index .cart-summary .checkout.methods.items .action.primary.checkout {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgb(183 51 55 / 14%);
    font-weight: 800 !important;
    letter-spacing: 0.015em;
    transition: background-color var(--awa-cc-transition), box-shadow var(--awa-cc-transition), transform var(--awa-cc-transition);
}

body.checkout-cart-index .cart-summary .checkout-methods-items .action.checkout:hover,
body.checkout-cart-index .cart-summary .checkout-methods-items .action.checkout:focus-visible,
body.checkout-cart-index .cart-summary .checkout.methods.items .action.checkout:hover,
body.checkout-cart-index .cart-summary .checkout.methods.items .action.checkout:focus-visible {
    box-shadow: 0 14px 30px rgb(142 38 41 / 20%) !important;
    transform: translateY(-2px);
    outline: none !important;
}

body.checkout-cart-index .cart-summary .checkout-methods-items .action.checkout[disabled],
body.checkout-cart-index .cart-summary .checkout.methods.items .action.checkout[disabled] {
    box-shadow: none !important;
}

body.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-update,
body.checkout-cart-index .cart.table-wrapper .actions-toolbar .update,
body.checkout-cart-index .cart.main.actions .action.update {
    min-height: 42px;
    border-radius: 10px;
}

body.checkout-cart-index .cart-summary .block.discount > .title strong,
body.checkout-cart-index .cart-summary .discount.coupon > .title strong {
    color: var(--awa-cc-text-1) !important;
    font-weight: 700;
}

body.checkout-cart-index .cart-summary .block.discount .content,
body.checkout-cart-index .cart-summary .discount.coupon .content {
    margin-top: 8px;
}

body.checkout-cart-index .cart-summary .block.discount .actions-toolbar .action,
body.checkout-cart-index .cart-summary .discount.coupon .actions-toolbar .action {
    min-height: 42px;
    border-radius: 10px;
}

body.checkout-index-index .opc-block-summary .totals .grand .price,
body.rokanthemes-onepagecheckout .opc-block-summary .totals .grand .price {
    color: var(--primary-color, #b73337) !important;
    font-weight: 800 !important;
}

body.checkout-index-index .opc-block-summary .items-in-cart .title strong,
body.rokanthemes-onepagecheckout .opc-block-summary .items-in-cart .title strong {
    color: var(--awa-cc-text-1) !important;
}

@media (width <= 991px) {
    body.checkout-cart-index .cart-summary {
        top: calc(72px + env(safe-area-inset-top));
    }
}

@media (width <= 767px) {
    body.checkout-cart-index .cart-summary {
        position: static;
        margin-bottom: 24px;
    }

    body.checkout-cart-index .cart-summary .checkout-methods-items,
    body.checkout-cart-index .cart-summary .checkout.methods.items {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
        margin: 10px 0 0 !important;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    body.checkout-cart-index .cart-summary .checkout-methods-items .action.checkout,
    body.checkout-cart-index .cart-summary .checkout.methods.items .action.checkout,
    body.checkout-cart-index .cart-summary .checkout-methods-items .action.primary.checkout,
    body.checkout-cart-index .cart-summary .checkout.methods.items .action.primary.checkout {
        min-height: 48px !important;
        border-radius: 10px !important;
        box-shadow: 0 10px 20px rgb(183 51 55 / 16%);
    }

    body.checkout-cart-index .cart.table-wrapper {
        margin-bottom: 10px;
    }

    :is(body.checkout-cart-index, body.checkout-index-index, body.rokanthemes-onepagecheckout) .awa-whatsapp-float {
        display: none !important;
    }

    body.checkout-cart-index .cart-empty {
        border-radius: 14px;
        padding: 22px 14px;
    }

    body.checkout-cart-index .cart-empty p:first-child {
        font-size: clamp(20px, 7vw, 26px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.checkout-cart-index .cart-summary .checkout-methods-items .action.checkout,
    body.checkout-cart-index .cart-summary .checkout.methods.items .action.checkout {
        transition: none !important;
    }
}
