/* ============================================================
   BLEND PIXEL STUDIO - cart-checkout.css v1.0
   Cart (woocommerce/cart/cart.php v15) + Checkout
   (woocommerce/checkout/form-checkout.php v16).
   Loaded on cart + checkout only, after custom.css (functions.php
   section 3); foundation.css still loads last. Pure ASCII.
   ============================================================ */

.bps-c, .bps-ck {
    --k-s1:  var(--s1, #171d24);
    --k-s2:  var(--s2, #1f2730);
    --k-s3:  var(--s3, #28323c);
    --k-bd:  var(--bd, #29323b);
    --k-bdh: var(--bdh, #3a4650);
    --k-acc: var(--acc, #efb07d);
    --k-accl:var(--acc-l, #f5c89a);
    --k-acct:rgba(239,176,125,.08);
    --k-ok:  var(--ok, #4ade80);
    --k-err: var(--err, #f87171);
    --k-t1:  var(--t1, #edeff1);
    --k-t2:  var(--t2, #8b95a1);
    --k-t3:  var(--t3, #5b6570);
    --k-disp:var(--vp-font-display, 'Bricolage Grotesque', sans-serif);
    --k-mono:var(--vp-font-mono, 'IBM Plex Mono', monospace);
    max-width: 1200px; margin: 0 auto; padding: 36px 24px 96px;
    color: var(--k-t1); font-family: var(--vp-font-body, 'Inter', sans-serif); font-size: 14px;
}
.bps-c *, .bps-ck * { box-sizing: border-box; }
.bps-sr-only {
    position: absolute !important; width: 1px !important; height: 1px !important;
    overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important;
    border: 0 !important; padding: 0 !important; margin: -1px !important;
}

/* ============================================================
   SHARED: page head, steps, buttons, trust list
   ============================================================ */
.bps-c-head, .bps-ck-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.bps-c-title, .bps-ck-title {
    font-family: var(--k-disp); font-size: clamp(26px, 3.4vw, 36px); font-weight: 800;
    letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; color: var(--k-t1);
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.bps-c-title-count { font-family: var(--vp-font-body, sans-serif); font-size: 15px; font-weight: 500; color: var(--k-t2); letter-spacing: 0; }
.bps-c-back {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 13px; font-weight: 600; color: var(--k-t2); text-decoration: none;
}
.bps-c-back:hover { color: var(--k-acc); }

.bps-steps { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.bps-steps li {
    display: flex; align-items: center; gap: 8px; margin: 0;
    font-size: 13px; font-weight: 500; color: var(--k-t3); white-space: nowrap;
}
.bps-steps li + li::before { content: ''; width: 28px; height: 1px; background: var(--k-bd); margin-right: 2px; }
.bps-steps li span {
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; background: var(--k-s2); border: 1px solid var(--k-bd); color: var(--k-t3);
}
.bps-steps li.is-current { color: var(--k-t1); font-weight: 600; }
.bps-steps li.is-current span { background: var(--k-acc); border-color: var(--k-acc); color: #000; }
.bps-steps li.is-done { color: var(--k-t2); }
.bps-steps li.is-done span { background: rgba(74,222,128,.12); border-color: rgba(74,222,128,.35); color: var(--k-ok); }

.bps-c .bps-c-btn, .bps-ck .bps-c-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 18px; border-radius: 10px;
    font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.bps-c .bps-c-btn--primary { background: var(--k-acc) !important; color: #000 !important; border: 1px solid var(--k-acc) !important; }
.bps-c .bps-c-btn--primary:hover { background: var(--k-accl) !important; transform: translateY(-1px); }
.bps-c .bps-c-btn--secondary { background: var(--k-s2) !important; color: var(--k-t1) !important; border: 1px solid var(--k-bd) !important; }
.bps-c .bps-c-btn--secondary:hover { border-color: var(--k-acc) !important; color: var(--k-acc) !important; }
.bps-c .bps-c-btn--block { width: 100%; height: 52px; font-size: 15px; }

.bps-c-trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--k-bd); display: flex; flex-direction: column; gap: 7px; }
.bps-c-trust li { position: relative; margin: 0; padding-left: 22px; font-size: 12.5px; color: var(--k-t2); }
.bps-c-trust li::before {
    content: ''; position: absolute; left: 3px; top: 5px; width: 9px; height: 5px;
    border-left: 2px solid var(--k-ok); border-bottom: 2px solid var(--k-ok); transform: rotate(-45deg);
}
.bps-c-trust a { color: var(--k-acc); }

/* Dark form controls (kills the white promo / qty / select boxes) */
.bps-c input[type="text"], .bps-c input[type="number"], .bps-c .bps-c-input,
.bps-ck input.input-text, .bps-ck select, .bps-ck textarea,
.bps-ck .select2-container .select2-selection {
    background: var(--k-s2) !important; color: var(--k-t1) !important;
    border: 1px solid var(--k-bd) !important; border-radius: 10px !important;
    box-shadow: none !important;
}
.bps-c input:focus, .bps-ck input.input-text:focus, .bps-ck select:focus, .bps-ck textarea:focus {
    border-color: var(--k-acc) !important; box-shadow: 0 0 0 3px rgba(239,176,125,.15) !important; outline: none !important;
}
.bps-c input::placeholder, .bps-ck input::placeholder, .bps-ck textarea::placeholder { color: var(--k-t3) !important; }

/* ============================================================
   CART
   ============================================================ */
.bps-c-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.bps-c-items { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.bps-c .bps-c-item {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) auto auto 36px;
    grid-template-areas: "thumb info qty price remove";
    align-items: center; gap: 20px;
    padding: 16px 16px 16px 16px !important;
    background: var(--k-s1); border: 1px solid var(--k-bd); border-radius: 16px;
    transform: none !important;
}
.bps-c .bps-c-item::before { display: none !important; }
.bps-c .bps-c-item:hover { border-color: var(--k-bdh); }
.bps-c .bps-c-item.bps-removing { opacity: .35; }

.bps-c-thumb { grid-area: thumb; }
.bps-c-thumb img {
    display: block; width: 112px !important; height: 84px !important; max-width: none;
    object-fit: cover; border-radius: 10px; border: 1px solid var(--k-bd); background: var(--k-s2);
}
.bps-c-info { grid-area: info; min-width: 0; }
.bps-c-cat { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--k-acc); margin-bottom: 3px; }
.bps-c-name { font-family: var(--k-disp); font-size: 16px; font-weight: 700; line-height: 1.3; margin: 0; }
.bps-c-name a { color: var(--k-t1); text-decoration: none; }
.bps-c-name a:hover { color: var(--k-acc); }
.bps-c-var { font-size: 12px; color: var(--k-t3); margin: 3px 0 0; }
.bps-c-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.bps-c-chip {
    font-size: 11px; font-weight: 600; color: var(--k-t2);
    padding: 3px 8px; border-radius: 6px; background: var(--k-s2); border: 1px solid var(--k-bd);
}
.bps-c-chip:first-child { color: var(--k-acc); background: var(--k-acct); border-color: rgba(239,176,125,.25); }

.bps-c-qty { grid-area: qty; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.bps-c-qty-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--k-t3); }
.bps-c-stepper {
    display: flex; align-items: center; height: 38px;
    background: var(--k-s2); border: 1px solid var(--k-bd); border-radius: 10px; overflow: hidden;
}
.bps-c-stepper button {
    all: unset; width: 36px; height: 100%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 600; color: var(--k-t1);
    transition: background-color .15s ease, color .15s ease;
}
.bps-c-stepper button:hover:not(:disabled) { background: var(--k-acct); color: var(--k-acc); }
.bps-c-stepper button:disabled { color: var(--k-t3); cursor: not-allowed; }
.bps-c-stepper button:focus-visible { outline: 2px solid var(--k-acc); outline-offset: -2px; }
.bps-c .bps-c-stepper input[type="number"] {
    width: 44px !important; height: 100% !important; padding: 0 !important; margin: 0 !important;
    text-align: center; font-family: var(--k-mono); font-size: 14px; font-weight: 600;
    border: 0 !important; border-left: 1px solid var(--k-bd) !important; border-right: 1px solid var(--k-bd) !important;
    border-radius: 0 !important; background: transparent !important; -moz-appearance: textfield;
}
.bps-c-stepper input::-webkit-outer-spin-button,
.bps-c-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bps-c-price { grid-area: price; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 88px; }
.bps-c-line { font-family: var(--k-mono); font-size: 17px; font-weight: 600; color: var(--k-t1); white-space: nowrap; }
.bps-c-unit { font-size: 11.5px; color: var(--k-t3); white-space: nowrap; }

.bps-c .bps-c-remove {
    grid-area: remove; width: 36px; height: 36px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--k-t3); border: 0 !important; background: transparent !important; text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.bps-c .bps-c-remove:hover { background: rgba(248,113,113,.12) !important; color: var(--k-err); }

.bps-c-items-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 0; }
.bps-c-clear {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--k-t2); text-decoration: none;
    padding: 7px 10px; border-radius: 8px; margin-left: -10px;
    transition: color .15s ease, background-color .15s ease;
}
.bps-c-clear:hover { color: var(--k-err); background: rgba(248,113,113,.1); }
.bps-c-autosave { font-size: 12px; color: var(--k-t3); }

/* Summary */
.bps-c-summary {
    position: sticky; top: 96px;
    background: var(--k-s1); border: 1px solid var(--k-bd); border-radius: 16px; padding: 22px;
}
body.admin-bar .bps-c-summary { top: 128px; }
.bps-c-summary-title { font-family: var(--k-disp); font-size: 18px; font-weight: 700; margin: 0 0 14px; color: var(--k-t1); }

.bps-c-coupon { border-bottom: 1px solid var(--k-bd); padding-bottom: 12px; margin-bottom: 4px; }
.bps-c-coupon summary {
    cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; color: var(--k-t2);
    display: flex; align-items: center; justify-content: space-between;
}
.bps-c-coupon summary::-webkit-details-marker { display: none; }
.bps-c-coupon summary::after { content: '+'; font-size: 18px; font-weight: 400; color: var(--k-t3); }
.bps-c-coupon[open] summary::after { content: '\2212'; }
.bps-c-coupon summary:hover { color: var(--k-acc); }
.bps-c-coupon-row { display: flex; gap: 8px; margin-top: 12px; }
.bps-c .bps-c-coupon-row .bps-c-input { flex: 1; min-width: 0; height: 42px !important; padding: 0 12px !important; font-size: 13px; }

/* WooCommerce cart totals table (woocommerce_cart_totals) */
.bps-c-totals .cart_totals { width: 100% !important; float: none !important; background: none !important; border: 0 !important; padding: 0 !important; }
.bps-c-totals .cart_totals > h2,
.bps-c-totals .wc-proceed-to-checkout { display: none !important; }
.bps-c-totals table.shop_table,
.bps-ck-totals table.shop_table {
    width: 100%; margin: 0 0 16px !important; border: 0 !important; border-collapse: collapse; background: transparent !important;
}
.bps-c-totals table.shop_table tr,
.bps-c-totals table.shop_table th,
.bps-c-totals table.shop_table td,
.bps-ck-totals table.shop_table tr,
.bps-ck-totals table.shop_table th,
.bps-ck-totals table.shop_table td { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.bps-c-totals table.shop_table tr,
.bps-ck-totals table.shop_table tfoot tr { border-bottom: 1px solid var(--k-bd) !important; }
.bps-c-totals table.shop_table th,
.bps-c-totals table.shop_table td,
.bps-ck-totals table.shop_table th,
.bps-ck-totals table.shop_table td { padding: 12px 0 !important; vertical-align: middle; }
.bps-c-totals table.shop_table th,
.bps-ck-totals table.shop_table th { font-size: 13px; font-weight: 500; color: var(--k-t2); text-align: left; text-transform: none; letter-spacing: 0; }
.bps-c-totals table.shop_table td,
.bps-ck-totals table.shop_table td { font-size: 14px; font-weight: 600; color: var(--k-t1); text-align: right; }
.bps-c-totals table.shop_table .order-total,
.bps-ck-totals table.shop_table .order-total { border-bottom: 0 !important; }
.bps-c-totals table.shop_table .order-total th,
.bps-ck-totals table.shop_table .order-total th { font-size: 14px; font-weight: 700; color: var(--k-t1); }
.bps-c-totals table.shop_table .order-total td,
.bps-ck-totals table.shop_table .order-total td { font-family: var(--k-mono); font-size: 22px; font-weight: 600; color: var(--k-acc); }
.bps-c-totals table.shop_table .order-total td small,
.bps-ck-totals table.shop_table .order-total td small { display: block; font-size: 11px; font-weight: 400; color: var(--k-t3); font-family: var(--vp-font-body, sans-serif); }
.bps-c-totals table.shop_table .cart-discount td,
.bps-ck-totals table.shop_table .cart-discount td { color: var(--k-ok); }
.bps-c-totals .woocommerce-remove-coupon,
.bps-ck-totals .woocommerce-remove-coupon { font-size: 12px; color: var(--k-t3); margin-left: 6px; }

.bps-c-secure {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin: 12px 0 0; font-size: 12px; color: var(--k-t3);
}

/* Empty cart */
.bps-c-empty {
    max-width: 520px; margin: 24px auto 0; padding: 48px 32px; text-align: center;
    background: var(--k-s1); border: 1px solid var(--k-bd); border-radius: 18px;
}
.bps-c-empty-icon {
    width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--k-acc); background: var(--k-acct);
    box-shadow: 0 0 0 8px var(--k-s1), 0 0 0 9px var(--k-bd);
}
.bps-c-empty-title { font-family: var(--k-disp); font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.bps-c-empty-text { font-size: 14px; color: var(--k-t2); margin: 0 0 24px; line-height: 1.6; }
.bps-c-empty-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.bps-c-popular { margin-top: 56px; }
.bps-c-popular-title { font-family: var(--k-disp); font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.bps-c-popular-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bps-c-popular-card {
    display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px;
    background: var(--k-s1); border: 1px solid var(--k-bd); border-radius: 14px; text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.bps-c-popular-card:hover { border-color: var(--k-bdh); transform: translateY(-2px); }
.bps-c-popular-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.bps-c-popular-name { font-size: 13px; font-weight: 600; color: var(--k-t1); line-height: 1.35; padding: 4px 4px 0; }
.bps-c-popular-price { font-family: var(--k-mono); font-size: 13px; color: var(--k-t2); padding: 0 4px; }

/* ============================================================
   CHECKOUT
   ============================================================ */
/* WooCommerce notices/coupon toggle printed above our wrapper */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-notices-wrapper { max-width: 1152px !important; margin-left: auto !important; margin-right: auto !important; }
.woocommerce-checkout form.checkout_coupon {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
    padding: 16px !important; margin-top: 12px !important; margin-bottom: 0 !important;
    background: var(--s1, #171d24) !important; border: 1px solid var(--bd, #29323b) !important; border-radius: 12px !important;
}
.woocommerce-checkout form.checkout_coupon p { margin: 0 !important; }
.woocommerce-checkout form.checkout_coupon .form-row-first { flex: 1; min-width: 180px; float: none !important; width: auto !important; }
.woocommerce-checkout form.checkout_coupon .form-row-last { float: none !important; width: auto !important; }
.woocommerce-checkout form.checkout_coupon input.input-text {
    height: 42px; padding: 0 12px; width: 100%;
    background: var(--s2, #1f2730) !important; color: var(--t1, #edeff1) !important;
    border: 1px solid var(--bd, #29323b) !important; border-radius: 10px !important;
}
.woocommerce-checkout form.checkout_coupon button {
    height: 42px; padding: 0 18px !important; border-radius: 10px !important; font-weight: 700 !important;
    background: var(--s2, #1f2730) !important; color: var(--t1, #edeff1) !important; border: 1px solid var(--bd, #29323b) !important;
}

.bps-ck-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.bps-ck-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Stripe express checkout (Link / Google Pay / Apple Pay) - whatever
   wrapper the Stripe plugin version prints */
.bps-ck fieldset,
#wc-stripe-express-checkout-wrapper,
#wc-stripe-payment-request-wrapper,
.wcpay-express-checkout-wrapper {
    margin: 0 !important; padding: 16px !important;
    background: var(--k-s1) !important; border: 1px solid var(--k-bd) !important; border-radius: 16px !important;
}
.bps-ck fieldset legend {
    padding: 0 8px !important; font-size: 11px !important; font-weight: 700 !important;
    letter-spacing: .1em; text-transform: uppercase; color: var(--k-t2) !important; background: transparent !important;
}
#wc-stripe-express-checkout-button-separator,
#wc-stripe-payment-request-button-separator,
.wcpay-express-checkout-button-separator {
    display: flex !important; align-items: center; gap: 12px; margin: 4px 0 !important;
    font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--k-t3) !important;
}
#wc-stripe-express-checkout-button-separator::before, #wc-stripe-express-checkout-button-separator::after,
#wc-stripe-payment-request-button-separator::before, #wc-stripe-payment-request-button-separator::after {
    content: ''; flex: 1; height: 1px; background: var(--k-bd);
}

/* Section cards */
.bps-ck-card { background: var(--k-s1); border: 1px solid var(--k-bd); border-radius: 16px; overflow: hidden; }
.bps-ck-card-head {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 20px 22px 16px; border-bottom: 1px solid var(--k-bd);
}
.bps-ck-num {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; background: var(--k-acct); color: var(--k-acc); border: 1px solid rgba(239,176,125,.3);
}
.bps-ck-card-title { font-family: var(--k-disp); font-size: 17px; font-weight: 700; margin: 0 0 2px; color: var(--k-t1); }
.bps-ck-card-sub { font-size: 12.5px; color: var(--k-t2); margin: 0; }
.bps-ck-optional { font-size: 12px; font-weight: 500; color: var(--k-t3); }
.bps-ck-ssl {
    margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; color: var(--k-ok);
    padding: 4px 9px; border-radius: 6px; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25);
}
.bps-ck-card-body { padding: 20px 22px 8px; }

/* Fields */
.bps-ck .woocommerce-billing-fields > h3,
.bps-ck .woocommerce-shipping-fields > h3,
.bps-ck .woocommerce-additional-fields > h3 { display: none !important; }
.bps-ck .woocommerce-billing-fields__field-wrapper,
.bps-ck .woocommerce-shipping-fields__field-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px;
}
.bps-ck .form-row { margin: 0 0 16px !important; padding: 0 !important; float: none !important; width: auto !important; grid-column: 1 / -1; }
.bps-ck .form-row-first { grid-column: 1 / 2; }
.bps-ck .form-row-last  { grid-column: 2 / 3; }
.bps-ck .form-row label {
    display: block; margin: 0 0 6px !important;
    font-size: 12px !important; font-weight: 600 !important; color: var(--k-t2) !important;
    text-transform: none !important; letter-spacing: 0 !important;
}
.bps-ck .form-row .required { color: var(--k-err); text-decoration: none; }
.bps-ck input.input-text, .bps-ck select { height: 46px; padding: 0 14px !important; font-size: 14px !important; width: 100%; }
.bps-ck textarea { min-height: 96px; padding: 12px 14px !important; }
.bps-ck .select2-container .select2-selection--single { height: 46px !important; display: flex; align-items: center; }
.bps-ck .select2-container .select2-selection__rendered { color: var(--k-t1) !important; padding-left: 14px !important; line-height: 46px !important; }
.bps-ck .select2-container .select2-selection__arrow { height: 44px !important; right: 8px !important; }
.select2-dropdown { background: var(--s1, #171d24) !important; border-color: var(--bd, #29323b) !important; color: var(--t1, #edeff1) !important; }
.select2-search__field { background: var(--s2, #1f2730) !important; color: var(--t1, #edeff1) !important; border-color: var(--bd, #29323b) !important; }
.select2-results__option--highlighted { background: var(--acc, #efb07d) !important; color: #000 !important; }
.bps-ck .woocommerce-invalid input.input-text { border-color: var(--k-err) !important; }
.bps-ck .woocommerce-account-fields,
.bps-ck .create-account { grid-column: 1 / -1; }

/* Payment */
.bps-ck-card--pay .bps-payment-block,
.bps-ck-card--pay #payment { background: transparent !important; border: 0 !important; padding: 0 !important; }
.bps-ck-card--pay #payment ul.payment_methods { padding: 18px 22px 0 !important; margin: 0 !important; border: 0 !important; }
.bps-ck-card--pay #payment .payment_box {
    background: var(--k-s2) !important; border: 1px solid var(--k-bd) !important;
    border-radius: 0 0 12px 12px !important; padding: 18px !important; margin: -2px 0 0 !important;
}
.bps-ck-card--pay #payment .payment_box::before { display: none !important; }
/* The "Save payment information" checkbox was stretched to 100% width,
   squeezing its label into one letter per line. */
.bps-ck #payment .payment_box input[type="checkbox"],
.bps-ck #payment .payment_box input[type="radio"],
.bps-ck .woocommerce-SavedPaymentMethods-saveNew input {
    width: 18px !important; height: 18px !important; min-width: 18px; flex: 0 0 18px;
    margin: 0 !important; padding: 0 !important; accent-color: var(--k-acc);
}
.bps-ck #payment .woocommerce-SavedPaymentMethods-saveNew {
    display: flex !important; align-items: center; gap: 10px; margin: 14px 0 0 !important;
}
.bps-ck #payment .woocommerce-SavedPaymentMethods-saveNew label,
.bps-ck #payment .payment_box label[for$="new-payment-method"] {
    display: inline !important; margin: 0 !important; writing-mode: horizontal-tb;
    font-size: 13px !important; font-weight: 500 !important; color: var(--k-t2) !important;
    text-transform: none !important; letter-spacing: 0 !important;
}
.bps-ck-card--pay #payment .place-order { padding: 18px 22px 22px !important; margin: 0 !important; }
.bps-ck .woocommerce-privacy-policy-text p { font-size: 12px; color: var(--k-t3); margin: 0 0 12px; line-height: 1.6; }
.bps-ck .woocommerce-privacy-policy-text a { color: var(--k-acc); }
.bps-ck .woocommerce-terms-and-conditions-wrapper { margin: 0 0 16px !important; }
.bps-ck .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0 !important; }
.bps-ck .woocommerce-form__label-for-checkbox {
    display: flex !important; align-items: flex-start; gap: 10px; cursor: pointer;
    font-size: 13px !important; font-weight: 500 !important; color: var(--k-t1) !important;
    text-transform: none !important; letter-spacing: 0 !important; line-height: 1.5;
}
.bps-ck .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0 !important; accent-color: var(--k-acc);
}
.bps-ck .woocommerce-terms-and-conditions-link { color: var(--k-acc) !important; text-decoration: underline; text-underline-offset: 3px; }
.bps-ck #place_order { width: 100% !important; height: 54px; font-size: 16px !important; }

/* Summary */
.bps-ck-summary {
    position: sticky; top: 96px;
    background: var(--k-s1); border: 1px solid var(--k-bd); border-radius: 16px; padding: 22px;
}
body.admin-bar .bps-ck-summary { top: 128px; }
.bps-ck-summary-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bps-ck-summary-title { font-family: var(--k-disp); font-size: 18px; font-weight: 700; margin: 0; color: var(--k-t1); }
.bps-ck-edit { font-size: 13px; font-weight: 600; color: var(--k-acc); text-decoration: none; }
.bps-ck-edit:hover { text-decoration: underline; }

.bps-ck-items { list-style: none; margin: 0 0 6px; padding: 0 0 14px; border-bottom: 1px solid var(--k-bd); display: flex; flex-direction: column; gap: 12px; }
.bps-ck-item { display: flex; align-items: center; gap: 12px; margin: 0; }
.bps-ck-item-thumb { position: relative; flex-shrink: 0; }
.bps-ck-item-thumb img { display: block; width: 56px !important; height: 42px !important; object-fit: cover; border-radius: 8px; border: 1px solid var(--k-bd); }
.bps-ck-item-qty {
    position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; background: var(--k-acc); color: #000; border: 2px solid var(--k-s1);
}
.bps-ck-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bps-ck-item-name { font-size: 13.5px; font-weight: 600; color: var(--k-t1); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bps-ck-item-meta { font-size: 12px; color: var(--k-t3); }
.bps-ck-item-price { font-family: var(--k-mono); font-size: 14px; font-weight: 600; color: var(--k-t1); white-space: nowrap; }

/* Only the totals rows of WooCommerce's review table (items shown above) */
.bps-ck-totals table.shop_table thead,
.bps-ck-totals table.shop_table tbody { display: none !important; }
.bps-ck-totals table.shop_table tfoot { display: table-footer-group !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .bps-c-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
    .bps-ck-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; }
    .bps-c .bps-c-item { grid-template-columns: 88px minmax(0, 1fr) auto 36px; grid-template-areas: "thumb info price remove" "thumb qty qty remove"; }
    .bps-c-thumb img { width: 88px !important; height: 66px !important; }
    .bps-c-qty { flex-direction: row; justify-self: start; gap: 10px; }
    .bps-c-popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .bps-c-layout, .bps-ck-layout { grid-template-columns: minmax(0, 1fr); }
    .bps-c-summary, .bps-ck-summary { position: static; }
    .bps-ck-summary { order: -1; } /* see the total before filling the form */
    .bps-steps li:not(.is-current) { font-size: 0; gap: 0; }
    .bps-steps li + li::before { width: 16px; }
}
@media (max-width: 560px) {
    .bps-c, .bps-ck { padding: 24px 16px 72px; }
    .bps-c-head, .bps-ck-head { flex-direction: column; align-items: flex-start; }
    .bps-c .bps-c-item {
        grid-template-columns: 72px minmax(0, 1fr) auto;
        grid-template-areas: "thumb info remove" "qty qty price";
        gap: 12px; padding: 12px !important;
    }
    .bps-c-thumb img { width: 72px !important; height: 54px !important; }
    .bps-c-qty { flex-direction: row; align-items: center; }
    .bps-c-price { min-width: 0; }
    .bps-c .bps-c-remove { justify-self: end; align-self: start; }
    .bps-c-meta .bps-c-chip:not(:first-child) { display: none; }
    .bps-ck .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
    .bps-ck .form-row-first, .bps-ck .form-row-last { grid-column: 1 / -1; }
    .bps-ck-card-head, .bps-ck-card-body { padding-left: 16px; padding-right: 16px; }
    .bps-ck-card--pay #payment ul.payment_methods { padding: 14px 16px 0 !important; }
    .bps-ck-card--pay #payment .place-order { padding: 16px !important; }
}